Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Game Link https://www.roblox.com/games/92604236/High-School-Life
- guitoggle = true
- -- Objects
- local HighSchoolLifeGui = Instance.new("ScreenGui")
- local Bar = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local MainFrame = Instance.new("Frame")
- local HighschoolLifeGui = Instance.new("TextLabel")
- local WitchButton = Instance.new("TextButton")
- local TextLable = Instance.new("TextLabel")
- local ExplodeButton = Instance.new("TextButton")
- local BlocksButton = Instance.new("TextButton")
- -- Properties
- HighSchoolLifeGui.Name = "HighSchoolLifeGui"
- HighSchoolLifeGui.Parent = game.CoreGui
- Bar.Name = "Bar"
- Bar.Parent = HighSchoolLifeGui
- Bar.Active = true
- Bar.BackgroundColor3 = Color3.new(1, 0.490196, 0.490196)
- Bar.Draggable = true
- Bar.Position = UDim2.new(0.274999976, 0, 0.229517505, 0)
- Bar.Size = UDim2.new(0.229166672, 0, 0.0285714287, 0)
- Bar.ZIndex = 2
- TextButton.Parent = Bar
- TextButton.BackgroundColor3 = Color3.new(1, 0.235294, 0.00392157)
- TextButton.Position = UDim2.new(0.939999998, 0, 0.0529999994, 0)
- TextButton.Size = UDim2.new(0, 25, 0, 25)
- TextButton.ZIndex = 2
- TextButton.Font = Enum.Font.SourceSansBold
- TextButton.Text = "X"
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Click:connect(function()
- if guitoggle == true then
- HideMainFrameContents()
- MainFrame:TweenSize(UDim2.new(1.001, 0,1.079, 0), "In", "Quint", 1)
- TextButton.Text = "+"
- guitoggle = false
- else
- ShowMainFrameContents()
- MainFrame:TweenSize(UDim2.new(1.001, 0,12.949, 0), "Out", "Quint", 1)
- TextButton.Text = "X"
- guitoggle = true
- end
- end)
- TextLabel.Parent = Bar
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0.545454562, 0, 0.899999976, 0)
- TextLabel.ZIndex = 2
- TextLabel.Font = Enum.Font.Highway
- TextLabel.Text = "High School Life Gui"
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = Bar
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.0980392, 1, 0.745098)
- MainFrame.BackgroundTransparency = 0.30000001192093
- MainFrame.Size = UDim2.new(1.00073528, 0, 13.3086729, 0)
- HighschoolLifeGui.Name = "HighschoolLifeGui"
- HighschoolLifeGui.Parent = MainFrame
- HighschoolLifeGui.BackgroundColor3 = Color3.new(1, 1, 1)
- HighschoolLifeGui.BackgroundTransparency = 1
- HighschoolLifeGui.Position = UDim2.new(0, 0, 0.0751879662, 0)
- HighschoolLifeGui.Size = UDim2.new(1, 0, 0.201837927, 0)
- HighschoolLifeGui.Font = Enum.Font.SourceSansLight
- HighschoolLifeGui.Text = "Highschool Life Gui"
- HighschoolLifeGui.TextColor3 = Color3.new(1, 1, 1)
- HighschoolLifeGui.TextScaled = true
- HighschoolLifeGui.TextSize = 14
- HighschoolLifeGui.TextStrokeColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- HighschoolLifeGui.TextWrapped = true
- WitchButton.Name = "WitchButton"
- WitchButton.Parent = MainFrame
- WitchButton.BackgroundColor3 = Color3.new(1, 1, 1)
- WitchButton.Position = UDim2.new(0.0227272734, 0, 0.782122016, 0)
- WitchButton.Size = UDim2.new(0, 418, 0, 78)
- WitchButton.Font = Enum.Font.SourceSans
- WitchButton.Text = "Witch noises"
- WitchButton.TextScaled = true
- WitchButton.TextSize = 14
- WitchButton.TextWrapped = true
- WitchButton.MouseButton1Click:connect(function()
- game.ReplicatedStorage.Events.OutfitChang:FireServer("Hat", "305888394")
- end)
- TextLable.Name = "TextLable"
- TextLable.Parent = MainFrame
- TextLable.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLable.BackgroundTransparency = 1
- TextLable.Position = UDim2.new(0.250183821, 0, 0.19421488, 0)
- TextLable.Size = UDim2.new(0.523111641, 0, 0.138724908, 0)
- TextLable.Font = Enum.Font.SourceSansLight
- TextLable.Text = "By LemonHead"
- TextLable.TextColor3 = Color3.new(1, 1, 1)
- TextLable.TextScaled = true
- TextLable.TextSize = 14
- TextLable.TextWrapped = true
- ExplodeButton.Name = "ExplodeButton"
- ExplodeButton.Parent = MainFrame
- ExplodeButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ExplodeButton.Position = UDim2.new(0.0227272734, 0, 0.567585647, 0)
- ExplodeButton.Size = UDim2.new(0, 418, 0, 78)
- ExplodeButton.Font = Enum.Font.SourceSans
- ExplodeButton.Text = "Explode (few second wait)"
- ExplodeButton.TextScaled = true
- ExplodeButton.TextSize = 14
- ExplodeButton.TextWrapped = true
- ExplodeButton.MouseButton1Click:connect(function()
- game.ReplicatedStorage.Events.OutfitChang:FireServer("Hat", "1527622")
- end)
- BlocksButton.Name = "BlocksButton"
- BlocksButton.Parent = MainFrame
- BlocksButton.BackgroundColor3 = Color3.new(1, 1, 1)
- BlocksButton.Position = UDim2.new(0.0227272734, 0, 0.360735178, 0)
- BlocksButton.Size = UDim2.new(0, 418, 0, 75)
- BlocksButton.Font = Enum.Font.SourceSans
- BlocksButton.Text = "Spawn 100 blocks"
- BlocksButton.TextScaled = true
- BlocksButton.TextSize = 14
- BlocksButton.TextWrapped = true
- BlocksButton.MouseButton1Click:connect(function()
- for i=1,100 do
- print(i)
- game.ReplicatedStorage.Events.OutfitChang:FireServer("Hat", "158066212")
- wait(0.1)
- for index, child in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if child.ClassName == "Hat" or child.ClassName == "Accessory" then
- if child.Handle:FindFirstChild("Mesh") then
- child.Handle.Mesh.Parent = nil
- end
- child.Parent = game.Workspace
- end
- end
- end
- end)
- function HideMainFrameContents()
- WitchButton.Visible = false
- BlocksButton.Visible = false
- ExplodeButton.Visible = false
- TextLable.Visible = false
- end
- function ShowMainFrameContents()
- WitchButton.Visible = true
- BlocksButton.Visible = true
- ExplodeButton.Visible = true
- TextLable.Visible = true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement