Advertisement
trollhackerdude

ez chams

Sep 1st, 2019
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. -- by troll, i swear to god if the wrd api doesn't support this
  2.  
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. ScreenGui0 = Instance.new("ScreenGui")
  20. LocalScript1 = Instance.new("LocalScript")
  21. BoolValue2 = Instance.new("BoolValue")
  22. Frame3 = Instance.new("Frame")
  23. TextButton4 = Instance.new("TextButton")
  24. LocalScript5 = Instance.new("LocalScript")
  25. TextLabel6 = Instance.new("TextLabel")
  26. TextLabel7 = Instance.new("TextLabel")
  27. LocalScript8 = Instance.new("LocalScript")
  28. TextLabel9 = Instance.new("TextLabel")
  29. ObjectValue10 = Instance.new("ObjectValue")
  30. LocalScript11 = Instance.new("LocalScript")
  31. ScreenGui0.Name = "EzChams"
  32. ScreenGui0.Parent = mas
  33. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  34. LocalScript1.Name = "chams"
  35. LocalScript1.Parent = ScreenGui0
  36. table.insert(cors,sandbox(LocalScript1,function()
  37. local Players = game:GetService("Players")
  38. local plr = Players.LocalPlayer
  39. local Workspace = game:GetService("Workspace")
  40. local yes_2 = script.Parent.yes
  41.  
  42. while true do
  43. wait()
  44. if script.Parent.Active.Value == true then
  45. local yes = Workspace:FindFirstChildOfClass("Part")
  46.  
  47. yes_2.Value = yes
  48.  
  49. for i, v in pairs(Players:GetPlayers()) do
  50. local b = Instance.new("BoxHandleAdornment")
  51. b.ZIndex = 1
  52. b.AlwaysOnTop = true
  53. if v.Name ~= plr.Name then
  54. if yes_2 then
  55. if v.Character then
  56. if yes_2.Value == nil then
  57. b.Parent = Workspace
  58. else
  59. b.Parent = script.Parent.yes.Value
  60. end
  61. local a = v.Character:FindFirstChild("HumanoidRootPart")
  62. if a then
  63. if a:IsA("BasePart") then
  64. b.Adornee = a
  65. b.Size = Vector3.new(4, 5, 2)
  66. if v.TeamColor == plr.TeamColor then
  67. b.Color3 = Color3.fromRGB(0,315,0)
  68. else
  69. b.Color3 = Color3.fromRGB(315,0,0)
  70. end
  71. end
  72. end
  73. end
  74. end
  75. end
  76. end
  77. end
  78. end
  79.  
  80.  
  81.  
  82.  
  83. end))
  84. BoolValue2.Name = "Active"
  85. BoolValue2.Parent = ScreenGui0
  86. Frame3.Parent = ScreenGui0
  87. Frame3.Position = UDim2.new(0, 0, 0.389496714, 0)
  88. Frame3.Size = UDim2.new(0, 100, 0, 100)
  89. Frame3.BackgroundColor = BrickColor.new("Really black")
  90. Frame3.BackgroundColor3 = Color3.new(0, 0, 0)
  91. Frame3.BackgroundTransparency = 0.60000002384186
  92. TextButton4.Name = "Toggle"
  93. TextButton4.Parent = Frame3
  94. TextButton4.Position = UDim2.new(0, 0, 0.289999992, 0)
  95. TextButton4.Size = UDim2.new(0, 100, 0, 25)
  96. TextButton4.BackgroundColor = BrickColor.new("Institutional white")
  97. TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
  98. TextButton4.BackgroundTransparency = 1
  99. TextButton4.Font = Enum.Font.GothamBold
  100. TextButton4.FontSize = Enum.FontSize.Size24
  101. TextButton4.Text = ">Toggle"
  102. TextButton4.TextColor = BrickColor.new("Institutional white")
  103. TextButton4.TextColor3 = Color3.new(1, 1, 1)
  104. TextButton4.TextSize = 24
  105. LocalScript5.Parent = TextButton4
  106. table.insert(cors,sandbox(LocalScript5,function()
  107. local acive = script.Parent.Parent.Parent.Active
  108.  
  109.  
  110.  
  111. script.Parent.MouseButton1Click:Connect(function()
  112. if acive.Value == false then
  113. acive.Value = true
  114. else
  115. acive.Value = false
  116. script.Parent.Parent.Parent.yes.Value:ClearAllChildren()
  117. end
  118. end)
  119. end))
  120. TextLabel6.Name = "logo"
  121. TextLabel6.Parent = Frame3
  122. TextLabel6.Size = UDim2.new(0, 100, 0, 29)
  123. TextLabel6.BackgroundColor = BrickColor.new("Really red")
  124. TextLabel6.BackgroundColor3 = Color3.new(1, 0, 0)
  125. TextLabel6.Font = Enum.Font.Code
  126. TextLabel6.FontSize = Enum.FontSize.Size14
  127. TextLabel6.Text = "Ez Chams"
  128. TextLabel6.TextColor = BrickColor.new("Really black")
  129. TextLabel6.TextColor3 = Color3.new(0, 0, 0)
  130. TextLabel6.TextSize = 14
  131. TextLabel7.Parent = Frame3
  132. TextLabel7.Position = UDim2.new(0, 0, 0.622975945, 0)
  133. TextLabel7.Size = UDim2.new(0, 100, 0, 21)
  134. TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
  135. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  136. TextLabel7.BackgroundTransparency = 1
  137. TextLabel7.Font = Enum.Font.GothamBold
  138. TextLabel7.FontSize = Enum.FontSize.Size14
  139. TextLabel7.Text = "Chams: ON"
  140. TextLabel7.TextColor = BrickColor.new("Institutional white")
  141. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  142. TextLabel7.TextSize = 14
  143. LocalScript8.Parent = TextLabel7
  144. table.insert(cors,sandbox(LocalScript8,function()
  145. local actice = script.Parent.Parent.Parent.Active
  146.  
  147. while true do
  148. wait()
  149. if actice.Value == true then
  150. script.Parent.Text = "Chams: ON"
  151. else
  152. script.Parent.Text = "Chams: OFF"
  153. end
  154. end
  155. end))
  156. TextLabel9.Name = "credit"
  157. TextLabel9.Parent = Frame3
  158. TextLabel9.Position = UDim2.new(0, 0, 0.829999983, 0)
  159. TextLabel9.Size = UDim2.new(0, 100, 0, 29)
  160. TextLabel9.BackgroundColor = BrickColor.new("Really red")
  161. TextLabel9.BackgroundColor3 = Color3.new(1, 0, 0)
  162. TextLabel9.Font = Enum.Font.Code
  163. TextLabel9.FontSize = Enum.FontSize.Size14
  164. TextLabel9.Text = "by trollhackerdude"
  165. TextLabel9.TextColor = BrickColor.new("Really black")
  166. TextLabel9.TextColor3 = Color3.new(0, 0, 0)
  167. TextLabel9.TextScaled = true
  168. TextLabel9.TextSize = 14
  169. TextLabel9.TextWrap = true
  170. TextLabel9.TextWrapped = true
  171. ObjectValue10.Name = "yes"
  172. ObjectValue10.Parent = ScreenGui0
  173. LocalScript11.Name = "noLag"
  174. LocalScript11.Parent = ScreenGui0
  175. table.insert(cors,sandbox(LocalScript11,function()
  176. while true do
  177. wait(2)
  178. for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  179. if v:IsA("BoxHandleAdornment") then
  180. v:Remove()
  181. end
  182.  
  183. for i, a in pairs(script.Parent.yes:GetChildren()) do
  184. if a:IsA("BoxHandleAdornment") then
  185. a:Remove()
  186. end
  187. end
  188. end
  189. end
  190. end))
  191. for i,v in pairs(mas:GetChildren()) do
  192. v.Parent = game:GetService("CoreGui")
  193. pcall(function() v:MakeJoints() end)
  194. end
  195. mas:Destroy()
  196. for i,v in pairs(cors) do
  197. spawn(function()
  198. pcall(v)
  199. end)
  200. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement