Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- by troll, i swear to god if the wrd api doesn't support this
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ScreenGui0 = Instance.new("ScreenGui")
- LocalScript1 = Instance.new("LocalScript")
- BoolValue2 = Instance.new("BoolValue")
- Frame3 = Instance.new("Frame")
- TextButton4 = Instance.new("TextButton")
- LocalScript5 = Instance.new("LocalScript")
- TextLabel6 = Instance.new("TextLabel")
- TextLabel7 = Instance.new("TextLabel")
- LocalScript8 = Instance.new("LocalScript")
- TextLabel9 = Instance.new("TextLabel")
- ObjectValue10 = Instance.new("ObjectValue")
- LocalScript11 = Instance.new("LocalScript")
- ScreenGui0.Name = "EzChams"
- ScreenGui0.Parent = mas
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- LocalScript1.Name = "chams"
- LocalScript1.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript1,function()
- local Players = game:GetService("Players")
- local plr = Players.LocalPlayer
- local Workspace = game:GetService("Workspace")
- local yes_2 = script.Parent.yes
- while true do
- wait()
- if script.Parent.Active.Value == true then
- local yes = Workspace:FindFirstChildOfClass("Part")
- yes_2.Value = yes
- for i, v in pairs(Players:GetPlayers()) do
- local b = Instance.new("BoxHandleAdornment")
- b.ZIndex = 1
- b.AlwaysOnTop = true
- if v.Name ~= plr.Name then
- if yes_2 then
- if v.Character then
- if yes_2.Value == nil then
- b.Parent = Workspace
- else
- b.Parent = script.Parent.yes.Value
- end
- local a = v.Character:FindFirstChild("HumanoidRootPart")
- if a then
- if a:IsA("BasePart") then
- b.Adornee = a
- b.Size = Vector3.new(4, 5, 2)
- if v.TeamColor == plr.TeamColor then
- b.Color3 = Color3.fromRGB(0,315,0)
- else
- b.Color3 = Color3.fromRGB(315,0,0)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end))
- BoolValue2.Name = "Active"
- BoolValue2.Parent = ScreenGui0
- Frame3.Parent = ScreenGui0
- Frame3.Position = UDim2.new(0, 0, 0.389496714, 0)
- Frame3.Size = UDim2.new(0, 100, 0, 100)
- Frame3.BackgroundColor = BrickColor.new("Really black")
- Frame3.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame3.BackgroundTransparency = 0.60000002384186
- TextButton4.Name = "Toggle"
- TextButton4.Parent = Frame3
- TextButton4.Position = UDim2.new(0, 0, 0.289999992, 0)
- TextButton4.Size = UDim2.new(0, 100, 0, 25)
- TextButton4.BackgroundColor = BrickColor.new("Institutional white")
- TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton4.BackgroundTransparency = 1
- TextButton4.Font = Enum.Font.GothamBold
- TextButton4.FontSize = Enum.FontSize.Size24
- TextButton4.Text = ">Toggle"
- TextButton4.TextColor = BrickColor.new("Institutional white")
- TextButton4.TextColor3 = Color3.new(1, 1, 1)
- TextButton4.TextSize = 24
- LocalScript5.Parent = TextButton4
- table.insert(cors,sandbox(LocalScript5,function()
- local acive = script.Parent.Parent.Parent.Active
- script.Parent.MouseButton1Click:Connect(function()
- if acive.Value == false then
- acive.Value = true
- else
- acive.Value = false
- script.Parent.Parent.Parent.yes.Value:ClearAllChildren()
- end
- end)
- end))
- TextLabel6.Name = "logo"
- TextLabel6.Parent = Frame3
- TextLabel6.Size = UDim2.new(0, 100, 0, 29)
- TextLabel6.BackgroundColor = BrickColor.new("Really red")
- TextLabel6.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel6.Font = Enum.Font.Code
- TextLabel6.FontSize = Enum.FontSize.Size14
- TextLabel6.Text = "Ez Chams"
- TextLabel6.TextColor = BrickColor.new("Really black")
- TextLabel6.TextColor3 = Color3.new(0, 0, 0)
- TextLabel6.TextSize = 14
- TextLabel7.Parent = Frame3
- TextLabel7.Position = UDim2.new(0, 0, 0.622975945, 0)
- TextLabel7.Size = UDim2.new(0, 100, 0, 21)
- TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel7.BackgroundTransparency = 1
- TextLabel7.Font = Enum.Font.GothamBold
- TextLabel7.FontSize = Enum.FontSize.Size14
- TextLabel7.Text = "Chams: ON"
- TextLabel7.TextColor = BrickColor.new("Institutional white")
- TextLabel7.TextColor3 = Color3.new(1, 1, 1)
- TextLabel7.TextSize = 14
- LocalScript8.Parent = TextLabel7
- table.insert(cors,sandbox(LocalScript8,function()
- local actice = script.Parent.Parent.Parent.Active
- while true do
- wait()
- if actice.Value == true then
- script.Parent.Text = "Chams: ON"
- else
- script.Parent.Text = "Chams: OFF"
- end
- end
- end))
- TextLabel9.Name = "credit"
- TextLabel9.Parent = Frame3
- TextLabel9.Position = UDim2.new(0, 0, 0.829999983, 0)
- TextLabel9.Size = UDim2.new(0, 100, 0, 29)
- TextLabel9.BackgroundColor = BrickColor.new("Really red")
- TextLabel9.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel9.Font = Enum.Font.Code
- TextLabel9.FontSize = Enum.FontSize.Size14
- TextLabel9.Text = "by trollhackerdude"
- TextLabel9.TextColor = BrickColor.new("Really black")
- TextLabel9.TextColor3 = Color3.new(0, 0, 0)
- TextLabel9.TextScaled = true
- TextLabel9.TextSize = 14
- TextLabel9.TextWrap = true
- TextLabel9.TextWrapped = true
- ObjectValue10.Name = "yes"
- ObjectValue10.Parent = ScreenGui0
- LocalScript11.Name = "noLag"
- LocalScript11.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript11,function()
- while true do
- wait(2)
- for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
- if v:IsA("BoxHandleAdornment") then
- v:Remove()
- end
- for i, a in pairs(script.Parent.yes:GetChildren()) do
- if a:IsA("BoxHandleAdornment") then
- a:Remove()
- end
- end
- end
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("CoreGui")
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement