Guest User

Touch Football Reach

a guest
Mar 3rd, 2025
432
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 1 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local TextBox = Instance.new("TextBox")
  4. local TextButton = Instance.new("TextButton")
  5.  
  6. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  7. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  8.  
  9. Frame.Parent = ScreenGui
  10. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  11. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  12. Frame.BorderSizePixel = 0
  13. Frame.Position = UDim2.new(0.402528971, 0, 0.365553916, 0)
  14. Frame.Size = UDim2.new(0, 185, 0, 130)
  15. Frame.Active = true
  16. Frame.Draggable = true
  17.  
  18. TextBox.Parent = Frame
  19. TextBox.BackgroundColor3 = Color3.fromRGB(52, 52, 52)
  20. TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
  21. TextBox.BorderSizePixel = 0
  22. TextBox.Position = UDim2.new(0.135135129, 0, 0.292307705, 0)
  23. TextBox.Size = UDim2.new(0, 134, 0, 21)
  24. TextBox.Font = Enum.Font.SourceSans
  25. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  26. TextBox.PlaceholderText = "hitbox size here"
  27. TextBox.Text = ""
  28. TextBox.TextColor3 = Color3.fromRGB(178, 178, 178)
  29. TextBox.TextSize = 14.000
  30.  
  31. TextButton.Parent = Frame
  32. TextButton.BackgroundColor3 = Color3.fromRGB(52, 52, 52)
  33. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  34. TextButton.BorderSizePixel = 0
  35. TextButton.Position = UDim2.new(0.135135129, 0, 0.569230795, 0)
  36. TextButton.Size = UDim2.new(0, 134, 0, 18)
  37. TextButton.Font = Enum.Font.SourceSans
  38. TextButton.Text = "change"
  39. TextButton.TextColor3 = Color3.fromRGB(178, 178, 178)
  40. TextButton.TextSize = 14.000
  41.  
  42. local function CEIID_fake_script()
  43. local script = Instance.new('LocalScript', TextButton)
  44.  
  45. local tb = script.Parent.Parent.TextBox
  46.  
  47. script.Parent.MouseButton1Click:Connect(function()
  48. local player = game.Players.LocalPlayer
  49. local character = player.Character or player.CharacterAdded:Wait()
  50.  
  51. local function createSurroundingPart()
  52. if workspace:FindFirstChild("hitbox") then
  53. workspace.hitbox.Size = Vector3.new(tb.Text, tb.Text, tb.Text)
  54. else
  55. local surroundingPart = Instance.new("Part")
  56. surroundingPart.Name = "hitbox"
  57. surroundingPart.Size = Vector3.new(tb.Text, tb.Text, tb.Text)
  58. surroundingPart.Position = character.PrimaryPart.Position
  59. surroundingPart.Anchored = true
  60. surroundingPart.CanCollide = false
  61. surroundingPart.Transparency = 0.5
  62. surroundingPart.BrickColor = BrickColor.new("Bright blue")
  63. surroundingPart.Parent = workspace
  64. surroundingPart.Touched:Connect(function(hit)
  65. if hit.Name == "SoccerBall" then
  66. local offset = character.HumanoidRootPart.CFrame.LookVector * 2
  67. local newPosition = character.HumanoidRootPart.Position + offset
  68. hit.CFrame = CFrame.new(newPosition, newPosition + character.HumanoidRootPart.CFrame.LookVector)
  69. end
  70. end)
  71.  
  72. game:GetService("RunService").Heartbeat:Connect(function()
  73. surroundingPart.Position = character.PrimaryPart.Position
  74. end)
  75. end
  76. end
  77.  
  78. createSurroundingPart()
  79. end)
  80. end
  81. coroutine.wrap(CEIID_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment