#Fix the script
58 messages · Page 1 of 1 (latest)
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
- Script doesn't know what Blue1 is
- If you are using
ifyou also need to usethen( For exampleif true then) - At line 7, the one with
local door = game.Workspace.BlueSide.Blue2 thenyou DONT have to usethenthere.
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
kk Tysm (i am very noob at scripting, startint to learn and i was making it by myself )
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
so how to fix that?
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
You can fix it by creating a local for Blue1 and Blue2
local Blue1 = game.Workspace.BlueSide.Blue1
and
local Blue2 = game.Workspace.BlueSide.Blue2
If you have other script that when something happens one of the door's transparency change to 1 or 0, you can use the these lines there
Lets say when you touch a part, both doors transparency go on or off
local part = yourPartPathHere
local Blue1 = game.Workspace.BlueSide.Blue1
local Blue2 = game.Workspace.BlueSide.Blue2
part.Touched:Connect(function(hit)`
if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then --#Checking if the object that hit the "part" is a player by checking if part's parent is "Humanoid"#
if Blue1.Transparency == 0 then --#Checking if the part is visible or not, if its VISIBLE then the script will run the next line:#
Blue1.Transparency = 1 --#Changing the part transparent (invisible, NOT visible)
Blue1.CanCollide = false --#part CAN NOT collide with player's character
else --#if the part is NOT visible, then the script will run the next line:#
Blue1.Transparency = 0 --#Changing the part visible, no longer transparent
Blue1.CanCollide = true --#part CAN collide with player's character
end
end
end)
Now for the scnd part you can just copy and paste a the 2nd if statement and change the Blue1 with Blue2
That should work. I don't have much context of what you are trying to do so this may not help that much
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
this?
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
No problem man, happy to help! Good thing you are trying to learn by doing it by yourself
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
yah, trying if it wont work ill just copy ur script, so thankfull for helping
Read all of this
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
@random rain btw how you put this script in that board?
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
Like this
local ex = ssadsda
``` ?
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
** You are now Level 1! **
yea
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
-text
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
and why this bot spam messages
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
-text
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
yea ik why he spam like that
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
lua ee
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
am so dump
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
` with this one
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
the one right next to 1
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
worked! but i had to copy `, cant find on keyboard lol
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
Its in the right of number 1, under esc
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
here put part i want to disappear when it detect that Blue1 disappear?
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
like i dont understand PartPath
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
Well, I gave you there an example if a player touch a part someting is happening
I can't compile LaTeX in this thread as I lack the SEND_MESSAGES permission in the origin channel (#1020374354867007528)! Please check my permissions and try again.
DM me