Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made By Me
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local Floodescpae = Instance.new("TextButton")
- local title = Instance.new("TextLabel")
- local Roxploit = Instance.new("TextButton")
- local InfiniteYeild = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScrollingFrame.Parent = ScreenGui
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ScrollingFrame.Position = UDim2.new(0.367700726, 0, 0.178926438, 0)
- ScrollingFrame.Size = UDim2.new(0, 442, 0, 243)
- ScrollingFrame.Active = true
- ScrollingFrame.Draggable = true
- Floodescpae.Name = "Flood escpae"
- Floodescpae.Parent = ScrollingFrame
- Floodescpae.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Floodescpae.Position = UDim2.new(0, 0, 0.0387673974, 0)
- Floodescpae.Size = UDim2.new(0, 200, 0, 50)
- Floodescpae.Font = Enum.Font.SciFi
- Floodescpae.Text = "Flood escape 2 GUi"
- Floodescpae.TextColor3 = Color3.fromRGB(0, 0, 0)
- Floodescpae.TextSize = 20.000
- Floodescpae.MouseButton1Down:connect(function()
- function GUI(seconds)
- local Player = game.Players.LocalPlayer.Character
- local on = false
- local clip = true
- local FloodGUI = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Credits = Instance.new("TextLabel")
- local ClickTP = Instance.new("TextButton")
- local GetButtons = Instance.new("TextButton")
- local DestroyExit = Instance.new("TextButton")
- local TpSpawn = Instance.new("TextButton")
- local TpExit = Instance.new("TextButton")
- local X = Instance.new("TextButton")
- local AutoFarm = Instance.new("TextButton")
- local Reload = Instance.new("TextButton")
- local NoClip = Instance.new("TextButton")
- local Waittime = Instance.new("TextBox")
- FloodGUI.Parent = game.CoreGui
- MainFrame.Parent = FloodGUI
- MainFrame.BackgroundColor3 = Color3.new(0, 0, 1)
- MainFrame.BackgroundTransparency = 0.3
- MainFrame.Position = UDim2.new(0.77, 0, 0.53, 0)
- MainFrame.Size = UDim2.new(0, 300, 0, 300)
- MainFrame.Active = true
- MainFrame.Draggable = true
- Title.Parent = MainFrame
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(0, 189, 0, 32)
- Title.Font = Enum.Font.SourceSansBold
- Title.FontSize = Enum.FontSize.Size36
- Title.Text = "FloodGui"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Credits.Parent = MainFrame
- Credits.BackgroundTransparency = 1
- Credits.Size = UDim2.new(0, 189, 0, 32)
- Credits.Font = Enum.Font.SourceSansBold
- Credits.FontSize = Enum.FontSize.Size24
- Credits.Text = "GUI created by Zmann"
- Credits.TextColor3 = Color3.new(0, 0, 0.03)
- Credits.Position = UDim2.new(0.20, 0, 0.88, 0)
- ClickTP.Parent = MainFrame
- ClickTP.BackgroundColor3 = Color3.new(0, 0, 0.5)
- ClickTP.Position = UDim2.new(0.03, 0, 0.75, 0)
- ClickTP.Size = UDim2.new(0, 125, 0, 36)
- ClickTP.Font = Enum.Font.SourceSansBold
- ClickTP.FontSize = Enum.FontSize.Size24
- ClickTP.Text = "Click TP (r)"
- ClickTP.TextColor3 = Color3.new(1, 1, 1)
- ClickTP.MouseButton1Down:connect(function()
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- if mouse.Target then
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
- end
- end
- end)
- warn("[FloodGui] ClickTP Enabled!")
- end)
- function buttons(waittime)
- local Map = game.Workspace.Multiplayer.Map
- local Btns = {}
- local Desc = {}
- for i, v in pairs(Map:GetDescendants())do
- Desc[v.Name.."Obj"] = v
- end
- for i=0,30 do
- if Desc["_Button".. tostring(i).. "Obj"] ~= nil then
- table.insert(Btns,Desc["_Button".. tostring(i).. "Obj"])
- end
- end
- for i, v in pairs(Btns)do
- local Hitbox = v.Hitbox
- Player.HumanoidRootPart.CFrame = Hitbox.CFrame
- wait(waittime)
- end
- end
- GetButtons.Parent = MainFrame
- GetButtons.BackgroundColor3 = Color3.new(0, 0, 0.5)
- GetButtons.Position = UDim2.new(0.03, 0, 0.55, 0)
- GetButtons.Size = UDim2.new(0, 125, 0, 36)
- GetButtons.Font = Enum.Font.SourceSansBold
- GetButtons.FontSize = Enum.FontSize.Size24
- GetButtons.Text = "Get Buttons"
- GetButtons.TextColor3 = Color3.new(1, 1, 1)
- GetButtons.MouseButton1Down:connect(function()
- warn("[FloodGui] Pressing buttons...")
- buttons(0.3)
- warn("[FloodGui] Buttons Pressed!")
- end)
- TpSpawn.Parent = MainFrame
- TpSpawn.BackgroundColor3 = Color3.new(0, 0, 0.5)
- TpSpawn.Position = UDim2.new(0.53, 0, 0.75, 0)
- TpSpawn.Size = UDim2.new(0, 125, 0, 36)
- TpSpawn.Font = Enum.Font.SourceSansBold
- TpSpawn.FontSize = Enum.FontSize.Size24
- TpSpawn.Text = "TP Spawn"
- TpSpawn.TextColor3 = Color3.new(1, 1, 1)
- TpSpawn.MouseButton1Down:connect(function()
- Player.HumanoidRootPart.CFrame = CFrame.new(-25, -145, 47)
- warn("[FloodGui] Teleported!")
- end)
- DestroyExit.Parent = MainFrame
- DestroyExit.BackgroundColor3 = Color3.new(0, 0, 0.5)
- DestroyExit.Position = UDim2.new(0.53, 0, 0.55, 0)
- DestroyExit.Size = UDim2.new(0, 125, 0, 36)
- DestroyExit.Font = Enum.Font.SourceSansBold
- DestroyExit.FontSize = Enum.FontSize.Size24
- DestroyExit.Text = "Destroy Exit"
- DestroyExit.TextColor3 = Color3.new(1, 1, 1)
- DestroyExit.MouseButton1Down:connect(function()
- local Map = game.Workspace.Multiplayer.Map
- Map.ExitBlock:Destroy()
- warn("[FloodGui] Exit Destroyed!")
- end)
- X.Parent = MainFrame
- X.BackgroundTransparency = 1
- X.Position = UDim2.new(.93, 0, 0, 0)
- X.Size = UDim2.new(0, 20, 0, 20)
- X.Font = Enum.Font.SourceSansBold
- X.FontSize = Enum.FontSize.Size24
- X.Text = "X"
- X.TextColor3 = Color3.new(1, 1, 1)
- X.MouseButton1Down:connect(function()
- on = false
- clip = true
- MainFrame:Remove()
- end)
- function Tpexit(pos)
- local Player = game.Players.LocalPlayer.Character
- local Map = game.Workspace.Multiplayer.Map
- local ExitBlock = Map:FindFirstChild("ExitRegion")
- local posit
- if ExitBlock == nil then
- if pos == 1 then
- posit = CFrame.new(2080, 990, 2)
- elseif pos == 2 then
- posit = CFrame.new(4080, 990, 2)
- end
- else
- posit = ExitBlock.CFrame
- end
- local Ts = game:GetService("TweenService")
- local Ti = TweenInfo.new(
- 2,
- Enum.EasingStyle.Sine,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- local Tp = {
- CFrame = posit
- }
- local Tw = Ts:Create(Player.HumanoidRootPart,Ti,Tp)
- wait(0.1)
- Tw:Play()
- end
- TpExit.Parent = MainFrame
- TpExit.BackgroundColor3 = Color3.new(0, 0, 0.5)
- TpExit.Position = UDim2.new(0.53, 0, 0.35, 0)
- TpExit.Size = UDim2.new(0, 125, 0, 36)
- TpExit.Font = Enum.Font.SourceSansBold
- TpExit.FontSize = Enum.FontSize.Size24
- TpExit.Text = "TP Exit"
- TpExit.TextColor3 = Color3.new(1, 1, 1)
- TpExit.MouseButton1Down:connect(function()
- warn("[FloodGui] Teleporting...")
- exit = game.Workspace.Multiplayer.Map:FindFirstChild("ExitRegion")
- spawn = game.Workspace.Multiplayer.Map:FindFirstChild("Spawn")
- if exit then
- Tpexit()
- else
- if spawn.Position.X < 3000 then
- Tpexit(1)
- else
- Tpexit(2)
- end
- end
- end)
- AutoFarm.Parent = MainFrame
- AutoFarm.BackgroundColor3 = Color3.new(0, 0, 0.5)
- AutoFarm.Position = UDim2.new(0.03, 0, 0.15, 0)
- AutoFarm.Size = UDim2.new(0, 125, 0, 36)
- AutoFarm.Font = Enum.Font.SourceSansBold
- AutoFarm.FontSize = Enum.FontSize.Size24
- AutoFarm.Text = "AutoFarm"
- AutoFarm.TextColor3 = Color3.new(1, 1, 1)
- AutoFarm.MouseButton1Down:connect(function()
- if on then
- on = false
- AutoFarm.BackgroundColor3 = Color3.new(0, 0, 0.5)
- AutoFarm.Text = "AutoFarm"
- warn("[FloodGui] Autofarm off!")
- else
- on = true
- AutoFarm.BackgroundColor3 = Color3.new(0.5, 0, 0)
- AutoFarm.Text = "Stop Autofarm"
- warn("[FloodGui] Autofarm on!")
- end
- local msg = "qwertyuiop"
- while on and wait(0.5) do
- local r = false
- local history = Game:GetService("LogService"):GetLogHistory()
- for i = #history, 1, -1 do
- if string.find(history[i].message, "2925 2925") and not string.find(history[i].message, msg) then
- wait(seconds)
- buttons(1)
- local exit = game.Workspace.Multiplayer.Map:FindFirstChild("ExitRegion")
- Player.HumanoidRootPart.CFrame = CFrame.new(exit.Position.X, exit.Position.Y, exit.Position.Z + 25)
- Tpexit()
- r = true
- msg = "2925 2925"
- elseif string.find(history[i].message, "1700 1700") and not string.find(history[i].message, msg) then
- wait(seconds)
- buttons(0.3)
- local spawn = game.Workspace.Multiplayer.Map:FindFirstChild("Spawn")
- if spawn.Position.X < 3000 then
- Tpexit(1)
- else
- Tpexit(2)
- end
- r = true
- msg = "1700 1700"
- elseif (string.find(history[i].message, "%d%d%d%s%d%d%d") or string.find(history[i].message, "%d%d%d%d%s%d%d%d%d")) and not string.find(history[i].message, msg) then
- wait(seconds)
- buttons(0.3)
- Tpexit()
- r = true
- msg = history[i].message
- elseif string.find(history[i].message, "NewMap") then
- r = true
- end
- if r then
- break
- end
- end
- end
- end)
- NoClip.Parent = MainFrame
- NoClip.BackgroundColor3 = Color3.new(0, 0, 0.5)
- NoClip.Position = UDim2.new(0.53, 0, 0.15, 0)
- NoClip.Size = UDim2.new(0, 125, 0, 36)
- NoClip.Font = Enum.Font.SourceSansBold
- NoClip.FontSize = Enum.FontSize.Size24
- NoClip.Text = "NoClip (Off)"
- NoClip.TextColor3 = Color3.new(1, 1, 1)
- NoClip.MouseButton1Down:connect(function()
- if clip then
- clip = false
- NoClip.BackgroundColor3 = Color3.new(0, 0.5, 0)
- NoClip.Text = "NoClip (On)"
- warn("[FloodGui] NoClip Enabled!")
- else
- clip = true
- NoClip.BackgroundColor3 = Color3.new(0, 0, 0.5)
- NoClip.Text = "NoClip (Off)"
- warn("[FloodGui] NoClip Disabled!")
- end
- game:getService("RunService"):BindToRenderStep("",0,function()
- if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
- if not clip then
- game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
- end
- end)
- end)
- Reload.Parent = MainFrame
- Reload.BackgroundColor3 = Color3.new(0, 0, 0.5)
- Reload.Position = UDim2.new(0.03, 0, 0.35, 0)
- Reload.Size = UDim2.new(0, 125, 0, 36)
- Reload.Font = Enum.Font.SourceSansBold
- Reload.FontSize = Enum.FontSize.Size24
- Reload.Text = "Reload GUI"
- Reload.TextColor3 = Color3.new(1, 1, 1)
- Reload.MouseButton1Down:connect(function()
- local wait = Waittime.Text
- local txt = tonumber(wait)
- if txt then
- warn("[FloodGui] WaitTime Set!")
- on = false
- clip = true
- MainFrame:Remove()
- GUI(wait)
- else
- on = false
- clip = true
- MainFrame:Remove()
- GUI(seconds)
- warn("[FloodGui] GUI Reloaded!")
- end
- end)
- Waittime.Parent = MainFrame
- Waittime.BackgroundColor3 = Color3.new(0, 0, 0.5)
- Waittime.Position = UDim2.new(0.58, 0, 0.03, 0)
- Waittime.Size = UDim2.new(0, 90, 0, 24)
- Waittime.Font = Enum.Font.SourceSansBold
- Waittime.FontSize = Enum.FontSize.Size16
- Waittime.TextSize = 20
- Waittime.Text = "WaitTime"
- Waittime.TextColor3 = Color3.new(1, 1, 1)
- end
- GUI(3)
- warn("FloodGui Loaded!")
- end)
- title.Name = "title"
- title.Parent = ScrollingFrame
- title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- title.Size = UDim2.new(0, 430, 0, 22)
- title.Font = Enum.Font.SourceSans
- title.Text = "Script Hub"
- title.TextColor3 = Color3.fromRGB(0, 0, 0)
- title.TextSize = 20.000
- Roxploit.Name = "Roxploit"
- Roxploit.Parent = ScrollingFrame
- Roxploit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Roxploit.Position = UDim2.new(0.52036202, 0, 0.0387673974, 0)
- Roxploit.Size = UDim2.new(0, 200, 0, 50)
- Roxploit.Font = Enum.Font.SciFi
- Roxploit.Text = "Roxploit 6.0"
- Roxploit.TextColor3 = Color3.fromRGB(0, 0, 0)
- Roxploit.TextSize = 20.000
- Roxploit.MouseButton1Down:connect(function()
- Folder = game.Players.LocalPlayer.PlayerGui
- script=Instance.new('LocalScript')
- local a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
- local A,B,C,D,F,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
- local Aa,Ba,Ca,Da,Fa,Ea,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za
- local IntroSFX = nil
- local IntroDone,Toggle,taco = false
- local Folders, Selected, Banned, WayPoint = nil
- local CId = Instance.new("IntValue") CId.Value = 0
- local LPCId = Instance.new("IntValue") LPCId.Value = 0
- local SId = Instance.new("IntValue")
- SId.Value = 0
- local MId = Instance.new("IntValue")
- MId.Value = 0
- local MPId = Instance.new("IntValue")
- MPId.Value = 0
- local GId = Instance.new("IntValue")
- GId.Value = 0
- local GPId = Instance.new("IntValue")
- GPId.Value = 0
- local HId = Instance.new("IntValue")
- HId.Value = 0
- local HPId = Instance.new("IntValue")
- HPId.Value = 0
- local SDId = Instance.new("IntValue")
- SDId.Value = 0
- local WId = Instance.new("IntValue") WId.Value = 0 local WMId = Instance.new("IntValue") WMId.Value = 0 local LCId = Instance.new("IntValue") LCId.Value = 0 local TCId = Instance.new("IntValue") TCId.Value = 0 local MEId = Instance.new("IntValue") MEId.Value = 1 local MEPId = Instance.new("IntValue") MEPId.Value = 0 local SkyId = Instance.new("IntValue") SkyId.Value = 1 local SkypId = Instance.new("IntValue") SkypId.Value = 0 local TabId = Instance.new("IntValue") TabId.Value = 0
- local EmptySP = UDim2.new(0,0,0,0)
- local PrivateServer = false
- function Execute(f) return coroutine.resume(coroutine.create(function()f()end)) end
- function PlaySFX(SoundId,Volume,Pitch,Looped)
- A=Instance.new("Sound",workspace)
- A.PlayOnRemove = true
- A.SoundId = "rbxassetid://" .. SoundId
- A.Volume = Volume
- A.Pitch = Pitch
- A.Looped = Looped
- A:Play()
- return A
- end
- function Frame(parent,Size,Position)
- B=Instance.new("Frame",parent)
- B.Size = Size
- B.Position = Position
- return B
- end
- function ScrollFrame(parent,Size,Position) B=Instance.new("ScrollingFrame",parent) B.Size = Size B.Position = Position B.ScrollBarThickness = 10 return B end
- function Label(parent,Text,Size,Position,value) C=Instance.new("TextLabel",parent) C.Size = Size C.Position = Position C.Text = Text C.BackgroundTransparency = 1 C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true if value ~= nil then if value == 1 then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
- function Button(parent,Text,Size,Position,func,value) C=Instance.new("TextButton",parent) C.Size = Size C.Position = Position C.Text = Text C.Style = "RobloxButton" C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true C.MouseButton1Click:connect(function() ypcall(function() PlaySFX(156785206,0.75,1.25); func() end) end) if value ~= nil then if Size == EmptySP then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
- function TextBox(parent,text,Size,Position) C = Instance.new("TextBox") C.Parent = parent C.Name = text C.Text = text if text == "ValueBox" then C.Text = "0" end C.Size = Size C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C.Position = Position C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.Font = 2 C.FontSize = Enum.FontSize.Size12 C.TextWrapped = true return C end letters = { "a"; "b"; "c"; "d"; "e"; "f"; "g"; "h"; "i"; "j"; "k"; "l"; "m"; "n"; "o"; "p"; "q"; "r"; "s"; "t"; "u"; "v"; "w"; "x"; "y" ;"z"; " "; ":"; "/" }
- function CheckForNumbers(textbox)
- for i = 1, #letters do
- n = string.find(string.lower(textbox.Text), letters[i])
- if n ~= nil then
- textbox.Text = string.sub(string.lower(textbox.Text), 1, n-1)..string.sub(string.lower(textbox.Text), n+1)
- end
- end
- end
- function NumTextBox(textbox) ypcall(function() Execute(function() wait(0.25) textbox.Changed:connect(function(property) if property == "Text" then CheckForNumbers(textbox) end end) end) end) end
- function TextUsedButton(parents,name,func,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,5,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Button(x,name,UDim2.new(0,70,0,25),UDim2.new(1,-75,0,5),function() if y.Text ~= "" and type ~= nil then func() else func() end end) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 z.Style = "Custom" if value ~= nil then value.Value = value.Value + 1 end return x end
- function TextUsedLabel(parents,name,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,80,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Label(x,name,UDim2.new(0,70,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 if value ~= nil then value.Value = value.Value + 1 end return x end
- function ToggleButton(parent,name,func1,func2,value) x=Frame(parent,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,35*value.Value)) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 z=Label(x,name,UDim2.new(1,-160,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 y=Button(x,"On",UDim2.new(0,-70,0,25),UDim2.new(1,-80,0,5),function() func1() end) y.BackgroundTransparency = 0.85 y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.Style = "Custom" y.Name = "On" g=Button(x,"Off",UDim2.new(0,-70,0,25),UDim2.new(1,-5,0,5),function() func2() end) g.BackgroundTransparency = 0.85 g.BackgroundColor3 = Color3.new(0,75/255,150/255) g.Style = "Custom" g.Name = "Off" if value ~= nil then value.Value = value.Value + 1 end return x end
- function ImageLabel(parent,Image,Size,Position) C = nil C=Instance.new("ImageLabel",parent) C.Image = "rbxassetid://" .. Image C.Size = Size C.Position = Position C.BackgroundTransparency = 1 return C end
- function ToggleMenu() if Toggle == true then PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,-0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Quad",.25,true) Toggle = false else PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,-50,1,-50),"Out","Quad",.25,true) Toggle = true end end
- function AddTab(parent,tabparent,text,cValue) if cValue ~= nil then D=Frame(tabparent,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) D.Transparency = 1 D.BorderSizePixel = 0 D.Name = text D.Visible = false if cValue.Value == 0 then D.Visible = true end Instance.new("IntValue",D).Name = "IsATab" C=Button(parent,text,UDim2.new(1,-10,0,35),UDim2.new(0,5,0,5+(40*cValue.Value)),function() for i, v in pairs(tabparent:GetChildren()) do if v.Name == text then v.Visible = true else v.Visible = false end end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 Instance.new("IntValue",C).Name = "IsATabButton" if cValue ~= nil then cValue.Value = cValue.Value + 1 end if parent.Parent.ClassName == "ScrollingFrame" then parent.Parent.CanvasSize = UDim2.new(0,0,0,5+(40*(cValue.Value))) end return D end end
- function ClearFolder(Folder) if Folder ~= nil then for i,v in pairs(Folder:GetChildren()) do v:Remove() end end end
- function CreateFolder(parent,name)
- C=Instance.new("Folder",parent)
- C.Name = name
- return C
- end
- function AddValue(Folder,name)
- if Folder ~= nil then
- C=Instance.new("StringValue")
- C.Name = name
- C.Value = name
- C.Parent =
- Folder
- end
- end
- function RemoveValue(Folder,name)
- if Folder ~= nil then
- if Folder:FindFirstChild(name) ~= nil then
- Folder:FindFirstChild(name):Remove()
- end
- end
- end
- function VerifyValue(Folder,name)
- if Folder ~= nil then
- if Folder:FindFirstChild(name) ~= nil then
- return true
- else
- return false
- end
- end
- end
- local Mouse
- function AddHotkey(key,func) Mouse = game.Players.LocalPlayer:GetMouse() if Mouse ~= nil then Mouse.KeyDown:connect(function(Key) if Key == string.lower(string.char(key)) then func() end end) else Mouse = game.Players.LocalPlayer:GetMouse() end end local STR = " : False"
- function SetPlayerList(parent) ClearFolder(parent) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Selected,v.Name) then STR = " : True" else STR = " : False" end C=Button(parent,v.Name .. STR,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Selected,v.Name) then RemoveValue(Selected,v.Name) else AddValue(Selected,v.Name) end SetPlayerList(parent) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end) end
- function SetBannedList(parent) ClearFolder(parent) for i,v in pairs(Banned:GetChildren()) do C=Button(parent,v.Name,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Banned,v.Name) then RemoveValue(Banned,v.Name) end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end function IsLocalPlayer(aname) if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Name == aname then return true else return false end end end end local ContentProvider = game:GetService("ContentProvider"); local function LoadAssets(AssetList) for _, AssetId in pairs(AssetList) do ContentProvider:Preload("rbxassetid://" .. AssetId); end end LoadAssets({364328150,278201073,145487017,278208523,278208523}) local PRT = Instance.new("ScreenGui",Folder) Label(PRT,"Currently Preloading Data, Please Wait!",UDim2.new(1,0,0,20),UDim2.new(0,0,0,0)) while (ContentProvider.RequestQueueSize > 0) do wait(); end if Folder:FindFirstChild("GlobalData") ~= nil then for i,v in pairs(Folder:FindFirstChild("GlobalData"):GetChildren()) do v.Parent = Folder end Folder:FindFirstChild("GlobalData"):Remove() end for i,v in pairs(Folder:GetChildren()) do if v.Name == "GearData" or v.Name == "HatData" or v.Name == "MemeData" or v.Name == "SkyData" then for k,c in pairs(v:GetChildren()) do LoadAssets({c.Value}) end end end PRT:Remove() function spamColor(v) if v.ClassName == ("BasePart") then v.BrickColor = BrickColor.Random() else for a,b in pairs(v:GetChildren()) do spamColor(b) end end end function UnAnchore(v) if v.ClassName == ("BasePart") then v.Anchored = false else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then UnAnchore(b) end end end end function Anchore(v) if v.ClassName == ("BasePart") then v.Anchored = true else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then Anchore(b) end end end end function clearW(v) v:ClearAllChildren() end function GenerateMenuPart2() local Color = Color3.new(0,75/255,150/255) X=AddTab(M,N,"Hat Giver",TabId) X.Size = UDim2.new(1,10,1,0) T=AddTab(M,N,"Music Player",TabId) T.Size = UDim2.new(1,10,1,0) local MPitch=TextUsedLabel(T,"Pitch",MId,1) local MVolume=TextUsedLabel(T,"Volume",MId,1) local MIds=TextUsedLabel(T,"SoundId",MId,0) if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil then MPitch:FindFirstChild("ValueBox").Text = 1 MVolume:FindFirstChild("ValueBox").Text = 0.5 end local Music = nil ToggleButton(T,"Music",function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end Music=Instance.new("Sound",game.workspace) Music.Name = "Ro-MusicPlayer" Music.Looped = true if MIds:FindFirstChild("ValueBox") ~= nil then Music.SoundId = "rbxassetid://"..MIds:FindFirstChild("ValueBox").Text end if MVolume:FindFirstChild("ValueBox") ~= nil then Music.Volume = MVolume:FindFirstChild("ValueBox").Text end if MPitch:FindFirstChild("ValueBox") ~= nil then Music.Pitch = MPitch:FindFirstChild("ValueBox").Text end wait() Music:Play() end, function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end end,MId) U=ScrollFrame(T,UDim2.new(1,0,1,-(35*(MId.Value))),UDim2.new(0,0,0,35*(MId.Value))) U.Transparency = .85 U.BorderSizePixel = 0 U.CanvasSize = UDim2.new(0,0,0,0) U.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("MusicData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MusicData"):GetChildren()) do Button(U,v.Name,EmptySP,EmptySP,function() if v:IsA("Sound") then for _,b in pairs(MPitch:GetChildren()) do end if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil and MIds:FindFirstChild("ValueBox") ~= nil then MIds:FindFirstChild("ValueBox").Text = v.SoundId end end end ,MPId) MPId.Value = i U.CanvasSize = UDim2.new(0,0,0,35*MPId.Value) end end end V=AddTab(M,N,"Gear Giver",TabId) V.Size = UDim2.new(1,10,1,0) local GiveGear GiveGear=TextUsedButton(V,"Give Gear",function() if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveGear:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Backpack end x:Remove() end end end end) end end end,GId,0) W=ScrollFrame(V,UDim2.new(1,0,1,-(35*(GId.Value))),UDim2.new(0,0,0,35*(GId.Value))) W.Transparency = .85 W.BorderSizePixel = 0 W.CanvasSize = UDim2.new(0,0,0,0) W.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("GearData") ~= nil then for i, v in pairs(Folder:FindFirstChild("GearData"):GetChildren()) do Button(W,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then GiveGear:FindFirstChild("ValueBox").Text = v.Value end end end end,GPId) GPId.Value = i W.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end local GiveHat GiveHat=TextUsedButton(X,"Give Hat",function() if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveHat:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Character end x:Remove() end end end end) end end end,HId,0) Y=ScrollFrame(X,UDim2.new(1,0,1,-(35*(HId.Value))),UDim2.new(0,0,0,35*(HId.Value))) Y.Transparency = .85 Y.BorderSizePixel = 0 Y.CanvasSize = UDim2.new(0,0,0,0) Y.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("HatData") ~= nil then for i, v in pairs(Folder:FindFirstChild("HatData"):GetChildren()) do Button(Y,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then GiveHat:FindFirstChild("ValueBox").Text = v.Value end end end end,HPId) HPId.Value = i Y.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end o=AddTab(M,N,"Banned Player",TabId) p=ScrollFrame(o,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) p.Transparency = 1 p.BorderSizePixel = 0 p.CanvasSize = UDim2.new(0,0,0,0) game.Players.ChildAdded:connect(function(child) if VerifyValue(Banned,child.Name) then wait(0.35) child:Remove() end if PrivateServer == true then wait(0.35) child:Remove() end end) Banned.ChildAdded:connect(function(child) SetBannedList(p) end) Banned.ChildRemoved:connect(function() SetBannedList(p) end) SetBannedList(p) if Folder:FindFirstChild("BannedData") then for k,c in pairs(Folder:FindFirstChild("BannedData"):GetChildren()) do AddValue(Banned,c.Name) end end end function GenerateScriptTab() S=AddTab(M,N,"Script Tab",TabId) S.ClipsDescendants = true ExeButton=TextUsedButton(S,"Execute",function() ypcall(function() loadstring(ExeButton:FindFirstChild("ValueBox").Text)() end) end, SId) ExeButton.Size = UDim2.new(1,0,0,35) aFrame=Instance.new("Frame",S) aFrame.Size = UDim2.new(1,0,1,-35) aFrame.BackgroundTransparency = 1 aFrame.Position = UDim2.new(0,0,0,35) local Current = Instance.new("IntValue",S) Current.Value = 1 local Max = 0 local Color = Color3.new(0,75/255,150/255) local Pos = UDim2.new(0.5,-75,0.5,-50) local Size = UDim2.new(0,150,0,150) local Size2 = UDim2.new(0,75,0,75) local K local runLocalScript = function(SC) if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.PlayerGui ~= nil then ypcall(function() K = Instance.new("LocalScript",game.Players.LocalPlayer.PlayerGui) K.Disabled = true K.Source = SC wait() K.Disabled = false end) end end end local search = Instance.new("TextBox",aFrame) search.BackgroundColor3 = Color search.BackgroundTransparency = 0.85 search.BorderSizePixel = 0 search.Position = UDim2.new(0.5,-100,0,0) search.Size = UDim2.new(0,200,0,20) search.Font = "Legacy" search.FontSize = "Size10" search.TextColor3 = Color3.new(1,1,1) search.TextStrokeTransparency = 0.5 search.TextWrapped = true search.Text = "" search.ClearTextOnFocus = true search.FocusLost:connect(function(p) if p then for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Title") ~= nil then if v:FindFirstChild("Id") ~= nil then if string.match(string.lower(search.Text),v:FindFirstChild("Id").Value) then Current.Value = v:FindFirstChild("Id").Value elseif string.match(string.lower(v:FindFirstChild("Title").Text),string.lower(search.Text)) then if v:FindFirstChild("Id") ~= nil then Current.Value = v:FindFirstChild("Id").Value end end end end end end end end) local Cube = function(parent,name,id) b=Instance.new("Frame",parent) b.BorderSizePixel = 0 b.Name = "Cube" b.BackgroundTransparency = 0.85 b.BackgroundColor3 = Color e=Instance.new("IntValue",b) e.Name = "Id" e.Value = id f=Instance.new("TextLabel",b) f.Text = " ID: "..id f.BackgroundTransparency = 1 f.Size = UDim2.new(0,100,0,20) f.Font = "Legacy" f.TextColor3 = Color3.new(1,1,1) f.TextStrokeTransparency = 0.5 f.TextXAlignment = "Left" g=Instance.new("TextLabel",b) g.Text = name g.BackgroundTransparency = 1 g.Size = UDim2.new(1,0,0.10,0) g.Position = UDim2.new(0,0,0.15,0) g.Font = "Legacy" g.TextScaled = true g.TextColor3 = Color3.new(1,1,1) g.TextStrokeTransparency = 0.5 g.Name = "Title" h=Instance.new("TextButton",b) h.Text = "Execute" h.BackgroundColor3 = Color h.BackgroundTransparency = 0.85 h.Size = UDim2.new(0.75,0,0.2,0) h.Position = UDim2.new(0.5-(0.75/2),0,1-0.25,0) h.Font = "Legacy" h.TextScaled = true h.TextColor3 = Color3.new(1,1,1) h.TextStrokeTransparency = 0.5 h.BorderSizePixel = 0 h.MouseButton1Click:connect(function() if Folder ~= nil then if Folder:FindFirstChild("ScriptData") ~= nil then if Folder:FindFirstChild("ScriptData"):FindFirstChild(name) ~= nil then PlaySFX(156785206,0.75,1.25) loadstring("script.Name = 'DeathDeletepl0x'; " .. string.reverse(Folder:FindFirstChild("ScriptData"):FindFirstChild(name).Source) .. " script.Name = 'DeathDeletepl0x';" .. [==[ game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() script.Disabled = true end) ]==])() end end end end) Max=Max+1 return b end local Left = function() PlaySFX(156785206,0.75,1.25) if Current.Value > 1 then Current.Value = Current.Value - 1 else Current.Value = Max end end local c = Instance.new("TextButton",aFrame) c.Size = UDim2.new(0,50,1,0) c.Text = "<" c.BackgroundTransparency = 0.85 c.BackgroundColor3 = Color c.BorderSizePixel = 0 c.Font = "Legacy" c.FontSize = "Size36" c.TextStrokeTransparency = 0.5 c.TextColor3 = Color3.new(1,1,1) c.ZIndex = 3 c.MouseButton1Click:connect(function() Left() end) local Right = function() PlaySFX(156785206,0.75,1.25) if Current.Value < Max then Current.Value = Current.Value + 1 else Current.Value = 1 end end local d = Instance.new("TextButton",aFrame) d.Size = UDim2.new(0,50,1,0) d.Position = UDim2.new(1,-50,0,0) d.BackgroundTransparency = 0.85 d.BackgroundColor3 = Color d.BorderSizePixel = 0 d.Text = ">" d.Font = "Legacy" d.FontSize = "Size36" d.TextStrokeTransparency = 0.5 d.TextColor3 = Color3.new(1,1,1) d.ZIndex = 3 d.MouseButton1Click:connect(function() Right() end) AddHotkey(string.byte("q"),function() if Toggle == true then if S.Visible == true then Left() end end end) AddHotkey(string.byte("e"),function() if Toggle == true then if S.Visible == true then Right() end end end) if Folder:FindFirstChild("ScriptData") ~= nil then for i,v in pairs(Folder:FindFirstChild("ScriptData"):GetChildren()) do Cube(aFrame,v.Name,i) end end local refresh = function() for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Id") ~= nil then if v:FindFirstChild("Id").Value == Current.Value then v:TweenSizeAndPosition(Size,Pos,"Out","Quad",0.75,true) for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 2 end end elseif v:FindFirstChild("Id").Value > Current.Value then if v:FindFirstChild("Id").Value > Current.Value + 1 then v:TweenSizeAndPosition(Size2,UDim2.new(1.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.75,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end elseif v:FindFirstChild("Id").Value < Current.Value then if v:FindFirstChild("Id").Value < Current.Value - 1 then v:TweenSizeAndPosition(Size2,UDim2.new(-0.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.25,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end end end end end end Current.Changed:connect(function() refresh() end) refresh() end function GeneratePlayerCommand() Q=AddTab(M,N,"Player Commands",TabId) R=ScrollFrame(Q,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) R.Transparency = 1 R.BorderSizePixel = 0 R.CanvasSize = UDim2.new(0,0,0,0) CId.Changed:connect(function() if R:IsA("ScrollingFrame") then R.CanvasSize = UDim2.new(0,0,0,35*CId.Value) end end) Button(R,"Ban",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do if not VerifyValue(Banned,v.Name) then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then AddValue(Banned,v.Name) end else game.Players:Chat("I'm a jerk ass trying to ban my own script provider!") end end end end,CId) Button(R,"Kick",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then b:Remove() end else game.Players:Chat("I'm a jerk ass trying to kick my own script provider!") end end end end end,CId) Button(R,"Kill",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then b.Character:BreakJoints() end end end end end,CId) local Ex Button(R,"Explode",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then Ex=Instance.new("Explosion",b.Character:FindFirstChild("Torso")) Ex.Position = b.Character:FindFirstChild("Torso").Position end end end end end end,CId) Button(R,"Respawn",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then local ack2 = Instance.new("Model") ack2.Parent = game.Workspace local ack4 = Instance.new("Part") ack4.Transparency = 1 ack4.CanCollide = false ack4.Anchored = true ack4.Name = "Torso" ack4.Position = Vector3.new(10000,10000,10000) ack4.Parent = ack2 local ack3 = Instance.new("Humanoid") ack3.Torso = ack4 ack3.Parent = ack2 b.Character = ack2 end end end end,CId) Button(R,"Lag",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then for i = 1,10000 do g = Instance.new("HopperBin") g.Parent = b.Backpack end else game.Players:Chat("I'm a jerk ass trying to lag my own script provider!") end end end end end,CId) ToggleButton(R,"ForceField",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then Instance.new("ForceField",b.Character) end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c ~= nil then if c:IsA("ForceField") then c:Remove() end end end end end end end end,CId) ToggleButton(R,"InVisible",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 1 if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 1 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 0 if c.Name == "HumanoidRootPart" then c.Transparency = 1 end if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 0 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end end end end end end end end,CId) local TP TP=ToggleButton(R,"Teleport",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then b.Character:MoveTo(game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position) end end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then game.Players.LocalPlayer.Character:MoveTo(b.Character:FindFirstChild("Torso").Position) end end end end end end end end end,CId) TP.On.Text = "Tp To Me" TP.Off.Text = "Tp To Them" local BT,T1,T2,T3 BT=ToggleButton(R,"Build Tools",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then T1 = Instance.new("HopperBin",b.Backpack); T1.BinType = "Grab"; T1.Name = "Grab" T2 = Instance.new("HopperBin",b.Backpack); T2.BinType = "Clone"; T2.Name = "Clone" T3 = Instance.new("HopperBin",b.Backpack); T3.BinType = "Hammer"; T3.Name = "Hammer" end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then for k,c in pairs(b.Backpack:GetChildren()) do if c.Name == "Grab" or c.Name == "Clone" or c.Name == "Hammer" then c:Remove() end end end end end end end end end,CId) BT.On.Text = "Give" BT.Off.Text = "Remove" local NameButton,na,nb,nc NameButton=TextUsedButton(R,"Set Name",function() ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for m,n in pairs(b.Character:GetChildren()) do if n.ClassName == "Model" then for c,k in pairs(n:GetChildren()) do if k.Name == "FakeHumanoidBro" then n:Remove() end end end end na = Instance.new("Model",b.Character) na.Name = NameButton:FindFirstChild("ValueBox").Text nb = b.Character:FindFirstChild("Head"):Clone() local weld = Instance.new("Weld", nb) weld.Part0 = nb weld.Part1 = b.Character:FindFirstChild("Head") b.Character:FindFirstChild("Head").Transparency = 1 nb.Transparency = 0 nb.Parent = na nb.Name = "Head" nb.CanCollide = false nc=Instance.new("Humanoid",na) nc.Name = "FakeHumanoidBro" nc.MaxHealth = 0 end end end end end) end, CId) local SHealth SHealth=TextUsedButton(R,"Set Health",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SHealth:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").MaxHealth = SHealth:FindFirstChild("ValueBox").Text b.Character:FindFirstChild("Humanoid").Health = SHealth:FindFirstChild("ValueBox").Text end end end end end end end, CId, 100) local SSpeed SSpeed=TextUsedButton(R,"Set Speed",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SSpeed:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").WalkSpeed = SSpeed:FindFirstChild("ValueBox").Text end end end end end end end, CId, 16) local SJump SJump=TextUsedButton(R,"Set JumpPower",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SJump:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").JumpPower = SJump:FindFirstChild("ValueBox").Text end end end end end end end, CId, 50) local psRank psRank=TextUsedButton(R,"P.S. Rank",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then ypcall(function() if psRank:FindFirstChild("ValueBox") ~= nil then b.PersonalServerRank=psRank:FindFirstChild("ValueBox").Text end end) end end end end,CId,255) local sChat sChat=TextUsedButton(R,"Chat",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Head") ~= nil then if sChat:FindFirstChild("ValueBox") ~= nil then game:GetService("Chat"):Chat(b.Character:FindFirstChild("Head"),sChat:FindFirstChild("ValueBox").Text,Enum.ChatColor.Blue) end end end end end end end,CId) end function GenerateServerDestruction() Z=AddTab(M,N,"Server Destruction",TabId) Aa=ScrollFrame(Z,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Aa.Transparency = 1 Aa.BorderSizePixel = 0 Aa.CanvasSize = UDim2.new(0,0,0,0) SDId.Changed:connect(function() if Aa:IsA("ScrollingFrame") then Aa.CanvasSize = UDim2.new(0,0,0,35*SDId.Value) end end) Button(Aa,"Flood",EmptySP,EmptySP,function() game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") end,SDId) Button(Aa,"Clear Terrain",EmptySP,EmptySP,function() game.Workspace.Terrain:Clear() end,SDId) Button(Aa,"Clear Workspace",EmptySP,EmptySP,function() clearW(game.Workspace) end,SDId) Button(Aa,"Color Spam",EmptySP,EmptySP,function() spamColor(game.Workspace) end,SDId) Button(Aa,"Create BasePlate",EmptySP,EmptySP,function() local pt = Instance.new("Part") pt.BrickColor = BrickColor.new("Bright green") pt.Anchored = true pt.CanCollide = true pt.BottomSurface = 0 pt.TopSurface = 0 pt.Name = (math.random(1,1000000)) pt.Size = Vector3.new(1000, 1, 1000) pt.Parent = game.Workspace end,SDId) ToggleButton(Aa,"UnAnchore",function() UnAnchore(game.Workspace) end, function() Anchore(game.Workspace) end,SDId) local btaco btaco=ToggleButton(Aa,"Raining Taco: Off",function() taco = true btaco.TextLabel.Text = "Raining Taco: On" end, function() taco = false btaco.TextLabel.Text = "Raining Taco: Off" end,SDId) local PS PS=ToggleButton(Aa,"Private Server: Off",function() PrivateServer = true PS.TextLabel.Text = "Private Server: On" end, function() PrivateServer = false PS.TextLabel.Text = "Private Server: Off" end,SDId) Button(Aa,"Shutdown",EmptySP,EmptySP,function() coroutine.resume(coroutine.create(function() while wait() do ypcall(function() for _, v in pairs(game.Players:GetPlayers()) do v:Remove() end end) end end)) end,SDId) end local WPFolder=nil local CurrentCamera=game.Workspace.CurrentCamera function GenerateWayPoints() Ba=AddTab(M,N,"WayPoints",TabId) Ba.Size = UDim2.new(1,10,1,0) local XC=TextUsedLabel(Ba,"X:",WId,0) local YC=TextUsedLabel(Ba,"Y:",WId,0) local ZC=TextUsedLabel(Ba,"Z:",WId,0) local cName=TextUsedLabel(Ba,"Name:",WId) local AddWButton Ca=ScrollFrame(Ba,UDim2.new(1,0,1,-(35*(WId.Value+1))),UDim2.new(0,0,0,(35*(WId.Value+1)))) Ca.Transparency = .85 Ca.BorderSizePixel = 0 Ca.CanvasSize = UDim2.new(0,0,0,0) Ca.BackgroundColor3 = Color3.new(0,75/255,150/255) local cWColor3 AddWButton=ToggleButton(Ba,"Add WayPoints",function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = Vector3.new(XC.ValueBox.Text,YC.ValueBox.Text,ZC.ValueBox.Text) cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end) end, function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end end end end end) end,WId) AddWButton.On.Text = "Custom Position" AddWButton.Off.Text = "Current Position" GenerateWFolder() end function ClearWScroll() for i,v in pairs(Ca:GetChildren()) do v:Remove() end end function ClearWFolder() if WPFolder ~= nil then for i,v in pairs(WPFolder:GetChildren()) do v:Remove() end end end local WButton function MakeWButton(name,id) if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then WMId.Value = id-1 WButton=ToggleButton(Ca,name.Name .. " X:" .. math.floor(name.Value.X) .. " ,Y:" ..math.floor(name.Value.Y) .. " ,Z:" .. math.floor(name.Value.Z),function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then game.Players.LocalPlayer.Character:MoveTo(Vector3.new(name.Value.X,name.Value.Y,name.Value.Z)) end end end end end end end, function() if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then name:Remove() end end end,WMId) WButton.On.Text = "Tp To" WButton.Off.Text = "Delete" Ca.CanvasSize = UDim2.new(0,0,0,(35*(WMId.Value))) end end end function GenerateWFolder() if CurrentCamera ~= nil then if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("WayPoint") == nil then WPFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if WPFolder == nil then WPFolder=Instance.new("Folder",CurrentCamera) WPFolder.Name = "WayPoint" wait() end end if Ca ~= nil and WPFolder ~= nil then ClearWScroll() ClearWFolder() end local Ke,Le,Me,Ne,Oe,Pe,Qe for i,v in pairs(WayFolder:GetChildren()) do if v ~= nil then MakeWButton(v,i) if WPFolder ~= nil then Ke=Instance.new("Model",WPFolder) Ke.Name = v.Name .. " X:" .. math.floor(v.Value.X) .. " ,Y:" .. math.floor(v.Value.Y) .. " ,Z:" .. math.floor(v.Value.Z) Le=Instance.new("Part",Ke) Le.Name = "Head" Le.Anchored = true Le.CanCollide = false Le.Transparency = 0.5 Le.Material = 288 Le.Size = Vector3.new(2,2,2) Le.Position = v.Value if v:FindFirstChild("SColor") ~= nil then Le.BrickColor = BrickColor.new(v:FindFirstChild("SColor").Value) else Le.BrickColor = BrickColor.Random() end Me=Instance.new("SelectionBox",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Ne=Instance.new("Humanoid",Ke) Ne.MaxHealth = 0 if string.lower(v.Name) == string.lower("Serntimon") then if Me ~= nil then Me:Remove() Me=nil end Me=Instance.new("SelectionSphere",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Me.SurfaceColor3 = Le.BrickColor.Color Me.Transparency = 0.75 Me.SurfaceTransparency = 0.75 Ke.Name = "Serntimon Was Here!" Oe=Instance.new("SpecialMesh",Le) Oe.MeshType = "FileMesh" Oe.MeshId = "http://www.roblox.com/asset/?id=50380638" Oe.TextureId = "" Oe.Scale = Vector3.new(1.5,1.5,1.5) Pe=Instance.new("Fire",Le) Pe.Color = Le.BrickColor.Color Pe.SecondaryColor = Le.BrickColor.Color Pe.Size = 4 Pe.Heat = 6 Qe=Instance.new("PointLight",Le) Qe.Range = 12 Qe.Color = Le.BrickColor.Color Qe.Brightness = 1.5 Qe.Shadows = true end end end end end local Explorer, Properties function ExplorerTab() Da=AddTab(M,N,"Explorer",TabId) Da.Size = UDim2.new(1,10,1,0) if Folder:FindFirstChild("MainData") ~= nil then if Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel") ~= nil then Explorer=Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel"):clone() Explorer.Parent = Da Explorer.Visible = true end if Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel") ~= nil then Properties=Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel"):clone() Properties.Parent = Da Properties.Visible = true end for i,v in pairs(Explorer:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end for i,v in pairs(Properties:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end end end local NClip = false local Esp = false local EspFolder = nil local Ae,Be,Ce,De,Ee,Fe,Ge function GenerateBox(Target,Color) Ae=Instance.new("BillboardGui",EspFolder) Ae.Name = "EspBox" Ae.Size = UDim2.new(4.5,0,6,0) Ae.Adornee = Target Ae.AlwaysOnTop = true Ae.SizeOffset = Vector2.new(0, -0.100000001) Be=Instance.new("Frame",Ae) Be.Transparency = 1 Be.Size = UDim2.new(1,0,1,0) Ce=Instance.new("Frame",Ae) Ce.Transparency = 0.5 Ce.Size = UDim2.new(1,0,0.05, 0) Ce.BorderSizePixel = 0 Ce.BackgroundColor3 = Color De=Ce:clone() De.Size = UDim2.new(0.05,0,1, 0) De.Parent = Ae Ee=De:clone() Ee.Position = UDim2.new(1-0.05,0,0, 0) Ee.Parent = Ae Fe=Ce:clone() Fe.Position = UDim2.new(0,0,1-0.05, 0) Fe.Parent = Ae end function XrayOn(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0.75 end XrayOn(v) end end function XrayOff(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0 end XrayOff(v) end end function GenerateLocalCommand() Ea=AddTab(M,N,"Local Commands",TabId) Fa=ScrollFrame(Ea,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Fa.Transparency = 1 Fa.BorderSizePixel = 0 Fa.CanvasSize = UDim2.new(0,0,0,0) LPCId.Changed:connect(function() if Fa:IsA("ScrollingFrame") then Fa.CanvasSize = UDim2.new(0,0,0,35*LPCId.Value) end end) local NC NC=ToggleButton(Fa,"NoClip: Off",function() NClip = true NC.TextLabel.Text = "NoClip: On" end, function() NClip = false NC.TextLabel.Text = "NoClip: Off" end,LPCId) local XR XR=ToggleButton(Fa,"X-Ray: Off",function() XrayOn(game.Workspace) XR.TextLabel.Text = "X-Ray: On" end, function() XrayOff(game.Workspace) XR.TextLabel.Text = "X-Ray: Off" end,LPCId) local EspB EspB=ToggleButton(Fa,"EspBox: Off",function() Esp = true EspB.TextLabel.Text = "EspBox: On" end, function() Esp = false EspB.TextLabel.Text = "EspBox: Off" ypcall(function() if EspFolder ~= nil then for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end end end) end,LPCId) game:service("RunService").Stepped:connect(function() ypcall(function() local mesh1anan = Instance.new("SpecialMesh") mesh1anan.MeshType = Enum.MeshType.FileMesh mesh1anan.Scale = Vector3.new(3,3,3) mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869" mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834" if taco == true then local locationanan local char if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then char = game.Players.LocalPlayer.Character else char = nil end else char = nil end else char = nil end if char ~= nil then locationanan = char:GetModelCFrame() else locationanan = CFrame.new(0,0,0) end local tacoa = Instance.new("Part") tacoa.CanCollide = false tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) local meshanananan = mesh1anan:clone() meshanananan.Parent = tacoa meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20) tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) tacoa.Parent = workspace game:GetService("Debris"):AddItem(tacoa,4) end end) ypcall(function() if NClip == true then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then game.Players.LocalPlayer.Character.Torso.CanCollide = false game.Players.LocalPlayer.Character.Head.CanCollide = false end end end end end end end) ypcall(function() if Esp == true then Execute(function() while wait() do if Esp == true then ypcall(function() if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("Esp") == nil then EspFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if EspFolder == nil then if CurrentCamera ~= nil then EspFolder=CreateFolder(CurrentCamera,"Esp") else CurrentCamera = game.Workspace.CurrentCamera end end for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end for i,v in pairs(game.Players:GetChildren()) do if v ~= nil then if v.Character ~= nil then if v.Character:FindFirstChild("Torso") ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if v.Name ~= game.Players.LocalPlayer.Name then GenerateBox(v.Character:FindFirstChild("Torso"),v.TeamColor.Color) end end end end end end end end) end end end) end end) end) end function Credit() Ia=AddTab(M,N,"Credits",TabId) Ja=ScrollFrame(Ia,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ja.Transparency = 1 Ja.BorderSizePixel = 0 Ja.CanvasSize = UDim2.new(0,0,0,0) TCId.Changed:connect(function() if Ja:IsA("ScrollingFrame") then Ja.CanvasSize = UDim2.new(0,0,0,35*TCId.Value) end end) Ja.ChildAdded:connect(function() TCId.Value = TCId.Value + 1 end) Label(Ja,"[CREATOR]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[POSTER & TESTER]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Serntimon",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[TESTERS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Walter White",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"TimberMan",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Mr. Waffles",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Green Hat L33t",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Pulkit",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"LaserTic_",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[SCRIPTS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam For KrystalDance & Tweaking X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"RadiationMatrix For X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Other Unknown Person For Other Scripts",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) end local memevalue = Instance.new("StringValue") memevalue.Value = "Krystal" local oldmeme = memevalue.Value local memeid = Instance.new("IntValue") memeid.Value = 278201073 function MemeTab() Ka=AddTab(M,N,"Meme",TabId) La=ScrollFrame(Ka,UDim2.new(1,-100,1,-105),UDim2.new(0,0,0,105)) La.Transparency = 1 La.BorderSizePixel = 0 La.CanvasSize = UDim2.new(0,0,0,0) Ma=Frame(Ka,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) Ma.BackgroundColor3 = Color3.new(0,75/255,150/255) Ma.Transparency = 0.75 Ma.BorderSizePixel = 0 Na=ImageLabel(Ka,278201073,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) Na.BorderSizePixel = 0 Na.ZIndex = 2 Oa=Frame(Ka,UDim2.new(1,-90,0,105),UDim2.new(0,0,0,0)) Oa.Transparency = 1 Oa.BorderSizePixel = 0 Pa=Label(Oa," Selected Meme: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) Pa.TextXAlignment = "Left" memevalue.Changed:connect(function() Pa.Text = " Selected Meme: " .. memevalue.Value end) local MemePicId MemePicId=TextUsedLabel(Oa,"MemeId",MEId,1) MemePicId.ValueBox.Text=memeid.Value MemePicId.ValueBox.Changed:connect(function() local found = false memeid.Value = MemePicId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do if memeid.Value == v.Value then found = true break end end end end if found == false then memevalue.Value = "Custom" Pa.Text = " Selected Meme: Custom" end found = false end) memeid.Changed:connect(function() Na.Image = "rbxassetid://" .. memeid.Value end) Qa=Frame(Ka,UDim2.new(0,10,1,-105),UDim2.new(1,-110,0,105)) Qa.BackgroundColor3 = Color3.new(0,75/255,150/255) Qa.Transparency = 0.85 Qa.BorderSizePixel = 0 local FaceMeme = Instance.new("BillboardGui") FaceMeme.Size = UDim2.new(3,0,3,0) FaceMeme.AlwaysOnTop = true FaceMeme.Name = "RO-MEMEFACES" ImageLabel(FaceMeme,0,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) local SMEME,LFace SMEME=ToggleButton(Oa,"Set Meme",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value else LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value end end end) end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() end end end) end end end end end end end,MEId) MEPId.Changed:connect(function() if La:IsA("ScrollingFrame") then La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do Button(La,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if memevalue ~= nil then memevalue.Value = v.Name memeid.Value = v.Value MemePicId.ValueBox.Text = memeid.Value end end end,MEPId) MEPId.Value = i La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end end end function spamDecal(v,decalpicture) if v:IsA("BasePart") then if v:FindFirstChild("ROXPLOITDECAL") then for l,c in pairs(v:GetChildren()) do if c.Name == "ROXPLOITDECAL" then if c:IsA("Decal") then c.Texture = decalpicture end end end else for i=0, 5 do D = Instance.new("Decal") D.Name = "ROXPLOITDECAL" D.Face = i D.Parent = v D.Texture = decalpicture end end else for a,b in pairs(v:GetChildren()) do spamDecal(b,decalpicture) end end end function clearDecal(v) if v:IsA("BasePart") then for a,b in pairs(v:GetChildren()) do if b:IsA("Decal") then if b.Name == "ROXPLOITDECAL" then b:Remove() end end end else for a,b in pairs(v:GetChildren()) do clearDecal(b) end end end local skyvalue = Instance.new("StringValue") skyvalue.Value = "KrystalTeam" local skyid = Instance.new("IntValue") skyid.Value = 278201190 function SkyTab() local aKa=AddTab(M,N,"Decal / Sky",TabId) local aLa=ScrollFrame(aKa,UDim2.new(1,-100,1,-140),UDim2.new(0,0,0,140)) aLa.Transparency = 1 aLa.BorderSizePixel = 0 aLa.CanvasSize = UDim2.new(0,0,0,0) local aMa=Frame(aKa,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) aMa.BackgroundColor3 = Color3.new(0,75/255,150/255) aMa.Transparency = 0.75 aMa.BorderSizePixel = 0 local aNa=ImageLabel(aKa,278201190,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) aNa.BorderSizePixel = 0 aNa.ZIndex = 2 local aOa=Frame(aKa,UDim2.new(1,-90,0,140),UDim2.new(0,0,0,0)) aOa.Transparency = 1 aOa.BorderSizePixel = 0 local aPa=Label(aOa," Selected Id: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) aPa.TextXAlignment = "Left" skyvalue.Changed:connect(function() aPa.Text = " Selected Id: " .. skyvalue.Value end) local aQa=Frame(aKa,UDim2.new(0,10,1,-140),UDim2.new(1,-110,0,140)) aQa.BackgroundColor3 = Color3.new(0,75/255,150/255) aQa.Transparency = 0.85 aQa.BorderSizePixel = 0 local SkyBoxx = Instance.new("Sky") SkyBoxx.Name = "Ro-Sky" SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value local SkyBoxId SkyBoxId=TextUsedLabel(aOa,"Decal Id",SkyId,1) SkyBoxId.ValueBox.Text=skyid.Value skyid.Changed:connect(function() aNa.Image = "rbxassetid://" .. skyid.Value SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value end) SkyBoxId.ValueBox.Changed:connect(function() local found = false skyid.Value = SkyBoxId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do if skyid.Value == v.Value then found = true break end end end end if found == false then skyvalue.Value = "Custom" aPa.Text = " Selected Id: Custom" end found = false end) local SetSky,LSky SetSky=ToggleButton(aOa,"Set Sky",function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value LSky = SkyBoxx:Clone() LSky.Parent = game.Lighting end, function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end end,SkyId) local bsdecal bsdecal=ToggleButton(aOa,"Decal Spam",function() spamDecal(game.Workspace,"rbxassetid://"..skyid.Value) end, function() clearDecal(game.Workspace) end,SkyId) bsdecal.On.Text = "Spam" bsdecal.Off.Text = "Clear" SkypId.Changed:connect(function() if aLa:IsA("ScrollingFrame") then aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do Button(aLa,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if skyvalue ~= nil then skyvalue.Value = v.Name skyid.Value = v.Value SkyBoxId.ValueBox.Text = skyid.Value end end end,SkypId) SkypId.Value = i aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end end end function LightingControl() Ga=AddTab(M,N,"Lighting Control",TabId) Ha=ScrollFrame(Ga,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ha.Transparency = 1 Ha.BorderSizePixel = 0 Ha.CanvasSize = UDim2.new(0,0,0,0) LCId.Changed:connect(function() if Ha:IsA("ScrollingFrame") then Ha.CanvasSize = UDim2.new(0,0,0,35*LCId.Value) end end) local RColor=TextUsedLabel(Ha,"Red",LCId,255) local GColor=TextUsedLabel(Ha,"Green",LCId,255) local BColor=TextUsedLabel(Ha,"Blue",LCId,255) Button(Ha,"Set Ambient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.Ambient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set OutdoorAmbient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.OutdoorAmbient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ShadowColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ShadowColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Bottom",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Bottom = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Top",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Top = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set FogColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.FogColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) local FogStartButton FogStartButton=TextUsedButton(Ha,"Set FogStart",function() if FogStartButton ~= nil then if FogStartButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogStart = FogStartButton:FindFirstChild("ValueBox").Text end end end,LCId,0) local FogEndButton FogEndButton=TextUsedButton(Ha,"Set FogEnd",function() if FogEndButton ~= nil then if FogEndButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogEnd = FogEndButton:FindFirstChild("ValueBox").Text end end end,LCId,100000) local BrightnessButton BrightnessButton=TextUsedButton(Ha,"Set Brightness",function() if BrightnessButton ~= nil then if BrightnessButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.Brightness = BrightnessButton:FindFirstChild("ValueBox").Text end end end,LCId,1) ToggleButton(Ha,"GlobalShadows",function() game.Lighting.GlobalShadows = true end,function() game.Lighting.GlobalShadows = false end,LCId) ToggleButton(Ha,"Outlines",function() game.Lighting.Outlines = true end,function() game.Lighting.Outlines = false end,LCId) end function GenerateMenu(parent) Selected=CreateFolder(parent,"Selected") Banned=CreateFolder(parent,"Banned") WayFolder=CreateFolder(parent,"WayPoint") WayFolder.ChildAdded:connect(function() wait() GenerateWFolder() end) WayFolder.ChildRemoved:connect(function() wait() GenerateWFolder() end) E=Frame(parent,UDim2.new(0,475,0,20),UDim2.new(0.5,-250,-0.5,-175)) E.Style = "RobloxRound" E.Draggable = true E.Active = true E.ZIndex = 2 D=Frame(E,UDim2.new(0,500,0,350),UDim2.new(0,-20,0,-20)) D.Style = "RobloxRound" F=Label(E,"Ro-Xploit 6.0",UDim2.new(0.5,0,1,0),UDim2.new(0,15,0,0)) F.FontSize = "Size12" F.TextXAlignment = "Left" F.ZIndex = 3 F=Button(E,"x",UDim2.new(0,20,0,20),UDim2.new(1,-15,0,-9),function() ToggleMenu() end) F.FontSize = "Size12" F.Style = "Custom" F.BackgroundTransparency = 1 F.ZIndex = 3 G=Frame(D,UDim2.new(1,-10,1,-35),UDim2.new(0,5,0,30)) G.Name = "Main" G.Style = "RobloxRound" H=ImageLabel(D,"278201073",UDim2.new(0,100,0,100), UDim2.new(0,-50,0,-50)) H.ZIndex = 4 ypcall(function() Execute(function() local way = true while wait(.25/100) do if way == false then H.Rotation = H.Rotation + 1 if H.Rotation >= 10 then way = true end else H.Rotation = H.Rotation - 1 if H.Rotation <= -10 then way = false end end end end) end) I=Frame(G,UDim2.new(0,5,1,0),UDim2.new(0,110,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.5 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(0,100,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(1,-10,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 J=ScrollFrame(G,UDim2.new(0,110,1,0),UDim2.new(0,0,0,0)) J.BackgroundColor3 = Color3.new(0,75/255,150/255) J.Transparency = 0.75 J.BorderSizePixel = 0 K=Frame(G,UDim2.new(1,-115,1,0),UDim2.new(0,115,0,0)) K.BackgroundColor3 = Color3.new(0,75/255,150/255) K.Transparency = 0.75 K.BorderSizePixel = 0 L=Button(parent,"SHOW",UDim2.new(0,50,0,50),UDim2.new(0,-50,1,-50),function() ToggleMenu() end) L.TextWrapped = false M=Frame(J,UDim2.new(0,100,0,0),UDim2.new(0,0,0,0)) M.Transparency = 1 N=Frame(K,UDim2.new(1,-10,1,0),UDim2.new(0,0,0,0)) N.Transparency = 1 O=AddTab(M,N,"Select Player",TabId) P=ScrollFrame(O,UDim2.new(1,10,1,-20),UDim2.new(0,0,0,20)) P.Transparency = 1 P.BorderSizePixel = 0 P.CanvasSize = UDim2.new(0,0,0,0) C=Button(O,"NONE",UDim2.new(0,343/4,0,20),UDim2.new(0,0,0,0),function() ClearFolder(Selected) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ME",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*1,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then AddValue(Selected,game.Players.LocalPlayer.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"OTHERS",UDim2.new(0,(343/4)-1,0,20),UDim2.new(0,(343/4)*2,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then for i, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then AddValue(Selected,v.Name) end end end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ALL",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*3,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then for i, v in pairs(game.Players:GetChildren()) do AddValue(Selected,v.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 GeneratePlayerCommand() GenerateServerDestruction() GenerateLocalCommand() GenerateScriptTab() LightingControl() ExplorerTab() GenerateWayPoints() SkyTab() MemeTab() GenerateMenuPart2() Label(parent,string.reverse(".maeTlatsyrK :yB ,0.6 tiolpX-oR"),UDim2.new(1,0,0,15),UDim2.new(0,0,1,-15)).TextTransparency = 0.5 Credit() return D end a=Instance.new("ScreenGui",Folder) a.Name = "RX6" if Folder ~= nil then Execute(function() ypcall(function() wait(0.25) GenerateMenu(a) game.Players.ChildAdded:connect(function() SetPlayerList(P) wait() end) game.Players.ChildRemoved:connect(function(c) if VerifyValue(Selected,c.Name) then if Selected:FindFirstChild(c.Name) then Selected:FindFirstChild(c.Name):Remove() end end SetPlayerList(P) wait() end) SetPlayerList(P) wait(0.25) b=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) b.Style = "RobloxRound" c=ImageLabel(b,"278208523",UDim2.new(1,0,1,0), UDim2.new(0,0,0,0)) c.BackgroundTransparency = 1 IntroSFX=PlaySFX(145487017,1,0.75) b:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) b:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) b:Remove() d=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) d.Style = "RobloxRound" e=Label(d,"Ro-Xploit 6.0",UDim2.new(1,10,1,10),UDim2.new(0,-5,0,-5)) e.FontSize = "Size24" IntroSFX=PlaySFX(145487017,1,0.75) d:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) d:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) d:Remove() PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Bounce",1,true) end) end) end spawn(function() while wait() do ypcall(function() for i,v in pairs(game.ReplicatedFirst:GetChildren()) do if v.Disabled == true then v:Remove() end end end) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Banned,v.Name) then if v.Name == game.Players.LocalPlayer.Name then if a~=nil then local MSG = Instance.new("Message",game.Players.LocalPlayer.PlayerGui) MSG.Text="You're BlackListed from using ro-xploit 6.0!" game.Debris:AddItem(MSG,7.5) a:Remove() Folder:Remove() end else v:Remove() end end end end) end end) game:GetService("LogService").MessageOut:connect(function(PrintMessage) if PrintMessage == script.Source then while true do end end end)
- end)
- InfiniteYeild.Name = "Infinite Yeild"
- InfiniteYeild.Parent = ScrollingFrame
- InfiniteYeild.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- InfiniteYeild.Position = UDim2.new(0, 0, 0.158051684, 0)
- InfiniteYeild.Size = UDim2.new(0, 200, 0, 50)
- InfiniteYeild.Font = Enum.Font.SciFi
- InfiniteYeild.Text = "Infinite Yeild"
- InfiniteYeild.TextColor3 = Color3.fromRGB(0, 0, 0)
- InfiniteYeild.TextSize = 20.000
- InfiniteYeild.MouseButton1Down:connect(function()
- if IY_LOADED and not _G.IY_DEBUG == true then
- error("Infinite Yield is already running!",0)
- return
- end
- pcall(function() getgenv().IY_LOADED = true end)
- if not game:IsLoaded() then
- local notLoaded = Instance.new("Message",workspace)
- notLoaded.Text = 'Infinite Yield is waiting for the game to load'
- game.Loaded:Wait()
- notLoaded:Destroy()
- end
- ver = '4.5'
- Players = game:GetService("Players")
- Holder = Instance.new("Frame")
- Title = Instance.new("TextLabel")
- Dark = Instance.new("Frame")
- Cmdbar = Instance.new("TextBox")
- CMDsF = Instance.new("ScrollingFrame")
- SettingsButton = Instance.new("ImageButton")
- ColorsButton = Instance.new("ImageButton")
- Settings = Instance.new("Frame")
- Prefix = Instance.new("TextLabel")
- PrefixBox = Instance.new("TextBox")
- Keybinds = Instance.new("TextLabel")
- StayOpen = Instance.new("TextLabel")
- Button = Instance.new("Frame")
- On = Instance.new("TextButton")
- Positions = Instance.new("TextLabel")
- EventBind = Instance.new("TextLabel")
- Plugins = Instance.new("TextLabel")
- Example = Instance.new("TextButton")
- Notification = Instance.new("Frame")
- Title_2 = Instance.new("TextLabel")
- Text_2 = Instance.new("TextLabel")
- CloseButton = Instance.new("TextButton")
- CloseImage = Instance.new("ImageLabel")
- Tooltip = Instance.new("Frame")
- Title_3 = Instance.new("TextLabel")
- Description = Instance.new("TextLabel")
- IntroBackground = Instance.new("Frame")
- Logo = Instance.new("ImageLabel")
- Credits = Instance.new("TextBox")
- KeybindsFrame = Instance.new("Frame")
- Close = Instance.new("TextButton")
- Add = Instance.new("TextButton")
- Delete = Instance.new("TextButton")
- Holder_2 = Instance.new("ScrollingFrame")
- Example_2 = Instance.new("Frame")
- Text_3 = Instance.new("TextLabel")
- Delete_2 = Instance.new("TextButton")
- KeybindEditor = Instance.new("Frame")
- background_2 = Instance.new("Frame")
- Dark_4 = Instance.new("Frame")
- Directions = Instance.new("TextLabel")
- BindTo = Instance.new("TextButton")
- Add_2 = Instance.new("TextButton")
- Cmdbar_2 = Instance.new("TextBox")
- Toggles = Instance.new("ScrollingFrame")
- Fly = Instance.new("TextLabel")
- Select_3 = Instance.new("TextButton")
- Noclip = Instance.new("TextLabel")
- Select_4 = Instance.new("TextButton")
- Float = Instance.new("TextLabel")
- Select_5 = Instance.new("TextButton")
- ClickTP = Instance.new("TextLabel")
- Select_6 = Instance.new("TextButton")
- ClickDelete = Instance.new("TextLabel")
- Select_13 = Instance.new("TextButton")
- Xray = Instance.new("TextLabel")
- Select_10 = Instance.new("TextButton")
- Swim = Instance.new("TextLabel")
- Select_11 = Instance.new("TextButton")
- Fling = Instance.new("TextLabel")
- Select_12 = Instance.new("TextButton")
- Invisible = Instance.new("TextLabel")
- Select_14 = Instance.new("TextButton")
- shadow_2 = Instance.new("Frame")
- PopupText_2 = Instance.new("TextLabel")
- Exit_2 = Instance.new("TextButton")
- ExitImage_2 = Instance.new("ImageLabel")
- PositionsFrame = Instance.new("Frame")
- Close_3 = Instance.new("TextButton")
- Delete_5 = Instance.new("TextButton")
- Part = Instance.new("TextButton")
- Holder_4 = Instance.new("ScrollingFrame")
- Example_4 = Instance.new("Frame")
- Text_5 = Instance.new("TextLabel")
- Delete_6 = Instance.new("TextButton")
- TP = Instance.new("TextButton")
- AliasesFrame = Instance.new("Frame")
- Close_2 = Instance.new("TextButton")
- Delete_3 = Instance.new("TextButton")
- Holder_3 = Instance.new("ScrollingFrame")
- Example_3 = Instance.new("Frame")
- Text_4 = Instance.new("TextLabel")
- Delete_4 = Instance.new("TextButton")
- Aliases = Instance.new("TextLabel")
- PluginsFrame = Instance.new("Frame")
- Close_4 = Instance.new("TextButton")
- Add_3 = Instance.new("TextButton")
- Holder_5 = Instance.new("ScrollingFrame")
- Example_5 = Instance.new("Frame")
- Text_6 = Instance.new("TextLabel")
- Delete_7 = Instance.new("TextButton")
- PluginEditor = Instance.new("Frame")
- background_3 = Instance.new("Frame")
- Dark_9 = Instance.new("Frame")
- Img = Instance.new("ImageButton")
- AddPlugin = Instance.new("TextButton")
- FileName = Instance.new("TextBox")
- About = Instance.new("TextLabel")
- Directions_2 = Instance.new("TextLabel")
- shadow_3 = Instance.new("Frame")
- PopupText_3 = Instance.new("TextLabel")
- Exit_3 = Instance.new("TextButton")
- ExitImage_3 = Instance.new("ImageLabel")
- AliasHint = Instance.new("TextLabel")
- PluginsHint = Instance.new("TextLabel")
- PositionsHint = Instance.new("TextLabel")
- ToPartFrame = Instance.new("Frame")
- background_5 = Instance.new("Frame")
- ChoosePart = Instance.new("TextButton")
- CopyPath = Instance.new("TextButton")
- Directions_4 = Instance.new("TextLabel")
- Path = Instance.new("TextLabel")
- shadow_4 = Instance.new("Frame")
- PopupText_5 = Instance.new("TextLabel")
- Exit_4 = Instance.new("TextButton")
- ExitImage_5 = Instance.new("ImageLabel")
- logs = Instance.new("Frame")
- shadow = Instance.new("Frame")
- Hide = Instance.new("TextButton")
- ImageLabel = Instance.new("ImageLabel")
- PopupText = Instance.new("TextLabel")
- Exit = Instance.new("TextButton")
- ImageLabel_2 = Instance.new("ImageLabel")
- background = Instance.new("Frame")
- chat = Instance.new("Frame")
- Clear = Instance.new("TextButton")
- SaveChatlogs = Instance.new("TextButton")
- Toggle = Instance.new("TextButton")
- scroll_2 = Instance.new("ScrollingFrame")
- join = Instance.new("Frame")
- Toggle_2 = Instance.new("TextButton")
- Clear_2 = Instance.new("TextButton")
- scroll_3 = Instance.new("ScrollingFrame")
- listlayout = Instance.new("UIListLayout",scroll_3)
- selectChat = Instance.new("TextButton")
- selectJoin = Instance.new("TextButton")
- function randomString()
- local length = math.random(10,20)
- local array = {}
- for i = 1, length do
- array[i] = string.char(math.random(32, 126))
- end
- return table.concat(array)
- end
- PARENT = nil
- if game:GetService("CoreGui"):FindFirstChild('RobloxGui') then
- PARENT = game:GetService("CoreGui").RobloxGui
- else
- local Main = Instance.new("ScreenGui")
- Main.Name = randomString()
- Main.Parent = game:GetService("CoreGui")
- PARENT = Main
- end
- shade1 = {}
- shade2 = {}
- shade3 = {}
- text1 = {}
- text2 = {}
- scroll = {}
- Holder.Name = randomString()
- Holder.Parent = PARENT
- Holder.Active = true
- Holder.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Holder.BorderSizePixel = 0
- Holder.Position = UDim2.new(1, -250, 1, -220)
- Holder.Size = UDim2.new(0, 250, 0, 220)
- Holder.ZIndex = 10
- table.insert(shade2,Holder)
- Title.Name = "Title"
- Title.Parent = Holder
- Title.Active = true
- Title.BackgroundColor3 = Color3.fromRGB(36,36,37)
- Title.BorderSizePixel = 0
- Title.Size = UDim2.new(0, 250, 0, 20)
- Title.Font = Enum.Font.SourceSans
- Title.TextSize = 18
- Title.Text = "Infinite Yield FE v"..ver
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.ZIndex = 10
- table.insert(shade1,Title)
- table.insert(text1,Title)
- Dark.Name = "Dark"
- Dark.Parent = Holder
- Dark.Active = true
- Dark.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- Dark.BorderSizePixel = 0
- Dark.Position = UDim2.new(0, 0, 0, 45)
- Dark.Size = UDim2.new(0, 250, 0, 175)
- Dark.ZIndex = 10
- table.insert(shade1,Dark)
- Cmdbar.Name = "Cmdbar"
- Cmdbar.Parent = Holder
- Cmdbar.BackgroundTransparency = 1
- Cmdbar.BorderSizePixel = 0
- Cmdbar.Position = UDim2.new(0, 5, 0, 20)
- Cmdbar.Size = UDim2.new(0, 240, 0, 25)
- Cmdbar.Font = Enum.Font.SourceSans
- Cmdbar.TextSize = 18
- Cmdbar.TextXAlignment = Enum.TextXAlignment.Left
- Cmdbar.TextColor3 = Color3.new(1, 1, 1)
- Cmdbar.Text = ""
- Cmdbar.ZIndex = 10
- Cmdbar.PlaceholderText = "Command Bar"
- CMDsF.Name = "CMDs"
- CMDsF.Parent = Holder
- CMDsF.BackgroundTransparency = 1
- CMDsF.BorderSizePixel = 0
- CMDsF.Position = UDim2.new(0, 0, 0, 45)
- CMDsF.Size = UDim2.new(0, 250, 0, 175)
- CMDsF.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- CMDsF.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
- CMDsF.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- CMDsF.ScrollBarThickness = 8
- CMDsF.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- CMDsF.VerticalScrollBarInset = 'Always'
- CMDsF.ZIndex = 10
- table.insert(scroll,CMDsF)
- SettingsButton.Name = "SettingsButton"
- SettingsButton.Parent = Holder
- SettingsButton.BackgroundTransparency = 1
- SettingsButton.Position = UDim2.new(0, 230, 0, 0)
- SettingsButton.Size = UDim2.new(0, 20, 0, 20)
- SettingsButton.Image = "rbxassetid://1204397029"
- SettingsButton.ZIndex = 10
- ReferenceButton = Instance.new("ImageButton")
- ReferenceButton.Name = "ReferenceButton"
- ReferenceButton.Parent = Holder
- ReferenceButton.BackgroundTransparency = 1
- ReferenceButton.Position = UDim2.new(0, 212, 0, 2)
- ReferenceButton.Size = UDim2.new(0, 16, 0, 16)
- ReferenceButton.Image = "rbxassetid://3523243755"
- ReferenceButton.ZIndex = 10
- Settings.Name = "Settings"
- Settings.Parent = Holder
- Settings.Active = true
- Settings.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- Settings.BorderSizePixel = 0
- Settings.Position = UDim2.new(0, 0, 0, 220)
- Settings.Size = UDim2.new(0, 250, 0, 175)
- Settings.ZIndex = 10
- table.insert(shade1,Settings)
- SettingsHolder = Instance.new("ScrollingFrame")
- SettingsHolder.Name = "Holder"
- SettingsHolder.Parent = Settings
- SettingsHolder.BackgroundTransparency = 1
- SettingsHolder.BorderSizePixel = 0
- SettingsHolder.Size = UDim2.new(1,0,1,0)
- SettingsHolder.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- SettingsHolder.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- SettingsHolder.CanvasSize = UDim2.new(0, 0, 0, 235)
- SettingsHolder.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- SettingsHolder.ScrollBarThickness = 8
- SettingsHolder.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- SettingsHolder.VerticalScrollBarInset = 'Always'
- SettingsHolder.ZIndex = 10
- table.insert(scroll,SettingsHolder)
- Prefix.Name = "Prefix"
- Prefix.Parent = SettingsHolder
- Prefix.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Prefix.BorderSizePixel = 0
- Prefix.BackgroundTransparency = 1
- Prefix.Position = UDim2.new(0, 5, 0, 5)
- Prefix.Size = UDim2.new(1, -10, 0, 20)
- Prefix.Font = Enum.Font.SourceSans
- Prefix.TextSize = 14
- Prefix.Text = "Prefix"
- Prefix.TextColor3 = Color3.new(1, 1, 1)
- Prefix.TextXAlignment = Enum.TextXAlignment.Left
- Prefix.ZIndex = 10
- table.insert(shade2,Prefix)
- table.insert(text1,Prefix)
- PrefixBox.Name = "PrefixBox"
- PrefixBox.Parent = Prefix
- PrefixBox.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- PrefixBox.BorderSizePixel = 0
- PrefixBox.Position = UDim2.new(1, -20, 0, 0)
- PrefixBox.Size = UDim2.new(0, 20, 0, 20)
- PrefixBox.Font = Enum.Font.SourceSansBold
- PrefixBox.TextSize = 14
- PrefixBox.Text = ''
- PrefixBox.TextColor3 = Color3.new(0, 0, 0)
- PrefixBox.ZIndex = 10
- table.insert(shade3,PrefixBox)
- table.insert(text2,PrefixBox)
- function makeSettingsButton(name,iconID,off)
- local button = Instance.new("TextButton")
- button.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- button.BorderSizePixel = 0
- button.Position = UDim2.new(0,0,0,0)
- button.Size = UDim2.new(1,0,0,25)
- button.Text = ""
- button.ZIndex = 10
- local icon = Instance.new("ImageLabel",button)
- icon.Name = "Icon"
- icon.Position = UDim2.new(0,5,0,5)
- icon.Size = UDim2.new(0,16,0,16)
- icon.BackgroundTransparency = 1
- icon.Image = iconID
- icon.ZIndex = 10
- if off then
- icon.ScaleType = Enum.ScaleType.Crop
- icon.ImageRectSize = Vector2.new(16,16)
- icon.ImageRectOffset = Vector2.new(off,0)
- end
- local label = Instance.new("TextLabel",button)
- label.Name = "ButtonLabel"
- label.BackgroundTransparency = 1
- label.Text = name
- label.Position = UDim2.new(0,28,0,0)
- label.Size = UDim2.new(1,-28,1,0)
- label.Font = Enum.Font.SourceSans
- label.TextColor3 = Color3.new(1, 1, 1)
- label.TextSize = 14
- label.ZIndex = 10
- label.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(shade2,button)
- table.insert(text1,label)
- return button
- end
- ColorsButton = makeSettingsButton("Edit Theme","rbxassetid://4911962991")
- ColorsButton.Position = UDim2.new(0,5,0,55)
- ColorsButton.Size = UDim2.new(1,-10,0,25)
- ColorsButton.Name = "Colors"
- ColorsButton.Parent = SettingsHolder
- Keybinds = makeSettingsButton("Edit Keybinds","rbxassetid://129697930")
- Keybinds.Position = UDim2.new(0, 5, 0, 85)
- Keybinds.Size = UDim2.new(1, -10, 0, 25)
- Keybinds.Name = "Keybinds"
- Keybinds.Parent = SettingsHolder
- Aliases = makeSettingsButton("Edit Aliases","rbxassetid://5147488658")
- Aliases.Position = UDim2.new(0, 5, 0, 115)
- Aliases.Size = UDim2.new(1, -10, 0, 25)
- Aliases.Name = "Aliases"
- Aliases.Parent = SettingsHolder
- StayOpen.Name = "StayOpen"
- StayOpen.Parent = SettingsHolder
- StayOpen.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- StayOpen.BorderSizePixel = 0
- StayOpen.BackgroundTransparency = 1
- StayOpen.Position = UDim2.new(0, 5, 0, 30)
- StayOpen.Size = UDim2.new(1, -10, 0, 20)
- StayOpen.Font = Enum.Font.SourceSans
- StayOpen.TextSize = 14
- StayOpen.Text = "Keep Menu Open"
- StayOpen.TextColor3 = Color3.new(1, 1, 1)
- StayOpen.TextXAlignment = Enum.TextXAlignment.Left
- StayOpen.ZIndex = 10
- table.insert(shade2,StayOpen)
- table.insert(text1,StayOpen)
- Button.Name = "Button"
- Button.Parent = StayOpen
- Button.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(1, -20, 0, 0)
- Button.Size = UDim2.new(0, 20, 0, 20)
- Button.ZIndex = 10
- table.insert(shade3,Button)
- On.Name = "On"
- On.Parent = Button
- On.BackgroundColor3 = Color3.fromRGB(150, 150, 151)
- On.BackgroundTransparency = 1
- On.BorderSizePixel = 0
- On.Position = UDim2.new(0, 2, 0, 2)
- On.Size = UDim2.new(0, 16, 0, 16)
- On.Font = Enum.Font.SourceSans
- On.FontSize = Enum.FontSize.Size14
- On.Text = ""
- On.TextColor3 = Color3.new(0, 0, 0)
- On.ZIndex = 10
- Positions = makeSettingsButton("Edit/Goto Waypoints","rbxassetid://5147488592")
- Positions.Position = UDim2.new(0, 5, 0, 145)
- Positions.Size = UDim2.new(1, -10, 0, 25)
- Positions.Name = "Waypoints"
- Positions.Parent = SettingsHolder
- EventBind = makeSettingsButton("Edit Event Binds","rbxassetid://5147695474",759)
- EventBind.Position = UDim2.new(0, 5, 0, 205)
- EventBind.Size = UDim2.new(1, -10, 0, 25)
- EventBind.Name = "EventBinds"
- EventBind.Parent = SettingsHolder
- Plugins = makeSettingsButton("Manage Plugins","rbxassetid://5147695474",743)
- Plugins.Position = UDim2.new(0, 5, 0, 175)
- Plugins.Size = UDim2.new(1, -10, 0, 25)
- Plugins.Name = "Plugins"
- Plugins.Parent = SettingsHolder
- Example.Name = "Example"
- Example.Parent = Holder
- Example.BackgroundTransparency = 1
- Example.BorderSizePixel = 0
- Example.Size = UDim2.new(0, 190, 0, 20)
- Example.Visible = false
- Example.Font = Enum.Font.SourceSans
- Example.TextSize = 18
- Example.Text = "Example"
- Example.TextColor3 = Color3.new(1, 1, 1)
- Example.TextXAlignment = Enum.TextXAlignment.Left
- Example.ZIndex = 10
- table.insert(text1,Example)
- Notification.Name = randomString()
- Notification.Parent = PARENT
- Notification.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- Notification.BorderSizePixel = 0
- Notification.Position = UDim2.new(1, -500, 1, 20)
- Notification.Size = UDim2.new(0, 250, 0, 100)
- Notification.ZIndex = 10
- table.insert(shade1,Notification)
- Title_2.Name = "Title"
- Title_2.Parent = Notification
- Title_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Title_2.BorderSizePixel = 0
- Title_2.Size = UDim2.new(0, 250, 0, 20)
- Title_2.Font = Enum.Font.SourceSans
- Title_2.TextSize = 14
- Title_2.Text = "Notification Title"
- Title_2.TextColor3 = Color3.new(1, 1, 1)
- Title_2.ZIndex = 10
- table.insert(shade2,Title_2)
- table.insert(text1,Title_2)
- Text_2.Name = "Text"
- Text_2.Parent = Notification
- Text_2.BackgroundTransparency = 1
- Text_2.BorderSizePixel = 0
- Text_2.Position = UDim2.new(0, 5, 0, 25)
- Text_2.Size = UDim2.new(0, 240, 0, 75)
- Text_2.Font = Enum.Font.SourceSans
- Text_2.TextSize = 16
- Text_2.Text = "Notification Text"
- Text_2.TextColor3 = Color3.new(1, 1, 1)
- Text_2.TextWrapped = true
- Text_2.ZIndex = 10
- table.insert(text1,Text_2)
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = Notification
- CloseButton.BackgroundTransparency = 1
- CloseButton.Position = UDim2.new(1, -20, 0, 0)
- CloseButton.Size = UDim2.new(0, 20, 0, 20)
- CloseButton.Text = ""
- CloseButton.ZIndex = 10
- CloseImage.Parent = CloseButton
- CloseImage.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseImage.BackgroundTransparency = 1
- CloseImage.Position = UDim2.new(0, 5, 0, 5)
- CloseImage.Size = UDim2.new(0, 10, 0, 10)
- CloseImage.Image = "rbxassetid://5054663650"
- CloseImage.ZIndex = 10
- Tooltip.Name = randomString()
- Tooltip.Parent = PARENT
- Tooltip.Active = true
- Tooltip.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- Tooltip.BackgroundTransparency = 0.1
- Tooltip.BorderSizePixel = 0
- Tooltip.Size = UDim2.new(0, 200, 0, 96)
- Tooltip.Visible = false
- Tooltip.ZIndex = 10
- table.insert(shade1,Tooltip)
- Title_3.Name = "Title"
- Title_3.Parent = Tooltip
- Title_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Title_3.BackgroundTransparency = 0.1
- Title_3.BorderSizePixel = 0
- Title_3.Size = UDim2.new(0, 200, 0, 20)
- Title_3.Font = Enum.Font.SourceSans
- Title_3.TextSize = 14
- Title_3.Text = ""
- Title_3.TextColor3 = Color3.new(1, 1, 1)
- Title_3.TextTransparency = 0.1
- Title_3.ZIndex = 10
- table.insert(shade2,Title_3)
- table.insert(text1,Title_3)
- Description.Name = "Description"
- Description.Parent = Tooltip
- Description.BackgroundTransparency = 1
- Description.BorderSizePixel = 0
- Description.Size = UDim2.new(0,180,0,72)
- Description.Position = UDim2.new(0,10,0,18)
- Description.Font = Enum.Font.SourceSans
- Description.TextSize = 16
- Description.Text = ""
- Description.TextColor3 = Color3.new(1, 1, 1)
- Description.TextTransparency = 0.1
- Description.TextWrapped = true
- Description.ZIndex = 10
- table.insert(text1,Description)
- IntroBackground.Name = "IntroBackground"
- IntroBackground.Parent = Holder
- IntroBackground.Active = true
- IntroBackground.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- IntroBackground.BorderSizePixel = 0
- IntroBackground.Position = UDim2.new(0, 0, 0, 45)
- IntroBackground.Size = UDim2.new(0, 250, 0, 175)
- IntroBackground.ZIndex = 10
- Logo.Name = "Logo"
- Logo.Parent = Holder
- Logo.BackgroundTransparency = 1
- Logo.BorderSizePixel = 0
- Logo.Position = UDim2.new(0, 125, 0, 127)
- Logo.Size = UDim2.new(0, 10, 0, 10)
- Logo.Image = "rbxassetid://1352543873"
- Logo.ImageTransparency = 0
- Logo.ZIndex = 10
- Credits.Name = "Credits"
- Credits.Parent = Holder
- Credits.BackgroundTransparency = 1
- Credits.BorderSizePixel = 0
- Credits.Position = UDim2.new(0, 0, 0.9, 30)
- Credits.Size = UDim2.new(0, 250, 0, 20)
- Credits.Font = Enum.Font.SourceSansLight
- Credits.FontSize = Enum.FontSize.Size18
- Credits.Text = "Edge // Zwolf // Moon"
- Credits.TextColor3 = Color3.new(1, 1, 1)
- Credits.ZIndex = 10
- KeybindsFrame.Name = "KeybindsFrame"
- KeybindsFrame.Parent = Settings
- KeybindsFrame.Active = true
- KeybindsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- KeybindsFrame.BorderSizePixel = 0
- KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
- KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
- KeybindsFrame.ZIndex = 10
- table.insert(shade1,KeybindsFrame)
- Close.Name = "Close"
- Close.Parent = KeybindsFrame
- Close.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0, 205, 0, 150)
- Close.Size = UDim2.new(0, 40, 0, 20)
- Close.Font = Enum.Font.SourceSans
- Close.TextSize = 14
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.ZIndex = 10
- table.insert(shade2,Close)
- table.insert(text1,Close)
- Add.Name = "Add"
- Add.Parent = KeybindsFrame
- Add.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Add.BorderSizePixel = 0
- Add.Position = UDim2.new(0, 5, 0, 150)
- Add.Size = UDim2.new(0, 40, 0, 20)
- Add.Font = Enum.Font.SourceSans
- Add.TextSize = 14
- Add.Text = "Add"
- Add.TextColor3 = Color3.new(1, 1, 1)
- Add.ZIndex = 10
- table.insert(shade2,Add)
- table.insert(text1,Add)
- Delete.Name = "Delete"
- Delete.Parent = KeybindsFrame
- Delete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Delete.BorderSizePixel = 0
- Delete.Position = UDim2.new(0, 50, 0, 150)
- Delete.Size = UDim2.new(0, 40, 0, 20)
- Delete.Font = Enum.Font.SourceSans
- Delete.TextSize = 14
- Delete.Text = "Clear"
- Delete.TextColor3 = Color3.new(1, 1, 1)
- Delete.ZIndex = 10
- table.insert(shade2,Delete)
- table.insert(text1,Delete)
- Holder_2.Name = "Holder"
- Holder_2.Parent = KeybindsFrame
- Holder_2.BackgroundTransparency = 1
- Holder_2.BorderSizePixel = 0
- Holder_2.Position = UDim2.new(0, 0, 0, 0)
- Holder_2.Size = UDim2.new(0, 250, 0, 145)
- Holder_2.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- Holder_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
- Holder_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_2.ScrollBarThickness = 0
- Holder_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_2.VerticalScrollBarInset = 'Always'
- Holder_2.ZIndex = 10
- Example_2.Name = "Example"
- Example_2.Parent = KeybindsFrame
- Example_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Example_2.BorderSizePixel = 0
- Example_2.Size = UDim2.new(0, 10, 0, 20)
- Example_2.Visible = false
- Example_2.ZIndex = 10
- table.insert(shade2,Example_2)
- Text_3.Name = "Text"
- Text_3.Parent = Example_2
- Text_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Text_3.BorderSizePixel = 0
- Text_3.Position = UDim2.new(0, 10, 0, 0)
- Text_3.Size = UDim2.new(0, 240, 0, 20)
- Text_3.Font = Enum.Font.SourceSans
- Text_3.TextSize = 14
- Text_3.Text = "nom"
- Text_3.TextColor3 = Color3.new(1, 1, 1)
- Text_3.TextXAlignment = Enum.TextXAlignment.Left
- Text_3.ZIndex = 10
- table.insert(shade2,Text_3)
- table.insert(text1,Text_3)
- Delete_2.Name = "Delete"
- Delete_2.Parent = Text_3
- Delete_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Delete_2.BorderSizePixel = 0
- Delete_2.Position = UDim2.new(0, 200, 0, 0)
- Delete_2.Size = UDim2.new(0, 40, 0, 20)
- Delete_2.Font = Enum.Font.SourceSans
- Delete_2.TextSize = 14
- Delete_2.Text = "Delete"
- Delete_2.TextColor3 = Color3.new(0, 0, 0)
- Delete_2.ZIndex = 10
- table.insert(shade3,Delete_2)
- table.insert(text2,Delete_2)
- KeybindEditor.Name = randomString()
- KeybindEditor.Parent = PARENT
- KeybindEditor.Active = true
- KeybindEditor.BackgroundTransparency = 1
- KeybindEditor.Position = UDim2.new(0.5, -180, 0, -500)
- KeybindEditor.Size = UDim2.new(0, 360, 0, 20)
- KeybindEditor.ZIndex = 10
- background_2.Name = "background"
- background_2.Parent = KeybindEditor
- background_2.Active = true
- background_2.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- background_2.BorderSizePixel = 0
- background_2.Position = UDim2.new(0, 0, 0, 20)
- background_2.Size = UDim2.new(0, 360, 0, 185)
- background_2.ZIndex = 10
- table.insert(shade1,background_2)
- Dark_4.Name = "Dark"
- Dark_4.Parent = background_2
- Dark_4.Active = true
- Dark_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Dark_4.BorderSizePixel = 0
- Dark_4.Position = UDim2.new(0, 135, 0, 0)
- Dark_4.Size = UDim2.new(0, 2, 0, 185)
- Dark_4.ZIndex = 10
- table.insert(shade2,Dark_4)
- Directions.Name = "Directions"
- Directions.Parent = background_2
- Directions.BackgroundTransparency = 1
- Directions.BorderSizePixel = 0
- Directions.Position = UDim2.new(0, 10, 0, 15)
- Directions.Size = UDim2.new(0, 115, 0, 90)
- Directions.Font = Enum.Font.SourceSans
- Directions.TextSize = 14
- Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
- Directions.TextColor3 = Color3.new(1, 1, 1)
- Directions.TextWrapped = true
- Directions.TextYAlignment = Enum.TextYAlignment.Top
- Directions.ZIndex = 10
- table.insert(text1,Directions)
- BindTo.Name = "BindTo"
- BindTo.Parent = background_2
- BindTo.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- BindTo.BorderSizePixel = 0
- BindTo.Position = UDim2.new(0, 10, 0, 95)
- BindTo.Size = UDim2.new(0, 115, 0, 50)
- BindTo.Font = Enum.Font.SourceSans
- BindTo.TextSize = 16
- BindTo.Text = "Click to bind"
- BindTo.TextColor3 = Color3.new(1, 1, 1)
- BindTo.ZIndex = 10
- table.insert(shade2,BindTo)
- table.insert(text1,BindTo)
- BindTrigger = Instance.new("TextLabel")
- BindTrigger.Name = "TriggerLabel"
- BindTrigger.BackgroundTransparency = 1
- BindTrigger.Position = UDim2.new(0, 10, 0, 155)
- BindTrigger.Size = UDim2.new(0, 45, 0, 20)
- BindTrigger.Font = Enum.Font.SourceSans
- BindTrigger.TextSize = 14
- BindTrigger.Text = "Trigger:"
- BindTrigger.TextColor3 = Color3.new(1, 1, 1)
- BindTrigger.ZIndex = 10
- BindTrigger.TextXAlignment = Enum.TextXAlignment.Left
- BindTrigger.Parent = background_2
- table.insert(text1,BindTrigger)
- BindTriggerSelect = Instance.new("TextButton")
- BindTriggerSelect.Name = "BindTo"
- BindTriggerSelect.Parent = background_2
- BindTriggerSelect.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- BindTriggerSelect.BorderSizePixel = 0
- BindTriggerSelect.Position = UDim2.new(0, 60, 0, 155)
- BindTriggerSelect.Size = UDim2.new(0, 65, 0, 20)
- BindTriggerSelect.Font = Enum.Font.SourceSans
- BindTriggerSelect.TextSize = 16
- BindTriggerSelect.Text = "KeyDown"
- BindTriggerSelect.TextColor3 = Color3.new(1, 1, 1)
- BindTriggerSelect.ZIndex = 10
- table.insert(shade2,BindTriggerSelect)
- table.insert(text1,BindTriggerSelect)
- Add_2.Name = "Add"
- Add_2.Parent = background_2
- Add_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Add_2.BorderSizePixel = 0
- Add_2.Position = UDim2.new(0, 310, 0, 20)
- Add_2.Size = UDim2.new(0, 40, 0, 20)
- Add_2.Font = Enum.Font.SourceSans
- Add_2.TextSize = 14
- Add_2.Text = "Add"
- Add_2.TextColor3 = Color3.new(1, 1, 1)
- Add_2.ZIndex = 10
- table.insert(shade2,Add_2)
- table.insert(text1,Add_2)
- Cmdbar_2.Name = "Cmdbar"
- Cmdbar_2.Parent = background_2
- Cmdbar_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Cmdbar_2.BorderSizePixel = 0
- Cmdbar_2.Position = UDim2.new(0, 150, 0, 20)
- Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
- Cmdbar_2.Font = Enum.Font.SourceSans
- Cmdbar_2.TextSize = 14
- Cmdbar_2.TextXAlignment = Enum.TextXAlignment.Left
- Cmdbar_2.TextColor3 = Color3.new(1, 1, 1)
- Cmdbar_2.Text = ""
- Cmdbar_2.ZIndex = 10
- Cmdbar_2.PlaceholderText = "Command"
- Toggles.Name = "Toggles"
- Toggles.Parent = background_2
- Toggles.BackgroundTransparency = 1
- Toggles.BorderSizePixel = 0
- Toggles.Position = UDim2.new(0, 150, 0, 50)
- Toggles.Size = UDim2.new(0, 200, 0, 125)
- Toggles.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- Toggles.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Toggles.CanvasSize = UDim2.new(0, 0, 0, 220)
- Toggles.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Toggles.ScrollBarThickness = 8
- Toggles.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Toggles.VerticalScrollBarInset = 'Always'
- Toggles.ZIndex = 10
- table.insert(scroll,Toggles)
- Fly.Name = "Fly"
- Fly.Parent = Toggles
- Fly.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Fly.BorderSizePixel = 0
- Fly.Size = UDim2.new(0, 192, 0, 20)
- Fly.Font = Enum.Font.SourceSans
- Fly.TextSize = 14
- Fly.Text = " Toggle Fly"
- Fly.TextColor3 = Color3.new(1, 1, 1)
- Fly.TextXAlignment = Enum.TextXAlignment.Left
- Fly.ZIndex = 10
- table.insert(shade2,Fly)
- table.insert(text1,Fly)
- Select_3.Name = "Select"
- Select_3.Parent = Fly
- Select_3.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_3.BorderSizePixel = 0
- Select_3.Position = UDim2.new(0, 152, 0, 0)
- Select_3.Size = UDim2.new(0, 40, 0, 20)
- Select_3.Font = Enum.Font.SourceSans
- Select_3.TextSize = 14
- Select_3.Text = "Add"
- Select_3.TextColor3 = Color3.new(0, 0, 0)
- Select_3.ZIndex = 10
- table.insert(shade3,Select_3)
- table.insert(text2,Select_3)
- Noclip.Name = "Noclip"
- Noclip.Parent = Toggles
- Noclip.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Noclip.BorderSizePixel = 0
- Noclip.Position = UDim2.new(0, 0, 0, 25)
- Noclip.Size = UDim2.new(0, 192, 0, 20)
- Noclip.Font = Enum.Font.SourceSans
- Noclip.TextSize = 14
- Noclip.Text = " Toggle Noclip"
- Noclip.TextColor3 = Color3.new(1, 1, 1)
- Noclip.TextXAlignment = Enum.TextXAlignment.Left
- Noclip.ZIndex = 10
- table.insert(shade2,Noclip)
- table.insert(text1,Noclip)
- Select_4.Name = "Select"
- Select_4.Parent = Noclip
- Select_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_4.BorderSizePixel = 0
- Select_4.Position = UDim2.new(0, 152, 0, 0)
- Select_4.Size = UDim2.new(0, 40, 0, 20)
- Select_4.Font = Enum.Font.SourceSans
- Select_4.TextSize = 14
- Select_4.Text = "Add"
- Select_4.TextColor3 = Color3.new(0, 0, 0)
- Select_4.ZIndex = 10
- table.insert(shade3,Select_4)
- table.insert(text2,Select_4)
- Float.Name = "Float"
- Float.Parent = Toggles
- Float.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Float.BorderSizePixel = 0
- Float.Position = UDim2.new(0, 0, 0, 50)
- Float.Size = UDim2.new(0, 192, 0, 20)
- Float.Font = Enum.Font.SourceSans
- Float.TextSize = 14
- Float.Text = " Toggle Float"
- Float.TextColor3 = Color3.new(1, 1, 1)
- Float.TextXAlignment = Enum.TextXAlignment.Left
- Float.ZIndex = 10
- table.insert(shade2,Float)
- table.insert(text1,Float)
- Select_5.Name = "Select"
- Select_5.Parent = Float
- Select_5.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_5.BorderSizePixel = 0
- Select_5.Position = UDim2.new(0, 152, 0, 0)
- Select_5.Size = UDim2.new(0, 40, 0, 20)
- Select_5.Font = Enum.Font.SourceSans
- Select_5.TextSize = 14
- Select_5.Text = "Add"
- Select_5.TextColor3 = Color3.new(0, 0, 0)
- Select_5.ZIndex = 10
- table.insert(shade3,Select_5)
- table.insert(text2,Select_5)
- ClickTP.Name = "Click TP"
- ClickTP.Parent = Toggles
- ClickTP.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- ClickTP.BorderSizePixel = 0
- ClickTP.Position = UDim2.new(0, 0, 0, 75)
- ClickTP.Size = UDim2.new(0, 192, 0, 20)
- ClickTP.Font = Enum.Font.SourceSans
- ClickTP.TextSize = 14
- ClickTP.Text = " Click TP (Hold Key & Click)"
- ClickTP.TextColor3 = Color3.new(1, 1, 1)
- ClickTP.TextXAlignment = Enum.TextXAlignment.Left
- ClickTP.ZIndex = 10
- table.insert(shade2,ClickTP)
- table.insert(text1,ClickTP)
- Select_6.Name = "Select"
- Select_6.Parent = ClickTP
- Select_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_6.BorderSizePixel = 0
- Select_6.Position = UDim2.new(0, 152, 0, 0)
- Select_6.Size = UDim2.new(0, 40, 0, 20)
- Select_6.Font = Enum.Font.SourceSans
- Select_6.TextSize = 14
- Select_6.Text = "Add"
- Select_6.TextColor3 = Color3.new(0, 0, 0)
- Select_6.ZIndex = 10
- table.insert(shade3,Select_6)
- table.insert(text2,Select_6)
- ClickDelete.Name = "Click Delete"
- ClickDelete.Parent = Toggles
- ClickDelete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- ClickDelete.BorderSizePixel = 0
- ClickDelete.Position = UDim2.new(0, 0, 0, 100)
- ClickDelete.Size = UDim2.new(0, 192, 0, 20)
- ClickDelete.Font = Enum.Font.SourceSans
- ClickDelete.TextSize = 14
- ClickDelete.Text = " Click Delete (Hold Key & Click)"
- ClickDelete.TextColor3 = Color3.new(1, 1, 1)
- ClickDelete.TextXAlignment = Enum.TextXAlignment.Left
- ClickDelete.ZIndex = 10
- table.insert(shade2,ClickDelete)
- table.insert(text1,ClickDelete)
- Select_13.Name = "Select"
- Select_13.Parent = ClickDelete
- Select_13.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_13.BorderSizePixel = 0
- Select_13.Position = UDim2.new(0, 152, 0, 0)
- Select_13.Size = UDim2.new(0, 40, 0, 20)
- Select_13.Font = Enum.Font.SourceSans
- Select_13.TextSize = 14
- Select_13.Text = "Add"
- Select_13.TextColor3 = Color3.new(0, 0, 0)
- Select_13.ZIndex = 10
- table.insert(shade3,Select_13)
- table.insert(text2,Select_13)
- Xray.Name = "Xray"
- Xray.Parent = Toggles
- Xray.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Xray.BorderSizePixel = 0
- Xray.Position = UDim2.new(0, 0, 0, 125)
- Xray.Size = UDim2.new(0, 192, 0, 20)
- Xray.Font = Enum.Font.SourceSans
- Xray.TextSize = 14
- Xray.Text = " Toggle Xray"
- Xray.TextColor3 = Color3.new(1, 1, 1)
- Xray.TextXAlignment = Enum.TextXAlignment.Left
- Xray.ZIndex = 10
- table.insert(shade2,Xray)
- table.insert(text1,Xray)
- Select_10.Name = "Select"
- Select_10.Parent = Xray
- Select_10.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_10.BorderSizePixel = 0
- Select_10.Position = UDim2.new(0, 152, 0, 0)
- Select_10.Size = UDim2.new(0, 40, 0, 20)
- Select_10.Font = Enum.Font.SourceSans
- Select_10.TextSize = 14
- Select_10.Text = "Add"
- Select_10.TextColor3 = Color3.new(0, 0, 0)
- Select_10.ZIndex = 10
- table.insert(shade3,Select_10)
- table.insert(text2,Select_10)
- Swim.Name = "Swim"
- Swim.Parent = Toggles
- Swim.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Swim.BorderSizePixel = 0
- Swim.Position = UDim2.new(0, 0, 0, 150)
- Swim.Size = UDim2.new(0, 192, 0, 20)
- Swim.Font = Enum.Font.SourceSans
- Swim.TextSize = 14
- Swim.Text = " Toggle Swim"
- Swim.TextColor3 = Color3.new(1, 1, 1)
- Swim.TextXAlignment = Enum.TextXAlignment.Left
- Swim.ZIndex = 10
- table.insert(shade2,Swim)
- table.insert(text1,Swim)
- Select_11.Name = "Select"
- Select_11.Parent = Swim
- Select_11.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_11.BorderSizePixel = 0
- Select_11.Position = UDim2.new(0, 152, 0, 0)
- Select_11.Size = UDim2.new(0, 40, 0, 20)
- Select_11.Font = Enum.Font.SourceSans
- Select_11.TextSize = 14
- Select_11.Text = "Add"
- Select_11.TextColor3 = Color3.new(0, 0, 0)
- Select_11.ZIndex = 10
- table.insert(shade3,Select_11)
- table.insert(text2,Select_11)
- Fling.Name = "Fling"
- Fling.Parent = Toggles
- Fling.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Fling.BorderSizePixel = 0
- Fling.Position = UDim2.new(0, 0, 0, 175)
- Fling.Size = UDim2.new(0, 192, 0, 20)
- Fling.Font = Enum.Font.SourceSans
- Fling.TextSize = 14
- Fling.Text = " Toggle Fling"
- Fling.TextColor3 = Color3.new(1, 1, 1)
- Fling.TextXAlignment = Enum.TextXAlignment.Left
- Fling.ZIndex = 10
- table.insert(shade2,Fling)
- table.insert(text1,Fling)
- Select_12.Name = "Select"
- Select_12.Parent = Fling
- Select_12.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_12.BorderSizePixel = 0
- Select_12.Position = UDim2.new(0, 152, 0, 0)
- Select_12.Size = UDim2.new(0, 40, 0, 20)
- Select_12.Font = Enum.Font.SourceSans
- Select_12.TextSize = 14
- Select_12.Text = "Add"
- Select_12.TextColor3 = Color3.new(0, 0, 0)
- Select_12.ZIndex = 10
- table.insert(shade3,Select_12)
- table.insert(text2,Select_12)
- Invisible.Name = "Invisible"
- Invisible.Parent = Toggles
- Invisible.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Invisible.BorderSizePixel = 0
- Invisible.Position = UDim2.new(0, 0, 0, 200)
- Invisible.Size = UDim2.new(0, 192, 0, 20)
- Invisible.Font = Enum.Font.SourceSans
- Invisible.TextSize = 14
- Invisible.Text = " Toggle Invisible"
- Invisible.TextColor3 = Color3.new(1, 1, 1)
- Invisible.TextXAlignment = Enum.TextXAlignment.Left
- Invisible.ZIndex = 10
- table.insert(shade2,Invisible)
- table.insert(text1,Invisible)
- Select_14.Name = "Select"
- Select_14.Parent = Invisible
- Select_14.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_14.BorderSizePixel = 0
- Select_14.Position = UDim2.new(0, 152, 0, 0)
- Select_14.Size = UDim2.new(0, 40, 0, 20)
- Select_14.Font = Enum.Font.SourceSans
- Select_14.TextSize = 14
- Select_14.Text = "Add"
- Select_14.TextColor3 = Color3.new(0, 0, 0)
- Select_14.ZIndex = 10
- table.insert(shade3,Select_14)
- table.insert(text2,Select_14)
- shadow_2.Name = "shadow"
- shadow_2.Parent = KeybindEditor
- shadow_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- shadow_2.BorderSizePixel = 0
- shadow_2.Size = UDim2.new(0, 360, 0, 20)
- shadow_2.ZIndex = 10
- table.insert(shade2,shadow_2)
- PopupText_2.Name = "PopupText"
- PopupText_2.Parent = shadow_2
- PopupText_2.BackgroundTransparency = 1
- PopupText_2.Size = UDim2.new(1, 0, 0.95, 0)
- PopupText_2.ZIndex = 10
- PopupText_2.Font = Enum.Font.SourceSans
- PopupText_2.TextSize = 14
- PopupText_2.Text = "Set Keybinds"
- PopupText_2.TextColor3 = Color3.new(1, 1, 1)
- PopupText_2.TextWrapped = true
- table.insert(text1,PopupText_2)
- Exit_2.Name = "Exit"
- Exit_2.Parent = shadow_2
- Exit_2.BackgroundTransparency = 1
- Exit_2.Position = UDim2.new(1, -20, 0, 0)
- Exit_2.Size = UDim2.new(0, 20, 0, 20)
- Exit_2.Text = ""
- Exit_2.ZIndex = 10
- ExitImage_2.Parent = Exit_2
- ExitImage_2.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitImage_2.BackgroundTransparency = 1
- ExitImage_2.Position = UDim2.new(0, 5, 0, 5)
- ExitImage_2.Size = UDim2.new(0, 10, 0, 10)
- ExitImage_2.Image = "rbxassetid://5054663650"
- ExitImage_2.ZIndex = 10
- PositionsFrame.Name = "PositionsFrame"
- PositionsFrame.Parent = Settings
- PositionsFrame.Active = true
- PositionsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- PositionsFrame.BorderSizePixel = 0
- PositionsFrame.Size = UDim2.new(0, 250, 0, 175)
- PositionsFrame.Position = UDim2.new(0, 0, 0, 175)
- PositionsFrame.ZIndex = 10
- table.insert(shade1,PositionsFrame)
- Close_3.Name = "Close"
- Close_3.Parent = PositionsFrame
- Close_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Close_3.BorderSizePixel = 0
- Close_3.Position = UDim2.new(0, 205, 0, 150)
- Close_3.Size = UDim2.new(0, 40, 0, 20)
- Close_3.Font = Enum.Font.SourceSans
- Close_3.TextSize = 14
- Close_3.Text = "Close"
- Close_3.TextColor3 = Color3.new(1, 1, 1)
- Close_3.ZIndex = 10
- table.insert(shade2,Close_3)
- table.insert(text1,Close_3)
- Delete_5.Name = "Delete"
- Delete_5.Parent = PositionsFrame
- Delete_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Delete_5.BorderSizePixel = 0
- Delete_5.Position = UDim2.new(0, 50, 0, 150)
- Delete_5.Size = UDim2.new(0, 40, 0, 20)
- Delete_5.Font = Enum.Font.SourceSans
- Delete_5.TextSize = 14
- Delete_5.Text = "Clear"
- Delete_5.TextColor3 = Color3.new(1, 1, 1)
- Delete_5.ZIndex = 10
- table.insert(shade2,Delete_5)
- table.insert(text1,Delete_5)
- Part.Name = "PartGoto"
- Part.Parent = PositionsFrame
- Part.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Part.BorderSizePixel = 0
- Part.Position = UDim2.new(0, 5, 0, 150)
- Part.Size = UDim2.new(0, 40, 0, 20)
- Part.Font = Enum.Font.SourceSans
- Part.TextSize = 14
- Part.Text = "Part"
- Part.TextColor3 = Color3.new(1, 1, 1)
- Part.ZIndex = 10
- table.insert(shade2,Part)
- table.insert(text1,Part)
- Holder_4.Name = "Holder"
- Holder_4.Parent = PositionsFrame
- Holder_4.BackgroundTransparency = 1
- Holder_4.BorderSizePixel = 0
- Holder_4.Position = UDim2.new(0, 0, 0, 0)
- Holder_4.Selectable = false
- Holder_4.Size = UDim2.new(0, 250, 0, 145)
- Holder_4.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- Holder_4.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0)
- Holder_4.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_4.ScrollBarThickness = 0
- Holder_4.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_4.VerticalScrollBarInset = 'Always'
- Holder_4.ZIndex = 10
- Example_4.Name = "Example"
- Example_4.Parent = PositionsFrame
- Example_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Example_4.BorderSizePixel = 0
- Example_4.Size = UDim2.new(0, 10, 0, 20)
- Example_4.Visible = false
- Example_4.Position = UDim2.new(0, 0, 0, -5)
- Example_4.ZIndex = 10
- table.insert(shade2,Example_4)
- Text_5.Name = "Text"
- Text_5.Parent = Example_4
- Text_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Text_5.BorderSizePixel = 0
- Text_5.Position = UDim2.new(0, 10, 0, 0)
- Text_5.Size = UDim2.new(0, 240, 0, 20)
- Text_5.Font = Enum.Font.SourceSans
- Text_5.TextSize = 14
- Text_5.Text = "Position"
- Text_5.TextColor3 = Color3.new(1, 1, 1)
- Text_5.TextXAlignment = Enum.TextXAlignment.Left
- Text_5.ZIndex = 10
- table.insert(shade2,Text_5)
- table.insert(text1,Text_5)
- Delete_6.Name = "Delete"
- Delete_6.Parent = Text_5
- Delete_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Delete_6.BorderSizePixel = 0
- Delete_6.Position = UDim2.new(0, 200, 0, 0)
- Delete_6.Size = UDim2.new(0, 40, 0, 20)
- Delete_6.Font = Enum.Font.SourceSans
- Delete_6.TextSize = 14
- Delete_6.Text = "Delete"
- Delete_6.TextColor3 = Color3.new(0, 0, 0)
- Delete_6.ZIndex = 10
- table.insert(shade3,Delete_6)
- table.insert(text2,Delete_6)
- TP.Name = "TP"
- TP.Parent = Text_5
- TP.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- TP.BorderSizePixel = 0
- TP.Position = UDim2.new(0, 155, 0, 0)
- TP.Size = UDim2.new(0, 40, 0, 20)
- TP.Font = Enum.Font.SourceSans
- TP.TextSize = 14
- TP.Text = "Goto"
- TP.TextColor3 = Color3.new(0, 0, 0)
- TP.ZIndex = 10
- table.insert(shade3,TP)
- table.insert(text2,TP)
- AliasesFrame.Name = "AliasesFrame"
- AliasesFrame.Parent = Settings
- AliasesFrame.Active = true
- AliasesFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- AliasesFrame.BorderSizePixel = 0
- AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
- AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
- AliasesFrame.ZIndex = 10
- table.insert(shade1,AliasesFrame)
- Close_2.Name = "Close"
- Close_2.Parent = AliasesFrame
- Close_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Close_2.BorderSizePixel = 0
- Close_2.Position = UDim2.new(0, 205, 0, 150)
- Close_2.Size = UDim2.new(0, 40, 0, 20)
- Close_2.Font = Enum.Font.SourceSans
- Close_2.TextSize = 14
- Close_2.Text = "Close"
- Close_2.TextColor3 = Color3.new(1, 1, 1)
- Close_2.ZIndex = 10
- table.insert(shade2,Close_2)
- table.insert(text1,Close_2)
- Delete_3.Name = "Delete"
- Delete_3.Parent = AliasesFrame
- Delete_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Delete_3.BorderSizePixel = 0
- Delete_3.Position = UDim2.new(0, 5, 0, 150)
- Delete_3.Size = UDim2.new(0, 40, 0, 20)
- Delete_3.Font = Enum.Font.SourceSans
- Delete_3.TextSize = 14
- Delete_3.Text = "Clear"
- Delete_3.TextColor3 = Color3.new(1, 1, 1)
- Delete_3.ZIndex = 10
- table.insert(shade2,Delete_3)
- table.insert(text1,Delete_3)
- Holder_3.Name = "Holder"
- Holder_3.Parent = AliasesFrame
- Holder_3.BackgroundTransparency = 1
- Holder_3.BorderSizePixel = 0
- Holder_3.Position = UDim2.new(0, 0, 0, 0)
- Holder_3.Size = UDim2.new(0, 250, 0, 145)
- Holder_3.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- Holder_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
- Holder_3.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_3.ScrollBarThickness = 0
- Holder_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_3.VerticalScrollBarInset = 'Always'
- Holder_3.ZIndex = 10
- Example_3.Name = "Example"
- Example_3.Parent = AliasesFrame
- Example_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Example_3.BorderSizePixel = 0
- Example_3.Size = UDim2.new(0, 10, 0, 20)
- Example_3.Visible = false
- Example_3.ZIndex = 10
- table.insert(shade2,Example_3)
- Text_4.Name = "Text"
- Text_4.Parent = Example_3
- Text_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Text_4.BorderSizePixel = 0
- Text_4.Position = UDim2.new(0, 10, 0, 0)
- Text_4.Size = UDim2.new(0, 240, 0, 20)
- Text_4.Font = Enum.Font.SourceSans
- Text_4.TextSize = 14
- Text_4.Text = "honk"
- Text_4.TextColor3 = Color3.new(1, 1, 1)
- Text_4.TextXAlignment = Enum.TextXAlignment.Left
- Text_4.ZIndex = 10
- table.insert(shade2,Text_4)
- table.insert(text1,Text_4)
- Delete_4.Name = "Delete"
- Delete_4.Parent = Text_4
- Delete_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Delete_4.BorderSizePixel = 0
- Delete_4.Position = UDim2.new(0, 200, 0, 0)
- Delete_4.Size = UDim2.new(0, 40, 0, 20)
- Delete_4.Font = Enum.Font.SourceSans
- Delete_4.TextSize = 14
- Delete_4.Text = "Delete"
- Delete_4.TextColor3 = Color3.new(0, 0, 0)
- Delete_4.ZIndex = 10
- table.insert(shade3,Delete_4)
- table.insert(text2,Delete_4)
- PluginsFrame.Name = "PluginsFrame"
- PluginsFrame.Parent = Settings
- PluginsFrame.Active = true
- PluginsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- PluginsFrame.BorderSizePixel = 0
- PluginsFrame.Position = UDim2.new(0, 0, 0, 175)
- PluginsFrame.Size = UDim2.new(0, 250, 0, 175)
- PluginsFrame.ZIndex = 10
- table.insert(shade1,PluginsFrame)
- Close_4.Name = "Close"
- Close_4.Parent = PluginsFrame
- Close_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Close_4.BorderSizePixel = 0
- Close_4.Position = UDim2.new(0, 205, 0, 150)
- Close_4.Size = UDim2.new(0, 40, 0, 20)
- Close_4.Font = Enum.Font.SourceSans
- Close_4.TextSize = 14
- Close_4.Text = "Close"
- Close_4.TextColor3 = Color3.new(1, 1, 1)
- Close_4.ZIndex = 10
- table.insert(shade2,Close_4)
- table.insert(text1,Close_4)
- Add_3.Name = "Add"
- Add_3.Parent = PluginsFrame
- Add_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Add_3.BorderSizePixel = 0
- Add_3.Position = UDim2.new(0, 5, 0, 150)
- Add_3.Size = UDim2.new(0, 40, 0, 20)
- Add_3.Font = Enum.Font.SourceSans
- Add_3.TextSize = 14
- Add_3.Text = "Add"
- Add_3.TextColor3 = Color3.new(1, 1, 1)
- Add_3.ZIndex = 10
- table.insert(shade2,Add_3)
- table.insert(text1,Add_3)
- Holder_5.Name = "Holder"
- Holder_5.Parent = PluginsFrame
- Holder_5.BackgroundTransparency = 1
- Holder_5.BorderSizePixel = 0
- Holder_5.Position = UDim2.new(0, 0, 0, 0)
- Holder_5.Selectable = false
- Holder_5.Size = UDim2.new(0, 250, 0, 145)
- Holder_5.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
- Holder_5.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0)
- Holder_5.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_5.ScrollBarThickness = 0
- Holder_5.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- Holder_5.VerticalScrollBarInset = 'Always'
- Holder_5.ZIndex = 10
- Example_5.Name = "Example"
- Example_5.Parent = PluginsFrame
- Example_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Example_5.BorderSizePixel = 0
- Example_5.Size = UDim2.new(0, 10, 0, 20)
- Example_5.Visible = false
- Example_5.ZIndex = 10
- table.insert(shade2,Example_5)
- Text_6.Name = "Text"
- Text_6.Parent = Example_5
- Text_6.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Text_6.BorderSizePixel = 0
- Text_6.Position = UDim2.new(0, 10, 0, 0)
- Text_6.Size = UDim2.new(0, 240, 0, 20)
- Text_6.Font = Enum.Font.SourceSans
- Text_6.TextSize = 14
- Text_6.Text = "F4 > Toggle Fly"
- Text_6.TextColor3 = Color3.new(1, 1, 1)
- Text_6.TextXAlignment = Enum.TextXAlignment.Left
- Text_6.ZIndex = 10
- table.insert(shade2,Text_6)
- table.insert(text1,Text_6)
- Delete_7.Name = "Delete"
- Delete_7.Parent = Text_6
- Delete_7.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Delete_7.BorderSizePixel = 0
- Delete_7.Position = UDim2.new(0, 200, 0, 0)
- Delete_7.Size = UDim2.new(0, 40, 0, 20)
- Delete_7.Font = Enum.Font.SourceSans
- Delete_7.TextSize = 14
- Delete_7.Text = "Delete"
- Delete_7.TextColor3 = Color3.new(0, 0, 0)
- Delete_7.ZIndex = 10
- table.insert(shade3,Delete_7)
- table.insert(text2,Delete_7)
- PluginEditor.Name = randomString()
- PluginEditor.Parent = PARENT
- PluginEditor.BorderSizePixel = 0
- PluginEditor.Active = true
- PluginEditor.BackgroundTransparency = 1
- PluginEditor.Position = UDim2.new(0.5, -180, 0, -500)
- PluginEditor.Size = UDim2.new(0, 360, 0, 20)
- PluginEditor.ZIndex = 10
- background_3.Name = "background"
- background_3.Parent = PluginEditor
- background_3.Active = true
- background_3.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- background_3.BorderSizePixel = 0
- background_3.Position = UDim2.new(0, 0, 0, 20)
- background_3.Size = UDim2.new(0, 360, 0, 160)
- background_3.ZIndex = 10
- table.insert(shade1,background_3)
- Dark_9.Name = "Dark"
- Dark_9.Parent = background_3
- Dark_9.Active = true
- Dark_9.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Dark_9.BorderSizePixel = 0
- Dark_9.Position = UDim2.new(0, 222, 0, 0)
- Dark_9.Size = UDim2.new(0, 2, 0, 160)
- Dark_9.ZIndex = 10
- table.insert(shade2,Dark_9)
- Img.Name = "Img"
- Img.Parent = background_3
- Img.BackgroundTransparency = 1
- Img.Position = UDim2.new(0, 242, 0, 3)
- Img.Size = UDim2.new(0, 100, 0, 95)
- Img.Image = "rbxassetid://4113050383"
- Img.ZIndex = 10
- AddPlugin.Name = "AddPlugin"
- AddPlugin.Parent = background_3
- AddPlugin.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- AddPlugin.BorderSizePixel = 0
- AddPlugin.Position = UDim2.new(0, 235, 0, 100)
- AddPlugin.Size = UDim2.new(0, 115, 0, 50)
- AddPlugin.Font = Enum.Font.SourceSans
- AddPlugin.TextSize = 14
- AddPlugin.Text = "Add Plugin"
- AddPlugin.TextColor3 = Color3.new(1, 1, 1)
- AddPlugin.ZIndex = 10
- table.insert(shade2,AddPlugin)
- table.insert(text1,AddPlugin)
- FileName.Name = "FileName"
- FileName.Parent = background_3
- FileName.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- FileName.BorderSizePixel = 0
- FileName.Position = UDim2.new(0.028, 0, 0.625, 0)
- FileName.Size = UDim2.new(0, 200, 0, 50)
- FileName.Font = Enum.Font.SourceSans
- FileName.TextSize = 14
- FileName.Text = "Plugin File Name"
- FileName.TextColor3 = Color3.new(1, 1, 1)
- FileName.ZIndex = 10
- table.insert(shade2,FileName)
- table.insert(text1,FileName)
- About.Name = "About"
- About.Parent = background_3
- About.BackgroundTransparency = 1
- About.BorderSizePixel = 0
- About.Position = UDim2.new(0, 17, 0, 10)
- About.Size = UDim2.new(0, 187, 0, 49)
- About.Font = Enum.Font.SourceSans
- About.TextSize = 14
- About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit."
- About.TextColor3 = Color3.fromRGB(255, 255, 255)
- About.TextWrapped = true
- About.TextYAlignment = Enum.TextYAlignment.Top
- About.ZIndex = 10
- table.insert(text1,About)
- Directions_2.Name = "Directions"
- Directions_2.Parent = background_3
- Directions_2.BackgroundTransparency = 1
- Directions_2.BorderSizePixel = 0
- Directions_2.Position = UDim2.new(0, 17, 0, 60)
- Directions_2.Size = UDim2.new(0, 187, 0, 49)
- Directions_2.Font = Enum.Font.SourceSans
- Directions_2.TextSize = 14
- Directions_2.Text = "Type the name of the plugin file you want to add below."
- Directions_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Directions_2.TextWrapped = true
- Directions_2.TextYAlignment = Enum.TextYAlignment.Top
- Directions_2.ZIndex = 10
- table.insert(text1,Directions_2)
- shadow_3.Name = "shadow"
- shadow_3.Parent = PluginEditor
- shadow_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- shadow_3.BorderSizePixel = 0
- shadow_3.Size = UDim2.new(0, 360, 0, 20)
- shadow_3.ZIndex = 10
- table.insert(shade2,shadow_3)
- PopupText_3.Name = "PopupText"
- PopupText_3.Parent = shadow_3
- PopupText_3.BackgroundTransparency = 1
- PopupText_3.Size = UDim2.new(1, 0, 0.95, 0)
- PopupText_3.ZIndex = 10
- PopupText_3.Font = Enum.Font.SourceSans
- PopupText_3.TextSize = 14
- PopupText_3.Text = "Add Plugins"
- PopupText_3.TextColor3 = Color3.new(1, 1, 1)
- PopupText_3.TextWrapped = true
- table.insert(text1,PopupText_3)
- Exit_3.Name = "Exit"
- Exit_3.Parent = shadow_3
- Exit_3.BackgroundTransparency = 1
- Exit_3.Position = UDim2.new(1, -20, 0, 0)
- Exit_3.Size = UDim2.new(0, 20, 0, 20)
- Exit_3.Text = ""
- Exit_3.ZIndex = 10
- ExitImage_3.Parent = Exit_3
- ExitImage_3.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitImage_3.BackgroundTransparency = 1
- ExitImage_3.Position = UDim2.new(0, 5, 0, 5)
- ExitImage_3.Size = UDim2.new(0, 10, 0, 10)
- ExitImage_3.Image = "rbxassetid://5054663650"
- ExitImage_3.ZIndex = 10
- AliasHint.Name = "AliasHint"
- AliasHint.Parent = AliasesFrame
- AliasHint.BackgroundTransparency = 1
- AliasHint.BorderSizePixel = 0
- AliasHint.Position = UDim2.new(0, 25, 0, 40)
- AliasHint.Size = UDim2.new(0, 200, 0, 50)
- AliasHint.Font = Enum.Font.SourceSansItalic
- AliasHint.TextSize = 16
- AliasHint.Text = "Add aliases by using the 'addalias' command"
- AliasHint.TextColor3 = Color3.new(1, 1, 1)
- AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1)
- AliasHint.TextWrapped = true
- AliasHint.ZIndex = 10
- table.insert(text1,AliasHint)
- PluginsHint.Name = "PluginsHint"
- PluginsHint.Parent = PluginsFrame
- PluginsHint.BackgroundTransparency = 1
- PluginsHint.BorderSizePixel = 0
- PluginsHint.Position = UDim2.new(0, 25, 0, 40)
- PluginsHint.Size = UDim2.new(0, 200, 0, 50)
- PluginsHint.Font = Enum.Font.SourceSansItalic
- PluginsHint.TextSize = 16
- PluginsHint.Text = "Download plugins from the IY Discord (discord.io/infiniteyield)"
- PluginsHint.TextColor3 = Color3.new(1, 1, 1)
- PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
- PluginsHint.TextWrapped = true
- PluginsHint.ZIndex = 10
- table.insert(text1,PluginsHint)
- PositionsHint.Name = "PositionsHint"
- PositionsHint.Parent = PositionsFrame
- PositionsHint.BackgroundTransparency = 1
- PositionsHint.BorderSizePixel = 0
- PositionsHint.Position = UDim2.new(0, 25, 0, 40)
- PositionsHint.Size = UDim2.new(0, 200, 0, 70)
- PositionsHint.Font = Enum.Font.SourceSansItalic
- PositionsHint.TextSize = 16
- PositionsHint.Text = "Use the 'swp' or 'setwaypoint' command to add a position using your character (NOTE: Part teleports will not save)"
- PositionsHint.TextColor3 = Color3.new(1, 1, 1)
- PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
- PositionsHint.TextWrapped = true
- PositionsHint.ZIndex = 10
- table.insert(text1,PositionsHint)
- ToPartFrame.Name = randomString()
- ToPartFrame.Parent = PARENT
- ToPartFrame.Active = true
- ToPartFrame.BackgroundTransparency = 1
- ToPartFrame.Position = UDim2.new(0.5, -180, 0, -500)
- ToPartFrame.Size = UDim2.new(0, 360, 0, 20)
- ToPartFrame.ZIndex = 10
- background_5.Name = "background"
- background_5.Parent = ToPartFrame
- background_5.Active = true
- background_5.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- background_5.BorderSizePixel = 0
- background_5.Position = UDim2.new(0, 0, 0, 20)
- background_5.Size = UDim2.new(0, 360, 0, 117)
- background_5.ZIndex = 10
- table.insert(shade1,background_5)
- ChoosePart.Name = "ChoosePart"
- ChoosePart.Parent = background_5
- ChoosePart.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- ChoosePart.BorderSizePixel = 0
- ChoosePart.Position = UDim2.new(0, 100, 0, 55)
- ChoosePart.Size = UDim2.new(0, 75, 0, 30)
- ChoosePart.Font = Enum.Font.SourceSans
- ChoosePart.TextSize = 14
- ChoosePart.Text = "Select Part"
- ChoosePart.TextColor3 = Color3.new(1, 1, 1)
- ChoosePart.ZIndex = 10
- table.insert(shade2,ChoosePart)
- table.insert(text1,ChoosePart)
- CopyPath.Name = "CopyPath"
- CopyPath.Parent = background_5
- CopyPath.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- CopyPath.BorderSizePixel = 0
- CopyPath.Position = UDim2.new(0, 185, 0, 55)
- CopyPath.Size = UDim2.new(0, 75, 0, 30)
- CopyPath.Font = Enum.Font.SourceSans
- CopyPath.TextSize = 14
- CopyPath.Text = "Copy Path"
- CopyPath.TextColor3 = Color3.new(1, 1, 1)
- CopyPath.ZIndex = 10
- table.insert(shade2,CopyPath)
- table.insert(text1,CopyPath)
- Directions_4.Name = "Directions"
- Directions_4.Parent = background_5
- Directions_4.BackgroundTransparency = 1
- Directions_4.BorderSizePixel = 0
- Directions_4.Position = UDim2.new(0, 51, 0, 17)
- Directions_4.Size = UDim2.new(0, 257, 0, 32)
- Directions_4.Font = Enum.Font.SourceSans
- Directions_4.TextSize = 14
- Directions_4.Text = 'Click on a part and then click the "Select Part" button below to set it as a teleport location'
- Directions_4.TextColor3 = Color3.new(1, 1, 1)
- Directions_4.TextWrapped = true
- Directions_4.TextYAlignment = Enum.TextYAlignment.Top
- Directions_4.ZIndex = 10
- table.insert(text1,Directions_4)
- Path.Name = "Path"
- Path.Parent = background_5
- Path.BackgroundTransparency = 1
- Path.BorderSizePixel = 0
- Path.Position = UDim2.new(0, 0, 0, 94)
- Path.Size = UDim2.new(0, 360, 0, 16)
- Path.Font = Enum.Font.SourceSansItalic
- Path.TextSize = 14
- Path.Text = ""
- Path.TextColor3 = Color3.new(1, 1, 1)
- Path.TextScaled = true
- Path.TextWrapped = true
- Path.TextYAlignment = Enum.TextYAlignment.Top
- Path.ZIndex = 10
- table.insert(text1,Path)
- shadow_4.Name = "shadow"
- shadow_4.Parent = ToPartFrame
- shadow_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- shadow_4.BorderSizePixel = 0
- shadow_4.Size = UDim2.new(0, 360, 0, 20)
- shadow_4.ZIndex = 10
- table.insert(shade2,shadow_4)
- PopupText_5.Name = "PopupText"
- PopupText_5.Parent = shadow_4
- PopupText_5.BackgroundTransparency = 1
- PopupText_5.Size = UDim2.new(1, 0, 0.95, 0)
- PopupText_5.ZIndex = 10
- PopupText_5.Font = Enum.Font.SourceSans
- PopupText_5.TextSize = 14
- PopupText_5.Text = "Teleport to Part"
- PopupText_5.TextColor3 = Color3.new(1, 1, 1)
- PopupText_5.TextWrapped = true
- table.insert(text1,PopupText_5)
- Exit_4.Name = "Exit"
- Exit_4.Parent = shadow_4
- Exit_4.BackgroundTransparency = 1
- Exit_4.Position = UDim2.new(1, -20, 0, 0)
- Exit_4.Size = UDim2.new(0, 20, 0, 20)
- Exit_4.Text = ""
- Exit_4.ZIndex = 10
- ExitImage_5.Parent = Exit_4
- ExitImage_5.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitImage_5.BackgroundTransparency = 1
- ExitImage_5.Position = UDim2.new(0, 5, 0, 5)
- ExitImage_5.Size = UDim2.new(0, 10, 0, 10)
- ExitImage_5.Image = "rbxassetid://5054663650"
- ExitImage_5.ZIndex = 10
- logs.Name = randomString()
- logs.Parent = PARENT
- logs.Active = true
- logs.BackgroundTransparency = 1
- logs.Position = UDim2.new(0, 0, 1, 10)
- logs.Size = UDim2.new(0, 338, 0, 20)
- logs.ZIndex = 10
- shadow.Name = "shadow"
- shadow.Parent = logs
- shadow.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- shadow.BorderSizePixel = 0
- shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
- shadow.Size = UDim2.new(0, 338, 0, 20)
- shadow.ZIndex = 10
- table.insert(shade2,shadow)
- Hide.Name = "Hide"
- Hide.Parent = shadow
- Hide.BackgroundTransparency = 1
- Hide.Position = UDim2.new(1, -40, 0, 0)
- Hide.Size = UDim2.new(0, 20, 0, 20)
- Hide.ZIndex = 10
- Hide.Text = ""
- ImageLabel.Parent = Hide
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Position = UDim2.new(0, 3, 0, 3)
- ImageLabel.Size = UDim2.new(0, 14, 0, 14)
- ImageLabel.Image = "rbxassetid://2406617031"
- PopupText.Name = "PopupText"
- PopupText.Parent = shadow
- PopupText.BackgroundTransparency = 1
- PopupText.Size = UDim2.new(1, 0, 0.949999988, 0)
- PopupText.ZIndex = 10
- PopupText.Font = Enum.Font.SourceSans
- PopupText.FontSize = Enum.FontSize.Size14
- PopupText.Text = "Logs"
- PopupText.TextColor3 = Color3.new(1, 1, 1)
- PopupText.TextWrapped = true
- table.insert(text1,PopupText)
- Exit.Name = "Exit"
- Exit.Parent = shadow
- Exit.BackgroundTransparency = 1
- Exit.Position = UDim2.new(1, -20, 0, 0)
- Exit.Size = UDim2.new(0, 20, 0, 20)
- Exit.ZIndex = 10
- Exit.Text = ""
- ImageLabel_2.Parent = Exit
- ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_2.BackgroundTransparency = 1
- ImageLabel_2.Position = UDim2.new(0, 5, 0, 5)
- ImageLabel_2.Size = UDim2.new(0, 10, 0, 10)
- ImageLabel_2.Image = "rbxassetid://5054663650"
- ImageLabel_2.ZIndex = 10
- background.Name = "background"
- background.Parent = logs
- background.Active = true
- background.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
- background.BorderSizePixel = 0
- background.ClipsDescendants = true
- background.Position = UDim2.new(0, 0, 1, 0)
- background.Size = UDim2.new(0, 338, 0, 245)
- background.ZIndex = 10
- chat.Name = "chat"
- chat.Parent = background
- chat.Active = true
- chat.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
- chat.BorderSizePixel = 0
- chat.ClipsDescendants = true
- chat.Size = UDim2.new(0, 338, 0, 245)
- chat.ZIndex = 10
- table.insert(shade1,chat)
- Clear.Name = "Clear"
- Clear.Parent = chat
- Clear.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- Clear.BorderSizePixel = 0
- Clear.Position = UDim2.new(0, 5, 0, 220)
- Clear.Size = UDim2.new(0, 50, 0, 20)
- Clear.ZIndex = 10
- Clear.Font = Enum.Font.SourceSans
- Clear.FontSize = Enum.FontSize.Size14
- Clear.Text = "Clear"
- Clear.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade2,Clear)
- table.insert(text1,Clear)
- SaveChatlogs.Name = "SaveChatlogs"
- SaveChatlogs.Parent = chat
- SaveChatlogs.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- SaveChatlogs.BorderSizePixel = 0
- SaveChatlogs.Position = UDim2.new(0, 258, 0, 220)
- SaveChatlogs.Size = UDim2.new(0, 75, 0, 20)
- SaveChatlogs.ZIndex = 10
- SaveChatlogs.Font = Enum.Font.SourceSans
- SaveChatlogs.FontSize = Enum.FontSize.Size14
- SaveChatlogs.Text = "Save To .txt"
- SaveChatlogs.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade2,SaveChatlogs)
- table.insert(text1,SaveChatlogs)
- Toggle.Name = "Toggle"
- Toggle.Parent = chat
- Toggle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- Toggle.BorderSizePixel = 0
- Toggle.Position = UDim2.new(0, 60, 0, 220)
- Toggle.Size = UDim2.new(0, 66, 0, 20)
- Toggle.ZIndex = 10
- Toggle.Font = Enum.Font.SourceSans
- Toggle.FontSize = Enum.FontSize.Size14
- Toggle.Text = "Disabled"
- Toggle.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade2,Toggle)
- table.insert(text1,Toggle)
- scroll_2.Name = "scroll"
- scroll_2.Parent = chat
- scroll_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- scroll_2.BorderSizePixel = 0
- scroll_2.Position = UDim2.new(0, 5, 0, 25)
- scroll_2.Size = UDim2.new(0, 328, 0, 190)
- scroll_2.ZIndex = 10
- scroll_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
- scroll_2.ScrollBarThickness = 8
- scroll_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- table.insert(scroll,scroll_2)
- table.insert(shade2,scroll_2)
- join.Name = "join"
- join.Parent = background
- join.Active = true
- join.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
- join.BorderSizePixel = 0
- join.ClipsDescendants = true
- join.Size = UDim2.new(0, 338, 0, 245)
- join.Visible = false
- join.ZIndex = 10
- table.insert(shade1,join)
- Toggle_2.Name = "Toggle"
- Toggle_2.Parent = join
- Toggle_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- Toggle_2.BorderSizePixel = 0
- Toggle_2.Position = UDim2.new(0, 60, 0, 220)
- Toggle_2.Size = UDim2.new(0, 66, 0, 20)
- Toggle_2.ZIndex = 10
- Toggle_2.Font = Enum.Font.SourceSans
- Toggle_2.FontSize = Enum.FontSize.Size14
- Toggle_2.Text = "Disabled"
- Toggle_2.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade2,Toggle_2)
- table.insert(text1,Toggle_2)
- Clear_2.Name = "Clear"
- Clear_2.Parent = join
- Clear_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- Clear_2.BorderSizePixel = 0
- Clear_2.Position = UDim2.new(0, 5, 0, 220)
- Clear_2.Size = UDim2.new(0, 50, 0, 20)
- Clear_2.ZIndex = 10
- Clear_2.Font = Enum.Font.SourceSans
- Clear_2.FontSize = Enum.FontSize.Size14
- Clear_2.Text = "Clear"
- Clear_2.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade2,Clear_2)
- table.insert(text1,Clear_2)
- scroll_3.Name = "scroll"
- scroll_3.Parent = join
- scroll_3.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- scroll_3.BorderSizePixel = 0
- scroll_3.Position = UDim2.new(0, 5, 0, 25)
- scroll_3.Size = UDim2.new(0, 328, 0, 190)
- scroll_3.ZIndex = 10
- scroll_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
- scroll_3.ScrollBarThickness = 8
- scroll_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
- table.insert(scroll,scroll_3)
- table.insert(shade2,scroll_3)
- selectChat.Name = "selectChat"
- selectChat.Parent = background
- selectChat.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
- selectChat.BorderSizePixel = 0
- selectChat.Position = UDim2.new(0, 5, 0, 5)
- selectChat.Size = UDim2.new(0, 164, 0, 20)
- selectChat.ZIndex = 10
- selectChat.Font = Enum.Font.SourceSans
- selectChat.FontSize = Enum.FontSize.Size14
- selectChat.Text = "Chat Logs"
- selectChat.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade2,selectChat)
- table.insert(text1,selectChat)
- selectJoin.Name = "selectJoin"
- selectJoin.Parent = background
- selectJoin.BackgroundColor3 = Color3.new(0.305882, 0.305882, 0.309804)
- selectJoin.BorderSizePixel = 0
- selectJoin.Position = UDim2.new(0, 169, 0, 5)
- selectJoin.Size = UDim2.new(0, 164, 0, 20)
- selectJoin.ZIndex = 10
- selectJoin.Font = Enum.Font.SourceSans
- selectJoin.FontSize = Enum.FontSize.Size14
- selectJoin.Text = "Join Logs"
- selectJoin.TextColor3 = Color3.new(1, 1, 1)
- table.insert(shade3,selectJoin)
- table.insert(text1,selectJoin)
- function create(data)
- local insts = {}
- for i,v in pairs(data) do insts[v[1]] = Instance.new(v[2]) end
- for _,v in pairs(data) do
- for prop,val in pairs(v[3]) do
- if type(val) == "table" then
- insts[v[1]][prop] = insts[val[1]]
- else
- insts[v[1]][prop] = val
- end
- end
- end
- return insts[1]
- end
- ViewportTextBox = (function()
- local textService = game:GetService("TextService")
- local funcs = {}
- funcs.Update = function(self)
- local cursorPos = self.TextBox.CursorPosition
- local text = self.TextBox.Text
- if text == "" then self.TextBox.Position = UDim2.new(0,2,0,0) return end
- if cursorPos == -1 then return end
- local cursorText = text:sub(1,cursorPos-1)
- local pos = nil
- local leftEnd = -self.TextBox.Position.X.Offset
- local rightEnd = leftEnd + self.View.AbsoluteSize.X
- local totalTextSize = textService:GetTextSize(text,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
- local cursorTextSize = textService:GetTextSize(cursorText,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
- if cursorTextSize > rightEnd then
- pos = math.max(-2,cursorTextSize - self.View.AbsoluteSize.X + 2)
- elseif cursorTextSize < leftEnd then
- pos = math.max(-2,cursorTextSize-2)
- elseif totalTextSize < rightEnd then
- pos = math.max(-2,totalTextSize - self.View.AbsoluteSize.X + 2)
- end
- if pos then
- self.TextBox.Position = UDim2.new(0,-pos,0,0)
- self.TextBox.Size = UDim2.new(1,pos,1,0)
- end
- end
- local mt = {}
- mt.__index = funcs
- local function convert(textbox)
- local obj = setmetatable({OffsetX = 0, TextBox = textbox},mt)
- local view = Instance.new("Frame")
- view.BackgroundTransparency = textbox.BackgroundTransparency
- view.BackgroundColor3 = textbox.BackgroundColor3
- view.BorderSizePixel = textbox.BorderSizePixel
- view.BorderColor3 = textbox.BorderColor3
- view.Position = textbox.Position
- view.Size = textbox.Size
- view.ClipsDescendants = true
- view.Name = textbox.Name
- textbox.BackgroundTransparency = 1
- textbox.Position = UDim2.new(0,4,0,0)
- textbox.Size = UDim2.new(1,-8,1,0)
- textbox.TextXAlignment = Enum.TextXAlignment.Left
- textbox.Name = "Input"
- table.insert(text1,textbox)
- table.insert(shade2,view)
- obj.View = view
- textbox.Changed:Connect(function(prop)
- if prop == "Text" or prop == "CursorPosition" or prop == "AbsoluteSize" then
- obj:Update()
- end
- end)
- obj:Update()
- view.Parent = textbox.Parent
- textbox.Parent = view
- return obj
- end
- return {convert = convert}
- end)()
- ViewportTextBox.convert(Cmdbar).View.ZIndex = 10
- ViewportTextBox.convert(Cmdbar_2).View.ZIndex = 10
- IYMouse = Players.LocalPlayer:GetMouse()
- UserInputService = game:GetService("UserInputService")
- local sethidden = sethiddenproperty or set_hidden_property or set_hidden_prop
- local gethidden = gethiddenproperty or get_hidden_property or get_hidden_prop
- function writefileExploit()
- if writefile then
- return true
- end
- end
- function isNumber(str)
- if tonumber(str) ~= nil or str == 'inf' then
- return true
- end
- end
- function getRoot(char)
- local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
- return rootPart
- end
- function tools(plr)
- if plr:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then
- return true
- end
- end
- function r15(plr)
- if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
- return true
- end
- end
- function toClipboard(String)
- local clipBoard = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
- if clipBoard then
- clipBoard(String)
- notify('Clipboard','Copied to clipboard')
- else
- notify('Clipboard',"Your exploit doesn't have the ability to use the clipboard")
- end
- end
- function getHierarchy(obj)
- local fullname
- local period
- if string.find(obj.Name,' ') then
- fullname = '["'..obj.Name..'"]'
- period = false
- else
- fullname = obj.Name
- period = true
- end
- local getS = obj
- local parent = obj
- local service = ''
- if getS.Parent ~= game then
- repeat
- getS = getS.Parent
- service = getS.ClassName
- until getS.Parent == game
- end
- if parent.Parent ~= getS then
- repeat
- parent = parent.Parent
- if string.find(tostring(parent),' ') then
- if period then
- fullname = '["'..parent.Name..'"].'..fullname
- else
- fullname = '["'..parent.Name..'"]'..fullname
- end
- period = false
- else
- if period then
- fullname = parent.Name..'.'..fullname
- else
- fullname = parent.Name..''..fullname
- end
- period = true
- end
- until parent.Parent == getS
- elseif string.find(tostring(parent),' ') then
- fullname = '["'..parent.Name..'"]'
- period = false
- end
- if period then
- return 'game:GetService("'..service..'").'..fullname
- else
- return 'game:GetService("'..service..'")'..fullname
- end
- end
- AllWaypoints = {}
- local cooldown = false
- function writefileCooldown(name,data)
- spawn(function()
- if not cooldown then
- cooldown = true
- writefile(name, data)
- else
- repeat wait() until cooldown == false
- writefileCooldown(name,data)
- end
- wait(3)
- cooldown = false
- end)
- end
- function dragGUI(gui)
- spawn(function()
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(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(gui, TweenInfo.new(.20), {Position = Position}):Play()
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end)
- end
- dragGUI(logs)
- dragGUI(KeybindEditor)
- dragGUI(PluginEditor)
- dragGUI(ToPartFrame)
- eventEditor = (function()
- local events = {}
- local function registerEvent(name,sets)
- events[name] = {
- commands = {},
- sets = sets or {}
- }
- end
- local onEdited = nil
- local function fireEvent(name,...)
- local args = {...}
- local event = events[name]
- if event then
- for i,cmd in pairs(event.commands) do
- local metCondition = true
- for idx,set in pairs(event.sets) do
- local argVal = args[idx]
- local cmdSet = cmd[2][idx]
- local condType = set.Type
- if condType == "Player" then
- if cmdSet == 0 then
- metCondition = metCondition and (tostring(Players.LocalPlayer) == argVal)
- elseif cmdSet ~= 1 then
- metCondition = metCondition and table.find(getPlayer(cmdSet,Players.LocalPlayer),argVal)
- end
- elseif condType == "String" then
- if cmdSet ~= 0 then
- metCondition = metCondition and string.find(argVal:lower(),cmdSet:lower())
- end
- end
- if not metCondition then break end
- end
- if metCondition then
- pcall(coroutine.wrap(function()
- local cmdStr = cmd[1]
- for count,arg in pairs(args) do
- cmdStr = cmdStr:gsub("%$"..count,arg)
- end
- wait(cmd[3] or 0)
- execCmd(cmdStr)
- end))
- end
- end
- end
- end
- local main = create({
- {1,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderSizePixel=0,Name="EventEditor",Position=UDim2.new(0.5,-175,0,-500),Size=UDim2.new(0,350,0,20),ZIndex=10,}},
- {2,"Frame",{BackgroundColor3=currentShade2,BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
- {3,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={2},Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,0.95,0),Text="Event Editor",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=Enum.TextXAlignment.Center,ZIndex=10,}},
- {4,"TextButton",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Close",Parent={2},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
- {6,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,Name="Content",Parent={1},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,0,202),ZIndex=10,}},
- {7,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,100),Name="List",Parent={6},Position=UDim2.new(0,5,0,5),ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,-10,1,-10),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ZIndex=10,}},
- {8,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={7},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
- {9,"UIListLayout",{Parent={8},SortOrder=2,}},
- {10,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.3137255012989,0.3137255012989,0.3137255012989),BorderSizePixel=0,ClipsDescendants=true,Name="Settings",Parent={6},Position=UDim2.new(1,0,0,0),Size=UDim2.new(0,150,1,0),ZIndex=10,}},
- {11,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),Name="Slider",Parent={10},Position=UDim2.new(0,-150,0,0),Size=UDim2.new(1,0,1,0),ZIndex=10,}},
- {12,"Frame",{BackgroundColor3=Color3.new(0.23529413342476,0.23529413342476,0.23529413342476),BorderColor3=Color3.new(0.3137255012989,0.3137255012989,0.3137255012989),BorderSizePixel=0,Name="Line",Parent={11},Size=UDim2.new(0,1,1,0),ZIndex=10,}},
- {13,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,100),Name="List",Parent={11},Position=UDim2.new(0,0,0,25),ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,0,1,-25),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ZIndex=10,}},
- {14,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={13},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
- {15,"UIListLayout",{Parent={14},SortOrder=2,}},
- {16,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={11},Size=UDim2.new(1,0,0,20),Text="Event Settings",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {17,"TextButton",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Font=3,Name="Close",BorderSizePixel=0,Parent={11},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="<",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
- {18,"Folder",{Name="Templates",Parent={10},}},
- {19,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Players",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,86),Visible=false,ZIndex=10,}},
- {20,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={19},Size=UDim2.new(1,0,0,20),Text="Choose Players",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {21,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={19},Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-10,0,20),Text="Any Player",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {22,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={21},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {23,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={22},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
- {24,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Me",Parent={19},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Me Only",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {25,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={24},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {26,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={25},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
- {27,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={19},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Custom Player Set",Position=UDim2.new(0,5,0,64),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {28,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={19},Position=UDim2.new(1,-25,0,64),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {29,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={28},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
- {30,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Strings",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,64),Visible=false,ZIndex=10,}},
- {31,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={30},Size=UDim2.new(1,0,0,20),Text="Choose String",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {32,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={30},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Any String",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {33,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={32},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {34,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={33},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
- {35,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={30},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Match String",Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {36,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={30},Position=UDim2.new(1,-25,0,42),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {37,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={36},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
- {38,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="DelayEditor",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,24),Visible=false,ZIndex=10,}},
- {39,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,Font=3,Name="Secs",Parent={38},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),Position=UDim2.new(0,60,0,2),Size=UDim2.new(1,-65,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {40,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Label",Parent={39},Position=UDim2.new(0,-55,0,0),Size=UDim2.new(1,0,1,0),Text="Delay (s):",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {41,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="EventTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
- {42,"TextButton",{BackgroundColor3=currentText1,BackgroundTransparency=1,Font=3,Name="Expand",Parent={41},Size=UDim2.new(0,20,0,20),Text=">",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
- {43,"TextLabel",{BackgroundColor3=currentText1,BackgroundTransparency=1,Font=3,Name="EventName",Parent={41},Position=UDim2.new(0,25,0,0),Size=UDim2.new(1,-25,0,20),Text="OnSpawn",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {44,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BorderSizePixel=0,BackgroundTransparency=1,ClipsDescendants=true,Name="Cmds",Parent={41},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
- {45,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Name="Add",Parent={44},Position=UDim2.new(0,0,1,-20),Size=UDim2.new(1,0,0,20),ZIndex=10,}},
- {46,"TextBox",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,ClearTextOnFocus=false,Font=3,Parent={45},PlaceholderColor3=Color3.new(0.7843137383461,0.7843137383461,0.7843137383461),PlaceholderText="Add new command",Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-10,1,0),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {47,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={44},Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
- {48,"UIListLayout",{Parent={47},SortOrder=2,}},
- {49,"Frame",{currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="CmdTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
- {50,"TextBox",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,ClearTextOnFocus=false,Font=3,Parent={49},PlaceholderColor3=Color3.new(1,1,1),Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-45,0,20),Text="a\b\c\d",TextColor3=currentText1,TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {51,"TextButton",{BackgroundColor3=currentShade1,BorderSizePixel=0,Font=3,Name="Delete",Parent={49},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="X",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
- {52,"TextButton",{BackgroundColor3=currentShade1,BorderSizePixel=0,Font=3,Name="Settings",Parent={49},Position=UDim2.new(1,-40,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
- {53,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://1204397029",Parent={52},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),ZIndex=10,}},
- })
- main.Name = randomString()
- local mainFrame = main:WaitForChild("Content")
- local eventList = mainFrame:WaitForChild("List")
- local eventListHolder = eventList:WaitForChild("Holder")
- local cmdTemplate = mainFrame:WaitForChild("CmdTemplate")
- local eventTemplate = mainFrame:WaitForChild("EventTemplate")
- local settingsFrame = mainFrame:WaitForChild("Settings"):WaitForChild("Slider")
- local settingsTemplates = mainFrame.Settings:WaitForChild("Templates")
- local settingsList = settingsFrame:WaitForChild("List"):WaitForChild("Holder")
- table.insert(shade2,main.TopBar) table.insert(shade1,mainFrame) table.insert(shade2,eventTemplate)
- table.insert(text1,eventTemplate.EventName) table.insert(shade1,eventTemplate.Cmds.Add) table.insert(shade1,cmdTemplate)
- table.insert(text1,cmdTemplate.TextBox) table.insert(shade2,cmdTemplate.Delete) table.insert(shade2,cmdTemplate.Settings)
- table.insert(scroll,mainFrame.List) table.insert(shade1,settingsFrame) table.insert(shade2,settingsFrame.Line)
- table.insert(shade2,settingsFrame.Close) table.insert(scroll,settingsFrame.List) table.insert(shade2,settingsTemplates.DelayEditor.Secs)
- table.insert(text1,settingsTemplates.DelayEditor.Secs) table.insert(text1,settingsTemplates.DelayEditor.Secs.Label) table.insert(text1,settingsTemplates.Players.Title)
- table.insert(shade3,settingsTemplates.Players.CustomButton) table.insert(shade2,settingsTemplates.Players.Custom) table.insert(text1,settingsTemplates.Players.Custom)
- table.insert(shade3,settingsTemplates.Players.Any.Button) table.insert(shade3,settingsTemplates.Players.Me.Button) table.insert(text1,settingsTemplates.Players.Any)
- table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Strings.Title) table.insert(text1,settingsTemplates.Strings.Any)
- table.insert(shade3,settingsTemplates.Strings.Any.Button) table.insert(shade3,settingsTemplates.Strings.CustomButton) table.insert(text1,settingsTemplates.Strings.Custom)
- table.insert(shade2,settingsTemplates.Strings.Custom)
- local tween = game:GetService("TweenService")
- local tweenInf = TweenInfo.new(0.25,Enum.EasingStyle.Quart,Enum.EasingDirection.Out)
- local currentlyEditingCmd = nil
- settingsFrame:WaitForChild("Close").MouseButton1Click:Connect(function()
- settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
- end)
- local function resizeList()
- local size = 0
- for i,v in pairs(eventListHolder:GetChildren()) do
- if v.Name == "EventTemplate" then
- size = size + 20
- if v.Expand.Text == "V" then
- size = size + 20*(1+(#events[v.EventName.Text].commands or 0))
- end
- end
- end
- tween:Create(eventList,tweenInf,{CanvasSize = UDim2.new(0,0,0,size)}):Play()
- if size > eventList.AbsoluteSize.Y then
- eventListHolder.Size = UDim2.new(1,-8,1,0)
- else
- eventListHolder.Size = UDim2.new(1,0,1,0)
- end
- end
- local function resizeSettingsList()
- local size = 0
- for i,v in pairs(settingsList:GetChildren()) do
- if v:IsA("Frame") then
- size = size + v.AbsoluteSize.Y
- end
- end
- settingsList.Parent.CanvasSize = UDim2.new(0,0,0,size)
- if size > settingsList.Parent.AbsoluteSize.Y then
- settingsList.Size = UDim2.new(1,-8,1,0)
- else
- settingsList.Size = UDim2.new(1,0,1,0)
- end
- end
- local function setupCheckbox(button,callback)
- local enabled = button.On.BackgroundTransparency == 0
- local function update()
- button.On.BackgroundTransparency = (enabled and 0 or 1)
- end
- button.On.MouseButton1Click:Connect(function()
- enabled = not enabled
- update()
- if callback then callback(enabled) end
- end)
- return {
- Toggle = function(nocall) enabled = not enabled update() if not nocall and callback then callback(enabled) end end,
- Enable = function(nocall) if enabled then return end enabled = true update()if not nocall and callback then callback(enabled) end end,
- Disable = function(nocall) if not enabled then return end enabled = false update()if not nocall and callback then callback(enabled) end end,
- IsEnabled = function() return enabled end
- }
- end
- local function openSettingsEditor(event,cmd)
- currentlyEditingCmd = cmd
- for i,v in pairs(settingsList:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
- local delayEditor = settingsTemplates.DelayEditor:Clone()
- delayEditor.Secs.FocusLost:Connect(function()
- cmd[3] = tonumber(delayEditor.Secs.Text) or 0
- delayEditor.Secs.Text = cmd[3]
- if onEdited then onEdited() end
- end)
- delayEditor.Secs.Text = cmd[3]
- delayEditor.Visible = true
- table.insert(shade2,delayEditor.Secs)
- table.insert(text1,delayEditor.Secs)
- table.insert(text1,delayEditor.Secs.Label)
- delayEditor.Parent = settingsList
- for i,v in pairs(event.sets) do
- if v.Type == "Player" then
- local template = settingsTemplates.Players:Clone()
- template.Title.Text = v.Name or "Player"
- local me,any,custom
- me = setupCheckbox(template.Me.Button,function(on)
- if not on then return end
- any.Disable()
- custom.Disable()
- cmd[2][i] = 0
- if onEdited then onEdited() end
- end)
- any = setupCheckbox(template.Any.Button,function(on)
- if not on then return end
- me.Disable()
- custom.Disable()
- cmd[2][i] = 1
- if onEdited then onEdited() end
- end)
- local customTextBox = template.Custom
- custom = setupCheckbox(template.CustomButton,function(on)
- if not on then return end
- me.Disable()
- any.Disable()
- cmd[2][i] = customTextBox.Text
- if onEdited then onEdited() end
- end)
- ViewportTextBox.convert(customTextBox)
- customTextBox.FocusLost:Connect(function()
- if custom:IsEnabled() then
- cmd[2][i] = customTextBox.Text
- if onEdited then onEdited() end
- end
- end)
- local cVal = cmd[2][i]
- if cVal == 0 then
- me:Enable()
- elseif cVal == 1 then
- any:Enable()
- else
- custom:Enable()
- customTextBox.Text = cVal
- end
- template.Visible = true
- table.insert(text1,template.Title)
- table.insert(shade3,template.CustomButton)
- table.insert(shade3,template.Any.Button)
- table.insert(shade3,template.Me.Button)
- table.insert(text1,template.Any)
- table.insert(text1,template.Me)
- template.Parent = settingsList
- elseif v.Type == "String" then
- local template = settingsTemplates.Strings:Clone()
- template.Title.Text = v.Name or "String"
- local any,custom
- any = setupCheckbox(template.Any.Button,function(on)
- if not on then return end
- custom.Disable()
- cmd[2][i] = 0
- if onEdited then onEdited() end
- end)
- local customTextBox = template.Custom
- custom = setupCheckbox(template.CustomButton,function(on)
- if not on then return end
- any.Disable()
- cmd[2][i] = customTextBox.Text
- if onEdited then onEdited() end
- end)
- ViewportTextBox.convert(customTextBox)
- customTextBox.FocusLost:Connect(function()
- if custom:IsEnabled() then
- cmd[2][i] = customTextBox.Text
- if onEdited then onEdited() end
- end
- end)
- local cVal = cmd[2][i]
- if cVal == 0 then
- any:Enable()
- else
- custom:Enable()
- customTextBox.Text = cVal
- end
- template.Visible = true
- table.insert(text1,template.Title)
- table.insert(text1,template.Any)
- table.insert(shade3,template.Any.Button)
- table.insert(shade3,template.CustomButton)
- template.Parent = settingsList
- end
- end
- resizeSettingsList()
- settingsFrame:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
- end
- local function defaultSettings(ev)
- local res = {}
- for i,v in pairs(ev.sets) do
- if v.Type == "Player" then
- res[#res+1] = v.Default or 0
- elseif v.Type == "String" then
- res[#res+1] = v.Default or 0
- end
- end
- return res
- end
- local function refreshList()
- for i,v in pairs(eventListHolder:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
- for name,event in pairs(events) do
- local eventF = eventTemplate:Clone()
- eventF.EventName.Text = name
- eventF.Visible = true
- table.insert(shade2,eventF)
- table.insert(text1,eventF.EventName)
- table.insert(shade1,eventF.Cmds.Add)
- local expanded = false
- eventF.Expand.MouseButton1Down:Connect(function()
- expanded = not expanded
- eventF:TweenSize(UDim2.new(1,0,0,20 + (expanded and 20*#eventF.Cmds.Holder:GetChildren() or 0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
- eventF.Expand.Text = expanded and "V" or ">"
- resizeList()
- end)
- local function refreshCommands()
- for i,v in pairs(eventF.Cmds.Holder:GetChildren()) do
- if v.Name == "CmdTemplate" then
- v:Destroy()
- end
- end
- for i,cmd in pairs(event.commands) do
- local cmdF = cmdTemplate:Clone()
- local cmdTextBox = cmdF.TextBox
- ViewportTextBox.convert(cmdTextBox)
- cmdTextBox.Text = cmd[1]
- cmdF.Visible = true
- table.insert(shade1,cmdF)
- table.insert(shade2,cmdF.Delete)
- table.insert(shade2,cmdF.Settings)
- cmdTextBox.FocusLost:Connect(function()
- event.commands[i] = {cmdTextBox.Text,cmd[2],cmd[3]}
- if onEdited then onEdited() end
- end)
- cmdF.Settings.MouseButton1Click:Connect(function()
- openSettingsEditor(event,cmd)
- end)
- cmdF.Delete.MouseButton1Click:Connect(function()
- table.remove(event.commands,i)
- refreshCommands()
- resizeList()
- if currentlyEditingCmd == cmd then
- settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
- end
- if onEdited then onEdited() end
- end)
- cmdF.Parent = eventF.Cmds.Holder
- end
- eventF:TweenSize(UDim2.new(1,0,0,20 + (expanded and 20*#eventF.Cmds.Holder:GetChildren() or 0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
- end
- local newBox = eventF.Cmds.Add.TextBox
- ViewportTextBox.convert(newBox)
- newBox.FocusLost:Connect(function(enter)
- if enter then
- event.commands[#event.commands+1] = {newBox.Text,defaultSettings(event),0}
- newBox.Text = ""
- refreshCommands()
- resizeList()
- if onEdited then onEdited() end
- end
- end)
- --eventF:GetPropertyChangedSignal("AbsoluteSize"):Connect(resizeList)
- eventF.Parent = eventListHolder
- refreshCommands()
- end
- resizeList()
- end
- local function saveData()
- local result = {}
- for i,v in pairs(events) do
- result[i] = v.commands
- end
- return game:GetService("HttpService"):JSONEncode(result)
- end
- local function loadData(str)
- local data = game:GetService("HttpService"):JSONDecode(str)
- for i,v in pairs(data) do
- if events[i] then
- events[i].commands = v
- end
- end
- end
- local function addCmd(event,data)
- table.insert(events[event].commands,data)
- end
- local function setOnEdited(f)
- if type(f) == "function" then
- onEdited = f
- end
- end
- main.TopBar.Close.MouseButton1Click:Connect(function()
- main:TweenPosition(UDim2.new(0.5,-175,0,-500), "InOut", "Quart", 0.5, true, nil)
- end)
- dragGUI(main)
- main.Parent = PARENT
- return {
- RegisterEvent = registerEvent,
- FireEvent = fireEvent,
- Refresh = refreshList,
- SaveData = saveData,
- LoadData = loadData,
- AddCmd = addCmd,
- Frame = main,
- SetOnEdited = setOnEdited
- }
- end)()
- reference = (function()
- local main = create({
- {1,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,Name="Main",Position=UDim2.new(0.5,-250,0,-500),Size=UDim2.new(0,500,0,20),ZIndex=10,}},
- {2,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
- {3,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={2},Size=UDim2.new(1,0,0.94999998807907,0),Text="Reference",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {4,"TextButton",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Close",Parent={2},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
- {6,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderSizePixel=0,Name="Content",Parent={1},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,0,300),ZIndex=10,}},
- {7,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,1295),Name="List",Parent={6},ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,0,1,0),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",VerticalScrollBarInset=2,ZIndex=10,}},
- {8,"UIListLayout",{Parent={7},SortOrder=2,}},
- {9,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,411),ZIndex=10,}},
- {10,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={9},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Special Player Cases",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {11,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={9},Position=UDim2.new(0,8,0,25),Size=UDim2.new(1,-8,0,20),Text="These keywords can be used to quickly select groups of players in commands:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {12,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={9},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {13,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Cases",Parent={9},Position=UDim2.new(0,8,0,55),Size=UDim2.new(1,-16,0,342),ZIndex=10,}},
- {14,"UIListLayout",{Parent={13},SortOrder=2,}},
- {15,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {16,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={15},Size=UDim2.new(1,0,1,0),Text="all",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {17,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={15},Position=UDim2.new(0,15,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {18,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {19,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={18},Size=UDim2.new(1,0,1,0),Text="others",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {20,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={18},Position=UDim2.new(0,37,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone except you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {21,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {22,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={21},Size=UDim2.new(1,0,1,0),Text="me",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {23,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={21},Position=UDim2.new(0,19,0,0),Size=UDim2.new(1,0,1,0),Text="- includes your player only",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {24,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {25,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={24},Size=UDim2.new(1,0,1,0),Text="#[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {26,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={24},Position=UDim2.new(0,59,0,0),Size=UDim2.new(1,0,1,0),Text="- gets a specified amount of random players",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {27,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {28,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={27},Size=UDim2.new(1,0,1,0),Text="random",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {29,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={27},Position=UDim2.new(0,44,0,0),Size=UDim2.new(1,0,1,0),Text="- affects a random player",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {30,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {31,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={30},Size=UDim2.new(1,0,1,0),Text="%[team name]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {32,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={30},Position=UDim2.new(0,78,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone on a given team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {33,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {34,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={33},Size=UDim2.new(1,0,1,0),Text="allies / team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {35,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={33},Position=UDim2.new(0,63,0,0),Size=UDim2.new(1,0,1,0),Text="- players who are on your team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {36,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {37,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={36},Size=UDim2.new(1,0,1,0),Text="enemies / nonteam",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {38,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={36},Position=UDim2.new(0,101,0,0),Size=UDim2.new(1,0,1,0),Text="- players who are not on your team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {39,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {40,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={39},Size=UDim2.new(1,0,1,0),Text="friends",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {41,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={39},Position=UDim2.new(0,40,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone who is friends with you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {42,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {43,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={42},Size=UDim2.new(1,0,1,0),Text="nonfriends",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {44,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={42},Position=UDim2.new(0,61,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone who is not friends with you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {45,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {46,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={45},Size=UDim2.new(1,0,1,0),Text="guests",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {47,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={45},Position=UDim2.new(0,36,0,0),Size=UDim2.new(1,0,1,0),Text="- guest players (obsolete)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {48,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {49,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={48},Size=UDim2.new(1,0,1,0),Text="bacons",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {50,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={48},Position=UDim2.new(0,40,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone with the \"bacon\" or pal hair",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {51,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {52,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={51},Size=UDim2.new(1,0,1,0),Text="age[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {53,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={51},Position=UDim2.new(0,71,0,0),Size=UDim2.new(1,0,1,0),Text="- includes anyone below or at the given age",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {54,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {55,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={54},Size=UDim2.new(1,0,1,0),Text="rad[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {56,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={54},Position=UDim2.new(0,70,0,0),Size=UDim2.new(1,0,1,0),Text="- includes anyone within the given radius",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {57,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {58,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={57},Size=UDim2.new(1,0,1,0),Text="nearest",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {59,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={57},Position=UDim2.new(0,43,0,0),Size=UDim2.new(1,0,1,0),Text="- gets the closest player to you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {60,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {61,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={60},Size=UDim2.new(1,0,1,0),Text="farthest",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {62,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={60},Position=UDim2.new(0,46,0,0),Size=UDim2.new(1,0,1,0),Text="- gets the farthest player from you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {63,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {64,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={63},Size=UDim2.new(1,0,1,0),Text="group[ID]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {65,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={63},Position=UDim2.new(0,55,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are in a certain group",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {66,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {67,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={66},Size=UDim2.new(1,0,1,0),Text="alive",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {68,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={66},Position=UDim2.new(0,27,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are alive",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {69,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
- {70,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={69},Size=UDim2.new(1,0,1,0),Text="dead",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {71,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={69},Position=UDim2.new(0,29,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are dead",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {72,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,180),ZIndex=10,}},
- {73,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={72},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Various Operators",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {74,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={72},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {75,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={72},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,16),Text="Use commas to separate multiple expressions:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {76,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={72},Position=UDim2.new(0,8,0,75),Size=UDim2.new(1,-8,0,16),Text="Use - to exclude, and + to include players in your expression:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {77,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={72},Position=UDim2.new(0,8,0,91),Size=UDim2.new(1,-8,0,16),Text=";locate %blue-friends (gets players in blue team who aren't your friends)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {78,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={72},Position=UDim2.new(0,8,0,46),Size=UDim2.new(1,-8,0,16),Text=";locate noob,noob2,bob",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {79,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={72},Position=UDim2.new(0,8,0,120),Size=UDim2.new(1,-8,0,16),Text="Put ! before a command to run it with the last arguments it was ran with:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {80,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={72},Position=UDim2.new(0,8,0,136),Size=UDim2.new(1,-8,0,32),Text="After running ;offset 0 100 0, you can run !offset anytime to repeat that command with the same arguments that were used to run it last time",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {81,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,154),ZIndex=10,}},
- {82,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={81},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Command Looping",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {83,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={81},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,20),Text="Form: [How many times it loops]^[delay (optional)]^[command]",TextColor3=Color3.new(1,1,1),TextSize=15,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {84,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={81},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {85,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={81},Position=UDim2.new(0,8,0,50),Size=UDim2.new(1,-8,0,20),Text="Use the 'breakloops' command to stop all running loops.",TextColor3=Color3.new(1,1,1),TextSize=15,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {86,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={81},Position=UDim2.new(0,8,0,80),Size=UDim2.new(1,-8,0,16),Text="Examples:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {87,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={81},Position=UDim2.new(0,8,0,98),Size=UDim2.new(1,-8,0,42),Text=";5^btools - gives you 5 sets of btools\n;10^3^drophats - drops your hats every 3 seconds 10 times\n;inf^0.1^animspeed 100 - infinitely loops your animation speed to 100",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {88,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,120),ZIndex=10,}},
- {89,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={88},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Execute Multiple Commands at Once",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {90,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={88},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,20),Text="You can execute multiple commands at once using \"\\\"",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {91,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={88},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {92,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={88},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,-8,0,16),Text="Examples:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {93,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={88},Position=UDim2.new(0,8,0,78),Size=UDim2.new(1,-8,0,32),Text=";drophats\\respawn - drops your hats and respawns you\n;enable inventory\\enable playerlist\\refresh - enables those coregui items and refreshes you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {94,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
- {95,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={94},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Browse Command History",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {96,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={94},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="While focused on the command bar, you can use the up and down arrow keys to browse recently used commands",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {97,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={94},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {98,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
- {99,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={98},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Autocomplete in the Command Bar",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {100,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={98},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="While focused on the command bar, you can use the tab key to insert the top suggested command into the command bar.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {101,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={98},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {102,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,175),ZIndex=10,}},
- {103,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={102},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Using Event Binds",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {104,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={102},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="Use event binds to set up commands that get executed when certain events happen. You can edit the conditions for an event command to run (such as which player triggers it).",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {105,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={102},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
- {106,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={102},Position=UDim2.new(0,8,0,70),Size=UDim2.new(1,-8,0,48),Text="Some events may send arguments; you can use them in your event command by using $ followed by the argument number ($1, $2, etc). You can find out the order and types of these arguments by looking at the settings of the event command.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {107,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={102},Position=UDim2.new(0,8,0,130),Size=UDim2.new(1,-8,0,16),Text="Example:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {108,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={102},Position=UDim2.new(0,8,0,148),Size=UDim2.new(1,-8,0,16),Text="Setting up 'goto $1' on the OnChatted event will teleport you to any player that chats.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
- {109,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,105),ZIndex=10,}},
- {110,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={109},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Get Further Help",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
- {111,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={109},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="You can join the Discord server to get support with IY, and read up on more documentation such as the Plugin API.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
- {112,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={109},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),Visible=false,ZIndex=10,}},
- {113,"TextButton",{BackgroundColor3=Color3.new(0.48627451062202,0.61960786581039,0.85098040103912),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Font=4,Name="InviteButton",Parent={109},Position=UDim2.new(0,5,0,75),Size=UDim2.new(1,-10,0,25),Text="Copy Discord Invite Link (https://discord.io/infiniteyield)",TextColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),TextSize=16,ZIndex=10,}},
- })
- for i,v in pairs(main.Content.List:GetDescendants()) do
- if v:IsA("TextLabel") then
- table.insert(text1,v)
- end
- end
- table.insert(scroll,main.Content.List)
- table.insert(shade1,main.Content)
- table.insert(shade2,main.TopBar)
- main.Name = randomString()
- main.TopBar.Close.MouseButton1Click:Connect(function()
- main:TweenPosition(UDim2.new(0.5,-250,0,-500), "InOut", "Quart", 0.5, true, nil)
- end)
- local inviteButton = main:FindFirstChild("InviteButton",true)
- local lastPress = nil
- inviteButton.MouseButton1Click:Connect(function()
- local func = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
- if func then
- func("https://discord.io/infiniteyield")
- inviteButton.Text = "Copied"
- else
- inviteButton.Text = "No Clipboard Function, type out the link"
- end
- local pressTime = tick()
- lastPress = pressTime
- wait(2)
- if lastPress ~= pressTime then return end
- inviteButton.Text = "Copy Discord Invite Link (https://discord.io/infiniteyield)"
- end)
- dragGUI(main)
- main.Parent = PARENT
- ReferenceButton.MouseButton1Click:Connect(function()
- main:TweenPosition(UDim2.new(0.5,-250,0.5,-150), "InOut", "Quart", 0.5, true, nil)
- end)
- end)()
- currentShade1 = Color3.fromRGB(36, 36, 37)
- currentShade2 = Color3.fromRGB(46, 46, 47)
- currentShade3 = Color3.fromRGB(78, 78, 79)
- currentText1 = Color3.new(1, 1, 1)
- currentText2 = Color3.new(0, 0, 0)
- currentScroll = Color3.fromRGB(78,78,79)
- defaultsettings = {
- prefix = ';';
- StayOpen = false;
- logsEnabled = false;
- jLogsEnabled = false;
- aliases = {};
- binds = {};
- WayPoints = {};
- PluginsTable = {};
- currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
- currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
- currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
- currentText1 = {currentText1.R,currentText1.G,currentText1.B};
- currentText2 = {currentText2.R,currentText2.G,currentText2.B};
- currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
- eventBinds = eventEditor.SaveData()
- }
- defaults = game:GetService("HttpService"):JSONEncode(defaultsettings)
- nosaves = false
- local loadedEventData = nil
- function saves()
- if writefileExploit() then
- if pcall(function() readfile("IY_FE.iy") end) then
- if readfile("IY_FE.iy") ~= nil then
- local success, response = pcall(function()
- local json = game:GetService("HttpService"):JSONDecode(readfile("IY_FE.iy"))
- if json.prefix ~= nil then prefix = json.prefix else prefix = ';' end
- if json.StayOpen ~= nil then StayOpen = json.StayOpen else StayOpen = false end
- if json.logsEnabled ~= nil then logsEnabled = json.logsEnabled else logsEnabled = false end
- if json.jLogsEnabled ~= nil then jLogsEnabled = json.jLogsEnabled else jLogsEnabled = false end
- if json.aliases ~= nil then aliases = json.aliases else aliases = {} end
- if json.binds ~= nil then binds = json.binds else binds = {} end
- if json.spawnCmds ~= nil then spawnCmds = json.spawnCmds end
- if json.WayPoints ~= nil then AllWaypoints = json.WayPoints else WayPoints = {} AllWaypoints = {} end
- if json.PluginsTable ~= nil then PluginsTable = json.PluginsTable else PluginsTable = {} end
- if json.currentShade1 ~= nil then currentShade1 = Color3.new(json.currentShade1[1],json.currentShade1[2],json.currentShade1[3]) end
- if json.currentShade2 ~= nil then currentShade2 = Color3.new(json.currentShade2[1],json.currentShade2[2],json.currentShade2[3]) end
- if json.currentShade3 ~= nil then currentShade3 = Color3.new(json.currentShade3[1],json.currentShade3[2],json.currentShade3[3]) end
- if json.currentText1 ~= nil then currentText1 = Color3.new(json.currentText1[1],json.currentText1[2],json.currentText1[3]) end
- if json.currentText2 ~= nil then currentText2 = Color3.new(json.currentText2[1],json.currentText2[2],json.currentText2[3]) end
- if json.currentScroll ~= nil then currentScroll = Color3.new(json.currentScroll[1],json.currentScroll[2],json.currentScroll[3]) end
- if json.eventBinds then loadedEventData = json.eventBinds end
- end)
- if not success then
- warn("Save Json Error:", response)
- warn("Overwriting Save File")
- writefileCooldown("IY_FE.iy", defaults)
- wait()
- saves()
- end
- else
- writefileCooldown("IY_FE.iy", defaults)
- wait()
- saves()
- end
- else
- writefileCooldown("IY_FE.iy", defaults)
- wait()
- if pcall(function() readfile("IY_FE.iy") end) then
- saves()
- else
- nosaves = true
- prefix = ';'
- StayOpen = false
- logsEnabled = false
- jLogsEnabled = false
- aliases = {}
- binds = {}
- WayPoints = {}
- PluginsTable = {}
- local FileError = Instance.new("Frame")
- local background = Instance.new("Frame")
- local Directions = Instance.new("TextLabel")
- local shadow = Instance.new("Frame")
- local PopupText = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local ExitImage = Instance.new("ImageLabel")
- FileError.Name = randomString()
- FileError.Parent = PARENT
- FileError.Active = true
- FileError.BackgroundTransparency = 1
- FileError.Position = UDim2.new(0.5, -180, 0, 290)
- FileError.Size = UDim2.new(0, 360, 0, 20)
- FileError.ZIndex = 10
- background.Name = "background"
- background.Parent = FileError
- background.Active = true
- background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
- background.BorderSizePixel = 0
- background.Position = UDim2.new(0, 0, 0, 20)
- background.Size = UDim2.new(0, 360, 0, 205)
- background.ZIndex = 10
- Directions.Name = "Directions"
- Directions.Parent = background
- Directions.BackgroundTransparency = 1
- Directions.BorderSizePixel = 0
- Directions.Position = UDim2.new(0, 10, 0, 10)
- Directions.Size = UDim2.new(0, 340, 0, 185)
- Directions.Font = Enum.Font.SourceSans
- Directions.TextSize = 14
- Directions.Text = "There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again."
- Directions.TextColor3 = Color3.new(1, 1, 1)
- Directions.TextWrapped = true
- Directions.TextXAlignment = Enum.TextXAlignment.Left
- Directions.TextYAlignment = Enum.TextYAlignment.Top
- Directions.ZIndex = 10
- shadow.Name = "shadow"
- shadow.Parent = FileError
- shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- shadow.BorderSizePixel = 0
- shadow.Size = UDim2.new(0, 360, 0, 20)
- shadow.ZIndex = 10
- PopupText.Name = "PopupText"
- PopupText.Parent = shadow
- PopupText.BackgroundTransparency = 1
- PopupText.Size = UDim2.new(1, 0, 0.95, 0)
- PopupText.ZIndex = 10
- PopupText.Font = Enum.Font.SourceSans
- PopupText.TextSize = 14
- PopupText.Text = "File Error"
- PopupText.TextColor3 = Color3.new(1, 1, 1)
- PopupText.TextWrapped = true
- Exit.Name = "Exit"
- Exit.Parent = shadow
- Exit.BackgroundTransparency = 1
- Exit.Position = UDim2.new(1, -20, 0, 0)
- Exit.Size = UDim2.new(0, 20, 0, 20)
- Exit.Text = ""
- Exit.ZIndex = 10
- ExitImage.Parent = Exit
- ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitImage.BackgroundTransparency = 1
- ExitImage.Position = UDim2.new(0, 5, 0, 5)
- ExitImage.Size = UDim2.new(0, 10, 0, 10)
- ExitImage.Image = "rbxassetid://5054663650"
- ExitImage.ZIndex = 10
- Exit.MouseButton1Click:Connect(function()
- FileError:Destroy()
- end)
- end
- end
- else
- prefix = ';'
- StayOpen = false
- logsEnabled = false
- jLogsEnabled = false
- aliases = {}
- binds = {}
- WayPoints = {}
- PluginsTable = {}
- end
- end
- saves()
- function updatesaves()
- if nosaves == false and writefileExploit() then
- local update = {
- prefix = prefix;
- StayOpen = StayOpen;
- logsEnabled = logsEnabled;
- jLogsEnabled = jLogsEnabled;
- aliases = aliases;
- binds = binds;
- WayPoints = AllWaypoints;
- PluginsTable = PluginsTable;
- currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
- currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
- currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
- currentText1 = {currentText1.R,currentText1.G,currentText1.B};
- currentText2 = {currentText2.R,currentText2.G,currentText2.B};
- currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
- eventBinds = eventEditor.SaveData()
- }
- writefileCooldown("IY_FE.iy", game:GetService("HttpService"):JSONEncode(update))
- end
- end
- eventEditor.SetOnEdited(updatesaves)
- pWayPoints = {}
- WayPoints = {}
- if #AllWaypoints > 0 then
- for i = 1, #AllWaypoints do
- if not AllWaypoints[i].GAME or AllWaypoints[i].GAME == game.PlaceId then
- WayPoints[#WayPoints + 1] = {NAME = AllWaypoints[i].NAME, COORD = {AllWaypoints[i].COORD[1], AllWaypoints[i].COORD[2], AllWaypoints[i].COORD[3]}, GAME = AllWaypoints[i].GAME}
- end
- end
- end
- function Time()
- local HOUR = math.floor((tick() % 86400) / 3600)
- local MINUTE = math.floor((tick() % 3600) / 60)
- local SECOND = math.floor(tick() % 60)
- local AP = HOUR > 11 and 'PM' or 'AM'
- HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
- HOUR = HOUR < 10 and '0' .. HOUR or HOUR
- MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
- SECOND = SECOND < 10 and '0' .. SECOND or SECOND
- return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP
- end
- PrefixBox.Text = prefix
- local SettingsOpen = false
- if StayOpen == false then
- On.BackgroundTransparency = 1
- else
- On.BackgroundTransparency = 0
- end
- if logsEnabled then
- Toggle.Text = 'Enabled'
- else
- Toggle.Text = 'Disabled'
- end
- if jLogsEnabled then
- Toggle_2.Text = 'Enabled'
- else
- Toggle_2.Text = 'Disabled'
- end
- function maximizeHolder()
- if StayOpen == false then
- Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil)
- end
- end
- local minimizeNum = -20
- function minimizeHolder()
- if StayOpen == false then
- Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, minimizeNum), "InOut", "Quart", 0.5, true, nil)
- end
- end
- function cmdbarHolder()
- if StayOpen == false then
- Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil)
- end
- end
- pinNotification = nil
- local notifyCount = 0
- function notify(text,text2,length)
- spawn(function()
- local LnotifyCount = notifyCount+1
- local notificationPinned = false
- notifyCount = notifyCount+1
- if pinNotification then pinNotification:Disconnect() end
- pinNotification = Notification.MouseEnter:Connect(function()
- spawn(function()
- pinNotification:Disconnect()
- notificationPinned = true
- Notification.Title.BackgroundTransparency = 1
- wait(0.5)
- Notification.Title.BackgroundTransparency = 0
- end)
- end)
- Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
- wait(0.6)
- local closepressed = false
- if text2 then
- Notification.Title.Text = text
- Notification.Text.Text = text2
- else
- Notification.Title.Text = 'Notification'
- Notification.Text.Text = text
- end
- Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
- Notification.CloseButton.MouseButton1Click:Connect(function()
- Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
- closepressed = true
- pinNotification:Disconnect()
- end)
- if length and isNumber(length) then
- wait(length)
- else
- wait(10)
- end
- if LnotifyCount == notifyCount then
- if closepressed == false and notificationPinned == false then
- pinNotification:Disconnect()
- Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
- end
- notifyCount = 0
- end
- end)
- end
- local lastMessage = nil
- local lastLabel = nil
- local dupeCount = 1
- function CreateLabel(Name, Text)
- if lastMessage == Name..Text then
- dupeCount = dupeCount+1
- lastLabel.Text = Time()..' - ['..Name..']: '..Text..' (x'..dupeCount..')'
- else
- if dupeCount > 1 then dupeCount = 1 end
- if #scroll_2:GetChildren() >= 2546 then
- scroll_2:ClearAllChildren()
- end
- local alls = 0
- for i,v in pairs(scroll_2:GetChildren()) do
- if v then
- alls = v.Size.Y.Offset + alls
- end
- if not v then
- alls = 0
- end
- end
- local tl = Instance.new('TextLabel', scroll_2)
- lastMessage = Name..Text
- lastLabel = tl
- tl.Name = Name
- tl.ZIndex = 10
- tl.Text = Time().." - ["..Name.."]: "..Text
- tl.Size = UDim2.new(0,322,0,84)
- tl.BackgroundTransparency = 1
- tl.BorderSizePixel = 0
- tl.Font = "SourceSans"
- tl.Position = UDim2.new(-1,0,0,alls)
- tl.TextTransparency = 1
- tl.TextScaled = false
- tl.TextSize = 14
- tl.TextWrapped = true
- tl.TextXAlignment = "Left"
- tl.TextYAlignment = "Top"
- tl.TextColor3 = currentText1
- tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y)
- table.insert(text1,tl)
- scroll_2.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
- scroll_2.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+tl.TextBounds.Y)
- tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5)
- for i = 0,50 do wait(0.05)
- tl.TextTransparency = tl.TextTransparency - 0.05
- end
- tl.TextTransparency = 0
- end
- end
- function CreateJoinLabel(plr,ID)
- if #scroll_3:GetChildren() >= 2546 then
- scroll_3:ClearAllChildren()
- end
- local infoFrame = Instance.new("Frame")
- local info1 = Instance.new("TextLabel")
- local info2 = Instance.new("TextLabel")
- local ImageLabel_3 = Instance.new("ImageLabel")
- infoFrame.Name = "infoFrame"
- infoFrame.Parent = scroll_3
- infoFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- infoFrame.BackgroundTransparency = 1
- infoFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- infoFrame.Size = UDim2.new(1, 0, 0, 50)
- info1.Name = "info1"
- info1.Parent = infoFrame
- info1.BackgroundTransparency = 1
- info1.BorderSizePixel = 0
- info1.Position = UDim2.new(0, 45, 0, 0)
- info1.Size = UDim2.new(0, 135, 1, 0)
- info1.ZIndex = 10
- info1.Font = Enum.Font.SourceSans
- info1.FontSize = Enum.FontSize.Size14
- info1.Text = "Username: "..plr.Name.."\nJoined Server: "..Time()
- info1.TextColor3 = Color3.new(1, 1, 1)
- info1.TextWrapped = true
- info1.TextXAlignment = Enum.TextXAlignment.Left
- info2.Name = "info2"
- info2.Parent = infoFrame
- info2.BackgroundTransparency = 1
- info2.BorderSizePixel = 0
- info2.Position = UDim2.new(0, 185, 0, 0)
- info2.Size = UDim2.new(0, 140, 1, -5)
- info2.ZIndex = 10
- info2.Font = Enum.Font.SourceSans
- info2.FontSize = Enum.FontSize.Size14
- info2.Text = "User ID: "..ID.."\nAccount Age: "..plr.AccountAge.."\nJoined Roblox: Loading..."
- info2.TextColor3 = Color3.new(1, 1, 1)
- info2.TextWrapped = true
- info2.TextXAlignment = Enum.TextXAlignment.Left
- info2.TextYAlignment = Enum.TextYAlignment.Center
- ImageLabel_3.Parent = infoFrame
- ImageLabel_3.BackgroundTransparency = 1
- ImageLabel_3.BorderSizePixel = 0
- ImageLabel_3.Size = UDim2.new(0, 45, 1, 0)
- ImageLabel_3.Image = game.Players:GetUserThumbnailAsync(ID, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420)
- scroll_3.CanvasSize = UDim2.new(0, 0, 0, listlayout.AbsoluteContentSize.Y)
- scroll_3.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+infoFrame.AbsoluteSize.Y)
- wait()
- local user = game:HttpGet("https://users.roblox.com/v1/users/"..ID)
- local json = game:GetService("HttpService"):JSONDecode(user)
- local date = json["created"]:sub(1,10)
- local splitDates = string.split(date,"-")
- info2.Text = string.gsub(info2.Text, "Loading...",splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
- end
- IYMouse.KeyDown:connect(function(Key)
- if (Key==prefix) then
- Cmdbar:CaptureFocus()
- spawn(function()
- repeat Cmdbar.Text = '' until Cmdbar.Text == ''
- end)
- maximizeHolder()
- end
- end)
- local lastMinimizeReq = 0
- Holder.MouseEnter:Connect(function()
- lastMinimizeReq = 0
- maximizeHolder()
- end)
- Holder.MouseLeave:Connect(function()
- if not Cmdbar:IsFocused() then
- local reqTime = tick()
- lastMinimizeReq = reqTime
- wait(1)
- if lastMinimizeReq ~= reqTime then return end
- if not Cmdbar:IsFocused() then
- minimizeHolder()
- end
- end
- end)
- function updateColors(color,ctype)
- if ctype == shade1 then
- for i,v in pairs(shade1) do
- v.BackgroundColor3 = color
- end
- currentShade1 = color
- elseif ctype == shade2 then
- for i,v in pairs(shade2) do
- v.BackgroundColor3 = color
- end
- currentShade2 = color
- elseif ctype == shade3 then
- for i,v in pairs(shade3) do
- v.BackgroundColor3 = color
- end
- currentShade3 = color
- elseif ctype == text1 then
- for i,v in pairs(text1) do
- v.TextColor3 = color
- if v:IsA("TextBox") then
- v.PlaceholderColor3 = color
- end
- end
- currentText1 = color
- elseif ctype == text2 then
- for i,v in pairs(text2) do
- v.TextColor3 = color
- end
- currentText2 = color
- elseif ctype == scroll then
- for i,v in pairs(scroll) do
- v.ScrollBarImageColor3 = color
- end
- currentScroll = color
- end
- end
- local colorpickerOpen = false
- ColorsButton.MouseButton1Click:Connect(function()
- cache_currentShade1 = currentShade1
- cache_currentShade2 = currentShade2
- cache_currentShade3 = currentShade3
- cache_currentText1 = currentText1
- cache_currentText2 = currentText2
- cache_currentScroll = currentScroll
- if not colorpickerOpen then
- colorpickerOpen = true
- picker = game:GetObjects("rbxassetid://4908465318")[1]
- picker.Name = randomString()
- picker.Parent = PARENT
- local ColorPicker do
- ColorPicker = {}
- ColorPicker.new = function()
- local newMt = setmetatable({},{})
- local pickerGui = picker.ColorPicker
- local pickerTopBar = pickerGui.TopBar
- local pickerExit = pickerTopBar.Exit
- local pickerFrame = pickerGui.Content
- local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
- local colorStrip = pickerFrame.ColorStrip
- local previewFrame = pickerFrame.Preview
- local basicColorsFrame = pickerFrame.BasicColors
- local customColorsFrame = pickerFrame.CustomColors
- local defaultButton = pickerFrame.Default
- local cancelButton = pickerFrame.Cancel
- local shade1Button = pickerFrame.Shade1
- local shade2Button = pickerFrame.Shade2
- local shade3Button = pickerFrame.Shade3
- local text1Button = pickerFrame.Text1
- local text2Button = pickerFrame.Text2
- local scrollButton = pickerFrame.Scroll
- local colorScope = colorSpace.Scope
- local colorArrow = pickerFrame.ArrowFrame.Arrow
- local hueInput = pickerFrame.Hue.Input
- local satInput = pickerFrame.Sat.Input
- local valInput = pickerFrame.Val.Input
- local redInput = pickerFrame.Red.Input
- local greenInput = pickerFrame.Green.Input
- local blueInput = pickerFrame.Blue.Input
- local mouse = IYMouse
- local hue,sat,val = 0,0,1
- local red,green,blue = 1,1,1
- local chosenColor = Color3.new(0,0,0)
- local basicColors = {Color3.new(0,0,0),Color3.new(0.66666668653488,0,0),Color3.new(0,0.33333334326744,0),Color3.new(0.66666668653488,0.33333334326744,0),Color3.new(0,0.66666668653488,0),Color3.new(0.66666668653488,0.66666668653488,0),Color3.new(0,1,0),Color3.new(0.66666668653488,1,0),Color3.new(0,0,0.49803924560547),Color3.new(0.66666668653488,0,0.49803924560547),Color3.new(0,0.33333334326744,0.49803924560547),Color3.new(0.66666668653488,0.33333334326744,0.49803924560547),Color3.new(0,0.66666668653488,0.49803924560547),Color3.new(0.66666668653488,0.66666668653488,0.49803924560547),Color3.new(0,1,0.49803924560547),Color3.new(0.66666668653488,1,0.49803924560547),Color3.new(0,0,1),Color3.new(0.66666668653488,0,1),Color3.new(0,0.33333334326744,1),Color3.new(0.66666668653488,0.33333334326744,1),Color3.new(0,0.66666668653488,1),Color3.new(0.66666668653488,0.66666668653488,1),Color3.new(0,1,1),Color3.new(0.66666668653488,1,1),Color3.new(0.33333334326744,0,0),Color3.new(1,0,0),Color3.new(0.33333334326744,0.33333334326744,0),Color3.new(1,0.33333334326744,0),Color3.new(0.33333334326744,0.66666668653488,0),Color3.new(1,0.66666668653488,0),Color3.new(0.33333334326744,1,0),Color3.new(1,1,0),Color3.new(0.33333334326744,0,0.49803924560547),Color3.new(1,0,0.49803924560547),Color3.new(0.33333334326744,0.33333334326744,0.49803924560547),Color3.new(1,0.33333334326744,0.49803924560547),Color3.new(0.33333334326744,0.66666668653488,0.49803924560547),Color3.new(1,0.66666668653488,0.49803924560547),Color3.new(0.33333334326744,1,0.49803924560547),Color3.new(1,1,0.49803924560547),Color3.new(0.33333334326744,0,1),Color3.new(1,0,1),Color3.new(0.33333334326744,0.33333334326744,1),Color3.new(1,0.33333334326744,1),Color3.new(0.33333334326744,0.66666668653488,1),Color3.new(1,0.66666668653488,1),Color3.new(0.33333334326744,1,1),Color3.new(1,1,1)}
- local customColors = {}
- dragGUI(picker)
- local function updateColor(noupdate)
- local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
- local hsvColor = Color3.fromHSV(hue,sat,val)
- if noupdate == 2 or not noupdate then
- hueInput.Text = tostring(math.ceil(359*hue))
- satInput.Text = tostring(math.ceil(255*sat))
- valInput.Text = tostring(math.floor(255*val))
- end
- if noupdate == 1 or not noupdate then
- redInput.Text = tostring(math.floor(255*red))
- greenInput.Text = tostring(math.floor(255*green))
- blueInput.Text = tostring(math.floor(255*blue))
- end
- chosenColor = Color3.new(red,green,blue)
- colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
- colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
- colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
- previewFrame.BackgroundColor3 = chosenColor
- newMt.Color = chosenColor
- if newMt.Changed then newMt:Changed(chosenColor) end
- end
- local function colorSpaceInput()
- local relativeX = mouse.X - colorSpace.AbsolutePosition.X
- local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
- if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
- if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
- hue = (219 - relativeX)/219
- sat = (199 - relativeY)/199
- local hsvColor = Color3.fromHSV(hue,sat,val)
- red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
- updateColor()
- end
- local function colorStripInput()
- local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
- if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
- val = (199 - relativeY)/199
- local hsvColor = Color3.fromHSV(hue,sat,val)
- red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
- updateColor()
- end
- local function hookButtons(frame,func)
- frame.ArrowFrame.Up.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- frame.ArrowFrame.Up.BackgroundTransparency = 0.5
- elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
- local releaseEvent,runEvent
- local startTime = tick()
- local pressing = true
- local startNum = tonumber(frame.Text)
- if not startNum then return end
- releaseEvent = UserInputService.InputEnded:Connect(function(input)
- if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
- releaseEvent:Disconnect()
- pressing = false
- end)
- startNum = startNum + 1
- func(startNum)
- while pressing do
- if tick()-startTime > 0.3 then
- startNum = startNum + 1
- func(startNum)
- end
- wait(0.1)
- end
- end
- end)
- frame.ArrowFrame.Up.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- frame.ArrowFrame.Up.BackgroundTransparency = 1
- end
- end)
- frame.ArrowFrame.Down.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- frame.ArrowFrame.Down.BackgroundTransparency = 0.5
- elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
- local releaseEvent,runEvent
- local startTime = tick()
- local pressing = true
- local startNum = tonumber(frame.Text)
- if not startNum then return end
- releaseEvent = UserInputService.InputEnded:Connect(function(input)
- if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
- releaseEvent:Disconnect()
- pressing = false
- end)
- startNum = startNum - 1
- func(startNum)
- while pressing do
- if tick()-startTime > 0.3 then
- startNum = startNum - 1
- func(startNum)
- end
- wait(0.1)
- end
- end
- end)
- frame.ArrowFrame.Down.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- frame.ArrowFrame.Down.BackgroundTransparency = 1
- end
- end)
- end
- colorSpace.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- local releaseEvent,mouseEvent
- releaseEvent = UserInputService.InputEnded:Connect(function(input)
- if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
- releaseEvent:Disconnect()
- mouseEvent:Disconnect()
- end)
- mouseEvent = UserInputService.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- colorSpaceInput()
- end
- end)
- colorSpaceInput()
- end
- end)
- colorStrip.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- local releaseEvent,mouseEvent
- releaseEvent = UserInputService.InputEnded:Connect(function(input)
- if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
- releaseEvent:Disconnect()
- mouseEvent:Disconnect()
- end)
- mouseEvent = UserInputService.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- colorStripInput()
- end
- end)
- colorStripInput()
- end
- end)
- local function updateHue(str)
- local num = tonumber(str)
- if num then
- hue = math.clamp(math.floor(num),0,359)/359
- local hsvColor = Color3.fromHSV(hue,sat,val)
- red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
- hueInput.Text = tostring(hue*359)
- updateColor(1)
- end
- end
- hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
- local function updateSat(str)
- local num = tonumber(str)
- if num then
- sat = math.clamp(math.floor(num),0,255)/255
- local hsvColor = Color3.fromHSV(hue,sat,val)
- red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
- satInput.Text = tostring(sat*255)
- updateColor(1)
- end
- end
- satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
- local function updateVal(str)
- local num = tonumber(str)
- if num then
- val = math.clamp(math.floor(num),0,255)/255
- local hsvColor = Color3.fromHSV(hue,sat,val)
- red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
- valInput.Text = tostring(val*255)
- updateColor(1)
- end
- end
- valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
- local function updateRed(str)
- local num = tonumber(str)
- if num then
- red = math.clamp(math.floor(num),0,255)/255
- local newColor = Color3.new(red,green,blue)
- hue,sat,val = Color3.toHSV(newColor)
- redInput.Text = tostring(red*255)
- updateColor(2)
- end
- end
- redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
- local function updateGreen(str)
- local num = tonumber(str)
- if num then
- green = math.clamp(math.floor(num),0,255)/255
- local newColor = Color3.new(red,green,blue)
- hue,sat,val = Color3.toHSV(newColor)
- greenInput.Text = tostring(green*255)
- updateColor(2)
- end
- end
- greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
- local function updateBlue(str)
- local num = tonumber(str)
- if num then
- blue = math.clamp(math.floor(num),0,255)/255
- local newColor = Color3.new(red,green,blue)
- hue,sat,val = Color3.toHSV(newColor)
- blueInput.Text = tostring(blue*255)
- updateColor(2)
- end
- end
- blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
- local colorChoice = Instance.new("TextButton")
- colorChoice.Name = "Choice"
- colorChoice.Size = UDim2.new(0,25,0,18)
- colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
- colorChoice.Text = ""
- colorChoice.AutoButtonColor = false
- colorChoice.ZIndex = 10
- local row = 0
- local column = 0
- for i,v in pairs(basicColors) do
- local newColor = colorChoice:Clone()
- newColor.BackgroundColor3 = v
- newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
- newColor.MouseButton1Click:Connect(function()
- red,green,blue = v.r,v.g,v.b
- local newColor = Color3.new(red,green,blue)
- hue,sat,val = Color3.toHSV(newColor)
- updateColor()
- end)
- newColor.Parent = basicColorsFrame
- column = column + 1
- if column == 6 then row = row + 1 column = 0 end
- end
- row = 0
- column = 0
- for i = 1,12 do
- local color = customColors[i] or Color3.new(0,0,0)
- local newColor = colorChoice:Clone()
- newColor.BackgroundColor3 = color
- newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
- newColor.MouseButton1Click:Connect(function()
- local curColor = customColors[i] or Color3.new(0,0,0)
- red,green,blue = curColor.r,curColor.g,curColor.b
- hue,sat,val = Color3.toHSV(curColor)
- updateColor()
- end)
- newColor.MouseButton2Click:Connect(function()
- customColors[i] = chosenColor
- newColor.BackgroundColor3 = chosenColor
- end)
- newColor.Parent = customColorsFrame
- column = column + 1
- if column == 6 then row = row + 1 column = 0 end
- end
- shade1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade1) end end)
- shade1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0.4 end end)
- shade1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0 end end)
- shade2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade2) end end)
- shade2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0.4 end end)
- shade2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0 end end)
- shade3Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade3) end end)
- shade3Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0.4 end end)
- shade3Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0 end end)
- text1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text1) end end)
- text1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0.4 end end)
- text1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0 end end)
- text2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text2) end end)
- text2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0.4 end end)
- text2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0 end end)
- scrollButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,scroll) end end)
- scrollButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0.4 end end)
- scrollButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0 end end)
- cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end end)
- cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
- cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
- defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end end)
- defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
- defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
- pickerExit.MouseButton1Click:Connect(function()
- picker:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil)
- end)
- updateColor()
- newMt.SetColor = function(self,color)
- red,green,blue = color.r,color.g,color.b
- hue,sat,val = Color3.toHSV(color)
- updateColor()
- end
- return newMt
- end
- end
- picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
- local Npicker = ColorPicker.new()
- Npicker.Confirm = function(self,color,ctype) updateColors(color,ctype) wait() updatesaves() end
- Npicker.Cancel = function(self)
- updateColors(cache_currentShade1,shade1)
- updateColors(cache_currentShade2,shade2)
- updateColors(cache_currentShade3,shade3)
- updateColors(cache_currentText1,text1)
- updateColors(cache_currentText2,text2)
- updateColors(cache_currentScroll,scroll)
- wait()
- updatesaves()
- end
- Npicker.Default = function(self)
- updateColors(Color3.fromRGB(36, 36, 37),shade1)
- updateColors(Color3.fromRGB(46, 46, 47),shade2)
- updateColors(Color3.fromRGB(78, 78, 79),shade3)
- updateColors(Color3.new(1, 1, 1),text1)
- updateColors(Color3.new(0, 0, 0),text2)
- updateColors(Color3.fromRGB(78,78,79),scroll)
- wait()
- updatesaves()
- end
- else
- picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
- end
- end)
- SettingsButton.MouseButton1Click:Connect(function()
- if SettingsOpen == false then SettingsOpen = true
- Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
- CMDsF.Visible = false
- else SettingsOpen = false
- CMDsF.Visible = true
- Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
- end
- end)
- On.MouseButton1Click:Connect(function()
- if StayOpen == false then StayOpen = true
- On.BackgroundTransparency = 0
- else StayOpen = false
- On.BackgroundTransparency = 1
- end
- updatesaves()
- end)
- Clear.MouseButton1Down:connect(function()
- for _, child in pairs(scroll_2:GetChildren()) do
- child:Destroy()
- end
- scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
- end)
- Toggle.MouseButton1Down:connect(function()
- if logsEnabled then
- logsEnabled = false
- Toggle.Text = 'Disabled'
- updatesaves()
- else
- logsEnabled = true
- Toggle.Text = 'Enabled'
- updatesaves()
- end
- end)
- Toggle_2.MouseButton1Down:connect(function()
- if jLogsEnabled then
- jLogsEnabled = false
- Toggle_2.Text = 'Disabled'
- updatesaves()
- else
- jLogsEnabled = true
- Toggle_2.Text = 'Enabled'
- updatesaves()
- end
- end)
- selectChat.MouseButton1Down:connect(function()
- join.Visible = false
- chat.Visible = true
- table.remove(shade3,table.find(shade3,selectChat))
- table.remove(shade2,table.find(shade2,selectJoin))
- table.insert(shade2,selectChat)
- table.insert(shade3,selectJoin)
- selectJoin.BackgroundColor3 = currentShade3
- selectChat.BackgroundColor3 = currentShade2
- end)
- selectJoin.MouseButton1Down:connect(function()
- chat.Visible = false
- join.Visible = true
- table.remove(shade3,table.find(shade3,selectJoin))
- table.remove(shade2,table.find(shade2,selectChat))
- table.insert(shade2,selectJoin)
- table.insert(shade3,selectChat)
- selectChat.BackgroundColor3 = currentShade3
- selectJoin.BackgroundColor3 = currentShade2
- end)
- if not writefileExploit() then
- notify('Saves','Your exploit does not support read/write file. Your settings will not save.')
- end
- ChatLog = function(plr)
- plr.Chatted:Connect(function(Message)
- if logsEnabled == true then
- CreateLabel(plr.Name,Message)
- end
- end)
- end
- JoinLog = function(plr)
- if jLogsEnabled == true then
- CreateJoinLabel(plr,plr.UserId)
- end
- end
- SaveChatlogs.MouseButton1Down:connect(function()
- if writefileExploit() then
- if #scroll_2:GetChildren() > 0 then
- notify("Loading",'Hold on a sec')
- local placeName = game:GetService('MarketplaceService'):GetProductInfo(game.PlaceId).Name
- local writelogs = '-- Infinite Yield Chat logs for "'..placeName..'"\n'
- for _, child in pairs(scroll_2:GetChildren()) do
- writelogs = writelogs..'\n'..child.Text
- end
- local writelogsFile = tostring(writelogs)
- local fileext = 0
- local function nameFile()
- local file
- pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end)
- if file then
- fileext = fileext+1
- nameFile()
- else
- writefileCooldown(placeName..' Chat Logs ('..fileext..').txt', writelogsFile)
- end
- end
- nameFile()
- notify('Chat Logs','Saved chat logs to the workspace folder within your exploit folder.')
- end
- else
- notify('Chat Logs','Your exploit does not support write file. You cannot save chat logs.')
- end
- end)
- for _, plr in pairs(Players:GetChildren()) do
- if plr.ClassName == "Player" then
- ChatLog(plr)
- end
- end
- Players.PlayerRemoving:connect(function(player)
- for i,v in pairs(PARENT:GetChildren()) do
- if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' or v.Name == player.Name..'_CHMS' then
- v:Destroy()
- end
- end
- if viewing ~= nil and player == viewing then
- workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
- viewing = nil
- if viewDied then
- viewDied:Disconnect()
- viewChanged:Disconnect()
- end
- notify('Spectate','View turned off (player left)')
- end
- end)
- shadow.Exit.MouseButton1Down:connect(function()
- logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
- end)
- shadow.Hide.MouseButton1Down:connect(function()
- if logs.Position ~= UDim2.new(0, 0, 1, -20) then
- logs:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil)
- else
- logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
- end
- end)
- EventBind.MouseButton1Click:Connect(function()
- eventEditor.Frame:TweenPosition(UDim2.new(0.5,-175,0.5,-101), "InOut", "Quart", 0.5, true, nil)
- end)
- Keybinds.MouseButton1Click:Connect(function()
- KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
- wait(0.5)
- SettingsHolder.Visible = false
- end)
- KeybindsFrame.Close.MouseButton1Click:Connect(function()
- SettingsHolder.Visible = true
- KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
- end)
- Keybinds.MouseButton1Click:Connect(function()
- KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
- wait(0.5)
- SettingsHolder.Visible = false
- end)
- KeybindsFrame.Add.MouseButton1Click:Connect(function()
- KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil)
- end)
- KeybindsFrame.Delete.MouseButton1Click:Connect(function()
- binds = {}
- refreshbinds()
- updatesaves()
- notify('Keybinds Updated','Removed all keybinds')
- end)
- AliasesFrame.Close.MouseButton1Click:Connect(function()
- SettingsHolder.Visible = true
- AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
- end)
- Aliases.MouseButton1Click:Connect(function()
- AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
- wait(0.5)
- SettingsHolder.Visible = false
- end)
- PositionsFrame.Close.MouseButton1Click:Connect(function()
- SettingsHolder.Visible = true
- PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
- end)
- Positions.MouseButton1Click:Connect(function()
- PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
- wait(0.5)
- SettingsHolder.Visible = false
- end)
- local selectionBox = Instance.new("SelectionBox")
- selectionBox.Name = randomString()
- selectionBox.Color3 = Color3.new(255,255,255)
- selectionBox.Adornee = nil
- selectionBox.Parent = PARENT
- local selected = Instance.new("SelectionBox")
- selected.Name = randomString()
- selected.Color3 = Color3.new(0,166,0)
- selected.Adornee = nil
- selected.Parent = PARENT
- local ActivateHighlight = nil
- local ClickSelect = nil
- Part.MouseButton1Click:Connect(function()
- ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, 335), "InOut", "Quart", 0.5, true, nil)
- local function HighlightPart()
- if selected.Adornee ~= IYMouse.Target then
- selectionBox.Adornee = IYMouse.Target
- else
- selectionBox.Adornee = nil
- end
- end
- ActivateHighlight = IYMouse.Move:connect(HighlightPart)
- local function SelectPart()
- if IYMouse.Target ~= nil then
- selected.Adornee = IYMouse.Target
- Path.Text = getHierarchy(IYMouse.Target)
- end
- end
- ClickSelect = IYMouse.Button1Down:connect(SelectPart)
- end)
- Exit_4.MouseButton1Click:Connect(function()
- ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
- if ActivateHighlight then
- ActivateHighlight:Disconnect()
- end
- if ClickSelect then
- ClickSelect:Disconnect()
- end
- selectionBox.Adornee = nil
- selected.Adornee = nil
- Path.Text = ""
- end)
- CopyPath.MouseButton1Click:Connect(function()
- if Path.Text ~= "" then
- toClipboard(Path.Text)
- else
- notify('Copy Path','Select a part to copy its path')
- end
- end)
- ChoosePart.MouseButton1Click:Connect(function()
- if Path.Text ~= "" then
- local tpNameExt = ''
- local function handleWpNames()
- local FoundDupe = false
- for i,v in pairs(pWayPoints) do
- if v.NAME:lower() == selected.Adornee.Name:lower()..tpNameExt then
- FoundDupe = true
- end
- end
- if not FoundDupe then
- notify('Modified Waypoints',"Created waypoint: "..selected.Adornee.Name..tpNameExt)
- pWayPoints[#pWayPoints + 1] = {NAME = selected.Adornee.Name..tpNameExt, COORD = {selected.Adornee}}
- else
- if isNumber(tpNameExt) then
- tpNameExt = tpNameExt+1
- else
- tpNameExt = 1
- end
- handleWpNames()
- end
- end
- handleWpNames()
- refreshwaypoints()
- else
- notify('Part Selection','Select a part first')
- end
- end)
- cmds={}
- customAlias = {}
- AliasesFrame.Delete.MouseButton1Click:Connect(function()
- customAlias = {}
- aliases = {}
- notify('Aliases Modified','Removed all aliases')
- updatesaves()
- refreshaliases()
- end)
- PrefixBox:GetPropertyChangedSignal("Text"):connect(function()
- prefix = PrefixBox.Text
- Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
- updatesaves()
- end)
- function CamViewport()
- if workspace.CurrentCamera then
- return workspace.CurrentCamera.ViewportSize.X
- end
- end
- function UpdateToViewport()
- if Holder.Position.X.Offset < -CamViewport() then
- Holder:TweenPosition(UDim2.new(1, -CamViewport(), Holder.Position.Y.Scale, Holder.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
- Notification:TweenPosition(UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
- end
- end
- CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):connect(UpdateToViewport)
- function updateCamera(child, parent)
- if parent ~= workspace then
- CamMoved:Disconnect()
- CameraChanged:Disconnect()
- repeat wait() until workspace.CurrentCamera
- CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):connect(UpdateToViewport)
- CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
- end
- end
- CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
- function dragMain(dragpoint,gui)
- spawn(function()
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local pos = -250
- local delta = input.Position - dragStart
- if startPos.X.Offset + delta.X <= -500 then
- local Position = UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
- game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
- pos = 250
- else
- local Position = UDim2.new(1, -500, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
- game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
- pos = -250
- end
- if startPos.X.Offset + delta.X <= -250 and -CamViewport() <= startPos.X.Offset + delta.X then
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset)
- game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
- local Position2 = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
- game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
- elseif startPos.X.Offset + delta.X > -500 then
- local Position = UDim2.new(1, -250, gui.Position.Y.Scale, gui.Position.Y.Offset)
- game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
- elseif -CamViewport() > startPos.X.Offset + delta.X then
- gui:TweenPosition(UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
- local Position = UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset)
- game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
- local Position2 = UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
- game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
- end
- end
- dragpoint.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- dragpoint.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end)
- end
- dragMain(Title,Holder)
- Match = function(name,str)
- str = str:gsub("%W", "%%%1")
- return name:lower():find(str:lower()) and true
- end
- local canvasPos = Vector2.new(0,0)
- local topCommand = nil
- IndexContents = function(str,bool,cmdbar,Ianim)
- local Index,SizeY = 0,0
- local indexnum = 0
- local frame = CMDsF
- topCommand = nil
- local chunks = {}
- if str:sub(#str,#str) == "\\" then str = "" end
- for w in string.gmatch(str,"[^\\]+") do
- table.insert(chunks,w)
- end
- if #chunks > 0 then str = chunks[#chunks] end
- if str:sub(1,1) == "!" then str = str:sub(2) end
- for i,v in next, frame:GetChildren() do
- if bool then
- if Match(v.Text,str) then
- indexnum = indexnum + 1
- Index = Index + 1
- v.Visible = true
- v:TweenPosition(UDim2.new(0,10,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y), "InOut", "Quart", 0.2, true, nil)
- SizeY = SizeY + v.AbsoluteSize.Y
- frame.CanvasSize = UDim2.new(0,0,0,SizeY)
- if topCommand == nil then
- topCommand = v.Text
- end
- else
- v.Visible = false
- end
- else
- v.Visible = true
- SizeY = SizeY + v.AbsoluteSize.Y
- frame.CanvasSize = UDim2.new(0,0,0,SizeY)
- if topCommand == nil then
- topCommand = v.Text
- end
- end
- end
- if not Ianim then
- if indexnum == 0 or string.find(str, " ") then
- if not cmdbar then
- minimizeHolder()
- elseif cmdbar then
- cmdbarHolder()
- end
- else
- maximizeHolder()
- end
- else
- minimizeHolder()
- end
- end
- PlayerGui = Players.LocalPlayer:FindFirstChildOfClass("PlayerGui")
- local chatbox
- if pcall(function() chatbox = Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui").Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end) then
- local function chatboxFocused()
- canvasPos = CMDsF.CanvasPosition
- end
- local chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
- local function Index()
- if chatbox.Text:lower():sub(1,1) == prefix then
- if SettingsOpen == true then
- wait(0.2)
- CMDsF.Visible = true
- Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
- end
- IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
- else
- minimizeHolder()
- if SettingsOpen == true then
- wait(0.2)
- Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
- CMDsF.Visible = false
- end
- end
- end
- local chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
- function chatboxFocusLost(enterpressed)
- if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then
- IndexContents('',true)
- end
- CMDsF.CanvasPosition = canvasPos
- minimizeHolder()
- end
- local chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
- Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui").Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
- wait()
- if newbar:FindFirstChild('BoxFrame') then
- chatbox = Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui").Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
- if chatboxFocusedC then chatboxFocusedC:Disconnect() end
- chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
- if chatboxFunc then chatboxFunc:Disconnect() end
- chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
- if chatboxFocusLostC then chatboxFocusLostC:Disconnect() end
- chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
- end
- end)
- --else
- --print('Custom chat detected. Will not provide suggestions for commands typed in the chat.')
- end
- function autoComplete(str,curText)
- local endingChar = {"[", "/", "(", " "}
- local stop = 0
- for i=1,#str do
- local c = str:sub(i,i)
- if table.find(endingChar, c) then
- stop = i
- break
- end
- end
- curText = curText or Cmdbar.Text
- local subPos = 0
- local pos = 1
- local findRes = string.find(curText,"\\",pos)
- while findRes do
- subPos = findRes
- pos = findRes+1
- findRes = string.find(curText,"\\",pos)
- end
- if curText:sub(subPos+1,subPos+1) == "!" then subPos = subPos + 1 end
- Cmdbar.Text = curText:sub(1,subPos) .. str:sub(1, stop - 1)..' '
- wait()
- Cmdbar.Text = Cmdbar.Text:gsub( '\t', '' )
- Cmdbar.CursorPosition = #Cmdbar.Text+1--1020
- end
- CMDs = {}
- CMDs[#CMDs + 1] = {NAME = 'console', DESC = 'Loads old Roblox console'}
- CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX explorer'}
- CMDs[#CMDs + 1] = {NAME = 'remotespy / rspy', DESC = 'Opens FrostHook Spy'}
- CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'}
- CMDs[#CMDs + 1] = {NAME = 'jobid', DESC = 'Copies the games JobId to your clipboard'}
- CMDs[#CMDs + 1] = {NAME = 'notifyjobid', DESC = 'Notifies you the games JobId'}
- CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'}
- CMDs[#CMDs + 1] = {NAME = 'serverhop [maxplayers] [minplayers] [maxqueries]', DESC = 'Teleports you to a different server'}
- CMDs[#CMDs + 1] = {NAME = 'joinplayer [username / ID] [place ID]', DESC = 'Joins a specific players server'}
- CMDs[#CMDs + 1] = {NAME = 'gameteleport / gametp [place ID]', DESC = 'Joins a game by ID'}
- CMDs[#CMDs + 1] = {NAME = 'antiidle / antiafk', DESC = 'Prevents the game from kicking you for being idle/afk'}
- CMDs[#CMDs + 1] = {NAME = 'datalimit [num]', DESC = 'Set outgoing KBPS limit'}
- CMDs[#CMDs + 1] = {NAME = 'replicationlag / backtrack [num]', DESC = 'Set IncommingReplicationLag'}
- CMDs[#CMDs + 1] = {NAME = 'nopurchaseprompts / noprompts', DESC = 'Prevents the game from showing you purchase prompts'}
- CMDs[#CMDs + 1] = {NAME = 'showpurchaseprompts / showprompts', DESC = 'Allows the game to show purchase prompts again'}
- CMDs[#CMDs + 1] = {NAME = 'enable [inventory/playerlist/chat/all]', DESC = 'Toggles visibility of coregui items'}
- CMDs[#CMDs + 1] = {NAME = 'disable [inventory/playerlist/chat/all]', DESC = 'Toggles visibility of coregui items'}
- CMDs[#CMDs + 1] = {NAME = 'showguis', DESC = 'Shows any invisible GUIs'}
- CMDs[#CMDs + 1] = {NAME = 'unshowguis', DESC = 'Undoes showguis'}
- CMDs[#CMDs + 1] = {NAME = 'hideguis', DESC = 'Hides any GUIs in PlayerGui'}
- CMDs[#CMDs + 1] = {NAME = 'unhideguis', DESC = 'Undoes hideguis'}
- CMDs[#CMDs + 1] = {NAME = 'hideiy', DESC = 'Hides the main IY GUI'}
- CMDs[#CMDs + 1] = {NAME = 'showiy', DESC = 'Shows IY again'}
- CMDs[#CMDs + 1] = {NAME = 'savegame / saveplace', DESC = 'Uses saveinstance to save the game'}
- CMDs[#CMDs + 1] = {NAME = 'clearerror', DESC = 'Clears the annoying box and blur when a game kicks you'}
- CMDs[#CMDs + 1] = {NAME = 'clientantikick / antikick (CLIENT)', DESC = 'Prevents localscripts from kicking you'}
- CMDs[#CMDs + 1] = {NAME = 'volume / vol [0-10]', DESC = 'Adjusts your game volume on a scale of 0 to 10'}
- CMDs[#CMDs + 1] = {NAME = 'antilag / boostfps / lowgraphics', DESC = 'Lowers game quality to boost FPS'}
- CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'}
- CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'}
- CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'}
- CMDs[#CMDs + 1] = {NAME = 'fly', DESC = 'Makes you fly'}
- CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'}
- CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed (default is 20)'}
- CMDs[#CMDs + 1] = {NAME = 'vehiclefly / vfly', DESC = 'Makes you fly in a vehicle'}
- CMDs[#CMDs + 1] = {NAME = 'unvehiclefly / unvfly', DESC = 'Disables vehicle fly'}
- CMDs[#CMDs + 1] = {NAME = 'vehicleflyspeed / vflyspeed [num]', DESC = 'Set vehicle fly speed'}
- CMDs[#CMDs + 1] = {NAME = 'qefly [true / false]', DESC = 'enables or disables the Q and E hotkeys for fly'}
- CMDs[#CMDs + 1] = {NAME = 'vehiclenoclip / vnoclip', DESC = 'Turns off vehicle collision'}
- CMDs[#CMDs + 1] = {NAME = 'vehicleclip / vclip / unvnoclip', DESC = 'Enables vehicle collision'}
- CMDs[#CMDs + 1] = {NAME = 'float / platform', DESC = 'Spawns a platform beneath you causing you to float'}
- CMDs[#CMDs + 1] = {NAME = 'unfloat / noplatform', DESC = 'Removes the platform'}
- CMDs[#CMDs + 1] = {NAME = 'swim', DESC = 'Allows you to swim in the air'}
- CMDs[#CMDs + 1] = {NAME = 'unswim / noswim', DESC = 'Stops you from swimming everywhere'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'setwaypoint / swp [name]', DESC = 'Sets a waypoint at your position'}
- CMDs[#CMDs + 1] = {NAME = 'waypointpos / wpp [name] [X Y Z]', DESC = 'Sets a waypoint with specified coordinates'}
- CMDs[#CMDs + 1] = {NAME = 'showwaypoints / showwp', DESC = 'Shows all currently set waypoints'}
- CMDs[#CMDs + 1] = {NAME = 'hidewaypoints / hidewp', DESC = 'Hides shown waypoints'}
- CMDs[#CMDs + 1] = {NAME = 'waypoint / wp [name]', DESC = 'Teleports player to a waypoint'}
- CMDs[#CMDs + 1] = {NAME = 'tweenwaypoint / twp [name]', DESC = 'Tweens player to a waypoint'}
- CMDs[#CMDs + 1] = {NAME = 'deletewaypoint / dwp [name]', DESC = 'Deletes a waypoint'}
- CMDs[#CMDs + 1] = {NAME = 'clearwaypoints / cwp', DESC = 'Clears all waypoints'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'goto [plr]', DESC = 'Go to a player'}
- CMDs[#CMDs + 1] = {NAME = 'tweengoto / tgoto [plr]', DESC = 'Tween to a player (bypasses some anti cheats)'}
- CMDs[#CMDs + 1] = {NAME = 'vehiclegoto / vgoto [plr]', DESC = 'Go to a player while in a vehicle'}
- CMDs[#CMDs + 1] = {NAME = 'loopgoto [plr] [distance] [delay]', DESC = 'Loop teleport to a player'}
- CMDs[#CMDs + 1] = {NAME = 'unloopgoto [plr]', DESC = 'Stops teleporting you to a player'}
- CMDs[#CMDs + 1] = {NAME = 'clientbring / cbring [plr] (CLIENT)', DESC = 'Bring a player'}
- CMDs[#CMDs + 1] = {NAME = 'loopbring [plr] [distance] [delay] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'}
- CMDs[#CMDs + 1] = {NAME = 'unloopbring [plr]', DESC = 'Undoes loopbring'}
- CMDs[#CMDs + 1] = {NAME = 'freeze / fr [plr] (CLIENT)', DESC = 'Freezes a player'}
- CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [plr] (CLIENT)', DESC = 'Unfreezes a player'}
- CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [X Y Z]', DESC = 'Teleports you to certain coordinates'}
- CMDs[#CMDs + 1] = {NAME = 'tweentpposition / ttppos [X Y Z]', DESC = 'Tween to coordinates (bypasses some anti cheats)'}
- CMDs[#CMDs + 1] = {NAME = 'offset [X Y Z]', DESC = 'Offsets you by certain coordinates'}
- CMDs[#CMDs + 1] = {NAME = 'tweenoffset / toffset [X Y Z]', DESC = 'Tween offset (bypasses some anti cheats)'}
- CMDs[#CMDs + 1] = {NAME = 'notifyposition / notifypos [plr]', DESC = 'Notifies you the coordinates of a character'}
- CMDs[#CMDs + 1] = {NAME = 'copyposition / copypos [plr]', DESC = 'Copies the coordinates of a character to your clipboard'}
- CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn [delay]', DESC = 'Sets a position where you will spawn'}
- CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'}
- CMDs[#CMDs + 1] = {NAME = 'flashback / diedtp', DESC = 'Teleports you to where you last died'}
- CMDs[#CMDs + 1] = {NAME = 'walltp', DESC = 'Teleports you above/over any wall you run into'}
- CMDs[#CMDs + 1] = {NAME = 'nowalltp / unwalltp', DESC = 'Disables walltp'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'logs', DESC = 'Opens the logs GUI'}
- CMDs[#CMDs + 1] = {NAME = 'chatlogs / clogs', DESC = 'Log what people say or whisper'}
- CMDs[#CMDs + 1] = {NAME = 'joinlogs / jlogs', DESC = 'Log when people join'}
- CMDs[#CMDs + 1] = {NAME = 'chat / say [text]', DESC = 'Makes you chat a string (possible mute bypass)'}
- CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'}
- CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'}
- CMDs[#CMDs + 1] = {NAME = 'pmspam [plr] [text]', DESC = 'Makes you spam a players whispers'}
- CMDs[#CMDs + 1] = {NAME = 'unpmspam [plr]', DESC = 'Turns off pm spam'}
- CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'}
- CMDs[#CMDs + 1] = {NAME = 'bubblechat (CLIENT)', DESC = 'Enables bubble chat for your client'}
- CMDs[#CMDs + 1] = {NAME = 'unbubblechat / nobubblechat', DESC = 'Disables the bubblechat command'}
- CMDs[#CMDs + 1] = {NAME = 'safechat', DESC = 'Enables safe chat'}
- CMDs[#CMDs + 1] = {NAME = 'nosafechat / disablesafechat', DESC = 'Disables safechat'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'}
- CMDs[#CMDs + 1] = {NAME = 'noesp / unesp', DESC = 'Removes esp'}
- CMDs[#CMDs + 1] = {NAME = 'partesp [part name]', DESC = 'Highlights a part'}
- CMDs[#CMDs + 1] = {NAME = 'unpartesp / nopartesp [part name]', DESC = 'removes partesp'}
- CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'}
- CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'}
- CMDs[#CMDs + 1] = {NAME = 'locate [plr]', DESC = 'View a single player and their status'}
- CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [plr]', DESC = 'Removes locate'}
- CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'}
- CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'spectate / view [plr]', DESC = 'View a player'}
- CMDs[#CMDs + 1] = {NAME = 'viewpart / viewp [part name]', DESC = 'View a part'}
- CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'}
- CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'}
- CMDs[#CMDs + 1] = {NAME = 'freecampos / fcpos [X Y Z]', DESC = 'Moves / opens freecam in a certain position'}
- CMDs[#CMDs + 1] = {NAME = 'freecamwaypoint / fcwp [name]', DESC = 'Moves / opens freecam to a waypoint'}
- CMDs[#CMDs + 1] = {NAME = 'freecamgoto / fcgoto / fctp [plr]', DESC = 'Moves / opens freecam to a player'}
- CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'}
- CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed (default is 1)'}
- CMDs[#CMDs + 1] = {NAME = 'gotocamera / gotocam', DESC = 'Teleports you to the location of your camera'}
- CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'}
- CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'}
- CMDs[#CMDs + 1] = {NAME = 'noclipcam / nccam', DESC = 'Allows camera to go through objects like walls'}
- CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'}
- CMDs[#CMDs + 1] = {NAME = 'minzoom [num]', DESC = 'Minimum camera zoom'}
- CMDs[#CMDs + 1] = {NAME = 'fov [num]', DESC = 'Adjusts field of view (default is 70)'}
- CMDs[#CMDs + 1] = {NAME = 'fixcam / restorecam', DESC = 'Fixes camera'}
- CMDs[#CMDs + 1] = {NAME = 'enableshiftlock / enablesl', DESC = 'Enables the shift lock option'}
- CMDs[#CMDs + 1] = {NAME = 'lookat [plr]', DESC = 'Moves your camera view to a player'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'}
- CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Gives you F3X building tools (DOES NOT REPLICATE)'}
- CMDs[#CMDs + 1] = {NAME = 'delete [instance name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'}
- CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'}
- CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'}
- CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'}
- CMDs[#CMDs + 1] = {NAME = 'invisibleparts / invisparts (CLIENT)', DESC = 'Shows invisible parts'}
- CMDs[#CMDs + 1] = {NAME = 'uninvisibleparts / uninvisparts (CLIENT)', DESC = 'Makes parts affected by invisparts return to normal'}
- CMDs[#CMDs + 1] = {NAME = 'deleteinvisparts / dip (CLIENT)', DESC = 'Deletes invisible parts'}
- CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'}
- CMDs[#CMDs + 1] = {NAME = 'tweengotopart / tgotopart [part name]', DESC = 'Tweens your character to a part or multiple parts'}
- CMDs[#CMDs + 1] = {NAME = 'gotopartclass / gpc [class name]', DESC = 'Moves your character to a part or multiple parts based on classname'}
- CMDs[#CMDs + 1] = {NAME = 'tweengotopartclass / tgpc [class name]', DESC = 'Tweens your character to a part or multiple parts based on classname'}
- CMDs[#CMDs + 1] = {NAME = 'gotopartdelay [num]', DESC = 'Adjusts how quickly you teleport to each part (default is 0.1)'}
- CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'}
- CMDs[#CMDs + 1] = {NAME = 'bringpartclass / bpc [class name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character based on classname'}
- CMDs[#CMDs + 1] = {NAME = 'noclickdetectorlimits / nocdlimits', DESC = 'Sets all click detectors MaxActivationDistance to math.huge'}
- CMDs[#CMDs + 1] = {NAME = 'fireclickdetectors / firecd', DESC = 'Uses all click detectors in a game'}
- CMDs[#CMDs + 1] = {NAME = 'simulationradius / simradius', DESC = 'Sets your SimulationRadius to math.huge'}
- CMDs[#CMDs + 1] = {NAME = 'nosimulationradius / nosimradius', DESC = 'Turns off the SimulationRadius loop and restores values to default'}
- CMDs[#CMDs + 1] = {NAME = 'tpunanchored / tpua [plr]', DESC = 'Teleports unanchored parts to a player'}
- CMDs[#CMDs + 1] = {NAME = 'freezeunanchored / freezeua', DESC = 'Freezes unanchored parts'}
- CMDs[#CMDs + 1] = {NAME = 'thawunanchored / thawua / unfreezeua', DESC = 'Thaws unanchored parts'}
- CMDs[#CMDs + 1] = {NAME = 'removeterrain / rterrain / noterrain', DESC = 'Removes all terrain'}
- CMDs[#CMDs + 1] = {NAME = 'clearnilinstances / nonilinstances / cni', DESC = 'Removes nil instances'}
- CMDs[#CMDs + 1] = {NAME = 'destroyheight / dh [num]', DESC = 'Sets FallenPartsDestroyHeight'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'fullbright / fb (CLIENT)', DESC = 'Makes the map brighter / more visible'}
- CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'}
- CMDs[#CMDs + 1] = {NAME = 'day (CLIENT)', DESC = 'Changes the time to day for the client'}
- CMDs[#CMDs + 1] = {NAME = 'night (CLIENT)', DESC = 'Changes the time to night for the client'}
- CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'}
- CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'}
- CMDs[#CMDs + 1] = {NAME = 'globalshadows / gshadows (CLIENT)', DESC = 'Enables global shadows'}
- CMDs[#CMDs + 1] = {NAME = 'noglobalshadows / nogshadows (CLIENT)', DESC = 'Disables global shadows'}
- CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'}
- CMDs[#CMDs + 1] = {NAME = 'light [radius] (CLIENT)', DESC = 'Gives your player dynamic light'}
- CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'age [plr]', DESC = 'Tells you the age of a player'}
- CMDs[#CMDs + 1] = {NAME = 'chatage [plr]', DESC = 'Chats the age of a player'}
- CMDs[#CMDs + 1] = {NAME = 'joindate / jd [plr]', DESC = 'Tells you the date the player joined Roblox'}
- CMDs[#CMDs + 1] = {NAME = 'chatjoindate / cjd [plr]', DESC = 'Chats the date the player joined Roblox'}
- CMDs[#CMDs + 1] = {NAME = 'copyname / copyuser [plr]', DESC = 'Copies a players full username to your clipboard'}
- CMDs[#CMDs + 1] = {NAME = 'userid / id [plr]', DESC = 'Notifies a players user ID'}
- CMDs[#CMDs + 1] = {NAME = 'copyuserid / copyid [plr]', DESC = 'Copies a players user ID to your clipboard'}
- CMDs[#CMDs + 1] = {NAME = 'appearanceid / aid [plr]', DESC = 'Notifies a players appearance ID'}
- CMDs[#CMDs + 1] = {NAME = 'copyappearanceid / caid [plr]', DESC = 'Copies a players appearance ID to your clipboard'}
- CMDs[#CMDs + 1] = {NAME = 'bang [plr] [speed]', DESC = 'owo'}
- CMDs[#CMDs + 1] = {NAME = 'unbang', DESC = 'uwu'}
- CMDs[#CMDs + 1] = {NAME = 'carpet [plr]', DESC = 'Be someones carpet'}
- CMDs[#CMDs + 1] = {NAME = 'uncarpet', DESC = 'Undoes carpet'}
- CMDs[#CMDs + 1] = {NAME = 'friend [plr]', DESC = 'Sends a friend request to certain players'}
- CMDs[#CMDs + 1] = {NAME = 'unfriend [plr]', DESC = 'Unfriends certain players'}
- CMDs[#CMDs + 1] = {NAME = 'headsit [plr]', DESC = 'Sit on a players head'}
- CMDs[#CMDs + 1] = {NAME = 'walkto / follow [plr]', DESC = 'Follow a player'}
- CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'}
- CMDs[#CMDs + 1] = {NAME = 'attach [plr] (TOOL)', DESC = 'Attaches you to a player (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'kill [plr] (TOOL)', DESC = 'Kills a player (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'fastkill [plr] (TOOL)', DESC = 'Kills a player (less reliable) (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'bring [plr] (TOOL)', DESC = 'Brings a player (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'fastbring [plr] (TOOL)', DESC = 'Brings a player (less reliable) (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'teleport / tp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'fastteleport / fasttp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (less reliable) (YOU NEED A TOOL)'}
- CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'}
- CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'}
- CMDs[#CMDs + 1] = {NAME = 'invisfling', DESC = 'Enables invisible fling'}
- CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'}
- CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
- CMDs[#CMDs + 1] = {NAME = 'muteboombox [plr]', DESC = 'Mutes someones boombox'}
- CMDs[#CMDs + 1] = {NAME = 'unmuteboombox [plr]', DESC = 'Unmutes someones boombox'}
- CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
- CMDs[#CMDs + 1] = {NAME = 'hitbox [plr] [size]', DESC = 'Expands the hitbox for players heads (default is 1)'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'reset', DESC = 'Resets your character normally'}
- CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'}
- CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'}
- CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'}
- CMDs[#CMDs + 1] = {NAME = 'visible / vis', DESC = 'Makes you visible to other players'}
- CMDs[#CMDs + 1] = {NAME = 'speed / ws [num]', DESC = 'Change your walkspeed'}
- CMDs[#CMDs + 1] = {NAME = 'loopspeed / loopws [num]', DESC = 'Loops your walkspeed'}
- CMDs[#CMDs + 1] = {NAME = 'unloopspeed / unloopws', DESC = 'Turns off loopspeed'}
- CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'}
- CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower [num]', DESC = 'Change a players jump height'}
- CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num] (CLIENT)', DESC = 'Change your gravity'}
- CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'}
- CMDs[#CMDs + 1] = {NAME = 'sitwalk', DESC = 'Makes your character sit while still being able to walk'}
- CMDs[#CMDs + 1] = {NAME = 'nosit', DESC = 'Prevents your character from sitting'}
- CMDs[#CMDs + 1] = {NAME = 'unnosit', DESC = 'Disables nosit'}
- CMDs[#CMDs + 1] = {NAME = 'jump', DESC = 'Makes your character jump'}
- CMDs[#CMDs + 1] = {NAME = 'infinitejump / infjump', DESC = 'Allows you to jump before hitting the ground'}
- CMDs[#CMDs + 1] = {NAME = 'uninfinitejump / uninfjump', DESC = 'Disables infjump'}
- CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'}
- CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'}
- CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'}
- CMDs[#CMDs + 1] = {NAME = 'nobillboardgui / nobgui / noname', DESC = 'Removes billboard and surface guis from your players (i.e. name guis at cafes)'}
- CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'}
- CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your legs'}
- CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'}
- CMDs[#CMDs + 1] = {NAME = 'naked', DESC = 'Removes your clothing'}
- CMDs[#CMDs + 1] = {NAME = 'noface / removeface', DESC = 'Removes your face'}
- CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'}
- CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'}
- CMDs[#CMDs + 1] = {NAME = 'blocktool', DESC = 'Turns the currently selected tool into a block'}
- CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'}
- CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'}
- CMDs[#CMDs + 1] = {NAME = 'nohats / deletehats / rhats', DESC = 'Deletes your hats'}
- CMDs[#CMDs + 1] = {NAME = 'chardelete / cd [instance name]', DESC = 'Removes any part with a certain name from your character'}
- CMDs[#CMDs + 1] = {NAME = 'chardeleteclass / cdc [class name]', DESC = 'Removes any part with a certain classname from your character'}
- CMDs[#CMDs + 1] = {NAME = 'deletevelocity / dv / removeforces', DESC = 'Removes any velocity / force instances in your character'}
- CMDs[#CMDs + 1] = {NAME = 'weaken [num]', DESC = 'Makes your character less dense'}
- CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Sets your characters CustomPhysicalProperties to default'}
- CMDs[#CMDs + 1] = {NAME = 'strengthen [num]', DESC = 'Makes your character more dense (CustomPhysicalProperties)'}
- CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Sets your characters CustomPhysicalProperties to default'}
- CMDs[#CMDs + 1] = {NAME = 'breakvelocity', DESC = 'Sets your characters velocity to 0'}
- CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'}
- CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'}
- CMDs[#CMDs + 1] = {NAME = 'hatspin / spinhats', DESC = 'Spins your characters accessories'}
- CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'}
- CMDs[#CMDs + 1] = {NAME = 'vr', DESC = 'Loads CLOVR by Abacaxl'}
- CMDs[#CMDs + 1] = {NAME = 'split', DESC = 'Splits your character in half'}
- CMDs[#CMDs + 1] = {NAME = 'nilchar', DESC = 'Sets your characters parent to nil'}
- CMDs[#CMDs + 1] = {NAME = 'unnilchar / nonilchar', DESC = 'Sets your characters parent to workspace'}
- CMDs[#CMDs + 1] = {NAME = 'noroot / removeroot / rroot', DESC = 'Removes your characters HumanoidRootPart'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character perform an animation (must be by roblox to replicate)'}
- CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you d a n c e'}
- CMDs[#CMDs + 1] = {NAME = 'undance', DESC = 'Stops dance animations'}
- CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you c r a z y'}
- CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'}
- CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'}
- CMDs[#CMDs + 1] = {NAME = 'noanim', DESC = 'Disables your animations'}
- CMDs[#CMDs + 1] = {NAME = 'reanim', DESC = 'Restores your animations'}
- CMDs[#CMDs + 1] = {NAME = 'animspeed [num]', DESC = 'Changes the speed of your current animation'}
- CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'autoclick [click delay] [release delay]', DESC = 'Automatically clicks your mouse with a set delay'}
- CMDs[#CMDs + 1] = {NAME = 'unautoclick / noautoclick', DESC = 'Turns off autoclick'}
- CMDs[#CMDs + 1] = {NAME = 'autokeypress [key] [down delay] [up delay]', DESC = 'Automatically presses a key with a set delay'}
- CMDs[#CMDs + 1] = {NAME = 'unautokeypress', DESC = 'Stops autokeypress'}
- CMDs[#CMDs + 1] = {NAME = 'hovername', DESC = 'Shows a players username when your mouse is hovered over them'}
- CMDs[#CMDs + 1] = {NAME = 'unhovername / nohovername', DESC = 'Turns off hovername'}
- CMDs[#CMDs + 1] = {NAME = 'mousesensitivity / ms [0-10]', DESC = 'Sets your mouse sensitivity (affects first person and right click drag) (default is 1)'}
- CMDs[#CMDs + 1] = {NAME = 'clickdelete', DESC = 'Go to settings>Keybinds>Add for clicktp'}
- CMDs[#CMDs + 1] = {NAME = 'clickteleport', DESC = 'Go to settings>Keybinds>Add for click tp'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'}
- CMDs[#CMDs + 1] = {NAME = 'notools / removetools / deletetools', DESC = 'Removes tools from character and backpack'}
- CMDs[#CMDs + 1] = {NAME = 'deleteselectedtool / dst', DESC = 'Removes any currently selected tools'}
- CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'}
- CMDs[#CMDs + 1] = {NAME = 'ungrabtools / nograbtools', DESC = 'Disables grabtools'}
- CMDs[#CMDs + 1] = {NAME = 'copytools [plr] (CLIENT)', DESC = 'Copies a players tools'}
- CMDs[#CMDs + 1] = {NAME = 'dupetools / clonetools [num]', DESC = 'Duplicates your inventory tools a set ammount of times'}
- CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'}
- CMDs[#CMDs + 1] = {NAME = 'droppabletools', DESC = 'Makes your tools droppable'}
- CMDs[#CMDs + 1] = {NAME = 'equiptools', DESC = 'Equips every tool in your inventory at once'}
- CMDs[#CMDs + 1] = {NAME = 'reach [num]', DESC = 'Increases the hitbox of your held tool'}
- CMDs[#CMDs + 1] = {NAME = 'unreach / noreach', DESC = 'Turns off reach'}
- CMDs[#CMDs + 1] = {NAME = 'grippos [X Y Z]', DESC = 'Changes your current tools grip position'}
- CMDs[#CMDs + 1] = {NAME = 'usetools', DESC = 'Activates all tools in your backpack at the same time'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'}
- CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'}
- CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'addplugin / plugin [name]', DESC = 'Add a plugin via command'}
- CMDs[#CMDs + 1] = {NAME = 'removeplugin / deleteplugin [name]', DESC = 'Remove a plugin via command'}
- CMDs[#CMDs + 1] = {NAME = 'reloadplugin [name]', DESC = 'Reloads a plugin'}
- CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
- CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'}
- CMDs[#CMDs + 1] = {NAME = 'removecmd / deletecmd', DESC = 'Removes a command until the admin is reloaded'}
- wait()
- for i = 1, #CMDs do
- local newcmd = Example:Clone()
- newcmd.Parent = CMDsF
- newcmd.Visible = false
- newcmd.Text = CMDs[i].NAME
- newcmd.Name = 'CMD'
- table.insert(text1,newcmd)
- if CMDs[i].DESC ~= '' then
- local title = Instance.new("StringValue",newcmd)
- title.Name = "Title"
- title.Value = CMDs[i].NAME
- local desc = Instance.new("StringValue",newcmd)
- desc.Name = "Desc"
- desc.Value = CMDs[i].DESC
- newcmd.MouseButton1Down:Connect(function()
- if newcmd.Visible and newcmd.TextTransparency == 0 then
- local currentText = Cmdbar.Text
- Cmdbar:CaptureFocus()
- autoComplete(newcmd.Text,currentText)
- maximizeHolder()
- end
- end)
- end
- end
- IndexContents('',true)
- function getText(object)
- if object ~= nil then
- if object:FindFirstChild('Desc') ~= nil then
- return {object.Desc.Value, object:FindFirstChild('Title')}
- elseif object.Parent:FindFirstChild('Desc') ~= nil then
- return {object.Parent.Desc.Value, object.Parent:FindFirstChild('Title')}
- end
- end
- return nil
- end
- function checkTT()
- local t
- local guisAtPosition = game:GetService("CoreGui"):GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
- for _, gui in pairs(guisAtPosition) do
- if gui.Parent == CMDsF then
- t = gui
- end
- end
- if t ~= nil then
- local gt = getText(t)
- if gt ~= nil then
- local x = IYMouse.X
- local y = IYMouse.Y
- local xP
- local yP
- if IYMouse.X > 200 then
- xP = x - 201
- else
- xP = x + 21
- end
- if IYMouse.Y > (IYMouse.ViewSizeY-96) then
- yP = y - 97
- else
- yP = y
- end
- Tooltip.Position = UDim2.new(0, xP, 0, yP)
- Tooltip.Description.Text = gt[1]
- if gt[2] ~= nil then
- Tooltip.Title.Text = gt[2].Value
- else
- Tooltip.Title.Text = ''
- end
- Tooltip.Visible = true
- else
- Tooltip.Visible = false
- end
- else
- Tooltip.Visible = false
- end
- end
- function FindInTable(Table, Name)
- for i,v in pairs(Table) do
- if v == Name then
- return true
- end
- end
- return false
- end
- function GetInTable(Table, Name)
- for i = 1, #Table do
- if Table[i] == Name then
- return i
- end
- end
- return false
- end
- function respawn(plr)
- if invisRunning then TurnVisible() end
- local char = plr.Character
- char:ClearAllChildren()
- local newChar = Instance.new("Model",workspace)
- plr.Character = newChar
- wait()
- plr.Character = char
- newChar:Destroy()
- end
- local refreshCmd = false
- function refresh(plr)
- spawn(function()
- refreshCmd = true
- local rpos = getRoot(plr.Character).Position
- wait()
- respawn(plr)
- wait()
- repeat wait() until plr.Character and getRoot(plr.Character)
- wait(.1)
- if rpos then
- plr.Character:MoveTo(rpos)
- wait()
- end
- refreshCmd = false
- end)
- end
- local lastDeath
- function onDied()
- spawn(function()
- if pcall(function() Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') end) and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Died:connect(function()
- if getRoot(Players.LocalPlayer.Character) then
- lastDeath = getRoot(Players.LocalPlayer.Character).CFrame
- end
- end)
- else
- wait(2)
- onDied()
- end
- end)
- end
- Clip = true
- spDelay = 0.1
- Players.LocalPlayer.CharacterAdded:Connect(function()
- FLYING = false
- Floating = false
- if not Clip then
- execCmd('clip nonotify')
- end
- repeat wait() until getRoot(Players.LocalPlayer.Character)
- pcall(function()
- if spawnpoint and not refreshCmd and spawnpos ~= nil then
- wait(spDelay)
- getRoot(Players.LocalPlayer.Character).CFrame = spawnpos
- end
- end)
- onDied()
- end)
- onDied()
- std={}
- std.inTable=function(tbl,val)
- if tbl==nil then return false end
- for _,v in pairs(tbl)do
- if v==val then return true end
- end
- return false
- end
- function getstring(begin)
- local start = begin-1
- local AA = '' for i,v in pairs(cargs) do
- if i > start then
- if AA ~= '' then
- AA = AA .. ' ' .. v
- else
- AA = AA .. v
- end
- end
- end
- return AA
- end
- findCmd=function(cmd_name)
- for i,v in pairs(cmds)do
- if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
- return v
- end
- end
- return customAlias[cmd_name:lower()]
- end
- function splitString(str,delim)
- local broken = {}
- if delim == nil then delim = "," end
- for w in string.gmatch(str,"[^"..delim.."]+") do
- table.insert(broken,w)
- end
- return broken
- end
- cmdHistory = {}
- local lastCmds = {}
- local historyCount = 0
- local split=" "
- local lastBreakTime = 0
- function execCmd(cmdStr,speaker,store)
- cmdStr = cmdStr:gsub("%s+$","")
- spawn(function()
- local rawCmdStr = cmdStr
- cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
- local commandsToRun = splitString(cmdStr,"\\")
- for i,v in pairs(commandsToRun) do
- v = string.gsub(v,"%%BackSlash%%","\\")
- local x,y,num = v:find("^(%d+)%^")
- local cmdDelay = 0
- local infTimes = false
- if num then
- v = v:sub(y+1)
- local x,y,del = v:find("^([%d%.]+)%^")
- if del then
- v = v:sub(y+1)
- cmdDelay = tonumber(del) or 0
- end
- else
- local x,y = v:find("^inf%^")
- if x then
- infTimes = true
- v = v:sub(y+1)
- local x,y,del = v:find("^([%d%.]+)%^")
- if del then
- v = v:sub(y+1)
- del = tonumber(del) or 1
- cmdDelay = (del > 0 and del or 1)
- else
- cmdDelay = 1
- end
- end
- end
- num = tonumber(num or 1)
- if v:sub(1,1) == "!" then
- local chunks = splitString(v:sub(2),split)
- if chunks[1] and lastCmds[chunks[1]] then v = lastCmds[chunks[1]] end
- end
- local args = splitString(v,split)
- local cmdName = args[1]
- local cmd = findCmd(cmdName)
- if cmd then
- table.remove(args,1)
- cargs = args
- if not speaker then speaker = Players.LocalPlayer end
- if store then
- if speaker == Players.LocalPlayer then
- if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
- end
- if #cmdHistory > 30 then table.remove(cmdHistory) end
- lastCmds[cmdName] = v
- end
- local cmdStartTime = tick()
- if infTimes then
- while lastBreakTime < cmdStartTime do
- local success,err = pcall(cmd.FUNC,args, speaker)
- if not success and _G.IY_DEBUG then
- warn("Command Error:", cmdName, err)
- end
- wait(cmdDelay)
- end
- else
- for rep = 1,num do
- if lastBreakTime > cmdStartTime then break end
- local success,err = pcall(function()
- cmd.FUNC(args, speaker)
- end)
- if not success and _G.IY_DEBUG then
- warn("Command Error:", cmdName, err)
- end
- if cmdDelay ~= 0 then wait(cmdDelay) end
- end
- end
- end
- end
- end)
- end
- function addcmd(name,alias,func,plgn)
- cmds[#cmds+1]=
- {
- NAME=name;
- ALIAS=alias or {};
- FUNC=func;
- PLUGIN=plgn;
- }
- end
- function removecmd(cmd)
- if cmd ~= " " then
- for i = #cmds,1,-1 do
- if cmds[i].NAME == cmd or FindInTable(cmds[i].ALIAS,cmd) then
- table.remove(cmds, i)
- for a,c in pairs(CMDsF:GetChildren()) do
- if string.find(c.Text, "^"..cmd.."$") or string.find(c.Text, "^"..cmd.." ") or string.find(c.Text, " "..cmd.."$") or string.find(c.Text, " "..cmd.." ") then
- c.TextTransparency = 0.7
- c.MouseButton1Click:Connect(function()
- notify(c.Text, "Command has been disabled by you or a plugin")
- end)
- end
- end
- end
- end
- end
- end
- function addbind(cmd,key,iskeyup)
- binds[#binds+1]=
- {
- COMMAND=cmd;
- KEY=key;
- ISKEYUP=iskeyup;
- }
- end
- function addcmdtext(text,name,desc)
- local newcmd = Example:Clone()
- local tooltipText = tostring(text)
- local tooltipDesc = tostring(desc)
- newcmd.Parent = CMDsF
- newcmd.Visible = false
- newcmd.Text = text
- newcmd.Name = 'PLUGIN_'..name
- table.insert(text1,newcmd)
- if desc and desc ~= '' then
- local title = Instance.new("StringValue",newcmd)
- title.Name = "Title"
- title.Value = tooltipText
- local desc = Instance.new("StringValue",newcmd)
- desc.Name = "Desc"
- desc.Value = tooltipDesc
- newcmd.MouseButton1Down:Connect(function()
- if newcmd.Visible and newcmd.TextTransparency == 0 then
- Cmdbar:CaptureFocus()
- autoComplete(newcmd.Text)
- maximizeHolder()
- end
- end)
- end
- end
- SpecialPlayerCases = {
- ["all"] = function(speaker)return Players:GetPlayers() end,
- ["others"] = function(speaker)
- local plrs = {}
- for i,v in pairs(Players:GetPlayers()) do
- if v ~= speaker then
- table.insert(plrs,v)
- end
- end
- return plrs
- end,
- ["me"] = function(speaker)return {speaker} end,
- ["#(%d+)"] = function(speaker,args,currentList)
- local returns = {}
- local randAmount = tonumber(args[1])
- local players = {unpack(currentList)}
- for i = 1,randAmount do
- if #players == 0 then break end
- local randIndex = math.random(1,#players)
- table.insert(returns,players[randIndex])
- table.remove(players,randIndex)
- end
- return returns
- end,
- ["random"] = function(speaker,args,currentList)
- local players = currentList
- return {players[math.random(1,#players)]}
- end,
- ["%%(.+)"] = function(speaker,args)
- local returns = {}
- local team = args[1]
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["allies"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Team == team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["enemies"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Team ~= team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["team"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Team == team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["nonteam"] = function(speaker)
- local returns = {}
- local team = speaker.Team
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Team ~= team then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["friends"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(Players:GetPlayers()) do
- if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["nonfriends"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(Players:GetPlayers()) do
- if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["guests"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Guest then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["bacons"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["age(%d+)"] = function(speaker,args)
- local returns = {}
- local age = tonumber(args[1])
- if not age == nil then return end
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.AccountAge <= age then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["nearest"] = function(speaker,args)
- local speakerChar = speaker.Character
- if not speakerChar or not getRoot(speakerChar) then return end
- local lowest = math.huge
- local NearestPlayer = nil
- for _,plr in pairs(Players:GetPlayers()) do
- if plr ~= speaker and plr.Character then
- local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
- if distance < lowest then
- lowest = distance
- NearestPlayer = {plr}
- end
- end
- end
- return NearestPlayer
- end,
- ["farthest"] = function(speaker,args)
- local speakerChar = speaker.Character
- if not speakerChar or not getRoot(speakerChar) then return end
- local highest = math.huge
- local FarthestPlayer = nil
- for _,plr in pairs(Players:GetPlayers()) do
- if plr ~= speaker and plr.Character then
- local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
- if distance > highest then
- highest = distance
- FarthestPlayer = {plr}
- end
- end
- end
- return FarthestPlayer
- end,
- ["group(%d+)"] = function(speaker,args)
- local returns = {}
- local groupID = tonumber(args[1])
- for _,plr in pairs(Players:GetPlayers()) do
- if plr:IsInGroup(groupID) then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["alive"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["dead"] = function(speaker,args)
- local returns = {}
- for _,plr in pairs(Players:GetPlayers()) do
- if (not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid")) or plr.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then
- table.insert(returns,plr)
- end
- end
- return returns
- end,
- ["rad(%d+)"] = function(speaker,args)
- local returns = {}
- local radius = tonumber(args[1])
- local speakerChar = speaker.Character
- if not speakerChar or not getRoot(speakerChar) then return end
- for _,plr in pairs(Players:GetPlayers()) do
- if plr.Character and getRoot(plr.Character) then
- local magnitude = (getRoot(plr.Character).Position-getRoot(speakerChar).Position).magnitude
- if magnitude <= radius then table.insert(returns,plr) end
- end
- end
- return returns
- end
- }
- function toTokens(str)
- local tokens = {}
- for op,name in string.gmatch(str,"([+-])([^+-]+)") do
- table.insert(tokens,{Operator = op,Name = name})
- end
- return tokens
- end
- function onlyIncludeInTable(tab,matches)
- local matchTable = {}
- local resultTable = {}
- for i,v in pairs(matches) do matchTable[v.Name] = true end
- for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
- return resultTable
- end
- function removeTableMatches(tab,matches)
- local matchTable = {}
- local resultTable = {}
- for i,v in pairs(matches) do matchTable[v.Name] = true end
- for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
- return resultTable
- end
- function getPlayersByName(name)
- local found = {}
- for i,v in pairs(Players:GetChildren()) do
- if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
- table.insert(found,v)
- end
- end
- return found
- end
- function getPlayer(list,speaker)
- if list == nil then return {speaker.Name} end
- local nameList = splitString(list,",")
- local foundList = {}
- for _,name in pairs(nameList) do
- if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
- local tokens = toTokens(name)
- local initialPlayers = Players:GetPlayers()
- for i,v in pairs(tokens) do
- if v.Operator == "+" then
- local tokenContent = v.Name
- local foundCase = false
- for regex,case in pairs(SpecialPlayerCases) do
- local matches = {string.match(tokenContent,"^"..regex.."$")}
- if #matches > 0 then
- foundCase = true
- initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
- end
- end
- if not foundCase then
- initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
- end
- else
- local tokenContent = v.Name
- local foundCase = false
- for regex,case in pairs(SpecialPlayerCases) do
- local matches = {string.match(tokenContent,"^"..regex.."$")}
- if #matches > 0 then
- foundCase = true
- initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
- end
- end
- if not foundCase then
- initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
- end
- end
- end
- for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
- end
- local foundNames = {}
- for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
- return foundNames
- end
- getprfx=function(strn)
- if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
- end return
- end
- function do_exec(str, plr)
- str = str:gsub('/e ', '')
- local t = getprfx(str)
- if not t then return end
- str = str:sub(t[2])
- if t[1]=='cmd' then
- execCmd(str, plr, true)
- IndexContents('',true,false,true)
- CMDsF.CanvasPosition = canvasPos
- end
- end
- lastTextBoxString,lastTextBoxCon,lastEnteredString = nil,nil,nil
- UserInputService.TextBoxFocused:Connect(function(obj)
- if lastTextBoxCon then lastTextBoxCon:Disconnect() end
- if obj == Cmdbar then lastTextBoxString = nil return end
- lastTextBoxString = obj.Text
- lastTextBoxCon = obj:GetPropertyChangedSignal("Text"):Connect(function()
- if not (UserInputService:IsKeyDown(Enum.KeyCode.Return) or UserInputService:IsKeyDown(Enum.KeyCode.KeypadEnter)) then
- lastTextBoxString = obj.Text
- end
- end)
- end)
- UserInputService.InputBegan:Connect(function(input,gameProcessed)
- if gameProcessed then
- if Cmdbar and Cmdbar:IsFocused() then
- if input.KeyCode == Enum.KeyCode.Up then
- historyCount = historyCount + 1
- if historyCount > #cmdHistory then historyCount = #cmdHistory end
- Cmdbar.Text = cmdHistory[historyCount] or ""
- Cmdbar.CursorPosition = 1020
- elseif input.KeyCode == Enum.KeyCode.Down then
- historyCount = historyCount - 1
- if historyCount < 0 then historyCount = 0 end
- Cmdbar.Text = cmdHistory[historyCount] or ""
- Cmdbar.CursorPosition = 1020
- end
- elseif input.KeyCode == Enum.KeyCode.Return or input.KeyCode == Enum.KeyCode.KeypadEnter then
- lastEnteredString = lastTextBoxString
- end
- end
- end)
- Players.LocalPlayer.Chatted:connect(function()
- wait()
- if lastEnteredString then
- local message = lastEnteredString
- lastEnteredString = nil
- do_exec(message, Players.LocalPlayer)
- end
- end)
- Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
- Cmdbar:GetPropertyChangedSignal("Text"):connect(function()
- if Cmdbar:IsFocused() then
- IndexContents(Cmdbar.Text,true,true)
- end
- end)
- local tabComplete = nil
- Cmdbar.FocusLost:connect(function(enterpressed)
- if enterpressed then
- execCmd(Cmdbar.Text,Players.LocalPlayer,true)
- end
- if tabComplete then tabComplete:Disconnect() end
- wait()
- if not Cmdbar:IsFocused() then
- Cmdbar.Text = ""
- IndexContents('',true,false,true)
- if SettingsOpen == true then
- wait(0.2)
- Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
- CMDsF.Visible = false
- end
- end
- CMDsF.CanvasPosition = canvasPos
- end)
- Cmdbar.Focused:Connect(function()
- historyCount = 0
- canvasPos = CMDsF.CanvasPosition
- if SettingsOpen == true then
- wait(0.2)
- CMDsF.Visible = true
- Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
- end
- tabComplete = UserInputService.InputBegan:Connect(function(input,gameProcessed)
- if Cmdbar:IsFocused() then
- if input.KeyCode == Enum.KeyCode.Tab and topCommand ~= nil then
- autoComplete(topCommand)
- end
- else
- tabComplete:Disconnect()
- end
- end)
- end)
- ESPenabled = false
- CHMSenabled = false
- function round(num, numDecimalPlaces)
- local mult = 10^(numDecimalPlaces or 0)
- return math.floor(num * mult + 0.5) / mult
- end
- function ESP(plr)
- spawn(function()
- for i,v in pairs(PARENT:GetChildren()) do
- if v.Name == plr.Name..'_ESP' then
- v:Destroy()
- end
- end
- wait()
- if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_ESP') then
- local ESPholder = Instance.new("Folder", PARENT)
- ESPholder.Name = plr.Name..'_ESP'
- repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- for b,n in pairs (plr.Character:GetChildren()) do
- if (n:IsA("BasePart")) then
- local a = Instance.new("BoxHandleAdornment", ESPholder)
- a.Name = plr.Name
- a.Adornee = n
- a.AlwaysOnTop = true
- a.ZIndex = 10
- a.Size = n.Size
- a.Transparency = 0.3
- a.Color = plr.TeamColor
- end
- end
- if plr.Character and plr.Character:FindFirstChild('Head') then
- local BillboardGui = Instance.new("BillboardGui", ESPholder)
- local TextLabel = Instance.new("TextLabel")
- BillboardGui.Adornee = plr.Character.Head
- BillboardGui.Name = plr.Name
- BillboardGui.Size = UDim2.new(0, 100, 0, 150)
- BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
- BillboardGui.AlwaysOnTop = true
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 0, 0, -50)
- TextLabel.Size = UDim2.new(0, 100, 0, 100)
- TextLabel.Font = Enum.Font.SourceSansSemibold
- TextLabel.TextSize = 20
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeTransparency = 0
- TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
- TextLabel.Text = 'Name: '..plr.Name
- local espLoopFunc
- local teamChange
- local addedFunc
- addedFunc = plr.CharacterAdded:Connect(function()
- if ESPenabled then
- espLoopFunc:Disconnect()
- teamChange:Disconnect()
- ESPholder:Destroy()
- repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- ESP(plr)
- addedFunc:Disconnect()
- else
- teamChange:Disconnect()
- addedFunc:Disconnect()
- end
- end)
- teamChange = plr:GetPropertyChangedSignal("TeamColor"):connect(function()
- if ESPenabled then
- espLoopFunc:Disconnect()
- addedFunc:Disconnect()
- ESPholder:Destroy()
- repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- ESP(plr)
- teamChange:Disconnect()
- else
- teamChange:Disconnect()
- end
- end)
- local function espLoop()
- if PARENT:FindFirstChild(plr.Name..'_ESP') then
- if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid') and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
- local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
- TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
- end
- else
- teamChange:Disconnect()
- addedFunc:Disconnect()
- espLoopFunc:Disconnect()
- end
- end
- espLoopFunc = game:GetService("RunService").RenderStepped:Connect(espLoop)
- end
- end
- end)
- end
- function CHMS(plr)
- spawn(function()
- for i,v in pairs(PARENT:GetChildren()) do
- if v.Name == plr.Name..'_CHMS' then
- v:Destroy()
- end
- end
- wait()
- if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_CHMS') then
- local ESPholder = Instance.new("Folder", PARENT)
- ESPholder.Name = plr.Name..'_CHMS'
- repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- for b,n in pairs (plr.Character:GetChildren()) do
- if (n:IsA("BasePart")) then
- local a = Instance.new("BoxHandleAdornment", ESPholder)
- a.Name = plr.Name
- a.Adornee = n
- a.AlwaysOnTop = true
- a.ZIndex = 10
- a.Size = n.Size
- a.Transparency = 0.3
- a.Color = plr.TeamColor
- end
- end
- local addedFunc
- local teamChange
- local CHMSremoved
- addedFunc = plr.CharacterAdded:Connect(function()
- if CHMSenabled then
- ESPholder:Destroy()
- teamChange:Disconnect()
- repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- CHMS(plr)
- addedFunc:Disconnect()
- else
- teamChange:Disconnect()
- addedFunc:Disconnect()
- end
- end)
- teamChange = plr:GetPropertyChangedSignal("TeamColor"):connect(function()
- if CHMSenabled then
- ESPholder:Destroy()
- addedFunc:Disconnect()
- repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- CHMS(plr)
- teamChange:Disconnect()
- else
- teamChange:Disconnect()
- end
- end)
- CHMSremoved = ESPholder.AncestryChanged:connect(function()
- teamChange:Disconnect()
- addedFunc:Disconnect()
- CHMSremoved:Disconnect()
- end)
- end
- end)
- end
- function Locate(plr)
- spawn(function()
- for i,v in pairs(PARENT:GetChildren()) do
- if v.Name == plr.Name..'_LC' then
- v:Destroy()
- end
- end
- wait()
- if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_LC') then
- local ESPholder = Instance.new("Folder", PARENT)
- ESPholder.Name = plr.Name..'_LC'
- repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- for b,n in pairs (plr.Character:GetChildren()) do
- if (n:IsA("BasePart")) then
- local a = Instance.new("BoxHandleAdornment", ESPholder)
- a.Name = plr.Name
- a.Adornee = n
- a.AlwaysOnTop = true
- a.ZIndex = 10
- a.Size = n.Size
- a.Transparency = 0.3
- a.Color = plr.TeamColor
- end
- end
- if plr.Character and plr.Character:FindFirstChild('Head') then
- local BillboardGui = Instance.new("BillboardGui", ESPholder)
- local TextLabel = Instance.new("TextLabel")
- BillboardGui.Adornee = plr.Character.Head
- BillboardGui.Name = plr.Name
- BillboardGui.Size = UDim2.new(0, 100, 0, 150)
- BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
- BillboardGui.AlwaysOnTop = true
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 0, 0, -50)
- TextLabel.Size = UDim2.new(0, 100, 0, 100)
- TextLabel.Font = Enum.Font.SourceSansSemibold
- TextLabel.TextSize = 20
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextStrokeTransparency = 0
- TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
- TextLabel.Text = 'Name: '..plr.Name
- local lcLoopFunc
- local addedFunc
- local teamChange
- addedFunc = plr.CharacterAdded:Connect(function()
- if ESPholder ~= nil and ESPholder.Parent ~= nil then
- lcLoopFunc:Disconnect()
- teamChange:Disconnect()
- ESPholder:Destroy()
- repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- Locate(plr)
- addedFunc:Disconnect()
- else
- teamChange:Disconnect()
- addedFunc:Disconnect()
- end
- end)
- teamChange = plr:GetPropertyChangedSignal("TeamColor"):connect(function()
- if ESPholder ~= nil and ESPholder.Parent ~= nil then
- lcLoopFunc:Disconnect()
- addedFunc:Disconnect()
- ESPholder:Destroy()
- repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
- Locate(plr)
- teamChange:Disconnect()
- else
- teamChange:Disconnect()
- end
- end)
- local function lcLoop()
- if PARENT:FindFirstChild(plr.Name..'_LC') then
- if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid') and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
- local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
- TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
- end
- else
- teamChange:Disconnect()
- addedFunc:Disconnect()
- lcLoopFunc:Disconnect()
- end
- end
- lcLoopFunc = game:GetService("RunService").RenderStepped:Connect(lcLoop)
- end
- end
- end)
- end
- local bindsGUI = KeybindEditor
- local awaitingInput = false
- local keySelected = false
- function unkeybind(cmd,key)
- for i = #binds,1,-1 do
- if binds[i].COMMAND == cmd and binds[i].KEY == key then
- table.remove(binds, i)
- end
- end
- refreshbinds()
- updatesaves()
- if key == 'RightClick' or key == 'LeftClick' then
- notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
- else
- notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
- end
- end
- function refreshbinds()
- if Holder_2 then
- Holder_2:ClearAllChildren()
- Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
- for i = 1, #binds do
- local YSize = 25
- local Position = ((i * YSize) - YSize)
- local newbind = Example_2:Clone()
- newbind.Parent = Holder_2
- newbind.Visible = true
- newbind.Position = UDim2.new(0,0,0, Position + 5)
- table.insert(shade2,newbind)
- table.insert(shade2,newbind.Text)
- table.insert(text1,newbind.Text)
- table.insert(shade3,newbind.Text.Delete)
- table.insert(text2,newbind.Text.Delete)
- local input = tostring(binds[i].KEY)
- local key
- if input == 'RightClick' or input == 'LeftClick' then
- key = input
- else
- key = input:sub(14)
- end
- newbind.Text.Text = key.." > "..binds[i].COMMAND.." "..(binds[i].ISKEYUP and "(keyup)" or "(keydown)")
- Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
- newbind.Text.Delete.MouseButton1Click:Connect(function()
- unkeybind(binds[i].COMMAND,binds[i].KEY)
- end)
- end
- end
- end
- refreshbinds()
- PositionsFrame.Delete.MouseButton1Click:Connect(function()
- execCmd('cpos')
- end)
- function refreshwaypoints()
- if #WayPoints > 0 or #pWayPoints > 0 then
- PositionsHint:Destroy()
- end
- if Holder_4 then
- Holder_4:ClearAllChildren()
- Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10)
- local YSize = 25
- local num = 1
- for i = 1, #WayPoints do
- local Position = ((num * YSize) - YSize)
- local newpoint = Example_4:Clone()
- newpoint.Parent = Holder_4
- newpoint.Visible = true
- newpoint.Position = UDim2.new(0,0,0, Position + 5)
- newpoint.Text.Text = WayPoints[i].NAME
- table.insert(shade2,newpoint)
- table.insert(shade2,newpoint.Text)
- table.insert(text1,newpoint.Text)
- table.insert(shade3,newpoint.Text.Delete)
- table.insert(text2,newpoint.Text.Delete)
- table.insert(shade3,newpoint.Text.TP)
- table.insert(text2,newpoint.Text.TP)
- Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
- newpoint.Text.Delete.MouseButton1Click:Connect(function()
- execCmd('dpos '..WayPoints[i].NAME)
- end)
- newpoint.Text.TP.MouseButton1Click:Connect(function()
- execCmd("loadpos "..WayPoints[i].NAME)
- end)
- num = num+1
- end
- for i = 1, #pWayPoints do
- local Position = ((num * YSize) - YSize)
- local newpoint = Example_4:Clone()
- newpoint.Parent = Holder_4
- newpoint.Visible = true
- newpoint.Position = UDim2.new(0,0,0, Position + 5)
- newpoint.Text.Text = pWayPoints[i].NAME
- table.insert(shade2,newpoint)
- table.insert(shade2,newpoint.Text)
- table.insert(text1,newpoint.Text)
- table.insert(shade3,newpoint.Text.Delete)
- table.insert(text2,newpoint.Text.Delete)
- table.insert(shade3,newpoint.Text.TP)
- table.insert(text2,newpoint.Text.TP)
- Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
- newpoint.Text.Delete.MouseButton1Click:Connect(function()
- execCmd('dpos '..pWayPoints[i].NAME)
- end)
- newpoint.Text.TP.MouseButton1Click:Connect(function()
- execCmd("loadpos "..pWayPoints[i].NAME)
- end)
- num = num+1
- end
- end
- end
- refreshwaypoints()
- function refreshaliases()
- if #aliases > 0 then
- AliasHint:Destroy()
- end
- if Holder_3 then
- Holder_3:ClearAllChildren()
- Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
- for i = 1, #aliases do
- local YSize = 25
- local Position = ((i * YSize) - YSize)
- local newalias = Example_3:Clone()
- newalias.Parent = Holder_3
- newalias.Visible = true
- newalias.Position = UDim2.new(0,0,0, Position + 5)
- newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
- table.insert(shade2,newalias)
- table.insert(shade2,newalias.Text)
- table.insert(text1,newalias.Text)
- table.insert(shade3,newalias.Text.Delete)
- table.insert(text2,newalias.Text.Delete)
- Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
- newalias.Text.Delete.MouseButton1Click:Connect(function()
- execCmd('removealias '..aliases[i].ALIAS)
- end)
- end
- end
- end
- local bindChosenKeyUp = false
- BindTo.MouseButton1Click:Connect(function()
- awaitingInput = true
- BindTo.Text = 'Press something'
- end)
- BindTriggerSelect.MouseButton1Click:Connect(function()
- bindChosenKeyUp = not bindChosenKeyUp
- BindTriggerSelect.Text = bindChosenKeyUp and "KeyUp" or "KeyDown"
- end)
- Add_2.MouseButton1Click:Connect(function()
- if keySelected then
- if string.find(Cmdbar_2.Text, "\\\\") then
- notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command')
- else
- addbind(Cmdbar_2.Text,keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text)
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text)
- end
- end
- end
- end)
- Exit_2.MouseButton1Click:Connect(function()
- Cmdbar_2.Text = 'Command'
- BindTo.Text = 'Click to bind'
- bindChosenKeyUp = false
- BindTriggerSelect.Text = "KeyDown"
- keySelected = false
- KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
- end)
- function onInputBegan(input,gameProcessed)
- if awaitingInput then
- if input.UserInputType == Enum.UserInputType.Keyboard then
- keyPressed = tostring(input.KeyCode)
- BindTo.Text = keyPressed:sub(14)
- elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
- keyPressed = 'LeftClick'
- BindTo.Text = 'LeftClick'
- elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
- keyPressed = 'RightClick'
- BindTo.Text = 'RightClick'
- end
- awaitingInput = false
- keySelected = true
- end
- if not gameProcessed and #binds > 0 then
- for i,v in pairs(binds) do
- if not v.ISKEYUP then
- if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then
- execCmd(v.COMMAND,Players.LocalPlayer)
- elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then
- execCmd(v.COMMAND,Players.LocalPlayer)
- elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then
- execCmd(v.COMMAND,Players.LocalPlayer)
- end
- end
- end
- end
- end
- function onInputEnded(input,gameProcessed)
- if not gameProcessed and #binds > 0 then
- for i,v in pairs(binds) do
- if v.ISKEYUP then
- if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then
- execCmd(v.COMMAND,Players.LocalPlayer)
- elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then
- execCmd(v.COMMAND,Players.LocalPlayer)
- elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then
- execCmd(v.COMMAND,Players.LocalPlayer)
- end
- end
- end
- end
- end
- UserInputService.InputBegan:connect(onInputBegan)
- UserInputService.InputEnded:connect(onInputEnded)
- Fly.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglefly',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle fly')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fly')
- end
- end
- end)
- Noclip.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglenoclip',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle noclip')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle noclip')
- end
- end
- end)
- Float.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglefloat',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle float')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle float')
- end
- end
- end)
- ClickTP.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('clicktp',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to click tp')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp')
- end
- end
- end)
- ClickDelete.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('clickdel',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to click delete')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click delete')
- end
- end
- end)
- Xray.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglexray',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle xray')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle xray')
- end
- end
- end)
- Swim.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('toggleswim',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle swim')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle swim')
- end
- end
- end)
- Fling.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglefling',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle fling')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fling')
- end
- end
- end)
- Invisible.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('toggleinvis',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle invisible')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle invisible')
- end
- end
- end)
- IYMouse.Button1Down:connect(function()
- for i,v in pairs(binds) do
- if v.COMMAND == 'clicktp' then
- local input = v.KEY
- if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then
- pcall(function() getRoot(Players.LocalPlayer.Character).CFrame = IYMouse.Hit + Vector3.new(0,7,0) end)
- elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then
- pcall(function() getRoot(Players.LocalPlayer.Character).CFrame = IYMouse.Hit + Vector3.new(0,7,0) end)
- elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then
- pcall(function() getRoot(Players.LocalPlayer.Character).CFrame = IYMouse.Hit + Vector3.new(0,7,0) end)
- end
- elseif v.COMMAND == 'clickdel' then
- local input = v.KEY
- if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
- pcall(function() IYMouse.Target:Destroy() end)
- elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
- pcall(function() IYMouse.Target:Destroy() end)
- elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) then
- pcall(function() IYMouse.Target:Destroy() end)
- end
- end
- end
- end)
- PluginsGUI = PluginEditor.background
- function addPlugin(name)
- if name:lower() == 'plugin file name' or name:lower() == 'iy_fe.iy' or name == 'iy_fe' then
- notify('Plugin Error','Please enter a valid plugin')
- else
- local file
- local fileName
- if name:sub(-3) == '.iy' then
- pcall(function() file = readfile(name) end)
- fileName = name
- else
- pcall(function() file = readfile(name..'.iy') end)
- fileName = name..'.iy'
- end
- if file then
- if not FindInTable(PluginsTable, fileName) then
- table.insert(PluginsTable, fileName)
- LoadPlugin(fileName)
- refreshplugins()
- pcall(eventEditor.Refresh)
- else
- notify('Plugin Error','This plugin is already added')
- end
- else
- notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?')
- end
- end
- end
- function deletePlugin(name)
- local pName = name..'.iy'
- if name:sub(-3) == '.iy' then
- pName = name
- end
- for i = #cmds,1,-1 do
- if cmds[i].PLUGIN == pName then
- table.remove(cmds, i)
- end
- end
- for i,v in pairs(CMDsF:GetChildren()) do
- if v.Name == 'PLUGIN_'..pName then
- v:Destroy()
- end
- end
- for i,v in pairs(PluginsTable) do
- if v == pName then
- table.remove(PluginsTable, i)
- notify('Removed Plugin',pName..' was removed')
- end
- end
- IndexContents('',true)
- refreshplugins()
- end
- function refreshplugins(dontSave)
- if #PluginsTable > 0 then
- PluginsHint:Destroy()
- end
- if Holder_5 then
- Holder_5:ClearAllChildren()
- Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10)
- for i,v in pairs(PluginsTable) do
- local pName = v
- local YSize = 25
- local Position = ((i * YSize) - YSize)
- local newplugin = Example_5:Clone()
- newplugin.Parent = Holder_5
- newplugin.Visible = true
- newplugin.Position = UDim2.new(0,0,0, Position + 5)
- newplugin.Text.Text = pName
- table.insert(shade2,newplugin)
- table.insert(shade2,newplugin.Text)
- table.insert(text1,newplugin.Text)
- table.insert(shade3,newplugin.Text.Delete)
- table.insert(text2,newplugin.Text.Delete)
- Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30)
- newplugin.Text.Delete.MouseButton1Click:Connect(function()
- deletePlugin(pName)
- end)
- end
- if not dontSave then
- updatesaves()
- end
- end
- end
- local PluginCache
- function LoadPlugin(val,startup)
- local plugin
- function CatchedPluginLoad()
- plugin = loadfile(val)()
- end
- function handlePluginError(plerror)
- notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded')
- if FindInTable(PluginsTable,val) then
- for i,v in pairs(PluginsTable) do
- if v == val then
- table.remove(PluginsTable,i)
- end
- end
- end
- print("Original Error: "..tostring(plerror))
- print("Plugin Error, stack traceback: "..tostring(debug.traceback()))
- plugin = nil
- return false
- end
- xpcall(CatchedPluginLoad, handlePluginError)
- if plugin ~= nil then
- if not startup then
- notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"])
- end
- addcmdtext('',val)
- addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"])
- for i,v in pairs(plugin["Commands"]) do
- local cmdExt = ''
- local cmdName = i
- local function handleNames()
- cmdName = i
- if findCmd(cmdName..cmdExt) then
- if isNumber(cmdExt) then
- cmdExt = cmdExt+1
- else
- cmdExt = 1
- end
- handleNames()
- else
- cmdName = cmdName..cmdExt
- end
- end
- handleNames()
- addcmd(cmdName, v["Aliases"], v["Function"], val)
- if v["ListName"] then
- local newName = v.ListName
- local cmdNames = {i,unpack(v.Aliases)}
- for i,v in pairs(cmdNames) do
- newName = newName:gsub(v,v..cmdExt)
- end
- addcmdtext(newName,val,v["Description"])
- else
- addcmdtext(cmdName,val,v["Description"])
- end
- end
- IndexContents('',true)
- elseif plugin == nil then
- plugin = nil
- end
- end
- function FindPlugins()
- if PluginsTable ~= nil and type(PluginsTable) == "table" then
- for i,v in pairs(PluginsTable) do
- LoadPlugin(v,true)
- end
- refreshplugins(true)
- end
- end
- PluginsGUI.AddPlugin.MouseButton1Click:connect(function()
- addPlugin(PluginsGUI.FileName.Text)
- end)
- Exit_3.MouseButton1Click:connect(function()
- PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
- PluginsGUI.FileName.Text = 'Plugin File Name'
- end)
- PluginsFrame.Add.MouseButton1Click:Connect(function()
- PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 310), "InOut", "Quart", 0.5, true, nil)
- end)
- Plugins.MouseButton1Click:Connect(function()
- if writefileExploit() then
- PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
- wait(0.5)
- SettingsHolder.Visible = false
- else
- notify('Incompatible Exploit','Your exploit is unable to use plugins (missing read/writefile)')
- end
- end)
- PluginsFrame.Close.MouseButton1Click:Connect(function()
- SettingsHolder.Visible = true
- PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
- end)
- addcmd('addalias',{},
- function(args, speaker)
- if #args < 2 then return end
- local cmd = string.lower(args[1])
- local alias = string.lower(args[2])
- for i,v in pairs(cmds) do
- if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
- customAlias[alias] = v
- aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
- notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
- updatesaves()
- refreshaliases()
- break
- end
- end
- end)
- addcmd('removealias',{},
- function(args, speaker)
- if #args < 1 then return end
- local alias = string.lower(args[1])
- if customAlias[alias] then
- local cmd = customAlias[alias].NAME
- customAlias[alias] = nil
- for i = #aliases,1,-1 do
- if aliases[i].ALIAS == tostring(alias) then
- table.remove(aliases, i)
- end
- end
- notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
- updatesaves()
- refreshaliases()
- end
- end)
- addcmd('clraliases',{},
- function(args, speaker)
- customAlias = {}
- aliases = {}
- notify('Aliases Modified','Removed all aliases')
- updatesaves()
- refreshaliases()
- end)
- addcmd('serverinfo',{'info','sinfo'},
- function(args, speaker)
- spawn(function()
- local FRAME = Instance.new("Frame")
- local shadow = Instance.new("Frame")
- local PopupText = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local ExitImage = Instance.new("ImageLabel")
- local background = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel2 = Instance.new("TextLabel")
- local TextLabel3 = Instance.new("TextLabel")
- local Time = Instance.new("TextLabel")
- local appearance = Instance.new("TextLabel")
- local maxplayers = Instance.new("TextLabel")
- local name = Instance.new("TextLabel")
- local placeid = Instance.new("TextLabel")
- local playerid = Instance.new("TextLabel")
- local players = Instance.new("TextLabel")
- local CopyApp = Instance.new("TextButton")
- local CopyPlrID = Instance.new("TextButton")
- local CopyPlcID = Instance.new("TextButton")
- FRAME.Name = randomString()
- FRAME.Parent = PARENT
- FRAME.Active = true
- FRAME.BackgroundTransparency = 1
- FRAME.Position = UDim2.new(0.5, -130, 0, -500)
- FRAME.Size = UDim2.new(0, 250, 0, 20)
- FRAME.ZIndex = 10
- dragGUI(FRAME)
- shadow.Name = "shadow"
- shadow.Parent = FRAME
- shadow.BackgroundColor3 = currentShade2
- shadow.BorderSizePixel = 0
- shadow.Size = UDim2.new(0, 250, 0, 20)
- shadow.ZIndex = 10
- table.insert(shade2,shadow)
- PopupText.Name = "PopupText"
- PopupText.Parent = shadow
- PopupText.BackgroundTransparency = 1
- PopupText.Size = UDim2.new(1, 0, 0.95, 0)
- PopupText.ZIndex = 10
- PopupText.Font = Enum.Font.SourceSans
- PopupText.TextSize = 14
- PopupText.Text = "Server"
- PopupText.TextColor3 = currentText1
- PopupText.TextWrapped = true
- table.insert(text1,PopupText)
- Exit.Name = "Exit"
- Exit.Parent = shadow
- Exit.BackgroundTransparency = 1
- Exit.Position = UDim2.new(1, -20, 0, 0)
- Exit.Size = UDim2.new(0, 20, 0, 20)
- Exit.Text = ""
- Exit.ZIndex = 10
- ExitImage.Parent = Exit
- ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitImage.BackgroundTransparency = 1
- ExitImage.Position = UDim2.new(0, 5, 0, 5)
- ExitImage.Size = UDim2.new(0, 10, 0, 10)
- ExitImage.Image = "rbxassetid://5054663650"
- ExitImage.ZIndex = 10
- background.Name = "background"
- background.Parent = FRAME
- background.Active = true
- background.BackgroundColor3 = currentShade1
- background.BorderSizePixel = 0
- background.Position = UDim2.new(0, 0, 1, 0)
- background.Size = UDim2.new(0, 250, 0, 250)
- background.ZIndex = 10
- table.insert(shade1,background)
- TextLabel.Name = "Text Label"
- TextLabel.Parent = background
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, 5, 0, 80)
- TextLabel.Size = UDim2.new(0, 100, 0, 20)
- TextLabel.ZIndex = 10
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.TextSize = 20
- TextLabel.Text = "Run Time:"
- TextLabel.TextColor3 = currentText1
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,TextLabel)
- TextLabel2.Name = "Text Label2"
- TextLabel2.Parent = background
- TextLabel2.BackgroundTransparency = 1
- TextLabel2.BorderSizePixel = 0
- TextLabel2.Position = UDim2.new(0, 5, 0, 130)
- TextLabel2.Size = UDim2.new(0, 100, 0, 20)
- TextLabel2.ZIndex = 10
- TextLabel2.Font = Enum.Font.SourceSansLight
- TextLabel2.TextSize = 20
- TextLabel2.Text = "Statistics:"
- TextLabel2.TextColor3 = currentText1
- TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,TextLabel2)
- TextLabel3.Name = "Text Label3"
- TextLabel3.Parent = background
- TextLabel3.BackgroundTransparency = 1
- TextLabel3.BorderSizePixel = 0
- TextLabel3.Position = UDim2.new(0, 5, 0, 10)
- TextLabel3.Size = UDim2.new(0, 100, 0, 20)
- TextLabel3.ZIndex = 10
- TextLabel3.Font = Enum.Font.SourceSansLight
- TextLabel3.TextSize = 20
- TextLabel3.Text = "Local Player:"
- TextLabel3.TextColor3 = currentText1
- TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,TextLabel3)
- Time.Name = "Time"
- Time.Parent = background
- Time.BackgroundTransparency = 1
- Time.BorderSizePixel = 0
- Time.Position = UDim2.new(0, 5, 0, 105)
- Time.Size = UDim2.new(0, 100, 0, 20)
- Time.ZIndex = 10
- Time.Font = Enum.Font.SourceSans
- Time.FontSize = Enum.FontSize.Size14
- Time.Text = "LOADING"
- Time.TextColor3 = currentText1
- Time.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,Time)
- appearance.Name = "appearance"
- appearance.Parent = background
- appearance.BackgroundTransparency = 1
- appearance.BorderSizePixel = 0
- appearance.Position = UDim2.new(0, 5, 0, 55)
- appearance.Size = UDim2.new(0, 100, 0, 20)
- appearance.ZIndex = 10
- appearance.Font = Enum.Font.SourceSans
- appearance.FontSize = Enum.FontSize.Size14
- appearance.Text = "Appearance: LOADING"
- appearance.TextColor3 = currentText1
- appearance.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,appearance)
- maxplayers.Name = "maxplayers"
- maxplayers.Parent = background
- maxplayers.BackgroundTransparency = 1
- maxplayers.BorderSizePixel = 0
- maxplayers.Position = UDim2.new(0, 5, 0, 175)
- maxplayers.Size = UDim2.new(0, 100, 0, 20)
- maxplayers.ZIndex = 10
- maxplayers.Font = Enum.Font.SourceSans
- maxplayers.FontSize = Enum.FontSize.Size14
- maxplayers.Text = "LOADING"
- maxplayers.TextColor3 = currentText1
- maxplayers.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,maxplayers)
- name.Name = "name"
- name.Parent = background
- name.BackgroundTransparency = 1
- name.BorderSizePixel = 0
- name.Position = UDim2.new(0, 5, 0, 215)
- name.Size = UDim2.new(0, 240, 0, 30)
- name.ZIndex = 10
- name.Font = Enum.Font.SourceSans
- name.FontSize = Enum.FontSize.Size14
- name.Text = "Place Name: LOADING"
- name.TextColor3 = currentText1
- name.TextWrapped = true
- name.TextXAlignment = Enum.TextXAlignment.Left
- name.TextYAlignment = Enum.TextYAlignment.Top
- table.insert(text1,name)
- placeid.Name = "placeid"
- placeid.Parent = background
- placeid.BackgroundTransparency = 1
- placeid.BorderSizePixel = 0
- placeid.Position = UDim2.new(0, 5, 0, 195)
- placeid.Size = UDim2.new(0, 100, 0, 20)
- placeid.ZIndex = 10
- placeid.Font = Enum.Font.SourceSans
- placeid.FontSize = Enum.FontSize.Size14
- placeid.Text = "Place ID: LOADING"
- placeid.TextColor3 = currentText1
- placeid.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,placeid)
- playerid.Name = "playerid"
- playerid.Parent = background
- playerid.BackgroundTransparency = 1
- playerid.BorderSizePixel = 0
- playerid.Position = UDim2.new(0, 5, 0, 35)
- playerid.Size = UDim2.new(0, 100, 0, 20)
- playerid.ZIndex = 10
- playerid.Font = Enum.Font.SourceSans
- playerid.FontSize = Enum.FontSize.Size14
- playerid.Text = "Player ID: LOADING"
- playerid.TextColor3 = currentText1
- playerid.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,playerid)
- players.Name = "players"
- players.Parent = background
- players.BackgroundTransparency = 1
- players.BorderSizePixel = 0
- players.Position = UDim2.new(0, 5, 0, 155)
- players.Size = UDim2.new(0, 100, 0, 20)
- players.ZIndex = 10
- players.Font = Enum.Font.SourceSans
- players.FontSize = Enum.FontSize.Size14
- players.Text = "LOADING"
- players.TextColor3 = currentText1
- players.TextXAlignment = Enum.TextXAlignment.Left
- table.insert(text1,players)
- CopyApp.Name = "CopyApp"
- CopyApp.Parent = background
- CopyApp.BackgroundColor3 = currentShade2
- CopyApp.BorderSizePixel = 0
- CopyApp.Position = UDim2.new(0, 210, 0, 55)
- CopyApp.Size = UDim2.new(0, 35, 0, 20)
- CopyApp.Font = Enum.Font.SourceSans
- CopyApp.TextSize = 14
- CopyApp.Text = "Copy"
- CopyApp.TextColor3 = currentText1
- CopyApp.ZIndex = 10
- table.insert(shade2,CopyApp)
- table.insert(text1,CopyApp)
- CopyPlrID.Name = "CopyPlrID"
- CopyPlrID.Parent = background
- CopyPlrID.BackgroundColor3 = currentShade2
- CopyPlrID.BorderSizePixel = 0
- CopyPlrID.Position = UDim2.new(0, 210, 0, 35)
- CopyPlrID.Size = UDim2.new(0, 35, 0, 20)
- CopyPlrID.Font = Enum.Font.SourceSans
- CopyPlrID.TextSize = 14
- CopyPlrID.Text = "Copy"
- CopyPlrID.TextColor3 = currentText1
- CopyPlrID.ZIndex = 10
- table.insert(shade2,CopyPlrID)
- table.insert(text1,CopyPlrID)
- CopyPlcID.Name = "CopyPlcID"
- CopyPlcID.Parent = background
- CopyPlcID.BackgroundColor3 = currentShade2
- CopyPlcID.BorderSizePixel = 0
- CopyPlcID.Position = UDim2.new(0, 210, 0, 195)
- CopyPlcID.Size = UDim2.new(0, 35, 0, 20)
- CopyPlcID.Font = Enum.Font.SourceSans
- CopyPlcID.TextSize = 14
- CopyPlcID.Text = "Copy"
- CopyPlcID.TextColor3 = currentText1
- CopyPlcID.ZIndex = 10
- table.insert(shade2,CopyPlcID)
- table.insert(text1,CopyPlcID)
- local SINFOGUI = background
- FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil)
- wait(0.5)
- Exit.MouseButton1Click:Connect(function()
- FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -500), "InOut", "Quart", 0.5, true, nil)
- wait(0.6)
- FRAME:Destroy()
- end)
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
- SINFOGUI.name.Text = "Place Name: " .. Asset.Name
- SINFOGUI.playerid.Text = "Player ID: " ..speaker.UserId
- SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
- SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId
- CopyApp.MouseButton1Click:Connect(function()
- toClipboard(speaker.CharacterAppearanceId)
- end)
- CopyPlrID.MouseButton1Click:Connect(function()
- toClipboard(speaker.UserId)
- end)
- CopyPlcID.MouseButton1Click:Connect(function()
- toClipboard(game.PlaceId)
- end)
- repeat
- players = Players:getPlayers()
- SINFOGUI.players.Text = #players.. " Player(s)"
- SINFOGUI.appearance.Text = "Appearance: " ..speaker.CharacterAppearanceId
- local seconds = math.floor(workspace.DistributedGameTime)
- local minutes = math.floor(workspace.DistributedGameTime / 60)
- local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
- local seconds = seconds - (minutes * 60)
- local minutes = minutes - (hours * 60)
- if hours < 1 then if minutes < 1 then
- SINFOGUI.Time.Text = seconds .. " Second(s)" else
- SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
- end
- else
- SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
- end
- wait(1)
- until SINFOGUI.Parent == nil
- end)
- end)
- addcmd('jobid',{},
- function(args, speaker)
- local jobId = 'Roblox.GameLauncher.joinGameInstance('..game.PlaceId..', "'..game.JobId..'")'
- toClipboard(jobId)
- end)
- addcmd('notifyjobid',{},
- function(args, speaker)
- notify('JobId / PlaceId',game.JobId..' / '..game.PlaceId)
- end)
- addcmd('breakloops',{'break'},
- function(args, speaker)
- lastBreakTime = tick()
- end)
- addcmd('gametp',{'gameteleport'},
- function(args, speaker)
- game:GetService('TeleportService'):Teleport(args[1])
- end)
- addcmd('rejoin',{'rj'},
- function(args, speaker)
- if #Players:GetPlayers() <= 1 then
- Players.LocalPlayer:Kick("\nRejoining...")
- wait()
- game:GetService('TeleportService'):Teleport(game.PlaceId, Players.LocalPlayer)
- else
- game:GetService('TeleportService'):TeleportToPlaceInstance(game.PlaceId, game.JobId, Players.LocalPlayer)
- end
- end)
- local PlaceId = game.PlaceId
- local URL = ("https://www.roblox.com/games/getgameinstancesjson?placeId=%s&startindex="):format(PlaceId)
- local HttpService = game:GetService("HttpService")
- local TeleportService = game:GetService("TeleportService")
- function ServerHop(MaxQueries, MaxPlayers, MinPlayers)
- local List = {}
- MaxQueries = (MaxQueries or 10) * 10
- for page = 0, MaxQueries do
- local Query = HttpService:JSONDecode(game:HttpGet(URL..page))
- if page % 10 == 0 then -- ask roblox, not me.
- for i,v in next, Query.Collection do
- List[v.Guid] = {
- PlayerCount = #v.CurrentPlayers,
- IsSlow = v.ShowShutdownAllButton,
- Capacity = v.Capacity,
- }
- end
- end
- end
- local ChosenServer = nil
- for i,v in pairs(List) do
- if i ~= game.JobId then
- local MaxCheck = (MaxPlayers and v.PlayerCount <= MaxPlayers) or (not MaxPlayers and true)
- local MinCheck = (MinPlayers and v.PlayerCount >= MinPlayers) or (not MinPlayers and true)
- local CapacityCheck = v.Capacity ~= v.PlayerCount
- local SlowCheck = not v.IsSlow
- if MaxCheck and MinCheck and CapacityCheck and SlowCheck then
- ChosenServer = i
- break
- end
- end
- end
- if ChosenServer then
- TeleportService:TeleportToPlaceInstance(game.PlaceId, ChosenServer, game.Players.LocalPlayer)
- else
- notify("Server Hop Failure", "Could not find a server!")
- end
- end
- addcmd('serverhop',{'shop'},
- function(args, speaker)
- ServerHop(tonumber(args[3]), tonumber(args[1]), tonumber(args[2]))
- end)
- addcmd('joinplayer',{'joinp'},
- function(args, speaker)
- local retries = 0
- local gameID = game.PlaceId
- if args[2] then
- gameID = args[2]
- end
- function ToServer(User,PlaceId)
- if not pcall(function()
- local FoundUser, UserId = pcall(function()
- if tonumber(User) then
- return tonumber(User)
- end
- return game:GetService("Players"):GetUserIdFromNameAsync(User)
- end)
- if not FoundUser then
- notify('Join Error','Username/UserID does not exist')
- else
- notify('Join Player','Loading servers. Hold on a sec.')
- local res = game:HttpGet("https://www.roblox.com/headshot-thumbnail/json?userId="..UserId.."&width=48&height=48")
- local HttpURL = game:GetService("HttpService"):JSONDecode(res)
- local ThumbGrab = HttpURL["Url"]
- local Thumb = ThumbGrab
- local URL2 = ("https://www.roblox.com/games/getgameinstancesjson?placeId="..PlaceId.."&startindex=")
- local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet(URL2.."0"))
- local GUID
- for i = 0,Http.TotalCollectionSize do
- local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet(URL2..i))
- for x,n in pairs(Http.Collection) do
- for _,v in pairs(n.CurrentPlayers) do
- if v.Thumbnail.Url == Thumb then
- GUID = n.Guid
- end
- end
- end
- end
- if GUID ~= nil then
- notify('Join Player','Joining '..User)
- game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceId,GUID,speaker)
- else
- notify('Join Error','Unable to join user.')
- end
- end
- end)
- then
- if retries < 3 then
- retries = retries + 1
- print('ERROR retrying '..retries..'/3')
- notify('Join Error','Error while trying to join. Retrying '..retries..'/3.')
- ToServer(User,PlaceId)
- else
- notify('Join Error','Error while trying to join.')
- end
- end
- end
- ToServer(args[1],gameID)
- end)
- addcmd('exit',{},
- function(args, speaker)
- game:shutdown()
- end)
- local Noclipping = nil
- addcmd('noclip',{},
- function(args, speaker)
- Clip = false
- wait(0.1)
- local function NoclipLoop()
- if Clip == false and speaker.Character ~= nil then
- for _, child in pairs(speaker.Character:GetDescendants()) do
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
- if args[1] and args[1] == 'nonotify' then return end
- notify('Noclip','Noclip Enabled')
- end)
- addcmd('clip',{'unnoclip'},
- function(args, speaker)
- if Noclipping then
- Noclipping:Disconnect()
- end
- Clip = true
- if args[1] and args[1] == 'nonotify' then return end
- notify('Noclip','Noclip Disabled')
- end)
- addcmd('togglenoclip',{},
- function(args, speaker)
- if Clip then
- execCmd('noclip')
- else
- execCmd('clip')
- end
- end)
- FLYING = false
- QEfly = true
- iyflyspeed = 1
- vehicleflyspeed = 1
- function sFLY(vfly)
- repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid')
- repeat wait() until IYMouse
- local T = getRoot(Players.LocalPlayer.Character)
- local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- local SPEED = 0
- local function FLY()
- FLYING = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- end)
- end
- IYMouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- if vfly then
- CONTROL.F = vehicleflyspeed
- else
- CONTROL.F = iyflyspeed
- end
- elseif KEY:lower() == 's' then
- if vfly then
- CONTROL.B = - vehicleflyspeed
- else
- CONTROL.B = - iyflyspeed
- end
- elseif KEY:lower() == 'a' then
- if vfly then
- CONTROL.L = - vehicleflyspeed
- else
- CONTROL.L = - iyflyspeed
- end
- elseif KEY:lower() == 'd' then
- if vfly then
- CONTROL.R = vehicleflyspeed
- else
- CONTROL.R = iyflyspeed
- end
- elseif QEfly and KEY:lower() == 'e' then
- if vfly then
- CONTROL.Q = vehicleflyspeed*2
- else
- CONTROL.Q = iyflyspeed*2
- end
- elseif QEfly and KEY:lower() == 'q' then
- if vfly then
- CONTROL.E = -vehicleflyspeed*2
- else
- CONTROL.E = -iyflyspeed*2
- end
- end
- end)
- IYMouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- elseif KEY:lower() == 'e' then
- CONTROL.Q = 0
- elseif KEY:lower() == 'q' then
- CONTROL.E = 0
- end
- end)
- FLY()
- end
- function NOFLY()
- FLYING = false
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- addcmd('fly',{},
- function(args, speaker)
- NOFLY()
- wait()
- sFLY()
- end)
- addcmd('flyspeed',{'flysp'},
- function(args, speaker)
- local speed = args[1] or 1
- if isNumber(speed) then
- iyflyspeed = speed
- end
- end)
- addcmd('unfly',{'nofly','novfly','unvehiclefly','novehiclefly','unvfly'},
- function(args, speaker)
- NOFLY()
- end)
- addcmd('vfly',{'vehiclefly'},
- function(args, speaker)
- NOFLY()
- wait()
- sFLY(true)
- end)
- addcmd('vflyspeed',{'vflysp','vehicleflyspeed','vehicleflysp'},
- function(args, speaker)
- local speed = args[1] or 1
- if isNumber(speed) then
- vehicleflyspeed = speed
- end
- end)
- addcmd('qefly',{'flyqe'},
- function(args, speaker)
- if args[1] == 'false' then
- QEfly = false
- else
- QEfly = true
- end
- end)
- addcmd('togglefly',{},
- function(args, speaker)
- if FLYING then
- NOFLY()
- else
- sFLY()
- end
- end)
- Floating = false
- addcmd('float', {'platform'},
- function(args, speaker)
- Floating = true
- local pchar = speaker.Character
- if pchar and not pchar:FindFirstChild("Float") then
- spawn(function()
- local Float = Instance.new('Part', pchar)
- Float.Name = 'Float'
- Float.Transparency = 1
- Float.Size = Vector3.new(6,1,6)
- Float.Anchored = true
- local FloatValue = -3.5
- if r15(speaker) then FloatValue = -3.65 end
- Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
- notify('Float','Float Enabled (Q = down & E = up)')
- qUp = IYMouse.KeyUp:connect(function(KEY)
- if KEY == 'q' then
- FloatValue = FloatValue + 0.5
- end
- end)
- eUp = IYMouse.KeyUp:connect(function(KEY)
- if KEY == 'e' then
- FloatValue = FloatValue - 0.5
- end
- end)
- qDown = IYMouse.KeyDown:connect(function(KEY)
- if KEY == 'q' then
- FloatValue = FloatValue - 0.5
- end
- end)
- eDown = IYMouse.KeyDown:connect(function(KEY)
- if KEY == 'e' then
- FloatValue = FloatValue + 0.5
- end
- end)
- floatDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
- FloatingFunc:Disconnect()
- Float:Destroy()
- qUp:Disconnect()
- eUp:Disconnect()
- qDown:Disconnect()
- eDown:Disconnect()
- floatDied:Disconnect()
- end)
- local function FloatPadLoop()
- if pchar:FindFirstChild("Float") and getRoot(pchar) then
- Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
- else
- FloatingFunc:Disconnect()
- Float:Destroy()
- qUp:Disconnect()
- eUp:Disconnect()
- qDown:Disconnect()
- eDown:Disconnect()
- floatDied:Disconnect()
- end
- end
- FloatingFunc = game:GetService('RunService').Heartbeat:connect(FloatPadLoop)
- end)
- end
- end)
- addcmd('unfloat',{'nofloat','unplatform','noplatform'},
- function(args, speaker)
- Floating = false
- local pchar = speaker.Character
- notify('Float','Float Disabled')
- if pchar:FindFirstChild("Float") then
- pchar.Float:Destroy()
- end
- if floatDied then
- FloatingFunc:Disconnect()
- qUp:Disconnect()
- eUp:Disconnect()
- qDown:Disconnect()
- eDown:Disconnect()
- floatDied:Disconnect()
- end
- end)
- addcmd('togglefloat',{},
- function(args, speaker)
- if Floating then
- execCmd('unfloat')
- else
- execCmd('float')
- end
- end)
- swimming = false
- addcmd('swim',{},
- function(args, speaker)
- workspace.Gravity = 0
- local function swimDied()
- workspace.Gravity = 198.2
- swimming = false
- end
- gravReset = speaker.Character:FindFirstChildOfClass('Humanoid').Died:connect(swimDied)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
- speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
- swimming = true
- end)
- addcmd('unswim',{'noswim'},
- function(args, speaker)
- workspace.Gravity = 198.2
- swimming = false
- if gravReset then
- gravReset:Disconnect()
- end
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
- speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
- speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
- end)
- addcmd('toggleswim',{},
- function(args, speaker)
- if swimming then
- execCmd('unswim')
- else
- execCmd('swim')
- end
- end)
- addcmd('setwaypoint',{'swp','setwp','spos','saveposition','savepos'},
- function(args, speaker)
- local WPName = tostring(getstring(1))
- if getRoot(speaker.Character) then
- notify('Modified Waypoints',"Created waypoint: "..getstring(1))
- local torso = getRoot(speaker.Character)
- WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = game.PlaceId}
- if AllWaypoints ~= nil then
- AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = game.PlaceId}
- end
- end
- refreshwaypoints()
- updatesaves()
- end)
- addcmd('waypointpos',{'wpp','setwaypointposition','setpos','setwaypoint','setwaypointpos'},
- function(args, speaker)
- local WPName = tostring(getstring(1))
- if getRoot(speaker.Character) then
- notify('Modified Waypoints',"Created waypoint: "..getstring(1))
- WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = game.PlaceId}
- if AllWaypoints ~= nil then
- AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = game.PlaceId}
- end
- end
- refreshwaypoints()
- updatesaves()
- end)
- waypointParts = {}
- addcmd('showwaypoints',{'showwp','showwps'},
- function(args, speaker)
- execCmd('hidewaypoints')
- wait()
- for i,_ in pairs(WayPoints) do
- local x = WayPoints[i].COORD[1]
- local y = WayPoints[i].COORD[2]
- local z = WayPoints[i].COORD[3]
- local part = Instance.new("Part",workspace)
- part.Size = Vector3.new(5,5,5)
- part.CFrame = CFrame.new(x,y,z)
- part.Anchored = true
- part.CanCollide = false
- table.insert(waypointParts,part)
- local view = Instance.new("BoxHandleAdornment", part)
- view.Adornee = part
- view.AlwaysOnTop = true
- view.ZIndex = 10
- view.Size = part.Size
- end
- for i,v in pairs(pWayPoints) do
- local view = Instance.new("BoxHandleAdornment", pWayPoints[i].COORD[1])
- view.Adornee = pWayPoints[i].COORD[1]
- view.AlwaysOnTop = true
- view.ZIndex = 10
- view.Size = pWayPoints[i].COORD[1].Size
- table.insert(waypointParts,view)
- end
- end)
- addcmd('hidewaypoints',{'hidewp','hidewps'},
- function(args, speaker)
- for i,v in pairs(waypointParts) do
- v:Destroy()
- end
- waypointParts = {}
- end)
- addcmd('waypoint',{'wp','lpos','loadposition','loadpos'},
- function(args, speaker)
- local WPName = tostring(getstring(1))
- if speaker.Character then
- for i,_ in pairs(WayPoints) do
- if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
- local x = WayPoints[i].COORD[1]
- local y = WayPoints[i].COORD[2]
- local z = WayPoints[i].COORD[3]
- getRoot(speaker.Character).CFrame = CFrame.new(x,y,z)
- end
- end
- for i,_ in pairs(pWayPoints) do
- if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
- getRoot(speaker.Character).CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)
- end
- end
- end
- end)
- addcmd('tweenwaypoint',{'twp'},
- function(args, speaker)
- local WPName = tostring(getstring(1))
- if speaker.Character then
- for i,_ in pairs(WayPoints) do
- local x = WayPoints[i].COORD[1]
- local y = WayPoints[i].COORD[2]
- local z = WayPoints[i].COORD[3]
- if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(x,y,z)}):Play()
- end
- end
- for i,_ in pairs(pWayPoints) do
- if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)}):Play()
- end
- end
- end
- end)
- addcmd('deletewaypoint',{'dwp','dpos','deleteposition','deletepos'},
- function(args, speaker)
- for i,v in pairs(WayPoints) do
- if v.NAME:lower() == tostring(getstring(1)):lower() then
- notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
- table.remove(WayPoints, i)
- end
- end
- if AllWaypoints ~= nil and #AllWaypoints > 0 then
- for i,v in pairs(AllWaypoints) do
- if v.NAME:lower() == tostring(getstring(1)):lower() then
- if not v.GAME or v.GAME == game.PlaceId then
- table.remove(AllWaypoints, i)
- end
- end
- end
- end
- for i,v in pairs(pWayPoints) do
- if v.NAME:lower() == tostring(getstring(1)):lower() then
- notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
- table.remove(pWayPoints, i)
- end
- end
- refreshwaypoints()
- updatesaves()
- end)
- addcmd('clearwaypoints',{'cwp','clearpositions','cpos','clearpos'},
- function(args, speaker)
- WayPoints = {}
- pWayPoints = {}
- refreshwaypoints()
- updatesaves()
- AllWaypoints = {}
- notify('Modified Waypoints','Removed all waypoints')
- end)
- addcmd('enable',{},
- function(args, speaker)
- if args[1]:lower() == 'inventory' or args[1]:lower() == 'backpack' then
- game:GetService("StarterGui"):SetCoreGuiEnabled('Backpack', true)
- elseif args[1]:lower() == 'playerlist' then
- game:GetService("StarterGui"):SetCoreGuiEnabled('PlayerList', true)
- elseif args[1]:lower() == 'chat' then
- game:GetService("StarterGui"):SetCoreGuiEnabled('Chat', true)
- elseif args[1]:lower() == 'all' then
- game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
- end
- end)
- addcmd('disable',{},
- function(args, speaker)
- if args[1]:lower() == 'inventory' or args[1]:lower() == 'backpack' then
- game:GetService("StarterGui"):SetCoreGuiEnabled('Backpack', false)
- elseif args[1]:lower() == 'playerlist' then
- game:GetService("StarterGui"):SetCoreGuiEnabled('PlayerList', false)
- elseif args[1]:lower() == 'chat' then
- game:GetService("StarterGui"):SetCoreGuiEnabled('Chat', false)
- elseif args[1]:lower() == 'all' then
- game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
- end
- end)
- local invisGUIS = {}
- addcmd('showguis',{},
- function(args, speaker)
- for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
- if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and not v.Visible then
- v.Visible = true
- if not FindInTable(invisGUIS,v) then
- table.insert(invisGUIS,v)
- end
- end
- end
- end)
- addcmd('unshowguis',{},
- function(args, speaker)
- for i,v in pairs(invisGUIS) do
- v.Visible = false
- end
- invisGUIS = {}
- end)
- local hiddenGUIS = {}
- addcmd('hideguis',{},
- function(args, speaker)
- for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
- if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and v.Visible then
- v.Visible = false
- if not FindInTable(hiddenGUIS,v) then
- table.insert(hiddenGUIS,v)
- end
- end
- end
- end)
- addcmd('unhideguis',{},
- function(args, speaker)
- for i,v in pairs(hiddenGUIS) do
- v.Visible = true
- end
- hiddenGUIS = {}
- end)
- local wasStayOpen = StayOpen
- addcmd('hideiy',{},
- function(args, speaker)
- wasStayOpen = StayOpen
- if StayOpen == true then StayOpen = false
- On.BackgroundTransparency = 1
- end
- minimizeNum = 0
- minimizeHolder()
- notify('IY Hidden','You can press the prefix key to access the command bar')
- end)
- addcmd('showiy',{},
- function(args, speaker)
- minimizeNum = -20
- if wasStayOpen then
- maximizeHolder()
- StayOpen = true
- On.BackgroundTransparency = 0
- else
- minimizeHolder()
- end
- end)
- addcmd('savegame',{'saveplace'},
- function(args, speaker)
- if syn_checkcaller then
- notify("Loading","Fetching Moon's SaveInstance")
- loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/saveinstance/master/source'))()
- repeat wait() until saveplace
- notify("Loading","Downloading game. This will take a while")
- local placeName = tostring(game.PlaceId).." Map"
- saveplace(tostring(game.PlaceId).." Map")
- wait(1)
- notify('Game Saved','Saved place to the workspace folder within your exploit folder.')
- elseif saveinstance then
- notify("Loading","Downloading game. This will take a while")
- saveinstance()
- notify('Game Saved','Saved place to the workspace folder within your exploit folder.')
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing saveinstance)')
- end
- end)
- addcmd('clearerror',{'clearerrors'},
- function(args, speaker)
- game:GetService("GuiService"):ClearError()
- end)
- addcmd('clientantikick',{'antikick'},
- function(args, speaker)
- local mt = getrawmetatable(game)
- local old = mt.__namecall
- local protect = newcclosure or protect_function
- if not protect then
- notify("Incompatible Exploit Warning", "Your exploit does not support protection against stack trace errors, resulting to fallback function")
- protect = function(f) return f end
- end
- setreadonly(mt, false)
- mt.__namecall = protect(function(self, ...)
- local method = getnamecallmethod()
- if method == "Kick" then
- wait(9e9)
- return
- end
- return old(self, ...)
- end)
- hookfunction(game:GetService("Players").LocalPlayer.Kick,protect(function() wait(9e9) end))
- notify('Client Antikick','Client anti kick is now active (only effective on localscript kick)')
- end)
- addcmd('volume',{'vol'},
- function(args, speaker)
- local level = args[1]/10
- UserSettings():GetService("UserGameSettings").MasterVolume = level
- end)
- addcmd('antilag',{'boostfps','lowgraphics'},
- function(args, speaker)
- workspace:FindFirstChildOfClass('Terrain').WaterWaveSize = 0
- workspace:FindFirstChildOfClass('Terrain').WaterWaveSpeed = 0
- workspace:FindFirstChildOfClass('Terrain').WaterReflectance = 0
- workspace:FindFirstChildOfClass('Terrain').WaterTransparency = 0
- game:GetService("Lighting").GlobalShadows = false
- game:GetService("Lighting").FogEnd = 9e9
- settings().Rendering.QualityLevel = 1
- for i,v in pairs(game:GetDescendants()) do
- if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
- v.Material = "Plastic"
- v.Reflectance = 0
- elseif v:IsA("Decal") then
- v.Transparency = 1
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
- v.Lifetime = NumberRange.new(0)
- elseif v:IsA("Explosion") then
- v.BlastPressure = 1
- v.BlastRadius = 1
- end
- end
- for i,v in pairs(game:GetService("Lighting"):GetDescendants()) do
- if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
- v.Enabled = false
- end
- end
- end)
- addcmd('notify',{},
- function(args, speaker)
- notify(getstring(1))
- end)
- addcmd('esp',{},
- function(args, speaker)
- if not CHMSenabled then
- ESPenabled = true
- for i,v in pairs(Players:GetChildren()) do
- if v.ClassName == "Player" and v.Name ~= speaker.Name then
- ESP(v)
- end
- end
- else
- notify('ESP','Disable chams (nochams) before using esp')
- end
- end)
- addcmd('noesp',{'unesp'},
- function(args, speaker)
- ESPenabled = false
- for i,c in pairs(PARENT:GetChildren()) do
- if string.sub(c.Name, -4) == '_ESP' then
- c:Destroy()
- end
- end
- end)
- local espParts = {}
- local partEspTrigger = nil
- function partAdded(part)
- if #espParts > 0 then
- if FindInTable(espParts,part.Name:lower()) then
- local a = Instance.new("BoxHandleAdornment", part)
- a.Name = part.Name:lower().."_PESP"
- a.Adornee = part
- a.AlwaysOnTop = true
- a.ZIndex = 0
- a.Size = part.Size
- a.Transparency = 0.3
- a.Color = BrickColor.new("Lime green")
- end
- else
- partEspTrigger:Disconnect()
- partEspTrigger = nil
- end
- end
- addcmd('partesp',{},
- function(args, speaker)
- local partEspName = getstring(1):lower()
- if not FindInTable(espParts,partEspName) then
- table.insert(espParts,partEspName)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") and v.Name:lower() == partEspName then
- local a = Instance.new("BoxHandleAdornment", v)
- a.Name = partEspName.."_PESP"
- a.Adornee = v
- a.AlwaysOnTop = true
- a.ZIndex = 0
- a.Size = v.Size
- a.Transparency = 0.3
- a.Color = BrickColor.new("Lime green")
- end
- end
- end
- if partEspTrigger == nil then
- partEspTrigger = workspace.DescendantAdded:Connect(partAdded)
- end
- end)
- addcmd('unpartesp',{'nopartesp'},
- function(args, speaker)
- if args[1] then
- local partEspName = getstring(1):lower()
- if FindInTable(espParts,partEspName) then
- table.remove(espParts, GetInTable(espParts, partEspName))
- end
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BoxHandleAdornment") and v.Name == partEspName..'_PESP' then
- v:Destroy()
- end
- end
- else
- partEspTrigger:Disconnect()
- partEspTrigger = nil
- espParts = {}
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BoxHandleAdornment") and v.Name:sub(-5) == '_PESP' then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('chams',{},
- function(args, speaker)
- if not ESPenabled then
- CHMSenabled = true
- for i,v in pairs(Players:GetChildren()) do
- if v.ClassName == "Player" and v.Name ~= speaker.Name then
- CHMS(v)
- end
- end
- else
- notify('Chams','Disable ESP (noesp) before using chams')
- end
- end)
- addcmd('nochams',{'unchams'},
- function(args, speaker)
- CHMSenabled = false
- for i,v in pairs(Players:GetChildren()) do
- local chmsplr = v
- for i,c in pairs(PARENT:GetChildren()) do
- if c.Name == chmsplr.Name..'_CHMS' then
- c:Destroy()
- end
- end
- end
- end)
- addcmd('locate',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- Locate(Players[v])
- end
- end)
- addcmd('nolocate',{'unlocate'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if args[1] then
- for i,v in pairs(players) do
- for i,c in pairs(PARENT:GetChildren()) do
- if c.Name == Players[v].Name..'_LC' then
- c:Destroy()
- end
- end
- end
- else
- for i,c in pairs(PARENT:GetChildren()) do
- if string.sub(c.Name, -3) == '_LC' then
- c:Destroy()
- end
- end
- end
- end)
- viewing = nil
- addcmd('view',{'spectate'},
- function(args, speaker)
- StopFreecam()
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if viewDied then
- viewDied:Disconnect()
- viewChanged:Disconnect()
- end
- viewing = Players[v]
- workspace.CurrentCamera.CameraSubject = viewing.Character
- notify('Spectate','Viewing ' .. Players[v].Name)
- local function viewDiedFunc()
- repeat wait() until Players[v].Character ~= nil and getRoot(Players[v].Character)
- workspace.CurrentCamera.CameraSubject = viewing.Character
- end
- viewDied = Players[v].CharacterAdded:connect(viewDiedFunc)
- local function viewChangedFunc()
- workspace.CurrentCamera.CameraSubject = viewing.Character
- end
- viewChanged = workspace.CurrentCamera:GetPropertyChangedSignal("CameraSubject"):connect(viewChangedFunc)
- end
- end)
- addcmd('viewpart',{'viewp'},
- function(args, speaker)
- StopFreecam()
- if args[1] then
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
- wait(0.1)
- workspace.CurrentCamera.CameraSubject = v
- end
- end
- end
- end)
- addcmd('unview',{'unspectate'},
- function(args, speaker)
- StopFreecam()
- if viewing ~= nil then
- viewing = nil
- notify('Spectate','View turned off')
- end
- if viewDied then
- viewDied:Disconnect()
- viewChanged:Disconnect()
- end
- workspace.CurrentCamera.CameraSubject = speaker.Character
- end)
- fcRunning = false
- local Camera = workspace.CurrentCamera
- workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
- local newCamera = workspace.CurrentCamera
- if newCamera then
- Camera = newCamera
- end
- end)
- local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
- Spring = {} do
- Spring.__index = Spring
- function Spring.new(freq, pos)
- local self = setmetatable({}, Spring)
- self.f = freq
- self.p = pos
- self.v = pos*0
- return self
- end
- function Spring:Update(dt, goal)
- local f = self.f*2*math.pi
- local p0 = self.p
- local v0 = self.v
- local offset = goal - p0
- local decay = math.exp(-f*dt)
- local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
- local v1 = (f*dt*(offset*f - v0) + v0)*decay
- self.p = p1
- self.v = v1
- return p1
- end
- function Spring:Reset(pos)
- self.p = pos
- self.v = pos*0
- end
- end
- local cameraPos = Vector3.new()
- local cameraRot = Vector2.new()
- local velSpring = Spring.new(5, Vector3.new())
- local panSpring = Spring.new(5, Vector2.new())
- Input = {} do
- keyboard = {
- W = 0,
- A = 0,
- S = 0,
- D = 0,
- E = 0,
- Q = 0,
- Up = 0,
- Down = 0,
- LeftShift = 0,
- }
- mouse = {
- Delta = Vector2.new(),
- }
- NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
- PAN_MOUSE_SPEED = Vector2.new(1, 1)*(math.pi/64)
- NAV_ADJ_SPEED = 0.75
- NAV_SHIFT_MUL = 0.25
- navSpeed = 1
- function Input.Vel(dt)
- navSpeed = math.clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
- local kKeyboard = Vector3.new(
- keyboard.D - keyboard.A,
- keyboard.E - keyboard.Q,
- keyboard.S - keyboard.W
- )*NAV_KEYBOARD_SPEED
- local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
- return (kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
- end
- function Input.Pan(dt)
- local kMouse = mouse.Delta*PAN_MOUSE_SPEED
- mouse.Delta = Vector2.new()
- return kMouse
- end
- do
- function Keypress(action, state, input)
- keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
- return Enum.ContextActionResult.Sink
- end
- function MousePan(action, state, input)
- local delta = input.Delta
- mouse.Delta = Vector2.new(-delta.y, -delta.x)
- return Enum.ContextActionResult.Sink
- end
- function Zero(t)
- for k, v in pairs(t) do
- t[k] = v*0
- end
- end
- function Input.StartCapture()
- game:GetService("ContextActionService"):BindActionAtPriority("FreecamKeyboard",Keypress,false,INPUT_PRIORITY,
- Enum.KeyCode.W,
- Enum.KeyCode.A,
- Enum.KeyCode.S,
- Enum.KeyCode.D,
- Enum.KeyCode.E,
- Enum.KeyCode.Q,
- Enum.KeyCode.Up,
- Enum.KeyCode.Down
- )
- game:GetService("ContextActionService"):BindActionAtPriority("FreecamMousePan",MousePan,false,INPUT_PRIORITY,Enum.UserInputType.MouseMovement)
- end
- function Input.StopCapture()
- navSpeed = 1
- Zero(keyboard)
- Zero(mouse)
- game:GetService("ContextActionService"):UnbindAction("FreecamKeyboard")
- game:GetService("ContextActionService"):UnbindAction("FreecamMousePan")
- end
- end
- end
- function GetFocusDistance(cameraFrame)
- local znear = 0.1
- local viewport = Camera.ViewportSize
- local projy = 2*math.tan(cameraFov/2)
- local projx = viewport.x/viewport.y*projy
- local fx = cameraFrame.rightVector
- local fy = cameraFrame.upVector
- local fz = cameraFrame.lookVector
- local minVect = Vector3.new()
- local minDist = 512
- for x = 0, 1, 0.5 do
- for y = 0, 1, 0.5 do
- local cx = (x - 0.5)*projx
- local cy = (y - 0.5)*projy
- local offset = fx*cx - fy*cy + fz
- local origin = cameraFrame.p + offset*znear
- local _, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
- local dist = (hit - origin).magnitude
- if minDist > dist then
- minDist = dist
- minVect = offset.unit
- end
- end
- end
- return fz:Dot(minVect)*minDist
- end
- local function StepFreecam(dt)
- local vel = velSpring:Update(dt, Input.Vel(dt))
- local pan = panSpring:Update(dt, Input.Pan(dt))
- local zoomFactor = math.sqrt(math.tan(math.rad(70/2))/math.tan(math.rad(cameraFov/2)))
- cameraRot = cameraRot + pan*Vector2.new(0.75, 1)*8*(dt/zoomFactor)
- cameraRot = Vector2.new(math.clamp(cameraRot.x, -math.rad(90), math.rad(90)), cameraRot.y%(2*math.pi))
- local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*Vector3.new(1, 1, 1)*64*dt)
- cameraPos = cameraCFrame.p
- Camera.CFrame = cameraCFrame
- Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
- Camera.FieldOfView = cameraFov
- end
- local PlayerState = {} do
- mouseBehavior = ""
- mouseIconEnabled = ""
- cameraType = ""
- cameraFocus = ""
- cameraCFrame = ""
- cameraFieldOfView = ""
- function PlayerState.Push()
- cameraFieldOfView = Camera.FieldOfView
- Camera.FieldOfView = 70
- cameraType = Camera.CameraType
- Camera.CameraType = Enum.CameraType.Custom
- cameraCFrame = Camera.CFrame
- cameraFocus = Camera.Focus
- mouseIconEnabled = UserInputService.MouseIconEnabled
- UserInputService.MouseIconEnabled = true
- mouseBehavior = UserInputService.MouseBehavior
- UserInputService.MouseBehavior = Enum.MouseBehavior.Default
- end
- function PlayerState.Pop()
- Camera.FieldOfView = 70
- Camera.CameraType = cameraType
- cameraType = nil
- Camera.CFrame = cameraCFrame
- cameraCFrame = nil
- Camera.Focus = cameraFocus
- cameraFocus = nil
- UserInputService.MouseIconEnabled = mouseIconEnabled
- mouseIconEnabled = nil
- UserInputService.MouseBehavior = mouseBehavior
- mouseBehavior = nil
- end
- end
- function StartFreecam(pos)
- if fcRunning then
- StopFreecam()
- end
- local cameraCFrame = Camera.CFrame
- if pos then
- cameraCFrame = pos
- end
- cameraRot = Vector2.new()
- cameraPos = cameraCFrame.p
- cameraFov = Camera.FieldOfView
- velSpring:Reset(Vector3.new())
- panSpring:Reset(Vector2.new())
- PlayerState.Push()
- game:GetService("RunService"):BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
- Input.StartCapture()
- fcRunning = true
- end
- function StopFreecam()
- if not fcRunning then return end
- Input.StopCapture()
- game:GetService("RunService"):UnbindFromRenderStep("Freecam")
- PlayerState.Pop()
- workspace.Camera.FieldOfView = 70
- fcRunning = false
- end
- addcmd('freecam',{'fc'},
- function(args, speaker)
- StartFreecam()
- end)
- addcmd('freecampos',{'fcpos','fcp','freecamposition','fcposition'},
- function(args, speaker)
- if not args[1] then return end
- local freecamPos = CFrame.new(args[1],args[2],args[3])
- StartFreecam(freecamPos)
- end)
- addcmd('freecamwaypoint',{'fcwp'},
- function(args, speaker)
- local WPName = tostring(getstring(1))
- if speaker.Character then
- for i,_ in pairs(WayPoints) do
- local x = WayPoints[i].COORD[1]
- local y = WayPoints[i].COORD[2]
- local z = WayPoints[i].COORD[3]
- if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
- StartFreecam(CFrame.new(x,y,z))
- end
- end
- for i,_ in pairs(pWayPoints) do
- if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
- StartFreecam(CFrame.new(pWayPoints[i].COORD[1].Position))
- end
- end
- end
- end)
- addcmd('freecamgoto',{'fcgoto','freecamtp','fctp'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- StartFreecam(getRoot(Players[v].Character).CFrame)
- end
- end)
- addcmd('unfreecam',{'nofreecam','unfc','nofc'},
- function(args, speaker)
- StopFreecam()
- end)
- addcmd('freecamspeed',{'fcspeed'},
- function(args, speaker)
- local FCspeed = args[1] or 1
- if isNumber(FCspeed) then
- NAV_KEYBOARD_SPEED = Vector3.new(FCspeed, FCspeed, FCspeed)
- end
- end)
- addcmd('gotocamera',{'gotocam','tocam'},
- function(args, speaker)
- getRoot(speaker.Character).CFrame = workspace.Camera.CFrame
- end)
- addcmd('fov',{},
- function(args, speaker)
- local fov = args[1] or 70
- if isNumber(fov) then
- workspace.CurrentCamera.FieldOfView = fov
- end
- end)
- local preMaxZoom = Players.LocalPlayer.CameraMaxZoomDistance
- local preMinZoom = Players.LocalPlayer.CameraMinZoomDistance
- addcmd('lookat',{},
- function(args, speaker)
- if speaker.CameraMaxZoomDistance ~= 0.5 then
- preMaxZoom = speaker.CameraMaxZoomDistance
- preMinZoom = speaker.CameraMinZoomDistance
- end
- speaker.CameraMaxZoomDistance = 0.5
- speaker.CameraMinZoomDistance = 0.5
- wait()
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local target = Players[v].Character
- if target and target:FindFirstChild('Head') then
- workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p, target.Head.CFrame.p)
- wait(0.1)
- end
- end
- speaker.CameraMaxZoomDistance = preMaxZoom
- speaker.CameraMinZoomDistance = preMinZoom
- end)
- addcmd('fixcam',{'restorecam'},
- function(args, speaker)
- StopFreecam()
- execCmd('unview')
- workspace.CurrentCamera:remove()
- wait(.1)
- repeat wait() until speaker.Character ~= nil
- workspace.CurrentCamera.CameraSubject = speaker.Character:FindFirstChildWhichIsA('Humanoid')
- workspace.CurrentCamera.CameraType = "Custom"
- speaker.CameraMinZoomDistance = 0.5
- speaker.CameraMaxZoomDistance = 400
- speaker.CameraMode = "Classic"
- speaker.Character.Head.Anchored = false
- end)
- addcmd('enableshiftlock',{'enablesl','shiftlock'},
- function(args, speaker)
- speaker.DevEnableMouseLock = true
- notify('Shiftlock','Shift lock is now available')
- end)
- addcmd('firstp',{},
- function(args, speaker)
- speaker.CameraMode = "LockFirstPerson"
- end)
- addcmd('thirdp',{},
- function(args, speaker)
- speaker.CameraMode = "Classic"
- end)
- addcmd('noclipcam',{'nccam'},
- function(args, speaker)
- speaker.CameraMinZoomDistance = math.huge - math.huge
- speaker.CameraMaxZoomDistance = math.huge - math.huge
- end)
- addcmd('maxzoom',{},
- function(args, speaker)
- speaker.CameraMaxZoomDistance = args[1]
- end)
- addcmd('minzoom',{},
- function(args, speaker)
- speaker.CameraMinZoomDistance = args[1]
- end)
- addcmd('unlockws',{'unlockworkspace'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- end
- end)
- addcmd('lockws',{'lockworkspace'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Locked = true
- end
- end
- end)
- addcmd('delete',{'remove'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() then
- v:Destroy()
- end
- end
- notify('Item(s) Deleted','Deleted ' ..getstring(1))
- end)
- addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName:lower() == getstring(1):lower() then
- v:Destroy()
- end
- end
- notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
- end)
- addcmd('chardelete',{'charremove','cd'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() then
- v:Destroy()
- end
- end
- notify('Item(s) Deleted','Deleted ' ..getstring(1))
- end)
- addcmd('chardeleteclass',{'charremoveclass','chardeleteclassname','charremoveclassname','cdc'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v.ClassName:lower() == getstring(1):lower() then
- v:Destroy()
- end
- end
- notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
- end)
- addcmd('deletevelocity',{'dv','removevelocity','removeforces'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA("BodyVelocity") or v:IsA("BodyGyro") or v:IsA("RocketPropulsion") or v:IsA("BodyThrust") or v:IsA("BodyAngularVelocity") or v:IsA("AngularVelocity") or v:IsA("BodyForce") or v:IsA("VectorForce") or v:IsA("LineForce") then
- v:Destroy()
- end
- end
- end)
- addcmd('deleteinvisparts',{'deleteinvisibleparts','dip'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") and v.Transparency == 1 and v.CanCollide then
- v:Destroy()
- end
- end
- end)
- local shownParts = {}
- addcmd('invisibleparts',{'invisparts'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") and v.Transparency == 1 then
- if not table.find(shownParts,v) then
- table.insert(shownParts,v)
- end
- v.Transparency = 0
- end
- end
- end)
- addcmd('uninvisibleparts',{'uninvisparts'},
- function(args, speaker)
- for i,v in pairs(shownParts) do
- v.Transparency = 1
- end
- shownParts = {}
- end)
- addcmd('btools',{},
- function(args, speaker)
- Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 1
- Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 2
- Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 3
- Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 4
- end)
- addcmd('f3x',{'fex'},
- function(args, speaker)
- loadstring(game:GetObjects("rbxassetid://4698064966")[1].Source)()
- end)
- addcmd('antiafk',{'antiidle'},
- function(args, speaker)
- local GC = getconnections or get_signal_cons
- if GC then
- for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
- if v["Disable"] then
- v["Disable"](v)
- elseif v["Disconnect"] then
- v["Disconnect"](v)
- end
- end
- notify('Anti Idle','Anti idle is enabled')
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing getconnections)')
- end
- end)
- addcmd('datalimit',{},
- function(args, speaker)
- if tonumber(args[1]) then
- game:GetService("NetworkClient"):SetOutgoingKBPSLimit(args[1])
- end
- end)
- addcmd('replicationlag',{'backtrack'},
- function(args, speaker)
- if tonumber(args[1]) then
- settings():GetService("NetworkSettings").IncommingReplicationLag = args[1]
- end
- end)
- addcmd('nopurchaseprompts',{'noprompts'},
- function(args, speaker)
- game:GetService("CoreGui").PurchasePromptApp.PurchasePromptUI.Visible = false
- end)
- addcmd('showpurchaseprompts',{'showprompts'},
- function(args, speaker)
- game:GetService("CoreGui").PurchasePromptApp.PurchasePromptUI.Visible = true
- end)
- addcmd('age',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local ages = {}
- for i,v in pairs(players) do
- local p = Players[v]
- table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
- end
- notify('Account Age',table.concat(ages, ',\n'))
- end)
- addcmd('chatage',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local ages = {}
- for i,v in pairs(players) do
- local p = Players[v]
- table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
- end
- local chatString = table.concat(ages, ', ')
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
- end)
- addcmd('joindate',{'jd'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local dates = {}
- notify("Loading",'Hold on a sec')
- for i,v in pairs(players) do
- local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
- local json = game:GetService("HttpService"):JSONDecode(user)
- local date = json["created"]:sub(1,10)
- local splitDates = string.split(date,"-")
- table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
- end
- notify('Join Date (Month/Day/Year)',table.concat(dates, ',\n'))
- end)
- addcmd('chatjoindate',{'cjd'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- local dates = {}
- notify("Loading",'Hold on a sec')
- for i,v in pairs(players) do
- local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
- local json = game:GetService("HttpService"):JSONDecode(user)
- local date = json["created"]:sub(1,10)
- local splitDates = string.split(date,"-")
- table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
- end
- local chatString = table.concat(dates, ', ')
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
- end)
- addcmd('copyname',{'copyuser'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local name = tostring(Players[v].Name)
- toClipboard(name)
- end
- end)
- addcmd('userid',{'id'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local id = tostring(Players[v].UserId)
- notify('User ID',id)
- end
- end)
- addcmd('copyid',{'copyuserid'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local id = tostring(Players[v].UserId)
- toClipboard(id)
- end
- end)
- addcmd('appearanceid',{'aid'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local aid = tostring(Players[v].CharacterAppearanceId)
- notify('Appearance ID',aid)
- end
- end)
- addcmd('copyappearanceid',{'caid'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local aid = tostring(Players[v].CharacterAppearanceId)
- toClipboard(aid)
- end
- end)
- addcmd('goto',{'to'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if Players[v].Character ~= nil then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(0.1)
- getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
- end
- end
- execCmd('breakvelocity')
- end)
- addcmd('tweengoto',{'tgoto','tto','tweento'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if Players[v].Character ~= nil then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(0.1)
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)}):Play()
- end
- end
- execCmd('breakvelocity')
- end)
- addcmd('vehiclegoto',{'vgoto','vtp','vehicletp'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if Players[v].Character ~= nil then
- local seat = speaker.Character.Humanoid.SeatPart
- local vehicleModel = seat.Parent
- repeat
- if vehicleModel.ClassName ~= "Model" then
- vehicleModel = vehicleModel.Parent
- end
- until vehicleModel.ClassName == "Model"
- wait(0.1)
- vehicleModel:MoveTo(getRoot(Players[v].Character).Position)
- end
- end
- end)
- local vnoclipParts = {}
- addcmd('vehiclenoclip',{'vnoclip'},
- function(args, speaker)
- vnoclipParts = {}
- local seat = speaker.Character.Humanoid.SeatPart
- local vehicleModel = seat.Parent
- repeat
- if vehicleModel.ClassName ~= "Model" then
- vehicleModel = vehicleModel.Parent
- end
- until vehicleModel.ClassName == "Model"
- wait(0.1)
- execCmd('noclip')
- for i,v in pairs(vehicleModel:GetDescendants()) do
- if v:IsA("BasePart") and v.CanCollide then
- table.insert(vnoclipParts,v)
- v.CanCollide = false
- end
- end
- end)
- addcmd('vehicleclip',{'vclip','unvnoclip','unvehiclenoclip'},
- function(args, speaker)
- execCmd('clip')
- for i,v in pairs(vnoclipParts) do
- v.CanCollide = true
- end
- end)
- addcmd('clientbring',{'cbring'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if Players[v].Character ~= nil then
- if Players[v].Character:FindFirstChild("Humanoid") then
- Players[v].Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait()
- getRoot(Players[v].Character).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(3,1,0)
- end
- end
- end)
- local bringT = {}
- addcmd('loopbring',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- if Players[v].Name ~= speaker.Name and not FindInTable(bringT, Players[v].Name) then
- table.insert(bringT, Players[v].Name)
- local pchar=Players[v].Character
- if pchar:FindFirstChild("Humanoid") then
- pchar:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait()
- local distance = 3
- if args[2] and isNumber(args[2]) then
- distance = args[2]
- end
- local lDelay = 0
- if args[3] and isNumber(args[3]) then
- lDelay = args[3]
- end
- repeat
- pchar = Players[v].Character
- for i,c in pairs(players) do
- if pchar~= nil and getRoot(pchar) and speaker.Character ~= nil and getRoot(speaker.Character) then
- getRoot(pchar).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(distance,1,0)
- end
- end
- wait(lDelay)
- until not FindInTable(bringT, Players[v].Name)
- end
- end)
- end
- end)
- addcmd('unloopbring',{'noloopbring'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
- end)
- end
- end)
- local walkto
- addcmd('walkto',{'follow'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- if Players[v].Character ~= nil then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- walkto = true
- repeat wait()
- speaker.Character.Humanoid:MoveTo(getRoot(Players[v].Character).Position)
- until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
- end
- end
- end)
- addcmd('unwalkto',{'nowalkto','unfollow','nofollow'},
- function(args, speaker)
- walkto = false
- end)
- addcmd('freeze',{'fr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i,v in pairs(players) do
- spawn(function()
- for i, x in next, Players[v].Character:GetDescendants() do
- if x:IsA("BasePart") and not x.Anchored then
- x.Anchored = true
- end
- end
- end)
- end
- end
- end)
- addcmd('thaw',{'unfreeze','unfr'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i,v in pairs(players) do
- spawn(function()
- for i, x in next, Players[v].Character:GetDescendants() do
- if x:IsA("BasePart") and x.Anchored then
- x.Anchored = false
- end
- end
- end)
- end
- end
- end)
- oofing = false
- addcmd('loopoof',{},
- function(args, speaker)
- oofing = true
- repeat wait(0.1)
- for i,v in pairs(Players:GetPlayers()) do
- if v.Character ~= nil and v.Character:FindFirstChild'Head' then
- for _,x in pairs(v.Character.Head:GetChildren()) do
- if x:IsA'Sound' then x.Playing = true end
- end
- end
- end
- until oofing == false
- end)
- addcmd('unloopoof',{},
- function(args, speaker)
- oofing = false
- end)
- local notifiedRespectFiltering = false
- addcmd('muteboombox',{},
- function(args, speaker)
- if not notifiedRespectFiltering and game:GetService("SoundService").RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i,v in pairs(players) do
- spawn(function()
- for i, x in next, Players[v].Character:GetDescendants() do
- if x:IsA("Sound") and x.Playing == true then
- x.Playing = false
- end
- end
- for i, x in next, Players[v]:FindFirstChildOfClass("Backpack"):GetDescendants() do
- if x:IsA("Sound") and x.Playing == true then
- x.Playing = false
- end
- end
- end)
- end
- end
- end)
- addcmd('unmuteboombox',{},
- function(args, speaker)
- if not notifiedRespectFiltering and game:GetService("SoundService").RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end
- local players = getPlayer(args[1], speaker)
- if players ~= nil then
- for i,v in pairs(players) do
- spawn(function()
- for i, x in next, Players[v].Character:GetDescendants() do
- if x:IsA("Sound") and x.Playing == false then
- x.Playing = true
- end
- end
- end)
- end
- end
- end)
- addcmd('reset',{},
- function(args, speaker)
- speaker.Character:BreakJoints()
- end)
- addcmd('respawn',{},
- function(args, speaker)
- respawn(speaker)
- end)
- addcmd('refresh',{'re'},
- function(args, speaker)
- refresh(speaker)
- end)
- invisRunning = false
- addcmd('invisible',{'invis'},
- function(args, speaker)
- if invisRunning then return end
- invisRunning = true
- -- Full credit to AmokahFox @V3rmillion
- local Player = speaker
- repeat wait(.1) until Player.Character
- local Character = Player.Character
- Character.Archivable = true
- local IsInvis = false
- local IsRunning = true
- local InvisibleCharacter = Character:Clone()
- InvisibleCharacter.Parent = game:GetService'Lighting'
- local Void = workspace.FallenPartsDestroyHeight
- InvisibleCharacter.Name = ""
- local CF
- local invisFix = game:GetService("RunService").Stepped:Connect(function()
- pcall(function()
- local IsInteger
- if tostring(Void):find'-' then
- IsInteger = true
- else
- IsInteger = false
- end
- local Pos = Player.Character.HumanoidRootPart.Position
- local Pos_String = tostring(Pos)
- local Pos_Seperate = Pos_String:split(', ')
- local X = tonumber(Pos_Seperate[1])
- local Y = tonumber(Pos_Seperate[2])
- local Z = tonumber(Pos_Seperate[3])
- if IsInteger == true then
- if Y <= Void then
- Respawn()
- end
- elseif IsInteger == false then
- if Y >= Void then
- Respawn()
- end
- end
- end)
- end)
- for i,v in pairs(InvisibleCharacter:GetDescendants())do
- if v:IsA("BasePart") then
- if v.Name == "HumanoidRootPart" then
- v.Transparency = 1
- else
- v.Transparency = .5
- end
- end
- end
- function Respawn()
- IsRunning = false
- if IsInvis == true then
- pcall(function()
- Player.Character = Character
- wait()
- Character.Parent = workspace
- Character:FindFirstChildWhichIsA'Humanoid':Destroy()
- IsInvis = false
- InvisibleCharacter.Parent = nil
- invisRunning = false
- end)
- elseif IsInvis == false then
- pcall(function()
- Player.Character = Character
- wait()
- Character.Parent = workspace
- Character:FindFirstChildWhichIsA'Humanoid':Destroy()
- TurnVisible()
- end)
- end
- end
- local invisDied
- invisDied = InvisibleCharacter:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
- Respawn()
- invisDied:Disconnect()
- end)
- if IsInvis == true then return end
- IsInvis = true
- CF = workspace.CurrentCamera.CFrame
- local CF_1 = Player.Character.HumanoidRootPart.CFrame
- Character:MoveTo(Vector3.new(0,math.pi*1000000,0))
- workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
- wait(.2)
- workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- InvisibleCharacter = InvisibleCharacter
- Character.Parent = game:GetService'Lighting'
- InvisibleCharacter.Parent = workspace
- InvisibleCharacter.HumanoidRootPart.CFrame = CF_1
- Player.Character = InvisibleCharacter
- execCmd('fixcam')
- Player.Character.Animate.Disabled = true
- Player.Character.Animate.Disabled = false
- function TurnVisible()
- if IsInvis == false then return end
- invisFix:Disconnect()
- invisDied:Disconnect()
- CF = workspace.CurrentCamera.CFrame
- Character = Character
- local CF_1 = Player.Character.HumanoidRootPart.CFrame
- Character.HumanoidRootPart.CFrame = CF_1
- InvisibleCharacter:Destroy()
- Player.Character = Character
- Character.Parent = workspace
- IsInvis = false
- Player.Character.Animate.Disabled = true
- Player.Character.Animate.Disabled = false
- invisDied = Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
- Respawn()
- invisDied:Disconnect()
- end)
- invisRunning = false
- end
- notify('Invisible','You now appear invisible to other players')
- end)
- addcmd('visible',{'vis'},
- function(args, speaker)
- TurnVisible()
- end)
- addcmd('toggleinvis',{},
- function(args, speaker)
- if invisRunning then
- execCmd('visible')
- else
- execCmd('invisible')
- end
- end)
- addcmd('strengthen',{},
- function(args, speaker)
- for _, child in pairs(speaker.Character:GetDescendants()) do
- if child.ClassName == "Part" then
- if args[1] then
- child.CustomPhysicalProperties = PhysicalProperties.new(args[1], 0.3, 0.5)
- else
- child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
- end
- end
- end
- end)
- addcmd('weaken',{},
- function(args, speaker)
- for _, child in pairs(speaker.Character:GetDescendants()) do
- if child.ClassName == "Part" then
- if args[1] then
- child.CustomPhysicalProperties = PhysicalProperties.new(-args[1], 0.3, 0.5)
- else
- child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
- end
- end
- end
- end)
- addcmd('unweaken',{'unstrengthen'},
- function(args, speaker)
- for _, child in pairs(speaker.Character:GetDescendants()) do
- if child.ClassName == "Part" then
- child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
- end
- end
- end)
- addcmd('breakvelocity',{},
- function(args, speaker)
- local BeenASecond = false
- spawn(function()
- repeat wait()
- for i,v in pairs(speaker:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Velocity = Vector3.new(0, 0, 0)
- end
- end
- until BeenASecond
- end)
- spawn(function()
- wait(1)
- BeenASecond = true
- end)
- end)
- addcmd('jpower',{'jumppower','jp'},
- function(args, speaker)
- local jpower = args[1] or 50
- if isNumber(jpower) then
- speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
- end
- end)
- addcmd('gravity',{'grav'},
- function(args, speaker)
- local grav = args[1] or 196.2
- if isNumber(grav) then
- workspace.Gravity = grav
- end
- end)
- addcmd('hipheight',{'hheight'},
- function(args, speaker)
- local height
- if r15(speaker) then
- height = args[1] or 2.1
- else
- height = args[1] or 0
- end
- speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight = height
- end)
- --2.1
- addcmd('dance',{},
- function(args, speaker)
- if not r15(speaker) then
- local pchar=speaker.Character
- local anim = nil
- local dance1 = math.random(1,7)
- if dance1 == 1 then
- anim = '27789359'
- end
- if dance1 == 2 then
- anim = '30196114'
- end
- if dance1 == 3 then
- anim = '248263260'
- end
- if dance1 == 4 then
- anim = '45834924'
- end
- if dance1 == 5 then
- anim = '33796059'
- end
- if dance1 == 6 then
- anim = '28488254'
- end
- if dance1 == 7 then
- anim = '52155728'
- end
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://"..anim
- animTrack = pchar.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- else
- notify('R6 Required','This command requires the r6 rig type')
- end
- end)
- addcmd('undance',{'nodance'},
- function(args, speaker)
- animTrack:Stop()
- animTrack:Destroy()
- end)
- addcmd('nolimbs',{'rlimbs'},
- function(args, speaker)
- if r15(speaker) then
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "RightUpperLeg" or
- v.Name == "LeftUpperLeg" or
- v.Name == "RightUpperArm" or
- v.Name == "LeftUpperArm" then
- v:Destroy()
- end
- end
- else
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "Right Leg" or
- v.Name == "Left Leg" or
- v.Name == "Right Arm" or
- v.Name == "Left Arm" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('noarms',{'rarms'},
- function(args, speaker)
- if r15(speaker) then
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "RightUpperArm" or
- v.Name == "LeftUpperArm" then
- v:Destroy()
- end
- end
- else
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "Right Arm" or
- v.Name == "Left Arm" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('nolegs',{'rlegs'},
- function(args, speaker)
- if r15(speaker) then
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "RightUpperLeg" or
- v.Name == "LeftUpperLeg" then
- v:Destroy()
- end
- end
- else
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("BasePart") and
- v.Name == "Right Leg" or
- v.Name == "Left Leg" then
- v:Destroy()
- end
- end
- end
- end)
- addcmd('sit',{},
- function(args, speaker)
- speaker.Character:FindFirstChildOfClass("Humanoid").Sit = true
- end)
- addcmd('sitwalk',{},
- function(args, speaker)
- local anims = speaker.Character.Animate
- local sit = anims.sit:FindFirstChildOfClass("Animation").AnimationId
- anims.idle:FindFirstChildOfClass("Animation").AnimationId = sit
- anims.walk:FindFirstChildOfClass("Animation").AnimationId = sit
- anims.run:FindFirstChildOfClass("Animation").AnimationId = sit
- anims.jump:FindFirstChildOfClass("Animation").AnimationId = sit
- if r15(speaker) then
- speaker.Character.Humanoid.HipHeight = 0.5
- else
- speaker.Character.Humanoid.HipHeight = -1.5
- end
- end)
- function noSitFunc()
- wait()
- if Players.LocalPlayer.Character.Humanoid.Sit then
- Players.LocalPlayer.Character.Humanoid.Sit = false
- end
- end
- addcmd('nosit',{},
- function(args, speaker)
- if noSit then noSit:Disconnect() nositDied:Disconnect() end
- noSit = Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("Sit"):connect(noSitFunc)
- local function nositDiedFunc()
- repeat wait() until speaker.Character ~= nil and speaker.Character:FindFirstChild('Humanoid')
- noSit:Disconnect()
- noSit = Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("Sit"):connect(noSitFunc)
- end
- nositDied = speaker.CharacterAdded:connect(nositDiedFunc)
- end)
- addcmd('unnosit',{},
- function(args, speaker)
- if noSit then noSit:Disconnect() nositDied:Disconnect() end
- end)
- addcmd('jump',{},
- function(args, speaker)
- speaker.Character:FindFirstChildOfClass("Humanoid").Jump = true
- end)
- local infjump
- addcmd('infjump',{'infinitejump'},
- function(args, speaker)
- if infJump then infJump:Disconnect() end
- infJump = game:GetService("UserInputService").JumpRequest:connect(function(Jump)
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end)
- end)
- addcmd('uninfjump',{'uninfinitejump','noinfjump','noinfinitejump'},
- function(args, speaker)
- if infJump then infJump:Disconnect() end
- end)
- addcmd('team',{},
- function(args, speaker)
- local teamname = nil
- for a,b in pairs(game:GetService("Teams"):GetChildren()) do
- local L_name = b.Name:lower()
- local F = L_name:find(getstring(1))
- if F == 1 then
- teamname = b
- end
- end
- speaker.Team = teamname
- end)
- addcmd('nobgui',{'unbgui','nobillboardgui','unbillboardgui','noname','rohg'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants())do
- if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
- v:Destroy()
- end
- end
- end)
- addcmd('spasm',{},
- function(args, speaker)
- if not r15(speaker) then
- local pchar=speaker.Character
- local AnimationId = "33796059"
- SpasmAnim = Instance.new("Animation")
- SpasmAnim.AnimationId = "rbxassetid://"..AnimationId
- Spasm = pchar.Humanoid:LoadAnimation(SpasmAnim)
- Spasm:Play()
- Spasm:AdjustSpeed(99)
- else
- notify('R6 Required','This command requires the r6 rig type')
- end
- end)
- addcmd('unspasm',{'nospasm'},
- function(args, speaker)
- Spasm:Stop()
- SpasmAnim:Destroy()
- end)
- addcmd('headthrow',{},
- function(args, speaker)
- if not r15(speaker) then
- local AnimationId = "35154961"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = speaker.Character.Humanoid:LoadAnimation(Anim)
- k:Play(0)
- k:AdjustSpeed(1)
- else
- notify('R6 Required','This command requires the r6 rig type')
- end
- end)
- addcmd('animation',{'anim'},
- function(args, speaker)
- if not r15(speaker) then
- local pchar=speaker.Character
- local AnimationId = tostring(args[1])
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = pchar.Humanoid:LoadAnimation(Anim)
- k:Play()
- if args[2] then
- k:AdjustSpeed(tostring(args[2]))
- end
- else
- notify('R6 Required','This command requires the r6 rig type')
- end
- end)
- addcmd('noanim',{},
- function(args, speaker)
- speaker.Character.Animate.Disabled = true
- end)
- addcmd('reanim',{},
- function(args, speaker)
- speaker.Character.Animate.Disabled = false
- end)
- addcmd('animspeed', {},
- function(args, speaker)
- local Char = speaker.Character
- local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
- for i,v in next, Hum:GetPlayingAnimationTracks() do
- v:AdjustSpeed(tonumber(args[1] or 1))
- end
- end)
- addcmd('stopanimations', {'stopanims','stopanim'},
- function(args, speaker)
- local Char = speaker.Character
- local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
- for i,v in next, Hum:GetPlayingAnimationTracks() do
- v:Stop()
- end
- end)
- addcmd('tpposition',{'tppos'},
- function(args, speaker)
- if #args < 3 then return end
- local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
- local char = speaker.Character
- if char and getRoot(char) then
- getRoot(char).CFrame = CFrame.new(tpX,tpY,tpZ)
- end
- end)
- addcmd('tweentpposition',{'ttppos'},
- function(args, speaker)
- if #args < 3 then return end
- local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
- local char = speaker.Character
- if char and getRoot(char) then
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
- end
- end)
- addcmd('offset',{},
- function(args, speaker)
- if #args < 3 then return end
- local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
- local char = speaker.Character
- if char and getRoot(char) then
- getRoot(char).CFrame = getRoot(char).CFrame + Vector3.new(tpX,tpY,tpZ)
- end
- end)
- addcmd('tweenoffset',{'toffset'},
- function(args, speaker)
- if #args < 3 then return end
- local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
- local char = speaker.Character
- if char and getRoot(char) then
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
- end
- end)
- addcmd('clickteleport',{},
- function(args, speaker)
- if speaker == Players.LocalPlayer then
- notify('Click TP','Go to Settings>Keybinds>Add to set up click tp')
- end
- end)
- addcmd('clickdelete',{},
- function(args, speaker)
- if speaker == Players.LocalPlayer then
- notify('Click Delete','Go to Settings>Keybinds>Add to set up click delete')
- end
- end)
- addcmd('getposition',{'getpos','notifypos','notifyposition'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local char = Players[v].Character
- if char and getRoot(char) then
- local pos = tostring(getRoot(char).Position)
- notify('Current Position',pos)
- end
- end
- end)
- addcmd('copyposition',{'copypos'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- local char = Players[v].Character
- if char and getRoot(char) then
- local pos = tostring(getRoot(char).Position)
- toClipboard(pos)
- end
- end
- end)
- addcmd('speed',{'ws','walkspeed'},
- function(args, speaker)
- if args[2] then
- local speed = args[2] or 16
- if isNumber(speed) then
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- end
- else
- local speed = args[1] or 16
- if isNumber(speed) then
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- end
- end
- end)
- local speedDied
- addcmd('loopspeed',{'loopws'},
- function(args, speaker)
- if args[2] then
- local speed = args[2] or 16
- if isNumber(speed) then
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- local function speedChangedFunc()
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- end
- speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
- speedDied = speaker.CharacterAdded:connect(function()
- speedChanged:Disconnect()
- repeat wait() until speaker.Character:FindFirstChildOfClass('Humanoid')
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
- end)
- end
- else
- local speed = args[1] or 16
- if isNumber(speed) then
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- local function speedChangedFunc()
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- end
- speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
- speedDied = speaker.CharacterAdded:connect(function()
- speedChanged:Disconnect()
- repeat wait() until speaker.Character:FindFirstChildOfClass('Humanoid')
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
- speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
- end)
- end
- end
- end)
- addcmd('unloopspeed',{'unloopws'},
- function(args, speaker)
- speedChanged:Disconnect()
- speedDied:Disconnect()
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- end)
- addcmd('tools',{'gears'},
- function(args, speaker)
- local function copy(instance)
- for i,c in pairs(instance:GetChildren())do
- if c:IsA('Tool') or c:IsA('HopperBin') then
- c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
- end
- copy(c)
- end
- end
- copy(game:GetService("Lighting"))
- local function copy(instance)
- for i,c in pairs(instance:GetChildren())do
- if c:IsA('Tool') or c:IsA('HopperBin') then
- c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
- end
- copy(c)
- end
- end
- copy(game:GetService("ReplicatedStorage"))
- notify('Tools','Copied tools from ReplicatedStorage and Lighting')
- end)
- addcmd('notools',{'rtools','clrtools','removetools','deletetools','dtools'},
- function(args, speaker)
- for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetDescendants()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end)
- addcmd('deleteselectedtool',{'dst'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:destroy()
- end
- end
- end)
- addcmd('console',{},
- function(args, speaker)
- -- Thanks wally!!
- notify("Loading",'Hold on a sec')
- local _, str = pcall(function()
- return game:HttpGet("https://pastebin.com/raw/i35eCznS", true)
- end)
- local s, e = loadstring(str)
- if typeof(s) ~= "function" then
- return
- end
- local success, message = pcall(s)
- if (not success) then
- if printconsole then
- printconsole(message)
- elseif printoutput then
- printoutput(message)
- end
- end
- wait(1)
- notify('Console','Press F9 to open the console')
- end)
- addcmd('explorer',{'dex'},
- function(args, speaker)
- if PARENT:FindFirstChild'Dex' then
- PARENT.Dex:Destroy();
- end
- notify("Loading",'Hold on a sec')
- local Dex = game:GetObjects("rbxassetid://3567096419")[1]
- Dex.Name = 'Dex'
- Dex.Parent = PARENT
- local function Load(Obj, Url)
- local function GiveOwnGlobals(Func, Script)
- local Fenv = {}
- local RealFenv = {script = Script}
- local FenvMt = {}
- FenvMt.__index = function(a,b)
- if RealFenv[b] == nil then
- return getfenv()[b]
- else
- return RealFenv[b]
- end
- end
- FenvMt.__newindex = function(a, b, c)
- if RealFenv[b] == nil then
- getfenv()[b] = c
- else
- RealFenv[b] = c
- end
- end
- setmetatable(Fenv, FenvMt)
- setfenv(Func, Fenv)
- return Func
- end
- local function LoadScripts(Script)
- if Script.ClassName == "Script" or Script.ClassName == "LocalScript" then
- spawn(function()
- GiveOwnGlobals(loadstring(Script.Source, "=" .. Script:GetFullName()), Script)()
- end)
- end
- for i,v in pairs(Script:GetChildren()) do
- LoadScripts(v)
- end
- end
- LoadScripts(Obj)
- end
- Load(Dex)
- end)
- addcmd('remotespy',{'rspy'},
- function(args, speaker)
- notify("Loading",'Hold on a sec')
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Nootchtai/FrostHook_Spy/master/Spy.lua"))()
- end)
- local loopgoto = nil
- addcmd('loopgoto',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- loopgoto = nil
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait()
- loopgoto = Players[v]
- local distance = 3
- if args[2] and isNumber(args[2]) then
- distance = args[2]
- end
- local lDelay = 0
- if args[3] and isNumber(args[3]) then
- lDelay = args[3]
- end
- repeat
- if Players[v].Character ~= nil then
- getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0)
- end
- wait(lDelay)
- until loopgoto ~= Players[v]
- end
- end)
- addcmd('unloopgoto',{'noloopgoto'},
- function(args, speaker)
- loopgoto = nil
- end)
- addcmd('headsit',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = true
- headSit = game:GetService("RunService").Heartbeat:Connect(function()
- if Players[v].Character ~= nil and getRoot(Players[v].Character) and getRoot(speaker.Character) then
- if Players:FindFirstChild(Players[v].Name) and speaker.Character:FindFirstChildOfClass('Humanoid').Sit == true then
- getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
- else
- headSit:Disconnect()
- end
- end
- end)
- end
- end)
- addcmd('chat',{'say'},
- function(args, speaker)
- local cString = getstring(1)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(cString, "All")
- end)
- spamming = false
- spamspeed = 1
- addcmd('spam',{},
- function(args, speaker)
- spamming = true
- local spamstring = getstring(1)
- repeat wait(spamspeed)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamstring, "All")
- until spamming == false
- end)
- addcmd('nospam',{'unspam'},
- function(args, speaker)
- spamming = false
- end)
- pmspamming = {}
- addcmd('pmspam',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- if FindInTable(pmspamming, Players[v].Name) then return end
- table.insert(pmspamming, Players[v].Name)
- local pmspamstring = getstring(2)
- repeat wait(spamspeed)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..Players[v].Name.." "..pmspamstring, "All")
- until not FindInTable(pmspamming, Players[v].Name)
- end)
- end
- end)
- addcmd('nopmspam',{'unpmspam'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- for a,b in pairs(pmspamming) do
- if b == Players[v].Name then
- table.remove(pmspamming, a)
- end
- end
- end)
- end
- end)
- addcmd('spamspeed',{},
- function(args, speaker)
- local speed = args[1] or 1
- if isNumber(speed) then
- spamspeed = speed
- end
- end)
- bubblechatting = false
- local getBubblechat
- addcmd('bubblechat',{},
- function(args, speaker)
- if bubblechatting then return end
- bubblechatting = true
- if getBubblechat then getBubblechat:Disconnect() end
- getBubblechat = Players.PlayerAdded:connect(function(plr)
- local chatfunc
- chatfunc = plr.Chatted:connect(function(chat)
- if bubblechatting == true then
- game:GetService("Chat"):Chat(plr.Character.Head,chat,Enum.ChatColor.White)
- else
- chatfunc:Disconnect()
- end
- end)
- end)
- for i,v in pairs(Players:GetPlayers()) do
- local chatfunc
- chatfunc = v.Chatted:connect(function(chat)
- if bubblechatting == true then
- game:GetService("Chat"):Chat(v.Character.Head,chat,Enum.ChatColor.White)
- else
- chatfunc:Disconnect()
- end
- end)
- end
- end)
- addcmd('unbubblechat',{'nobubblechat'},
- function(args, speaker)
- bubblechatting = false
- if getBubblechat then getBubblechat:Disconnect() end
- end)
- addcmd('safechat',{},
- function(args, speaker)
- speaker.SetSuperSafeChat(true)
- end)
- addcmd('nosafechat',{'disablesafechat','unsafechat'},
- function(args, speaker)
- speaker.SetSuperSafeChat(false)
- end)
- addcmd('blockhead',{},
- function(args, speaker)
- speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
- end)
- addcmd('blockhats',{},
- function(args, speaker)
- for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
- for i,c in pairs(v:GetDescendants()) do
- if c:IsA("SpecialMesh") then
- c:Destroy()
- end
- end
- end
- end)
- addcmd('blocktool',{},
- function(args, speaker)
- for _,v in pairs(speaker.Character:GetChildren()) do
- if v:IsA("Tool") or v:IsA("HopperBin") then
- for i,c in pairs(v:GetDescendants()) do
- if c:IsA("SpecialMesh") then
- c:Destroy()
- end
- end
- end
- end
- end)
- addcmd('creeper',{},
- function(args, speaker)
- if r15(speaker) then
- speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
- speaker.Character.LeftUpperArm:Destroy()
- speaker.Character.RightUpperArm:Destroy()
- speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
- else
- speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
- speaker.Character["Left Arm"]:Destroy()
- speaker.Character["Right Arm"]:Destroy()
- speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
- end
- end)
- addcmd('bang',{'rape'},
- function(args, speaker)
- if not r15(speaker) then
- execCmd('unbang')
- wait()
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- bangAnim = Instance.new("Animation")
- bangAnim.AnimationId = "rbxassetid://148840371"
- bang = speaker.Character.Humanoid:LoadAnimation(bangAnim)
- bang:Play(.1, 1, 1)
- if args[2] then
- bang:AdjustSpeed(args[2])
- else
- bang:AdjustSpeed(3)
- end
- local bangplr = Players[v].Name
- bangDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
- bangLoop:Disconnect()
- bang:Stop()
- bangAnim:Destroy()
- bangDied:Disconnect()
- end)
- bangLoop = game:GetService('RunService').Stepped:connect(function()
- pcall(function()
- getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[bangplr].Character).CFrame
- end)
- end)
- end
- else
- notify('R6 Required','This command requires the r6 rig type')
- end
- end)
- addcmd('unbang',{'unrape'},
- function(args, speaker)
- if bangLoop then
- bangLoop:Disconnect()
- bangDied:Disconnect()
- bang:Stop()
- bangAnim:Destroy()
- end
- end)
- addcmd('carpet',{},
- function(args, speaker)
- if not r15(speaker) then
- execCmd('uncarpet')
- wait()
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- carpetAnim = Instance.new("Animation")
- carpetAnim.AnimationId = "rbxassetid://282574440"
- carpet = speaker.Character.Humanoid:LoadAnimation(carpetAnim)
- carpet:Play(.1, 1, 1)
- local carpetplr = Players[v].Name
- carpetDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
- carpetLoop:Disconnect()
- carpet:Stop()
- carpetAnim:Destroy()
- carpetDied:Disconnect()
- end)
- carpetLoop = game:GetService('RunService').Heartbeat:connect(function()
- pcall(function()
- getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[carpetplr].Character).CFrame
- end)
- end)
- end
- else
- notify('R6 Required','This command requires the r6 rig type')
- end
- end)
- addcmd('uncarpet',{'nocarpet'},
- function(args, speaker)
- if carpetLoop then
- carpetLoop:Disconnect()
- carpetDied:Disconnect()
- carpet:Stop()
- carpetAnim:Destroy()
- end
- end)
- addcmd('friend',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- speaker:RequestFriendship(v)
- end
- end)
- addcmd('unfriend',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- speaker:RevokeFriendship(v)
- end
- end)
- addcmd('bringpart',{},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
- v.CFrame = getRoot(speaker.Character).CFrame
- end
- end
- end)
- addcmd('bringpartclass',{'bpc'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
- v.CFrame = getRoot(speaker.Character).CFrame
- end
- end
- end)
- gotopartDelay = 0.1
- addcmd('gotopart',{},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(gotopartDelay)
- getRoot(speaker.Character).CFrame = v.CFrame
- end
- end
- end)
- addcmd('tweengotopart',{'tgotopart'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(gotopartDelay)
- getRoot(speaker.Character).CFrame = v.CFrame
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
- end
- end
- end)
- addcmd('gotopartclass',{'gpc'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(gotopartDelay)
- getRoot(speaker.Character).CFrame = v.CFrame
- end
- end
- end)
- addcmd('tweengotopartclass',{'tgpc'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(gotopartDelay)
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
- end
- end
- end)
- addcmd('gotopartdelay',{},
- function(args, speaker)
- local gtpDelay = args[1] or 0.1
- if isNumber(gtpDelay) then
- gotopartDelay = gtpDelay
- end
- end)
- addcmd('noclickdetectorlimits',{'nocdlimits','removecdlimits'},
- function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("ClickDetector") then
- v.MaxActivationDistance = math.huge
- end
- end
- end)
- addcmd('fireclickdetectors',{'firecd','firecds'},
- function(args, speaker)
- if fireclickdetector then
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("ClickDetector") then
- fireclickdetector(v)
- end
- end
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing fireclickdetector)')
- end
- end)
- addcmd('simulationradius',{'simradius'},
- function(args, speaker)
- if sethidden then
- simRadLoop = game:GetService('RunService').Stepped:connect(function()
- speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
- end)
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
- end
- end)
- addcmd('nosimulationradius',{'nosimradius','unsimradius'},
- function(args, speaker)
- if sethidden then
- if simRadLoop then simRadLoop:Disconnect() end
- wait()
- speaker.MaximumSimulationRadius = 139
- sethidden(speaker, "SimulationRadius", 139)
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
- end
- end)
- addcmd('grabtools',{},
- function(args, speaker)
- for i,v in pairs(workspace:GetChildren()) do
- spawn(function()
- if v:IsA("Tool") or v:IsA("HopperBin") then
- if v:FindFirstChild("Handle") then
- repeat
- wait()
- if getRoot(speaker.Character) then
- v.Handle.CFrame = getRoot(speaker.Character).CFrame
- end
- until v.Parent == speaker.Character
- end
- end
- end)
- end
- grabtoolsFunc = workspace.ChildAdded:connect(function(part)
- if part:IsA("Tool") or part:IsA("HopperBin") then
- if part:FindFirstChild("Handle") then
- repeat
- wait()
- if getRoot(speaker.Character) then
- part.Handle.CFrame = getRoot(speaker.Character).CFrame
- end
- until part.Parent == speaker.Character
- end
- end
- end)
- notify('Grabtools','Picking up any dropped tools')
- end)
- addcmd('nograbtools',{'ungrabtools'},
- function(args, speaker)
- grabtoolsFunc:Disconnect()
- notify('Grabtools','Grabtools has been disabled')
- end)
- addcmd('light',{},
- function(args, speaker)
- local light = Instance.new("PointLight", getRoot(speaker.Character))
- light.Range = 30
- if args[1] then
- light.Brightness = args[1]
- light.Range = args[1]
- else
- light.Brightness = 5
- end
- end)
- addcmd('unlight',{'nolight'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v.ClassName == "PointLight" then
- v:Destroy()
- end
- end
- end)
- addcmd('copytools',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- for i,v in pairs(Players[v]:FindFirstChildOfClass("Backpack"):GetChildren()) do
- if v:IsA('Tool') or v:IsA('HopperBin') then
- v:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
- end
- end
- end)
- end
- end)
- addcmd('naked',{},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
- v:Destroy()
- end
- end
- end)
- addcmd('noface',{'removeface'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA("Decal") and v.Name == 'face' then
- v:Destroy()
- end
- end
- end)
- addcmd('spawnpoint',{'spawn'},
- function(args, speaker)
- spawnpos = getRoot(speaker.Character).CFrame
- spawnpoint = true
- spDelay = tonumber(args[1]) or 0.1
- notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
- end)
- addcmd('nospawnpoint',{'nospawn','removespawnpoint'},
- function(args, speaker)
- spawnpoint = false
- notify('Spawn Point','Removed spawn point')
- end)
- addcmd('flashback',{'diedtp'},
- function(args, speaker)
- if lastDeath ~= nil then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait()
- getRoot(speaker.Character).CFrame = lastDeath
- end
- end)
- addcmd('hatspin',{'spinhats'},
- function(args, speaker)
- execCmd('unhatspin')
- wait(.5)
- for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
- local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
- local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
- v.Handle:FindFirstChildOfClass("Weld"):Destroy()
- if args[1] then
- spin.AngularVelocity = Vector3.new(0, args[1], 0)
- spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
- else
- spin.AngularVelocity = Vector3.new(0, 100, 0)
- spin.MaxTorque = Vector3.new(0, 200, 0)
- end
- keep.P = 30000
- keep.D = 50
- spinhats = game:GetService('RunService').Stepped:connect(function()
- pcall(function()
- keep.Position = Players.LocalPlayer.Character.Head.Position
- end)
- end)
- end
- end)
- addcmd('unhatspin',{'unspinhats'},
- function(args, speaker)
- if spinhats then
- spinhats:Disconnect()
- end
- for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
- v.Parent = workspace
- v.Handle.no:Destroy()
- v.Handle.ha:Destroy()
- wait()
- v.Parent = speaker.Character
- end
- end)
- addcmd('vr',{},
- function(args, speaker)
- -- Full credit to Abacaxl @V3rmillion
- -- Free for all thanks to Zinnia
- loadstring(game:HttpGet('https://ghostbin.co/paste/yb288/raw'))()
- end)
- addcmd('split',{},
- function(args, speaker)
- if r15(speaker) then
- speaker.Character.UpperTorso.Waist:Destroy()
- else
- notify('R15 Required','This command requires the r15 rig type')
- end
- end)
- addcmd('nilchar',{},
- function(args, speaker)
- if speaker.Character ~= nil then
- speaker.Character.Parent = nil
- end
- end)
- addcmd('unnilchar',{'nonilchar'},
- function(args, speaker)
- if speaker.Character ~= nil then
- speaker.Character.Parent = workspace
- end
- end)
- addcmd('noroot',{'removeroot','rroot'},
- function(args, speaker)
- if speaker.Character ~= nil then
- local char = Players.LocalPlayer.Character
- char.Parent = nil
- char.HumanoidRootPart:Destroy()
- char.Parent = workspace
- end
- end)
- addcmd('equiptools',{},
- function(args, speaker)
- for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
- if v:IsA("Tool") or v:IsA("HopperBin") then
- v.Parent = speaker.Character
- end
- end
- end)
- addcmd('dupetools',{'clonetools'},
- function(args, speaker)
- local ME = speaker
- local LOOP_NUM = args[1] or 1
- local tools, pos, pos1 = {}, ME.Character.HumanoidRootPart.CFrame, CFrame.new(math.random(-2e5, 2e5), 2e5, math.random(-2e5, 2e5))
- for _ = 1, tonumber(tonumber(LOOP_NUM) or 1) do
- ME.Character.HumanoidRootPart.CFrame = pos1
- wait(.2)
- ME.Character.HumanoidRootPart.Anchored = true
- wait(.2)
- ME.Character.Humanoid:UnequipTools()
- for _, v in pairs(ME:FindFirstChildOfClass("Backpack"):GetChildren()) do
- if v:IsA("Tool") and v:FindFirstChild("Handle") then
- v.Parent = ME.Character
- v.Handle.Anchored = true
- v.Parent = workspace
- table.insert(tools, v)
- end
- end
- ME.Character:FindFirstChildOfClass("Humanoid"):ChangeState(15)
- ME.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = pos
- end
- if type(firetouchinterest) == "function" then
- for _, v in pairs(tools) do
- pcall(coroutine.wrap(function()
- v.Handle.Anchored = false
- firetouchinterest(v.Handle, ME.Character:WaitForChild("HumanoidRootPart"), 0)
- repeat
- wait()
- until v.Parent == ME.Character
- firetouchinterest(v.Handle, ME.Character.HumanoidRootPart, 1)
- end))
- end
- else
- ME.Character.HumanoidRootPart.Anchored = true
- wait(.15)
- for _, v in pairs(tools) do
- spawn(function()
- v.Handle.Anchored = false
- while v.Parent ~= ME.Character and game:GetService("RunService").RenderStepped:Wait() do
- v.Handle.CFrame = ME.Character:WaitForChild("HumanoidRootPart").CFrame
- end
- end)
- end
- wait((function(num)
- local e = 0
- for _ = 1, num do
- e = e + .1
- end
- return e
- end)(#tools))
- ME.Character.HumanoidRootPart.Anchored = false
- end
- end)
- addcmd('fullbright',{'fb','fullbrightness'},
- function(args, speaker)
- game:GetService("Lighting").Brightness = 2
- game:GetService("Lighting").ClockTime = 14
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").GlobalShadows = false
- game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(128, 128, 128)
- end)
- addcmd('ambient',{},
- function(args, speaker)
- game:GetService("Lighting").Ambient = Color3.new(args[1],args[2],args[3])
- game:GetService("Lighting").OutdoorAmbient = Color3.new(args[1],args[2],args[3])
- end)
- addcmd('day',{},
- function(args, speaker)
- game:GetService("Lighting").ClockTime = 14
- end)
- addcmd('night',{},
- function(args, speaker)
- game:GetService("Lighting").ClockTime = 0
- end)
- addcmd('nofog',{},
- function(args, speaker)
- game:GetService("Lighting").FogEnd = 100000
- end)
- addcmd('brightness',{},
- function(args, speaker)
- game:GetService("Lighting").Brightness = args[1]
- end)
- addcmd('globalshadows',{'gshadows'},
- function(args, speaker)
- game:GetService("Lighting").GlobalShadows = true
- end)
- addcmd('unglobalshadows',{'nogshadows','ungshadows','noglobalshadows'},
- function(args, speaker)
- game:GetService("Lighting").GlobalShadows = false
- end)
- origsettings = {abt = game:GetService("Lighting").Ambient, oabt = game:GetService("Lighting").OutdoorAmbient, brt = game:GetService("Lighting").Brightness, time = game:GetService("Lighting").ClockTime, fe = game:GetService("Lighting").FogEnd, fs = game:GetService("Lighting").FogStart, gs = game:GetService("Lighting").GlobalShadows}
- addcmd('restorelighting',{'rlighting'},
- function(args, speaker)
- game:GetService("Lighting").Ambient = origsettings.abt
- game:GetService("Lighting").OutdoorAmbient = origsettings.oabt
- game:GetService("Lighting").Brightness = origsettings.brt
- game:GetService("Lighting").ClockTime = origsettings.time
- game:GetService("Lighting").FogEnd = origsettings.fe
- game:GetService("Lighting").FogStart = origsettings.fs
- game:GetService("Lighting").GlobalShadows = origsettings.gs
- end)
- addcmd('stun',{'platformstand'},
- function(args, speaker)
- speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end)
- addcmd('unstun',{'nostun','unplatformstand','noplatformstand'},
- function(args, speaker)
- speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end)
- addcmd('drophats',{'drophat'},
- function(args, speaker)
- if speaker.Character then
- for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
- v.Parent = workspace
- end
- end
- end)
- addcmd('deletehats',{'nohats','rhats'},
- function(args, speaker)
- if speaker.Character then
- speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
- end
- end)
- addcmd('droptools',{'droptool'},
- function(args, speaker)
- if speaker.Character then
- for _,obj in pairs(speaker.Character:GetChildren()) do
- if obj:IsA("Tool") then
- obj.Parent = workspace
- end
- end
- end
- if speaker:FindFirstChildOfClass("Backpack") then
- for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
- if obj:IsA("Tool") then
- obj.Parent = workspace
- end
- end
- end
- end)
- addcmd('droppabletools',{},
- function(args, speaker)
- if speaker.Character then
- for _,obj in pairs(speaker.Character:GetChildren()) do
- if obj:IsA("Tool") then
- obj.CanBeDropped = true
- end
- end
- end
- if speaker:FindFirstChildOfClass("Backpack") then
- for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
- if obj:IsA("Tool") then
- obj.CanBeDropped = true
- end
- end
- end
- end)
- local currentToolSize = ""
- local currentGripPos = ""
- addcmd('reach',{},
- function(args, speaker)
- execCmd('unreach')
- wait()
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA("Tool") then
- if args[1] then
- currentToolSize = v.Handle.Size
- currentGripPos = v.GripPos
- local a = Instance.new("SelectionBox",v.Handle)
- a.Name = "SelectionBoxCreated"
- a.Adornee = v.Handle
- v.Handle.Massless = true
- v.Handle.Size = Vector3.new(0.5,0.5,args[1])
- v.GripPos = Vector3.new(0,0,0)
- speaker.Character.Humanoid:UnequipTools()
- else
- currentToolSize = v.Handle.Size
- currentGripPos = v.GripPos
- local a = Instance.new("SelectionBox",v.Handle)
- a.Name = "SelectionBoxCreated"
- a.Adornee = v.Handle
- v.Handle.Massless = true
- v.Handle.Size = Vector3.new(0.5,0.5,60)
- v.GripPos = Vector3.new(0,0,0)
- speaker.Character.Humanoid:UnequipTools()
- end
- end
- end
- end)
- addcmd('unreach',{'noreach'},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Handle.Size = currentToolSize
- v.GripPos = currentGripPos
- v.Handle.SelectionBoxCreated:Destroy()
- end
- end
- end)
- addcmd('grippos',{},
- function(args, speaker)
- for i,v in pairs(speaker.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = speaker:FindFirstChildOfClass("Backpack")
- v.GripPos = Vector3.new(args[1],args[2],args[3])
- v.Parent = speaker.Character
- end
- end
- end)
- addcmd('usetools',{},
- function(args, speaker)
- for _, v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
- v.Parent = game.Players.LocalPlayer.Character
- v:Activate()
- v.Parent = speaker:FindFirstChildOfClass("Backpack")
- end
- end)
- addcmd('logs',{},
- function(args, speaker)
- logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
- end)
- addcmd('chatlogs',{'clogs'},
- function(args, speaker)
- join.Visible = false
- chat.Visible = true
- table.remove(shade3,table.find(shade3,selectChat))
- table.remove(shade2,table.find(shade2,selectJoin))
- table.insert(shade2,selectChat)
- table.insert(shade3,selectJoin)
- selectJoin.BackgroundColor3 = currentShade3
- selectChat.BackgroundColor3 = currentShade2
- logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
- end)
- addcmd('joinlogs',{'jlogs'},
- function(args, speaker)
- chat.Visible = false
- join.Visible = true
- table.remove(shade3,table.find(shade3,selectJoin))
- table.remove(shade2,table.find(shade2,selectChat))
- table.insert(shade2,selectJoin)
- table.insert(shade3,selectChat)
- selectChat.BackgroundColor3 = currentShade3
- selectJoin.BackgroundColor3 = currentShade2
- logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
- end)
- flinging = false
- addcmd('fling',{},
- function(args, speaker)
- for _, child in pairs(speaker.Character:GetDescendants()) do
- if child:IsA("BasePart") then
- child.CustomPhysicalProperties = PhysicalProperties.new(2, 0.3, 0.5)
- end
- end
- execCmd('noclip nonotify')
- wait(.1)
- local bambam = Instance.new("BodyAngularVelocity", getRoot(speaker.Character))
- bambam.Name = randomString()
- bambam.AngularVelocity = Vector3.new(0,311111,0)
- bambam.MaxTorque = Vector3.new(0,311111,0)
- bambam.P = math.huge
- local function PauseFling()
- if speaker.Character:FindFirstChildOfClass("Humanoid") then
- if speaker.Character:FindFirstChildOfClass("Humanoid").FloorMaterial == Enum.Material.Air then
- bambam.AngularVelocity = Vector3.new(0,0,0)
- else
- bambam.AngularVelocity = Vector3.new(0,311111,0)
- end
- end
- end
- if TouchingFloor then
- TouchingFloor:Disconnect()
- end
- if TouchingFloorReset then
- TouchingFloorReset:Disconnect()
- end
- TouchingFloor = speaker.Character:FindFirstChildOfClass("Humanoid"):GetPropertyChangedSignal("FloorMaterial"):connect(PauseFling)
- flinging = true
- local function flingDied()
- execCmd('unfling')
- end
- TouchingFloorReset = speaker.Character:FindFirstChildOfClass('Humanoid').Died:connect(flingDied)
- end)
- addcmd('unfling',{'nofling'},
- function(args, speaker)
- execCmd('clip nonotify')
- if TouchingFloor then
- TouchingFloor:Disconnect()
- end
- if TouchingFloorReset then
- TouchingFloorReset:Disconnect()
- end
- flinging = false
- wait(.1)
- local speakerChar = speaker.Character
- if not speakerChar or not getRoot(speakerChar) then return end
- for i,v in pairs(getRoot(speakerChar):GetChildren()) do
- if v.ClassName == 'BodyAngularVelocity' then
- v:Destroy()
- end
- end
- for _, child in pairs(speakerChar:GetDescendants()) do
- if child.ClassName == "Part" or child.ClassName == "MeshPart" then
- child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
- end
- end
- end)
- addcmd('togglefling',{},
- function(args, speaker)
- if flinging then
- execCmd('unfling')
- else
- execCmd('fling')
- end
- end)
- addcmd('invisfling',{},
- function(args, speaker)
- local ch = speaker.Character
- local prt=Instance.new("Model", speaker.Character)
- local z1 = Instance.new("Part")
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 = Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- speaker.Character=prt
- wait(3)
- speaker.Character=ch
- wait(3)
- local Hum = Instance.new("Humanoid")
- z2:Clone()
- Hum.Parent = speaker.Character
- local root = getRoot(speaker.Character)
- for i,v in pairs(speaker.Character:GetChildren()) do
- if v ~= root and v.Name ~= "Humanoid" then
- v:Destroy()
- end
- end
- root.Transparency = 0
- root.Color = Color3.new(1, 1, 1)
- local invisflingStepped
- invisflingStepped = game:GetService('RunService').Stepped:connect(function()
- if speaker.Character and getRoot(speaker.Character) then
- getRoot(speaker.Character).CanCollide = false
- else
- invisflingStepped:Disconnect()
- end
- end)
- sFLY()
- workspace.CurrentCamera.CameraSubject = root
- local bambam = Instance.new("BodyThrust")
- bambam.Parent = getRoot(speaker.Character)
- bambam.Force = Vector3.new(99999,99999*10,99999)
- bambam.Location = getRoot(speaker.Character).Position
- end)
- function attach(speaker,target)
- if tools(speaker) then
- local char = speaker.Character
- local tchar = target.Character
- local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
- local hrp = getRoot(speaker.Character)
- local hrp2 = getRoot(target.Character)
- hum.Name = "1"
- local newHum = hum:Clone()
- newHum.Parent = char
- newHum.Name = "Humanoid"
- wait()
- hum:Destroy()
- workspace.CurrentCamera.CameraSubject = char
- newHum.DisplayDistanceType = "None"
- local tool = speaker:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass("Tool") or speaker.Character:FindFirstChildOfClass("Tool")
- tool.Parent = char
- hrp.CFrame = hrp2.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-100, 100)/200,math.random(-100, 100)/200,math.random(-100, 100)/200)
- local n = 0
- repeat
- wait(.1)
- n = n + 1
- hrp.CFrame = hrp2.CFrame
- until (tool.Parent ~= char or not hrp or not hrp2 or not hrp.Parent or not hrp2.Parent or n > 250) and n > 2
- else
- notify('Tool Required','You need to have an item in your inventory to use this command')
- end
- end
- addcmd('attach',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- attach(speaker,Players[v])
- end
- end)
- function kill(speaker,target,fast)
- if tools(speaker) then
- if target ~= nil then
- local NormPos = getRoot(speaker.Character).CFrame
- if not fast then
- refresh(speaker)
- wait()
- repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
- wait(0.3)
- end
- local hrp = getRoot(speaker.Character)
- attach(speaker,target)
- repeat
- wait()
- hrp.CFrame = CFrame.new(999999, workspace.FallenPartsDestroyHeight + 5,999999)
- until not getRoot(target.Character) or not getRoot(speaker.Character)
- wait(1)
- speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
- end
- else
- notify('Tool Required','You need to have an item in your inventory to use this command')
- end
- end
- addcmd('kill',{'fekill'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- kill(speaker,Players[v])
- end
- end)
- addcmd('fastkill',{'fastfekill'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- kill(speaker,Players[v],true)
- end
- end)
- function bring(speaker,target,fast)
- if tools(speaker) then
- if target ~= nil then
- local NormPos = getRoot(speaker.Character).CFrame
- if not fast then
- refresh(speaker)
- wait()
- repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
- wait(0.3)
- end
- local hrp = getRoot(speaker.Character)
- attach(speaker,target)
- repeat
- wait()
- hrp.CFrame = NormPos
- until not getRoot(target.Character) or not getRoot(speaker.Character)
- wait(1)
- speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
- end
- else
- notify('Tool Required','You need to have an item in your inventory to use this command')
- end
- end
- addcmd('bring',{'febring'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- bring(speaker,Players[v])
- end
- end)
- addcmd('fastbring',{'fastfebring'},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- bring(speaker,Players[v],true)
- end
- end)
- function teleport(speaker,target,target2,fast)
- if tools(speaker) then
- if target ~= nil then
- local NormPos = getRoot(speaker.Character).CFrame
- if not fast then
- refresh(speaker)
- wait()
- repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
- wait(0.3)
- end
- local hrp = getRoot(speaker.Character)
- local hrp2 = getRoot(target2.Character)
- attach(speaker,target)
- repeat
- wait()
- hrp.CFrame = hrp2.CFrame
- until not getRoot(target.Character) or not getRoot(speaker.Character)
- wait(1)
- speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
- end
- else
- notify('Tool Required','You need to have an item in your inventory to use this command')
- end
- end
- addcmd('tp',{'teleport'},
- function(args, speaker)
- local players1=getPlayer(args[1], speaker)
- local players2=getPlayer(args[2], speaker)
- for i,v in pairs(players1)do
- if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(0.1)
- teleport(speaker,Players[v],Players[players2[1]])
- end
- end
- end)
- addcmd('fasttp',{'fastteleport'},
- function(args, speaker)
- local players1=getPlayer(args[1], speaker)
- local players2=getPlayer(args[2], speaker)
- for i,v in pairs(players1)do
- if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(0.1)
- teleport(speaker,Players[v],Players[players2[1]],true)
- end
- end
- end)
- addcmd('spin',{},
- function(args, speaker)
- local spinSpeed = 20
- if args[1] and isNumber(args[1]) then
- spinSpeed = args[1]
- end
- for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- local Spin = Instance.new("BodyAngularVelocity", getRoot(speaker.Character))
- Spin.Name = "Spinning"
- Spin.MaxTorque = Vector3.new(0, math.huge, 0)
- Spin.AngularVelocity = Vector3.new(0,spinSpeed,0)
- end)
- addcmd('unspin',{},
- function(args, speaker)
- for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
- if v.Name == "Spinning" then
- v:Destroy()
- end
- end
- end)
- local transparent = false
- function x(v)
- if v then
- for _,i in pairs(workspace:GetDescendants()) do
- if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
- i.LocalTransparencyModifier = 0.5
- end
- end
- else
- for _,i in pairs(workspace:GetDescendants()) do
- if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
- i.LocalTransparencyModifier = 0
- end
- end
- end
- end
- addcmd('xray',{},
- function(args, speaker)
- transparent = true
- x(transparent)
- end)
- addcmd('unxray',{'noxray'},
- function(args, speaker)
- transparent = false
- x(transparent)
- end)
- addcmd('togglexray',{},
- function(args, speaker)
- transparent=not transparent
- x(transparent)
- end)
- local walltpTouch = nil
- addcmd('walltp',{},
- function(args, speaker)
- local torso
- if r15(speaker) then
- torso = speaker.Character.UpperTorso
- else
- torso = speaker.Character.Torso
- end
- local function touchedFunc(hit)
- local Root = getRoot(speaker.Character)
- if hit:IsA("BasePart") and hit.Position.Y > Root.Position.Y - speaker.Character.Humanoid.HipHeight then
- local hitP = getRoot(hit.Parent)
- if hitP ~= nil then
- Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hitP.Size.Z/2 + speaker.Character.Humanoid.HipHeight,Root.CFrame.lookVector.Z)
- elseif hitP == nil then
- Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hit.Size.Y/2 + speaker.Character.Humanoid.HipHeight,Root.CFrame.lookVector.Z)
- end
- end
- end
- walltpTouch = torso.Touched:Connect(touchedFunc)
- end)
- addcmd('unwalltp',{'nowalltp'},
- function(args, speaker)
- if walltpTouch then
- walltpTouch:Disconnect()
- end
- end)
- autoclicking = false
- addcmd('autoclick',{},
- function(args, speaker)
- if mouse1press and mouse1release then
- execCmd('unautoclick')
- wait()
- local clickDelay = 0.1
- local releaseDelay = 0.1
- if args[1] and isNumber(args[1]) then clickDelay = args[1] end
- if args[2] and isNumber(args[2]) then releaseDelay = args[2] end
- autoclicking = true
- cancelAutoClick = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
- if not gameProcessedEvent then
- if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then
- autoclicking = false
- cancelAutoClick:Disconnect()
- end
- end
- end)
- notify('Auto Clicker',"Press [backspace] and [=] at the same time to stop")
- repeat wait(clickDelay)
- mouse1press()
- wait(releaseDelay)
- mouse1release()
- until autoclicking == false
- else
- notify('Auto Clicker',"Your exploit doesn't have the ability to use the autoclick")
- end
- end)
- addcmd('unautoclick',{'noautoclick'},
- function(args, speaker)
- autoclicking = false
- if cancelAutoClick then cancelAutoClick:Disconnect() end
- end)
- addcmd('mousesensitivity',{'ms'},
- function(args, speaker)
- UserInputService.MouseDeltaSensitivity = args[1]
- end)
- local nameBox = nil
- local nbSelection = nil
- addcmd('hovername',{},
- function(args, speaker)
- execCmd('unhovername')
- wait()
- nameBox = Instance.new("TextLabel")
- nameBox.Name = randomString()
- nameBox.Parent = PARENT
- nameBox.BackgroundTransparency = 1
- nameBox.Size = UDim2.new(0,200,0,30)
- nameBox.Font = Enum.Font.Code
- nameBox.TextSize = 16
- nameBox.Text = ""
- nameBox.TextColor3 = Color3.new(1, 1, 1)
- nameBox.TextStrokeTransparency = 0
- nameBox.TextXAlignment = Enum.TextXAlignment.Left
- nameBox.ZIndex = 10
- nbSelection = Instance.new('SelectionBox')
- nbSelection.Name = randomString()
- nbSelection.LineThickness = 0.03
- nbSelection.Color3 = Color3.new(1, 1, 1)
- local function updateNameBox()
- local t
- local target = IYMouse.Target
- if target then
- local humanoid = target.Parent:FindFirstChild('Humanoid') or target.Parent.Parent:FindFirstChild('Humanoid')
- if humanoid then
- t = humanoid.Parent
- end
- end
- if t ~= nil then
- local x = IYMouse.X
- local y = IYMouse.Y
- local xP
- local yP
- if IYMouse.X > 200 then
- xP = x - 205
- nameBox.TextXAlignment = Enum.TextXAlignment.Right
- else
- xP = x + 25
- nameBox.TextXAlignment = Enum.TextXAlignment.Left
- end
- nameBox.Position = UDim2.new(0, xP, 0, y)
- nameBox.Text = t.Name
- nameBox.Visible = true
- nbSelection.Parent = t
- nbSelection.Adornee = t
- else
- nameBox.Visible = false
- nbSelection.Parent = nil
- nbSelection.Adornee = nil
- end
- end
- nbUpdateFunc = IYMouse.Move:connect(updateNameBox)
- end)
- addcmd('unhovername',{'nohovername'},
- function(args, speaker)
- if nbUpdateFunc then
- nbUpdateFunc:Disconnect()
- nameBox:Destroy()
- nbSelection:Destroy()
- end
- end)
- addcmd('hitbox',{},
- function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if Players[v]~= speaker and Players[v].Character:FindFirstChild('Head') then
- local sizeArg = tonumber(args[2])
- local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
- local Head = Players[v].Character:FindFirstChild('Head')
- if Head:IsA("BasePart") then
- if not args[2] or sizeArg == 1 then
- Head.Size = Vector3.new(2,1,1)
- else
- Head.Size = Size
- end
- end
- end
- end
- end)
- addcmd('removeterrain',{'rterrain','noterrain'},
- function(args, speaker)
- workspace:FindFirstChildOfClass('Terrain'):Clear()
- end)
- addcmd('clearnilinstances',{'nonilinstances','cni'},
- function(args, speaker)
- if getnilinstances then
- for i,v in pairs(getnilinstances()) do
- v:Destroy()
- end
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing getnilinstances)')
- end
- end)
- addcmd('destroyheight',{'dh'},
- function(args, speaker)
- local dh = args[1] or -500
- if isNumber(dh) then
- workspace.FallenPartsDestroyHeight = dh
- end
- end)
- local freezingua = nil
- frozenParts = {}
- addcmd('freezeunanchored',{'freezeua'},
- function(args, speaker)
- if sethidden then
- local badnames = {
- "Head",
- "UpperTorso",
- "LowerTorso",
- "RightUpperArm",
- "LeftUpperArm",
- "RightLowerArm",
- "LeftLowerArm",
- "RightHand",
- "LeftHand",
- "RightUpperLeg",
- "LeftUpperLeg",
- "RightLowerLeg",
- "LeftLowerLeg",
- "RightFoot",
- "LeftFoot",
- "Torso",
- "Right Arm",
- "Left Arm",
- "Right Leg",
- "Left Leg",
- "HumanoidRootPart"
- }
- local function FREEZENOOB(v)
- if v:IsA("BasePart" or "UnionOperation") and v.Anchored == false then
- local BADD = false
- for i = 1,#badnames do
- if v.Name == badnames[i] then
- BADD = true
- end
- end
- if speaker.Character and v:IsDescendantOf(speaker.Character) then
- BADD = true
- end
- if BADD == false then
- for i,c in pairs(v:GetChildren()) do
- if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
- c:Destroy()
- end
- end
- speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
- local bodypos = Instance.new("BodyPosition",v)
- bodypos.Position = v.Position
- bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local bodygyro = Instance.new("BodyGyro",v)
- bodygyro.CFrame = v.CFrame
- bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- if not table.find(frozenParts,v) then
- table.insert(frozenParts,v)
- end
- end
- end
- end
- for i,v in pairs(workspace:GetDescendants()) do
- FREEZENOOB(v)
- end
- freezingua = workspace.DescendantAdded:Connect(FREEZENOOB)
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
- end
- end)
- addcmd('thawunanchored',{'thawua','unfreezeunanchored','unfreezeua'},
- function(args, speaker)
- if sethidden then
- if freezingua then
- freezingua:Disconnect()
- end
- speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
- for i,v in pairs(frozenParts) do
- for i,c in pairs(v:GetChildren()) do
- if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
- c:Destroy()
- end
- end
- end
- frozenParts = {}
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
- end
- end)
- addcmd('tpunanchored',{'tpua'},
- function(args, speaker)
- if sethidden then
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- local Forces = {}
- for _,part in pairs(workspace:GetDescendants()) do
- if Players[v].Character:FindFirstChild('Head') and part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and not part:IsDescendantOf(speaker.Character) and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then
- for i,c in pairs(part:GetChildren()) do
- if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
- c:Destroy()
- end
- end
- local ForceInstance = Instance.new("BodyPosition", part)
- ForceInstance.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- table.insert(Forces, ForceInstance)
- if not table.find(frozenParts,part) then
- table.insert(frozenParts,part)
- end
- end
- end
- speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
- for i,c in pairs(Forces) do
- c.Position = Players[v].Character.Head.Position
- end
- end
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
- end
- end)
- keycodeMap = {
- ["0"] = 0x30,
- ["1"] = 0x31,
- ["2"] = 0x32,
- ["3"] = 0x33,
- ["4"] = 0x34,
- ["5"] = 0x35,
- ["6"] = 0x36,
- ["7"] = 0x37,
- ["8"] = 0x38,
- ["9"] = 0x39,
- ["a"] = 0x41,
- ["b"] = 0x42,
- ["c"] = 0x43,
- ["d"] = 0x44,
- ["e"] = 0x45,
- ["f"] = 0x46,
- ["g"] = 0x47,
- ["h"] = 0x48,
- ["i"] = 0x49,
- ["j"] = 0x4A,
- ["k"] = 0x4B,
- ["l"] = 0x4C,
- ["m"] = 0x4D,
- ["n"] = 0x4E,
- ["o"] = 0x4F,
- ["p"] = 0x50,
- ["q"] = 0x51,
- ["r"] = 0x52,
- ["s"] = 0x53,
- ["t"] = 0x54,
- ["u"] = 0x55,
- ["v"] = 0x56,
- ["w"] = 0x57,
- ["x"] = 0x58,
- ["y"] = 0x59,
- ["z"] = 0x5A,
- ["enter"] = 0x0D,
- ["shift"] = 0x10,
- ["ctrl"] = 0x11,
- ["alt"] = 0x12,
- ["pause"] = 0x13,
- ["capslock"] = 0x14,
- ["spacebar"] = 0x20,
- ["pageup"] = 0x21,
- ["pagedown"] = 0x22,
- ["end"] = 0x23,
- ["home"] = 0x24,
- ["left"] = 0x25,
- ["up"] = 0x26,
- ["right"] = 0x27,
- ["down"] = 0x28,
- ["insert"] = 0x2D,
- ["delete"] = 0x2E,
- ["f1"] = 0x70,
- ["f2"] = 0x71,
- ["f3"] = 0x72,
- ["f4"] = 0x73,
- ["f5"] = 0x74,
- ["f6"] = 0x75,
- ["f7"] = 0x76,
- ["f8"] = 0x77,
- ["f9"] = 0x78,
- ["f10"] = 0x79,
- ["f11"] = 0x7A,
- ["f12"] = 0x7B,
- }
- autoKeyPressing = false
- cancelAutoKeyPress = nil
- addcmd('autokeypress',{'keypress'},
- function(args, speaker)
- if keypress and keyrelease and args[1] then
- local code = keycodeMap[args[1]:lower()]
- if not code then notify('Auto Key Press',"Invalid key") return end
- execCmd('unautokeypress')
- wait()
- local clickDelay = 0.1
- local releaseDelay = 0.1
- if args[2] and isNumber(args[2]) then clickDelay = args[2] end
- if args[3] and isNumber(args[3]) then releaseDelay = args[3] end
- autoKeyPressing = true
- cancelAutoKeyPress = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
- if not gameProcessedEvent then
- if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then
- autoKeyPressing = false
- cancelAutoKeyPress:Disconnect()
- end
- end
- end)
- notify('Auto Key Press',"Press [backspace] and [=] at the same time to stop")
- repeat wait(clickDelay)
- keypress(code)
- wait(releaseDelay)
- keyrelease(code)
- until autoKeyPressing == false
- if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() keyrelease(code) end
- else
- notify('Auto Key Press',"Your exploit doesn't have the ability to use auto key press")
- end
- end)
- addcmd('unautokeypress',{'noautokeypress','unkeypress','nokeypress'},
- function(args, speaker)
- autoKeyPressing = false
- if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() end
- end)
- addcmd('addplugin',{'plugin'},
- function(args, speaker)
- addPlugin(getstring(1))
- end)
- addcmd('removeplugin',{'deleteplugin'},
- function(args, speaker)
- deletePlugin(getstring(1))
- end)
- addcmd('reloadplugin',{},
- function(args, speaker)
- local pluginName = getstring(1)
- deletePlugin(pluginName)
- wait(1)
- addPlugin(pluginName)
- end)
- addcmd('removecmd',{'deletecmd'},
- function(args, speaker)
- removecmd(args[1])
- end)
- updateColors(currentShade1,shade1)
- updateColors(currentShade2,shade2)
- updateColors(currentShade3,shade3)
- updateColors(currentText1,text1)
- updateColors(currentText2,text2)
- updateColors(currentScroll,scroll)
- if PluginsTable ~= nil or PluginsTable ~= {} then
- FindPlugins(PluginsTable)
- end
- -- Events
- eventEditor.RegisterEvent("OnExecute")
- eventEditor.RegisterEvent("OnSpawn",{
- {Type="Player",Name="Player Filter ($1)"}
- })
- eventEditor.RegisterEvent("OnDied",{
- {Type="Player",Name="Player Filter ($1)"}
- })
- eventEditor.RegisterEvent("OnKilled",{
- {Type="Player",Name="Victim Player ($1)"},
- {Type="Player",Name="Killer Player ($2)",Default = 1}
- })
- eventEditor.RegisterEvent("OnJoin",{
- {Type="Player",Name="Player Filter ($1)",Default = 1}
- })
- eventEditor.RegisterEvent("OnChatted",{
- {Type="Player",Name="Player Filter ($1)",Default = 1},
- {Type="String",Name="Message Filter ($2)"}
- })
- function hookCharEvents(plr,instant)
- local char = plr.Character
- if not char then return end
- local humanoid = char:WaitForChild("Humanoid",10)
- if not humanoid then return end
- humanoid.Died:Connect(function()
- eventEditor.FireEvent("OnDied",plr.Name)
- local killedBy = humanoid:FindFirstChild("creator")
- if killedBy and killedBy.Value and killedBy.Value.Parent then
- eventEditor.FireEvent("OnKilled",plr.Name,killedBy.Name)
- end
- end)
- end
- game:GetService("Players").PlayerAdded:Connect(function(plr)
- eventEditor.FireEvent("OnJoin",plr.Name)
- plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end)
- plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
- JoinLog(plr)
- ChatLog(plr)
- if ESPenabled then
- repeat wait(1) until plr.Character and getRoot(plr.Character)
- ESP(plr)
- end
- if CHMSenabled then
- repeat wait(1) until plr.Character and getRoot(plr.Character)
- CHMS(plr)
- end
- end)
- for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
- pcall(function()
- plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end)
- plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
- hookCharEvents(plr)
- end)
- end
- if spawnCmds and #spawnCmds > 0 then
- for i,v in pairs(spawnCmds) do
- eventEditor.AddCmd("OnSpawn",{v.COMMAND or "",{0},v.DELAY or 0})
- end
- updatesaves()
- end
- if loadedEventData then eventEditor.LoadData(loadedEventData) end
- eventEditor.Refresh()
- eventEditor.FireEvent("OnExecute")
- if aliases and #aliases > 0 then
- local cmdMap = {}
- for i,v in pairs(cmds) do
- cmdMap[v.NAME:lower()] = v
- for _,alias in pairs(v.ALIAS) do
- cmdMap[alias:lower()] = v
- end
- end
- for i = 1, #aliases do
- local cmd = string.lower(aliases[i].CMD)
- local alias = string.lower(aliases[i].ALIAS)
- if cmdMap[cmd] then
- customAlias[alias] = cmdMap[cmd]
- end
- end
- refreshaliases()
- end
- IYMouse.Move:connect(checkTT)
- if pcall(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/version'))() end) then
- if ver ~= Version then
- notify('Outdated','Get the new version at infyield.yolasite.com')
- end
- if Announcement and Announcement ~= '' then
- local AnnGUI = Instance.new("Frame")
- local background = Instance.new("Frame")
- local TextBox = Instance.new("TextLabel")
- local shadow = Instance.new("Frame")
- local PopupText = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local ExitImage = Instance.new("ImageLabel")
- AnnGUI.Name = randomString()
- AnnGUI.Parent = PARENT
- AnnGUI.Active = true
- AnnGUI.BackgroundTransparency = 1
- AnnGUI.Position = UDim2.new(0.5, -180, 0, -500)
- AnnGUI.Size = UDim2.new(0, 360, 0, 20)
- AnnGUI.ZIndex = 10
- background.Name = "background"
- background.Parent = AnnGUI
- background.Active = true
- background.BackgroundColor3 = currentShade1
- background.BorderSizePixel = 0
- background.Position = UDim2.new(0, 0, 0, 20)
- background.Size = UDim2.new(0, 360, 0, 150)
- background.ZIndex = 10
- TextBox.Parent = background
- TextBox.BackgroundTransparency = 1
- TextBox.Position = UDim2.new(0, 5, 0, 5)
- TextBox.Size = UDim2.new(0, 350, 0, 140)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.TextSize = 18
- TextBox.TextWrapped = true
- TextBox.Text = Announcement
- TextBox.TextColor3 = currentText1
- TextBox.TextXAlignment = Enum.TextXAlignment.Left
- TextBox.TextYAlignment = Enum.TextYAlignment.Top
- TextBox.ZIndex = 10
- shadow.Name = "shadow"
- shadow.Parent = AnnGUI
- shadow.BackgroundColor3 = currentShade2
- shadow.BorderSizePixel = 0
- shadow.Size = UDim2.new(0, 360, 0, 20)
- shadow.ZIndex = 10
- PopupText.Name = "PopupText"
- PopupText.Parent = shadow
- PopupText.BackgroundTransparency = 1
- PopupText.Size = UDim2.new(1, 0, 0.95, 0)
- PopupText.ZIndex = 10
- PopupText.Font = Enum.Font.SourceSans
- PopupText.TextSize = 14
- PopupText.Text = "Server Announcement"
- PopupText.TextColor3 = currentText1
- PopupText.TextWrapped = true
- Exit.Name = "Exit"
- Exit.Parent = shadow
- Exit.BackgroundTransparency = 1
- Exit.Position = UDim2.new(1, -20, 0, 0)
- Exit.Size = UDim2.new(0, 20, 0, 20)
- Exit.Text = ""
- Exit.ZIndex = 10
- ExitImage.Parent = Exit
- ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitImage.BackgroundTransparency = 1
- ExitImage.Position = UDim2.new(0, 5, 0, 5)
- ExitImage.Size = UDim2.new(0, 10, 0, 10)
- ExitImage.Image = "rbxassetid://5054663650"
- ExitImage.ZIndex = 10
- wait(1)
- AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
- Exit.MouseButton1Click:Connect(function()
- AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
- wait(0.6)
- AnnGUI:Destroy()
- end)
- end
- end
- wait()
- Credits:TweenPosition(UDim2.new(0,0,0.9,0), "Out", "Quart", 0.2)
- Logo:TweenSizeAndPosition(UDim2.new(0,175,0,175),UDim2.new(0,37,0,45), "Out", "Quart", 0.3)
- wait(1)
- for i=0,1,0.1 do
- Logo.ImageTransparency = i
- IntroBackground.BackgroundTransparency = i
- wait()
- end
- Credits:TweenPosition(UDim2.new(0,0,0.9,30), "Out", "Quart", 0.2)
- wait(0.2)
- Logo:Destroy()
- Credits:Destroy()
- IntroBackground:Destroy()
- minimizeHolder()
- end)
Add Comment
Please, Sign In to add comment