Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- Mouse.Button1Down:connect(function()
- if Mouse.Target ~= nil and Mouse.Target.Parent.Name ~= "Workspace" and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
- local Char = Mouse.Target.Parent
- Player.Character = Mouse.Target.Parent
- workspace.CurrentCamera.CameraSubject = Char
- -- Update
- Char.Animate.Disabled = true
- wait(0.1)
- Char.Animate.Disabled = false
- end
- end)
Add Comment
Please, Sign In to add comment