#My Thirst System is just broken
1 messages · Page 1 of 1 (latest)
** You are now Level 1! **
Why no help
.
It's probably because of the while loop
Maybe you should remove player.Parent from the if statement: if player and player.Parent then
I'm not fully sure but I'll continue checking
Also because of this the value won't change
I think I got it
You see in the 19th line of the leaderstats script I assume, you typed Humanoid.health when it's supposed to be Humanoid.Health
Oh and in the updatethirst() function the word Background is written BackGround twice wich is erong
** You are now Level 6! **
@rustic rover
?
Also in the 4th line of updatethirst() function script you checked for Thirst value in the player, but your leaderstats say it's name is thirst not Thirst
Your welcome 😁
Thx
E
Also you can't drink water because you are getting the EatFoodEvent not the DrinkLiquidEvent you fired from the tool
So what do i have to replace in the thristserver
You change the EatFoodEvent to DrinkLiquidEvent in the first script you sent
Ya im sort of new to coding honestly
** You are now Level 2! **
Your scripts are great, no worries. I might seem experienced and all but your using some codes that I didn't even know about for example math.clamp
Do you know what that does?
Nope
Oof
Now i made things worse somehow

JUST WHY
Wait
I think i found another error
Now i have 1 error
YES
IT GOES DOWN

Now its 0
But i gotta now do the fireserver smth
But how do i change that
@leaden isle
The words in-between the "" quotation marks change them to DrinkLiquidEvent
Alr
I think it was already like dat
It says EatFoodEvent from the screenshot you sent
Thx i just oversee thingd alot
It's ok
Huh
So it shows that the water does destory which means it does work but it wont register the liquid as drank in which it increasees my thirst gar
** You are now Level 3! **
NOW I GOT IT
IT WORKS
YES
THX
But say is there a way in which i can sort of have the water bucket replaced by one with less space
Your welcome 🤗😁
as in,
a resized one?
ye just the water
oof
that might be difficult
you knpw how to adapt stuff into ur own systems without too many probelms?
cus thats def a skill ur going to need now
just for that
unless you want a less optimal solution
but somehow better cus no brainstorming
I'm confused, how are you using math.clamp if you don't know what it does?
So i was reviewing the code and knew it was between a minimum and a maximum
did you not write this yourself?
lemme guess... ai
basically the same thing ngl
I prefer to follow tutorials as they teach me stuff instead of those modern ones that give out the model
well as long as you build on it, change it and make it your own, it'll be worth something 👍
With a.i people don't learn much just copy and paste
True
And dont forget those yt videos that give out the model of what u want
“Want a fully pvp bat game? Clcik the link to get the model”
Xd yeah
At this point some people dont deserve to market stuff on the market place
Cuz coding is risky
But u made it opensource
hello world