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

Just checking but is this how to disable a script at a specific time limit?

Asked by 4 years ago

Is this correct or is there something i have to fix?

local player = game.Players.LocalPlayer

if player.leaderstats.Simulators.Value >= script.Parent.Mission1V2.Value then wait(15) script.Parent.Mission1Script.Disabled = true end

0
Why are you asking if it's correct or not? Use it. CowboySprite 5 — 4y

1 answer

Log in to vote
0
Answered by
LIRI1 7
4 years ago

Try setting the whole script under a 'while' condition that expires after a set of time?

Ad

Answer this question