So i'm trying to make this script and my idea was to have the brick change from a part to lets say a sphere, and whenever I try to make a function that changes what type of brick it is, it never works can someone please tell me how to change it?
Its under "Part" in the properties
game.Workspace.Part.Shape = "Ball"
local nuke = game.Workspace.Nuke function onTouch() -- onTouch functions nuke.Shape = "Ball" end nuke.Touched:connect(onTouch)--when touched do onTouch function