Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr=game.Players.LocalPlayer
- local ms=plr:GetMouse()
- local torso=plr.Character.Torso
- local hum=plr.Character.HumanoidRootPart
- local hum1=hum.CFrame
- local t1=Instance.new("Attachment",torso)
- local align=Instance.new("AlignPosition",torso)
- local t2=Instance.new("Attachment")
- align.RigidityEnabled=true
- align.Attachment0=t1
- ms.KeyDown:connect(function(k)
- if k =="e" then
- if ms.Target.Parent:FindFirstChild("Humanoid") then
- t2.Parent=ms.Target.Parent:FindFirstChild("Torso")
- ms.Target.Parent:FindFirstChild("Torso").CanCollide=false
- wait(.2)
- align.Attachment1=t2
- local bt=Instance.new("BodyThrust",torso)
- bt.Force=Vector3.new(406,3,460)
- bt.Location=torso.Position
- hum1=hum.CFrame
- end
- end
- end
- )
- ms.KeyDown:connect(function(k)
- if k =="f" then
- hum.CFrame=hum1
- wait(.4)
- align.Attachment1=nil
- torso.BodyThrust:Remove()
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement