Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local fried = Instance.new("ScreenGui")
- local Main = Instance.new("ImageLabel")
- local TextBox = Instance.new("TextBox")
- local TextLabel = Instance.new("TextLabel")
- local DragBar = Instance.new("Frame")
- local DragBar_2 = Instance.new("ImageLabel")
- local speedlabel = Instance.new("TextBox")
- local cleaner = Instance.new("Frame")
- --Properties:
- fried.Name = "fried"
- fried.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- fried.ResetOnSpawn = false
- Main.Name = "Main"
- Main.Parent = fried
- Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Main.BackgroundTransparency = 1.000
- Main.Position = UDim2.new(0.733453095, -428, 0.773290515, -173)
- Main.Size = UDim2.new(0, 241, 0, 121)
- Main.Image = "rbxassetid://3570695787"
- Main.ScaleType = Enum.ScaleType.Slice
- Main.SliceCenter = Rect.new(100, 100, 100, 100)
- Main.SliceScale = 0.060
- TextBox.Parent = Main
- TextBox.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.697095454, 0, 0.0409929715, 0)
- TextBox.Size = UDim2.new(0, 48, 0, 50)
- TextBox.Font = Enum.Font.GothamBold
- TextBox.Text = "E"
- TextBox.TextColor3 = Color3.fromRGB(52, 105, 157)
- TextBox.TextSize = 24.000
- TextLabel.Parent = Main
- TextLabel.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.0995850638, 0, 0.0409929715, 0)
- TextLabel.Size = UDim2.new(0, 144, 0, 50)
- TextLabel.Font = Enum.Font.GothamBold
- TextLabel.Text = "Click TP KeyBind:"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 16.000
- DragBar.Name = "DragBar"
- DragBar.Parent = Main
- DragBar.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
- DragBar.BorderSizePixel = 0
- DragBar.Position = UDim2.new(0, 0, 0.957891881, 0)
- DragBar.Size = UDim2.new(0, 241, 0, 14)
- DragBar.ZIndex = 2
- DragBar_2.Name = "DragBar"
- DragBar_2.Parent = DragBar
- DragBar_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DragBar_2.BackgroundTransparency = 1.000
- DragBar_2.Size = UDim2.new(0, 241, 0, 23)
- DragBar_2.ZIndex = 2
- DragBar_2.Image = "rbxassetid://3570695787"
- DragBar_2.ImageColor3 = Color3.fromRGB(222, 222, 222)
- DragBar_2.ScaleType = Enum.ScaleType.Slice
- DragBar_2.SliceCenter = Rect.new(100, 100, 100, 100)
- DragBar_2.SliceScale = 0.060
- speedlabel.Name = "speedlabel"
- speedlabel.Parent = Main
- speedlabel.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
- speedlabel.BorderSizePixel = 0
- speedlabel.Position = UDim2.new(0.199170113, 0, 0.495867789, 0)
- speedlabel.Size = UDim2.new(0, 145, 0, 49)
- speedlabel.Font = Enum.Font.GothamBold
- speedlabel.Text = "100"
- speedlabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- speedlabel.TextSize = 14.000
- cleaner.Name = "cleaner"
- cleaner.Parent = Main
- cleaner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- cleaner.BorderSizePixel = 0
- cleaner.Position = UDim2.new(0, 0, 0.800000012, 0)
- cleaner.Size = UDim2.new(0, 241, 0, 7)
- cleaner.Visible = false
- -- Scripts:
- local function QHTJMOV_fake_script() -- TextLabel.LocalScript
- local script = Instance.new('LocalScript', TextLabel)
- local TweenService = game:GetService("TweenService")
- local speedL = script.Parent.Parent.speedlabel
- local Speed = speedL.Text
- function slow_teleport(Pos)
- local x = Pos.X
- local y = Pos.Y
- local z = Pos.Z
- if math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-x) < 99 and math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y-y) < 99 and math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-z) < 99 then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
- return
- end
- local absx = math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-x)
- local absy = math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y-y)
- local absz = math.abs(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-z)
- local MoveTime = math.sqrt(absx*absx + absy*absy + absz*absz) / (Speed * 10)
- local HRP = game.Players.LocalPlayer.Character.HumanoidRootPart
- local LP = game.Players.LocalPlayer
- local TPbypass = {}
- TPbypass.CFrame = Pos
- local TPFunction = TweenService:Create(HRP, TweenInfo.new(MoveTime, Enum.EasingStyle.Linear, Enum.EasingDirection.In), TPbypass)
- TPFunction:Play()
- end
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local KeyBind = script.Parent.Parent.TextBox
- local chosenKey = "E"
- Mouse.KeyDown:connect(function(key)
- if key == chosenKey:lower() and Mouse.Target then
- slow_teleport(CFrame.new(Mouse.Hit.p+Vector3.new(0,5,0)))
- end
- end)
- KeyBind.Changed:connect(function(change)
- if change ~= "Text" or KeyBind.Text == "" then return end
- if tonumber(KeyBind.Text) then
- KeyBind.Text = string.upper(chosenKey)
- else
- KeyBind.Text = string.upper(KeyBind.Text)
- chosenKey = KeyBind.Text
- end
- end)
- speedL.Changed:Connect(function()
- local function NumericOnly(text)
- return text:gsub("%D+", "")
- end
- speedL.Text = NumericOnly(speedL.Text)
- Speed = speedL.Text
- end)
- end
- coroutine.wrap(QHTJMOV_fake_script)()
- local function LSPHZ_fake_script() -- Main.LocalScript
- local script = Instance.new('LocalScript', Main)
- local main = script.Parent
- local bruhrthisisepic = script.Parent.DragBar.DragBar
- local dragging
- local dragInput
- local dragStart
- local startPos
- local special
- local DragAuraActive = false
- local function update(input)
- local delta = input.Position - dragStart
- main:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y),'Out','Linear',0.08,true)
- end
- bruhrthisisepic.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = main.Position
- repeat wait() until input.UserInputState == Enum.UserInputState.End
- dragging = false
- end
- end)
- bruhrthisisepic.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.wrap(LSPHZ_fake_script)()
Add Comment
Please, Sign In to add comment