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: join game script help

Previous Thread :: Next Thread 
haydenben3 is not online. haydenben3
Joined: 27 Nov 2010
Total Posts: 165
22 Sep 2012 11:49 PM
game.Players.PlayerEntered:connect(function(player)
player:WaitForDataReady()
-- if VIP, then
game.Lighting.VIPWeapon:Clone().Parent = player.StarterGear
-- end if VIP
end)


where would you put the weapon id and the vip shirt?
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
22 Sep 2012 11:50 PM
weapon id?
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
22 Sep 2012 11:52 PM
He means inserting it, which I have no idea how to...
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
22 Sep 2012 11:53 PM
Put the weapon in the backpack too, otherwise the player will have to reset to get it. Also, when Roblox says the data is ready, that doesn't include Tshirts, clothes, etc, so you'd have to have a repeat wait() until the tshirt is loaded to check if they're vip, if not, no one will be vip.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Sep 2012 12:02 AM
Wait, if you want to insert something(a tool) use this:

g = game:GetService("InsertService"):LoadAsset(AssetIDHere)
for i,v in pairs(g:GetChildren()) do
v.Parent = game.Players.NameHere.Backpack
end

http://www.roblox.com/CeaselessSouls-Admin-Commands-Gui-based-item?id=92856199 -- Take one and enjoy! Read the description, has a lot of information.
Report Abuse
Nagrath99 is not online. Nagrath99
Joined: 26 Mar 2011
Total Posts: 1537
23 Sep 2012 12:05 AM
Or.. put it in the StarterPack instead of Startergear.





:)
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Sep 2012 12:06 AM
Nag, he meant for certain people.. Not everyone.

http://www.roblox.com/CeaselessSouls-Admin-Commands-Gui-based-item?id=92856199 -- Take one and enjoy! Read the description, has a lot of information.
Report Abuse
sirsavary is not online. sirsavary
Joined: 27 May 2008
Total Posts: 1222
23 Sep 2012 12:22 AM
I don't see why we need to load the asset.

OP,
tool = game.Lighting.VIPWeapon:Clone()
tool.Parent = player.StarterGear
tool:Clone().Parent = player.Backpack
Join the Tamerac RPG Beta Group for exclusive updates!
Report Abuse
Nagrath99 is not online. Nagrath99
Joined: 26 Mar 2011
Total Posts: 1537
23 Sep 2012 12:24 AM
Cease..

-- if VIP, then
game.Lighting.VIPWeapon:Clone().Parent = player.StarterGear
-- end if VIP


Notice the " -- " 's ???

That means he isn't including the VIP Check.

Unless he mistakenly put that there..
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
23 Sep 2012 10:33 AM
No, what I think he means is that he's going to put it in, but wants to make sure something else works first, that is something I sometimes do.

http://www.roblox.com/CeaselessSouls-Admin-Commands-Gui-based-item?id=92856199 -- Take one and enjoy! Read the description, has a lot of information.
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
23 Sep 2012 11:11 AM
Pay attention.
"game.Lighting.VIPWeapon:Clone()"

The weapon is already in the lighting; it doesn't need to be inserted.
Report Abuse
haydenben3 is not online. haydenben3
Joined: 27 Nov 2010
Total Posts: 165
25 Sep 2012 02:16 AM
I know about it in the light so you just put in the script of the vip shirt and it will give you the swoard?
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