Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local dahgui = Instance.new("ScreenGui")
- local OpenMain = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local BeautyA = Instance.new("Frame")
- local tutorial = Instance.new("TextLabel")
- local BeautyB = Instance.new("Frame")
- local Credits = Instance.new("TextLabel")
- local fly = Instance.new("TextButton")
- local ij = Instance.new("TextButton")
- local iy = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local mkb = Instance.new("TextButton")
- local mbb = Instance.new("TextButton")
- local noclip = Instance.new("TextButton")
- local esp = Instance.new("TextButton")
- local qtp = Instance.new("TextButton")
- --Properties:
- dahgui.Name = "dahgui"
- dahgui.Parent = game.CoreGui
- dahgui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- OpenMain.Name = "OpenMain"
- OpenMain.Parent = dahgui
- OpenMain.Active = true
- OpenMain.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
- OpenMain.BorderSizePixel = 0
- OpenMain.Position = UDim2.new(-0.00127063831, 0, 0.730283916, 0)
- OpenMain.Size = UDim2.new(0, 97, 0, 32)
- Open.Name = "Open"
- Open.Parent = OpenMain
- Open.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0.0618559048, 0, 0.09375, 0)
- Open.Size = UDim2.new(0, 84, 0, 25)
- Open.Font = Enum.Font.Cartoon
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(255, 255, 255)
- Open.TextSize = 30.000
- Open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenMain.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = dahgui
- Main.Active = true
- Main.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.185514614, 0, 0.242902219, 0)
- Main.Size = UDim2.new(0, 495, 0, 326)
- Main.Visible = false
- Main.Draggable = true
- BeautyA.Name = "BeautyA"
- BeautyA.Parent = Main
- BeautyA.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- BeautyA.BorderColor3 = Color3.fromRGB(16, 16, 16)
- BeautyA.BorderSizePixel = 0
- BeautyA.Size = UDim2.new(0, 495, 0, 37)
- tutorial.Name = "tutorial"
- tutorial.Parent = BeautyA
- tutorial.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- tutorial.BackgroundTransparency = 1.000
- tutorial.BorderSizePixel = 0
- tutorial.Size = UDim2.new(0, 495, 0, 37)
- tutorial.Font = Enum.Font.SciFi
- tutorial.Text = "Buttons:for Fly - X.for Noclip - V"
- tutorial.TextColor3 = Color3.fromRGB(0, 0, 0)
- tutorial.TextSize = 20.000
- BeautyB.Name = "BeautyB"
- BeautyB.Parent = Main
- BeautyB.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- BeautyB.BorderColor3 = Color3.fromRGB(16, 16, 16)
- BeautyB.BorderSizePixel = 0
- BeautyB.Position = UDim2.new(0, 0, 0.8865031, 0)
- BeautyB.Size = UDim2.new(0, 495, 0, 37)
- Credits.Name = "Credits"
- Credits.Parent = BeautyB
- Credits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Credits.BackgroundTransparency = 1.000
- Credits.BorderSizePixel = 0
- Credits.Size = UDim2.new(0, 495, 0, 37)
- Credits.Font = Enum.Font.SciFi
- Credits.Text = "Created by corehemid & la3.SK1#7505"
- Credits.TextColor3 = Color3.fromRGB(0, 0, 0)
- Credits.TextSize = 20.000
- fly.Name = "fly"
- fly.Parent = Main
- fly.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- fly.BorderSizePixel = 0
- fly.Position = UDim2.new(0.0606060587, 0, 0.171779141, 0)
- fly.Size = UDim2.new(0, 117, 0, 40)
- fly.Font = Enum.Font.Cartoon
- fly.Text = "Fly"
- fly.TextColor3 = Color3.fromRGB(0, 0, 0)
- fly.TextSize = 20.000
- fly.MouseButton1Down:connect(function()
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- localplayer = plr
- if workspace:FindFirstChild("Core") then
- workspace.Core:Destroy()
- end
- local Core = Instance.new("Part")
- Core.Name = "Core"
- Core.Size = Vector3.new(0.05, 0.05, 0.05)
- spawn(function()
- Core.Parent = workspace
- local Weld = Instance.new("Weld", Core)
- Weld.Part0 = Core
- Weld.Part1 = localplayer.Character.LowerTorso
- Weld.C0 = CFrame.new(0, 0, 0)
- end)
- workspace:WaitForChild("Core")
- local torso = workspace.Core
- flying = true
- local speed=10
- local keys={a=false,d=false,w=false,s=false}
- local e1
- local e2
- local function start()
- local pos = Instance.new("BodyPosition",torso)
- local gyro = Instance.new("BodyGyro",torso)
- pos.Name="EPIXPOS"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = torso.Position
- gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- gyro.cframe = torso.CFrame
- repeat
- wait()
- localplayer.Character.Humanoid.PlatformStand=true
- local new=gyro.cframe - gyro.cframe.p + pos.position
- if not keys.w and not keys.s and not keys.a and not keys.d then
- speed=5
- end
- if keys.w then
- new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0
- end
- if keys.s then
- new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0
- end
- if keys.d then
- new = new * CFrame.new(speed,0,0)
- speed=speed+0
- end
- if keys.a then
- new = new * CFrame.new(-speed,0,0)
- speed=speed+0
- end
- if speed>10 then
- speed=5
- end
- pos.position=new.p
- if keys.w then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*0),0,0)
- elseif keys.s then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*0),0,0)
- else
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame
- end
- until flying == false
- if gyro then gyro:Destroy() end
- if pos then pos:Destroy() end
- flying=false
- localplayer.Character.Humanoid.PlatformStand=false
- speed=10
- end
- e1=mouse.KeyDown:connect(function(key)
- if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
- if key=="w" then
- keys.w=true
- elseif key=="s" then
- keys.s=true
- elseif key=="a" then
- keys.a=true
- elseif key=="d" then
- keys.d=true
- elseif key=="x" then
- if flying==true then
- flying=false
- else
- flying=true
- start()
- end
- end
- end)
- e2=mouse.KeyUp:connect(function(key)
- if key=="w" then
- keys.w=false
- elseif key=="s" then
- keys.s=false
- elseif key=="a" then
- keys.a=false
- elseif key=="d" then
- keys.d=false
- end
- end)
- start()
- end)
- ij.Name = "i.j"
- ij.Parent = Main
- ij.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- ij.BorderSizePixel = 0
- ij.Position = UDim2.new(0.703030348, 0, 0.171779141, 0)
- ij.Size = UDim2.new(0, 117, 0, 40)
- ij.Font = Enum.Font.Cartoon
- ij.Text = "Infinite Jump"
- ij.TextColor3 = Color3.fromRGB(0, 0, 0)
- ij.TextSize = 20.000
- ij.MouseButton1Down:connect(function()
- InfiniteJumpEnabled = true
- game:GetService("UserInputService").JumpRequest:connect(function()
- if InfiniteJumpEnabled then
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end
- end)
- end)
- ij.Name = "i.j"
- ij.Parent = Main
- ij.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- ij.BorderSizePixel = 0
- ij.Position = UDim2.new(0.703030348, 0, 0.171779141, 0)
- ij.Size = UDim2.new(0, 117, 0, 40)
- ij.Font = Enum.Font.Cartoon
- ij.Text = "Infinite Jump"
- ij.TextColor3 = Color3.fromRGB(0, 0, 0)
- ij.TextSize = 20.000
- ij.MouseButton1Down:connect(function()
- InfiniteJumpEnabled = true
- game:GetService("UserInputService").JumpRequest:connect(function()
- if InfiniteJumpEnabled then
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- end
- end)
- end)
- iy.Name = "i.y"
- iy.Parent = Main
- iy.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- iy.BorderSizePixel = 0
- iy.Position = UDim2.new(0.0606060624, 0, 0.361963183, 0)
- iy.Size = UDim2.new(0, 117, 0, 40)
- iy.Font = Enum.Font.Cartoon
- iy.Text = "Infinite Yield"
- iy.TextColor3 = Color3.fromRGB(0, 0, 0)
- iy.TextSize = 20.000
- iy.MouseButton1Down:connect(function()
- loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
- end)
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0.872727275, 0, 0, 0)
- Close.Size = UDim2.new(0, 63, 0, 37)
- Close.Font = Enum.Font.Cartoon
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(0, 0, 0)
- Close.TextSize = 30.000
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- OpenMain.Visible = true
- Main.Visible = false
- end)
- mkb.Name = "mkb"
- mkb.Parent = Main
- mkb.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- mkb.BorderSizePixel = 0
- mkb.Position = UDim2.new(0.703030288, 0, 0.361963212, 0)
- mkb.Size = UDim2.new(0, 117, 0, 40)
- mkb.Font = Enum.Font.Cartoon
- mkb.Text = "Make knife big"
- mkb.TextColor3 = Color3.fromRGB(0, 0, 0)
- mkb.TextSize = 18.000
- mkb.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Backpack["[Knife]"].Handle.Size = Vector3.new(50, 50, 50)
- end)
- mbb.Name = "mbb"
- mbb.Parent = Main
- mbb.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- mbb.BorderSizePixel = 0
- mbb.Position = UDim2.new(0.703030288, 0, 0.549079716, 0)
- mbb.Size = UDim2.new(0, 117, 0, 40)
- mbb.Font = Enum.Font.Cartoon
- mbb.Text = "Make bat big"
- mbb.TextColor3 = Color3.fromRGB(0, 0, 0)
- mbb.TextSize = 18.000
- mbb.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Backpack["[Bat]"].Handle.Size = Vector3.new(50, 50, 50)
- end)
- noclip.Name = "noclip"
- noclip.Parent = Main
- noclip.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- noclip.BorderSizePixel = 0
- noclip.Position = UDim2.new(0.0606060624, 0, 0.549079776, 0)
- noclip.Size = UDim2.new(0, 117, 0, 40)
- noclip.Font = Enum.Font.Cartoon
- noclip.Text = "Noclip (V)"
- noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
- noclip.TextSize = 20.000
- noclip.MouseButton1Down:connect(function()
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "v" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- print('Loaded')
- print('Press "V" to noclip')
- end)
- esp.Name = "esp"
- esp.Parent = Main
- esp.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- esp.BorderSizePixel = 0
- esp.Position = UDim2.new(0.0606060624, 0, 0.733128786, 0)
- esp.Size = UDim2.new(0, 117, 0, 40)
- esp.Font = Enum.Font.Cartoon
- esp.Text = "ESP"
- esp.TextColor3 = Color3.fromRGB(0, 0, 0)
- esp.TextSize = 20.000
- 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)
- qtp.Name = "qtp"
- qtp.Parent = Main
- qtp.BackgroundColor3 = Color3.fromRGB(170, 255, 127)
- qtp.BorderSizePixel = 0
- qtp.Position = UDim2.new(0.703030288, 0, 0.733128846, 0)
- qtp.Size = UDim2.new(0, 117, 0, 40)
- qtp.Font = Enum.Font.Cartoon
- qtp.Text = "Q for TP"
- qtp.TextColor3 = Color3.fromRGB(0, 0, 0)
- qtp.TextSize = 20.000
- qtp.MouseButton1Down:connect(function()
- plr = game.Players.LocalPlayer
- hum = plr.Character.HumanoidRootPart
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if mouse.Target then
- hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement