#Need help with Cooldown UI!
1 messages Ā· Page 1 of 1 (latest)
Heres my module:
( the is_client is the main part )
( the bar is sizing down / tweening )
if any one has ever worked with ui and can help me, would be appriciated
( im gonna sleep now )
wut exactly are you struggling with
why the fuck are you using packet for ui
look
the packet is on the cd manager
module
yes why
ok, so i use it so i can check for cds?
u dont need packet for that
i fire the cd tho? so if i want to check it on client
because the cd table is ons erver
server
to get access to it
use remote events
š¤¦āāļø
š¤¦āāļø
you primarily need optimizations when something happens over and over, over a relatively short period of time
listen
the thing is
event-basing (cooldowns) are infrequent relative to runtime
let me explain
ur not using numbers
LET ME FRICKING EXPLAIN
for gods sake
and use aspect ratio
ragebaiter of the year
and change anchor point to bottom left
why aren't you able to change background color
you can change it
i just have robloxes new feature
which allows you to create
a so called class for ui
do the anchor point and scale
and when u add items of the specific type to the gui
it automaticly applies the settings
bro
its like a blueprint for a game that has 100's of unique ui's that should look like eachother
i just tried out the fricking feature
use proper use-case
you came here
complained
told me very vague info
that will NOT help
since the problem is in scripting
anchor point
its a property
size is a property
change it to scale
and no you are fucking telling me to delete this post?
{scale,offset}{scale,offset}
to eat you need to get food ( doesnt matter if u dont know how ) cook food ( doesnt matter if u dont know how ) open mouth ( doesnt matter if u dont know how ) use a fork/spoon ( doesnt matter if u dont know how )
--server
cooldown table = {player.userId={<specific skill cooldown (number)>}}
player.joined : add player to cooldown table
on.cooldownRemote check cooldown table
if cooldown then return end
--client
client does input : send a remote and the skill module checks with the server
@tall orbit
also still use client cooldown incase you aren't dealing with an exploiter
i did it
could've taken you 10 minutes