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 11 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 11 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 11 years ago
1local humanoid = player.Character:WaitForChild("Humanoid")
2humanoid.Name = "noresettingforyou"
3end

should work ;)

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

Put into StarterPack

Log in to vote
-3
Answered by 11 years ago

zars, there is no humanoid in studio .-.

I just checked, no humanoid