Advertisement
Guest User

Touch fling

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