game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(play,mousehit) local a = hum:LoadAniamtion(Tool.Throw) a:Play() wait(0.7) root.CFrame = CFrame.new(root.Position,root.Position + mousehit.lookVector) local fireball = Tool.Handle:Clone() fireball.CFrame = Tool.Handle.CFrame local bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(1e8,1e8,1e8) bv.Velocity = mousehit.lookVector * 50 bv.Parent = fireball fireball.CanCollide = false fireball.Parent = game.Workspace end)
at line 1 where it saids game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(play,mousehit) you know how next to the functions theres (function(play,mousehit)
I don't get what it means like is that a variable how does it work?

2 comments
Use a code block please
Use code block or we can't read it.