#unlocking teleport

51 messages · Page 1 of 1 (latest)

zinc totem
#

yeah im here

#

dont worry

#

ok

#

wait whats ur script again

#

ok one sec is this local or server script

#

like regular script or local

#

Okay

#
local player = game.Players.LocalPlayer
local gems = player.leaderstats.Gems

if gems.Value >= 1 then
    gems.Value = gems.Value - 1
    script.Parent:WaitForChild("UpgradeOption").Visible = false
else
    end
#

isnt that all you needed

#

because you allready made gems in leaderstats

#

ok

#

k

#

didnt go what

#

ok

#

let me do this

#

so

#

can you send an ss of where the upgrade option is

#

oh my god

#

ok

#

legit idk who made this

#

bruhv

#

take out the waitforchild

#

u dont need it

#

just do script.Parent.Visible = false

#

plutofries u dont needa tell this guy what to do

#

he barelt needs help

#

just change that

#

waitforchild is when youre waiting for a child of something

#

in this instance youre not

#

you want to get the parent hence the name script.Parent

#

yes

#

its very very simple

#

well you cant really fix that since we dont have the ful code

#

full&

#

what do you want it to do again

#

send the full script

#

because i cant help u with 5 lines

#

thats the whole script???

#

yeah thats easy

#

wait so whats the teleport script

#

that makes no sense

#

what ru trying to make

#

explain

#

ohh

#

makes sense

#

yeah

#

i see

#

it should work

#

alr

#

cya

#

alright