I test my game out on roblox studio and it works, but when I publish it and play through the roblox launcher, several things don't work any more.
local function lol()
local player = game.Players.LocalPlayer if player.TeamColor == BrickColor.new("White") and script.Parent.BrickColor ==
BrickColor.new("Medium stone grey") then
player.TeamColor = BrickColor.new("Bright blue") script.Parent.BrickColor = BrickColor.new("Bright blue") end
end
script.Parent.Touched:connect(lol)
this is one of the scripts
Closed as Non-Descriptive by Goulstem
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?