anchoring script in lua
snippet in lua

anchoring script in lua

user8615

local MyPart = game.Workspace.Part --[ Replace "Part" With Your Part Name]--
MyPart.Anchored = true --[ Set it To false To Turn off The Anchores ]--