A script that is SUPPOSED to burn your legs if you touch the part.
How do I fix this error? No matter how many times I look at it, I personally don't see any errors.
part = script.Parent f = Instance.new("Fire") part.Touched:Connect(function(player) if player:FindFirstChild("Fire")~= nil then f.Parent = player end end)
You can do something like that.
part = script.Parent f = Instance.new("Fire") part.Touched:Connect(function(part) local plr = game.Players:GetPlayerFromCharacter(part.Parent) if plr and not part:FindFirstChildOfClass("Fire") then f.Parent = part end end)