#my bum hurts

1 messages · Page 1 of 1 (latest)

tribal patio
#

this shit makes no sense

#

Right so when I hover a block, let's say stone. It shows the health value, but when I switch over to coal it bugs out and they for some reason switch values even though I'm not storing them ANYWHERE so it's not technically possible

#

But when I change their positions in a folder where the values are, it just switches, so now it's the iron that's being funny when hovering stone and iron. so for some funky reason it's index 3 that's so fucked up but I'm using strings to get the values

#

5h of debugging i even printed the values when hovering. which are correct but the GUI is not

#

💀

#
local function UpdateBar(block)
    local health = block:FindFirstChild("Health")
    local maxHealth = block:FindFirstChild("MaxHealth")
    if not health or not maxHealth then return end

    TextLabel.Text = maxHealth.Value
    print(health.Value, maxHealth.Value)
    Canvas.Parent.Enabled = true
end```
#

This is the function that's responsible for printing AND changing the textlabel's value

#

As you can see, the print is always correct

#

but the text label isnt???

uneven delta
#

cant help you with that sorry, but who calls there butt a bum?

ancient stag
ancient stag
#

use a remote event to send the values to the UI

#

but if its server and server / local and local

#

use a bindable event

#

to send the print value

#

so its accurate

tribal patio
#

how to unoptimize your game

#

and it wont work

#

the values aren't off, it's roblox being funny

#

As you can see I'm printing them in the same function, the prints are correct

#

but for some funky reason the textlabel isn't

#

🤯

ancient stag
#

then change the title name

tribal patio
#

??????

ancient stag
#

how am i supposed to know its roblox being funky

tribal patio
#

bro WHAT

#

did u read

#

anything I wrote

ancient stag
#

yes

tribal patio
ancient stag
#

ok so you are either:

  • ragebaiting
  • being stupid
  • doesnt have a frontal lobe to make good decisions
#

im out

tribal patio
#

did you watch the video?

opaque orchidBOT
#

studio** You are now Level 13! **studio

tribal patio
#

You clearly can't script 😭