Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mouse = game.Players.LocalPlayer:GetMouse()
- function control()
- local target = mouse.Target
- if target ~= nil then
- local h = target.Parent:findFirstChildOfClass("Humanoid")
- if h ~= nil then
- game.Players.LocalPlayer.Character = target.Parent
- game.Workspace.CurrentCamera.CameraSubject = h
- end
- end
- end
- mouse.Button1Down:connect(control)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement