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

I was wondering how I could fix my script?

OK so, I made a script to choose 2 people to be a "Speacial" out of a group of the entire game. I was learning how to code the script from looking at other scripts (like hide and seek scripts, and "Player is it," scripts.) And I finally made one but when I try it it dosn't work. Any help?

So here is a bit of my code: Link

6 comments

1

Please post the code so that we can look at it, if it gives any errors it'll be helpful if you provide the output as well

0

OK, well when I try it the game jsut sits there and nothing happens. If I can find the script i'll post it. I may of deleted it. D:

0

So I added the code. Help it helps :)

0

You need to format your code and make it easier to read for other people. Use the markup that SH has provided. Please do not expect people to bend to fit your issues.

0

I put the code on Pastebin to save all of our eyes.

0

Sorry guys. I feel so sad now. But if you can help me.....

1 answer

---This is not working, but just an idea of the thing you would use

plrs = game.Players:GetPlayers
tagged = plrs[math.random(1,#plrs))]

1 comment

0

Thanks! You helped me. I hope it can get one out soon!

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