Advertisement
KERRY_Scripts

8-ball pool aim extender

Aug 4th, 2024
9,232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. ---------------------------->> Customization <<----------------------------
  2.  
  3. ExtendProjectory = true
  4. HitPositionVisible = true
  5. ShowCollisions = false
  6. Theme = "Bright Red" --[[
  7. Try "Bright red" for a red / black table, default is ""=Institutional white"
  8. All themes: https://robloxapi.github.io/ref/type/BrickColor.html
  9. --]]
  10.  
  11. -------------------------------->> Code <<--------------------------------
  12. ----->> Do not edit below this line unless you know what you're doing <<-----
  13.  
  14. workspace.Tables.Table1.Table.BrickColor = BrickColor.new(Theme)
  15. workspace.Tables.Table1.Guides.HitPosition.Mesh.Scale = Vector3.new(0.5, 0, 0.5)
  16.  
  17. highlight = Instance.new("Highlight")
  18. highlight.FillTransparency = 0
  19. highlight.Parent = workspace.Tables.Table1.Guides.HitPosition
  20. highlight.Enabled = false
  21.  
  22. if ShowCollisions == true then
  23.  
  24. for i, collision in pairs(workspace.Tables.Table1.Collision:GetDescendants()) do
  25. if collision:IsA("BasePart") then
  26. collision.Transparency = 0
  27. end
  28. end
  29.  
  30. else
  31.  
  32. for i, collision in pairs(workspace.Tables.Table1.Collision:GetDescendants()) do
  33. if collision:IsA("BasePart") then
  34. collision.Transparency = 1
  35. end
  36. end
  37. end
  38.  
  39. if ExtendProjectory == true then
  40.  
  41. workspace.Tables.Table1.Guides.HitTrajectory.Mesh.Scale = Vector3.new(0.5, 0, 12)
  42. workspace.Tables.Table1.Guides.HitTrajectory.Mesh.Offset = Vector3.new(0, 0.12, -6)
  43.  
  44. else
  45.  
  46. workspace.Tables.Table1.Guides.HitTrajectory.mesh.Scale = Vector3.new(0.5, 0, 1)
  47. workspace.Tables.Table1.Guides.HitTrajectory.Mesh.Offset = Vector3.new(0, 0.12, -0.4)
  48.  
  49. end
  50.  
  51. if HitPositionVisible == true then
  52.  
  53. workspace.Tables.Table1.Guides.HitPosition.Transparency = 0
  54. highlight.Enabled = true
  55.  
  56. else
  57.  
  58. workspace.Tables.Table1.Guides.HitPosition.Transparency = 1
  59. highlight.Enabled = false
  60.  
  61. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement