Basically, as a player joins, I want a model to be created in ReplicatedStorage and the model be named the name of the player. Then, I want an IntValue to be created inside of that Model, so I have this script, but studio is complaining that "model" is not a valid member of ReplicatedStorage. in line 7
game.Players.PlayerAdded:connect(function(player)
local entry = player.Name
local model = Instance.new("Model", game.ReplicatedStorage)
model.Name = entry
local coins = Instance.new("IntValue")
Coins.Parent = game.ReplicatedStorage.model
coins.Name = "Coins"

1 comment
Hope I helped. Please mark as answered if I did