Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local AGG = Instance.new("TextLabel")
- local FreeCamera = Instance.new("TextButton")
- local ESP = Instance.new("TextButton")
- local BuildTools = Instance.new("TextButton")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local Arsenal = Instance.new("TextButton")
- local mmtwo = Instance.new("TextButton")
- local babftauto = Instance.new("TextButton")
- local PetSimX = Instance.new("TextButton")
- local BSS = Instance.new("TextButton")
- local ninja = Instance.new("TextButton")
- local GBS = Instance.new("TextLabel")
- local Jump = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Workspace.Part
- AGG.Name = "AGG"
- AGG.Parent = ScreenGui
- AGG.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- AGG.Position = UDim2.new(-0.00128123979, 0, 0.198772937, 0)
- AGG.Size = UDim2.new(0, 137, 0, 19)
- AGG.Font = Enum.Font.SourceSans
- AGG.Text = "AGG v2"
- AGG.TextColor3 = Color3.fromRGB(255, 255, 255)
- AGG.TextSize = 30.000
- AGG.TextWrapped = true
- FreeCamera.Name = "FreeCamera"
- FreeCamera.Parent = ScreenGui
- FreeCamera.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- FreeCamera.Position = UDim2.new(0.00149087608, 0, 0.260122687, 0)
- FreeCamera.Size = UDim2.new(0, 133, 0, 36)
- FreeCamera.Font = Enum.Font.SourceSans
- FreeCamera.Text = "Free Camera {press z}"
- FreeCamera.TextColor3 = Color3.fromRGB(255, 255, 255)
- FreeCamera.TextSize = 14.000
- FreeCamera.MouseButton1Down:connect(function()
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- LocalScript0 = Instance.new("LocalScript")
- LocalScript0.Name = "FreeCamera"
- LocalScript0.Parent = mas
- table.insert(cors,sandbox(LocalScript0,function()
- local pi = math.pi
- local abs = math.abs
- local clamp = math.clamp
- local exp = math.exp
- local rad = math.rad
- local sign = math.sign
- local sqrt = math.sqrt
- local tan = math.tan
- local ContextActionService = game:GetService("ContextActionService")
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local StarterGui = game:GetService("StarterGui")
- local UserInputService = game:GetService("UserInputService")
- local LocalPlayer = Players.LocalPlayer
- if not LocalPlayer then
- Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
- LocalPlayer = Players.LocalPlayer
- end
- local Camera = workspace.CurrentCamera
- workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
- local newCamera = workspace.CurrentCamera
- if newCamera then
- Camera = newCamera
- end
- end)
- ------------------------------------------------------------------------
- local TOGGLE_INPUT_PRIORITY = Enum.ContextActionPriority.Low.Value
- local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
- local FREECAM_MACRO_KB = {Enum.KeyCode.LeftShift, Enum.KeyCode.P}
- local NAV_GAIN = Vector3.new(1, 1, 1)*64
- local PAN_GAIN = Vector2.new(0.75, 1)*8
- local FOV_GAIN = 300
- local PITCH_LIMIT = rad(90)
- local VEL_STIFFNESS = 1.5
- local PAN_STIFFNESS = 1.0
- local FOV_STIFFNESS = 4.0
- ------------------------------------------------------------------------
- local 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*pi
- local p0 = self.p
- local v0 = self.v
- local offset = goal - p0
- local decay = 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 cameraFov = 0
- local velSpring = Spring.new(VEL_STIFFNESS, Vector3.new())
- local panSpring = Spring.new(PAN_STIFFNESS, Vector2.new())
- local fovSpring = Spring.new(FOV_STIFFNESS, 0)
- ------------------------------------------------------------------------
- local Input = {} do
- local thumbstickCurve do
- local K_CURVATURE = 2.0
- local K_DEADZONE = 0.15
- local function fCurve(x)
- return (exp(K_CURVATURE*x) - 1)/(exp(K_CURVATURE) - 1)
- end
- local function fDeadzone(x)
- return fCurve((x - K_DEADZONE)/(1 - K_DEADZONE))
- end
- function thumbstickCurve(x)
- return sign(x)*clamp(fDeadzone(abs(x)), 0, 1)
- end
- end
- local gamepad = {
- ButtonX = 0,
- ButtonY = 0,
- DPadDown = 0,
- DPadUp = 0,
- ButtonL2 = 0,
- ButtonR2 = 0,
- Thumbstick1 = Vector2.new(),
- Thumbstick2 = Vector2.new(),
- }
- local keyboard = {
- W = 0,
- A = 0,
- S = 0,
- D = 0,
- E = 0,
- Q = 0,
- U = 0,
- H = 0,
- J = 0,
- K = 0,
- I = 0,
- Y = 0,
- Up = 0,
- Down = 0,
- LeftShift = 0,
- RightShift = 0,
- }
- local mouse = {
- Delta = Vector2.new(),
- MouseWheel = 0,
- }
- local NAV_GAMEPAD_SPEED = Vector3.new(1, 1, 1)
- local NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
- local PAN_MOUSE_SPEED = Vector2.new(1, 1)*(pi/64)
- local PAN_GAMEPAD_SPEED = Vector2.new(1, 1)*(pi/8)
- local FOV_WHEEL_SPEED = 1.0
- local FOV_GAMEPAD_SPEED = 0.25
- local NAV_ADJ_SPEED = 0.75
- local NAV_SHIFT_MUL = 0.25
- local navSpeed = 1
- function Input.Vel(dt)
- navSpeed = clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
- local kGamepad = Vector3.new(
- thumbstickCurve(gamepad.Thumbstick1.x),
- thumbstickCurve(gamepad.ButtonR2) - thumbstickCurve(gamepad.ButtonL2),
- thumbstickCurve(-gamepad.Thumbstick1.y)
- )*NAV_GAMEPAD_SPEED
- local kKeyboard = Vector3.new(
- keyboard.D - keyboard.A + keyboard.K - keyboard.H,
- keyboard.E - keyboard.Q + keyboard.I - keyboard.Y,
- keyboard.S - keyboard.W + keyboard.J - keyboard.U
- )*NAV_KEYBOARD_SPEED
- local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) or UserInputService:IsKeyDown(Enum.KeyCode.RightShift)
- return (kGamepad + kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
- end
- function Input.Pan(dt)
- local kGamepad = Vector2.new(
- thumbstickCurve(gamepad.Thumbstick2.y),
- thumbstickCurve(-gamepad.Thumbstick2.x)
- )*PAN_GAMEPAD_SPEED
- local kMouse = mouse.Delta*PAN_MOUSE_SPEED
- mouse.Delta = Vector2.new()
- return kGamepad + kMouse
- end
- function Input.Fov(dt)
- local kGamepad = (gamepad.ButtonX - gamepad.ButtonY)*FOV_GAMEPAD_SPEED
- local kMouse = mouse.MouseWheel*FOV_WHEEL_SPEED
- mouse.MouseWheel = 0
- return kGamepad + kMouse
- end
- do
- local function Keypress(action, state, input)
- keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
- return Enum.ContextActionResult.Sink
- end
- local function GpButton(action, state, input)
- gamepad[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
- return Enum.ContextActionResult.Sink
- end
- local function MousePan(action, state, input)
- local delta = input.Delta
- mouse.Delta = Vector2.new(-delta.y, -delta.x)
- return Enum.ContextActionResult.Sink
- end
- local function Thumb(action, state, input)
- gamepad[input.KeyCode.Name] = input.Position
- return Enum.ContextActionResult.Sink
- end
- local function Trigger(action, state, input)
- gamepad[input.KeyCode.Name] = input.Position.z
- return Enum.ContextActionResult.Sink
- end
- local function MouseWheel(action, state, input)
- mouse[input.UserInputType.Name] = -input.Position.z
- return Enum.ContextActionResult.Sink
- end
- local function Zero(t)
- for k, v in pairs(t) do
- t[k] = v*0
- end
- end
- function Input.StartCapture()
- ContextActionService:BindActionAtPriority("FreecamKeyboard", Keypress, false, INPUT_PRIORITY,
- Enum.KeyCode.W, Enum.KeyCode.U,
- Enum.KeyCode.A, Enum.KeyCode.H,
- Enum.KeyCode.S, Enum.KeyCode.J,
- Enum.KeyCode.D, Enum.KeyCode.K,
- Enum.KeyCode.E, Enum.KeyCode.I,
- Enum.KeyCode.Q, Enum.KeyCode.Y,
- Enum.KeyCode.Up, Enum.KeyCode.Down
- )
- ContextActionService:BindActionAtPriority("FreecamMousePan", MousePan, false, INPUT_PRIORITY, Enum.UserInputType.MouseMovement)
- ContextActionService:BindActionAtPriority("FreecamMouseWheel", MouseWheel, false, INPUT_PRIORITY, Enum.UserInputType.MouseWheel)
- ContextActionService:BindActionAtPriority("FreecamGamepadButton", GpButton, false, INPUT_PRIORITY, Enum.KeyCode.ButtonX, Enum.KeyCode.ButtonY)
- ContextActionService:BindActionAtPriority("FreecamGamepadTrigger", Trigger, false, INPUT_PRIORITY, Enum.KeyCode.ButtonR2, Enum.KeyCode.ButtonL2)
- ContextActionService:BindActionAtPriority("FreecamGamepadThumbstick", Thumb, false, INPUT_PRIORITY, Enum.KeyCode.Thumbstick1, Enum.KeyCode.Thumbstick2)
- end
- function Input.StopCapture()
- navSpeed = 1
- Zero(gamepad)
- Zero(keyboard)
- Zero(mouse)
- ContextActionService:UnbindAction("FreecamKeyboard")
- ContextActionService:UnbindAction("FreecamMousePan")
- ContextActionService:UnbindAction("FreecamMouseWheel")
- ContextActionService:UnbindAction("FreecamGamepadButton")
- ContextActionService:UnbindAction("FreecamGamepadTrigger")
- ContextActionService:UnbindAction("FreecamGamepadThumbstick")
- end
- end
- end
- local function GetFocusDistance(cameraFrame)
- local znear = 0.1
- local viewport = Camera.ViewportSize
- local projy = 2*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 part, 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 fov = fovSpring:Update(dt, Input.Fov(dt))
- local zoomFactor = sqrt(tan(rad(70/2))/tan(rad(cameraFov/2)))
- cameraFov = clamp(cameraFov + fov*FOV_GAIN*(dt/zoomFactor), 1, 120)
- cameraRot = cameraRot + pan*PAN_GAIN*(dt/zoomFactor)
- cameraRot = Vector2.new(clamp(cameraRot.x, -PITCH_LIMIT, PITCH_LIMIT), cameraRot.y%(2*pi))
- local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*NAV_GAIN*dt)
- cameraPos = cameraCFrame.p
- Camera.CFrame = cameraCFrame
- Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
- Camera.FieldOfView = cameraFov
- end
- ------------------------------------------------------------------------
- local PlayerState = {} do
- local mouseIconEnabled
- local cameraSubject
- local cameraType
- local cameraFocus
- local cameraCFrame
- local cameraFieldOfView
- local screenGuis = {}
- local coreGuis = {
- Backpack = true,
- Chat = true,
- Health = true,
- PlayerList = true,
- }
- local setCores = {
- BadgesNotificationsActive = true,
- PointsNotificationsActive = true,
- }
- -- Save state and set up for freecam
- function PlayerState.Push()
- for name in pairs(coreGuis) do
- coreGuis[name] = StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType[name])
- StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[name], false)
- end
- for name in pairs(setCores) do
- setCores[name] = StarterGui:GetCore(name)
- StarterGui:SetCore(name, false)
- end
- local playergui = LocalPlayer:FindFirstChildOfClass("PlayerGui")
- if playergui then
- for _, gui in pairs(playergui:GetChildren()) do
- if gui:IsA("ScreenGui") and gui.Enabled then
- screenGuis[#screenGuis + 1] = gui
- gui.Enabled = false
- end
- end
- end
- cameraFieldOfView = Camera.FieldOfView
- Camera.FieldOfView = 70
- cameraType = Camera.CameraType
- Camera.CameraType = Enum.CameraType.Custom
- cameraSubject = Camera.CameraSubject
- Camera.CameraSubject = nil
- cameraCFrame = Camera.CFrame
- cameraFocus = Camera.Focus
- mouseIconEnabled = UserInputService.MouseIconEnabled
- UserInputService.MouseIconEnabled = false
- mouseBehavior = UserInputService.MouseBehavior
- UserInputService.MouseBehavior = Enum.MouseBehavior.Default
- end
- -- Restore state
- function PlayerState.Pop()
- for name, isEnabled in pairs(coreGuis) do
- StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[name], isEnabled)
- end
- for name, isEnabled in pairs(setCores) do
- StarterGui:SetCore(name, isEnabled)
- end
- for _, gui in pairs(screenGuis) do
- if gui.Parent then
- gui.Enabled = true
- end
- end
- Camera.FieldOfView = cameraFieldOfView
- cameraFieldOfView = nil
- Camera.CameraType = cameraType
- cameraType = nil
- Camera.CameraSubject = cameraSubject
- cameraSubject = nil
- Camera.CFrame = cameraCFrame
- cameraCFrame = nil
- Camera.Focus = cameraFocus
- cameraFocus = nil
- UserInputService.MouseIconEnabled = mouseIconEnabled
- mouseIconEnabled = nil
- UserInputService.MouseBehavior = mouseBehavior
- mouseBehavior = nil
- end
- end
- local function StartFreecam()
- local cameraCFrame = Camera.CFrame
- cameraRot = Vector2.new(cameraCFrame:toEulerAnglesYXZ())
- cameraPos = cameraCFrame.p
- cameraFov = Camera.FieldOfView
- velSpring:Reset(Vector3.new())
- panSpring:Reset(Vector2.new())
- fovSpring:Reset(0)
- PlayerState.Push()
- RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
- Input.StartCapture()
- end
- local function StopFreecam()
- Input.StopCapture()
- RunService:UnbindFromRenderStep("Freecam")
- PlayerState.Pop()
- end
- ------------------------------------------------------------------------
- do
- local enabled = false
- local function ToggleFreecam()
- if enabled then
- StopFreecam()
- else
- StartFreecam()
- end
- enabled = not enabled
- end
- local function CheckMacro(macro)
- for i = 1, #macro - 1 do
- if not UserInputService:IsKeyDown(macro[i]) then
- return
- end
- end
- ToggleFreecam()
- end
- local function HandleActivationInput(action, state, input)
- if state == Enum.UserInputState.Begin then
- if input.KeyCode == FREECAM_MACRO_KB[#FREECAM_MACRO_KB] then
- CheckMacro(FREECAM_MACRO_KB)
- end
- end
- return Enum.ContextActionResult.Pass
- end
- ContextActionService:BindActionAtPriority("FreecamToggle", HandleActivationInput, false, TOGGLE_INPUT_PRIORITY, FREECAM_MACRO_KB[#FREECAM_MACRO_KB])
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end)
- ESP.Name = "ESP"
- ESP.Parent = ScreenGui
- ESP.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ESP.Position = UDim2.new(0.00149087608, 0, 0.303067595, 0)
- ESP.Size = UDim2.new(0, 133, 0, 37)
- ESP.Font = Enum.Font.SourceSans
- ESP.Text = "Extrasensory Perception (ESP)"
- ESP.TextColor3 = Color3.fromRGB(255, 255, 255)
- ESP.TextSize = 18.000
- ESP.TextWrapped = true
- ESP.MouseButton1Down:connect(function()
- -- -----------------------------------
- -- ___ _ _ _ --
- -- / __| ___| |_| |_(_)_ _ __ _ ___--
- -- \__ \/ -_) _| _| | ' \/ _` (_-<--
- -- |___/\___|\__|\__|_|_||_\__, /__/--
- -- |___/ --
- -- -----------------------------------
- -- -----------------------------------
- ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
- ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
- TRANSPARENCY = 0.5 --//Transparency of the ESP
- HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
- --
- --
- -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
- function createFlex()
- -- -----------------------------------------------------------------------------------
- --[VARIABLES] //Changing may result in Errors!
- players = game:GetService("Players") --//Required for PF
- faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
- currentPlayer = nil --//Used for the Team-Check
- lplayer = players.LocalPlayer --//The LocalPlayer
- -- -----------------------------------------------------------------------------------
- players.PlayerAdded:Connect(function(p)
- currentPlayer = p
- p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
- createESP(character)
- end)
- end)
- -- -----------------------------------------------------------------------------------
- function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end --//Check if the Part is suitable
- -- -----------------------------------------------------------------------------------
- function actualESP(obj)
- for i=0,5 do
- surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
- surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
- surface.AlwaysOnTop = true
- frame = Instance.new("Frame",surface) --//Creates the viewable Frame
- frame.Size = UDim2.new(1,0,1,0)
- frame.BorderSizePixel = 0
- frame.BackgroundTransparency = TRANSPARENCY
- if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
- frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
- else
- frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
- end
- end
- end
- -- -----------------------------------------------------------------------------------
- function createHealthbar(hrp)
- board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
- board.Name = "total"
- board.Size = UDim2.new(1,0,1,0)
- board.StudsOffset = Vector3.new(3,1,0)
- board.AlwaysOnTop = true
- bar = Instance.new("Frame",board) --//Creates the red background
- bar.BackgroundColor3 = Color3.new(255,0,0)
- bar.BorderSizePixel = 0
- bar.Size = UDim2.new(0.2,0,4,0)
- bar.Name = "total2"
- health = Instance.new("Frame",bar) --//Creates the changing green Frame
- health.BackgroundColor3 = Color3.new(0,255,0)
- health.BorderSizePixel = 0
- health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
- hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
- hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
- end)
- end
- -- -----------------------------------------------------------------------------------
- function createESP(c) --//Checks and calls the proper function
- bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
- for i,v in pairs(c:GetChildren()) do
- if checkPart(v) then
- actualESP(v)
- end
- end
- if HEALTHBAR_ACTIVATED then --//If the user decided to
- createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
- end
- end
- -- -----------------------------------------------------------------------------------
- for i,people in pairs(players:GetChildren())do
- if people ~= players.LocalPlayer then
- currentPlayer = people
- --//Used for Players already in the Game
- createESP(people.Character)
- people.CharacterAdded:Connect(function(character)
- createESP(character)
- end)
- end
- end
- -- -----------------------------------------------------------------------------------
- end --//End of the entire function
- createFlex() --// Does exactly that :)
- end)
- BuildTools.Name = "Build Tools"
- BuildTools.Parent = ScreenGui
- BuildTools.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- BuildTools.Position = UDim2.new(0.00149087608, 0, 0.222085863, 0)
- BuildTools.Size = UDim2.new(0, 133, 0, 31)
- BuildTools.Font = Enum.Font.SourceSans
- BuildTools.Text = "BTOOLS"
- BuildTools.TextColor3 = Color3.fromRGB(255, 0, 0)
- BuildTools.TextSize = 37.000
- NAMEOFBUTTONHERE.MouseButton1Down:connect(function()
- Instance.new("HopperBin", game.Players.LocalPlayer.Backpack).BinType = 2
- Instance.new("HopperBin", game.Players.LocalPlayer.Backpack).BinType = 3
- Instance.new("HopperBin", game.Players.LocalPlayer.Backpack).BinType = 4
- local plr = game:GetService("Players").LocalPlayer
- local mouse = plr:GetMouse()
- local tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = "Click Teleport"
- tool.Activated:Connect(function()
- local root = plr.Character.HumanoidRootPart
- local pos = mouse.Hit.Position+Vector3.new(0,2.5,0)
- local offset = pos-root.Position
- root.CFrame = root.CFrame+offset
- end)
- tool.Parent = plr.Backpack
- end)
- ScrollingFrame.Parent = ScreenGui
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame.Position = UDim2.new(0.00154887466, 0, 0.349693298, 0)
- ScrollingFrame.Size = UDim2.new(0, 132, 0, 179)
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 1, 0)
- Arsenal.Name = "Arsenal"
- Arsenal.Parent = ScrollingFrame
- Arsenal.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Arsenal.Position = UDim2.new(9.31322575e-10, 0, 0.0515337437, 0)
- Arsenal.Size = UDim2.new(0, 117, 0, 50)
- Arsenal.Font = Enum.Font.SourceSans
- Arsenal.Text = "Arsenal Script"
- Arsenal.TextColor3 = Color3.fromRGB(255, 0, 0)
- Arsenal.TextSize = 14.000
- Arsenal.MouseButton1Down:connect(function()
- loadstring(game:HttpGet(("https://raw.githubusercontent.com/NotZyrex/Zyrex-Hub/master/Main.lua"), true))();
- end)
- mmtwo.Name = "mmtwo"
- mmtwo.Parent = ScrollingFrame
- mmtwo.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- mmtwo.Position = UDim2.new(0.0152671766, 0, 0.238306746, 0)
- mmtwo.Size = UDim2.new(0, 117, 0, 50)
- mmtwo.Font = Enum.Font.SourceSans
- mmtwo.Text = "Murder Mystery 2"
- mmtwo.TextColor3 = Color3.fromRGB(255, 0, 0)
- mmtwo.TextSize = 25.000
- mmtwo.TextWrapped = true
- mmtwo.MouseButton1Down:connect(function()
- repeat wait() until game.Players.LocalPlayer.Character
- url = "https://raw.githubusercontent.com/xennyy/Xenny-Ware/main/loader.lua"
- loadstring(game:HttpGet(url))()
- end)
- babftauto.Name = "babftauto"
- babftauto.Parent = ScrollingFrame
- babftauto.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- babftauto.Position = UDim2.new(0.0152671766, 0, 0.175306752, 0)
- babftauto.Size = UDim2.new(0, 117, 0, 50)
- babftauto.Font = Enum.Font.SourceSans
- babftauto.Text = "Build A Boat For Treasure Autofarm"
- babftauto.TextColor3 = Color3.fromRGB(255, 255, 255)
- babftauto.TextSize = 17.000
- babftauto.TextWrapped = true
- babftauto.MouseButton1Down:connect(function()
- local TweenService = game:GetService('TweenService')
- spawn(function()
- local debounce = false
- game:GetService('RunService').RenderStepped:Connect(function()
- if debounce == true then
- return
- end
- debounce = true
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- char.HumanoidRootPart.CFrame = CFrame.new(-55.7047195, -9.92602158, -274.044922, -0.999055862, 2.2645871e-08, 0.0434471555, 2.07044444e-08, 1, -4.51347049e-08, -0.0434471555, -4.41925856e-08, -0.999055862) + Vector3.new(0, 50, 0)
- wait(1)
- TweenService:Create(char.HumanoidRootPart, TweenInfo.new(30), {CFrame = CFrame.new(-62.3435783, 37.1261864, 9309.92871, 0.966365039, -8.40041281e-09, 0.257176876, 2.07044444e-08, 1, -4.51347049e-08, -0.257176876, 4.89412777e-08, 0.966365039)}):Play()
- wait(29)
- TweenService:Create(char.HumanoidRootPart, TweenInfo.new(2), {CFrame = CFrame.new(-56.427002, -360.430267, 9483.74902, -0.999547422, 4.76316799e-08, 0.0300814454, 4.78301097e-08, 1, 5.87685989e-09, -0.0300814454, 7.31299954e-09, -0.999547422)}):Play()
- wait(20)
- debounce = false
- end)
- end)
- end)
- PetSimX.Name = "PetSimX"
- PetSimX.Parent = ScrollingFrame
- PetSimX.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- PetSimX.Position = UDim2.new(0.0152671766, 0, 0.113306746, 0)
- PetSimX.Size = UDim2.new(0, 117, 0, 50)
- PetSimX.Font = Enum.Font.SourceSans
- PetSimX.Text = "Pet Sim X"
- PetSimX.TextColor3 = Color3.fromRGB(255, 255, 255)
- PetSimX.TextSize = 14.000
- PetSimX.MouseButton1Down:connect(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/95HthyJq"))()
- end)
- BSS.Name = "BSS"
- BSS.Parent = ScrollingFrame
- BSS.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- BSS.Position = UDim2.new(0.0019552242, 0, 0.299386531, 0)
- BSS.Size = UDim2.new(0, 119, 0, 50)
- BSS.Font = Enum.Font.SourceSans
- BSS.Text = "Bee Swarm Simulator"
- BSS.TextColor3 = Color3.fromRGB(255, 255, 255)
- BSS.TextSize = 25.000
- BSS.TextWrapped = true
- BSS.MouseButton1Down:connect(function()
- (print) "jello world"
- end)
- ninja.Name = "ninja"
- ninja.Parent = ScrollingFrame
- ninja.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ninja.Position = UDim2.new(0.0019551944, 0, 0.360736221, 0)
- ninja.Size = UDim2.new(0, 119, 0, 50)
- ninja.Font = Enum.Font.SourceSans
- ninja.Text = "Ninja legends unlock all elements and items"
- ninja.TextColor3 = Color3.fromRGB(255, 255, 255)
- ninja.TextSize = 15.000
- ninja.TextWrapped = true
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix",true))()
- library.options.underlinecolor = "rainbow"
- -- Farming tab
- local Farming = library:CreateWindow("Farming")
- local Swing = Farming:Toggle("Auto-Swing", {flag = "Swing"}) -- Farming.flags.Swing
- local Sell = Farming:Toggle("Auto-Sell", {flag = "Sell"}) -- Farming.flags.Sell
- local BackpackFull = Farming:Toggle("Auto-Full Sell", {flag = "FullBackpack"}) --Farming.flags.FullBackpack
- local Boss = Farming:Toggle("Auto-Boss", {flag = "Boss"}) -- Farming.flags.Boss
- Farming:Section("--== Chi & Coins ==--")
- Farming:Dropdown("Collect", {
- location = _G,
- flag = "Collection",
- list = {"Chi", "Coins", "Both"}
- }, function(Yeet) print("Selected type:", Yeet) end)
- -- _G.Collection
- local Spawned = Farming:Toggle("Collect Spawned Things", {flag = "Spawn"}) -- Farming.flags.Spawn
- local Hoops = Farming:Toggle("Collect Hoops", {flag = "Hoop"}) -- _G.Collection
- -- Auto Buy Tab
- local AutoBuy = library:CreateWindow("Auto Buy")
- local Enabled = AutoBuy:Toggle("Auto-Purchase", {flag = "Purchase"}) -- AutoBuy.flags.Purchase
- local Sword = AutoBuy:Toggle("Auto-Sword", {flag = "Sword"}) -- AutoBuy.flags.Sword
- local Belt = AutoBuy:Toggle("Auto-Belt", {flag = "Belt"}) -- AutoBuy.flags.Belt
- local Rank = AutoBuy:Toggle("Auto-Rank", {flag = "Rank"}) -- AutoBuy.flags.Rank
- local Skill = AutoBuy:Toggle("Auto-Skills", {flag = "Skill"}) -- AutoBuy.flags.Skill
- local Shuriken = AutoBuy:Toggle("Auto-Shurikens", {flag = "Shurikens"}) --AutoBuy.flags.Shurikens
- _G.Enabled = AutoBuy.flags.Purchase
- _G.Sword = AutoBuy.flags.Sword
- _G.Belt = AutoBuy.flags.Belt
- _G.Rank = AutoBuy.flags.Rank
- _G.Skill = AutoBuy.flags.Skill
- -- Misc
- local Misc = library:CreateWindow("Misc")
- Misc:Section("--== Pets ==--")
- Misc:Dropdown("Eggs", {location = _G, flag = "Egg", list = {
- "Blue Crystal",
- "Purple Crystal",
- "Orange Crystal",
- "Enchanted Crystal",
- "Astral Crystal",
- "Golden Crystal",
- "Inferno Crystal",
- "Galaxy Crystal",
- "Frozen Crystal",
- "Eternal Crystal"
- }
- }, function(new) print("Selected Egg:", new) end)
- local Eggs = Misc:Toggle("Open Eggs", {flag = "TEgg"}) -- Misc.flags.TEgg
- local Basic = Misc:Toggle("Sell Basic", {flag = "SBasic"}) --Misc.flags.SBasic
- local Advanced = Misc:Toggle("Sell Advanced", {flag = "SAdvanced"}) --Misc.flags.SAdvanced
- local Rare = Misc:Toggle("Sell Rare", {flag = "SRare"}) --Misc.flags.SRare
- local Epic = Misc:Toggle("Sell Epic", {flag = "SEpic"}) --Misc.flags.SEpic
- local Unique = Misc:Toggle("Sell Unique", {flag = "SUnique"})
- local Evolve = Misc:Toggle("Auto-Evolve", {flag = "Evolve"}) -- Misc.flags.TEgg
- local Eternalise = Misc:Toggle("Auto-Eternalise", {flag = "Eternalise"}) -- Misc.flags.Eternalise
- Misc:Section("--== Other Stuff ==--")
- local PetGlitch = Misc:Button("Pet Glitch", function()
- _G.Glitch = true
- while _G.Glitch == true do
- wait(.03)
- for i,v in pairs(game.Workspace.spawnedCoins.Valley:GetChildren()) do
- if v.Name == "Blue Chi Crate" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
- wait(.16)
- end
- end
- end
- end)
- local PetGlitch2 = Misc:Button("Disable Pet Glitch", function()
- _G.Glitch = false
- end)
- local MaxJump = Misc:Button("Max Jump", function()
- while true do
- wait(.001)
- game.Players.LocalPlayer.multiJumpCount.Value = "50"
- end
- end)
- local UnlockIsland = Misc:Button("Unlock Islands", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Enchanted Island"].CFrame
- wait(.7)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Astral Island"].CFrame
- wait(.7)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Mystical Island"].CFrame
- wait(.7)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Space Island"].CFrame
- wait(.7)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Tundra Island"].CFrame
- wait(.7)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Eternal Island"].CFrame
- end)
- local StatEffects = Misc:Button("Toggle Stat Effects", function()
- game:GetService("Players").LocalPlayer.PlayerGui.statEffectsGui.Enabled = not game:GetService("Players").LocalPlayer.PlayerGui.statEffectsGui.Enabled
- game:GetService("Players").LocalPlayer.PlayerGui.hoopGui.Enabled = not game:GetService("Players").LocalPlayer.PlayerGui.hoopGui.Enabled
- end)
- Misc:Section("--== Settings ==--")
- Misc:Bind("Toggle Gui",
- {flag = "Toggle", kbonly = true, default = Enum.KeyCode.LeftControl},
- function()
- game:GetService("CoreGui").ScreenGui.Container.Visible = not game:GetService("CoreGui").ScreenGui.Container.Visible
- end)
- -- Teleports
- local Teleports = library:CreateWindow("Teleports")
- Teleports:Section("--== Utilitys ==--")
- local Shop = Teleports:Button("Shop", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").shopAreaCircle5.circleInner.CFrame
- end)
- local KOTH = Teleports:Button("King Of The Hill", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").kingOfTheHillPart.CFrame
- end)
- Teleports:Section("--== Worlds ==--")
- local EnchantedIsland = Teleports:Button("Enchanted Island", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Enchanted Island"].CFrame
- end)
- local AstralIsland = Teleports:Button("Astral Island", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Astral Island"].CFrame
- end)
- local MysticalIsland = Teleports:Button("Mystical Island", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Mystical Island"].CFrame
- end)
- local SpaceIsland = Teleports:Button("Space Island", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Space Island"].CFrame
- end)
- local TundraIsland = Teleports:Button("Tundra Island", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Tundra Island"].CFrame
- end)
- local EternalIsland = Teleports:Button("Eternal Island", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").islandUnlockParts["Eternal Island"].CFrame
- end)
- Teleports:Section("--== Chests ==--")
- local EternalChest = Teleports:Button("Eternal Chest", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.eternalChest.chestNamePart.CFrame
- end)
- local MythicalChest = Teleports:Button("Legends Chest", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.legendsChest.chestNamePart.CFrame
- end)
- local MythicalChest = Teleports:Button("Mythical Chest", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.mythicalChest.chestNamePart.CFrame
- end)
- local GoldenChest = Teleports:Button("Golden Chest", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.goldenChest.chestNamePart.CFrame
- end)
- local EnchantedChest = Teleports:Button("Enchanted Chest", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.enchantedChest.chestNamePart.CFrame
- end)
- local MagmaChest = Teleports:Button("Magma Chest", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.magmaChest.chestNamePart.CFrame
- end)
- local DailyRewards = Teleports:Button("Daily Rewards", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace["Daily Chest"].chestNamePart.CFrame
- end)
- local GroupRewards = Teleports:Button("Group Rewards", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.groupRewardsCircle.circleInner.CFrame
- end)
- local rs = game:GetService("RunService").RenderStepped
- spawn(function()
- while wait(1) do
- if Misc.flags.TEgg then
- -- This script was generated by Hydroxide
- local oh1 = "openCrystal"
- local oh2 = _G.Egg
- print("Purchased", _G.Egg)
- game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(oh1, oh2)
- end
- end
- end)
- spawn(function()
- while wait() do
- if Farming.flags.Swing then
- if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
- game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
- else
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
- wait()
- if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- end
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.1) do
- if Farming.flags.Sell then
- if Farming.flags.FullBackpack == false then
- if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
- game.workspace["sellAreaCircle"].circleInner.CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame
- end
- else
- local Values = string.split(game:GetService("Players").LocalPlayer.PlayerGui.gameGui.currencyFrame.strengthFrame.amountLabel.Text, "/")
- if Values[1] == Values[2] then
- if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
- game.workspace["sellAreaCircle"].circleInner.CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame
- end
- end
- end
- end
- end
- end)
- spawn(function()
- while rs:wait() do
- if Farming.flags.Boss then
- if game:GetService("Workspace").bossFolder:WaitForChild("RobotBoss"):WaitForChild("HumanoidRootPart") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.bossFolder.RobotBoss.HumanoidRootPart.CFrame
- else
- wait(1)
- end
- end
- end
- end)
- spawn(function()
- while wait(0.5) do
- if AutoBuy.flags.Purchase then
- if AutoBuy.flags.Sword then
- -- This script was generated by Hydroxide
- local oh1 = "buyAllSwords"
- local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island"}
- for i = 1,#oh2 do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.5) do
- if AutoBuy.flags.Purchase then
- if AutoBuy.flags.Belt then
- -- This script was generated by Hydroxide
- local oh1 = "buyAllBelts"
- local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island"}
- for i = 1,#oh2 do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.5) do
- if AutoBuy.flags.Purchase then
- if AutoBuy.flags.Skill then
- -- This script was generated by Hydroxide
- local oh1 = "buyAllSkills"
- local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island"}
- for i = 1,#oh2 do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.5) do
- if AutoBuy.flags.Purchase then
- if AutoBuy.flags.Rank then
- -- This script was generated by Hydroxide
- local oh1 = "buyRank"
- local oh2 = game:GetService("ReplicatedStorage").Ranks.Ground:GetChildren()
- for i = 1,#oh2 do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i].Name)
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.5) do
- if AutoBuy.flags.Purchase then
- if AutoBuy.flags.Shurikens then
- -- This script was generated by Hydroxide
- local oh1 = "buyAllShurikens"
- local oh2 = {"Ground", "Astral Island", "Space Island","Tundra Island", "Eternal Island"}
- for i = 1,#oh2 do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(oh1, oh2[i])
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.1) do
- if Farming.flags.Spawn then
- if _G.Collection == "Coins" then
- for i, v in pairs(game.Workspace.spawnedCoins.Valley:GetChildren()) do
- wait(0.1)
- if string.match(v.Name, "Coin") == "Coin" then
- if Farming.flags.Spawn then
- if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end
- end
- end
- if _G.Collection == "Chi" then
- for i, v in pairs(game.Workspace.spawnedCoins.Valley:GetChildren()) do
- wait(0.01)
- if string.match(v.Name, "Blue Chi Crate") == "Blue Chi Crate" then
- if Farming.flags.Spawn then
- if game.Players.LocalPlayer.Character:findFirstChild(
- "HumanoidRootPart") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end
- end
- end
- if _G.Collection == "Both" then
- for i, v in pairs(game.Workspace.spawnedCoins.Valley:GetChildren()) do
- wait(0.1)
- if Farming.flags.Spawn then
- if game.Players.LocalPlayer.Character:findFirstChild(
- "HumanoidRootPart") then
- game.Players.LocalPlayer.Character
- .HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.1) do
- if _G.Collection then
- if _G.Collection == "Coin" then
- local stuff = workspace.Hoops:getChildren()
- for i = 1, #stuff do
- if _G.Collection then
- if string.match(stuff[i].Name, "Coin") == "Coin" then
- for i = 1, 10 do
- if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
- stuff[i].touchPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(0.1)
- end
- end
- end
- end
- wait()
- end
- end
- if _G.Collection == "Chi" then
- local stuff = workspace.Hoops:getChildren()
- for i = 1, #stuff do
- if _G.Collection then
- if string.match(stuff[i].Name, "Chi") == "Chi" then
- for i = 1, 10 do
- if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
- stuff[i].touchPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(0.1)
- end
- end
- end
- end
- wait()
- end
- end
- if _G.Collection == "Both" then
- local stuff = workspace.Hoops:getChildren()
- for i = 1, #stuff do
- if _G.Collection then
- for i = 1, 10 do
- if game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") then
- stuff[i].touchPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(0.1)
- end
- end
- end
- wait()
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(3) do
- if Misc.flags.Evolve then
- for i,v in pairs(game:GetService("Players").LocalPlayer.petsFolder:GetChildren()) do
- for i,x in pairs(v:GetChildren()) do
- local oh1 = "evolvePet"
- local oh2 = x.Name
- game:GetService("ReplicatedStorage").rEvents.petEvolveEvent:FireServer(oh1, oh2)
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(3) do
- if Misc.flags.Eternalise then
- for i,v in pairs(game:GetService("Players").LocalPlayer.petsFolder:GetChildren()) do
- for i,x in pairs(v:GetChildren()) do
- -- This script was generated by Hydroxide
- local oh1 = "eternalizePet"
- local oh2 = v.Name
- game:GetService("ReplicatedStorage").rEvents.petEternalizeEvent:FireServer(oh1, oh2)
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(1) do
- if Misc.flags.SBasic then
- for i,v in pairs(game.Players.LocalPlayer.petsFolder.Basic:GetChildren()) do
- game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
- end
- end
- end
- end
- )
- spawn(function()
- while wait(1) do
- if Misc.flags.SAdvanced then
- for i,v in pairs(game.Players.LocalPlayer.petsFolder.Advanced:GetChildren()) do
- game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
- end
- end
- end
- end
- )
- spawn(function()
- while wait(1) do
- if Misc.flags.SRare then
- for i,v in pairs(game.Players.LocalPlayer.petsFolder.Rare:GetChildren()) do
- game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
- end
- end
- end
- end)
- spawn(function()
- while wait(1) do
- if Misc.flags.SEpic then
- for i,v in pairs(game.Players.LocalPlayer.petsFolder.Epic:GetChildren()) do
- game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
- end
- end
- end
- end)
- spawn(function()
- while wait(1) do
- if Misc.flags.SUnique then
- for i,v in pairs(game.Players.LocalPlayer.petsFolder.Unique:GetChildren()) do
- game.ReplicatedStorage.rEvents.sellPetEvent:FireServer("sellPet", v)
- end
- end
- end
- end)
- local vu = game:GetService("VirtualUser")
- game:GetService("Players").LocalPlayer.Idled:connect(
- function()
- vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
- wait(1)
- vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
- end)
- end)
- GBS.Name = "GBS"
- GBS.Parent = ScrollingFrame
- GBS.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- GBS.Position = UDim2.new(-0.00200000009, 0, 0, 0)
- GBS.Size = UDim2.new(0, 112, 0, 41)
- GBS.Font = Enum.Font.SourceSans
- GBS.Text = "Game Based Scripts"
- GBS.TextColor3 = Color3.fromRGB(255, 0, 0)
- GBS.TextSize = 18.000
- Jump.Name = "Jump"
- Jump.Parent = ScreenGui
- Jump.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Jump.Position = UDim2.new(-0.00133922999, 0, 0.569325149, 0)
- Jump.Size = UDim2.new(0, 137, 0, 68)
- Jump.Font = Enum.Font.SourceSans
- Jump.Text = "Infinity Jumps!"
- Jump.TextColor3 = Color3.fromRGB(0, 0, 0)
- Jump.TextSize = 26.000
- Jump.TextWrapped = true
- Jump.MouseButton1Down:connect(function()
- local InfiniteJumpEnabled = true
- game:GetService("UserInputService").JumpRequest:connect(function()
- if InfiniteJumpEnabled then
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end
- end)
- end)
Add Comment
Please, Sign In to add comment