CheckZone(LocationA) will say it’s true and fire.However, the same function will fire with the other zones, and they will set InZone to false too.Īt the speed of the server, CheckWait() will do this if the player is in LocationA: However, if it detects that it is NOT within the box, then it will set InZone to false. If it is within the box, InZone will be true, and a function from a ModuleScript will fire with passed parameters from that table. When CheckZone() runs with a chosen zone, it will check if the Player’s HumanoidRootPart is within the box. R.Heartbeat:Wait() - if the player was in LocationA:ĬheckZone(Zones) - LocationA, returns true, fires the function Local CheckWait = coroutine.wrap(function() M.ZoneAppear(Zone,0.75,Zone) - passed parameters The Actual Issue: -RAN FROM A LOCALSCRIPT
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |