I would like this code to change the colour of the baseplate when a player enters. Honestly, I kinda just guess at it because it is my second script (My first was also today) and I am just trying to have some fun learning how to script.
local function player() game.Workspace.BasePlate.BrickColor = ("Bright blue") end
I also need another line at the end for when players join, as I am unsure as to what I need. Thanks!
If you want this to happen when a player enters, read up on what Events are and the PlayerAdded event. This script would do it for you.
Game:GetService("Players").PlayerAdded:connect(function(plr) Workspace.BasePlate.BrickColor = BrickColor.new("Bright blue") end)
local function player() game.Workspace.BasePlate.BrickColor = BrickColor.new("Bright blue") end