Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- char = plr.Character
- players = game:GetService("Players")
- function FindMe(name)
- for _,a in pairs(players:GetPlayers()) do
- if a.Name:sub(1,name:len()):lower()==name:lower() then
- return a
- end
- end
- end
- NLS([[
- plr = game.Players.LocalPlayer
- cam = workspace.CurrentCamera
- players = game:GetService("Players")
- function FindMe(name)
- for _,a in pairs(players:GetPlayers()) do
- if a.Name:sub(1,name:len()):lower()==name:lower() then
- return a
- end
- end
- end
- plr.Chatted:connect(function(message)
- if message:sub(1,5) == "!spec" then
- cam.CameraSubject = FindMe(message:sub(7)).Character:FindFirstChildOfClass("Humanoid")
- end
- end)
- ]],char)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement