#how do i change color of a object with script

24 messages · Page 1 of 1 (latest)

rough quartz
#

There is no tutorial online?

#

I can try. I'm also a noob:(

#

ok sorry

#

here is a video

#

anyway

#

yes good luck

#

that I don't know how to change

#

Sorry

#

ok

gloomy moat
#

print(9*9) isnt gonna work i think

#

has to be a variable

worn sinew
#
print(9 * 9) -- this is 81 why do you need it
if 81 then -- 81 will always be 81, theres no reason for this
    game.Lighting.ClockTime = 3
    if 81 then -- same here
        game.Workspace.Baseplate.Material = "Neon" -- both of these lines need to be changed a bit
        game.Workspace.Baseplate.Color = "Really red"
    end
end
-- try this instead
game.Lighting.ClockTime = 3
game.Workspace.Baseplate.Material = Enum.Material.Neon
game.Workspace.Baseplate.Color = BrickColor.new("Really Red")

if you can be more specific on what you're trying to do with those if statements i can help more

gloomy moat
#
local math_thingy = 8 * 8
  if math_thingy = 81 then
worn sinew
#

9 * 9 will never not be 81

gloomy moat
#

just put it inside there

worn sinew
#

me when

if true then
end
gloomy moat
#

what

#

show the script

#

it worked after i removed the 2nd end

worn sinew
#

that is completely pointless why do you have the first 2 lines