Rebirth Gui [local script]
local stats = game.Players.LocalPlayer.leaderstats script.Parent.MouseButton1Click:connect(function() if stats.LifeFormFound.Value >= 10 then game.Players.LocalPlayer.leaderstats.LifeFormFound.Value = 0 game.Players.LocalPlayer.leaderstats.Rebirth.Value = game.Players.LocalPlayer.leaderstats.Rebirth.Value +1 else game.Players.LocalPlayer.leaderstats.LifeFormFound.Value = game.Players.LocalPlayer.leaderstats.LifeFormFound.Value game.Players.LocalPlayer.PlayerGui.RebirthFail.Frame.Visible = true wait(3) game.Players.LocalPlayer.PlayerGui.RebirthFail.Frame.Visible = false end end)
Text Button Gui
script.Parent.MouseButton1Click:connect(function() script.Parent.Parent.Frame.Visible = true end)
Text Button Gui
script.Parent.MouseButton1Click:connect(function() script.Parent.Parent.Visible = false end)
Text Button Gui
script.Parent.MouseButton1Click:Connect(function(Player) if game.Players.LocalPlayer.leaderstats.LifeFormFound.Value >= 2000 then game.Players.LocalPlayer.Character.LowerTorso.CFrame = CFrame.new(workspace.Point.Position) game.Players.LocalPlayer.PlayerGui.TestGui.Frame.Visible = true wait(3) game.Players.LocalPlayer.PlayerGui.TestGui.Frame.Visible = false else game.Players.LocalPlayer.PlayerGui.TestGui2.Frame.Visible = true wait(3) game.Players.LocalPlayer.PlayerGui.TestGui2.Frame.Visible = false end end)
Brick OnTouch Script
local Part = script.Parent Part.Touched:connect(function(HIT) local H = HIT.Parent:FindFirstChild("Humanoid") if H then local Player = game.Players:GetPlayerFromCharacter(HIT.Parent) Player.PlayerGui.ScreenGuiDirtBlock.Frame.Visible = true wait(0.5) Player.PlayerGui.ScreenGuiDirtBlock.Frame.Visible = false end end)