Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Changing Brick Properties?

Asked by
beastez 10
9 years ago

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

Log in to vote
0
Answered by 9 years ago

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 
0
game.Workspace.nuke = Nuke if Nuke.Touched then Nuke.Shape="Ball" end beastez 10 — 9y
0
Is that right? beastez 10 — 9y
0
I edited it for you :) CaptainRuno 40 — 9y
0
Thanks man, it means alot beastez 10 — 9y
0
no problem CaptainRuno 40 — 9y
Ad

Answer this question