I'm trying to make this fireball move but it's not working! This is what I wrote.
local UIS = game:GetService("UserInputService") local RS = game:GetService("ReplicatedStorage") local RE = RS.SimpleFireBall RE.onServerEvent:Connect(function(player) local fireBall = Instance.new("Part", workspace) fireBall.Anchored = true fireBall.Size = Vector3.new(2,2,2) fireBall.Shape = "Block" local actualFireBall = Instance.new("Part", workspace) fireBall.Anchored = true fireBall.Size = Vector3.new(2,2,2) fireBall.Shape = "Block" local plr = player local char = plr.Character local hum = char.Humanoid fireBall.Orientation = char:WaitForChild("Right Arm").Orientation fireBall.CFrame = char:WaitForChild("Right Arm").CFrame * CFrame.new(-2,1,-5) local Vitesse = Instance.new("BodyVelocity", fireBall) Vitesse.Velocity = Vector3.new(0,0,10) wait(2) fireBall:Destroy() end)
Please help.