I was wondering, Does this script work? And how do you access all players for like teleporting all players and killing all players? (And how do you access a players backpack? Is it .backpack?) Script :
--[[ To leave comments type -- then your messsage.
ex. --Add a timer. Put it next to the line you want me to add it to.
]]--
--[[VARIABLES]]--
timertext = script.Parent.Text
mappicked = script.Parent.hasPickedMap
intermissiontime = 20
timertime = 210
playersjoin = game.Players.NumPlayers
--[[FUNCTIONS]]--
--function countplayers
if playersjoin == 4 then
--function intermission
repeat
wait(1)
intermissiontime = intermissiontime - 1
timertext = intermissiontime
until
intermissiontime == 0
--function choosemap
timertext = "Choosing map..."
wait(1)
map = math.random(game.Workspace.Folder)
timertext = map
map:clone(game.workspace)
map.Position = "0,0,0"
--function teleplayers
timertext = "Teleporting players..."
--teleportplayers
--function choosemurderer
murder = math.random(game.Players)
game.ServerStorage["Murderer Knife"]:clone(murder.Backpack)
end
Sorry for having a lot of questions, but also, how do you refresh a script, like, make the script reset and run again?

4 comments
If you are trying to make a murder game you should watch the tutorial from the Roblox University. We aren't going to recreate a whole murder game for you.
I'm not asking for someone to recreate it for me. -_- I'm just asking some questions.
In addition to the answers below, do consider making sure each field exists. ex, If you say "v.Character.Humanoid", this will error if v.Character is nil (might happen if the character hasn't loaded yet).
Yes true but they will most likely be loaded then, but yes, I will make sure