Advertisement
BlueCattt

touch fling script

Dec 31st, 2024
46,401
3
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 3 0
  1. -- Touch fling gui
  2.  
  3. -- Gui to Lua (VIP VERSION)
  4. -- Version: 6.9
  5.  
  6. -- Instances:
  7.  
  8. local ScreenGui = Instance.new("ScreenGui")
  9. local Frame = Instance.new("Frame")
  10. local Frame_2 = Instance.new("Frame")
  11. local TextLabel = Instance.new("TextLabel")
  12. local TextButton = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18. ScreenGui.ResetOnSpawn = false
  19. print("sub to BlueCat")
  20.  
  21. Frame.Parent = ScreenGui
  22. Frame.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
  23. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  24. Frame.BorderSizePixel = 0
  25. Frame.Position = UDim2.new(0.388539821, 0, 0.427821517, 0)
  26. Frame.Size = UDim2.new(0, 158, 0, 110)
  27.  
  28. Frame_2.Parent = Frame
  29. Frame_2.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  30. Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  31. Frame_2.BorderSizePixel = 0
  32. Frame_2.Size = UDim2.new(0, 158, 0, 25)
  33.  
  34. TextLabel.Parent = Frame_2
  35. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  36. TextLabel.BackgroundTransparency = 1.000
  37. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  38. TextLabel.BorderSizePixel = 0
  39. TextLabel.Position = UDim2.new(0.112792775, 0, -0.0151660154, 0)
  40. TextLabel.Size = UDim2.new(0, 121, 0, 26)
  41. TextLabel.Font = Enum.Font.Sarpanch
  42. TextLabel.Text = "Touch Fling"
  43. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 255)
  44. TextLabel.TextSize = 25.000
  45.  
  46. TextButton.Parent = Frame
  47. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  48. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  49. TextButton.BorderSizePixel = 0
  50. TextButton.Position = UDim2.new(0.113924049, 0, 0.418181807, 0)
  51. TextButton.Size = UDim2.new(0, 121, 0, 37)
  52. TextButton.Font = Enum.Font.SourceSansItalic
  53. TextButton.Text = "OFF"
  54. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  55. TextButton.TextSize = 20.000
  56.  
  57. -- Scripts:
  58.  
  59. local function IIMAWH_fake_script() -- TextButton.LocalScript
  60. local script = Instance.new('LocalScript', TextButton)
  61.  
  62. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  63. local RunService = game:GetService("RunService")
  64. local Players = game:GetService("Players")
  65.  
  66. local toggleButton = script.Parent
  67. local hiddenfling = false
  68. local flingThread
  69. if not ReplicatedStorage:FindFirstChild("juisdfj0i32i0eidsuf0iok") then
  70. local detection = Instance.new("Decal")
  71. detection.Name = "juisdfj0i32i0eidsuf0iok"
  72. detection.Parent = ReplicatedStorage
  73. end
  74.  
  75. local function fling()
  76. local lp = Players.LocalPlayer
  77. local c, hrp, vel, movel = nil, nil, nil, 0.1
  78.  
  79. while hiddenfling do
  80. RunService.Heartbeat:Wait()
  81. c = lp.Character
  82. hrp = c and c:FindFirstChild("HumanoidRootPart")
  83.  
  84. if hrp then
  85. vel = hrp.Velocity
  86. hrp.Velocity = vel * 10000 + Vector3.new(0, 10000, 0)
  87. RunService.RenderStepped:Wait()
  88. hrp.Velocity = vel
  89. RunService.Stepped:Wait()
  90. hrp.Velocity = vel + Vector3.new(0, movel, 0)
  91. movel = -movel
  92. end
  93. end
  94. end
  95.  
  96. toggleButton.MouseButton1Click:Connect(function()
  97. hiddenfling = not hiddenfling
  98. toggleButton.Text = hiddenfling and "ON" or "OFF"
  99.  
  100. if hiddenfling then
  101. flingThread = coroutine.create(fling)
  102. coroutine.resume(flingThread)
  103. else
  104. hiddenfling = false
  105. end
  106. end)
  107.  
  108. end
  109. coroutine.wrap(IIMAWH_fake_script)()
  110. local function QCJQJL_fake_script() -- Frame.LocalScript
  111. local script = Instance.new('LocalScript', Frame)
  112.  
  113. script.Parent.Active = true
  114. script.Parent.Draggable = true
  115. end
  116. coroutine.wrap(QCJQJL_fake_script)()
Tags: script delta
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement