Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Do server scripts restart when the player dies in a 1 man server?

Asked by 4 years ago
Edited 4 years ago

This script restarts when the player dies. Here is the script but it shortened it

script.Parent.Text = "20"
wait(1)
script.Parent.Text = "19"
wait(1)
script.Parent.Text = "18"
wait(1)
script.Parent.Text = "17"
wait(1)
script.Parent.Text = "16"
wait(1)
script.Parent.Text = "15"
wait(1)
script.Parent.Text = "14"
wait(1)
script.Parent.Text = "13"
wait(1)
script.Parent.Text = "12"
wait(1)
script.Parent.Text = "11"
wait(1)
script.Parent.Text = "10"
wait(1)
script.Parent.Text = "9"
wait(1)
script.Parent.Text = "8"
wait(1)
script.Parent.Text = "7"
wait(1)
script.Parent.Text = "6"
wait(1)
script.Parent.Text = "5"
wait(1)
script.Parent.Text = "4"
wait(1)
script.Parent.Text = "3"
wait(1)
script.Parent.Text = "2"
wait(1)
script.Parent.Text = "1"
wait(1)
script.Parent.Text = "0"
script.Parent.Text = "Wave 1"
a = game.Lighting.Zombie:clone()
a.Parent = game.Workspace
a:makeJoints()
wait(2.5)
--Set 2

a = game.Lighting.Silver:clone()
a.Parent = game.Workspace
a:makeJoints()
wait(2.5)



a = game.Lighting.Zombie:clone()
a.Parent = game.Workspace
a:makeJoints()
wait(2.5)

a = game.Lighting.Zombie:clone()
a.Parent = game.Workspace
a:makeJoints()
wait(2.5)

a = game.Lighting.Zombie:clone()
a.Parent = game.Workspace
a:makeJoints()
wait(2.5)

a = game.Lighting.Silver:clone()
a.Parent = game.Workspace
a:makeJoints()



if next.Value==100 then

game.Workspace.Rounds:remove()
game.Workspace.ZombiesLeft:remove()
game.Workspace.Next:remove()

 "You Survived!"
wait(2)

end



0
use a for loop for the beggining, it will save space Dan_PanMan 227 — 4y
0
Thx but I shrinked the script FluffySheep46209 369 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

I think so I mostly make 1 player games and I haven’t ran into this I’m not 100% sure although

0
Thx. But this didn't awnser my question FluffySheep46209 369 — 4y
Ad

Answer this question