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: Script only works offline...

Previous Thread :: Next Thread 
RogueBob is not online. RogueBob
Joined: 22 Nov 2009
Total Posts: 178
31 Aug 2011 05:36 PM
v = victim:GetChildren()
for f = 1,#v do
if v[f].className == "CharacterMesh" then
v[f]:Remove()
end
end
p = script:GetChildren()
for i = 1,#p do
if p[i].className == "CharacterMesh" then
p[i]:clone().Parent = victim

end
end


This script is supposed to remove your current bodymesh and replace it with the meshs inside of the script when a button is clicked. It works perfectly in test mode, and offline mode. This script only loads an arm and a leg, or other body parts, but never the whole thing, in online mode. What can I do to make all the body parts load online?
Report Abuse
2WOOF2 is not online. 2WOOF2
Joined: 07 Aug 2009
Total Posts: 3444
31 Aug 2011 05:53 PM
Victim...? O_e

¤שׂøøŦ¤ ಠ_ಠ <·me |--| you·> ಥ_ಥ ¤Just shoot for the stars If it feels right Then aim for my heart¤
Report Abuse
RogueBob is not online. RogueBob
Joined: 22 Nov 2009
Total Posts: 178
31 Aug 2011 06:18 PM
victim is defined as script.Parent.Parent.Parent.Player.Character
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