#GUI Help

111 messages · Page 1 of 1 (latest)

north orbit
#

where is the script

gilded arch
#

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
north orbit
#

cant he just use Players.LocalPlayer

#

since this is most likely a local script

gilded arch
north orbit
#

since its gui

gilded arch
#

Script.parent.touched is probably being used as touching the part

desert shoal
#

Omg dont use StarterGui in your scripts...

twilit moon
twilit moon
twilit moon
gilded arch
#

Make sure you put it below the findfirstchild:("humanoid") line

desert shoal
#

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

twilit moon
#

thank you all, you guys helped me solve my problem!

twilit moon
desert shoal
twilit moon
desert shoal
#

Yea, this

twilit moon
#

yea, thats was the problem

#

like you said

#

had to use PlayerGUI

#

thx alot guys!

ionic prairie
#

are you fucking brainded

#

so you think touched is going to get triggered when "nothing" touches the part?

ionic prairie
#

you fucking bafoon

desert shoal
#

Why so sad bro?

#

I dont see any issues here

meager prism
ionic prairie
#

u do realize something will trigger Touched

#

and hit will never be nil

#

so it will never return

desert shoal
# meager prism angry

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 :)))

ionic prairie
#

ur bad

#

in terms of knowledge

#

and skill

#

let me translate

#

you are fucking stupid

ionic prairie
#

thanks for the argument

meager prism
#

bro is having troubles in family cuz idk why he is so angry at ppl 😭

#

and trying to argue

desert shoal
#

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

meager prism
desert shoal
#

Literally started in #📜︱scripting to shit on me for it :)))

desert shoal
meager prism
#

maybe hit.Parent won't

desert shoal
#

Not like it used 100 lines for nothing

#

Yea true

meager prism
desert shoal
#

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

ionic prairie
#

for absolutely no reaosn lmao

ionic prairie
desert shoal
desert shoal
ionic prairie
#

explain your yapping rn

#

u said so much shit but nothing was said

ionic prairie
#

when you have nothing to say lmao

desert shoal
#

Love getting them mad and shaking just because I send random gifs

desert shoal
#

Not working for me man, Im at peace with myself, I dont get hurt that easily :)))

olive pier
#

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

gilded arch
#

Rsc devs lower their ego and not fight for a second challenge (impossible)

ionic prairie
#

Real lmao

#

Rsc devs are so much stupider than hd

desert shoal
#

Buddy, he was kind of talking about you...

ionic prairie
#

Im not rsc dev lmao

twilit moon
#

what the heck happened here-

modest badgerBOT
#

studio** You are now Level 3! **studio

desert shoal
#

Get used to people like this

twilit moon
#

already used to it

olive pier
ionic prairie
desert shoal
ionic prairie
modest badgerBOT
#

studio** You are now Level 9! **studio