Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help practice on this script?

Asked by 9 years ago

I'm practicing my beginning of scripting with a script that sequences walls to be mostly transparent and being able to walk trough each one going down in descending order. But it stops at the first wall and doesn't continue. What did I do wrong?

local Wall1 = game.Workspace.Wall1
local Wall2 = game.Workspace.Wall2
local Wall3 = game.Workspace.Wall3


wait(4)
Wall1.Transparency = .7
Wall1.Cancollide = false
wait(3)
Wall2.Transparency = .7
Wall2.CanCollide = false
wait(3)
Wall3.Transparency = .7
Wall3.CanCollide = false

1 answer

Log in to vote
2
Answered by 9 years ago

Spelling error at line 8, you typed Cancollide when it should read CanCollide

0
Oh dumb me.. Thanks though! mechasaultfreak2 10 — 9y
0
no problem aquathorn321 858 — 9y
Ad

Answer this question