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

Re: How do you?

Previous Thread :: Next Thread 
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
05 Apr 2014 12:39 AM
Does anyone know a good team only spawn, that's less glitchy??
Report Abuse
LoneDreamer is not online. LoneDreamer
Joined: 15 Jul 2013
Total Posts: 46
05 Apr 2014 12:41 AM
u wut
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
05 Apr 2014 12:42 AM
Like, a team only spawn?? That keeps you on the team.
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
05 Apr 2014 01:40 AM
lern 2 rawblicks

-King Scrub
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
05 Apr 2014 02:05 AM
....
Report Abuse
CarlosMX is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
05 Apr 2014 02:16 AM
You have the wrong forum, ask Building Helpers Forum. Use the ROBLOX Team Spawns... they work fine.
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
05 Apr 2014 04:19 AM
Agreed with carlos.

If you want it to be values.. then you are wasting time, because spawns have nothing to do with scripting.

I mean you can control spawning with scripting, but your need is irrelevant.
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
06 Apr 2014 05:28 AM
You don't understand I tried to make one myself, but it didn't work. I deleted it, and It's kind of irritating, that you're telling me to go to buildings forum, when I'm asking for help.
Report Abuse
CarlosMX is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
06 Apr 2014 02:45 PM
But what your asking doesn't have anything to do with scripting...
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
06 Apr 2014 08:08 PM
I mean a group only team, where if you're in the group, it teams you on to the team and respawns. But the ones I attempted to make break, or just have a whole bunch of bugs, so I deleted them.
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
07 Apr 2014 12:13 AM
Bump.
Report Abuse
islandmaker2012 is online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
07 Apr 2014 12:14 AM
if pathtoplr:IsInGroup(groupid) then
pathtoplr.TeamColor =

or something..

too lazy to look it up atm
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
08 Apr 2014 07:28 AM
Nice guess.
Report Abuse
Supint is not online. Supint
Joined: 30 Aug 2013
Total Posts: 6854
08 Apr 2014 08:54 AM
Sarcasm or did it work?
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
08 Apr 2014 09:09 AM
I was just telling him it was a good guess, even though it didn't work.
Report Abuse
islandmaker2012 is online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
08 Apr 2014 10:05 AM
groupid = 0--change this to the id of your group

--http://www.roblox.com/My/Groups.aspx?gid=54516
--id of that ^ would be 54516______________^^^^^
game.Players.PlayerAdded:connect(function(newPlayer)

if newPlayer:IsInGroup(groupid) then
newPlayer.TeamColor = game.Teams.GroupTeam.TeamColor

--change GroupTeam to the name of your group team

--ex:game.Teams.EpicLeague.TeamColor


newPlayer:LoadCharacter()--ensures that he spawns on the spawn

else

newPlayer.TeamColor = game.Teams.NonGroupTeam.TeamColor

--I think u get it

end
end)


make sure that the spawn for GroupTeam has auto assignable off
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting 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