Advertisement
Guest User

SUBSCRIBE TO W1Z3X3 KICK OFF SCRIPT ROBLOX

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