Perci1Join Date: 2011-01-24 Post Count: 1027 |
When using the :god command in kohl's admin, there is a glitch that started when the new health bar was released.
I'm not exactly sure how :god works, but it basically makes you impossible to damage, like a FF but without the blue circle. However, when the new health bar was released, when you :god someone they see a big red GUI on the left of their screen.
However, it is not a true Roblox GUI because when I did this after :godding myself, :s game.Players.Perci1.PlayGui:remove(), I still saw the red blob.
This is very annoying, please fix it. |
|
Ulrakid11Join Date: 2010-12-31 Post Count: 1587 |
Those commands are outdated. What you are seeing is the blood gui that appears when you die. All that needs to be done is for the commands to be updated. It's not roblox's fault, its the game creator's. |
|
|
Health bar is now a core gui.
http://wiki.roblox.com/index.php?title=SetCoreGuiEnabled_(Method)
http://wiki.roblox.com/index.php?title=CoreGuiType
:God works by giving you math.huge maxhealth and math.huge health (Infinity)
That breaks the healthbar. |
|
Ulrakid11Join Date: 2010-12-31 Post Count: 1587 |
No it gives you no health. Math.huge wouldn't glitch it. |
|
Ulrakid11Join Date: 2010-12-31 Post Count: 1587 |
I meant no health and no maxhealth |
|
|
@Ulr
That would kill you. And you would still take damage, and then die.
I just tested both.
They both give a big red box, but 0 kills you.
|
|
Ulrakid11Join Date: 2010-12-31 Post Count: 1587 |
The problem is that the script is wrong. It's not really roblox's fault. Maybe if godding yourself regened your health very fast and gave you a lot of it, then it would work. But it isn't roblox's fault. |
|
|
I didn't say it was roblox's fault.
I showed him how to disable the new health bar
Then randomly told him how god mode works since he didn't know.
MaxHealth divided by Health is how the health bar decides size
Infinite divided by infinite = -infinite
0 / 0 = -inf |
|
Ulrakid11Join Date: 2010-12-31 Post Count: 1587 |
That's actually wrong. Infinity over infinity is 1. Then, the frame containing the health bar is filled, because the bar is set to {1,0},{1,0}, or filling the whole space. |
|
|
|
To be more exact, its -nan
Or
-Not a number |
|
Ulrakid11Join Date: 2010-12-31 Post Count: 1587 |
Dude, I have worked with GUIs. I know how they work. The first term in each pair is the size relative to the screen, or frame. The second term is the size in pixels. You usually just pick one. |
|
|
And I know how they work also.
But put this into the command bar
print(math.huge / math.huge)
Output -idn
(It would say -nan in regular lua, not sure why roblox changed it, its just another way to say -nan) |
|
Perci1Join Date: 2011-01-24 Post Count: 1027 |
Well, it is not outdated since every group I know of still use Kohl's admin. Also, the old health bar did not have this problem. |
|
|
@Pre
Yes, it did.
Just not as big of a problem. |
|
|
I got the same problem, and made a same argument on problem. Needless to say, i support. Oh btw, kohls is not outdated. And no matter what admin or hack you use alike, you cannot god yourself without a giant red blip blocking half your screen. EITHER FIX THE HEALTHBAR OR REPLACE IT WITH THE OLD ONE ROBLOX. |
|
|
Or, the people could fix their admin. |
|
|
God dammit scriptural you know how dumb you sound? Its not the peoples fualt that a giant red screen blocks half their screen, its roblox's fualt. You try to make a god mode without red screen if you think its so easy. |
|
|
|
Tested, Works, Command "/g"
local Admins = {"128GB", "128Gigabytes"}
function Chatted(Player, Message)
if Message:lower() == "/g" then
ypcall(function()
Player.Character.Humanoid.MaxHealth = tonumber(string.rep("9", 39))
wait(0.3)
Player.Character.Humanoid.Health = tonumber(string.rep("9", 39))
end)
end
end
Game.Players.PlayerAdded:connect(function(Player)
for _, Name in pairs (Admins) do
if Player.Name:lower() == Name:lower() then
Player.Chatted:connect(function(Message)
Chatted(Player, Message)
end)
end
end
end) |
|
|
"not roblox's fault, its the game creator's"
its not the game its the commands
and since kohl is banned he cant update them, so its not his fault either
|
|
|
@Spooeh
Edit them yourself then |
|
|
On Khols change lines 1155 and 1556 to this
v.Character.Humanoid.MaxHealth = tostring(string.rep("9", 39))
v.Character.Humanoid.Health = tostring(string.rep("9", 39)
fixed |
|
|
i didnt ask for help, im saying that its not kohls fault |
|
|
The help wasn't so much directed at you as everyone, mostly op |
|