Dark_EccentricYT

Untitled

Apr 2nd, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. Mouse.Button1Down:connect(function()
  4. if Mouse.Target ~= nil and Mouse.Target.Parent.Name ~= "Workspace" and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  5. local Char = Mouse.Target.Parent
  6. Player.Character = Mouse.Target.Parent
  7. workspace.CurrentCamera.CameraSubject = Char
  8. -- Update
  9. Char.Animate.Disabled = true
  10. wait(0.1)
  11. Char.Animate.Disabled = false
  12. end
  13. end)
Add Comment
Please, Sign In to add comment