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 » Game Design
Home Search
 

Re: I'm trying to make a morphing character script.

Previous Thread :: Next Thread 
coolcoolzombiedude is not online. coolcoolzombiedude
Joined: 11 Jun 2011
Total Posts: 20187
17 Jun 2016 06:52 PM
For some game I'm working on, but when I think I had it right it just doesn't work. (I'm very new to scripting btw) Does it look like anything is wrong with this script?


game.Workspace.ChildAdded:connect(function(plr)
local name = plr.Name
local playerinplayers = game.Players:FindFirstChild(plr.Name)
if playerinplayers ~= nil then
playersinplayers.CanLoadCharacterAppearance = false
plr.Head.face.Texture = "rbxassetid://8560971"
local bodycolors = Instance.new("BodyColors", plr)
bodycolors.RightArmColor = BrickColor.new("Pastel brown")
bodycolors.LeftArmColor = BrickColor.new("Pastel brown")
bodycolors.LeftLegColor = BrickColor.new("Dark stone grey")
bodycolors.LeftRightColor = BrickColor.new("Dark stone grey")
bodycolors.TorsoColor = BrickColor.Random()
bodycolors.HeadColor = BrickColor.new("Pastel")

end









end)


*Tips visor*
Report Abuse
Vexarch is not online. Vexarch
Joined: 24 May 2009
Total Posts: 7191
17 Jun 2016 06:57 PM
I'm not an expert but if this is your whole script then "bodycolors" might be an unknown variable
Report Abuse
HeIIoISteaIUsernames is not online. HeIIoISteaIUsernames
Joined: 26 Oct 2012
Total Posts: 2906
17 Jun 2016 07:06 PM
Did anyone notice that this script came from AlvinBlox?
Report Abuse
coolcoolzombiedude is not online. coolcoolzombiedude
Joined: 11 Jun 2011
Total Posts: 20187
17 Jun 2016 07:07 PM
@Vex Hmm, so just delete it?



Maybe I should try finding a thing where I can add clothes on people rather than skin colors..

*Tips visor*
Report Abuse
coolcoolzombiedude is not online. coolcoolzombiedude
Joined: 11 Jun 2011
Total Posts: 20187
17 Jun 2016 07:08 PM
@Hell Yeah it is, I'm trying to learn scripting and stuff from this guy. (Like I said, I am new after all.)




*Tips visor*
Report Abuse
Azure_Kite is not online. Azure_Kite
Joined: 26 Feb 2016
Total Posts: 612
17 Jun 2016 07:30 PM
I don't recommend learning from him tho
Report Abuse
coolcoolzombiedude is not online. coolcoolzombiedude
Joined: 11 Jun 2011
Total Posts: 20187
17 Jun 2016 07:43 PM
@Azure Well where else can I learn to make people spawn with uniforms in a game even if they reset?




*Tips visor*
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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