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

Understanding Minigame Commands? Please don't roast

Asked by 5 years ago

Okay so my last question just got shut down basically instantly because it was too much in the form of a request. I will try to show a little more of what I've done on my side to try & create a working minigame.

First of all, before you come at me, please understand I'm very new to computer coding & I rarely understanding of whats occurring when I write these scripts, despite the fact I am trying my best. Also the fact that a lot of tutorials online are no longer working due to the software being updated really gets discouraging.

So far I have this:

game.Players.PlayerAdded:connect(function(player)
    game.Workspace:WaitForChild("NumPlayers").Value = game.Workspace:WaitForChild("NumPlayers").Value + 1
    local settings = Instance.new("Folder",player)
    settings.Name = "Settings"
    local afk = Instance.new("BoolValue",settings)
    afk.Name = "AFK"
    local leaderboard = Instance.new("Folder",player)
    leaderboard.Name = "leaderstats"
    local currency1 = Instance.new("IntValue",leaderboard)
    currency1.Name = "Credits"
    local currency2 = Instance.new("IntValue",leaderboard)
    currency2.Name = "Wins"
end)

game.Players.PlayerRemoving:connect(function(player)
    game.Workspace:WaitForChild("NumPlayers").Value = game.Workspace:WaitForChild("NumPlayers").Value - 1
end)

in the server script service.

If possible I'd like to continue working with it.

I'm asking if anyone would be nice enough to give me a short rundown on how I could incorporate timing, teleporting, a point system, a store and giving tools with what I already have.

Or a reference to a suitable place to get this information, incase I get roasted again. I just don't want to keep watching bad youtube tutorials, idk where else to turn. :/ I just want to finish >.<

Thx

0
https://developer.roblox.com/search#stq=minigame thanks I was actually just there, could you direct me to a page on minigame scripting? dav3d3utsch 2 — 5y
0
have you tried the roblox U tutorials on a murder mystery game? It was made in 2014, but most of the code works. It is a different genre of game but the mechanics are similar between a MM game and a minigame theking48989987 2147 — 5y
0
@theking48989987 ill try that thank you dav3d3utsch 2 — 5y

Answer this question