Here is the error: lava1 is not a valid member of Workspace “Workspace”
and here is the code it is stated in:
game.Workspace.LavaTrigger.Touched:Connect(function()
game.workspace.lava1.omglavarisescripomgomgomgomgomgomgomgomg.Disabled = false
end)
I saw another post like this but I was still confused about it.
2 Likes
game.Workspace.LavaTrigger.Touched:Connect(function()
game.Workspace:WaitForChild("lava1").omglavarisescripomgomgomgomgomgomgomgomg.Disabled = false
end)
PLEASE FIX THAT SCRIPT NAME ;-;
The error means that ‘lava1’ is not in workspace. It is possible that you left it unanchored and it fell into the void
2 Likes
Dan_foodz
(Dan_foodz)
January 8, 2022, 12:24am
#3
Is there not supposed to be any dots in " omglavarisescripomgomgomgomgomgomgomgomg "?
also, try looking up “lava1 ”, and see if it comes up.
sorry about the name, my friend thought it was funny, I will try your solution.
1 Like
Dan_foodz
(Dan_foodz)
January 8, 2022, 12:32am
#5
Just a thought I had after looking at @PoppyandNeivaarecute post, Is this happening when you start the game, or when you hit it?
I solved it but it happen when I called for lava1’s child to be disabled = false.
1 Like
Dan_foodz
(Dan_foodz)
January 8, 2022, 12:37am
#7
Is this happening when you start the game, or when you hit it, if so, do what he said:
I had a question, the lava thing works and i have tested it out of game, its just its not doing it when i want it to:
game.Workspace.LavaTrigger.Touched:Connect(function()
game.workspace.lava1.omglavarisescripomgomgomgomgomgomgomgomg.Disabled = false
end)
I’m using disabled so the child of lava1 is disabled until the player touched LavaTrigger
1 Like
Dan_foodz
(Dan_foodz)
January 8, 2022, 12:42am
#9
Is omglavarisescripomgomgomgomgomgomgomgomg Disabled at the start?
Also, what is wrong?
Maybe try changing disabled to true
game.workspace.lava1.omglavarisescripomgomgomgomgomgomgomgomg.Disabled = true
Did not work, its ok if you can’t help but thanks anwyays.