Answers for "delete part on touch roblox"

Lua
0

delete part on touch roblox

function onTouched(hit)
2	if hit.Name == 'BuildingBrick' then
3	hit:Destroy()
4	end
5	end
6	script.Parent.Touched:connect(onTouched)
Posted by: Guest on February-17-2020
0

delete part on touch roblox

function onTouched(hit)
2	if hit.telepad == 'BuildingBrick' then
3	hit:Destroy()
4	end
5	end
6	script.Parent.Touched:connect(onTouched)
Posted by: Guest on March-23-2021

Browse Popular Code Answers by Language