I have made a LocalScript in Workspace that is going to become a free model. I do not know why, but it is not changing the parent of the script to StarterPlayerScripts.

MessageColor = BrickColor.new("Really red") -- Chat color. Replace Really red with the color you want. It must be a BrickColor. Do not delete the quotation marks.


script.Parent = game.StarterPlayer.StarterPlayerScripts
while true do
wait(1)
game.StarterGui:SetCore("ChatMakeSystemMessage", {
    Text = "[SYSTEM] Welcome to HD Admin House! Please like and favorite if you enjoyed the game!";
    Font = Enum.Font.Cartoon;
    Color = MessageColor.Color;
    FontSize = Enum.FontSize.Size96;    
})
wait(60)
game.StarterGui:SetCore("ChatMakeSystemMessage", {
    Text = "[SYSTEM] Welcome to HD Admin House! Please like and favorite if you enjoyed the game!";
    Font = Enum.Font.Cartoon;
    Color = MessageColor.Color;
    FontSize = Enum.FontSize.Size96;    
})
end

2 comments

0

You can't set the script's own Parent to something else. You need to manually move it into StarterPlayerScripts when you insert it through Free Models or use a Script to move in there. The former requires insanely less effort.

0

Thanks.