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)
Hi, your script is correct.
There might be an issue where the dice is welded that's why it doesn't move at all.
local MainGui = script.Parent local TextButton = MainGui.TextButton TextButton.MouseButton1Up:Connect(function() game.Workspace.Dice1.Weld:Destroy() game.Workspace.Dice1.Anchored=false end)