As Terix stated this is basic LUA I was doing something like this before I left but my dumbass couldn't be assed.
I was making a /rp command for any rp action for people to use.
Fully understand the use of this command and how it will be beneficial.
+1