#How can I make a pet dissapear when collides with another part?
6 messages · Page 1 of 1 (latest)
@frank ferry
local part = game.workspace[yourPartNameHere]
part.Touched:Connect(function()
--do stuff
end)
local part = game.workspace[yourPartNameHere]
part.Touched:Connect(function(hit)
if hit:IsA("BasePart") then
hit:Destroy()
end
end)
** You are now Level 1! **