New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
-1

# why dose my gui not working ?

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

Local

local player = game.Players.LocalPlayer
local gui = script.Parent
local frame = gui:WaitforChild('Background')
local logo = frame:WaitforChild('Logo')
local message = logo:Waitforchild('Message')
local introran = player:WaitforChild('Introran')
wait(5) -- define how long you want to wait before the gui runs
if introran == true then
frame.BackgroundTransparency = 1
logo.BackgroundTransparency = 1
logo.ImageTransparency = 1
message.BackgroundTransparency = 1
message.TextTransparency = 1
gui:Destroy()
else
wait(2)
for i = 1,0,-0.1 do
frame.BackgroundTransparency = i
logo.ImageTransparency = i
message.TextTransparency = i
wait(0.1)
end
end


Script reapt

game.players.PlayerAdded:connect(function(player)
local Introran = Instance.new('boolvalue', player)
IntroRan.Name = 'IntroRan'
IntroRan.Value = false
end)



0

It would be better if you told us what you were trying to accomplish, what is actually happening, what you want to happen, and if any errors are printed in the output. However I can see that you failed to capitalize Players in line 1 for Script reapt. So just make line 1 into game.Players.PlayerAdded:connect(function(player). Lua is sensitive to capitalization!

0
well when i run the script i dose not work or even pop up antwon6393 0 — 4y
0
Did you fix the capitalization? Make sure your :WaitForChild() is not waiting forever! Try debugging with print() in multiple areas. This lets you know where the script is stopping! alphawolvess 1754 — 4y
0
awfulszn 357
4 years ago

I have the correct script for you.

local player = game.Players.LocalPlayer
local gui = script.Parent
local frame = gui:WaitForChild('Background')
local logo = frame:WaitForChild('Logo')
local introran = player:WaitForChild('IntroRan')
local message = logo:WaitForChild('Message')
wait()
if introran == true then
frame.BackgroundTransparency = 1
logo.BackgroundTransparency = 1
logo.ImageTransparency = 1
message.BackgroundTransparency = 1
message.TextTransparency = 1
gui:Destroy()
else
wait(2)
for i = 1,0,-0.1 do
logo.ImageTransparency = i
message.TextTransparency = i
frame.BackgroundTransparency = i
wait(0.1)
end
wait(5) for i = 0,1,0.1 do
logo.ImageTransparency = i
message.TextTransparency = i
frame.BackgroundTransparency = i
wait(0.1)
end
for i = 0,1,0.1 do
frame.BackgroundTransparency = i
wait(0.1)
end
end


game.Players.PlayerAdded:connect(function(player)