Advertisement
kids_on_a_bus

Highschool dorm life gui

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