Recent Posts

Pages: [1] 2
1
Announcements / WEBSITE BEING REPLACED
« Last post by Frindow on June 12, 2021, 02:40:33 am »
If you have any questions regarding lua programming please use the minecraft scripts forum.

https://minecraftscripts.org/forum
7
Public Chat / Do you like dogs or cats better and why?
« Last post by Frindow on June 08, 2021, 04:27:25 am »
Do you like dogs or cats better and why?
8
Announcements / Account Benefits
« Last post by Frindow on June 20, 2020, 04:44:38 pm »
By signing up you will get access to the following:
- Access to all forum sections
- Access to message services
- Badges and ranks
- Profile picture
- And MORE!

Sign up here: https://scriptinghelp.createaforum.com/index.php?action=register
9
Announcements / Moving Text Is Here!
« Last post by Frindow on June 19, 2020, 06:47:32 pm »
Create your own..

MOVING TEXT

Just simply click the moving M while having text highlighted!
10
Questions / Help With Debugging [Solved]
« Last post by Frindow on June 18, 2020, 04:29:13 pm »
I am trying to make it so when there are 2 people left in a match the game will end. But, I ran into an issue. When there are no players on the team it runs the script. It does not have anything to do with the else.

Code: [Select]
while true do   
wait()
    t = game:GetService("Teams"):GetChildren()
    for i,v in ipairs(t) do
        if v.Name ~= "Playing" then
            local playerAmount = v:GetPlayers()
       for playersAmount,_ in ipairs(playerAmount) do
       if playerAmount == 2 then

else
game.StarterGui.GameGUI.Status.Text = "Game Over!"
game.Workspace.Plate.BrickColor = BrickColor.new("Really red")
game.Workspace.Plate.Transparency = 0.1
wait(0.1)
game.Workspace.Plate.Transparency = 0.2
wait(0.1)
game.Workspace.Plate.Transparency = 0.3
wait(0.1)
game.Workspace.Plate.Transparency = 0.4
wait(0.1)
game.Workspace.Plate.Transparency = 0.5
wait(0.1)
game.Workspace.Plate.Transparency = 0.6
wait(0.1)
game.Workspace.Plate.Transparency = 0.7
wait(0.1)
game.Workspace.Plate.Transparency = 0.8
wait(0.1)
game.Workspace.Plate.Transparency = 0.9
wait(0.1)
game.Workspace.Plate.Transparency = 1
game.Workspace.Plate.CanCollide = false
script.Disabled = true    
end
end
end
end
end

Please help!
Pages: [1] 2