#How is a gui popping up for everyone when im using a local script under StarterGui?

1 messages · Page 1 of 1 (latest)

dreamy geode
ornate skiff
#

well one problem is that youre doing .Touched on a localscript which is horrible imo

#

also why put players.LocalPlayer but you already have it as a variable

#

also you can just do like

dreamy geode
#

old script, but its not important cuz it should still work

ornate skiff
#

local playerThatTouched=plarers:GetPlayerFromCharacter(touched.Parent)

#

if playerThatTouched then

#

blah blah

#

just remove gui then add it below the if statement

#

then replace “player” with “playerThatTouched”

dreamy geode
#

pls explain i really wanna fix this

ornate skiff
#

inside the gui variable

dreamy geode
#

ohhhhhhh

#

Thank you!!!!

mellow yoke
#

this must have been a pain to script