Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

2 comments

0

Please do not post the same thing more than once.

0

Why are you putting it in the players head, put it in the players torso or humanoid and see if that changes anything.

1 answer

Show us what is in the localscript triggers that remoteevent

1 comment

0

it triggers IntValue in player that not in folder or something and etc.

This discussion is preserved as it was. New answers, comments, and votes are closed.