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 to make spawn with suit?

Previous Thread :: Next Thread 
4Ever01 is not online. 4Ever01
Joined: 14 Jul 2011
Total Posts: 5
29 Jul 2011 07:00 PM
i'm meaning when spawn i'll were auto shirt
like call of robloxia-black ops
vortex security fort vulcan
etc.
Report Abuse
CODsniperkid is not online. CODsniperkid
Joined: 17 Jul 2009
Total Posts: 872
29 Jul 2011 07:02 PM
It would be a game.Players:PlayerAdded script.

function onEnter()
CODE
game.Players.PlayerAdded:connect(onEnter)
Report Abuse
Cliff86 is not online. Cliff86
Joined: 01 Mar 2008
Total Posts: 216
29 Jul 2011 07:05 PM
and he wants on spawn not on enter:

function s(c)
--stuff
end

function e(p)
p.CharacterAdded:connect(s)
end

game.Players.PlayerAdded:connect(e)
Report Abuse
pauljkl is not online. pauljkl
Joined: 23 Oct 2008
Total Posts: 9364
29 Jul 2011 07:06 PM

local function respawned(character,newguy)
if character:FindFirstChild("Shirt") then
character.Shirt.Texture = "ASSETCODE1HERE"
else
local a = Instance.new("Shirt",character)
a.Texture = "ASSETCODE1HERE"
end
if character:FindFirstChild("Pants") then
character.Shirt.Texture = "ASSETCODE2HERE"
else
local a = Instance.new("Pants",character)
a.Texture = "ASSETCODE2HERE"
end
end
game.Players.PlayerAdded:connect(function(newguy)
newguy.CharacterAdded:connect(function(character) respawned(character,newguy) end)
end)


Report Abuse
4Ever01 is not online. 4Ever01
Joined: 14 Jul 2011
Total Posts: 5
05 Aug 2011 08:37 PM
can you gave me with script?i'm not under stand
Report Abuse
JiggedyJam is not online. JiggedyJam
Joined: 01 Apr 2010
Total Posts: 4611
05 Aug 2011 08:56 PM
In other words, he has no idea how to and he's requesting.
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