I'm trying to make a machine that shoots fire when enabled and stops when disabled, but I want it to have fuel so when it runs out it shuts off. But when I tried to test it kept saying: " Expected ')' (to close at column 26) got ')' " I tried multiple things, but nothing worked.
if script.Parent.Size == (0.63, 0, 1.69) then
workspace.Roaster.KillBrick.Fire:Stop()
workspace.Roaster.KillBrick.Facer.Disabled = true
workspace.Roaster.KillBrick.Script.Disabled = true
workspace.Roaster.KillBrick.FireS.Disabled = true
workspace.Roaster.Model.Model.Script.Disabled = true
workspace.RLIGHTS.Green.Transparency = .3
workspace.RLIGHTS.Green.Material = Enum.Material.Glass
workspace.RLIGHTS.Red.Transparency = .3
workspace.RLIGHTS.Red.Material = Enum.Material.Glass
workspace.RLIGHTS.Yellow.Material = Enum.Material.Neon
workspace.RLIGHTS.Yellow.Transparency = 0
end
if script.Parent.Size >= (0.63, 0, 1.69) then
workspace.RLIGHTS.Yellow.Material = Enum.Material.Glass
workspace.RLIGHTS.Yellow.Transparency = .3
workspace.RLIGHTS.Red.Transparency = 0
workspace.RLIGHTS.Red.Material = Enum.Material.Neon
workspace.Roaster.Model.Model.Script.Disabled = false
end
I'm also pretty sure there's a more beautiful way to do this, but this is all I've got. Thanks in advance if you can help!

1 comment
You have to add ) under the last end I think