RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Write me a script that extinguishes the player that is on fire after touching a part"
-- Put this script inside the part that extinguishes the fire local part = script.Parent local function extinguishFire(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local character = player.Character if character then local fire = character:FindFirstChild("Fire") if fire then fire:Destroy() end end end end part.Touched:Connect(extinguishFire)