while wait() do
local level = game.ServerStorage.LevelNumber.Value
local health = workspace.Level.boss.boss.Human.Health
if health < 0.5 * (health * level) then
print("Rage")
break
end
end
Doesn't seem to work? Whats wrong with it?
while wait() do
local level = game.ServerStorage.LevelNumber.Value
local health = workspace.Level.boss.boss.Human.Health
if health < 0.5 * (health * level) then
print("Rage")
break
end
end
Doesn't seem to work? Whats wrong with it?
local defaultHealth = workspace.Level.boss.boss.Human.Health
local level = game.ServerStorage.LevelNumber.Value
while wait() do
if health < defaultHealth / 2 then
print("Rage")
break
end
end
there ya go.
i believe workspace is capitalized.
while wait() do
local level = game.ServerStorage.LevelNumber
local health = workspace.Level.boss.boss.Human.Health
if health < 0.5 * (health * level.Value) then
print("Rage")
break
end
end
May work, but idk
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
line 3
Its not.