Комментарии:
No... just- no...
ОтветитьWhat’s the point of this video
ОтветитьWhat???
ОтветитьLMAOOO I wasn't expecting that 😂
ОтветитьAlpha aluminum racing
ОтветитьAlright
ОтветитьBUT ALL I SAID WAS HI
ОтветитьALR also means alright
ОтветитьUmmmm?? All the vid was the word ALR...
ОтветитьWhy is the position bar broken-
ОтветитьWho else searched this up because someone said this to you lol🥲
Ответитьthat was wierd even the video was done its still talking oof
Ответитьwe should leave dislike
Ответить:D
ОтветитьA little respect
Ответитьhelpful and informative video
ОтветитьAlright
Ответить-- This script should be placed in a LocalScript inside the ScreenGui
local players = game:GetService("Players")
local player = players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local votingGui = playerGui:WaitForChild("VotingGui") -- assuming your ScreenGui is named VotingGui
local maps = {
"Map1",
"Map2",
"Map3"
}
local votes = {}
-- Initialize votes for each map
for _, map in ipairs(maps) do
votes[map] = 0
end
local function voteForMap(map)
-- Increase the vote count for the selected map
votes[map] = votes[⬤
Roblox script for a map voting system. This script assumes you have a GUI set up with buttons for each map that players can vote for. The script will tally the votes and select the map with the most votes.
1. **Setup**: Create a RemoteEvent in ReplicatedStorage named "VoteEvent".
2. **Create GUI**: Make a GUI with buttons for each map. Set the `Text` property of each button to the name of the map.
3. **Script**: Create a LocalScript inside each button to handle the voting process.
Here's a step-by-step example:
### 1. Create RemoteEvent
In ReplicatedStorage, create a RemoteEvent named `VoteEvent`.
### 2. GUI Setup
Create a ScreenGui with TextButtons for each map.
### 3. LocalScript for each button
Add a LocalScript inside each button to handle the voting process. This script will send a vote to the server when the button is clicked.
```lua
local button = script.Parent
local mapName = button.Text -- assuming the button's text is the map name
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local VoteEvent =
Bro this is not helping
Ответить