KengTheBoby

PUNISH

Aug 21st, 2020
49,307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. --[[
  2. Hello this script was made by: Keng Vang
  3. What this script can do:
  4. Punish, and Silent CMD.
  5. this is in beta kinda i think. so if the
  6. Punish dosent work remember its in beta :D
  7. --]]
  8.  
  9. local ScreenGui = Instance.new("ScreenGui")
  10. local Main = Instance.new("Frame")
  11. local Punish = Instance.new("TextButton")
  12. local SilentCMD = Instance.new("TextButton")
  13. local Box = Instance.new("TextBox")
  14. local X = Instance.new("TextButton")
  15.  
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. ScreenGui.ResetOnSpawn = false
  18.  
  19. Main.Name = "Main"
  20. Main.Parent = ScreenGui
  21. Main.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0.498039)
  22. Main.BorderSizePixel = 4
  23. Main.Position = UDim2.new(0.117575757, 0, 0.152334154, 0)
  24. Main.Size = UDim2.new(0, 334, 0, 138)
  25. Main.Active = true
  26. Main.Draggable = true
  27.  
  28. Punish.Name = "Punish"
  29. Punish.Parent = Main
  30. Punish.BackgroundColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  31. Punish.BorderColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  32. Punish.Position = UDim2.new(0.0209580846, 0, 0.594202876, 0)
  33. Punish.Size = UDim2.new(0, 162, 0, 50)
  34. Punish.Font = Enum.Font.GothamBlack
  35. Punish.Text = "PUNISH"
  36. Punish.TextColor3 = Color3.new(1, 1, 1)
  37. Punish.TextSize = 14
  38. Punish.TextStrokeColor3 = Color3.new(1, 1, 1)
  39.  
  40. SilentCMD.Name = "SilentCMD"
  41. SilentCMD.Parent = Main
  42. SilentCMD.BackgroundColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  43. SilentCMD.BorderColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  44. SilentCMD.Position = UDim2.new(0.514970064, 0, 0.594202876, 0)
  45. SilentCMD.Size = UDim2.new(0, 152, 0, 50)
  46. SilentCMD.Font = Enum.Font.Gotham
  47. SilentCMD.Text = "Silent CMD"
  48. SilentCMD.TextColor3 = Color3.new(1, 1, 1)
  49. SilentCMD.TextSize = 14
  50. SilentCMD.TextStrokeColor3 = Color3.new(1, 1, 1)
  51.  
  52. Box.Name = "Box"
  53. Box.Parent = Main
  54. Box.BackgroundColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  55. Box.BorderColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  56. Box.Position = UDim2.new(0.0209580846, 0, 0.159420297, 0)
  57. Box.Size = UDim2.new(0, 317, 0, 50)
  58. Box.ClearTextOnFocus = false
  59. Box.Font = Enum.Font.SourceSans
  60. Box.PlaceholderColor3 = Color3.new(0.294118, 1, 0.764706)
  61. Box.PlaceholderText = "Enter Here"
  62. Box.Text = ""
  63. Box.TextColor3 = Color3.new(0.0235294, 1, 0.513726)
  64. Box.TextScaled = true
  65. Box.TextSize = 30
  66. Box.TextWrapped = true
  67.  
  68. X.Name = "X"
  69. X.Parent = Main
  70. X.BackgroundColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  71. X.BorderColor3 = Color3.new(0.168627, 0.513726, 0.25098)
  72. X.BorderSizePixel = 0
  73. X.Position = UDim2.new(0.952095807, 0, 0, 0)
  74. X.Size = UDim2.new(0, 16, 0, 16)
  75. X.Font = Enum.Font.SourceSans
  76. X.Text = "X"
  77. X.TextColor3 = Color3.new(1, 1, 1)
  78. X.TextScaled = true
  79. X.TextSize = 14
  80. X.TextWrapped = true
  81.  
  82. --SCRIPTS
  83.  
  84. local Players = game:GetService("Players")
  85. local LocalPlayer = Players.LocalPlayer
  86. local plrname = game.Players.LocalPlayer.Name
  87.  
  88. local function RemoveSpaces(String)
  89. return String:gsub("%s+", "") or String
  90. end
  91.  
  92. local function FindPlayer(String)
  93. String = RemoveSpaces(String)
  94. for _, _Player in pairs(Players:GetPlayers()) do
  95. if _Player.Name:lower():match('^'.. String:lower()) then
  96. return _Player
  97. end
  98. end
  99. return nil
  100. end
  101.  
  102. Punish.MouseButton1Click:Connect(function()
  103. local target = FindPlayer(Box.Text)
  104. game.Players:Chat(":control "..target.Name.."")
  105. wait(1)
  106. game.Players:Chat(":control random")
  107. wait(1)
  108. game.Players:Chat(":ice me")
  109. wait(.5)
  110. game.Players:Chat(":control random")
  111. wait(1)
  112. game.Players:Chat(":freeze me")
  113. wait(1)
  114. game.Players:Chat(":control random")
  115. wait(.5)
  116. game.Players:Chat(":ice "..plrname.."")
  117. wait(1)
  118. game.Players:Chat(":control random")
  119. wait(.5)
  120. game.Players:Chat(":explode me")
  121. wait(1)
  122. game.Players:Chat(":control random")
  123. wait(1)
  124. game.Players:Chat(":unice me")
  125. end)
  126.  
  127. SilentCMD.MouseButton1Click:Connect(function()
  128. game.Players:Chat(Box.Text)
  129. game.Players:Chat(":"..Box.Text.."")
  130. end)
  131.  
  132. X.MouseButton1Click:Connect(function()
  133. ScreenGui:Destroy()
  134. end)
Advertisement
Add Comment
Please, Sign In to add comment