Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

this script is printing the things but the things its supposed to do are not working?

Asked by
FBS_8 25
3 years ago
game.Players.PlayerAdded:Connect(function(player)
    player.Chatted:Connect(function(msg)
        if msg == "Tha deite tora" then
            print("msg received")
            if player.Name == "FBS_8" then
                print("fire enabled")
                local fire = script.Parent.Fire:GetChildren()
                fire.Enabled = true
                wait(1.5)
                print("kill enabled")
                script.Parent.KillPart.kill.Disabled = true
                print("kill disabled, fire disabled")
                fire.Enabled = false
                wait(1)
                script.Parent.KillPart.kill.Disabled = true
            end
        end
    end)
end)
0
Is this a localscript or a normal script? poop07393cfhi3n2222 4 — 3y
0
I already fixed it FBS_8 25 — 3y

Answer this question