#Click on part to make GUI appear

41 messages · Page 1 of 1 (latest)

low carbon
#

One message removed from a suspended account.

wary dew
#

click on a part?

#

or

#

touch a part

low carbon
#

One message removed from a suspended account.

candid crownBOT
#

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

low carbon
#

One message removed from a suspended account.

#

One message removed from a suspended account.

wispy girder
#

any errors?

crisp wharf
#

playergui

#

or remote event fire client

crisp wharf
#

you need to get the player gui

#

I recommend using remote event

wispy girder
#

if youre getting the error "GuiClick is not a valid member of Workspace "Workspace""
change the 'local click' line to

local click = workspace:WaitForChild("GuiClick").ClickDetector
crisp wharf
#

and there is no variable called frame in this script

wispy girder
#

why not

candid crownBOT
#

studio** You are now Level 4! **studio

wispy girder
#

it only started working after i added waitforchild

crisp wharf
#

just put game.Workspace.GuiClick

wispy girder
#

it errors because it isnt loaded in yet when you try to find its child

crisp wharf
#

a common script is started when the map loads, there is no need to use waitforchild

#

but if it is in the serverscriptservice it is another story

wispy girder
#

with what i said: no error

crisp wharf
#

put this script inside the workspace

#

try:

wispy girder
#

thats with what you said

crisp wharf
#

local click = script.Parent.GuiClick

candid crownBOT
#

studio** You are now Level 2! **studio

crisp wharf
#

put this script

#

in the workspace

#

click.MouseClick:Connect(function(player)
local frame = player.PlayerGui.ScreenGui.Frame
end)

low carbon
#

One message removed from a suspended account.

#

One message removed from a suspended account.

crisp wharf
#

lol

#

soon soon

#

i help you

west thicket