I have no idea where to start.
Try putting this in your wall ;8 Hope it works.
function onTouched(hit) hit.Parent.ForceField:Destroy() end script.Parent.Touched:connect(onTouched)
This is simple,
Let's start with the Touched Event
,
script.Parent.Touched:connect(function(part) --Code later end)
The touched event returns the part that touched whatever it's detecting.
Let's get the parent and look for a force field in the parent,
-- Regular Script script.Parent.Touched:connect(function(part) if part.Parent:FindFirstChild("ForceField") then -- code later end end)
Here's a link to a gif of what the Force Field looks like inside of the character,
Now that we know the Force Field exists, let's delete it,
-- Regular Script script.Parent.Touched:connect(function(part) if part.Parent:FindFirstChild("ForceField") then part.Parent:FindFirstChild("ForceField"):Destroy() end end)
And that's about all!
I Hope I Helped!
Good Luck!
Closed as Not Constructive by M39a9am3R
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?