--Made by Stickmasterluke


originalgrip=CFrame.new(1, 0, 0, 0, 0.03, 0.02, 0, -0.008, 1, 0, 1, 0.008)	--CFrame.new(0,-1.5,0)*CFrame.Angles(0,math.pi/2,0)
currentgrip=originalgrip

function waitfor(parent,name)
	while true do
		local child=parent:FindFirstChild(name)
		if child~=nil then
			return child
		end
		wait()
	end
end

function spinsword(spintime)
	delay(0,function()
		for i=1, 3 do
			local startspin=tick()
			local endspin=startspin+spintime
			while tick()<endspin do
				script.Parent.Grip=currentgrip*CFrame.Angles(math.pi*2*((tick()-startspin)/spintime),0,0)
				wait()
			end
			script.Parent.Grip=currentgrip
			wait(0.2)
		end
	end)
end
