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

How to prevent resetting? [closed]

Asked by 10 years ago

Hello. There was recently a question on something related to this, but the answers weren't what I needed to know, so I figured I'd give it the spin I need.

Anyway, I've seen it done before, where you cannot reset when you try.

Is there a way to pragmatically do this? The context is a game where players get killed often, if you need more info.

Locked by Articulating

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

4 answers

Log in to vote
4
Answered by 10 years ago

If you rename humanoid, they cannot reset anymore. That's the only effective way I know of.

Ad
Log in to vote
0
Answered by 10 years ago
local humanoid = player.Character:WaitForChild("Humanoid")
humanoid.Name = "noresettingforyou"
end

should work ;)

0
WAIT NO THAT WON'T WORK. Sorry bro can't help but zars15 is right Shaydesilva 85 — 10y
0
downvote? I admitted I had made a mistake.. Shaydesilva 85 — 10y
Log in to vote
0
Answered by 10 years ago
while wait() do
    local char = player.Character
    if char and enabled then
        if char:findFirstChild("Humanoid") then
            char.Humanoid.Name = "humanoid"
        end

Put into StarterPack

Log in to vote
-3
Answered by 10 years ago

zars, there is no humanoid in studio .-.

I just checked, no humanoid