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: lose arm script

Previous Thread :: Next Thread 
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
07 Nov 2011 04:20 PM
ello... just askin if any one knew how to make it were wen u enter my game u lose an arm... reply





~littleAU999~
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
07 Nov 2011 04:21 PM
Why would you want to do that?

Also, you'd want to make them loose a arm on re-spawn probably.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
07 Nov 2011 04:23 PM
Normally, nobody would give you this script, but since it's so small, I'll make one.

    local arms = {"Left Arm", "Right Arm"}
    game.Players.PlayerAdded:connect(function(pl)
        pl.CharacterAdded:connect(function(ch)
            local arm = ch[arms[math.random(#arms)]]
            arm:remove()
        end)
    end)
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
07 Nov 2011 04:48 PM
srry i meant left arm so then Electric if i wanted to do that the script would look like this?:


local arms = {"Left Arm"}
game.Players.PlayerAdded:connect(function(pl)
pl.CharacterAdded:connect(function(ch)
local arm = ch[arms[math.random(#arms)]]
arm:remove()
end)
end)



is this right?
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
07 Nov 2011 04:52 PM
Yes, though now it has some extra code... Whatever, I don't feel like editing it, it still works.
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
07 Nov 2011 05:01 PM
thx ill test
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