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
 

Re: How to give whenever a certain player joins an asset

Previous Thread :: Next Thread 
CamTheCanadian is not online. CamTheCanadian
Joined: 07 Feb 2012
Total Posts: 508
26 Feb 2017 01:45 AM
Hi, i'm wondering how/if I can make a script that whenever a certain player joins the game, it gives them a certain hat asset, if someone knows the script please tell me! Thanks!


#code Beginner Scripter, Awful builder, Happy Robloxian
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
26 Feb 2017 01:50 AM
Use InsertService:LoadAsset


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow me on twitch: twitch.tv/austinrblx
Report Abuse
CamTheCanadian is not online. CamTheCanadian
Joined: 07 Feb 2012
Total Posts: 508
26 Feb 2017 02:05 AM
I'm new to scripting, can you give me that in context please? :P


#code Beginner Scripter, Awful builder, Happy Robloxian
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
26 Feb 2017 02:06 AM
http://wiki.roblox.com/index.php?title=API:Class/InsertService/LoadAsset


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow me on twitch: twitch.tv/austinrblx
Report Abuse
CamTheCanadian is not online. CamTheCanadian
Joined: 07 Feb 2012
Total Posts: 508
26 Feb 2017 02:18 AM
Lol sorry, let me rephrase I meant it wrong in the title...

I mean, how do I put a hat model on a character when they join the game. This is what I have, i'm looking on the page on the wiki and I think I messed up a lot :P

I'm trying to get it whenever a certain player (e.g. Shedletsky) joins the game, and then they automatically wear a certain hat model.


#code Beginner Scripter, Awful builder, Happy Robloxian
Report Abuse
iiBrxdy is not online. iiBrxdy
Joined: 06 Apr 2013
Total Posts: 23
26 Feb 2017 02:34 AM
WHEN PLAYER.NAME = JOHN SO
CLONE:JOHN.HAT == PLAYER.NAME END
END
END
END)


HOPE HELPS!!
Report Abuse
CamTheCanadian is not online. CamTheCanadian
Joined: 07 Feb 2012
Total Posts: 508
26 Feb 2017 03:02 AM
erm didn't help much lol


#code Beginner Scripter, Awful builder, Happy Robloxian
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