Okay so I have a Time GUI that when the player dies it resets for some reason I want it to carry on and be the same for everyone. I have no clue why this happens. Is there just a property that rests it?
Oh, that’s probably because the GUI is reseting on respawn. I guess you can just set to false the “ResetOnSpawn” GUI property.
Ok thanks again but its now duplicating its self. ![]()
Here’s the script:
script.Parent.Parent.Parent.ResetOnSpawn = false
while true do
Time = 119
for count = 0, 119, 1 do
wait(1)
Time = Time - 1
RoundType = "Match"
script.Parent.Text = "Match Time: "..Time
end
Time = 14
for count = 0, 14, 1 do
wait(1)
RoundType = "Intermission"
Time = Time - 1
script.Parent.Text = "Intermission: "..Time
end
end
What I recommend you do:
- Create two values in server: one that stores the round type and another that stores the time.
- In the server, update as you’re doing there.
- Just getting via LocalScript the values and printing this information in the screen.
Okay if tried that but it doesn’t work. I’ve even tried moving it in the script and it doesn’t work.
I recommended that because you’re doing this on LocalScript I guess, so for each person, the timer will be different. If you control these values in server and just get and print these informations on player’s screen, for all players it’ll show de same thing.
do not use the built in gui, i repeat, do not use the built in gui. it is not only inefficient but it is prone to many issues and is also not easily customizable.
right, make the GUI with WPF instead, should I also avoid LuaU while I’m at it
Trust me, I speak from experience as a seasoned developer.
man? are you saying to the guy to not use GUI in his game?
yea I just read the previous post in which you were attempting to “help”, but in reality you really are just a ragebaiter, at this point just break your keyboard so we never see you again
im used to developing in unity and roblox studio unity has .equals which makes it so much easy i forget in studio u need to compare each axis individually it happens when you experienced so much
You saying trust me make’s me trust you less
And yes he basically is
I’ma just give @Kakazin19010 the solution because he did help a lot but then there’s another proplem thank you everyone for helping!