xdJustice29

Untitled

May 12th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. local gundata = require(game.ReplicatedStorage.Modules.RECON)
  2. local cf = CFrame.new
  3. local angles = CFrame.Angles
  4. local v3 = Vector3.new
  5. local pi = math.pi
  6. local halfpi = pi / 2
  7. local tau = pi * 2
  8. local deg = pi / 180
  9. local rad = math.rad
  10. function gundata.update()
  11. gundata.stats = {
  12. bullet = "dart",
  13. weight = 1,
  14. firemode = 0,
  15. boltaction = true,
  16. spread = v3(0, 0, 0),
  17. aimspread = v3(0, 0, 0),
  18. zoom = 55,
  19. damage = 7733,
  20. recoilx = 0,
  21. recoily = 0,
  22. rate = 0,
  23. range = 9999999999,
  24. fireid = "rbxassetid://717223903",
  25. firepitch = 1,
  26. leftcf = cf(1.8, -3.5, 0.75) * angles(pi / 12, 0, pi / 12),
  27. rightcf = cf(0, -0.5, 0.3),
  28. aimleftcf = cf(0.8, -3, 0.75) * angles(0, 0, pi / 12),
  29. aimrightcf = cf(0, 0, 0),
  30. sprintleftcf = cf(-0.4, -1.35, 1) * angles(rad(0), rad(10), -rad(0)),
  31. sprintrightcf = cf(-1, 0, 0.5) * angles(rad(-15), rad(0), rad(-30)),
  32. lshcf = cf(-1, 0.5, -0.5) * angles(halfpi, 0, 0) * cf(1.5, -1, 0) * angles(0, 0, pi / 6),
  33. rshcf = cf(1, 0.5, -0.5) * angles(halfpi, 0, 0),
  34. viewmodelcf = cf(),
  35. maxclip = 99999999999999999999,
  36. stored = 99999999999999999999,
  37. allowed = {
  38. sight = {
  39. "ACOG",
  40. "EOTECH",
  41. "KOBRA",
  42. "RED DOT",
  43. "7X SCOPE",
  44. "3X SCOPE",
  45. "16X SCOPE",
  46. "AIMPOINT"
  47. },
  48. clip = {
  49. "18 DART CLIP",
  50. "35 DART DRUM"
  51. },
  52. barrel = {},
  53. underbarrel = {
  54. "LASER",
  55. "GREEN LASER",
  56. "GRIP",
  57. "ANG GRIP"
  58. },
  59. stock = {},
  60. mod = {
  61. "AIR RESTRICT",
  62. "LIGHT SPRING",
  63. "HEAVY SPRING",
  64. "STEFAN DARTS"
  65. }
  66. },
  67. paints = {
  68. "CRIMSON",
  69. "TOOTHPASTE",
  70. "HOT PINK",
  71. "YELLOW",
  72. "BLACK",
  73. "RED",
  74. "MAROON",
  75. "LAPIS",
  76. "WHITE",
  77. "CAMO",
  78. "POOP",
  79. "PINK",
  80. "GREY",
  81. "ORANGE",
  82. "NUCLEAR",
  83. "DARKNESS",
  84. "COPPER",
  85. "GRASS",
  86. "SKIN",
  87. "CADET BLUE",
  88. "VIOLET",
  89. "MINT",
  90. "GREENER",
  91. "NAVY",
  92. "MAUVE"
  93. }
  94. }
  95. gundata.animations = {
  96. bolting = {
  97. {
  98. dur = 0.3,
  99. weaponleft = cf(-0.05, 0.7, 1.2) * angles(rad(0), 0, 0),
  100. speedweaponleft = 0.3,
  101. weaponright = cf(0, -0.35, 0),
  102. speedweaponright = 0.3
  103. },
  104. {
  105. dur = 0.2,
  106. weaponleft = cf(0.15, 0.85, 2.2) * angles(rad(0), 0, 0),
  107. speedweaponleft = 0.5,
  108. bolt = cf(0, 0, 1),
  109. speedbolt = 0.5,
  110. sound = "rbxassetid://717223693",
  111. pitch = 1.1,
  112. weaponright = cf(0, -0.35, 0),
  113. speedweaponright = 0.3
  114. },
  115. {
  116. dur = 0.2,
  117. weaponleft = cf(-0.05, 0.7, 1.2) * angles(rad(0), 0, 0),
  118. speedweaponleft = 0.5,
  119. bolt = cf(),
  120. speedbolt = 0.5,
  121. sound = "rbxassetid://717223777",
  122. pitch = 1.1,
  123. weaponright = cf(0, -0.35, 0),
  124. speedweaponright = 0.3
  125. }
  126. },
  127. reloading = {
  128. {
  129. dur = 0.4,
  130. weaponleft = cf(0.3, 1.6, 2.2) * angles(rad(30), 0, 0),
  131. speedweaponleft = 0.33,
  132. weaponright = cf(0, -0.4, 0.5) * angles(rad(30), 0, 0),
  133. speedweaponright = 0.33
  134. },
  135. {
  136. dur = 0.4,
  137. weaponleft = cf(0.5, 1.2, 3.2) * angles(rad(30), 0, 0),
  138. speedweaponleft = 0.33,
  139. weaponright = cf(0, -0.4, 0.5) * angles(rad(30), 0, 0),
  140. speedweaponright = 0.33,
  141. bolt = cf(0, 0, 1),
  142. speedbolt = 0.4,
  143. sound = "rbxassetid://717223693",
  144. pitch = 1.1
  145. },
  146. {
  147. dur = 0.4,
  148. weaponleft = cf(0, -4, 1),
  149. speedweaponleft = 0.15,
  150. bolt = cf(0, 0, 1),
  151. weaponright = cf(0, 0.2, 0) * angles(rad(10), 0, 0),
  152. speedweaponright = 0.1
  153. },
  154. {
  155. dur = 0.9,
  156. weaponleft = cf(0, -4, 1),
  157. bolt = cf(0, 0, 1),
  158. weaponright = cf(0, -0.5, 0) * angles(rad(-10), 0, 0),
  159. speedweaponright = 0.3,
  160. mag = cf(0, -3, 0),
  161. speedmag = 0.3,
  162. sound = "http://www.roblox.com/asset/?id=717224125"
  163. },
  164. {
  165. dur = 0.4,
  166. weaponleft = cf(0, 0, 0.7),
  167. speedweaponleft = 0.33,
  168. bolt = cf(0, 0, 1),
  169. weaponright = cf(0, 0.2, 0) * angles(0, 0, 0),
  170. speedweaponright = 0.2,
  171. mag = cf(),
  172. speedmag = 0.33,
  173. sound = "http://www.roblox.com/asset/?id=717224018"
  174. },
  175. {
  176. dur = 0.35,
  177. weaponleft = cf(0.2, 1.2, 2) * angles(rad(0), 0, 0),
  178. speedweaponleft = 0.33,
  179. bolt = cf(0, 0, 1),
  180. weaponright = cf(0, -0.2, 0) * angles(0, 0, 0),
  181. speedweaponright = 0.2
  182. },
  183. {
  184. dur = 0.4,
  185. weaponleft = cf(-0.1, 0.8, 1) * angles(rad(0), 0, 0),
  186. speedweaponleft = 0.33,
  187. bolt = cf(),
  188. speedbolt = 0.33,
  189. weaponright = cf(0, -0.2, 0) * angles(0, 0, 0),
  190. speedweaponright = 0.2,
  191. sound = "rbxassetid://717223777",
  192. pitch = 1.1
  193. },
  194. {
  195. dur = 0.3,
  196. weaponleft = cf(),
  197. speedweaponleft = 0.1
  198. }
  199. }
  200. }
  201. end
  202. gundata.update()
Add Comment
Please, Sign In to add comment