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

How do i make a clean plane Script?

Asked by 8 years ago

I'm trying to make a script when 180 seconds is up a script will wipe out all planes that don't have anyone on the seats. I also want to mak it say 185 seconds before it cleans them. Please help fix this script.

messageText = "Plane Cleanup in 3 minutes"

game.workspace.Plane.Child.Plane = 'Plane'

wait (5)

do message.Text = messageText("180 Seconds until planes cleaned")

do wait (180)

remove='Plane' if

workspace.Plane.humanoid.found then

remove=false

end

end

0
Use code blocks to do the code, using the Lua symbol above your text box where you write your question. You can edit posts, too. TheDeadlyPanther 2460 — 8y

1 answer

Log in to vote
0
Answered by 5 years ago

in pairs

0
for i, v in pairs The_Pr0fessor 595 — 5y
Ad

Answer this question