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") Frame1 = Instance.new("Frame") ScrollingFrame2 = Instance.new("ScrollingFrame") TextBox3 = Instance.new("TextBox") TextLabel4 = Instance.new("TextLabel") TextLabel5 = Instance.new("TextLabel") TextLabel6 = Instance.new("TextLabel") TextLabel7 = Instance.new("TextLabel") TextLabel8 = Instance.new("TextLabel") TextLabel9 = Instance.new("TextLabel") TextLabel10 = Instance.new("TextLabel") TextLabel11 = Instance.new("TextLabel") LocalScript12 = Instance.new("LocalScript") LocalScript13 = Instance.new("LocalScript") TextButton14 = Instance.new("TextButton") LocalScript15 = Instance.new("LocalScript") TextButton16 = Instance.new("TextButton") LocalScript17 = Instance.new("LocalScript") TextLabel18 = Instance.new("TextLabel") LocalScript19 = Instance.new("LocalScript") ScreenGui0.Parent = mas ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui0.ResetOnSpawn = false Frame1.Parent = ScreenGui0 Frame1.Position = UDim2.new(0.369462132, 0, 0.39625001, 0) Frame1.Size = UDim2.new(0, 371, 0, 198) Frame1.BackgroundColor = BrickColor.new("Medium brown") Frame1.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451) Frame1.BorderColor = BrickColor.new("Really black") Frame1.BorderColor3 = Color3.new(0, 0, 0) Frame1.BorderSizePixel = 0 ScrollingFrame2.Name = "lua" ScrollingFrame2.Parent = Frame1 ScrollingFrame2.Position = UDim2.new(0.0264306907, 0, 0.146334097, 0) ScrollingFrame2.Size = UDim2.new(0.931515574, 8, 0.57379818, 8) ScrollingFrame2.BackgroundColor = BrickColor.new("Sand red") ScrollingFrame2.BackgroundColor3 = Color3.new(0.478431, 0.478431, 0.478431) ScrollingFrame2.BackgroundTransparency = 0.75 ScrollingFrame2.BorderColor = BrickColor.new("Hot pink") ScrollingFrame2.BorderColor3 = Color3.new(1, 0, 1) ScrollingFrame2.BorderSizePixel = 0 ScrollingFrame2.ZIndex = 123 ScrollingFrame2.BottomImage = "rbxassetid://148970562" ScrollingFrame2.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollingFrame2.HorizontalScrollBarInset = Enum.ScrollBarInset.ScrollBar ScrollingFrame2.MidImage = "rbxassetid://148970562" ScrollingFrame2.ScrollBarThickness = 5 ScrollingFrame2.TopImage = "rbxassetid://148970562" TextBox3.Name = "Source" TextBox3.Parent = ScrollingFrame2 TextBox3.Position = UDim2.new(0, 20, 0, -2) TextBox3.Size = UDim2.new(0, 373, 0, 216) TextBox3.BackgroundColor = BrickColor.new("Black") TextBox3.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235) TextBox3.BackgroundTransparency = 1 TextBox3.BorderColor = BrickColor.new("Hot pink") TextBox3.BorderColor3 = Color3.new(1, 0, 1) TextBox3.BorderSizePixel = 0 TextBox3.ZIndex = 3 TextBox3.Font = Enum.Font.Code TextBox3.FontSize = Enum.FontSize.Size18 TextBox3.Text = "" TextBox3.TextColor = BrickColor.new("Mid gray") TextBox3.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608) TextBox3.TextSize = 15 TextBox3.TextXAlignment = Enum.TextXAlignment.Left TextBox3.TextYAlignment = Enum.TextYAlignment.Top TextBox3.ClearTextOnFocus = false TextBox3.MultiLine = true TextBox3.PlaceholderColor3 = Color3.new(0.384314, 0.388235, 0.388235) TextBox3.PlaceholderText = "Paste your script here..." TextLabel4.Name = "Comments_" TextLabel4.Parent = TextBox3 TextLabel4.Size = UDim2.new(1, 0, 1, 0) TextLabel4.BackgroundColor = BrickColor.new("Institutional white") TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel4.BackgroundTransparency = 1 TextLabel4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel4.ZIndex = 5 TextLabel4.Font = Enum.Font.Code TextLabel4.FontSize = Enum.FontSize.Size18 TextLabel4.Text = "" TextLabel4.TextColor = BrickColor.new("Sand green") TextLabel4.TextColor3 = Color3.new(0.498039, 0.498039, 0.498039) TextLabel4.TextSize = 15 TextLabel4.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel4.TextStrokeTransparency = 0 TextLabel4.TextWrap = true TextLabel4.TextWrapped = true TextLabel4.TextXAlignment = Enum.TextXAlignment.Left TextLabel4.TextYAlignment = Enum.TextYAlignment.Top TextLabel5.Name = "Globals_" TextLabel5.Parent = TextBox3 TextLabel5.Size = UDim2.new(1, 0, 1, 0) TextLabel5.BackgroundColor = BrickColor.new("Institutional white") TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel5.BackgroundTransparency = 1 TextLabel5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel5.ZIndex = 5 TextLabel5.Font = Enum.Font.Code TextLabel5.FontSize = Enum.FontSize.Size18 TextLabel5.Text = "" TextLabel5.TextColor = BrickColor.new("Tr. Green") TextLabel5.TextColor3 = Color3.new(0.482353, 0.847059, 0.560784) TextLabel5.TextSize = 15 TextLabel5.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel5.TextStrokeTransparency = 0 TextLabel5.TextWrap = true TextLabel5.TextWrapped = true TextLabel5.TextXAlignment = Enum.TextXAlignment.Left TextLabel5.TextYAlignment = Enum.TextYAlignment.Top TextLabel6.Name = "Keywords_" TextLabel6.Parent = TextBox3 TextLabel6.Size = UDim2.new(1, 0, 1, 0) TextLabel6.BackgroundColor = BrickColor.new("Institutional white") TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel6.BackgroundTransparency = 1 TextLabel6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel6.ZIndex = 5 TextLabel6.Font = Enum.Font.Code TextLabel6.FontSize = Enum.FontSize.Size18 TextLabel6.Text = "" TextLabel6.TextColor = BrickColor.new("Bright purple") TextLabel6.TextColor3 = Color3.new(0.988235, 0.380392, 0.552941) TextLabel6.TextSize = 15 TextLabel6.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel6.TextStrokeTransparency = 0 TextLabel6.TextWrap = true TextLabel6.TextWrapped = true TextLabel6.TextXAlignment = Enum.TextXAlignment.Left TextLabel6.TextYAlignment = Enum.TextYAlignment.Top TextLabel7.Name = "Numbers_" TextLabel7.Parent = TextBox3 TextLabel7.Size = UDim2.new(1, 0, 1, 0) TextLabel7.BackgroundColor = BrickColor.new("Institutional white") TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel7.BackgroundTransparency = 1 TextLabel7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel7.Font = Enum.Font.Code TextLabel7.FontSize = Enum.FontSize.Size18 TextLabel7.Text = "" TextLabel7.TextColor = BrickColor.new("Tr. Bright bluish violet") TextLabel7.TextColor3 = Color3.new(0.580392, 0.541176, 0.890196) TextLabel7.TextSize = 15 TextLabel7.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel7.TextStrokeTransparency = 0 TextLabel7.TextWrap = true TextLabel7.TextWrapped = true TextLabel7.TextXAlignment = Enum.TextXAlignment.Left TextLabel7.TextYAlignment = Enum.TextYAlignment.Top TextLabel8.Name = "RemoteHighlight_" TextLabel8.Parent = TextBox3 TextLabel8.Size = UDim2.new(1, 0, 1, 0) TextLabel8.BackgroundColor = BrickColor.new("Institutional white") TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel8.BackgroundTransparency = 1 TextLabel8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel8.ZIndex = 5 TextLabel8.Font = Enum.Font.Code TextLabel8.FontSize = Enum.FontSize.Size18 TextLabel8.Text = "" TextLabel8.TextColor = BrickColor.new("Bright purple") TextLabel8.TextColor3 = Color3.new(0.988235, 0.380392, 0.552941) TextLabel8.TextSize = 15 TextLabel8.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel8.TextStrokeTransparency = 0 TextLabel8.TextWrap = true TextLabel8.TextWrapped = true TextLabel8.TextXAlignment = Enum.TextXAlignment.Left TextLabel8.TextYAlignment = Enum.TextYAlignment.Top TextLabel9.Name = "Strings_" TextLabel9.Parent = TextBox3 TextLabel9.Size = UDim2.new(1, 0, 1, 0) TextLabel9.BackgroundColor = BrickColor.new("Institutional white") TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel9.BackgroundTransparency = 1 TextLabel9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel9.ZIndex = 5 TextLabel9.Font = Enum.Font.Code TextLabel9.FontSize = Enum.FontSize.Size18 TextLabel9.Text = "" TextLabel9.TextColor = BrickColor.new("Daisy orange") TextLabel9.TextColor3 = Color3.new(0.988235, 0.898039, 0.4) TextLabel9.TextSize = 15 TextLabel9.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel9.TextStrokeTransparency = 0 TextLabel9.TextWrap = true TextLabel9.TextWrapped = true TextLabel9.TextXAlignment = Enum.TextXAlignment.Left TextLabel9.TextYAlignment = Enum.TextYAlignment.Top TextLabel10.Name = "Tokens_" TextLabel10.Parent = TextBox3 TextLabel10.Size = UDim2.new(1, 0, 1, 0) TextLabel10.BackgroundColor = BrickColor.new("Institutional white") TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel10.BackgroundTransparency = 1 TextLabel10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel10.ZIndex = 5 TextLabel10.Font = Enum.Font.Code TextLabel10.FontSize = Enum.FontSize.Size18 TextLabel10.Text = "" TextLabel10.TextColor = BrickColor.new("Bright purple") TextLabel10.TextColor3 = Color3.new(0.878431, 0.345098, 0.498039) TextLabel10.TextSize = 15 TextLabel10.TextStrokeColor3 = Color3.new(0.0941176, 0.0941176, 0.0941176) TextLabel10.TextStrokeTransparency = 0 TextLabel10.TextWrap = true TextLabel10.TextWrapped = true TextLabel10.TextXAlignment = Enum.TextXAlignment.Left TextLabel10.TextYAlignment = Enum.TextYAlignment.Top TextLabel11.Name = "Lines" TextLabel11.Parent = ScrollingFrame2 TextLabel11.Position = UDim2.new(-0.00247524749, 0, -0.00873362273, 0) TextLabel11.Size = UDim2.new(0, 20, 0, 99999999) TextLabel11.BackgroundColor = BrickColor.new("Black") TextLabel11.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235) TextLabel11.BackgroundTransparency = 1 TextLabel11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel11.BorderSizePixel = 0 TextLabel11.ZIndex = 4 TextLabel11.Font = Enum.Font.Code TextLabel11.FontSize = Enum.FontSize.Size18 TextLabel11.Text = "1" TextLabel11.TextColor = BrickColor.new("Flint") TextLabel11.TextColor3 = Color3.new(0.403922, 0.403922, 0.403922) TextLabel11.TextSize = 15 TextLabel11.TextYAlignment = Enum.TextYAlignment.Top LocalScript12.Parent = ScrollingFrame2 table.insert(cors,sandbox(LocalScript12,function() function onchanged(obj) local XTBounds = obj.TextBounds.X; local YTBounds = obj.TextBounds.Y; obj.Size = UDim2.new(0, XTBounds + 2, 0, YTBounds + 2); local newXCanvas = XTBounds > script.Parent.Size.X.Offset and (XTBounds + 45) or 0; local newYCanvas = YTBounds > script.Parent.Size.Y.Offset and (YTBounds + 2.5) or 0; script.Parent.CanvasSize = UDim2.new(0, newXCanvas, 0, newYCanvas); end script.Parent.Source.Changed:Connect(function() onchanged(script.Parent.Source) end) end)) LocalScript13.Name = "syntax" LocalScript13.Parent = ScrollingFrame2 table.insert(cors,sandbox(LocalScript13,function() local lua_keywords = {"and", "break", "do", "else", "elseif", "end", "false", "for", "function", "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while"} local global_env = {"alia", "Fire", "load", "getrawmetatable", "game", "workspace", "script", "math", "string", "table", "print", "wait", "BrickColor", "Color3", "next", "pairs", "ipairs", "select", "unpack", "Instance", "Vector2", "Vector3", "CFrame", "Ray", "UDim2", "Enum", "assert", "error", "warn", "tick", "loadstring", "_G", "shared", "getfenv", "setfenv", "newproxy", "setmetatable", "getmetatable", "os", "debug", "pcall", "ypcall", "xpcall", "rawequal", "rawset", "rawget", "tonumber", "tostring", "type", "typeof", "_VERSION", "coroutine", "delay", "require", "spawn", "LoadLibrary", "settings", "stats", "time", "UserSettings", "version", "Axes", "ColorSequence", "Faces", "ColorSequenceKeypoint", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "gcinfo", "elapsedTime", "collectgarbage", "PhysicalProperties", "Rect", "Region3", "Region3int16", "UDim", "Vector2int16", "Vector3int16"} local Source = script.Parent.Source local Lines = Source.Parent.Lines local Highlight = function(string, keywords) local K = {} local S = string local Token = { ["="] = true, ["."] = true, [","] = true, ["("] = true, [")"] = true, ["["] = true, ["]"] = true, ["{"] = true, ["}"] = true, [":"] = true, ["*"] = true, ["/"] = true, ["+"] = true, ["-"] = true, ["%"] = true, [";"] = true, ["~"] = true } for i, v in pairs(keywords) do K[v] = true end S = S:gsub(".", function(c) if Token[c] ~= nil then return "\32" else return c end end) S = S:gsub("%S+", function(c) if K[c] ~= nil then return c else return (" "):rep(#c) end end) return S end local hTokens = function(string) local Token = { ["="] = true, ["."] = true, [","] = true, ["("] = true, [")"] = true, ["["] = true, ["]"] = true, ["{"] = true, ["}"] = true, [":"] = true, ["*"] = true, ["/"] = true, ["+"] = true, ["-"] = true, ["%"] = true, [";"] = true, ["~"] = true } local A = "" string:gsub(".", function(c) if Token[c] ~= nil then A = A .. c elseif c == "\n" then A = A .. "\n" elseif c == "\t" then A = A .. "\t" else A = A .. "\32" end end) return A end local strings = function(string) local highlight = "" local quote = false string:gsub(".", function(c) if quote == false and c == "\"" then quote = true elseif quote == true and c == "\"" then quote = false end if quote == false and c == "\"" then highlight = highlight .. "\"" elseif c == "\n" then highlight = highlight .. "\n" elseif c == "\t" then highlight = highlight .. "\t" elseif quote == true then highlight = highlight .. c elseif quote == false then highlight = highlight .. "\32" end end) return highlight end local comments = function(string) local ret = "" string:gsub("[^\r\n]+", function(c) local comm = false local i = 0 c:gsub(".", function(n) i = i + 1 if c:sub(i, i + 1) == "--" then comm = true end if comm == true then ret = ret .. n else ret = ret .. "\32" end end) ret = ret end) return ret end local numbers = function(string) local A = "" string:gsub(".", function(c) if tonumber(c) ~= nil then A = A .. c elseif c == "\n" then A = A .. "\n" elseif c == "\t" then A = A .. "\t" else A = A .. "\32" end end) return A end local highlight_source = function(type) if type == "Text" then Source.Text = Source.Text:gsub("\13", "") Source.Text = Source.Text:gsub("\t", " ") local s = Source.Text Source.Keywords_.Text = Highlight(s, lua_keywords) Source.Globals_.Text = Highlight(s, global_env) Source.RemoteHighlight_.Text = Highlight(s, {}) Source.Tokens_.Text = hTokens(s) Source.Numbers_.Text = numbers(s) Source.Strings_.Text = strings(s) local lin = 1 s:gsub("\n", function() lin = lin + 1 end) Lines.Text = "" for i = 1, lin do Lines.Text = Lines.Text .. i .. "\n" end end end highlight_source("Text") Source.Changed:Connect(highlight_source) end)) TextButton14.Name = "ezxe" TextButton14.Parent = Frame1 TextButton14.Position = UDim2.new(0.0215633418, 0, 0.803030312, 0) TextButton14.Size = UDim2.new(0, 176, 0, 30) TextButton14.BackgroundColor = BrickColor.new("Sand red") TextButton14.BackgroundColor3 = Color3.new(0.478431, 0.478431, 0.478431) TextButton14.BorderColor = BrickColor.new("Really black") TextButton14.BorderColor3 = Color3.new(0, 0, 0) TextButton14.BorderSizePixel = 0 TextButton14.Font = Enum.Font.ArialBold TextButton14.FontSize = Enum.FontSize.Size14 TextButton14.Text = "Execute in Server" TextButton14.TextColor = BrickColor.new("Institutional white") TextButton14.TextColor3 = Color3.new(1, 1, 1) TextButton14.TextSize = 14 LocalScript15.Parent = TextButton14 table.insert(cors,sandbox(LocalScript15,function() script.Parent.MouseButton1Up:Connect(function() loadstring(script.Parent.Parent.lua.Source.Text)() end) end)) TextButton16.Name = "clr" TextButton16.Parent = Frame1 TextButton16.Position = UDim2.new(0.514824808, 0, 0.803030312, 0) TextButton16.Size = UDim2.new(0, 172, 0, 30) TextButton16.BackgroundColor = BrickColor.new("Sand red") TextButton16.BackgroundColor3 = Color3.new(0.478431, 0.478431, 0.478431) TextButton16.BorderColor = BrickColor.new("Really black") TextButton16.BorderColor3 = Color3.new(0, 0, 0) TextButton16.BorderSizePixel = 0 TextButton16.Font = Enum.Font.ArialBold TextButton16.FontSize = Enum.FontSize.Size14 TextButton16.Text = "Clears" TextButton16.TextColor = BrickColor.new("Institutional white") TextButton16.TextColor3 = Color3.new(1, 1, 1) TextButton16.TextSize = 14 LocalScript17.Parent = TextButton16 table.insert(cors,sandbox(LocalScript17,function() script.Parent.MouseButton1Up:Connect(function() script.Parent.Parent.lua.Source.Text = "" end) end)) TextLabel18.Parent = Frame1 TextLabel18.Size = UDim2.new(0, 371, 0, 18) TextLabel18.BackgroundColor = BrickColor.new("Sand red") TextLabel18.BackgroundColor3 = Color3.new(0.478431, 0.478431, 0.478431) TextLabel18.BorderColor = BrickColor.new("Really black") TextLabel18.BorderColor3 = Color3.new(0, 0, 0) TextLabel18.BorderSizePixel = 0 TextLabel18.Font = Enum.Font.ArialBold TextLabel18.FontSize = Enum.FontSize.Size14 TextLabel18.Text = "STEGME_V9" TextLabel18.TextColor = BrickColor.new("Institutional white") TextLabel18.TextColor3 = Color3.new(1, 1, 1) TextLabel18.TextSize = 14 LocalScript19.Name = "UIDrag" LocalScript19.Parent = Frame1 table.insert(cors,sandbox(LocalScript19,function() -- Made by Real_IceyDev (@lceyDex) -- -- Simple UI dragger (PC Only/Any device that has a mouse) -- local UIS = game:GetService('UserInputService') local frame = script.Parent local dragToggle = nil local dragSpeed = 0.25 local dragStart = nil local startPos = nil local function updateInput(input) local delta = input.Position - dragStart local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play() end frame.InputBegan:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then dragToggle = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end) UIS.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then if dragToggle then updateInput(input) end end end) end)) for i,v in pairs(mas:GetChildren()) do v.Parent = game:GetService("Players").LocalPlayer.PlayerGui pcall(function() v:MakeJoints() end) end mas:Destroy() for i,v in pairs(cors) do spawn(function() pcall(v) end) end