I'm new at scripting, and already I make mistakes.
So I get this problem
18:26:38.318 - Workspace.Script:3: attempt to index global 'IntValue' (a nil value)
whenever executing this script.
am = Workspace.AmmoCrate1.AmmoCrate
while true do
wait(10)
am.IntValue = IntValue.new(500)
end

1 comment
What are you trying to do?