Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Noti = loadstring(game:HttpGet("https://raw.githubusercontent.com/Jxereas/UI-Libraries/main/notification_gui_library.lua", true))()
- Noti.new("success", "Welcome To Celvyn!", "Thank you for using our script.", true, 5)
- local A = game:GetService("RunService")
- local B = game:GetService("UserInputService")
- local C = game.Players.LocalPlayer
- local D = false
- local E = 1
- local F = Instance.new("ScreenGui")
- F.Parent = C.PlayerGui
- local G = Instance.new("Frame")
- G.Size = UDim2.new(0, 250, 0, 170)
- G.Position = UDim2.new(0, 50, 0, 50)
- G.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- G.BackgroundTransparency = 0.1
- G.BorderSizePixel = 0
- G.Visible = true
- G.Parent = F
- local H = Instance.new("UICorner")
- H.CornerRadius = UDim.new(0, 10)
- H.Parent = G
- local I = Instance.new("TextButton")
- I.Size = UDim2.new(0, 200, 0, 50)
- I.Position = UDim2.new(0, 25, 0, 80)
- I.Text = "Enable Tpwalk"
- I.Font = Enum.Font.SourceSans
- I.TextSize = 24
- I.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- I.TextColor3 = Color3.fromRGB(255, 255, 255)
- I.Parent = G
- local J = Instance.new("UICorner")
- J.CornerRadius = UDim.new(0, 10)
- J.Parent = I
- local K = Instance.new("TextBox")
- K.Size = UDim2.new(0, 200, 0, 50)
- K.Position = UDim2.new(0, 25, 0, 15)
- K.PlaceholderText = "Speed"
- K.Text = ""
- K.Font = Enum.Font.SourceSans
- K.TextSize = 24
- K.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- K.TextColor3 = Color3.fromRGB(0, 0, 0)
- K.Parent = G
- local L = Instance.new("UICorner")
- L.CornerRadius = UDim.new(0, 10)
- L.Parent = K
- local M = Instance.new("TextButton")
- M.Size = UDim2.new(0, 25, 0, 25)
- M.Position = UDim2.new(1, -25, 0, 5)
- M.Text = "X"
- M.Font = Enum.Font.SourceSans
- M.TextSize = 24
- M.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- M.TextColor3 = Color3.fromRGB(255, 255, 255)
- M.Parent = G
- local N = Instance.new("UICorner")
- N.CornerRadius = UDim.new(0,6)
- N.Parent = M
- local O = Instance.new("ImageButton")
- O.Size = UDim2.new(0, 50, 0, 50)
- O.Position = UDim2.new(0, 10, 0, 10)
- O.Image = "rbxassetid://119663846201777"
- O.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- O.Parent = F
- local P = Instance.new("UICorner")
- P.CornerRadius = UDim.new(0, 25)
- P.Parent = O
- local Q = Instance.new("TextLabel")
- Q.Size = UDim2.new(1, 0, 0, 30)
- Q.Position = UDim2.new(0, 0, 1, -30)
- Q.Text = "Made by: Celvyn Hub"
- Q.Font = Enum.Font.SourceSansBold
- Q.TextSize = 18
- Q.BackgroundTransparency = 1
- Q.TextStrokeTransparency = 0
- Q.TextColor3 = Color3.fromRGB(255, 255, 255)
- Q.Parent = G
- local R = coroutine.create(function()
- while true do
- for S = 0, 1, 0.01 do
- Q.TextColor3 = Color3.fromHSV(S, 1, 1)
- wait(0.01)
- end
- end
- end)
- coroutine.resume(R)
- O.MouseButton1Click:Connect(function()
- G.Visible = true
- O.Visible = false
- end)
- M.MouseButton1Click:Connect(function()
- G.Visible = false
- O.Visible = true
- end)
- I.MouseButton1Click:Connect(function()
- D = not D
- I.Text = D and "Disable Tpwalk" or "Enable Tpwalk"
- end)
- K.FocusLost:Connect(function(S)
- if S then
- local T = tonumber(K.Text)
- if T then
- E = T
- else
- E = 1
- K.Text = ""
- K.PlaceholderText = "Invalid input, defaulted to 1"
- end
- end
- end)
- local function U()
- local V = C.Character
- local W = V and V:FindFirstChildWhichIsA("Humanoid")
- A.Heartbeat:Connect(function(X)
- if D and V and W and W.Parent then
- local Y = W.MoveDirection
- if Y.Magnitude > 0 then
- V:SetPrimaryPartCFrame(V.PrimaryPart.CFrame + Y * X * E * 10)
- end
- end
- end)
- end
- U()
- local function Z(a)
- local b = false
- local c, d, e
- local function f(g)
- local h = g.Position - d
- a.Position = UDim2.new(e.X.Scale, e.X.Offset + h.X, e.Y.Scale, e.Y.Offset + h.Y)
- end
- a.InputBegan:Connect(function(g)
- if g.UserInputType == Enum.UserInputType.MouseButton1 or g.UserInputType == Enum.UserInputType.Touch then
- b = true
- d = g.Position
- e = a.Position
- g.Changed:Connect(function()
- if g.UserInputState == Enum.UserInputState.End then
- b = false
- end
- end)
- end
- end)
- a.InputChanged:Connect(function(g)
- if g.UserInputType == Enum.UserInputType.MouseMovement or g.UserInputType == Enum.UserInputType.Touch then
- c = g
- end
- end)
- B.InputChanged:Connect(function(g)
- if g == c and b then
- f(g)
- end
- end)
- end
- Z(G)
- Z(O)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement