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

Value in event script is not calling only causes it's a nil value? [closed]

Asked by 5 years ago

game.ReplicatedStorage.CallWarn.OnServerEvent:Connect(function(player,a,p)
        local s = game.ServerStorage:WaitForChild("warning")
        local r = s:Clone()
        r.Parent = game.Workspace:WaitForChild(p).Head
        r.fg.Text = "Warning "..p.WarningCount.Value..". Reason: "..a
        p.WarningCount.Value = p.WarningCount.Value + 1
        wait(5)
        r:Destroy()
end)

i already cant do this 2 hours

0
Please do not post the same thing more than once. ForeverBrown 356 — 5y
0
Why are you putting it in the players head, put it in the players torso or humanoid and see if that changes anything. jordysboy 53 — 5y

Marked as Duplicate by User#5423

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
gloveshun 119
5 years ago

Show us what is in the localscript triggers that remoteevent

0
it triggers IntValue in player that not in folder or something and etc. boshjio15854 15 — 5y
Ad