Advertisement
Zynee

touch f1ing

Jan 28th, 2025
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.33 KB | None | 0 0
  1. local Noti = loadstring(game:HttpGet("https://raw.githubusercontent.com/Jxereas/UI-Libraries/main/notification_gui_library.lua", true))()
  2. Noti.new("success", "Welcome To Celvyn!", "Thank you for using our script.", true, 5)
  3.  
  4.  
  5. local SG = Instance.new("ScreenGui")
  6. local Frm = Instance.new("Frame")
  7. local TB = Instance.new("Frame")
  8. local TT = Instance.new("TextLabel")
  9. local CB = Instance.new("TextButton")
  10. local TglBtn = Instance.new("TextButton")
  11. local OB = Instance.new("ImageButton")
  12. local FT = Instance.new("TextLabel")
  13.  
  14. SG.Parent = game.CoreGui
  15. SG.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16. SG.ResetOnSpawn = false
  17.  
  18. Frm.Parent = SG
  19. Frm.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
  20. Frm.BorderSizePixel = 0
  21. Frm.Position = UDim2.new(0.5, -70, 0.3, 0)
  22. Frm.Size = UDim2.new(0, 140, 0, 100)
  23. Frm.Visible = false
  24. Frm.Active = true
  25. Frm.Draggable = true
  26.  
  27. local UIC = Instance.new("UICorner")
  28. UIC.CornerRadius = UDim.new(0, 6)
  29. UIC.Parent = Frm
  30.  
  31. TB.Parent = Frm
  32. TB.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  33. TB.BorderSizePixel = 0
  34. TB.Size = UDim2.new(1, 0, 0, 25)
  35.  
  36. local TBCorner = Instance.new("UICorner")
  37. TBCorner.CornerRadius = UDim.new(0, 6)
  38. TBCorner.Parent = TB
  39.  
  40. TT.Parent = TB
  41. TT.BackgroundTransparency = 1.0
  42. TT.Position = UDim2.new(0, 8, 0, 0)
  43. TT.Size = UDim2.new(0, 90, 1, 0)
  44. TT.Font = Enum.Font.SourceSansBold
  45. TT.Text = "Touch F1ing"
  46. TT.TextColor3 = Color3.fromRGB(255, 255, 255)
  47. TT.TextSize = 18
  48. TT.TextXAlignment = Enum.TextXAlignment.Left
  49.  
  50. CB.Parent = TB
  51. CB.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  52. CB.BorderSizePixel = 0
  53. CB.Position = UDim2.new(1, -25, 0, 0)
  54. CB.Size = UDim2.new(0, 25, 1, 0)
  55. CB.Font = Enum.Font.SourceSansBold
  56. CB.Text = "X"
  57. CB.TextColor3 = Color3.fromRGB(255, 255, 255)
  58. CB.TextSize = 18
  59.  
  60. local CBCorner = Instance.new("UICorner")
  61. CBCorner.CornerRadius = UDim.new(0, 6)
  62. CBCorner.Parent = CB
  63.  
  64. TglBtn.Parent = Frm
  65. TglBtn.BackgroundColor3 = Color3.fromRGB(244, 67, 54)
  66. TglBtn.BorderSizePixel = 0
  67. TglBtn.Position = UDim2.new(0.1, 0, 0.3, 0)
  68. TglBtn.Size = UDim2.new(0.8, 0, 0, 36)
  69. TglBtn.Font = Enum.Font.SourceSansSemibold
  70. TglBtn.Text = "OFF"
  71. TglBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  72. TglBtn.TextSize = 16
  73.  
  74. local TglCorner = Instance.new("UICorner")
  75. TglCorner.CornerRadius = UDim.new(0, 4)
  76. TglCorner.Parent = TglBtn
  77.  
  78. OB.Parent = SG
  79. OB.Size = UDim2.new(0, 50, 0, 50)
  80. OB.Position = UDim2.new(0, 10, 0, 10)
  81. OB.Image = "rbxassetid://119663846201777"
  82. OB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  83. OB.Visible = true
  84.  
  85. local OBCorner = Instance.new("UICorner")
  86. OBCorner.CornerRadius = UDim.new(0, 25)
  87. OBCorner.Parent = OB
  88.  
  89. FT.Parent = Frm
  90. FT.Size = UDim2.new(1, 0, 0, 20)
  91. FT.Position = UDim2.new(0, 0, 0.8, 0)
  92. FT.Text = "Made by: Celvyn Hub"
  93. FT.Font = Enum.Font.SourceSansBold
  94. FT.TextSize = 14
  95. FT.BackgroundTransparency = 1
  96. FT.TextStrokeTransparency = 0
  97. FT.TextColor3 = Color3.fromRGB(255, 255, 255)
  98.  
  99. local function rbw()
  100.     while true do
  101.         for i = 0, 1, 0.01 do
  102.             FT.TextColor3 = Color3.fromHSV(i, 1, 1)
  103.             wait(0.01)
  104.         end
  105.     end
  106. end
  107. coroutine.wrap(rbw)()
  108.  
  109. CB.MouseButton1Click:Connect(function()
  110.     Frm.Visible = false
  111.     OB.Visible = true
  112. end)
  113.  
  114. OB.MouseButton1Click:Connect(function()
  115.     Frm.Visible = true
  116.     OB.Visible = false
  117. end)
  118.  
  119. local UIS = game:GetService("UserInputService")
  120. local dragging, dragInput, dragStart, startPos = false, nil, nil, nil
  121.  
  122. OB.InputBegan:Connect(function(inp)
  123.     if inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch then
  124.         dragging = true
  125.         dragStart = inp.Position
  126.         startPos = OB.Position
  127.         inp.Changed:Connect(function()
  128.             if inp.UserInputState == Enum.UserInputState.End then
  129.                 dragging = false
  130.             end
  131.         end)
  132.     end
  133. end)
  134.  
  135. OB.InputChanged:Connect(function(inp)
  136.     if inp.UserInputType == Enum.UserInputType.MouseMovement or inp.UserInputType == Enum.UserInputType.Touch then
  137.         dragInput = inp
  138.     end
  139. end)
  140.  
  141. UIS.InputChanged:Connect(function(inp)
  142.     if inp == dragInput and dragging then
  143.         local delta = inp.Position - dragStart
  144.         OB.Position = UDim2.new(
  145.             startPos.X.Scale,
  146.             startPos.X.Offset + delta.X,
  147.             startPos.Y.Scale,
  148.             startPos.Y.Offset + delta.Y
  149.         )
  150.     end
  151. end)
  152.  
  153. local function tglF()
  154.     local plr = game:GetService("Players").LocalPlayer
  155.     local rS, RS = game:GetService("RunService"), false
  156.  
  157.     local function fling()
  158.         local hrt, vel, mov = nil, nil, 0.1
  159.         while RS do
  160.             rS.Heartbeat:Wait()
  161.             hrt = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
  162.             if hrt then
  163.                 vel = hrt.Velocity
  164.                 hrt.Velocity = vel * 1000000000000000 + Vector3.new(0, 1000000000000000, 0)
  165.                 rS.RenderStepped:Wait()
  166.                 hrt.Velocity = vel
  167.                 rS.Stepped:Wait()
  168.                 hrt.Velocity = vel + Vector3.new(0, mov, 0)
  169.                 mov = -mov
  170.             end
  171.         end
  172.     end
  173.  
  174.     TglBtn.MouseButton1Click:Connect(function()
  175.         RS = not RS
  176.         TglBtn.Text = RS and "ON" or "OFF"
  177.         TglBtn.BackgroundColor3 = RS and Color3.fromRGB(76, 175, 80) or Color3.fromRGB(244, 67, 54)
  178.         if RS then coroutine.wrap(fling)() end
  179.     end)
  180. end
  181. coroutine.wrap(tglF)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement