Advertisement
bardhi_08

Kick Off script 2

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