Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script Gui
- -- ade by: Meldrednyx
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local TopFrame = Instance.new("Frame")
- local TextButton = Instance.new("TextLabel")
- local AntiOB = Instance.new("TextButton")
- local AntiAFK = Instance.new("TextButton")
- local FurnitureMod = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local AutoFarm = Instance.new("TextButton")
- local AutoPaycheck = Instance.new("TextButton")
- local AudioSleep = Instance.new("TextButton")
- local InfiniteYield = Instance.new("TextButton")
- local TPHome = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = ScreenGui
- OpenFrame.Active = true
- OpenFrame.BackgroundColor3 = Color3.fromRGB(8, 8, 8)
- OpenFrame.Position = UDim2.new(-0.0104408357, 0, 0.522776544, 0)
- OpenFrame.Size = UDim2.new(0, 96, 0, 57)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Open.Position = UDim2.new(0.127499983, 0, 0.0991227031, 0)
- Open.Size = UDim2.new(0, 77, 0, 45)
- Open.Font = Enum.Font.SciFi
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(200, 200, 200)
- Open.TextSize = 22.000
- Open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.Active = true
- Main.BackgroundColor3 = Color3.fromRGB(7, 7, 7)
- Main.Position = UDim2.new(0.302784234, 0, 0.522776544, 0)
- Main.Size = UDim2.new(0, 420, 0, 141)
- Main.Active = true
- Main.Draggable = true
- TopFrame.Name = "TopFrame"
- TopFrame.Parent = Main
- TopFrame.Active = true
- TopFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- TopFrame.Position = UDim2.new(-0.00188322517, 0, -0.00709219836, 0)
- TopFrame.Size = UDim2.new(0, 420, 0, 29)
- TextButton.Name = "TextButton"
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- TextButton.Position = UDim2.new(0.228377208, 0, -0.00709219836, 0)
- TextButton.Size = UDim2.new(0, 225, 0, 29)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Made by: Meldrednyx"
- TextButton.TextColor3 = Color3.fromRGB(249, 249, 249)
- TextButton.TextSize = 14.000
- AntiOB.Name = "Anti OB"
- AntiOB.Parent = Main
- AntiOB.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- AntiOB.Position = UDim2.new(0.0259259548, 0, 0.271428525, 0)
- AntiOB.Size = UDim2.new(0, 90, 0, 42)
- AntiOB.Font = Enum.Font.SourceSans
- AntiOB.Text = "Anti OB"
- AntiOB.TextColor3 = Color3.fromRGB(234, 234, 234)
- AntiOB.TextSize = 14.000
- AntiOB.MouseButton1Down:connect(function()
- while true do
- wait()
- local ohString1 = "ChangeJob"
- local ohString2 = "Cashier"
- game:GetService("ReplicatedStorage").PlayerChannel:FireServer(ohString1, ohString2)
- end
- end)
- AntiAFK.Name = "Anti AFK"
- AntiAFK.Parent = Main
- AntiAFK.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- AntiAFK.Position = UDim2.new(0.0259259548, 0, 0.628571451, 0)
- AntiAFK.Size = UDim2.new(0, 90, 0, 42)
- AntiAFK.Font = Enum.Font.SourceSans
- AntiAFK.Text = "Anti AFK"
- AntiAFK.TextColor3 = Color3.fromRGB(234, 234, 234)
- AntiAFK.TextSize = 14.000
- AntiAFK.MouseButton1Down:connect(function()
- local VirtualUser=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- end)
- FurnitureMod.Name = "FurnitureMod"
- FurnitureMod.Parent = Main
- FurnitureMod.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- FurnitureMod.Position = UDim2.new(0.270405024, 0, 0.628571451, 0)
- FurnitureMod.Size = UDim2.new(0, 90, 0, 42)
- FurnitureMod.Font = Enum.Font.SourceSans
- FurnitureMod.Text = "FurnitureMod"
- FurnitureMod.TextColor3 = Color3.fromRGB(234, 234, 234)
- FurnitureMod.TextSize = 14.000
- FurnitureMod.MouseButton1Down:connect(function()
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- local Item = game.Players.LocalPlayer:GetMouse().Target.Parent
- local Size = Item.PrimaryPart.Size.Y
- Item.PrimaryPart.Size = Vector3.new(0,0,0)
- local Rotate
- local Tilt
- Rotate = 0
- Tilt = 0
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- Rotate = Rotate + 22.5
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- Tilt = Tilt + 22.5
- end
- end)
- spawn(function()
- while game:GetService("RunService").RenderStepped:Wait() do
- game.Players.LocalPlayer:GetMouse().TargetFilter = Item
- Item:SetPrimaryPartCFrame(CFrame.new(math.floor(game.Players.LocalPlayer:GetMouse().Hit.X)+.03,math.ceil(game.Players.LocalPlayer:GetMouse().Hit.Y+(Size/2)-1),math.floor(game.Players.LocalPlayer:GetMouse().Hit.Z)-.03) * CFrame.Angles(math.rad(0),math.rad(Rotate),math.rad(Tilt)))
- end
- end)
- end
- end)
- end)
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Close.BackgroundTransparency = 1.000
- Close.Position = UDim2.new(0.880079567, 0, 0.00445794733, 0)
- Close.Size = UDim2.new(0, 49, 0, 27)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(250, 25, 4)
- Close.TextSize = 18.000
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- OpenFrame.Visible = true
- Main.Visible = false
- end)
- AutoFarm.Name = "Auto Farm"
- AutoFarm.Parent = Main
- AutoFarm.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- AutoFarm.Position = UDim2.new(0.270404965, 0, 0.25724411, 0)
- AutoFarm.Size = UDim2.new(0, 90, 0, 42)
- AutoFarm.Font = Enum.Font.SourceSans
- AutoFarm.Text = "Auto Farm"
- AutoFarm.TextColor3 = Color3.fromRGB(234, 234, 234)
- AutoFarm.TextSize = 14.000
- AutoFarm.MouseButton1Down:connect(function()
- --https://v3rmillion.net/showthread.php?tid=723696
- getupvalues = getupvalues or debug.getupvalues
- setupvalue = setupvalue or debug.setupvalue
- if not (getrawmetatable and getupvalues and setupvalue and (getreg or debug.getregistry)) then
- local h = Instance.new("Hint",workspace)
- h.Text = "Incompatible exploit."
- wait(3)
- h:Destroy()
- return
- end
- local settings = {refill_at=50, refill_end=97, stay_in_kitchen=true}
- local doCashier,doBoxer,doCook,doSupplier,doDelivery = true,true,true,true,true
- if readfile then
- pcall(function()
- local new = game:GetService("HttpService"):JSONDecode(readfile("PizzaFarm.txt"))
- --corruption?
- local doOverwrite=false
- for k,v in pairs(new) do
- if settings[k]==nil then
- doOverwrite=true
- new[k]=nil
- end
- end
- for k,v in pairs(settings) do
- if new[k]==nil then
- doOverwrite=true
- new[k]=v
- end
- end
- --use input
- if doOverwrite then
- warn("Settings overwritten")
- writefile("PizzaFarm.txt",game:GetService("HttpService"):JSONEncode(new))
- end
- settings = new
- end)
- end
- local player = game:GetService("Players").LocalPlayer
- local ffc = game.FindFirstChild
- local RNG = Random.new()
- local remoteKey
- local character,root
- do
- local reg = (getreg or debug.getregistry)()
- remoteKey = (function()
- for i=1,#reg do
- local f = reg[i]
- if type(f)=="function" and tostring(getfenv(f).script)=="WorkTool" then
- local num = 0
- for _,v in next,getupvalues(getfenv(f).onMove) do
- if type(v) == "number" then
- num = v
- end
- end
- return num
- end
- end
- end)()
- for i=1,#reg do
- local f = reg[i]
- if type(f)=="function" and tostring(getfenv(f).script)=="Paycheck" then
- for k,v in next,getupvalues(f) do
- if tostring(v) == "CashOut" then
- setupvalue(f,k,{MouseButton1Click={wait=function()end,Wait=function()end}})
- break
- end
- end
- end
- end
- local mt=getrawmetatable(game)
- if setreadonly then
- setreadonly(mt,false)
- elseif make_writeable then
- make_writeable(mt)
- end
- local old__newindex=mt.__newindex
- if newcclosure then
- mt.__newindex=newcclosure(function(t,k,v)
- if t~=workspace.CurrentCamera or tostring(getfenv(2).script)~="LocalMain" then
- return old__newindex(t,k,v)
- end
- end)
- else
- mt.__newindex=function(t,k,v)
- if t~=workspace.CurrentCamera or tostring(getfenv(2).script)~="LocalMain" then
- return old__newindex(t,k,v)
- end
- end
- end
- workspace.Main.RealignCamera.RealignCamera:Destroy()
- Instance.new("BindableEvent",workspace.Main.RealignCamera).Name="RealignCamera"
- end
- assert(remoteKey,"failed to find remoteKey")
- --//gui
- Create = function(class,parent,props)
- local new = Instance.new(class)
- for k,v in next,props do
- new[k]=v
- end
- new.Parent = parent
- return new
- end
- gui=Create("ScreenGui",game.CoreGui,{Name="Farm", ZIndexBehavior="Sibling"})
- main=Create("Frame",gui,{Name="main", Draggable=true, Active=true, Size=UDim2.new(0,350,0,100), Position=UDim2.new(.335,0,0.02,0), BackgroundColor3=Color3.new(0.098,0.098,0.098)})
- topbar=Create("Frame",main,{Name="topbar", Size=UDim2.new(1,0,0.15,0), BackgroundColor3=Color3.new(0.255,0.255,0.255)})
- closeBtn=Create("TextButton",topbar,{Name="closeBtn", TextWrapped=true, Size=UDim2.new(0.03,0,1,0), TextColor3=Color3.new(1,1,1), Text="X", BackgroundTransparency=1,
- Font="GothamSemibold", Position=UDim2.new(0.96,0,0,0), TextSize=14, TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- titleLbl=Create("TextLabel",topbar,{Name="titleLbl", TextWrapped=true, Size=UDim2.new(0.5,0,1,0), Text="Pizza Factory", TextSize=14, Font="GothamSemibold",
- BackgroundTransparency=1, Position=UDim2.new(0.25,0,0,0), TextColor3=Color3.new(1,1,1), BackgroundColor3=Color3.new(1,1,1)})
- saveBtn=Create("ImageButton",topbar,{Name="saveBtn", Image="rbxassetid://55687833", Size=UDim2.new(0.05,0,1,0), Position=UDim2.new(0.01,0,0,0), BackgroundTransparency=1, BackgroundColor3=Color3.new(), Visible=writefile~=nil})
- settings_1=Create("Frame",main,{Name="settings", BackgroundTransparency=1, Size=UDim2.new(0.97,0,0.75,0), Position=UDim2.new(0.025,0,0.2,0), BackgroundColor3=Color3.new(1,1,1)})
- Layout=Create("UIGridLayout",settings_1,{VerticalAlignment="Center", SortOrder="LayoutOrder", HorizontalAlignment="Center", CellPadding=UDim2.new(0.01,0,0.1,0), CellSize=UDim2.new(0.325,0,0.26,0)})
- cashier=Create("Frame",settings_1,{Name="cashier", LayoutOrder=4, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- Label=Create("TextLabel",cashier,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="Cashier", TextSize=14, TextXAlignment="Left", Font="SourceSans",
- BackgroundTransparency=1, Position=UDim2.new(0.4,0,0,0), TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- cashierBtn=Create("ImageButton",cashier,{Name="cashierBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.38,0,1,0), BackgroundColor3=Color3.new(0.392,0.392,0.392)})
- cashierSlider=Create("Frame",cashierBtn,{Name="slider", Size=UDim2.new(0.5,-4,1,-4), Position=UDim2.new(doCashier and 0.5 or 0,2,0,2), BorderSizePixel=0, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- kitchen=Create("Frame",settings_1,{Name="kitchen", LayoutOrder=9, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- Label_2=Create("TextLabel",kitchen,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="[redacted]:", TextSize=14, TextXAlignment="Right", Font="SourceSans",
- BackgroundTransparency=1, TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- kitchenBtn=Create("TextButton",kitchen,{Name="kitchenBtn", TextWrapped=true, Size=UDim2.new(0.25,0,1,0), TextColor3=Color3.new(), Text=settings.stay_in_kitchen and "X" or "", Font="GothamBold",
- Position=UDim2.new(0.62,0,0,0), TextSize=35, TextScaled=true, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- refillEnd=Create("Frame",settings_1,{Name="refillEnd", LayoutOrder=8, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- refillEndBox=Create("TextBox",refillEnd,{Name="refillEndBox", TextWrapped=true, Size=UDim2.new(0.25,0,1,0), Text=tostring(settings.refill_end), TextSize=50, TextColor3=Color3.new(),
- Font="Code", Position=UDim2.new(0.62,0,0,0), TextScaled=true, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- Label_3=Create("TextLabel",refillEnd,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="Refill End:", TextSize=14, TextXAlignment="Right", Font="SourceSans",
- BackgroundTransparency=1, TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- refillAt=Create("Frame",settings_1,{Name="refillAt", LayoutOrder=7, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- Label_4=Create("TextLabel",refillAt,{TextWrapped=true, Size=UDim2.new(0.5,0,1,0), Text="Refill At:", TextSize=14, TextXAlignment="Right", Font="SourceSans",
- BackgroundTransparency=1, TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- refillAtBox=Create("TextBox",refillAt,{Name="refillAtBox", TextWrapped=true, Size=UDim2.new(0.25,0,1,0), Text=tostring(settings.refill_at), TextSize=50, TextColor3=Color3.new(),
- Font="Code", Position=UDim2.new(0.52,0,0,0), TextScaled=true, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- supplier=Create("Frame",settings_1,{Name="supplier", LayoutOrder=6, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- Label_5=Create("TextLabel",supplier,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="Supplier", TextSize=14, TextXAlignment="Left", Font="SourceSans",
- BackgroundTransparency=1, Position=UDim2.new(0.4,0,0,0), TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- supplierBtn=Create("ImageButton",supplier,{Name="supplierBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.38,0,1,0), BackgroundColor3=Color3.new(0.392,0.392,0.392)})
- supplierSlider=Create("Frame",supplierBtn,{Name="slider", Size=UDim2.new(0.5,-4,1,-4), Position=UDim2.new(doSupplier and 0.5 or 0,2,0,2), BorderSizePixel=0, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- delivery=Create("Frame",settings_1,{Name="delivery", LayoutOrder=5, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- Label_6=Create("TextLabel",delivery,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="Delivery", TextSize=14, TextXAlignment="Left", Font="SourceSans",
- BackgroundTransparency=1, Position=UDim2.new(0.4,0,0,0), TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- deliveryBtn=Create("ImageButton",delivery,{Name="deliveryBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.38,0,1,0), BackgroundColor3=Color3.new(0.392,0.392,0.392)})
- deliverySlider=Create("Frame",deliveryBtn,{Name="slider", Size=UDim2.new(0.5,-4,1,-4), Position=UDim2.new(doDelivery and 0.5 or 0,2,0,2), BorderSizePixel=0, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- boxer=Create("Frame",settings_1,{Name="boxer", LayoutOrder=2, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- boxerLbl=Create("TextLabel",boxer,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="Boxer", TextSize=14, TextXAlignment="Left", Font="SourceSans",
- BackgroundTransparency=1, Position=UDim2.new(0.4,0,0,0), TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- boxerBtn=Create("ImageButton",boxer,{Name="boxerBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.38,0,1,0), BackgroundColor3=Color3.new(0.392,0.392,0.392)})
- boxerSlider=Create("Frame",boxerBtn,{Name="slider", Size=UDim2.new(0.5,-4,1,-4), Position=UDim2.new(doBoxer and 0.5 or 0,2,0,2), BorderSizePixel=0, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- cook=Create("Frame",settings_1,{Name="cook", LayoutOrder=3, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- cookLbl=Create("TextLabel",cook,{TextWrapped=true, Size=UDim2.new(0.6,0,1,0), Text="Cook", TextSize=14, TextXAlignment="Left", Font="SourceSans",
- BackgroundTransparency=1, Position=UDim2.new(0.4,0,0,0), TextColor3=Color3.new(1,1,1), TextScaled=true, BackgroundColor3=Color3.new(1,1,1)})
- cookBtn=Create("ImageButton",cook,{Name="cookBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.38,0,1,0), BackgroundColor3=Color3.new(0.392,0.392,0.392)})
- cookSlider=Create("Frame",cookBtn,{Name="slider", Size=UDim2.new(0.5,-4,1,-4), Position=UDim2.new(doCook and 0.5 or 0,2,0,2), BorderSizePixel=0, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- toggleAll=Create("Frame",settings_1,{Name="toggleAll", LayoutOrder=1, BackgroundTransparency=1, Size=UDim2.new(0,100,0,100), BackgroundColor3=Color3.new(1,1,1)})
- switch=Create("Frame",toggleAll,{Name="switch", BackgroundTransparency=1, Size=UDim2.new(0.75,0,1,0), BackgroundColor3=Color3.new(1,1,1)})
- allOffBtn=Create("ImageButton",switch,{Name="allOffBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.5,0,1,0), BackgroundColor3=Color3.new(0.235,0.235,0.235)})
- allOnBtn=Create("ImageButton",switch,{Name="allOnBtn", ImageTransparency=1, BorderSizePixel=0, Size=UDim2.new(0.5,0,1,0), Position=UDim2.new(0.5,0,0,0), BackgroundColor3=Color3.new(0.333,0.333,0.333)})
- toggleAllSlider=Create("Frame",switch,{Name="slider", Size=UDim2.new(0.1,0,1,4), Position=UDim2.new(0.45,0,0,-2), BorderSizePixel=0, BackgroundColor3=Color3.new(0.784,0.784,0.784)})
- messageLbl=Create("TextLabel",topbar,{Name="messageLbl", Size=UDim2.new(0.5,0,1,0), Text="Saved.", TextSize=14, Font="GothamSemibold", BackgroundTransparency=1,
- Position=UDim2.new(0.07,0,0,0), TextColor3=Color3.new(1,1,1), Visible=false, TextXAlignment="Left"})
- camframe=Create("Frame",gui,{Name="camframe", BackgroundTransparency=1, Size=UDim2.new(0,120,0,40), Position=UDim2.new(0.5,-320,0,-38), BackgroundColor3=Color3.new(0.118,0.118,0.118)})
- rightCamBtn=Create("ImageButton",camframe,{Name="rightCamBtn", Image="rbxassetid://144168163", Size=UDim2.new(0.333,0,1,0), Rotation=180, Position=UDim2.new(0.666,0,0,0), BackgroundTransparency=1,
- BackgroundColor3=Color3.new(1,1,1)})
- leftCamBtn=Create("ImageButton",camframe,{Name="leftCamBtn", Image="rbxassetid://144168163", Size=UDim2.new(0.333,0,1,0), BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
- centerCamBtn=Create("ImageButton",camframe,{Name="centerCamBtn", Image="rbxassetid://58282192", Size=UDim2.new(0.333,0,1,0), Position=UDim2.new(0.333,0,0,0), BackgroundTransparency=1, BackgroundColor3=Color3.new(1,1,1)})
- creditLbl=Create("TextLabel",main,{Position=UDim2.new(0,0,1,5),Size=UDim2.new(0,100,0,15),BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),Text="by sirelKilla",TextScaled=true,TextStrokeTransparency=.8})
- local function toggleCashier(bool)
- if bool~=nil then
- doCashier=bool
- else
- doCashier = not doCashier
- end
- cashierSlider:TweenPosition(UDim2.new(doCashier and 0.5 or 0,2,0,2),nil,"Sine",0.1,true)
- end
- local function toggleCook(bool)
- if bool~=nil then
- doCook=bool
- else
- doCook = not doCook
- end
- cookSlider:TweenPosition(UDim2.new(doCook and 0.5 or 0,2,0,2),nil,"Sine",0.1,true)
- end
- local function toggleBoxer(bool)
- if bool~=nil then
- doBoxer=bool
- else
- doBoxer = not doBoxer
- end
- boxerSlider:TweenPosition(UDim2.new(doBoxer and 0.5 or 0,2,0,2),nil,"Sine",0.1,true)
- end
- local function toggleDelivery(bool)
- if bool~=nil then
- doDelivery=bool
- else
- doDelivery = not doDelivery
- end
- deliverySlider:TweenPosition(UDim2.new(doDelivery and 0.5 or 0,2,0,2),nil,"Sine",0.1,true)
- end
- local function toggleSupplier(bool)
- if bool~=nil then
- doSupplier=bool
- else
- doSupplier = not doSupplier
- end
- supplierSlider:TweenPosition(UDim2.new(doSupplier and 0.5 or 0,2,0,2),nil,"Sine",0.1,true)
- end
- cashierBtn.MouseButton1Click:Connect(toggleCashier)
- cookBtn.MouseButton1Click:Connect(toggleCook)
- boxerBtn.MouseButton1Click:Connect(toggleBoxer)
- deliveryBtn.MouseButton1Click:Connect(toggleDelivery)
- supplierBtn.MouseButton1Click:Connect(toggleSupplier)
- allOffBtn.InputBegan:Connect(function()
- if game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
- toggleCashier(false)
- toggleCook(false)
- toggleBoxer(false)
- toggleDelivery(false)
- toggleSupplier(false)
- toggleAllSlider:TweenPosition(UDim2.new(0,0,0,-2),nil,"Sine",0.1,true)
- wait(1)
- if toggleAllSlider.Position.X.Scale<.01 then
- toggleAllSlider:TweenPosition(UDim2.new(0.45,0,0,-2),nil,"Sine",0.1,true)
- end
- end
- end)
- allOnBtn.InputBegan:Connect(function()
- if game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
- toggleCashier(true)
- toggleCook(true)
- toggleBoxer(true)
- toggleDelivery(true)
- toggleSupplier(true)
- toggleAllSlider:TweenPosition(UDim2.new(0.9,0,0,-2),nil,"Sine",0.1,true)
- wait(1)
- if toggleAllSlider.Position.X.Scale>.88 then
- toggleAllSlider:TweenPosition(UDim2.new(0.45,0,0,-2),nil,"Sine",0.1,true)
- end
- end
- end)
- kitchenBtn.MouseButton1Click:Connect(function()
- settings.stay_in_kitchen = not settings.stay_in_kitchen
- kitchenBtn.Text = settings.stay_in_kitchen and "X" or ""
- end)
- local oldRefillAt=refillAtBox.Text
- refillAtBox:GetPropertyChangedSignal("Text"):Connect(function()
- if #refillAtBox.Text>2 or refillAtBox.Text:match("%D") then
- refillAtBox.Text = oldRefillAt
- end
- oldRefillAt = refillAtBox.Text
- end)
- refillAtBox.FocusLost:Connect(function()
- if tonumber(refillAtBox.Text) then
- settings.refill_at=tonumber(refillAtBox.Text)
- end
- refillAtBox.Text=tostring(settings.refill_at)
- end)
- local oldRefillEnd=refillEndBox.Text
- refillEndBox:GetPropertyChangedSignal("Text"):Connect(function()
- if #refillEndBox.Text>2 or refillEndBox.Text:match("%D") then
- refillEndBox.Text = oldRefillEnd
- end
- oldRefillEnd = refillEndBox.Text
- end)
- refillEndBox.FocusLost:Connect(function()
- if tonumber(refillEndBox.Text) then
- settings.refill_end=tonumber(refillEndBox.Text)
- end
- refillEndBox.Text=tostring(settings.refill_end)
- end)
- closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end)
- closeBtn.MouseEnter:Connect(function() closeBtn.TextColor3=Color3.new(.9,0,0) end)
- closeBtn.MouseLeave:Connect(function() closeBtn.TextColor3=Color3.new(1,1,1) end)
- saveBtn.MouseButton1Click:Connect(function()
- if writefile and messageLbl.Visible==false then
- writefile("PizzaFarm.txt",game:GetService("HttpService"):JSONEncode(settings))
- messageLbl.Visible=true
- wait(2)
- messageLbl.Visible=false
- end
- end)
- local cameraArray = {CFrame.new(23,14,65,0.629,0.386,-0.674,-0,0.867,0.497,0.777,-0.313,0.545),CFrame.new(39,15,83,-0.571,0.392,-0.720,-0,0.878,0.478,0.820,0.273,-0.502),CFrame.new(40,20,-38,-0.801,-0.229,0.552,-0,0.923,0.384,-0.598,0.307,-0.739),CFrame.new(51,15,-25,-0.707,0.338,-0.620,0,0.878,0.478,0.707,0.338,-0.620),CFrame.new(47,12,21,0.026,0.323,-0.945,-0,0.946,0.323,0.999,-0.008,0.024)}
- local cameraIndex = 0
- centerCamBtn.MouseButton1Click:Connect(function()
- cameraIndex = 0
- workspace.CurrentCamera.CameraType = "Custom"
- end)
- leftCamBtn.MouseButton1Click:Connect(function()
- cameraIndex = cameraIndex - 1
- if cameraIndex < 0 then
- cameraIndex = #cameraArray
- end
- if cameraIndex == 0 then
- workspace.CurrentCamera.CameraType="Custom"
- else
- local cf = cameraArray[cameraIndex]
- workspace.CurrentCamera.CameraType="Scriptable"
- workspace.CurrentCamera:Interpolate(cf,cf+cf.lookVector*10,0.5)
- end
- end)
- rightCamBtn.MouseButton1Click:Connect(function()
- cameraIndex = cameraIndex + 1
- if cameraIndex > #cameraArray then
- cameraIndex = 0
- workspace.CurrentCamera.CameraType="Custom"
- else
- local cf = cameraArray[cameraIndex]
- workspace.CurrentCamera.CameraType="Scriptable"
- workspace.CurrentCamera:Interpolate(cf,cf+cf.lookVector*10,0.5)
- end
- end)
- --//subroutines
- local supplyCounts = {TomatoSauce=99,Cheese=99,Sausage=99,Pepperoni=99,Dough=99,Box=99,Dew=99}
- for name in pairs(supplyCounts) do
- local lbl = workspace.SupplyCounters[name=="Dew" and "CounterMountainDew" or "Counter"..name].a.SG.Counter
- supplyCounts[name]=tonumber(lbl.Text)
- lbl.Changed:Connect(function()
- supplyCounts[name]=tonumber(lbl.Text)
- end)
- end
- local function FindFirstCustomer()
- local children = workspace.Customers:GetChildren()
- for i=1,#children do
- local c = children[i]
- if ffc(c,"Head") and ffc(c,"Humanoid") and c.Head.CFrame.Z<102 and ffc(c.Head,"Dialog") and ffc(c.Head.Dialog,"Correct") and ((c.Humanoid.SeatPart and c.Humanoid.SeatPart.Anchored) or (c.Humanoid.SeatPart==nil and (c.Head.Velocity.Z^2)^.5<.0001)) then
- return c
- end
- end
- end
- local boxPtick=0
- local boxDtick=0
- local function FindBoxes()
- local c,o,f
- local children = workspace.AllBox:GetChildren()
- for i=1,#children do
- local b = children[i]
- if ffc(b,"HasPizzaInside") or ffc(b,"Pizza") then
- if c==nil and b.Name=="BoxClosed" and b.Anchored==false and not b.HasPizzaInside.Value then
- c=b
- elseif o==nil and b.Name=="BoxOpen" and b.Anchored==false and not b.Pizza.Value then
- o=b
- elseif f==nil and (b.Name=="BoxOpen" and b.Pizza.Value) or (b.Name=="BoxClosed" and b.HasPizzaInside.Value) then
- f=b
- end
- if c and o and f then
- return c,o,f
- end
- end
- end
- return c,o,f
- end
- local function FindBoxingFoods()
- local p,d
- local children = workspace.BoxingRoom:GetChildren()
- for i=1,#children do
- local f = children[i]
- if not f.Anchored then
- if p==nil and f.Name=="Pizza" then
- p=f
- elseif d==nil and f.Name=="Dew" then
- d=f
- end
- if p and d then
- return p,d
- end
- end
- end
- return p,d
- end
- local orderDict={["3540529228"]="Cheese",["3540530535"]="Sausage",["3540529917"]="Pepperoni",["2512571151"]="Dew",["2512441325"]="Dew"}
- local cookingDict = {Cheese=0,Sausage=0,Pepperoni=0,Dew=0}
- local cookPtick=0
- local cookDtick=0
- local cookWarned=false
- local boxerWarned=false
- local function getOrders()
- local orders={}
- local tempCookingDict = {}
- for i,v in pairs(cookingDict) do tempCookingDict[i]=v end
- local children = workspace.Orders:GetChildren()
- for i=1,#children do
- local o = orderDict[children[i].SG.ImageLabel.Image:match("%d+$")]
- if o then
- if tempCookingDict[o]>0 then
- --ignores oven pizzas, so new orders are priority
- tempCookingDict[o]=tempCookingDict[o]-1
- elseif (o=="Dew" and #workspace.AllMountainDew:GetChildren()>0) or (supplyCounts[o]>0 and supplyCounts.TomatoSauce>0 and supplyCounts.Cheese>0) then
- --need supplies
- orders[#orders+1]=o
- end
- end
- end
- return orders
- end
- local function FindFirstDew()
- local children = workspace.AllMountainDew:GetChildren()
- for i=1,#children do
- if not children[i].Anchored then
- return children[i]
- end
- end
- end
- local function FindDoughAndWithout(str)
- local goodraw,p,raw,trash
- local children = workspace.AllDough:GetChildren()
- for i = #children, 2, -1 do --shuffle
- local j = RNG:NextInteger(1, i)
- children[j], children[i] = children[i], children[j]
- end
- for i=1,#children do
- local d = children[i]
- if d.Anchored==false and #d:GetChildren()>9 then
- if d.IsBurned.Value or d.HasBugs.Value or d.Cold.Value or (d.BrickColor.Name=="Bright orange" and ffc(d,"XBillboard")) then
- if trash==nil and d.Position.Y > 0 then
- trash=d
- end
- elseif p==nil and d.BrickColor.Name=="Bright orange" then
- p=d
- elseif goodraw==nil and d.Position.X<55 and d.BrickColor.Name=="Brick yellow" and ((str and not ffc(d.SG.Frame,str)) or (str==nil and ffc(d.SG.Frame,"Sausage")==nil and ffc(d.SG.Frame,"Pepperoni")==nil)) then
- --prefers flat
- if d.Mesh.Scale.Y<1.1 then
- goodraw=d
- else
- raw=d
- end
- end
- if goodraw and p and trash then
- return goodraw,p,trash
- end
- end
- end
- return goodraw or raw,p,trash
- end
- local function getOvenNear(pos)
- local children = workspace.Ovens:GetChildren()
- for i=1,#children do
- if (children[i].Bottom.Position-pos).magnitude < 1.5 then
- return children[i]
- end
- end
- end
- local function getDoughNear(pos)
- local children = workspace.AllDough:GetChildren()
- for i=1,#children do
- if (children[i].Position-pos).magnitude < 1.5 then
- return children[i]
- end
- end
- end
- local function isFullyOpen(oven)
- return oven.IsOpen.Value==true and (oven.Door.Meter.RotVelocity.Z^2)^.5<.0001
- end
- local bcolorToSupply = {["Dark orange"]="Sausage",["Bright blue"]="Pepperoni",["Bright yellow"]="Cheese",["Bright red"]="TomatoSauce",["Dark green"]="Dew",["Brick yellow"]="Dough",["Light stone grey"]="Box",["Really black"]="Dew"}
- local supplyButtons = {}
- for _,button in ipairs(workspace.SupplyButtons:GetChildren()) do
- supplyButtons[bcolorToSupply[button.Unpressed.BrickColor.Name]] = button.Unpressed
- end
- local delTool
- local function FindFirstDeliveryTool()
- local t
- local children = workspace:GetChildren()
- for i=1,#children do
- local v = children[i]
- if v.ClassName=="Tool" and v.Name:match("^%u%d$") and ffc(v,"House") and ffc(v,"Handle") and ffc(v,"Order") and v.Order.Value:match("%a") then
- if ffc(v.Handle,"X10") then
- return v
- end
- t = v
- end
- end
- return t
- end
- local function getHousePart(address)
- local houses = workspace.Houses:GetChildren()
- for i=1,#houses do
- local h = houses[i]
- if ffc(h,"Address") and h.Address.Value==address and ffc(h,"Upgrades") and h.Upgrades:GetChildren()[1] and ffc(h.Upgrades:GetChildren()[1],"GivePizza") then
- return h.Upgrades:GetChildren()[1].GivePizza
- end
- end
- end
- local delTouched=false
- local function forgetDeliveryTool()
- if delTool then
- if delTool.Parent==player.Backpack then
- delTool.Parent = character
- end
- if delTool.Parent==character then
- wait(0.1)
- delTool.Parent = workspace
- wait(0.1)
- end
- end
- delTool=nil
- delTouched=false
- if ffc(character,"RightHand") and ffc(character.RightHand,"RightGrip") then
- character.RightHand.RightGrip:Destroy()
- end
- end
- local function onCharacterAdded(char)
- if not char then return end
- character=char
- root = character:WaitForChild("HumanoidRootPart")
- character:WaitForChild("Humanoid"):GetPropertyChangedSignal("WalkSpeed"):Connect(function()
- if delTool then
- character.Humanoid.WalkSpeed=16
- end
- end)
- end
- onCharacterAdded(player.Character or player.CharacterAdded:Wait())
- player.CharacterAdded:Connect(onCharacterAdded)
- local function simTouch(part)
- local oldcc = part.CanCollide
- local oldcf = part.CFrame
- part.CanCollide = false
- part.CFrame = root.CFrame
- delay(0.01,function()
- part.CFrame = oldcf
- part.CanCollide = oldcc
- end)
- end
- --//main loop
- while gui.Parent do
- wait(0.3)
- if doCashier then
- local c = FindFirstCustomer()
- if c then
- local dialog = c.Head.Dialog.Correct.ResponseDialog or ''
- local rootMoved = false
- if (root.Position-Vector3.new(46.34, 3.80, 82.02)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(46.34, 3.80, 82.02) wait(.1) end
- local order = "MountainDew"
- if dialog:sub(-8)=="instead." then
- dialog = dialog:sub(-30)
- end
- if dialog:find("pepperoni",1,true) then
- order = "PepperoniPizza"
- elseif dialog:find("sausage",1,true) then
- order = "SausagePizza"
- elseif dialog:find("cheese",1,true) then
- order = "CheesePizza"
- end
- workspace.GameService.OrderCompleted:FireServer(c, order, workspace.Register3)
- if rootMoved then wait(.1) end
- end
- end
- if doCook then
- local order = getOrders()[1]
- local topping
- if order=="Pepperoni" or order=="Sausage" then topping=order end
- local cookD = FindFirstDew()
- local raw,cookP,trash
- if topping then
- --pepperoni order avoids sausage dough and vice verca
- raw,cookP,trash = FindDoughAndWithout(topping=="Pepperoni" and "Sausage" or "Pepperoni")
- else
- raw,cookP,trash = FindDoughAndWithout()
- end
- local rootMoved = false
- local ovens = workspace.Ovens:GetChildren()
- for i = #ovens, 2, -1 do --shuffle
- local j = RNG:NextInteger(1, i)
- ovens[j], ovens[i] = ovens[i], ovens[j]
- end
- --move final pizza
- if cookP and tick()-cookPtick>0.8 then
- local oven = getOvenNear(cookP.Position)
- if oven==nil or oven.IsOpen.Value then
- cookPtick=tick()
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, cookP, "CFrame", CFrame.new(56,4.1,38), remoteKey)
- end
- end
- if order then
- if order=="Dew" and cookD and tick()-cookDtick>0.8 then
- --move dew if ordered
- cookDtick=tick()
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, cookD, "CFrame", CFrame.new(53,4.68,36.5), remoteKey)
- elseif order~="Dew" and raw and raw.Parent and supplyCounts[order]>0 and supplyCounts.TomatoSauce>0 and supplyCounts.Cheese>0 then
- --make pizza
- if raw.Mesh.Scale.Y>1.5 then
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, raw, "CFrame", CFrame.new(RNG:NextNumber(29.6,44.6),3.7,RNG:NextNumber(42.5,48.5)), remoteKey)
- wait()
- workspace.GameService.SquishDough:FireServer(raw)
- else
- --make sure it will have an oven
- local oven
- for _,o in ipairs(ovens) do
- if isFullyOpen(o) then
- local other = getDoughNear(o.Bottom.Position)
- if other==nil or not (other.BrickColor.Name=="Bright orange" and ffc(other.SG.Frame,"TomatoSauce") and ffc(other.SG.Frame,"MeltedCheese")) then
- if other then
- --replace mistaken dough
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, other, "CFrame", CFrame.new(RNG:NextNumber(29.6,44.6),3.7,RNG:NextNumber(42.5,48.5)), remoteKey)
- wait()
- end
- oven=o
- break
- end
- end
- end
- if oven and raw.Parent==workspace.AllDough then
- --make
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- workspace.GameService.AddIngredientToPizza:FireServer(raw,"TomatoSauce")
- workspace.GameService.AddIngredientToPizza:FireServer(raw,"Cheese")
- workspace.GameService.AddIngredientToPizza:FireServer(raw,topping)
- workspace.GameService.UpdateObjectProperty:FireServer(true, raw, "CFrame", oven.Bottom.CFrame+Vector3.new(0,0.7,0), remoteKey)
- oven.Door.ClickDetector.Detector:FireServer()
- --mark as cooking
- cookingDict[order]=cookingDict[order]+1
- local revoked=false
- spawn(function()
- raw.AncestryChanged:Wait()
- if not revoked then
- cookingDict[order]=cookingDict[order]-1
- revoked=true
- end
- end)
- delay(40, function()
- if not revoked then
- cookingDict[order]=cookingDict[order]-1
- revoked=true
- end
- end)
- end
- end
- end
- end
- --open unnecessarily closed ovens
- for _,o in ipairs(ovens) do
- local bar = o.Door.Meter.SurfaceGui.ProgressBar.Bar
- if o.IsOpen.Value==false and (o.IsCooking.Value==false or (Vector3.new(bar.ImageColor3.r,bar.ImageColor3.g,bar.ImageColor3.b)-Vector3.new(.871,.518,.224)).magnitude>.1) then
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- o.Door.ClickDetector.Detector:FireServer()
- break
- end
- end
- --trash
- if trash and (trash.IsBurned.Value==false or getOvenNear(trash.Position)==nil or getOvenNear(trash.Position).IsOpen.Value) then
- --closed oven breaks if you take burnt out of it
- if (root.Position-Vector3.new(44.63, 6.60, 45.20)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(44.63, 6.60, 45.20) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, trash, "CFrame", CFrame.new(47.9,RNG:NextNumber(-10,-30),72.5), remoteKey)
- end
- if rootMoved then wait(.1) end
- end
- if doBoxer then
- local boxP,boxD = FindBoxingFoods()
- local closedBox,openBox,fullBox = FindBoxes()
- local rootMoved = false
- if boxD and tick()-boxDtick>0.8 then
- boxDtick=tick()
- if (root.Position-Vector3.new(54.09, 3.80, 23.150)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(54.09, 3.80, 23.15) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, boxD, "CFrame", CFrame.new(63,4.9,-1,-1,0,0,0,1,0,0,0,-1), remoteKey)
- end
- if fullBox then
- if fullBox.Name=="BoxOpen" then
- if (root.Position-Vector3.new(54.09, 3.80, 23.150)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(54.09, 3.80, 23.15) wait(.1) end
- workspace.GameService.CloseBox:FireServer(fullBox)
- --will be moved next loop
- elseif tick()-boxPtick>0.8 then
- if (root.Position-Vector3.new(54.09, 3.80, 23.150)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(54.09, 3.80, 23.15) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, fullBox, "CFrame", CFrame.new(68.2,4.4,-1,-1,0,0,0,1,0,0,0,-1), remoteKey)
- boxPtick=tick()
- end
- end
- if closedBox and not openBox then
- if (root.Position-Vector3.new(54.09, 3.80, 23.150)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(54.09, 3.80, 23.15) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, closedBox, "CFrame", CFrame.new(RNG:NextNumber(62.5,70.5),3.5,RNG:NextNumber(11,25)), remoteKey)
- wait()
- workspace.GameService.OpenBox:FireServer(closedBox)
- end
- if openBox and boxP then
- if (root.Position-Vector3.new(54.09, 3.80, 23.150)).magnitude>9 then rootMoved = true root.CFrame = CFrame.new(54.09, 3.80, 23.15) wait(.1) end
- workspace.GameService.UpdateObjectProperty:FireServer(true, boxP, "Anchored", true, remoteKey)
- workspace.GameService.UpdateObjectProperty:FireServer(true, openBox, "Anchored", true, remoteKey)
- wait()
- workspace.GameService.UpdateObjectProperty:FireServer(true, boxP, "CFrame", openBox.CFrame+Vector3.new(0,-2,0), remoteKey)
- wait()
- workspace.GameService.AssignPizzaToBox:FireServer(openBox, boxP)
- end
- if rootMoved then wait(.1) end
- end
- if doSupplier then
- local refill=false
- for s,c in pairs(supplyCounts) do
- if c <= settings.refill_at then
- refill=true
- break
- end
- end
- if refill then
- local oldcf = root.CFrame
- local alt=0
- local waiting = false
- local waitingTick = 0
- local lastBox
- while doSupplier do
- --check if refill is done otherwise hit buttons
- local fulfilled=true
- local boxes = workspace.AllSupplyBoxes:GetChildren()
- for s,c in pairs(supplyCounts) do
- if c<settings.refill_end then
- fulfilled=false
- local count = 0
- if #boxes > 30 then
- for i=1,#boxes do
- local box = boxes[i]
- if bcolorToSupply[box.BrickColor.Name]==s and box.Anchored==false and box.Position.Z < -940 then
- count=count+1
- end
- end
- end
- if count < 2 then
- simTouch(supplyButtons[s])
- end
- end
- end
- if fulfilled then
- break
- end
- wait(1.5)
- --check if can finish waiting for boxes to move
- if waiting and (lastBox.Position.X>42 or tick()-waitingTick>5) then
- waiting=false
- if lastBox.Position.X<42 then
- --clear boxes if stuck
- root.CFrame=CFrame.new(20.5,8,-35)
- wait(0.1)
- local boxes = workspace.AllSupplyBoxes:GetChildren()
- for i=1,#boxes do
- local box = boxes[i]
- if box.Anchored==false and box.Position.Z>-55 then
- workspace.GameService.UpdateObjectProperty:FireServer(true, box, "CFrame", CFrame.new(RNG:NextNumber(0,40),RNG:NextNumber(-10,-30),-70), remoteKey)
- wait()
- end
- end
- wait(0.1)
- end
- end
- if not waiting then
- --move boxes
- root.CFrame=CFrame.new(8,12.4,-1020)
- wait(0.1)
- alt=1-alt
- lastBox=nil
- local j=0
- local boxes = workspace.AllSupplyBoxes:GetChildren()
- for i=1,#boxes do
- local box = boxes[i]
- if box.Anchored==false and box.Position.Z < -940 and bcolorToSupply[box.BrickColor.Name] and supplyCounts[bcolorToSupply[box.BrickColor.Name]]<settings.refill_end then
- box.CFrame = CFrame.new(38-4*j,5,-7-5*alt)
- workspace.GameService.UpdateObjectProperty:FireServer(true, box, "CFrame", box.CFrame, remoteKey)
- lastBox=box
- j=j+1
- if j>8 then break end
- end
- end
- if alt==0 and lastBox then
- waiting=true
- waitingTick=tick()
- end
- end
- end
- root.CFrame=oldcf
- end
- end
- if doDelivery then
- local del = FindFirstDeliveryTool()
- if delTool==nil and del then
- --get tool
- delTool=del
- delTool.Handle.CanCollide=false
- delTool.Handle.CFrame = root.CFrame
- delay(6,forgetDeliveryTool)
- elseif delTool and delTool.Parent==character and delTouched==false then
- --deliver to house
- local housePart = getHousePart(delTool.Name)
- if housePart then
- delTouched=true
- root.CFrame = housePart.CFrame+Vector3.new(0,9,0)
- wait(0.3)
- end
- end
- end
- local hum = character:FindFirstChild("Humanoid")
- if hum and hum.Sit then hum.Jump = true end
- end
- end)
- AutoPaycheck.Name = "Auto Paycheck"
- AutoPaycheck.Parent = Main
- AutoPaycheck.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- AutoPaycheck.Position = UDim2.new(0.521676183, 0, 0.252684891, 0)
- AutoPaycheck.Size = UDim2.new(0, 90, 0, 42)
- AutoPaycheck.Font = Enum.Font.SourceSans
- AutoPaycheck.Text = "Auto Paycheck"
- AutoPaycheck.TextColor3 = Color3.fromRGB(234, 234, 234)
- AutoPaycheck.TextSize = 14.000
- AutoPaycheck.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- local ffc = game.FindFirstChild
- local RNG = Random.new()
- local remoteKey
- local character,root
- do
- local reg = (getreg or debug.getregistry)()
- remoteKey = (function()
- for i=1,#reg do
- local f = reg[i]
- if type(f)=="function" and tostring(getfenv(f).script)=="WorkTool" then
- local num = 0
- for _,v in next,getupvalues(getfenv(f).onMove) do
- if type(v) == "number" then
- num = v
- end
- end
- return num
- end
- end
- end)()
- for i=1,#reg do
- local f = reg[i]
- if type(f)=="function" and tostring(getfenv(f).script)=="Paycheck" then
- for k,v in next,getupvalues(f) do
- if tostring(v) == "CashOut" then
- setupvalue(f,k,{MouseButton1Click={wait=function()end,Wait=function()end}})
- break
- end
- end
- end
- end
- local mt=getrawmetatable(game)
- if setreadonly then
- setreadonly(mt,false)
- elseif make_writeable then
- make_writeable(mt)
- end
- local old__newindex=mt.__newindex
- if newcclosure then
- mt.__newindex=newcclosure(function(t,k,v)
- if t~=workspace.CurrentCamera or tostring(getfenv(2).script)~="LocalMain" then
- return old__newindex(t,k,v)
- end
- end)
- else
- mt.__newindex=function(t,k,v)
- if t~=workspace.CurrentCamera or tostring(getfenv(2).script)~="LocalMain" then
- return old__newindex(t,k,v)
- end
- end
- end
- workspace.Main.RealignCamera.RealignCamera:Destroy()
- Instance.new("BindableEvent",workspace.Main.RealignCamera).Name="RealignCamera"
- end
- end)
- AudioSleep.Name = "AudioSleep"
- AudioSleep.Parent = Main
- AudioSleep.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- AudioSleep.Position = UDim2.new(0.521676183, 0, 0.628571451, 0)
- AudioSleep.Size = UDim2.new(0, 90, 0, 42)
- AudioSleep.Font = Enum.Font.SourceSans
- AudioSleep.Text = "Audio Sleep"
- AudioSleep.TextColor3 = Color3.fromRGB(234, 234, 234)
- AudioSleep.TextSize = 14.000
- AudioSleep.MouseButton1Down:connect(function()
- local userdata_1 = game:GetService("Players").LocalPlayer.PlayerGui.MainGui.Menu.Emotions;
- local userdata_2 = game:GetService("Players").LocalPlayer.PlayerGui.MainGui.Menu.Emotions.ScrollingFrame.List;
- local userdata_3 = game:GetService("Players").LocalPlayer.PlayerGui.MainGui.Menu.Emotions.ScrollingFrame.List.Template;
- local table_2 = {
- ["Name"] = 'Clap',
- ["GroupColor"] = 'Bright blue'
- };
- local table_1 = {
- ["Sleep"] = {
- ["SoundLooped"] = true,
- ["R15"] = 4308418502,
- ["FaceId"] = 66329905,
- ["Object"] = 'Sleep',
- ["Name"] = 'Sleep',
- ["R6"] = 868450390,
- ["SoundId"] = 6058392493,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Volume"] = 10,
- ["MovementCancel"] = true
- },
- ["Bye"] = {
- ["Name"] = 'Bye',
- ["R6"] = 154179312,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308390587,
- ["Object"] = 'Bye'
- },
- ["Point"] = {
- ["Name"] = 'Point',
- ["R6"] = 154188723,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308408568,
- ["Object"] = 'Point'
- },
- ["Bathtub"] = {
- ["Name"] = 'Bathtub',
- ["R6"] = 1799552363,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["R15"] = 1794938782,
- ["Object"] = 'Bathtub'
- },
- ["Glee"] = {
- ["Object"] = 'Glee',
- ["Name"] = 'Glee',
- ["FaceId"] = 27802003,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308399012,
- ["R6"] = 154159852
- },
- ["Coffin"] = {
- ["Name"] = 'Coffin',
- ["MovementCancel"] = true,
- ["R15"] = 2506115448,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Object"] = 'Coffin',
- ["R6"] = 2506141081
- },
- ["Twist"] = {
- ["Name"] = 'Twist',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308333353,
- ["Object"] = 'Twist'
- },
- ["ToolHold"] = {
- ["Name"] = 'ToolHold',
- ["R6"] = 182393478,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308323620,
- ["Object"] = 'ToolHold'
- },
- ["Confused"] = {
- ["Object"] = 'Confused',
- ["Name"] = 'Confused',
- ["FaceId"] = 120250454,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308393154,
- ["R6"] = 154183110
- },
- ["DrinkSmoothie"] = {
- ["Object"] = 'DrinkSmoothie',
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Name"] = 'DrinkSmoothie',
- ["R15"] = 3339779154
- },
- ["DrinkCoffee"] = {
- ["Object"] = 'DrinkCoffee',
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Name"] = 'DrinkCoffee',
- ["R15"] = 3339576493
- },
- ["Shocked"] = {
- ["Object"] = 'Shocked',
- ["Name"] = 'Shocked',
- ["FaceId"] = 1601874588,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 1602091152,
- ["R6"] = 1620310558
- },
- ["Laugh"] = {
- ["Object"] = 'Laugh',
- ["Name"] = 'Laugh',
- ["FaceId"] = 32063242,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308402710,
- ["R6"] = 154166518
- },
- ["Idle"] = {
- ["Name"] = 'Idle',
- ["Weight"] = 0.4,
- ["R15"] = 507766388,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'Idle',
- ["R6"] = 180435571
- },
- ["Jump"] = {
- ["Name"] = 'Jump',
- ["Weight"] = 0.7,
- ["R15"] = 507765000,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'Jump',
- ["R6"] = 125750702
- },
- ["Sad"] = {
- ["Object"] = 'Sad',
- ["Name"] = 'Sad',
- ["FaceId"] = 76690153,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308410706,
- ["R6"] = 153230853
- },
- ["Run"] = {
- ["Name"] = 'Run',
- ["Weight"] = 1,
- ["R15"] = 507767714,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'Run',
- ["R6"] = 180426354
- },
- ["Swim"] = {
- ["Name"] = 'Swim',
- ["R6"] = 865902879,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["R15"] = 507784897,
- ["Object"] = 'Swim'
- },
- ["SwimIdle"] = {
- ["Name"] = 'SwimIdle',
- ["Weight"] = 0.5,
- ["R15"] = 507785072,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'SwimIdle',
- ["R6"] = 865918502
- },
- ["ConfusionOrb"] = {
- ["Name"] = 'ConfusionOrb',
- ["R6"] = 866550588,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 866541157,
- ["Object"] = 'ConfusionOrb'
- },
- ["Punch"] = {
- ["Name"] = 'Punch',
- ["R6"] = 3175899997,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 3175791062,
- ["Object"] = 'Punch'
- },
- ["Amazed"] = {
- ["Object"] = 'Amazed',
- ["Name"] = 'Amazed',
- ["FaceId"] = 45528113,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 154174346,
- ["R6"] = 154174346
- },
- ["Walk"] = {
- ["Name"] = 'Walk',
- ["Weight"] = 0.6,
- ["R15"] = 507777826,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'Walk',
- ["R6"] = 180426354
- },
- ["Swing"] = {
- ["Name"] = 'Swing',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308330448,
- ["Object"] = 'Swing'
- },
- ["Shuffle"] = {
- ["Name"] = 'Shuffle',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308343244,
- ["Object"] = 'Shuffle'
- },
- ["Whistle"] = {
- ["Object"] = 'Whistle',
- ["Name"] = 'Whistle',
- ["Weight"] = 0.4,
- ["R15"] = 4308430737,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R6"] = 180435571,
- ["FaceId"] = 22877631
- },
- ["Cheer"] = {
- ["Object"] = 'Cheer',
- ["Name"] = 'Cheer',
- ["FaceId"] = 27802003,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 507770677,
- ["R6"] = 129423030
- },
- ["Evil"] = {
- ["Object"] = 'Evil',
- ["Name"] = 'Evil',
- ["FaceId"] = 1604383339,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308438228,
- ["R6"] = 1620296629
- },
- ["HipHop"] = {
- ["Name"] = 'HipHop',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308346808,
- ["Object"] = 'HipHop'
- },
- ["Dance2"] = {
- ["Name"] = 'Dance2',
- ["MovementCancel"] = true,
- ["R15"] = 507776043,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Object"] = 'Dance2',
- ["R6"] = 182436842
- },
- ["Dance3"] = {
- ["Name"] = 'Dance3',
- ["MovementCancel"] = true,
- ["R15"] = 507777268,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Object"] = 'Dance3',
- ["R6"] = 182436935
- },
- ["SitSeat"] = {
- ["Name"] = 'SitSeat',
- ["Weight"] = 0.99,
- ["R15"] = 2506281703,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'SitSeat',
- ["R6"] = 178130996
- },
- ["Think"] = {
- ["Object"] = 'Think',
- ["Name"] = 'Think',
- ["FaceId"] = 209715003,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308415882,
- ["R6"] = 154185274
- },
- ["Wave"] = {
- ["Name"] = 'Wave',
- ["R6"] = 128777973,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 507770239,
- ["Object"] = 'Wave'
- },
- ["Eat"] = {
- ["Object"] = 'Eat',
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Name"] = 'Eat',
- ["R15"] = 3343204532
- },
- ["Fall"] = {
- ["Name"] = 'Fall',
- ["Weight"] = 0.7,
- ["R15"] = 507767968,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'Fall',
- ["R6"] = 180436148
- },
- ["ThrowCoin"] = {
- ["Name"] = 'ThrowCoin',
- ["R6"] = 156055482,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 867194400,
- ["Object"] = 'ThrowCoin'
- },
- ["Easy"] = {
- ["Name"] = 'Easy',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308337079,
- ["Object"] = 'Easy'
- },
- ["Driving"] = {
- ["Name"] = 'Driving',
- ["Weight"] = 0.99,
- ["R15"] = 866020346,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["Object"] = 'Driving',
- ["R6"] = 178130996
- },
- ["Sit"] = {
- ["Name"] = 'Sit',
- ["MovementCancel"] = true,
- ["R15"] = 4308421826,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Object"] = 'Sit',
- ["R6"] = 868508890
- },
- ["SleepSeat"] = {
- ["SoundLooped"] = true,
- ["R15"] = 4308318405,
- ["FaceId"] = 66329905,
- ["Object"] = 'SleepSeat',
- ["Name"] = 'SleepSeat',
- ["R6"] = 869468579,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Volume"] = soundVolume,
- ["MovementCancel"] = true
- },
- ["Marashin"] = {
- ["Name"] = 'Marashin',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308362239,
- ["Object"] = 'Marashin'
- },
- ["Scared"] = {
- ["Object"] = 'Scared',
- ["Name"] = 'Scared',
- ["FaceId"] = 47206380,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308413393,
- ["R6"] = 154170755
- },
- ["Clap"] = {
- ["Name"] = 'Clap',
- ["R6"] = 868730451,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308424082,
- ["Object"] = 'Clap'
- },
- ["HipHop2"] = {
- ["Name"] = 'HipHop2',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308356261,
- ["Object"] = 'HipHop2'
- },
- ["Die"] = {
- ["Object"] = 'Die',
- ["R15"] = 4308443969,
- ["Name"] = 'Die',
- ["MovementCancel"] = true,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R6"] = 1620270981,
- ["FaceId"] = 1604616024
- },
- ["Disgust"] = {
- ["Object"] = 'Disgust',
- ["Name"] = 'Disgust',
- ["FaceId"] = 1598203828,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308435046,
- ["R6"] = 1620305485
- },
- ["Hi"] = {
- ["Name"] = 'Hi',
- ["R6"] = 154179312,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308390587,
- ["Object"] = 'Hi'
- },
- ["Flair"] = {
- ["Name"] = 'Flair',
- ["MovementCancel"] = true,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308358633,
- ["Object"] = 'Flair'
- },
- ["Dance"] = {
- ["Name"] = 'Dance',
- ["MovementCancel"] = true,
- ["R15"] = 507771019,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["Object"] = 'Dance',
- ["R6"] = 182435998
- },
- ["Climb"] = {
- ["Name"] = 'Climb',
- ["R6"] = 180436334,
- ["Priority"] = 'Enum.AnimationPriority.Core',
- ["R15"] = 507765644,
- ["Object"] = 'Climb'
- },
- ["WashHands"] = {
- ["Name"] = 'WashHands',
- ["R6"] = 1620296629,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 1799726387,
- ["Object"] = 'WashHands'
- },
- ["ScaredOpeingPumpkin"] = {
- ["Object"] = 'ScaredOpeingPumpkin',
- ["Name"] = 'ScaredOpeingPumpkin',
- ["FaceId"] = 47206380,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Idle',
- ["R15"] = 867226524,
- ["R6"] = 154170755
- },
- ["Angry"] = {
- ["Object"] = 'Angry',
- ["Name"] = 'Angry',
- ["FaceId"] = 14020216,
- ["SoundId"] = audioId,
- ["Priority"] = 'Enum.AnimationPriority.Action',
- ["R15"] = 4308387518,
- ["R6"] = 154168543
- }
- };
- local Target = game:GetService("Workspace").Main.LoadSoundsIntoHead;
- for index, sound in pairs(game:service'Players'.LocalPlayer.Character.Head:GetChildren()) do
- if sound:IsA'Sound' then
- sound:Destroy()
- end
- end
- Target:FireServer(table_1)
- wait(.75)
- game:GetService("Players").LocalPlayer.PlayerGui.UIEvents.ListItemPressed:Fire(userdata_1, userdata_2, userdata_3, table_2);
- end)
- InfiniteYield.Name = "InfiniteYield"
- InfiniteYield.Parent = Main
- InfiniteYield.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- InfiniteYield.Position = UDim2.new(0.768174708, 0, 0.266869307, 0)
- InfiniteYield.Size = UDim2.new(0, 90, 0, 42)
- InfiniteYield.Font = Enum.Font.SourceSans
- InfiniteYield.Text = "InfiniteYield"
- InfiniteYield.TextColor3 = Color3.fromRGB(234, 234, 234)
- InfiniteYield.TextSize = 14.000
- InfiniteYield.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.8.2'
- 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")
- Vehiclefly = Instance.new("TextLabel")
- Select_15 = Instance.new("TextButton")
- VehicleNoclip = Instance.new("TextLabel")
- Select_16 = 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 (not is_sirhurt_closure) and (syn and syn.protect_gui) then --sirhurt is retarded
- local Main = Instance.new("ScreenGui")
- Main.Name = randomString()
- syn.protect_gui(Main)
- Main.Parent = game:GetService("CoreGui")
- PARENT = Main
- elseif get_hidden_gui or gethui then
- local hiddenUI = get_hidden_gui or gethui
- local Main = Instance.new("ScreenGui")
- Main.Name = randomString()
- Main.Parent = hiddenUI()
- PARENT = Main
- elseif 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, 270)
- 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)
- Vehiclefly.Name = "VehicleFly"
- Vehiclefly.Parent = Toggles
- Vehiclefly.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- Vehiclefly.BorderSizePixel = 0
- Vehiclefly.Position = UDim2.new(0, 0, 0, 225)
- Vehiclefly.Size = UDim2.new(0, 192, 0, 20)
- Vehiclefly.Font = Enum.Font.SourceSans
- Vehiclefly.TextSize = 14
- Vehiclefly.Text = " Toggle VehicleFly"
- Vehiclefly.TextColor3 = Color3.new(1, 1, 1)
- Vehiclefly.TextXAlignment = Enum.TextXAlignment.Left
- Vehiclefly.ZIndex = 10
- table.insert(shade2,Vehiclefly)
- table.insert(text1,Vehiclefly)
- Select_15.Name = "Select"
- Select_15.Parent = Vehiclefly
- Select_15.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_15.BorderSizePixel = 0
- Select_15.Position = UDim2.new(0, 152, 0, 0)
- Select_15.Size = UDim2.new(0, 40, 0, 20)
- Select_15.Font = Enum.Font.SourceSans
- Select_15.TextSize = 14
- Select_15.Text = "Add"
- Select_15.TextColor3 = Color3.new(0, 0, 0)
- Select_15.ZIndex = 10
- table.insert(shade3,Select_15)
- table.insert(text2,Select_15)
- VehicleNoclip.Name = "VehicleNoclip"
- VehicleNoclip.Parent = Toggles
- VehicleNoclip.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
- VehicleNoclip.BorderSizePixel = 0
- VehicleNoclip.Position = UDim2.new(0, 0, 0, 250)
- VehicleNoclip.Size = UDim2.new(0, 192, 0, 20)
- VehicleNoclip.Font = Enum.Font.SourceSans
- VehicleNoclip.TextSize = 14
- VehicleNoclip.Text = " Toggle VehicleNoclip"
- VehicleNoclip.TextColor3 = Color3.new(1, 1, 1)
- VehicleNoclip.TextXAlignment = Enum.TextXAlignment.Left
- VehicleNoclip.ZIndex = 10
- table.insert(shade2,VehicleNoclip)
- table.insert(text1,VehicleNoclip)
- Select_16.Name = "Select"
- Select_16.Parent = VehicleNoclip
- Select_16.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
- Select_16.BorderSizePixel = 0
- Select_16.Position = UDim2.new(0, 152, 0, 0)
- Select_16.Size = UDim2.new(0, 40, 0, 20)
- Select_16.Font = Enum.Font.SourceSans
- Select_16.TextSize = 14
- Select_16.Text = "Add"
- Select_16.TextColor3 = Color3.new(0, 0, 0)
- Select_16.ZIndex = 10
- table.insert(shade3,Select_16)
- table.insert(text2,Select_16)
- 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"
- ImageLabel.ZIndex = 10
- 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
- view.ZIndex = 10
- 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
- local setsimulation = setsimulationradius or set_simulation_radius
- 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 = Vector3.new(0,0,0)
- 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
- elseif condType == "Number" then
- if cmdSet ~= 0 then
- metCondition = metCondition and tonumber(argVal)<=tonumber(cmdSet)
- 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,}},
- {54,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Numbers",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,64),Visible=false,ZIndex=10,}},
- {55,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={54},Size=UDim2.new(1,0,0,20),Text="Choose String",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
- {56,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={54},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Any Number",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
- {57,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={56},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {58,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={57},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,}},
- {59,"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={54},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Number",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,}},
- {60,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={54},Position=UDim2.new(1,-25,0,42),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
- {61,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={60},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)
- table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Numbers.Title) table.insert(text1,settingsTemplates.Numbers.Any)
- table.insert(shade3,settingsTemplates.Numbers.Any.Button) table.insert(shade3,settingsTemplates.Numbers.CustomButton) table.insert(text1,settingsTemplates.Numbers.Custom)
- table.insert(shade2,settingsTemplates.Numbers.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
- elseif v.Type == "Number" then
- local template = settingsTemplates.Numbers:Clone()
- template.Title.Text = v.Name or "Number"
- 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()
- cmd[2][i] = tonumber(customTextBox.Text) or 0
- customTextBox.Text = cmd[2][i]
- if custom:IsEnabled() then
- 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
- elseif v.Type == "Number" 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
- Title_2.BackgroundTransparency = 1
- wait(0.5)
- Title_2.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
- Title_2.Text = text
- Text_2.Text = text2
- else
- Title_2.Text = 'Notification'
- Text_2.Text = text
- end
- Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
- 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 = randomString()
- 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 = randomString()
- 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 = randomString()
- 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)
- if ESPenabled or CHMSenabled or game:GetService("CoreGui"):FindFirstChild(player.Name..'_LC') then
- for i,v in pairs(game:GetService("CoreGui"):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
- 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)
- Exit.MouseButton1Down:connect(function()
- logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
- end)
- 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)
- 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)
- Add.MouseButton1Click:Connect(function()
- KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil)
- end)
- Delete.MouseButton1Click:Connect(function()
- binds = {}
- refreshbinds()
- updatesaves()
- notify('Keybinds Updated','Removed all keybinds')
- end)
- Close_2.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)
- Close_3.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 = {}
- Delete_3.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 = Vector3.new(0,0,0)
- 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
- 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 = 'autorejoin / autorj', DESC = 'Automatically rejoins the server if you get kicked/disconnected'}
- CMDs[#CMDs + 1] = {NAME = 'serverhop / shop', 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 = 'creatorid / creator', DESC = 'Notifies you the creators ID'}
- CMDs[#CMDs + 1] = {NAME = 'copycreatorid / copycreator', DESC = 'Copies the creators ID to your clipboard'}
- CMDs[#CMDs + 1] = {NAME = 'setcreatorid / setcreator', DESC = 'Sets your userid to the creators ID'}
- 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 = 'clientantiteleport / antiteleport (CLIENT)', DESC = 'Prevents localscripts from teleporting you'}
- CMDs[#CMDs + 1] = {NAME = 'allowrejoin / allowrj [true/false] (CLIENT)', DESC = 'Changes if antiteleport allows you to rejoin or not'}
- 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 = 'fpscap [num / none]', DESC = 'Caps FPS'}
- CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'}
- CMDs[#CMDs + 1] = {NAME = 'lastcommand / lastcmd', DESC = 'Executes the previous command used'}
- 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 = 'tweenspeed / tspeed [num]', DESC = 'Sets how fast all tween commands go (default is 1)'}
- 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 = 'walktoposition / walktopos [X Y Z]', DESC = 'Makes you walk to a coordinate'}
- 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 = 'whisper / pm [plr] [text]', DESC = 'Makes you whisper a string to someone (possible mute bypass)'}
- 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 = 'tweengotocam / tgotocam', DESC = 'Tweens 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 = 'gotomodel [part name]', DESC = 'Moves your character to a model or multiple models'}
- CMDs[#CMDs + 1] = {NAME = 'tweengotomodel / tgotomodel [part name]', DESC = 'Tweens your character to a model or multiple models'}
- CMDs[#CMDs + 1] = {NAME = 'gotopartdelay / gotomodeldelay [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 = 'firetouchinterests / touchinterests', DESC = 'Uses all touchinterests 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 = 'pathfindwalkto / pathfindfollow [plr]', DESC = 'Follow a player using pathfinding'}
- CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'}
- CMDs[#CMDs + 1] = {NAME = 'stareat / stare [plr]', DESC = 'Stare / look at a player'}
- CMDs[#CMDs + 1] = {NAME = 'unstareat / unstare [plr]', DESC = 'Disables stareat'}
- 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 = 'handlekill / hkill [plr] (TOOL)', DESC = 'Kills a player using tool damage (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 / jp [num]', DESC = 'Change a players jump height'}
- CMDs[#CMDs + 1] = {NAME = 'loopjumppower / loopjp [num]', DESC = 'Loops your jump height'}
- CMDs[#CMDs + 1] = {NAME = 'unloopjumppower / unloopjp [num]', DESC = 'Turns off loopjumppower'}
- CMDs[#CMDs + 1] = {NAME = 'maxslopeangle / msa [num]', DESC = 'Adjusts MaxSlopeAngle'}
- 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 = 'autojump / ajump', DESC = 'Automatically jumps when you run into an object'}
- CMDs[#CMDs + 1] = {NAME = 'unautojump / unajump', DESC = 'Disables autojump'}
- CMDs[#CMDs + 1] = {NAME = 'edgejump / ejump', DESC = 'Automatically jumps when you get to the edge of an object'}
- CMDs[#CMDs + 1] = {NAME = 'unedgejump / unejump', DESC = 'Disables edgejump'}
- CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'}
- CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'}
- CMDs[#CMDs + 1] = {NAME = 'norotate / noautorotate', DESC = 'Disables AutoRotate'}
- CMDs[#CMDs + 1] = {NAME = 'unnorotate / autorotate', DESC = 'Enables AutoRotate'}
- CMDs[#CMDs + 1] = {NAME = 'enablestate [StateType]', DESC = 'Enables a humanoid state type'}
- CMDs[#CMDs + 1] = {NAME = 'disablestate [StateType]', DESC = 'Disables a humanoid state type'}
- 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 = 'loopnobgui / loopnoname', DESC = 'Loop removes billboard and surface guis from your players (i.e. name guis at cafes)'}
- CMDs[#CMDs + 1] = {NAME = 'unloopnobgui / unloopnoname', DESC = 'Disables loopnobgui'}
- CMDs[#CMDs + 1] = {NAME = 'nohead / headless', DESC = 'Removes your head (uses simulation radius)'}
- 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 = 'hatspin / spinhats', DESC = 'Spins your characters accessories'}
- CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'}
- CMDs[#CMDs + 1] = {NAME = 'clearhats / cleanhats', DESC = 'Clears hats in the workspace'}
- 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 = '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 = 'replaceroot', DESC = 'Replaces 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 = 'loopanimation / loopanim', DESC = 'Loops your current animation'}
- CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'}
- CMDs[#CMDs + 1] = {NAME = 'refreshanimations / refreshanims / reanim', DESC = 'Refreshes 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)
- Description.Text = gt[1]
- if gt[2] ~= nil then
- Title_3.Text = gt[2].Value
- else
- Title_3.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
- if char:FindFirstChildOfClass("Humanoid") then char:FindFirstChildOfClass("Humanoid"):ChangeState(15) end
- char:ClearAllChildren()
- local newChar = Instance.new("Model",workspace)
- plr.Character = newChar
- wait()
- plr.Character = char
- newChar:Destroy()
- end
- local refreshCmd = false
- function refresh(plr)
- refreshCmd = true
- local Human = plr.Character and plr.Character:FindFirstChildOfClass("Humanoid", true)
- local pos = Human and Human.RootPart and Human.RootPart.CFrame
- local pos1 = workspace.CurrentCamera.CFrame
- respawn(plr)
- spawn(function()
- plr.CharacterAdded:Wait():WaitForChild("Humanoid").RootPart.CFrame, workspace.CurrentCamera.CFrame = pos, wait() and pos1
- 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
- local cmdbarText = Cmdbar.Text:gsub("^"..'%'..prefix,"")
- execCmd(cmdbarText,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(game:GetService("CoreGui"):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 game:GetService("CoreGui"):FindFirstChild(plr.Name..'_ESP') then
- local ESPholder = Instance.new("Folder", game:GetService("CoreGui"))
- 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
- TextLabel.ZIndex = 10
- 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 game:GetService("CoreGui"):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(game:GetService("CoreGui"):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 game:GetService("CoreGui"):FindFirstChild(plr.Name..'_CHMS') then
- local ESPholder = Instance.new("Folder", game:GetService("CoreGui"))
- 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(game:GetService("CoreGui"):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 game:GetService("CoreGui"):FindFirstChild(plr.Name..'_LC') then
- local ESPholder = Instance.new("Folder", game:GetService("CoreGui"))
- 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
- TextLabel.ZIndex = 10
- 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 game:GetService("CoreGui"):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)
- Vehiclefly.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglevfly',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle vehiclefly')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle vehiclefly')
- end
- end
- end)
- VehicleNoclip.Select.MouseButton1Click:Connect(function()
- if keySelected then
- addbind('togglevnoclip',keyPressed,bindChosenKeyUp)
- refreshbinds()
- updatesaves()
- if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
- notify('Keybinds Updated','Binded '..keyPressed..' to toggle vehiclenoclip')
- else
- notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle vehiclenoclip')
- 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
- updatesaves()
- 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
- 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)
- FileName.Text = 'Plugin File Name'
- end)
- Add_3.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)
- Close_4.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)
- addcmd('autorejoin',{'autorj'},function(args, speaker)
- local Dir = game:GetService("CoreGui"):FindFirstChild("RobloxPromptGui"):FindFirstChild("promptOverlay")
- Dir.DescendantAdded:Connect(function(Err)
- if Err.Name == "ErrorTitle" then
- Err:GetPropertyChangedSignal("Text"):Connect(function()
- if Err.Text:sub(0, 12) == "Disconnected" then
- if #game.Players:GetPlayers() <= 1 then
- game.Players.LocalPlayer:Kick("\nRejoining...")
- wait()
- game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer)
- else
- game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game.Players.LocalPlayer)
- end
- end
- end)
- end
- end)
- notify('Auto Rejoin','Auto rejoin enabled')
- end)
- addcmd('serverhop',{'shop'},function(args, speaker)
- local x = {}
- for _, v in ipairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
- if type(v) == "table" and v.maxPlayers > v.playing and v.id ~= game.JobId then
- x[#x + 1] = v.id
- end
- end
- if #x > 0 then
- game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, x[math.random(1, #x)])
- else
- return notify("Serverhop","Couldn't find a server.")
- end
- end)
- addcmd('joinplayer',{'joinp'},function(args, speaker)
- local retries = 0
- function ToServer(User,PlaceId)
- if args[2] == nil then PlaceId = game.PlaceId end
- 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 second.')
- local URL2 = ("https://games.roblox.com/v1/games/"..PlaceId.."/servers/Public?sortOrder=Asc&limit=100")
- local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet(URL2))
- local GUID
- function tablelength(T)
- local count = 0
- for _ in pairs(T) do count = count + 1 end
- return count
- end
- for i=1,tonumber(tablelength(Http.data)) do
- for j,k in pairs(Http.data[i].playerIds) do
- if k == UserId then
- GUID = Http.data[i].id
- end
- end
- end
- if GUID ~= nil then
- notify('Join Player','Joining '..User)
- game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceId,GUID,game.Players.LocalPlayer)
- 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],args[2])
- 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 and child.Name ~= floatName 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('togglevfly',{},function(args, speaker)
- if FLYING then
- NOFLY()
- else
- sFLY(true)
- end
- 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
- floatName = randomString()
- addcmd('float', {'platform'},function(args, speaker)
- Floating = true
- local pchar = speaker.Character
- if pchar and not pchar:FindFirstChild(floatName) then
- spawn(function()
- local Float = Instance.new('Part', pchar)
- Float.Name = floatName
- 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(floatName) 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(floatName) then
- pchar:FindFirstChild(floatName):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)
- tweenSpeed = 1
- addcmd('tweenspeed',{'tspeed'},function(args, speaker)
- local newSpeed = args[1] or 1
- if tonumber(newSpeed) then
- tweenSpeed = tonumber(newSpeed)
- 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(tweenSpeed, 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(tweenSpeed, 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)
- allow_rj = true
- addcmd('clientantiteleport',{'antiteleport'},function(args, speaker)
- local TeleportService, tp, tptpi = game:GetService("TeleportService")
- tp = hookfunction(TeleportService.Teleport, function(id, ...)
- if allow_rj and id == game.Placeid then
- return tp(id, ...)
- end
- return wait(9e9)
- end)
- tptpi = hookfunction(TeleportService.TeleportToPlaceInstance, function(id, server, ...)
- if allow_rj and id == game.Placeid and server == game.JobId then
- return tp(id, server, ...)
- end
- return wait(9e9)
- end)
- notify('Client AntiTP','Client anti teleport is now active (only effective on localscript teleport)')
- end)
- addcmd('allowrejoin',{'allowrj'},function(args, speaker)
- if args[1] and args[1] == 'false' then
- allow_rj = false
- notify('Client AntiTP','Allow rejoin set to false')
- else
- allow_rj = true
- notify('Client AntiTP','Allow rejoin set to true')
- end
- 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("setfpscap", {"fpscap", "maxfps"}, function(args, speaker)
- if setfpscap and type(setfpscap) == "function" then
- local num = args[1] or 1e6
- if num == 'none' then
- return setfpscap(1e6)
- elseif num > 0 then
- return setfpscap(num)
- else
- return notify("Invalid argument", "Please provide a number above 0 or 'none'.")
- end
- else
- return notify("Incompatible Exploit", "Your exploit does not support this command (missing setfpscap)")
- end
- end)
- addcmd('notify',{},function(args, speaker)
- notify(getstring(1))
- end)
- addcmd('lastcommand',{'lastcmd'},function(args, speaker)
- if cmdHistory[2]:sub(1,11) ~= 'lastcommand' and cmdHistory[2]:sub(1,7) ~= 'lastcmd' then
- execCmd(cmdHistory[2])
- end
- 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(game:GetService("CoreGui"):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(game:GetService("CoreGui"):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(game:GetService("CoreGui"):GetChildren()) do
- if c.Name == Players[v].Name..'_LC' then
- c:Destroy()
- end
- end
- end
- else
- for i,c in pairs(game:GetService("CoreGui"):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('tweengotocamera',{'tweengotocam','tgotocam','ttocam'},function(args, speaker)
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = workspace.Camera.CFrame}):Play()
- 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('creatorid',{'creator'},function(args, speaker)
- if game.CreatorType == Enum.CreatorType.User then
- notify('Creator ID',game.CreatorId)
- elseif game.CreatorType == Enum.CreatorType.Group then
- local OwnerID = game:GetService('GroupService'):GetGroupInfoAsync(game.CreatorId).Owner.Id
- speaker.UserId = OwnerID
- notify('Creator ID',OwnerID)
- end
- end)
- addcmd('copycreatorid',{'copycreator'},function(args, speaker)
- if game.CreatorType == Enum.CreatorType.User then
- toClipboard(game.CreatorId)
- notify('Copied ID','Copied creator ID to clipboard')
- elseif game.CreatorType == Enum.CreatorType.Group then
- local OwnerID = game:GetService('GroupService'):GetGroupInfoAsync(game.CreatorId).Owner.Id
- toClipboard(OwnerID)
- notify('Copied ID','Copied creator ID to clipboard')
- end
- end)
- addcmd('setcreatorid',{'setcreator'},function(args, speaker)
- if game.CreatorType == Enum.CreatorType.User then
- speaker.UserId = game.CreatorId
- notify('Set ID','Set UserId to '..game.CreatorId)
- elseif game.CreatorType == Enum.CreatorType.Group then
- local OwnerID = game:GetService('GroupService'):GetGroupInfoAsync(game.CreatorId).Owner.Id
- speaker.UserId = OwnerID
- notify('Set ID','Set UserId to '..OwnerID)
- 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(tweenSpeed, 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
- vnoclipParts = {}
- end)
- addcmd('togglevnoclip',{},function(args, speaker)
- if Clip then
- execCmd('vnoclip')
- else
- execCmd('vclip')
- 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 plrName = Players[v].Name
- local pchar=Players[v].Character
- 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
- for i,c in pairs(players) do
- if Players:FindFirstChild(v) then
- pchar = Players[v].Character
- if pchar~= nil and Players[v].Character ~= 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
- wait(lDelay)
- else
- for a,b in pairs(bringT) do if b == plrName then table.remove(bringT, a) end end
- end
- end
- until not FindInTable(bringT, plrName)
- 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('pathfindwalkto',{'pathfindfollow'},function(args, speaker)
- walkto = false
- wait()
- local players = getPlayer(args[1], speaker)
- local PathService = game:GetService("PathfindingService")
- local hum = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- local path = PathService:CreatePath()
- 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()
- local success, response = pcall(function()
- path:ComputeAsync(getRoot(speaker.Character).Position, getRoot(Players[v].Character).Position)
- local waypoints = path:GetWaypoints()
- local distance
- for waypointIndex, waypoint in pairs(waypoints) do
- local waypointPosition = waypoint.Position
- hum:MoveTo(waypointPosition)
- repeat
- distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
- wait()
- until
- distance <= 5
- end
- end)
- if not success then
- speaker.Character.Humanoid:MoveTo(getRoot(Players[v].Character).Position)
- end
- 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('maxslopeangle',{'msa'},function(args, speaker)
- local sangle = args[1] or 89
- if isNumber(sangle) then
- speaker.Character:FindFirstChildOfClass('Humanoid').MaxSlopeAngle = sangle
- 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)
- addcmd('dance', {}, function(args, speaker)
- if not r15(speaker) then
- local dances = {"27789359", "30196114", "248263260", "45834924", "33796059", "28488254", "52155728"}
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)]
- animTrack = speaker.Character.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('nohead',{'rhead','headless'},function(args, speaker)
- if sethidden then
- -- Full credit to Thomas_Cornez#0272 @Discord
- local lplr = game:GetService("Players").LocalPlayer
- local char = lplr.Character
- local rig = tostring(char.Humanoid.RigType) == "Enum.HumanoidRigType.R6" and 1 or tostring(char.Humanoid.RigType) == "Enum.HumanoidRigType.R15" and 2
- local speaker = game:GetService("Players").LocalPlayer
- sethidden(speaker, "SimulationRadius", math.huge)
- local test = Instance.new("Model", workspace)
- local hum = Instance.new("Humanoid", test)
- local animation = Instance.new("Model", workspace)
- local humanoidanimation = Instance.new("Humanoid", animation)
- lplr.Character = test
- wait(2)
- char.Humanoid.Animator.Parent = humanoidanimation
- char.Humanoid:Destroy()
- char.Head:Destroy()
- wait(5)
- game.Players.LocalPlayer.Character = char
- local hum2 = Instance.new("Humanoid")
- hum2.Parent = char
- char:FindFirstChildOfClass("Humanoid").Jump = true
- humanoidanimation.Animator.Parent = hum2
- char.Animate.Disabled = true
- wait()
- char.Animate.Disabled = false
- wait()
- if rig == 1 then
- hum2.HipHeight = 0
- elseif rig == 2 then
- hum2.HipHeight = 2.19
- end
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
- 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)
- local HumanModCons = {}
- addcmd('autojump',{'ajump'},function(args, speaker)
- local Char = speaker.Character
- local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
- local function autoJump()
- if Char and Human then
- local check1 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position-Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
- local check2 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position+Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
- if check1 or check2 then
- Human.Jump = true
- end
- end
- end
- autoJump()
- HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or game:GetService("RunService").RenderStepped:Connect(autoJump)
- HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
- Char, Human = nChar, nChar:WaitForChild("Humanoid")
- autoJump()
- HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or game:GetService("RunService").RenderStepped:Connect(autoJump)
- end)
- end)
- addcmd('unautojump',{'noautojump', 'noajump', 'unajump'},function(args, speaker)
- HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or nil
- HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or nil
- end)
- addcmd('edgejump',{'ejump'},function(args, speaker)
- local Char = speaker.Character
- local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
- -- Full credit to NoelGamer06 @V3rmillion
- local state
- local laststate
- local lastcf
- local function edgejump()
- if Char and Human then
- laststate = state
- state = Human:GetState()
- if laststate ~= state and state == Enum.HumanoidStateType.Freefall and laststate ~= Enum.HumanoidStateType.Jumping then
- Char.HumanoidRootPart.CFrame = lastcf
- Char.HumanoidRootPart.Velocity = Vector3.new(Char.HumanoidRootPart.Velocity.X, Human.JumpPower, Char.HumanoidRootPart.Velocity.Z)
- end
- lastcf = Char.HumanoidRootPart.CFrame
- end
- end
- edgejump()
- HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or game:GetService("RunService").RenderStepped:Connect(edgejump)
- HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
- Char, Human = nChar, nChar:WaitForChild("Humanoid")
- edgejump()
- HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or game:GetService("RunService").RenderStepped:Connect(edgejump)
- end)
- end)
- addcmd('unedgejump',{'noedgejump', 'noejump', 'unejump'},function(args, speaker)
- HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or nil
- HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or nil
- 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('loopnobgui',{'loopunbgui','loopnobillboardgui','loopunbillboardgui','loopnoname','looprohg'},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
- local function charPartAdded(part)
- if part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
- wait()
- part:Destroy()
- end
- end
- charPartTrigger = speaker.Character.DescendantAdded:Connect(charPartAdded)
- end)
- addcmd('unloopnobgui',{'unloopunbgui','unloopnobillboardgui','unloopunbillboardgui','unloopnoname','unlooprohg'},function(args, speaker)
- if charPartTrigger then
- charPartTrigger:Disconnect()
- 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('refreshanimations', {'refreshanimation','refreshanims','refreshanim','reanim'},function(args, speaker)
- local Char = speaker.Character
- local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
- local Animate = Char and Char.FindFirstChild(Char, "Animate")
- Animate.Disabled = true
- for _, v in ipairs(Human.GetPlayingAnimationTracks(Human)) do
- v.Stop(v, 0)
- end
- Animate.Disabled = false
- end)
- addcmd('loopanimation', {'loopanim'},function(args, speaker)
- local Char = speaker.Character
- local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
- for _, v in ipairs(Human.GetPlayingAnimationTracks(Human)) do
- v.Looped = true
- 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(tweenSpeed, 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(tweenSpeed, 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('walktopos',{'walktoposition'},function(args, speaker)
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(0.1)
- speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(args[1],args[2],args[3])
- 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)
- addcmd('loopspeed',{'loopws'},function(args, speaker)
- local speed = args[1] or 16
- if args[2] then
- speed = args[2] or 16
- end
- if isNumber(speed) then
- local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
- local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
- local function WalkSpeedChange()
- if Char and Human then
- Human.WalkSpeed = speed
- end
- end
- WalkSpeedChange()
- HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
- HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
- Char, Human = nChar, nChar:WaitForChild("Humanoid")
- WalkSpeedChange()
- HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
- end)
- end
- end)
- addcmd('unloopspeed',{'unloopws'},function(args, speaker)
- HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or nil
- HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or nil
- end)
- addcmd('loopjumppower',{'loopjp','loopjpower'},function(args, speaker)
- local jpower = args[1] or 50
- if isNumber(jpower) then
- local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
- local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
- local function JumpPowerChange()
- if Char and Human then
- Human.JumpPower = jpower
- end
- end
- JumpPowerChange()
- HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
- HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
- Char, Human = nChar, nChar:WaitForChild("Humanoid")
- JumpPowerChange()
- HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
- end)
- end
- end)
- addcmd('unloopjumppower',{'unloopjp','unloopjpower'},function(args, speaker)
- HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or nil
- HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or nil
- 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:FindFirstChild(v) then
- if Players[v].Character ~= nil then
- getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0)
- end
- wait(lDelay)
- else
- loopgoto = nil
- end
- 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)
- addcmd('whisper',{'pm'},function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local plrName = Players[v].Name
- local pmstring = getstring(2)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..plrName.." "..pmstring, "All")
- end)
- end
- end)
- pmspamming = {}
- addcmd('pmspam',{},function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players)do
- spawn(function()
- local plrName = Players[v].Name
- if FindInTable(pmspamming, plrName) then return end
- table.insert(pmspamming, plrName)
- local pmspamstring = getstring(2)
- repeat
- if Players:FindFirstChild(v) then
- wait(spamspeed)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..plrName.." "..pmspamstring, "All")
- else
- for a,b in pairs(pmspamming) do if b == plrName then table.remove(pmspamming, a) end end
- end
- until not FindInTable(pmspamming, plrName)
- 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',{'topart'},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','ttopart'},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)
- game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, 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(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
- end
- end
- end)
- addcmd('gotomodel',{'tomodel'},function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
- if speaker.Character:FindFirstChild("Humanoid") then
- speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
- end
- wait(gotopartDelay)
- getRoot(speaker.Character).CFrame = v:GetModelCFrame()
- end
- end
- end)
- addcmd('tweengotomodel',{'tgotomodel','ttomodel'},function(args, speaker)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == getstring(1):lower() and v:IsA("Model") 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(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v:GetModelCFrame()}):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)
- simRadius = false
- addcmd('simulationradius',{'simradius'},function(args, speaker)
- if sethidden then
- simRadLoop = game:GetService('RunService').Stepped:connect(function()
- if setsimulation then
- setsimulation(1e308, 1/0)
- else
- sethidden(speaker,"MaximumSimulationRadius",1/0)
- sethidden(speaker,"SimulationRadius", 1e308)
- end
- end)
- simRadius = true
- 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()
- if setsimulation then
- setsimulation(139,139)
- else
- sethidden(speaker,"MaximumSimulationRadius",139)
- sethidden(speaker,"SimulationRadius", 139)
- end
- simRadius = false
- 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('clearhats',{'cleanhats'},function(args, speaker)
- if firetouchinterest then
- local Player = game:GetService("Players").LocalPlayer
- local Character = Player.Character
- local Old = Character:FindFirstChild("HumanoidRootPart").CFrame
- local Hats = {}
- for _,x in next, workspace:GetChildren() do
- if x:IsA("Accessory") then
- table.insert(Hats,x)
- end
- end
- for _,getacc in next, Character:FindFirstChild("Humanoid"):GetAccessories() do
- getacc:Destroy()
- end
- for i = 1,#Hats do
- repeat game:GetService("RunService").Heartbeat:wait() until Hats[i]
- firetouchinterest(Hats[i].Handle,Character:FindFirstChild("HumanoidRootPart"),0)
- repeat game:GetService("RunService").Heartbeat:wait() until Character:FindFirstChildOfClass("Accessory")
- Character:FindFirstChildOfClass("Accessory"):Destroy()
- repeat game:GetService("RunService").Heartbeat:wait() until not Character:FindFirstChildOfClass("Accessory")
- end
- Character:BreakJoints()
- Player.CharacterAdded:wait()
- for i = 1,20 do game:GetService("RunService").Heartbeat:wait()
- if Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character:FindFirstChild("HumanoidRootPart").CFrame = Old
- end
- end
- else
- notify('Incompatible Exploit','Your exploit does not support this command (missing firetouchinterest)')
- 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('replaceroot',{'replacerootpart'},function(args, speaker)
- if speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
- local Char = speaker.Character
- local OldParent = Char.Parent
- local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
- local OldPos = HRP.CFrame
- Char.Parent = game
- local HRP1 = HRP:Clone()
- HRP1.Parent = Char
- HRP = HRP:Destroy()
- HRP1.CFrame = OldPos
- Char.Parent = OldParent
- 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('touchinterests',{'touchinterest','firetouchinterests','firetouchinterest'},function(args, speaker)
- if type(firetouchinterest) == "function" then
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("TouchTransmitter") or v:IsA('TouchInterest') then
- firetouchinterest(getRoot(speaker.Character).CFrame, v:FindFirstAncestorWhichIsA('BasePart'), 0)
- end
- end
- else
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("TouchTransmitter") or v:IsA('TouchInterest') then
- v.Parent.CFrame = getRoot(speaker.Character).CFrame
- end
- end
- 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('loopfullbright',{'loopfb'},function(args, speaker)
- if brightLoop then
- brightLoop:Disconnect()
- end
- local function brightFunc()
- 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
- brightLoop = game:GetService("RunService").RenderStepped:Connect(brightFunc)
- end)
- addcmd('unloopfullbright',{'unloopfb'},function(args, speaker)
- if brightLoop then
- brightLoop:Disconnect()
- end
- 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('norotate',{'noautorotate'},function(args, speaker)
- speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate = false
- end)
- addcmd('unnorotate',{'autorotate'},function(args, speaker)
- speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate = true
- end)
- addcmd('enablestate',{},function(args, speaker)
- local x = args[1]
- if not tonumber(x) then
- local x = Enum.HumanoidStateType[args[1]]
- end
- speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, true)
- end)
- addcmd('disablestate',{},function(args, speaker)
- local x = args[1]
- if not tonumber(x) then
- local x = Enum.HumanoidStateType[args[1]]
- end
- speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, 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('handlekill', {'hkill'}, function(args, speaker)
- if not firetouchinterest then
- return notify('Incompatible Exploit', 'Your exploit does not support this command (missing firetouchinterest)')
- end
- local RS = game:GetService("RunService").RenderStepped
- local Tool = speaker.Character.FindFirstChildWhichIsA(speaker.Character, "Tool")
- local Handle = Tool and Tool.FindFirstChild(Tool, "Handle")
- if not Tool or not Handle then
- return notify("Handle Kill", "You need to hold a \"Tool\" that does damage on touch. For example the default \"Sword\" tool.")
- end
- for _, v in ipairs(getPlayer(args[1], speaker)) do
- v = Players[v]
- spawn(function()
- while Tool and speaker.Character and v.Character and Tool.Parent == speaker.Character do
- local Human = v.Character.FindFirstChildWhichIsA(v.Character, "Humanoid")
- if not Human or Human.Health <= 0 then
- break
- end
- for _, v1 in ipairs(v.Character.GetChildren(v.Character)) do
- v1 = ((v1.IsA(v1, "BasePart") and firetouchinterest(Handle, v1, 1, (RS.Wait(RS) and nil) or firetouchinterest(Handle, v1, 0)) and nil) or v1) or v1
- end
- end
- notify("Handle Kill Stopped!", v.Name .. " died/left or you unequiped the tool!")
- end)
- 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('stareat',{'stare'},function(args, speaker)
- local players = getPlayer(args[1], speaker)
- for i,v in pairs(players) do
- if stareLoop then
- stareLoop:Disconnect()
- end
- if not Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Players[v].Character:FindFirstChild("HumanoidRootPart") then return end
- local function stareFunc()
- if Players.LocalPlayer.Character.PrimaryPart and Players:FindFirstChild(v) and Players[v].Character ~= nil and Players[v].Character:FindFirstChild("HumanoidRootPart") then
- local chrPos=Players.LocalPlayer.Character.PrimaryPart.Position
- local tPos=Players[v].Character:FindFirstChild("HumanoidRootPart").Position
- local modTPos=Vector3.new(tPos.X,chrPos.Y,tPos.Z)
- local newCF=CFrame.new(chrPos,modTPos)
- Players.LocalPlayer.Character:SetPrimaryPartCFrame(newCF)
- elseif not Players:FindFirstChild(v) then
- stareLoop:Disconnect()
- end
- end
- stareLoop = game:GetService("RunService").RenderStepped:Connect(stareFunc)
- end
- end)
- addcmd('unstareat',{'unstare','nostare','nostareat'},function(args, speaker)
- if stareLoop then
- stareLoop:Disconnect()
- 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
- if not simRadius then
- execCmd('simulationradius')
- end
- 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
- if not simRadius then
- execCmd('simulationradius')
- end
- 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
- if not simRadius then
- execCmd('simulationradius')
- end
- 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("OnDamage",{
- {Type="Player",Name="Player Filter ($1)"},
- {Type="Number",Name="Below Health ($2)"}
- })
- 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
- local oldHealth = humanoid.Health
- humanoid.HealthChanged:Connect(function(health)
- local change = math.abs(oldHealth - health)
- if oldHealth > health then
- eventEditor.FireEvent("OnDamage",plr.Name,tonumber(health))
- end
- oldHealth = health
- 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)
- TPHome.Name = "TP Home"
- TPHome.Parent = Main
- TPHome.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- TPHome.Position = UDim2.new(0.768174708, 0, 0.628571391, 0)
- TPHome.Size = UDim2.new(0, 90, 0, 42)
- TPHome.Font = Enum.Font.SourceSans
- TPHome.Text = "TP Home"
- TPHome.TextColor3 = Color3.fromRGB(234, 234, 234)
- TPHome.TextSize = 14.000
- TPHome.MouseButton1Down:connect(function()
- local A_1 = "TeleportHome"
- local Event = game:GetService("ReplicatedStorage").PlayerChannel
- Event:FireServer(A_1)
- end)
Add Comment
Please, Sign In to add comment