im trying to make a magical ability like the one here
i've tried absolutely everything and it just wont work, can someone please help? i want it to be on the server for eveyrone to see, and i want it to cause damage when it hits someone. i want it to only last 5 seconds before the player is forced to let go. please help!!!
The magical ability the video is showing is very advanced, and I am unable to explain all of it.
On the server, there's the part with a BodyPosition in it. The part's NetworkOwner is set to the player that controls it. The player has a localscript that (per RenderStep) sets the BodyPosition's position to Mouse.Hit.Position.
local Part = workspace.Part local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local RunServ = game:GetService("RunService") RunServ.RenderStepped:Connect(function() Part.BodyPosition.Position = Mouse.Hit.Position end)
This is the way it kind of works. But then again, I'm unable to explain all of it.