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 SG = Instance.new("ScreenGui")
- local Frm = Instance.new("Frame")
- local TB = Instance.new("Frame")
- local TT = Instance.new("TextLabel")
- local CB = Instance.new("TextButton")
- local TglBtn = Instance.new("TextButton")
- local OB = Instance.new("ImageButton")
- local FT = Instance.new("TextLabel")
- SG.Parent = game.CoreGui
- SG.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- SG.ResetOnSpawn = false
- Frm.Parent = SG
- Frm.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Frm.BorderSizePixel = 0
- Frm.Position = UDim2.new(0.5, -70, 0.3, 0)
- Frm.Size = UDim2.new(0, 140, 0, 100)
- Frm.Visible = false
- Frm.Active = true
- Frm.Draggable = true
- local UIC = Instance.new("UICorner")
- UIC.CornerRadius = UDim.new(0, 6)
- UIC.Parent = Frm
- TB.Parent = Frm
- TB.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
- TB.BorderSizePixel = 0
- TB.Size = UDim2.new(1, 0, 0, 25)
- local TBCorner = Instance.new("UICorner")
- TBCorner.CornerRadius = UDim.new(0, 6)
- TBCorner.Parent = TB
- TT.Parent = TB
- TT.BackgroundTransparency = 1.0
- TT.Position = UDim2.new(0, 8, 0, 0)
- TT.Size = UDim2.new(0, 90, 1, 0)
- TT.Font = Enum.Font.SourceSansBold
- TT.Text = "Touch F1ing"
- TT.TextColor3 = Color3.fromRGB(255, 255, 255)
- TT.TextSize = 18
- TT.TextXAlignment = Enum.TextXAlignment.Left
- CB.Parent = TB
- CB.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
- CB.BorderSizePixel = 0
- CB.Position = UDim2.new(1, -25, 0, 0)
- CB.Size = UDim2.new(0, 25, 1, 0)
- CB.Font = Enum.Font.SourceSansBold
- CB.Text = "X"
- CB.TextColor3 = Color3.fromRGB(255, 255, 255)
- CB.TextSize = 18
- local CBCorner = Instance.new("UICorner")
- CBCorner.CornerRadius = UDim.new(0, 6)
- CBCorner.Parent = CB
- TglBtn.Parent = Frm
- TglBtn.BackgroundColor3 = Color3.fromRGB(244, 67, 54)
- TglBtn.BorderSizePixel = 0
- TglBtn.Position = UDim2.new(0.1, 0, 0.3, 0)
- TglBtn.Size = UDim2.new(0.8, 0, 0, 36)
- TglBtn.Font = Enum.Font.SourceSansSemibold
- TglBtn.Text = "OFF"
- TglBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
- TglBtn.TextSize = 16
- local TglCorner = Instance.new("UICorner")
- TglCorner.CornerRadius = UDim.new(0, 4)
- TglCorner.Parent = TglBtn
- OB.Parent = SG
- OB.Size = UDim2.new(0, 50, 0, 50)
- OB.Position = UDim2.new(0, 10, 0, 10)
- OB.Image = "rbxassetid://119663846201777"
- OB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- OB.Visible = true
- local OBCorner = Instance.new("UICorner")
- OBCorner.CornerRadius = UDim.new(0, 25)
- OBCorner.Parent = OB
- FT.Parent = Frm
- FT.Size = UDim2.new(1, 0, 0, 20)
- FT.Position = UDim2.new(0, 0, 0.8, 0)
- FT.Text = "Made by: Celvyn Hub"
- FT.Font = Enum.Font.SourceSansBold
- FT.TextSize = 14
- FT.BackgroundTransparency = 1
- FT.TextStrokeTransparency = 0
- FT.TextColor3 = Color3.fromRGB(255, 255, 255)
- local function rbw()
- while true do
- for i = 0, 1, 0.01 do
- FT.TextColor3 = Color3.fromHSV(i, 1, 1)
- wait(0.01)
- end
- end
- end
- coroutine.wrap(rbw)()
- CB.MouseButton1Click:Connect(function()
- Frm.Visible = false
- OB.Visible = true
- end)
- OB.MouseButton1Click:Connect(function()
- Frm.Visible = true
- OB.Visible = false
- end)
- local UIS = game:GetService("UserInputService")
- local dragging, dragInput, dragStart, startPos = false, nil, nil, nil
- OB.InputBegan:Connect(function(inp)
- if inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = inp.Position
- startPos = OB.Position
- inp.Changed:Connect(function()
- if inp.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- OB.InputChanged:Connect(function(inp)
- if inp.UserInputType == Enum.UserInputType.MouseMovement or inp.UserInputType == Enum.UserInputType.Touch then
- dragInput = inp
- end
- end)
- UIS.InputChanged:Connect(function(inp)
- if inp == dragInput and dragging then
- local delta = inp.Position - dragStart
- OB.Position = UDim2.new(
- startPos.X.Scale,
- startPos.X.Offset + delta.X,
- startPos.Y.Scale,
- startPos.Y.Offset + delta.Y
- )
- end
- end)
- local function tglF()
- local plr = game:GetService("Players").LocalPlayer
- local rS, RS = game:GetService("RunService"), false
- local function fling()
- local hrt, vel, mov = nil, nil, 0.1
- while RS do
- rS.Heartbeat:Wait()
- hrt = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
- if hrt then
- vel = hrt.Velocity
- hrt.Velocity = vel * 1000000000000000 + Vector3.new(0, 1000000000000000, 0)
- rS.RenderStepped:Wait()
- hrt.Velocity = vel
- rS.Stepped:Wait()
- hrt.Velocity = vel + Vector3.new(0, mov, 0)
- mov = -mov
- end
- end
- end
- TglBtn.MouseButton1Click:Connect(function()
- RS = not RS
- TglBtn.Text = RS and "ON" or "OFF"
- TglBtn.BackgroundColor3 = RS and Color3.fromRGB(76, 175, 80) or Color3.fromRGB(244, 67, 54)
- if RS then coroutine.wrap(fling)() end
- end)
- end
- coroutine.wrap(tglF)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement