Hello, I am in need of some scripts for a game in the style of Jeopardy.I need a lot of different scripts and I have 0 knowledge of anything script-related.
**-How would I make a script where it will make a round and choose 3 people as contestants and 1 host?
-How would I make a script where when the round starts it teleports the contestants and host on stage?
-How would I make a buzzer script where when a person presses their buzzer only one of the contestants can speak?
-How would I make the questions appear on a part? Changing decals on click? Every time I try this it’s not working and yes I am using the rbx-asset thing.
Side Questions
-For each script where would I place them? ( in the part, in the workspace, server script service, etc)
-For each script would they be local or regular scripts?**
That’s all Thanks :)
Scripting Helpers is for when you have a script and it doesn't work, or you want it to do something else. not for requests, like this. If you want to learn to script, there are many ways. What you are describing there is a game function. I learned how to make those by looking at minigame kits, and learning using the Wiki, and watching youtube videos.
That being said, here are a few questions answered.
For choosing 3 people, you would simply do
local players = game.Players:GetPlayers() -- This is a list of all the players local randoms = {} -- empty list for i = 1,3 do -- The script goes through numbers 1 to 3. Essentially, it does the following 3 times. local randomnumber = math.random(1,#players) -- picks a random number local randomplayer = players[randomnumber] -- picks a random player from that number table.insert(randoms,randomplayer) -- puts the player into the list of random people table.remove(players,randomnumber) -- then it removes that player from the list, so it doesn't get chosen twice. end -- that ends the loop on line 4.
Use SurfaceGuis if you want to put text on a brick.
And for teleporting, the wiki says it all.
But seriously. Scripting may look difficult. It's actually very easy. Everyone, even the greatest scripter, started off somewhere, and if you learn it for some time, it will become very simple.
Closed as Not Constructive by cabbler and UgOsMiLy
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?