I want to make TextButton that will unanchor my part, but when I click on the gui my part is still anchored. Nothing is showing up in output. I put LocalScript in TextButton at StarterGui. Here is the script:
local MainGui = script.Parent
local TextButton = MainGui.TextButton
TextButton.MouseButton1Up:Connect(function()
game.Workspace.Dice1.Anchored=false
end)

2 comments
What exactly is the issue?
Try catching the error and editing your question.