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

i ran into an error and i don't know what to do it says its not a valid member what does that mean?

Asked by 4 years ago

here is the: error17:22:21.328 - bordersforteleporters2 is not a valid member of DataModelhere is my script:~~~~~~~~~~~~~~~~~ script.Parent.Touched:Connect(function() game.bordersforteleporters2.CanCollide = false game.bordersforteleporters1.CanCollide = false game.bordersforteleporters3.CanCollide = false game.bordersforteleporters4.CanCollide = false
game.Tele3.BrickColor = BrickColor.new("Dark green") game.Tele4.BrickColor = BrickColor.new("Dark green")

end)
~~~~~~~~~~~~~~~~~

0
OML IM STUPID StevenElijah7019 57 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

You need to put game.Workspace

You put game.bordersforteleports2

Should be game.Workspace.[Name] for all of them.

Ad

Answer this question