Advertisement
gilward

High School Life GUI

Mar 3rd, 2018
12,716
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 1
  1. --Game Link https://www.roblox.com/games/92604236/High-School-Life
  2. guitoggle = true
  3. -- Objects
  4.  
  5. local HighSchoolLifeGui = Instance.new("ScreenGui")
  6. local Bar = Instance.new("Frame")
  7. local TextButton = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. local MainFrame = Instance.new("Frame")
  10. local HighschoolLifeGui = Instance.new("TextLabel")
  11. local WitchButton = Instance.new("TextButton")
  12. local TextLable = Instance.new("TextLabel")
  13. local ExplodeButton = Instance.new("TextButton")
  14. local BlocksButton = Instance.new("TextButton")
  15.  
  16. -- Properties
  17.  
  18. HighSchoolLifeGui.Name = "HighSchoolLifeGui"
  19. HighSchoolLifeGui.Parent = game.CoreGui
  20.  
  21. Bar.Name = "Bar"
  22. Bar.Parent = HighSchoolLifeGui
  23. Bar.Active = true
  24. Bar.BackgroundColor3 = Color3.new(1, 0.490196, 0.490196)
  25. Bar.Draggable = true
  26. Bar.Position = UDim2.new(0.274999976, 0, 0.229517505, 0)
  27. Bar.Size = UDim2.new(0.229166672, 0, 0.0285714287, 0)
  28. Bar.ZIndex = 2
  29.  
  30. TextButton.Parent = Bar
  31. TextButton.BackgroundColor3 = Color3.new(1, 0.235294, 0.00392157)
  32. TextButton.Position = UDim2.new(0.939999998, 0, 0.0529999994, 0)
  33. TextButton.Size = UDim2.new(0, 25, 0, 25)
  34. TextButton.ZIndex = 2
  35. TextButton.Font = Enum.Font.SourceSansBold
  36. TextButton.Text = "X"
  37. TextButton.TextScaled = true
  38. TextButton.TextSize = 14
  39. TextButton.TextWrapped = true
  40. TextButton.MouseButton1Click:connect(function()
  41. if guitoggle == true then
  42. HideMainFrameContents()
  43. MainFrame:TweenSize(UDim2.new(1.001, 0,1.079, 0), "In", "Quint", 1)
  44. TextButton.Text = "+"
  45. guitoggle = false
  46. else
  47. ShowMainFrameContents()
  48. MainFrame:TweenSize(UDim2.new(1.001, 0,12.949, 0), "Out", "Quint", 1)
  49. TextButton.Text = "X"
  50. guitoggle = true
  51. end
  52. end)
  53.  
  54. TextLabel.Parent = Bar
  55. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  56. TextLabel.BackgroundTransparency = 1
  57. TextLabel.Size = UDim2.new(0.545454562, 0, 0.899999976, 0)
  58. TextLabel.ZIndex = 2
  59. TextLabel.Font = Enum.Font.Highway
  60. TextLabel.Text = "High School Life Gui"
  61. TextLabel.TextScaled = true
  62. TextLabel.TextSize = 14
  63. TextLabel.TextWrapped = true
  64.  
  65. MainFrame.Name = "MainFrame"
  66. MainFrame.Parent = Bar
  67. MainFrame.Active = true
  68. MainFrame.BackgroundColor3 = Color3.new(0.0980392, 1, 0.745098)
  69. MainFrame.BackgroundTransparency = 0.30000001192093
  70. MainFrame.Size = UDim2.new(1.00073528, 0, 13.3086729, 0)
  71.  
  72. HighschoolLifeGui.Name = "HighschoolLifeGui"
  73. HighschoolLifeGui.Parent = MainFrame
  74. HighschoolLifeGui.BackgroundColor3 = Color3.new(1, 1, 1)
  75. HighschoolLifeGui.BackgroundTransparency = 1
  76. HighschoolLifeGui.Position = UDim2.new(0, 0, 0.0751879662, 0)
  77. HighschoolLifeGui.Size = UDim2.new(1, 0, 0.201837927, 0)
  78. HighschoolLifeGui.Font = Enum.Font.SourceSansLight
  79. HighschoolLifeGui.Text = "Highschool Life Gui"
  80. HighschoolLifeGui.TextColor3 = Color3.new(1, 1, 1)
  81. HighschoolLifeGui.TextScaled = true
  82. HighschoolLifeGui.TextSize = 14
  83. HighschoolLifeGui.TextStrokeColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  84. HighschoolLifeGui.TextWrapped = true
  85.  
  86. WitchButton.Name = "WitchButton"
  87. WitchButton.Parent = MainFrame
  88. WitchButton.BackgroundColor3 = Color3.new(1, 1, 1)
  89. WitchButton.Position = UDim2.new(0.0227272734, 0, 0.782122016, 0)
  90. WitchButton.Size = UDim2.new(0, 418, 0, 78)
  91. WitchButton.Font = Enum.Font.SourceSans
  92. WitchButton.Text = "Witch noises"
  93. WitchButton.TextScaled = true
  94. WitchButton.TextSize = 14
  95. WitchButton.TextWrapped = true
  96. WitchButton.MouseButton1Click:connect(function()
  97. game.ReplicatedStorage.Events.OutfitChang:FireServer("Hat", "305888394")
  98. end)
  99.  
  100. TextLable.Name = "TextLable"
  101. TextLable.Parent = MainFrame
  102. TextLable.BackgroundColor3 = Color3.new(1, 1, 1)
  103. TextLable.BackgroundTransparency = 1
  104. TextLable.Position = UDim2.new(0.250183821, 0, 0.19421488, 0)
  105. TextLable.Size = UDim2.new(0.523111641, 0, 0.138724908, 0)
  106. TextLable.Font = Enum.Font.SourceSansLight
  107. TextLable.Text = "By LemonHead"
  108. TextLable.TextColor3 = Color3.new(1, 1, 1)
  109. TextLable.TextScaled = true
  110. TextLable.TextSize = 14
  111. TextLable.TextWrapped = true
  112.  
  113. ExplodeButton.Name = "ExplodeButton"
  114. ExplodeButton.Parent = MainFrame
  115. ExplodeButton.BackgroundColor3 = Color3.new(1, 1, 1)
  116. ExplodeButton.Position = UDim2.new(0.0227272734, 0, 0.567585647, 0)
  117. ExplodeButton.Size = UDim2.new(0, 418, 0, 78)
  118. ExplodeButton.Font = Enum.Font.SourceSans
  119. ExplodeButton.Text = "Explode (few second wait)"
  120. ExplodeButton.TextScaled = true
  121. ExplodeButton.TextSize = 14
  122. ExplodeButton.TextWrapped = true
  123. ExplodeButton.MouseButton1Click:connect(function()
  124. game.ReplicatedStorage.Events.OutfitChang:FireServer("Hat", "1527622")
  125. end)
  126.  
  127. BlocksButton.Name = "BlocksButton"
  128. BlocksButton.Parent = MainFrame
  129. BlocksButton.BackgroundColor3 = Color3.new(1, 1, 1)
  130. BlocksButton.Position = UDim2.new(0.0227272734, 0, 0.360735178, 0)
  131. BlocksButton.Size = UDim2.new(0, 418, 0, 75)
  132. BlocksButton.Font = Enum.Font.SourceSans
  133. BlocksButton.Text = "Spawn 100 blocks"
  134. BlocksButton.TextScaled = true
  135. BlocksButton.TextSize = 14
  136. BlocksButton.TextWrapped = true
  137. BlocksButton.MouseButton1Click:connect(function()
  138. for i=1,100 do
  139. print(i)
  140. game.ReplicatedStorage.Events.OutfitChang:FireServer("Hat", "158066212")
  141. wait(0.1)
  142. for index, child in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  143. if child.ClassName == "Hat" or child.ClassName == "Accessory" then
  144. if child.Handle:FindFirstChild("Mesh") then
  145. child.Handle.Mesh.Parent = nil
  146. end
  147. child.Parent = game.Workspace
  148. end
  149. end
  150. end
  151. end)
  152.  
  153. function HideMainFrameContents()
  154. WitchButton.Visible = false
  155. BlocksButton.Visible = false
  156. ExplodeButton.Visible = false
  157. TextLable.Visible = false
  158. end
  159.  
  160. function ShowMainFrameContents()
  161. WitchButton.Visible = true
  162. BlocksButton.Visible = true
  163. ExplodeButton.Visible = true
  164. TextLable.Visible = true
  165. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement