Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://674783881
- Animation = nil
- mouse = script.parent.parent:GetMouse()
- mouse.KeyDown:coonnect(function(key)
- if key == "t" then
- Animation = script.parent.parent.Character.Humanoid:LoadAnimation(Anim)
- Animation:Play()
- Animation.KeyframeReached:connect(function()
- script.Parent.Parent.Character.Torosn.CFrame - CFrame.new(Mouse.Hit.P
- end)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement