Advertisement
GojiGaming1337

Untitled

May 8th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. local anim = Instance.new("Animation")
  2. anim.AnimationId = "rbxassetid://674783881
  3. Animation = nil
  4. mouse = script.parent.parent:GetMouse()
  5. mouse.KeyDown:coonnect(function(key)
  6. if key == "t" then
  7. Animation = script.parent.parent.Character.Humanoid:LoadAnimation(Anim)
  8. Animation:Play()
  9. Animation.KeyframeReached:connect(function()
  10. script.Parent.Parent.Character.Torosn.CFrame - CFrame.new(Mouse.Hit.P
  11. end)
  12. end
  13. end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement