Advertisement
hayden008

Untitled

Oct 18th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function onMouseClick()
  2. local A=Instance.new'Animation'
  3. A.AnimationId='rbxassetid://4158139153'
  4. local P=game:GetService'Players'.LocalPlayer
  5. local C=P.Character or P.CharacterAdded:Wait()
  6. local H=C:WaitForChild'Humanoid':LoadAnimation(A)
  7. H:Play()
  8. H:AdjustSpeed(2.5)
  9. game:GetService'RunService'.Stepped:Connect(function()
  10. C:WaitForChild'HumanoidRootPart'.CFrame=CFrame.new(game:GetService'Players':FindFirstChild(Victim).Character:WaitForChild'HumanoidRootPart'.Position)
  11. end)
  12. end
  13.  
  14. clickDetector.MouseClick:connect(onMouseClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement