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

Why my script is not working?

Asked by 10 years ago
01script.Parent.MouseButton1Click:connect(function()  --- this function is working
02    game.Workspace.GameMessage.Text="Carrots are fruits."
03    Wait(3)
04    game.Workspace.GameMessage.Text=""
05end)
06 
07wait(11)
08function divider()
09    local div = game.Workspace.Divider.Door
10    local fal = game.Workspace.False.Door
11 
12    div.Transparency= 0.75   ----- working
13    div.CanColide= true
14    wait(1)
15 
View all 27 lines...
0
Are you sure it's named False instead of something else? fahmisack123 385 — 10y
0
yes im sure KillSide 0 — 10y
0
What exactly is it doing that it shouldn't? GoldenPhysics 474 — 10y
0
it's doing the first function good, in the second function its doing just the -- div.Transparency= 0.75 // div.CanColide= true wait(1) and not the rest KillSide 0 — 10y

1 answer

Log in to vote
2
Answered by
u_g 90
10 years ago

"div.CanColide= true"

Spelt CanCollide.

0
Thank you, i didn't notice it KillSide 0 — 10y
Ad

Answer this question