K module scripts

so basically modules for animations amd global animations

Firstly you would make the UI, you would then script it so that when it touched to play the animation. Fairly straight forward. For ease you could set an attribute to each frame in the UI so when it clicked it will send over the the ID of the animation. Additionally, you could make a table using the Name of the animation as the Index value and the Value would be the ID like this:

local Dancetable = {

     ["Dance One"] = 3452352235,
     ["Dance Two"] = 4639034493,
     -- etc
}

When the client clicks it should send a remote to the server and the server would go through the table and get the ID of what dance was clicked or get the attribute of the frame.

  1. Make the UI
  2. Make a table (better than attributes) on the server
  3. When the button is clicked send a remote to server
  4. The server can then apply the animation the the Players Character.
  5. Done

Hope this helps, it a pretty simple method however Im not sure if the server should handle it or once it reaches the server it fires another event to all clients, that would probably be better.

Can u maybe help me make it as a model?
Or u make the model idk