This script spits out an error, and I am unsure if it is because I’m not premium, or if it is because I messed something up in my script?
local players = game:GetService("Players")
players.PlayerAdded:connect(function(player)
if player.MembershipType == Enum.MembershipType.Premium then
script.Child:Clone().Child = game.Workspace.Characters --Move "DUMB" (wip name) into Characters folder so they can appear.
end
end)
end
end)
Error:
The intended behavior for my script is to have a character appear in my game when a premium player joins; preferably organizing itself into being in the “Characters” folder.
(“Dumb” is a beta name, and will not be the final name for the character)
local players = game:GetService("Players")
players.PlayerAdded:connect(function(player)
if player.MembershipType == Enum.MembershipType.Premium then
script.Child:Clone().Child = game.Workspace.Characters --Move "DUMB" (wip name) into Characters folder so they can appear.
end
end)