Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

math.Random~I know I asked a question similar but Ive made some changes please help?

I know I asked a question similar but Ive made some changes and its still not working Please help?

arm =  zombie:FindFirstChild("Left Arm")
local players = game.Players:GetPlayers()
zombie = players[ math.random(1, #players) ]
playerChosen = players [zombie]
zombie.Character.arm:remove()


1 comment

0

Still not working

1 answer

✓ Accepted answer

playerChosen is unnecessary and incorrect; just remove it.


The arms are called "Left Arm" and "Right Arm":

zombie.Character["Left Arm"]:Remove()

While lowercase remove works, the uppercase Remove is preferred.

This discussion is preserved as it was. New answers, comments, and votes are closed.