#GUI Help
111 messages · Page 1 of 1 (latest)
Try local interlude = game.StarterGui:WaitForChild("Interlude").Main
Wait
i just realized the startergui
local interlude = plr.PlayerGui.Interlude.Main```
Try this below the if statement
Its a server script judging by the touched
since its gui
Script.parent.touched is probably being used as touching the part
Omg dont use StarterGui in your scripts...
its a server script
didnt work..
??
was there any errors?
Make sure you put it below the findfirstchild:("humanoid") line
Here is the issue
You can use StarterGui but you are gonna change the GUI that would be cloned to new players witch is useless
Instead, you should get the player and from there the PlayerGui
And then you would be able to change the gui of a specific player
local part = YOUR_PART
part.Touched:Connect(function(hit)
if not hit then return end
local hum = hit.Parent:FindFirstChild("Humanoid")
if not hum then return end
local plr = hum.Character
--forgot if thats working, if not try this
local plr = game.Players:FindFirstChild(hum.Parent.Name)
if not plr then return end
local plrGui = plr.PlayerGui
if not plrGui then return end
local interlude = plrGui.Interlude.Main.interlude
interlude.Visible = true
task.wait(5)
interlude.Visible = false
end)
I spoon feed you but I dont have the nerves to explain you
thank you all, you guys helped me solve my problem!
you actually explained me alot!
solve spoon feed
and your code fixed my problem, the issue was some variables mistakes but it worked!
Yea, this
????
if not hit then return end
are you fucking brainded
so you think touched is going to get triggered when "nothing" touches the part?
plr = game.Players:GetPlayerFromCharacter(hit.Parent)
you fucking bafoon
angry
THIS LINE DOESNT DO ANYTHING
u do realize something will trigger Touched
and hit will never be nil
so it will never return
Yea... And the funny part is that I didnt even start it and its the first time seeing this guy
Now if I would say 3 think I would make him cry and then I would be the bad person for half of the server :)))
ur bad
in terms of knowledge
and skill
let me translate
you are fucking stupid
thanks for the argument
bro is having troubles in family cuz idk why he is so angry at ppl 😭
and trying to argue
Its the internet dude, nowadays everyone is mad at anyine for not haivng the same toughs
I give him that, its kind of useless, but still not worth making a scene out of it lol
btw it's fr useless
Literally started in #📜︱scripting to shit on me for it :)))
Yea, but who cares?
maybe hit.Parent won't
random african kid without water
But I meant to say hit because Im dumb, but still not a good reason to start a whole argument while crying on the keyboard like that :))
#📜︱scripting message
This mad really got nothing else to do
bro just bringing family into this
for absolutely no reaosn lmao
atleast u have 1iq
"its kind of useless" 💀
So mad he didnt understood @meager prism said that line its useless, but he got offended
?
explain your yapping rn
u said so much shit but nothing was said
when you have nothing to say lmao
bro tf calling ur boyfriend
do things alone men dont call someone to say shit too
just imagine being in the university and staying on your computer saying shit to the ppl
thats fr really sad
i hope u get better
Rsc devs lower their ego and not fight for a second challenge (impossible)
Buddy, he was kind of talking about you...
Im not rsc dev lmao
what the heck happened here-
** You are now Level 3! **
Wired just starting shit for no reason
Get used to people like this
already used to it
You are the one who start shits everywhere, don't say its wired fault lol
cause your literally showing useless stuff
fr
immature gremlin
** You are now Level 9! **