Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is this shown for a split second? [UNANSWERED!]

Asked by 8 years ago

Hi guys :) I was wondering if you could help me figure out why this is shown for a split second, when it is meant to be 4 :/ I'm really baffled! Thanks

for i, v in pairs(game.Players:GetPlayers()) do

    if v.PlayerGui.MapChosenGui.MapChosen.StarThree.Visible == true then
        v.PlayerGui.MapChosenGui.MapChosen.StarThree.Visible = false
    end
    if v.PlayerGui.MapChosenGui.MapChosen.StarTwo.Visible == false then
        v.PlayerGui.MapChosenGui.MapChosen.StarTwo.Visible = true
    end
    v.PlayerGui.MapChosenGui.MapChosen.MapCreator.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=BloxaBrick"
    v.PlayerGui.MapChosenGui.MapChosen.MapPic.Image = "rbxassetid://257029436"
    v.PlayerGui.MapChosenGui.MapChosen.MapCreatorName.Text = "By BloxaBrick"
    v.PlayerGui.MapChosenGui.MapChosen.MapName.Text = "Oil Rig"
    v.PlayerGui.MapChosenGui.MapChosen.Blurb.Text = "Fun Fact: When the map had a bug(now patched), InceptionTime managed to get out an unofficial exit on stream!"
    v.PlayerGui.MapChosenGui.MapChosen.Visible = true
end
wait(4)
for i, v in pairs(game.Players:GetPlayers()) do
 v.PlayerGui.MapChosenGui.MapChosen.Visible = false
end

Note: Sometimes it displays for slightly longer such as a second - what is really confusing is why the time changes each time as well?!

0
Is there more to the script or is that the whole script? Also, are there any other scripts in your game that could've caused this. General_Scripter 425 — 8y
0
There is more to the script as it is in a main game script, but this is in a function so it has nothing else to do with the other scripts. There are no other scripts that deal with this specific GUI either :/ jjwood1600 215 — 8y
0
Anyone else have any other ideas? :/ jjwood1600 215 — 8y

Answer this question