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

Possible to make it unable for players to hit the reset button?

Asked by
22To 70
9 years ago

IM trying to stop players from opening menu to click reset.. how can i do so?

I tried using the ReplicatedFirst Way

game.ReplicatedFirst:RemoveDefaultResetButton()

1 answer

Log in to vote
0
Answered by
ImageLabel 1541 Moderation Voter
9 years ago

You could break the CoreGui element's reset button by re-naming the player's Humanoid. If you need the Humanoid for damage, I believe just referencing to the new name when damaging players should keep it all functional.


Re-naming
game.Players.PlayerAdded:connect(function (player)
    player.CharacterAdded:connect(function (character)
        humanoid = character:WaitForChild('Humanoid')

        humanoid.Name = 'Nova'
    end)
end)
Damaging (untested)
local humanoid = character:WaitForChild('Nova')
humanoid:TakeDamage(15)
0
How do you do the special letter font's an stuff?! EzraNehemiah_TF2 3552 — 9y
0
Markdown ImageLabel 1541 — 9y
Ad

Answer this question