#Click on part to make GUI appear
41 messages · Page 1 of 1 (latest)
One message removed from a suspended account.
** You are now Level 3! **
One message removed from a suspended account.
One message removed from a suspended account.
any errors?
error
you need to get the player gui
I recommend using remote event
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
and there is no variable called frame in this script
don't use waitforchild
why not
** You are now Level 4! **
it only started working after i added waitforchild
just put game.Workspace.GuiClick
it errors because it isnt loaded in yet when you try to find its child
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
with what i said: no error
local click = script.Parent.GuiClick
** You are now Level 2! **
put this script
in the workspace
click.MouseClick:Connect(function(player)
local frame = player.PlayerGui.ScreenGui.Frame
end)
try
One message removed from a suspended account.
One message removed from a suspended account.
absolutely use waitforchild