Alright, I get a massive delay, exactly ten seconds before it actually plays. I have all images pre-loaded in the game but it still does this. I've tested it, its anyone in that server as well.
I did not make this script so no I do not understand it.
These are suppose to be moving images that project onto a brick.
This was origianlly a while true do script but due to how much lag it can cause, I asked for some help with this and well the delay started.
What could I do to fix this?
Here is what it should do.
When the music isn't playing and i'm messing with the GUI, that's when the pause happens.
All scripts are in a model thats inside a model.
It goes like this...
[Name of Model]>Intro & Main Models
Main is where all of these are located.
There are eight of these scripts in total.
Screen1 = game.Workspace.Screen1 -------------------------------------------------------------------- script.Parent.Power.Changed:Connect(function(NV) if NV then repeat Screen1.Decal.Texture = "http://www.roblox.com/asset/?id=0" wait(0.1) Screen1.Decal.Texture = "http://www.roblox.com/asset/?id=0" wait(0.1) Screen1.Decal.Texture = "http://www.roblox.com/asset/?id=0" wait(0.1) -- WaitTime, I'd recommend Changing this to like 10 seconds if it's not a moving tron. until not script.Parent.Power.Value end end)
Attempting to not use While True Do
Thank you in advance for any comments or help given!
uhhh maybe the wait(0.1) also use 'while true do' instead of 'repeat' Sorry, i rushed this