Advertisement
AimbotMan2022

Op* Kickoff Gui

Jan 12th, 2021
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. -- Credits to Yanis#5565
  2.  
  3.  
  4.  
  5. gui = Instance.new("ScreenGui",game.CoreGui)
  6. gui.Name = "CustomizableGui"
  7. gui.ResetOnSpawn = false
  8.  
  9. box = Instance.new("ScrollingFrame",gui)
  10. box.Name = "Box"
  11. box.Size = UDim2.new(0,320,0,150)
  12. box.Position = UDim2.new(0,0,0,300)
  13. box.BackgroundColor3 = Color3.new(0,0,0) -- What you want the color to be in R,G,B (you can keep it as it already is)
  14. box.BackgroundTransparency = 0.60 -- What you want the transparency to be
  15. box.BorderSizePixel = 0
  16. box.ScrollBarThickness = 0
  17. box.Active = true
  18. box.Draggable = true -- If you want the box to be draggable or not (recommended to keep true)
  19.  
  20. top = Instance.new("TextLabel",box)
  21. top.Name = "TopBar"
  22. top.Size = UDim2.new(0,320,0,25)
  23. top.BackgroundColor3 = Color3.new(0,255,255) -- Color of the top bar
  24. top.BackgroundTransparency = .4 -- Transparency of the bar
  25. top.BorderSizePixel = 0
  26. top.Font = "SourceSans"
  27. top.FontSize = "Size14"
  28. top.Text = "Kick Off GUI by Yanis#5565" -- Change it to what you want the top bar to say (or keep it blank)
  29. top.TextColor3 = Color3.new(0,0,0)
  30.  
  31. pos1 = 25
  32. function c1(txt) -- This is a function that creates buttons!
  33. local a = Instance.new("TextButton",box)
  34. a.Name = (txt)
  35. a.Size = UDim2.new(0,150,0,40)
  36. a.Position = UDim2.new(0,15,0,pos1)
  37. a.BackgroundColor3 = Color3.new(255,255,255)
  38. a.BackgroundTransparency = 40
  39. a.BorderSizePixel = 0
  40. a.Font = "SourceSansLight"
  41. a.FontSize = "Size24"
  42. a.Text = (txt)
  43. a.TextColor3 = Color3.new(52,72,255)
  44. pos1 = pos1+40
  45. return a
  46. end
  47.  
  48. pos2 = 25
  49. function c2(txt)
  50. local a = Instance.new("TextButton",box)
  51. a.Name = (txt)
  52. a.Size = UDim2.new(0,150,0,40)
  53. a.Position = UDim2.new(0,170,0,pos2)
  54. a.BackgroundColor3 = Color3.new(255,255,255)
  55. a.BackgroundTransparency = 40
  56. a.BorderSizePixel = 0
  57. a.Font = "SourceSansLight"
  58. a.FontSize = "Size24"
  59. a.Text = (txt)
  60. a.TextColor3 = Color3.new(52,72,255)
  61. pos2 = pos2+40
  62. return a
  63. end
  64.  
  65. prnt2 = c1("INTERCEPT!")
  66.  
  67. prnt = c2("GOAL!")
  68.  
  69. prnt.MouseButton1Down:connect(function()
  70.  
  71.  
  72. workspace.MapHolder:GetChildren()[1].BlueGoal.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  73. workspace.MapHolder:GetChildren()[1].RedGoal.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  74. workspace.SoccerBall.Position = game.Players.LocalPlayer.Character["Right Leg"].Position
  75. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  76.  
  77. end)
  78.  
  79. prnt2.MouseButton1Down:connect(function()
  80.  
  81.  
  82. local A_1 = "Kick"
  83. local A_2 = "Trickshot"
  84. local A_3 = game:GetService("Workspace").SoccerBall
  85. local A_4 = 58.777630615234
  86. local A_5 = Vector3.new(9.64690495, 82.8000031, -70.1397018)
  87. local A_6 = Vector3.new(25.7804337, -56.2313538, -428.990417)
  88. local A_7 = Vector3.new(34.4858704, -89.2313538, -492.285004)
  89. local Event = game:GetService("ReplicatedStorage").MasterKey
  90. Event:FireServer(A_1, A_2, A_3, A_4, A_5, A_6, A_7)
  91.  
  92. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement