Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local DWLSGui = Instance.new("ScreenGui")
- local OpenBut = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local bar1 = Instance.new("Frame")
- local bar1_2 = Instance.new("Frame")
- local RebirthBut = Instance.new("TextButton")
- local StrengthBut = Instance.new("TextButton")
- local title = Instance.new("TextLabel")
- local credits = Instance.new("TextLabel")
- local CloseBut = Instance.new("TextButton")
- -- Properties
- DWLSGui.Name = "DWLSGui"
- DWLSGui.Parent = game.CoreGui
- OpenBut.Name = "OpenBut"
- OpenBut.Parent = DWLSGui
- OpenBut.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenBut.Position = UDim2.new(0, 0, 0.869205296, 0)
- OpenBut.Size = UDim2.new(0, 97, 0, 50)
- OpenBut.Font = Enum.Font.SourceSansBold
- OpenBut.Text = "Open"
- OpenBut.TextColor3 = Color3.new(0, 0, 0)
- OpenBut.TextScaled = true
- OpenBut.TextSize = 14
- OpenBut.TextWrapped = true
- OpenBut.MouseButton1Down:connect(function()
- OpenBut.Visible = false
- CloseBut.Visible = true
- Main.Visible = true
- end)
- Main.Name = "Main"
- Main.Parent = DWLSGui
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.Position = UDim2.new(0.37068966, 0, 0.240894035, 0)
- Main.Size = UDim2.new(0, 270, 0, 313)
- Main.Visible = false
- bar1.Name = "bar1"
- bar1.Parent = Main
- bar1.BackgroundColor3 = Color3.new(0.85098, 0.85098, 0.85098)
- bar1.BorderSizePixel = 0
- bar1.Size = UDim2.new(0, 270, 0, 43)
- bar1_2.Name = "bar1"
- bar1_2.Parent = Main
- bar1_2.BackgroundColor3 = Color3.new(0.780392, 0.780392, 0.780392)
- bar1_2.BorderSizePixel = 0
- bar1_2.Position = UDim2.new(0, 0, 0.137380198, 0)
- bar1_2.Size = UDim2.new(0, 270, 0, 14)
- RebirthBut.Name = "RebirthBut"
- RebirthBut.Parent = Main
- RebirthBut.BackgroundColor3 = Color3.new(0.839216, 0.839216, 0.839216)
- RebirthBut.Position = UDim2.new(0.129629627, 0, 0.293929726, 0)
- RebirthBut.Size = UDim2.new(0, 200, 0, 50)
- RebirthBut.Font = Enum.Font.SourceSansBold
- RebirthBut.Text = "Rebirth"
- RebirthBut.TextScaled = true
- RebirthBut.TextSize = 14
- RebirthBut.TextWrapped = true
- RebirthBut.MouseButton1Down:connect(function()
- local rtable = {
- Cmd = "Rebirth"
- }
- for i= 1, 100 do
- game.Players.LocalPlayer.MainFunction:InvokeServer(rtable)
- end
- end)
- StrengthBut.Name = "StrengthBut"
- StrengthBut.Parent = Main
- StrengthBut.BackgroundColor3 = Color3.new(0.839216, 0.839216, 0.839216)
- StrengthBut.Position = UDim2.new(0.129629627, 0, 0.584664524, 0)
- StrengthBut.Size = UDim2.new(0, 200, 0, 50)
- StrengthBut.Font = Enum.Font.SourceSansBold
- StrengthBut.Text = "Strength"
- StrengthBut.TextScaled = true
- StrengthBut.TextSize = 14
- StrengthBut.TextWrapped = true
- StrengthBut.MouseButton1Down:connect(function()
- local rtable = {
- Cmd = "GiveStrength",
- Amount = 1000
- }
- for i= 1, 100 do
- game.Players.LocalPlayer.MainFunction:InvokeServer(rtable)
- end
- end)
- title.Name = "title"
- title.Parent = Main
- title.BackgroundColor3 = Color3.new(0.85098, 0.85098, 0.85098)
- title.BorderSizePixel = 0
- title.Position = UDim2.new(0.0222222228, 0, 0, 0)
- title.Size = UDim2.new(0, 122, 0, 35)
- title.Font = Enum.Font.SciFi
- title.Text = "Dominus Weight Lifting Simulator GUI"
- title.TextScaled = true
- title.TextSize = 14
- title.TextWrapped = true
- credits.Name = "credits"
- credits.Parent = Main
- credits.BackgroundColor3 = Color3.new(1, 1, 1)
- credits.BorderSizePixel = 0
- credits.Position = UDim2.new(0.0222222228, 0, 0.926517546, 0)
- credits.Size = UDim2.new(0, 77, 0, 23)
- credits.Font = Enum.Font.SourceSansBold
- credits.Text = "Made by Synax"
- credits.TextScaled = true
- credits.TextSize = 14
- credits.TextWrapped = true
- CloseBut.Name = "CloseBut"
- CloseBut.Parent = DWLSGui
- CloseBut.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseBut.Position = UDim2.new(0, 0, 0.869205296, 0)
- CloseBut.Size = UDim2.new(0, 97, 0, 50)
- CloseBut.Visible = false
- CloseBut.Font = Enum.Font.SourceSansBold
- CloseBut.Text = "Close"
- CloseBut.TextColor3 = Color3.new(0, 0, 0)
- CloseBut.TextScaled = true
- CloseBut.TextSize = 14
- CloseBut.TextWrapped = true
- CloseBut.MouseButton1Down:connect(function()
- Main.Visible = false
- OpenBut.Visible = true
- CloseBut.Visible = false
- end)
Add Comment
Please, Sign In to add comment