#i need help scripting
1 messages · Page 1 of 1 (latest)
script?
yh it’s a scripting problem
hes asking for the script
send the script so
we can help you
ohh
i’ll send
this is the first script so i can interact with the part
second script
to show the GUI when i click the button
@torpid ember @marble chasm
** You are now Level 1! **
The problem
is
you can't get the LocalPlayer
from server scripts.
Also,
these ONLY
will work from client scripts
so look
i’m trying to start a game but idk anything about scripting
client scripts are
😭
basically LocalScripts
yes
ah
OH
that means you can get LocalPlayer (the player that plays the game) from localscripts
so with no client scripts there’s no pop up?
but server scripts works for all players at the same time
for the player
so they cant get a player like clients
no
you have to
make the pop up
from the client
actually you can do it from the server too but client is more secure
i'd say
kk
ok
so basically
i have these shops
where players interact with the seller
it’s like grow a garden and fisch style
the typing thing and choices
when i click “buy boat”
the shop GUI is supposed to show up
but i’ve tried multiple scripts they never show up
i was wondering if i can add u to my game and u could fix it for me if u want?
idk
i dont think
i got the time
for that
oh.
basically
you can
handle the main thing from the server
and fire a event
to the client
the player itself
and handle the gui from there
im sure
theres many
tutorials
i haven’t find any tutorials
it’s like when u interact with the choice “buy boat”
the GUI never shows up
i kept doing OpenBoatShopGui
** You are now Level 2! **
and stuff
but nothing ever works
i also have chatgpt as my scripter cuz idk how to script…
so will u be able to help if i send u a video of what’s exactly going on?
ig
he couldn’t i tried everything he said