Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I want this script to follow the mouse but I need help with where to put it can you tell me?

function onButton1Down(mouse) if not enabled then return end

local Player = game.Players.LocalPlayer
if player == nil then return end

  enabled = false
RightShoulder = me.Character.Torso["Right Shoulder"]
	Run = game:GetService("RunService")
		for i = 1, 12 do
			RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16)
			RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0, 0)
			Run.Stepped:wait(0.005)
		end
	game:GetService("Chat"):Chat(me.Character.Head, "Flying Raijin Lvl 2!!")
	x = script.Kunai:clone()
	x.Name = me.Character.Name
	x.CFrame = x.CFrame  CFrame**.Angles(math.rad(-90), math.rad(0), math.rad(0))
	y = Instance.new("BodyVelocity")
	y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
	y.velocity = me.Character.Torso.CFrame.lookVector*100
	x.Parent = me.Character.Torso
	y.Parent = x
	p = Instance.new("StringValue", x)
	p.Value = me.Character.Name
	p.Name = "Owner"

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.