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: Making a team have to look like something

Previous Thread :: Next Thread 
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
09 Apr 2014 07:25 AM
Yeah, I know I can add GUI's and make more costumes but I don't want that (yet). You see, my game wasn't meant to go this far, it was just to see my scripting abilities, but, well, I guess life changes and now I need help with it urgently. Please stop viewing and start replying, even the tiniest would help (but be serious
-_-)
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
09 Apr 2014 07:43 AM
Simple:

- Get your parts for armor or morph or whatever.
- Use the PlayerAdded and CharacterAdded events
- Check if they're on whatever team
- give them the proper morph/armor/?
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
09 Apr 2014 03:14 PM
Thanks, I'll try, but can you tell me at least some lines of code please?
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
09 Apr 2014 03:19 PM
No.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
09 Apr 2014 03:49 PM
Why?
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
09 Apr 2014 03:51 PM
This is the helper's forum and I did thank you for that, so you didn't really have to reply a no.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
09 Apr 2014 03:51 PM
I just need to know how to remove and add pants e.t.c
Report Abuse
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
09 Apr 2014 03:58 PM
You'll need the :Remove() or :Destroy() methods for that.

If you have questions on scripting, go to wiki.roblox.com for answers + how to script.
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
09 Apr 2014 03:59 PM
Wolf, yes. This IS the helpers forum, but unless you want insults thrown at your face, I suggest you attempt it before you beg for a script.

#nerdsunited
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
09 Apr 2014 04:04 PM
Yh, you guys are right, thanks. I'm making it now. But I'll inform you guys later, you don't have to give me lines of codes anymore, just give me suggestions sometimes.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 02:33 AM
I have a good idea on how to do it now, but how would I remove a hat? Because in Studio all hats have different names, and that'd mean I have to write EVERY hat in the game, which might never be possible.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 02:33 AM
Well, yh it's possible, but it'd waste time for other features.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 02:35 AM
So, any, ideas on how to make it remove hats?
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
10 Apr 2014 02:37 AM
Check for the ClassName "which will be 'Hat'" then destroy it.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 02:38 AM
Ok, thanks, I'm using the wiki to help at the same time.
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
10 Apr 2014 02:42 AM
The best of luck to you.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:24 AM
My roblox studio keeps crashing when I take too long :( (just my computer). So, because i'm still fairly new, it take's time so can you guys just do this one, for me, please? All I know is that you need the get player function, find out their team with TeamColor, and a variable for the shirt and pants(in the assassin model, in workspace(Workspace.Assassin.Shirt)) and the :destroy() OR just change the texture. Just give me the script with a random shirt and pants texture, I'll edit it.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:25 AM
My computer is just bad today.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:26 AM
Yes, Assassin is a real model.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:27 AM
Forgot to say, if they are teamcolor is bright red this should only affect them.
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
10 Apr 2014 04:27 AM
It's completely against my morals to give anyone a script, unless they are a close friend, I apologies, but maybe another nice person will make you it, as far as questions you ask go, I will still answer those if I am on when they are posted, have a great day/night.
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:30 AM
Thanks anyway, I am still trying.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
10 Apr 2014 04:33 AM
For the hat

for _,v in ipairs(Workspace.warspyking:GetChildren()) do
if v.ClassName == "Hat" then
v:Destroy()
end
end

Simple enough right?
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:33 AM
I just replied, because it kept on saying you posted a new comment...
Report Abuse
WolfRazer is not online. WolfRazer
Joined: 17 Jan 2013
Total Posts: 127
10 Apr 2014 04:34 AM
Thank you.
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