ar15.ClickDetector.MouseClick:connect(function()
local player = game.Players.LocalPlayer
local char = player.Character.Humanoid
cam.CameraSubject = char
cam.CameraType = "Custom"
mp.ClickDetector.MouseClick:connect(function()
local player = game.Players.LocalPlayer
local char = player.Character.Humanoid
cam.CameraSubject = char
cam.CameraType = "Custom"
fnssr.ClickDetector.MouseClick:connect(function()
local player = game.Players.LocalPlayer
local char = player.Character.Humanoid
cam.CameraSubject = char
cam.CameraType = "Custom"
end)
end)
end)
end)
cam is workspace.CurrentCamera
this is a localscript, that is inside of ReplicatedFirst
it only returns the camera to normal when you click the AR15, if you click the MP7 or the FN-SSR, nothing happen, no error in the output...
any help? |