RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a roblox script where if u touch this wall it destroys it"
-- script for the wall local wall = script.Parent local function onTouch(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then wall:Destroy() end end wall.Touched:Connect(onTouch)