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

I need help with my round script in fnaf game,can you help?

Asked by
ipi119 -2
3 years ago

Hi dear developers i need help with my game. I am currently making a FNAF game. Things i want in this script - Random killers in each round! -intermission sound -leaderboard with points and survivals thats saves after joining another server -TweenStyle of messages when they appear -List of players who survived round!

local RoundTime = 120
local IntermissionTime = 5



wait(5)
while true do
    _G.Intermission = true
    wait(IntermissionTime)
    _G.Intermission = false
    for i, v in pairs(game.Players:GetChildren()) do
        local X = math.random(-150, 150)
        local Z = math.random(-150, 150)
        v.Character:MoveTo(Vector3.new(X, 5, Z))
    end
    local time = RoundTime
    for i = 1, RoundTime do
        wait(1)
        time = time - 1
        -- delete the "--[[ and --]]" on the next 3 lines if you have a Gui in starterGui with the default name, not changed.  It must be a screengui in startergui with a textlabel and nothing else.
        --[[
        for i, v in pairs(game.Players:GetChildren()) do
            v.PlayerGui.ScreenGui.TextLabel.Text = time
        end
        --]]
    end
end

And also i need someone who can help me with power mechanic! Also if something is wrong with script you can improve it!

1 answer

Log in to vote
0
Answered by 3 years ago

I'm very sorry, but this is ScriptingHelpers not ScriptingMakers, if you want to ask that kind of question I think you should ask in different website or simply me on discord

Blue Duck#8902

0
well other sides dont allow amateurs to write,well i am noob of scripting so it would be cool if you can help then ipi119 -2 — 3y
Ad

Answer this question