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 Main = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local UICorner = Instance.new("UICorner")
- local InfStrength = Instance.new("TextButton")
- local Killtarget = Instance.new("TextButton")
- local Flyx = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.fromRGB(125, 125, 125)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.394032925, 0, 0.173913047, 0)
- Main.Size = UDim2.new(0, 409, 0, 286)
- TextBox.Parent = Main
- TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.144254282, 0, 0.776223719, 0)
- TextBox.Size = UDim2.new(0, 291, 0, 50)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.PlaceholderText = "TARGET"
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.TextSize = 14.000
- TextBox.FocusLost:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if (string.sub(string.lower(v.Name),1,string.len(TextBox.Text))) == string.lower(TextBox.Text) then
- TextBox.Text = v.Name
- end
- end
- end)
- function findPlayer(name)
- name = name:lower()
- if name == 'me' then
- return game:GetService'Players'.LocalPlayer
- end
- for i,v in pairs(game:GetService'Players':GetPlayers()) do
- if v.Name:lower():find(name) == 1 then
- return v
- end
- end
- end
- -- // Functions
- function findPlayer(name)
- name = name:lower()
- if name == 'me' then
- return game:GetService'Players'.LocalPlayer
- end
- for i,v in pairs(game:GetService'Players':GetPlayers()) do
- if v.Name:lower():find(name) == 1 then
- return v
- end
- end
- end
- UICorner.Parent = Main
- InfStrength.Name = "Inf Strength"
- InfStrength.Parent = Main
- InfStrength.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- InfStrength.BorderSizePixel = 0
- InfStrength.Position = UDim2.new(0.0709046423, 0, 0.0874125883, 0)
- InfStrength.Size = UDim2.new(0, 162, 0, 50)
- InfStrength.Font = Enum.Font.SourceSans
- InfStrength.Text = "Inf Strength"
- InfStrength.TextColor3 = Color3.fromRGB(0, 0, 0)
- InfStrength.TextSize = 14.000
- InfStrength.MouseButton1Down:connect(function()
- local runservice = game:GetService("RunService")
- runservice.Stepped:Connect(function()
- --made by bart#2626 nigger
- local args = {
- [1] = game:GetService("Players").LocalPlayer.Character.Weight.Handle,
- [2] = 10
- }
- game:GetService("ReplicatedStorage").addStrength:FireServer(unpack(args))
- end)
- local me = game:service'Players'.LocalPlayer
- me.Character.Humanoid:EquipTool(me.Backpack:FindFirstChild("Weight"))
- end)
- Flyx.Name = "Fly (x)"
- Flyx.Parent = Main
- Flyx.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Flyx.BorderSizePixel = 0
- Flyx.Position = UDim2.new(0.0709046423, 0, 0.318181813, 0)
- Flyx.Size = UDim2.new(0, 162, 0, 50)
- Flyx.Font = Enum.Font.SourceSans
- Flyx.Text = "Fly(x)"
- Flyx.TextColor3 = Color3.fromRGB(0, 0, 0)
- Flyx.TextSize = 14.000
- Flyx.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)
- Killtarget.Name = "Kill target"
- Killtarget.Parent = Main
- Killtarget.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Killtarget.BorderSizePixel = 0
- Killtarget.Position = UDim2.new(0.511002421, 0, 0.0874125883, 0)
- Killtarget.Size = UDim2.new(0, 162, 0, 50)
- Killtarget.Font = Enum.Font.SourceSans
- Killtarget.Text = "Kill Target"
- Killtarget.TextColor3 = Color3.fromRGB(0, 0, 0)
- Killtarget.TextSize = 14.000
- Killtarget.MouseButton1Down:connect(function()
- local me = game:service'Players'.LocalPlayer
- me.Character.Humanoid:EquipTool(me.Backpack:FindFirstChild("Combat"))
- -- kill
- local TargetPlr = TextBox.Text;
- local args = {
- [1] = game:GetService("Players")[TargetPlr].Character.Humanoid,
- [2] = 5743,
- [3] = game:GetService("Players")[TargetPlr].Character.UpperTorso
- }
- game:GetService("Players").LocalPlayer.Character.Combat.combatClientScript.punched:InvokeServer(unpack(args))
- end)
- local function WEGU_fake_script()
- local script = Instance.new('LocalScript', Main)
- local Main = script.Parent
- local mouse = game:GetService('Players').LocalPlayer:GetMouse();
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == 'v' then
- Main.Visible = not Main.Visible
- end
- end)
- end
- coroutine.wrap(WEGU_fake_script)()
- local function KABQ_fake_script() -- Main.LocalScript
- local script = Instance.new('LocalScript', Main)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), 'In', 'Linear', 0.2, true); -- drag speed
- 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
- coroutine.wrap(KABQ_fake_script)()
Add Comment
Please, Sign In to add comment