Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Changing Brick Properties?

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?

1 answer

✓ Accepted answer

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 

5 comments

0

game.Workspace.nuke = Nuke if Nuke.Touched then Nuke.Shape="Ball" end

0

Is that right?

0

I edited it for you :)

0

Thanks man, it means alot

0

no problem

This discussion is preserved as it was. New answers, comments, and votes are closed.