Perhaps I should have been more clear. I didn't write the script, and I don't even remember where I found it. I eventually got it to work using OnUpdate at 0.1s intervals, but I don't know how optimal that is. I'm just learning this stuff from scratch, so most of it goes right over my head. I tried your script, and it's not working.
From BugSack:
Lua Code:
1x ZaqqUI\ZaqqUI-1.0.lua:7: attempt to perform arithmetic on global 'SELF_NAMEPLATE_WIDTH' (a nil value)
[string "@ZaqqUI\ZaqqUI-1.0.lua"]:7: in main chunk
Locals:
f = <unnamed> {
SELF_NAMEPLATE_WIDTH = 100
SELF_NAMEPLATE_HEIGHT = 100
0 = <userdata>
}
(*temporary) = nil
(*temporary) = <unnamed> {
SELF_NAMEPLATE_WIDTH = 100
SELF_NAMEPLATE_HEIGHT = 100
0 = <userdata>
}
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = "attempt to perform arithmetic on global 'SELF_NAMEPLATE_WIDTH' (a nil value)"