#Whats wrong with this code im new to it

5 messages · Page 1 of 1 (latest)

tranquil crown
#

if baseflower.CanCollide = false then spawn(baseflower)
end

#

Workspace.scripts.First steps:11: Expected 'then' when parsing if statement, got '='

#

I switched it to this
if baseflower.CanCollide (false) then spawn(baseflower.Position(-2606.619, 30.917, 387.58))
end

jagged breach
#

When checking if a value equals another value with a if then statement you should use ==, not =

tranquil crown
#

oh ok ty