|
| 06 Apr 2015 03:36 AM |
So currently I am making a murder game like loleris or TayMaster (people like the ect).
The problem is that all 3 clients aren't teleporting to the map. I checked the output and no errors there. I checked the Server but there were no errors.
My code is:
local SpawnsModel = NewMap:WaitForChild("Spawns") local Spawns = SpawnsModel:GetChildren() for _, player in pairs(contestants) do if player and player.Character and #Spawns > 0 then local Torso = player.Character:WaitForChild("Torso") local Humanoid = player.Character:WaitForChild("Humanoid") local spawnidex = math.random(1, #Spawns) local spawn = Spawns[spawnidex] if spawn and Torso and Humanoid then Humanoid.Health = 100 Humanoid.WalkSpeed = 16 table.remove(Spawns, spawnidex) Torso.CFrame = CFrame.new(spawn.Position + Vector3.new(0, 3, 0) |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 06 Apr 2015 03:49 AM |
I will have to make a murder game kit at some later time.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
vat21s
|
  |
| Joined: 07 Jun 2010 |
| Total Posts: 2508 |
|
|
| 06 Apr 2015 03:53 AM |
@chim If everyone had a murder game, Murder games would go out of business! :D |
|
|
| Report Abuse |
|
|
Ulrond
|
  |
| Joined: 23 Jun 2011 |
| Total Posts: 11962 |
|
| |
|
|
| 06 Apr 2015 04:50 AM |
| Oh forgot this contestants = {} |
|
|
| Report Abuse |
|
|