Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

I was wondering how I could fix my script?

Asked by 10 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

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

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 Andalf 100 — 10y
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: TheAmazingKoolkid 0 — 10y
0
So I added the code. Help it helps :) TheAmazingKoolkid 0 — 10y
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. MrNicNac 855 — 10y
View all comments (2 more)
0
I put the code on Pastebin to save all of our eyes. User#11893 186 — 10y
0
Sorry guys. I feel so sad now. But if you can help me..... TheAmazingKoolkid 0 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago
---This is not working, but just an idea of the thing you would use

plrs = game.Players:GetPlayers
tagged = plrs[math.random(1,#plrs))]
0
Thanks! You helped me. I hope it can get one out soon! TheAmazingKoolkid 0 — 10y
Ad

Answer this question