Hello i want to know how could i parent a instance to the player and parent another instance to the workspace? i am learning to scripts
You’re a little vague but is this what you mean?
game.Players.PlayerAdded:Connect(function(player)
local newPlayerInstance = Instance.new('YourInstance')
newPlayerInstance.Parent = player
local newWorkspaceInstance = Instance.new('YourInstance')
newWorkspaceInstance.Parent = workspace
end)
1 Like
I do not know why you call me lazy, I am just asking for help since I was looking and tried on my own and did not achieve a good result, but well it does not matter, anyway thank you very much for helping me
I did not… not at all
Your description though wasn’t very specific and it would be nice if you clarified a little bit more.
1 Like
It’s ok no problem! is that I am learning to program, I have a long way to go but that are things that help a lot