So I wanted to make a text button to unanchor dice for a dice game. I have scripted something but it's not working.
local Dice1 = game.Workspace.Dices.Dice1 local Dice2 = game.Workspace.Dices.Dice2
script.Parent.MouseButton1Click:Connect (function() Dice1.Anchored = false
Wait(0.5)
Dice2.Anchored = false
End)

1 comment
and do Wait(0.5) into wait(0.5)