#this isn't working

22 messages · Page 1 of 1 (latest)

tepid jungle
#

local player = game.Players.LocalPlayer
if player.Name == "zg13t" then

else
script.Parent.Visible = false
end

function click()
script.Parent.Parent.admin.Visible = true
end

script.Parent.MouseButton1Click:Connect(click)

#

I'm making myself a host panel in my game'

cobalt sparrow
#

to check if the player is named zg13t

#

like if its true then db true

#

then if click it checks if db is true then runs the function

#

i think thats how it works

grizzled idolBOT
#

studio** You are now Level 18! **studio

merry pier
#
local player = game.Players.LocalPlayer

if not player.Name == "zg13t" then script.Parent.Visible = false end
script.Parent.MouseButton1Click:Connect(function()
    script.Parent.Parent.admin.Visible = not script.Parent.Parent.admin.Visible
end)
tepid jungle
grizzled idolBOT
#

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

tepid jungle
#

also there is no error it just doesn't ipen

merry pier
#

Your script just may not be in the right place

#

The script is working but where you’re locating the script is wrong

#

Show me explorer

tepid jungle
#

the frame "Host panel " is in a screen gui within starter gui

#

the selected script is the one I'm having trouble with

merry pier
#

Why do you have 4 scripts for different things

#

Use one whole script to control all of them

#

That’s probably your issue

tepid jungle
#

The way I've done it shouldn't cause any problems

merry pier
#

It's not the right way to do it though.