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 » Building Helpers
Home Search
 

Re: Super annoying bug

Previous Thread :: Next Thread 
skill24 is not online. skill24
Joined: 14 Jun 2009
Total Posts: 13608
25 Aug 2013 01:20 PM
I have a lobby for my game where the players spawn.
It has a roof, and sometimes players spawn on top of the roof!
Is this possible to fix?


(Sorry if this belongs in Scripting Helpers, I was not sure)
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
25 Aug 2013 01:31 PM
How many spawns do you have in lobby?
Report Abuse
skill24 is not online. skill24
Joined: 14 Jun 2009
Total Posts: 13608
25 Aug 2013 01:37 PM
4 i think
Report Abuse
supercutie66 is not online. supercutie66
Joined: 02 Jul 2011
Total Posts: 61
25 Aug 2013 01:42 PM
How many people are aloud on one server?
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
25 Aug 2013 01:44 PM
hmmm... Well I could make custom spawn for you then..

spawn = game.Workspace.SpawnBrick
spawnRadius = 10

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character.Torso.CFrame = spawn+Vector3.new(math.random(-spawnradius,spawnradius),5,math.random(-spawnradius,spawnradius))
end)
end)


Just have this as regular script in workspace, have part called 'SpawnBrick' in workspace. It should probably be non-collidable, anchored, plate and transparent.

Tweak spawnRadius, for radius where people will get spawned in.

Also have 1 regular spawn somewhere else.
Report Abuse
69scott69 is not online. 69scott69
Joined: 30 Jan 2011
Total Posts: 6136
25 Aug 2013 02:09 PM
You need to leave room in a closed area for players to spawn. Otherwise they may spawn on the roof, especially if 2 or more players spawn at once and stack on each other.

The best thing is not to make spawns under a roof.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building Helpers
   
 
   
  • 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