Guest User

Untitled

a guest
Feb 15th, 2026
28
0
85 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. local paramtype2 = "color4dir"
  2. local param2 = 23
  3. local values = core.decode_param2(param2, paramtype2)
  4.  
  5. print(dump(values))
  6. {
  7.     facedir = 2, -- (some values, didn't calculate them)
  8.     color = 3
  9. }
  10.  
  11.  
  12.  
  13. values.facedir = 5
  14. param2 = core.encode_param2(values, paramtype2)
  15.  
  16. print(param2)
  17. 27
Advertisement
Add Comment
Please, Sign In to add comment