#Scripting help please
1 messages · Page 1 of 1 (latest)
send script bruh
one sec
i cant send in the same moment
this is the localscript
this is the script in the model
the problem is because before i made it so you could leave the closet with wasd
** You are now Level 3! **
but you cant play on the phone
then i wanted to change it to a proximity promot
and it wont work
may be this line failed silently if not player:FindFirstChild("Hiding") or closet:GetAttribute("Occupied") then return end
thats so 2 people cant go inside at the same time i dont know what to do about it
don't add return end replace return edd with
if _ then
error(_)
end
i smell chatgpt
it is
so what
i cant do it by myself 😦
nah it didnt fix it
idk what to do
i gave up like a week ago but i really want it to work now
idk if its a problem in the server script or closet
when you enter its
if closet:IsA("Model") and closet:FindFirstChild("PromptPart") then
local prompt = closet.PromptPart:FindFirstChild("Prompt")
and when you leave its just
local exitPrompt = closet:FindFirstChild("ExitPrompt"):FindFirstChild("PromptExit")
maybe i should change it to be the same
or it doesent matter
omgg why doesent it workk
learn how to debugging duh
how bro
find out where and why the code aint working
you know?
