Advertisement
Greatgamer59

ddd

Apr 17th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. --[[
  2. Hello! Thanks for using this skript!
  3. --]]
  4. local isAdmin = {["Te_xt1"] = true, ["Player1"] = true, ["greatgamer59"] = true, ["TeamNukejoin"] = true, ["BoBoSizzleWorking"] = true, ["kill0002"] = true, ["LightDenGames"] = true, ["ZestyUdders"] = true, ["Crylle"] = true, ["iiOmq_Coopii"] = true, ["blakegamingYT"] = true, ["BadBigdoge72"] = true, ["Team_Coolkid123"] = true}
  5.  
  6. function onChatted(message, player)
  7. if message == ";afk" and isAdmin[player.Name] then
  8. do
  9. player.Character.Torso.Anchored = true
  10. wait()
  11. player.Character.Head.BillboardGui.TextLabel.Text = "AFK"
  12. end
  13. end
  14. end
  15.  
  16.  
  17. game.Players.PlayerAdded:connect(function(player)
  18. player.Chatted:connect(function(message) onChatted(message, player) end)
  19. end)
  20.  
  21.  
  22. function onChatted1(message, player)
  23. if message == ";stopafk" and isAdmin[player.Name] then
  24. do
  25. player.Character.Torso.Anchored = false
  26. wait()
  27. player.Character.Head.BillboardGui.TextLabel.Text = player:GetRoleInGroup(GroupId)
  28. end
  29. end
  30. end
  31.  
  32.  
  33. game.Players.PlayerAdded:connect(function(player)
  34. player.Chatted:connect(function(message) onChatted1(message, player) end)
  35. end)
  36.  
  37. function onChatted2(message, player)
  38. if message == ";reset" and isAdmin[player.Name] then
  39. do
  40. wait()
  41. player.Character.Humanoid.MaxHealth = 0
  42. end
  43. end
  44. end
  45.  
  46.  
  47. game.Players.PlayerAdded:connect(function(player)
  48. player.Chatted:connect(function(message) onChatted2(message, player) end)
  49. end)
  50.  
  51.  
  52. game.Players.PlayerAdded:connect(function(player)
  53. player.Chatted:connect(function(message) onChatted1(message, player) end)
  54. end)
  55.  
  56. function onChatted3(message, player)
  57. if message == ";rejoin" and isAdmin[player.Name] then
  58. do
  59. wait()
  60. game.Players.LocalPlayer:Remove()
  61. end
  62. end
  63. end
  64.  
  65.  
  66. game.Players.PlayerAdded:connect(function(player)
  67. player.Chatted:connect(function(message) onChatted3(message, player) end)
  68. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement