Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- chr = plr.Character or plr.CharacterAdded:wait()
- mouse = plr:GetMouse()
- mouse.Button1Down:connect(function()
- local target = mouse.Target
- if target and target.Name == "Torso" or target.Name == "Handle" or target.Name == "Right Leg" then
- local tar = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- tar.Character.Torso.Anchored = true
- while true do
- game:GetService('RunService').RenderStepped:wait()
- tar.Character.HumanoidRootPart.CFrame = tar.Character.HumanoidRootPart.CFrame + Vector3.new(0,.5,0)
- tar.Character.Humanoid.WalkSpeed = 0
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement