Advertisement
MandB

SquidGameClient

Oct 7th, 2021
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. local re = game.ReplicatedStorage:WaitForChild("SquidGameRE")
  2.  
  3.  
  4. re.OnClientEvent:Connect(function(instruction, value, colour)
  5.    
  6.     if instruction == "status" then
  7.        
  8.         script.Parent.Status.Text = value
  9.         script.Parent.Status.TextColor3 = colour
  10.        
  11.        
  12.     elseif instruction == "timer" then
  13.        
  14.         script.Parent.TimerLabel.Text = value
  15.        
  16.        
  17.     elseif instruction == "barrier" then
  18.        
  19.         wait(2)
  20.        
  21.         value.CanCollide = true
  22.     end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement