local CameraMod = {}
local OtherMod = {}
--[Toggle]--
local Player = true
--[Other Functions]--
if Player == true then
function OtherMod.WaitForObject(Object)
local Index = Object
LocalPlayer.CharacterAdded:connect(function(Character)
local Obj = Character:WaitForChild(Object)
local In
if Obj then
print("Found")
else
print("Fix")
end
end)
return Index
end
end
--[Camera]--
if Player == true then
while true do
local UpperTorso = OtherMod.WaitForObject("UpperTorso")
print(UpperTorso)
wait()
end
CameraMod.CurrentCamera = game.Workspace.CurrentCamera
end
COMMUNITY QUESTION
Does anyone know how to Wait for object in Character through a separate function?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
