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

What is there wrong? "Argument 1 missing or nil" [closed]

Asked by 6 years ago

What is here wrong?

game.Workspace.Timer.Changed:Connect(function()
    script.Parent.Text = game.Workspace.Timer.Value
end)

game.Workspace.Timer.Changed:Connect(function()
    if game.Workspace.Timer.Value == 0 then
        script.Parent.Parent.Parent.TPGUI.Frame:TweenPosition(UDim2.new(0.349, 0,0.331, 0))
    end

end)

game.Workspace.Simon.Players.Changed:Connect(function()
    local simon = game.Workspace.Simon
    if simon.Players.Value >= 2 then
        script.Parent.Text = "Game is starting in some seconds.."
    else
        script.Parent.Text = "Not enough players to start 2 players are begin needed in 30 Seconds Countdown will restart.."
        game.Workspace.Timeout.Script.Start:InvokeServer()

    end
end)
0
How can we help if you do not give any info and just post code with whats wrong User#5423 17 — 6y

Closed as Non-Descriptive by User#5423

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?