generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Part of my script is broken.

Previous Thread :: Next Thread 
SirAlexanderWilliams is not online. SirAlexanderWilliams
Joined: 19 Sep 2013
Total Posts: 10
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 is not online. 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 is not online. 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 is not online. Ulrond
Joined: 23 Jun 2011
Total Posts: 11962
06 Apr 2015 04:39 AM
Where is 'contestants'?
Report Abuse
SirAlexanderWilliams is not online. SirAlexanderWilliams
Joined: 19 Sep 2013
Total Posts: 10
06 Apr 2015 04:50 AM
Oh forgot this contestants = {}
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image