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: Is there something wrong with this script?

Previous Thread :: Next Thread 
darkeness is not online. darkeness
Joined: 27 Apr 2010
Total Posts: 165
25 Apr 2013 04:19 PM
local players = game.Players.LocalPlayer

if game.Lighting.Brightness == 1 then
wait(0.01)
game.Lighting.LeftArm:Clone() = players.Character.["Left Arm"]
game.Lighting.LeftLeg:Clone() = players.Character.["Left Leg"]
game.Lighting.RightArm:Clone() = players.Character.["Right Arm"]
game.Lighting.RightLeg:Clone() = players.Character.["Right Leg"]
game.Lighting.Chest:Clone() = players.Character.["Torso"]
end

I tried it in SOLO mode and looked at the output it say anything wrong? But the Models I am trying to clone wont be in my Character when I spawn. This is in a local script that is in the startergui and my brightness is at 1. If there is another way to have a morph on spawn could someone help?
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
25 Apr 2013 04:21 PM
Yeah... there's quite a bit... What exactly are you trying to do?
Report Abuse
darkeness is not online. darkeness
Joined: 27 Apr 2010
Total Posts: 165
25 Apr 2013 04:24 PM
@robotestgear

To have the Models in the Players as their new Limbs/Bodyparts instead of the original limbs/bodyparts but it wont clone into the player
Report Abuse
darkeness is not online. darkeness
Joined: 27 Apr 2010
Total Posts: 165
25 Apr 2013 04:25 PM
Pretty much like a morph.
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
25 Apr 2013 04:30 PM
Right so.. I believe this is a bit advanced for you, but here's what I am thinking..

You'll need to run a loop threw all the players characters. Remove all the character parts without killing the player. And replace the welds that hold togather the head and what not.


OR Just change the body parts variables into the ones inside the body parts in lighting.
Report Abuse
darkeness is not online. darkeness
Joined: 27 Apr 2010
Total Posts: 165
25 Apr 2013 04:47 PM
Okay I will try that out.
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