So.... I made a Kamehameha script .. (inside a tool)

using = false

tool = script.Parent
function onClicked()
	if using == false then
	using = true
	local part1 = game.Lighting.Raycast:Clone()
	part1.Transparency = 0.4
	part1.Parent = game.Workspace
	part1.Position = script.Parent.Parent.Head.Position
	wait(1)
	using = false
	end
end
		
		
function onEquipped(mouse)
mouse.Button1Down:connect(onClicked)
end

tool.Equipped:connect(onEquipped)

but the only thing is,when ever the "Raycast" spawned, it always rotate the same direction. that's the best I can explain XD PLEASE? I need help.

2 comments

0

The best I could think of would be to weld all the parts together, add a center point, and have all the parts revolve around that center point's position, lookvector, and rotation.

0

Uhmm....I've weld the models but ... how do I add a center point or what do you mean "a center point" is?