Ok if you have seen my recent questions you have perhaps known that I suck at scripting so I went to watch Alvin Blox for scripting tutorial. I was on episode 4 and in episode 3 he explained how to make a dice rollt hingy. So it is anchored in the sky and when you join it supposed to fall. But i wanted to make it different with the tiniest changes possible and I messed up already :/
``local dices = game.Workspace.Dices game.Workspace.FindFirstChild.Dice1.Anchored = false wait (3) game.Workspace.FindFirstChild.Dice2.Anchored = false wait (3) dices.BrickColor = BrickColor.new ("Really red")
What have I done wrong? (Don't blame me that I'm noob at scripting.) Please help thanks!
Fixed script
local dices = game.Workspace.Dices game.Workspace.Dices:FindFirstChild("Dice1").Anchored = false -- don't use . for FindFirstChild, use : And use ("") wait(3) -- no space game.Workspace.Dices:FindFirstChild("Dice2").Anchored = false -- . To : wait(3) -- no space dices.BrickColor = BrickColor.new("Really red") -- no space
Hope that helped! Its okay to made mistake in scripting Pro tip: open output to see your scripting error