Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --All scripts to fling people--
- --Setup Things--
- --Open Explorer and click the plus button on StarterGui
- --Put a tool and open properties
- --Make sure that CanBeDropped and RequiresHandle is false
- --Add a Script
- --Add a LocalScript
- --Add RemoteEvent
- --Do not give the 3 things any names or It will break the script
- --So anyway, Here are the scripts
- --Scripts--
- --Put this into Script--
- script.Parent.RemoteEvent.OnServerEvent:Connect(function(player,victim)
- local PushForce = Instance.new("BodyVelocity")
- PushForce.Name = "PushForce"
- PushForce.MaxForce = Vector3.new(10000000,10000000,10000000)
- PushForce.Velocity = (-victim.HumanoidRootPart.CFrame.lookVector) * 100
- PushForce.Parent = victim.HumanoidRootPart
- wait(0.25)
- PushForce:Destroy()
- end)
- --Put his into LocalScript--
- local mouse = game.Players.LocalPlayer:GetMouse()
- script.Parent.Activated:Connect(function()
- if mouse.Target then
- local model = mouse.Target:FindFirstAncestorOfClass("Model")
- if model then
- if model:FindFirstChild("Humanoid") then
- script.Parent.RemoteEvent:FireServer(model)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment