Im making an Admin Panel, and I want to be able to fling players around the map,
How would I accomplish this?
Im making an Admin Panel, and I want to be able to fling players around the map,
How would I accomplish this?
player.Character.HumanoidRootPart.Velocity = Vector3.new(math.random(-1000,1000),1000,math.random(-1000,1000))
Use body velocity
ex
local function flingPlayer(target)
local HumanoidRootPart = target.Character:FindFirstChild("HumanoidRootPart")
if HumanoidRootPart == nil then print("No RootPart found") return end
local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.Parent = HumanoidRootPart
BodyVelocity.Velocity = Vector3.new(0,100,0) -- Change this how you want
task.wait(1)
BodyVelocity:Destroy() -- Stop fling
end