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: Body Parts Question

Previous Thread :: Next Thread 
frommage is not online. frommage
Joined: 22 Apr 2014
Total Posts: 100
24 Apr 2014 05:11 PM
What do you refer to in Lua for the Left leg and right leg and left arm and right arm of a character
example: :s game.Workspace.frommage.Torso.Transparency = 1
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
24 Apr 2014 05:15 PM
Character["Right Arm"]
Character["Right Leg"]

etc
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
24 Apr 2014 05:23 PM
:s workspace.frommage["Right Arm"].Transparency = 1
:s workspace.frommage["Left Arm"].Transparency = 1
:s workspace.frommage["Right Leg"].Transparency = 1
:s workspace.frommage["Left Leg"].Transparency = 1
:s workspace.frommage["Torso"].Transparency = 1
:s workspace.frommage["HumanoidRootPart"].Transparency = 1

OR

:invisible frommage

OR

:s for i,v in pairs(game.Players:GetChildren()) do
if v.Name == "frommage" then
for j,k in pairs(v:GetChildren()) do
if k:IsA("BasePart") then
k.Transparency = 1
end
end
end
end

TO MAKE VISIBLE:

:s for i,v in pairs(game.Players:GetChildren()) do
if v.Name == "frommage" then
for j,k in pairs(v:GetChildren()) do
if k.Name ~= "HumanoidRootPart" then
k.Transparency = 0
end
end
end
end

:s workspace.frommage["Right Arm"].Transparency = 0
:s workspace.frommage["Left Arm"].Transparency = 0
:s workspace.frommage["Right Leg"].Transparency = 0
:s workspace.frommage["Left Leg"].Transparency = 0
:s workspace.frommage["Torso"].Transparency = 0
:s workspace.frommage["HumanoidRootPart"].Transparency = 1

OR

:visible frommage
Report Abuse
deathkiller554 is not online. deathkiller554
Joined: 26 Jul 2011
Total Posts: 201
24 Apr 2014 11:32 PM
The title sounded a little weird at first. Lol
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