kArmag0re
(KarmaXX)
April 21, 2024, 12:37pm
1
Ciao, recently i’ve almost finished my game, so i decided to publish it and test it on the roblox website.
When i get into the game it works, but the game stop when the script reaches this line:
repeat wait() until game:IsLoaded()
The script works fine on studio, never stopped due to this. Now on the website it stops, why?
I tried searching around, found nothing.
Whats the exact reason for you to use repeat wait() until game:IsLoaded()?
Whats after that line? or why are you using it?
1 Like
kArmag0re
(KarmaXX)
April 21, 2024, 12:44pm
3
I use it to be sure to be able to change the camera type
Telecamera:GetPropertyChangedSignal("CameraType"):Wait()
repeat wait() until game:IsLoaded()
Telecamera.CameraType = Enum.CameraType.Scriptable
Telecamera.CFrame = Metro:WaitForChild("Telecamere"):WaitForChild("1").CFrame
kArmag0re
(KarmaXX)
April 21, 2024, 12:50pm
4
I don’t get errors or anything. It just won’t work on the website.
Are you even sure your script reach this line?
Telecamera:GetPropertyChangedSignal("CameraType"):Wait()
warn("CameraType did actually changed") -- reach this line?
-- this next will wait until the CameraType does a change
repeat wait() until game:IsLoaded()
Where is the script located?
In replicated?
1 Like
Tbh i wasn’t, oh well sorry for disturbing. Thanks a lot
1 Like
system
(system)
Closed
May 5, 2024, 1:05pm
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.