Gofven
|
  |
| Joined: 18 Jun 2015 |
| Total Posts: 767 |
|
|
| 12 Oct 2016 01:28 PM |
Okay, so i want a script that will tick down seconds BUT if the serverscript sends a "Cancel" event then i want it to stop. Should i use this or should i use a Server > client event instead and does it bypass the filteringenabled filter?
local Player = game.Players.LocalPlayer local PlayerGui = Player.PlayerGui local GuiChat = PlayerGui.ScreenGui.Frame.Chat local GuiStatus = PlayerGui.ScreenGui.Frame.Status
game.Players.LocalPlayer:WaitForChild("TcCoreTimeTable").OnClientEvent:connect(function()
wait(1)
wait(1)
end) |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 12 Oct 2016 02:11 PM |
counting = true i = 0
while wait(1) do if not counting then break else i = i +1 print(i) end end |
|
|
| Report Abuse |
|
|
Gofven
|
  |
| Joined: 18 Jun 2015 |
| Total Posts: 767 |
|
|
| 12 Oct 2016 03:42 PM |
| Thanks Soybeen for many helps in the past, But this one really isn't doing much on a FilteringEnabled game... I'll try to make a Serverscript that transfer to local instead, it may be easier. Thanks anyways :) |
|
|
| Report Abuse |
|
|