Advertisement
uor

golden again?

uor
Aug 10th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.43 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by l0l 1000hack user XD")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. goldgun=true
  87. local function Create(ty)
  88. return function(data)
  89. local obj = Instance.new(ty)
  90. for k, v in pairs(data) do
  91. if type(k) == 'number' then
  92. v.Parent = obj
  93. else
  94. obj[k] = v
  95. end
  96. end
  97. return obj
  98. end
  99. end
  100.  
  101. tool=Create'Tool'{
  102. GripPos = Vector3.new(0.449999988, -0.49000001, 0.439999998);
  103. Name = "M16";
  104. Grip = CFrame.new(0.449999988, -0.49000001, 0.439999998, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  105. Create'Part'{
  106. Transparency = 1;
  107. CanCollide = false;
  108. Material = Enum.Material.SmoothPlastic;
  109. FrontSurface = Enum.SurfaceType.Hinge;
  110. Size = Vector3.new(0.337499917, 1.26250005, 4.73750019);
  111. formFactor = Enum.FormFactor.Custom;
  112. CFrame = CFrame.new(-0.0354669988, 0.689999998, 0.0734099969, 0.999991238, -1.78499271e-010, -0.00408358732, 4.28665703e-022, 1, -4.37113883e-008, 0.00408358732, 4.37110046e-008, 0.999991238);
  113. Name = "Handle";
  114. --Position = Vector3;
  115. Create'BlockMesh'{
  116. };
  117. };
  118. Create'Part'{
  119. TopSurface = Enum.SurfaceType.Smooth;
  120. CanCollide = false;
  121. Material = Enum.Material.SmoothPlastic;
  122. Size = Vector3.new(0.200000003, 0.200000003, 0.5625);
  123. formFactor = Enum.FormFactor.Custom;
  124. BottomSurface = Enum.SurfaceType.Smooth;
  125. CFrame = CFrame.new(-0.0354660451, 0.136882007, 0.0734099746, -0.99999094, -1.03869013e-007, -0.00408364553, 1.04211487e-007, -1, -8.362899e-008, -0.00408364553, -8.40538448e-008, 0.99999094);
  126. Name = "MagPart2";
  127. --Position = Vector3;
  128. Create'SpecialMesh'{
  129. Scale = Vector3.new(0.4375, 0.625, 1);
  130. MeshType = Enum.MeshType.Wedge;
  131. };
  132. };
  133. Create'Part'{
  134. TopSurface = Enum.SurfaceType.Smooth;
  135. CanCollide = false;
  136. Material = Enum.Material.SmoothPlastic;
  137. Size = Vector3.new(0.21875, 0.200000003, 0.200000003);
  138. formFactor = Enum.FormFactor.Custom;
  139. BottomSurface = Enum.SurfaceType.Smooth;
  140. CFrame = CFrame.new(-0.0371888056, 0.51499939, 0.495281041, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  141. --Position = Vector3;
  142. Create'BlockMesh'{
  143. Scale = Vector3.new(1, 0.15625, 0.625);
  144. };
  145. };
  146. Create'Part'{
  147. TopSurface = Enum.SurfaceType.Smooth;
  148. CanCollide = false;
  149. Material = Enum.Material.SmoothPlastic;
  150. Size = Vector3.new(0.56250006, 0.581250012, 0.200000003);
  151. formFactor = Enum.FormFactor.Custom;
  152. BottomSurface = Enum.SurfaceType.Smooth;
  153. CFrame = CFrame.new(-0.0354660451, 0.490000337, 0.0734099895, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  154. Name = "MagPart1";
  155. --Position = Vector3;
  156. Create'BlockMesh'{
  157. Scale = Vector3.new(1, 1, 0.43750003);
  158. };
  159. };
  160. Create'Part'{
  161. TopSurface = Enum.SurfaceType.Smooth;
  162. CanCollide = false;
  163. Material = Enum.Material.SmoothPlastic;
  164. Size = Vector3.new(0.200000003, 0.443749994, 0.337499976);
  165. formFactor = Enum.FormFactor.Custom;
  166. BottomSurface = Enum.SurfaceType.Smooth;
  167. CFrame = CFrame.new(-0.0393199287, 0.277504355, 1.01715159, -0.999991238, -1.78499271e-010, 0.00408358732, -4.28665703e-022, 1, 4.37113883e-008, -0.00408358732, 4.37110046e-008, -0.999991238);
  168. Name = "Wedge";
  169. --Position = Vector3;
  170. Create'SpecialMesh'{
  171. Scale = Vector3.new(0.625, 1, 1);
  172. MeshType = Enum.MeshType.Wedge;
  173. };
  174. };
  175. Create'Part'{
  176. TopSurface = Enum.SurfaceType.Smooth;
  177. CanCollide = false;
  178. Material = Enum.Material.SmoothPlastic;
  179. Size = Vector3.new(0.200000003, 0.443749994, 0.243750006);
  180. formFactor = Enum.FormFactor.Custom;
  181. BottomSurface = Enum.SurfaceType.Smooth;
  182. CFrame = CFrame.new(-0.0381331369, 0.277504355, 0.726528704, -0.999991238, 1.78499271e-010, -0.00408358732, -4.28665703e-022, -1, -4.37113883e-008, -0.00408358732, -4.37110046e-008, 0.999991238);
  183. Name = "Wedge";
  184. --Position = Vector3;
  185. Create'SpecialMesh'{
  186. Scale = Vector3.new(0.625, 1, 1);
  187. MeshType = Enum.MeshType.Wedge;
  188. };
  189. };
  190. Create'Part'{
  191. TopSurface = Enum.SurfaceType.Smooth;
  192. CanCollide = false;
  193. Material = Enum.Material.SmoothPlastic;
  194. Size = Vector3.new(0.243750006, 0.200000003, 0.200000003);
  195. formFactor = Enum.FormFactor.Custom;
  196. BottomSurface = Enum.SurfaceType.Smooth;
  197. CFrame = CFrame.new(-0.0381331369, 0.593124628, 0.726529181, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  198. --Position = Vector3;
  199. Create'BlockMesh'{
  200. Scale = Vector3.new(1, 0.9375, 0.625);
  201. };
  202. };
  203. Create'Part'{
  204. TopSurface = Enum.SurfaceType.Smooth;
  205. CanCollide = false;
  206. Material = Enum.Material.SmoothPlastic;
  207. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  208. formFactor = Enum.FormFactor.Custom;
  209. BottomSurface = Enum.SurfaceType.Smooth;
  210. CFrame = CFrame.new(-0.0373486653, 0.590330124, 0.534426749, 0.00365247182, -0.00182623533, 0.999991238, 0.447213501, 0.89442724, 4.28665703e-022, -0.894419432, 0.447209597, 0.00408358732);
  211. --Position = Vector3;
  212. Create'BlockMesh'{
  213. Scale = Vector3.new(0.09375, 0.40624997, 0.09375);
  214. };
  215. };
  216. Create'Part'{
  217. TopSurface = Enum.SurfaceType.Smooth;
  218. CanCollide = false;
  219. Material = Enum.Material.SmoothPlastic;
  220. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  221. formFactor = Enum.FormFactor.Custom;
  222. BottomSurface = Enum.SurfaceType.Smooth;
  223. CFrame = CFrame.new(-0.0373345688, 0.660322785, 0.530975401, 0.00182623579, -0.00365247135, 0.999991238, 0.894427121, 0.44721359, 4.28665703e-022, -0.447209686, 0.894419312, 0.00408358732);
  224. --Position = Vector3;
  225. Create'BlockMesh'{
  226. Scale = Vector3.new(0.46875, 0.09375, 0.09375);
  227. };
  228. };
  229. Create'Part'{
  230. TopSurface = Enum.SurfaceType.Smooth;
  231. CanCollide = false;
  232. Material = Enum.Material.SmoothPlastic;
  233. Size = Vector3.new(0.65625006, 0.200000003, 0.200000003);
  234. formFactor = Enum.FormFactor.Custom;
  235. BottomSurface = Enum.SurfaceType.Smooth;
  236. CFrame = CFrame.new(-0.0354696736, 0.589595914, 0.0742982924, 0.00391136762, -0.00117340987, 0.999991238, 0.287347823, 0.957826316, 4.28665703e-022, -0.957817912, 0.28734532, 0.00408358732);
  237. --Position = Vector3;
  238. Create'BlockMesh'{
  239. Scale = Vector3.new(1, 0.03125, 0.812499821);
  240. };
  241. };
  242. Create'Part'{
  243. TopSurface = Enum.SurfaceType.Smooth;
  244. CanCollide = false;
  245. Material = Enum.Material.SmoothPlastic;
  246. Size = Vector3.new(0.200000003, 0.40625, 1.22500002);
  247. formFactor = Enum.FormFactor.Custom;
  248. BottomSurface = Enum.SurfaceType.Smooth;
  249. CFrame = CFrame.new(-0.0426633656, 0.483750761, 1.83589435, -0.999991238, 1.78499271e-010, -0.00408358732, -4.28665703e-022, -1, -4.37113883e-008, -0.00408358732, -4.37110046e-008, 0.999991238);
  250. Name = "Wedge";
  251. --Position = Vector3;
  252. Create'SpecialMesh'{
  253. Scale = Vector3.new(0.9375, 1, 1);
  254. MeshType = Enum.MeshType.Wedge;
  255. };
  256. };
  257. Create'Part'{
  258. TopSurface = Enum.SurfaceType.Smooth;
  259. CanCollide = false;
  260. Material = Enum.Material.SmoothPlastic;
  261. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  262. formFactor = Enum.FormFactor.Custom;
  263. BottomSurface = Enum.SurfaceType.Smooth;
  264. CFrame = CFrame.new(-0.0388222411, 0.640000761, 0.8952775, 0.999991238, 1.78499271e-010, 0.00408358732, 4.28665703e-022, -1, 4.37113883e-008, 0.00408358732, -4.37110046e-008, -0.999991238);
  265. Name = "Wedge";
  266. --Position = Vector3;
  267. Create'SpecialMesh'{
  268. Scale = Vector3.new(0.625, 0.46875, 0.46875);
  269. MeshType = Enum.MeshType.Wedge;
  270. };
  271. };
  272. Create'Part'{
  273. TopSurface = Enum.SurfaceType.Smooth;
  274. CanCollide = false;
  275. Material = Enum.Material.SmoothPlastic;
  276. Size = Vector3.new(0.200000003, 0.200000003, 0.625);
  277. formFactor = Enum.FormFactor.Custom;
  278. BottomSurface = Enum.SurfaceType.Smooth;
  279. CFrame = CFrame.new(-0.0354660451, 0.593124688, 0.0734099969, -0.999991238, 1.78499271e-010, -0.00408358732, -4.28665703e-022, -1, -4.37113883e-008, -0.00408358732, -4.37110046e-008, 0.999991238);
  280. Name = "Wedge";
  281. --Position = Vector3;
  282. Create'SpecialMesh'{
  283. Scale = Vector3.new(0.625, 0.9375, 1);
  284. MeshType = Enum.MeshType.Wedge;
  285. };
  286. };
  287. Create'Part'{
  288. TopSurface = Enum.SurfaceType.Smooth;
  289. CanCollide = false;
  290. Material = Enum.Material.SmoothPlastic;
  291. Size = Vector3.new(0.65625, 0.200000003, 0.200000003);
  292. formFactor = Enum.FormFactor.Custom;
  293. BottomSurface = Enum.SurfaceType.Smooth;
  294. CFrame = CFrame.new(-0.107354648, 0.598576725, 0.0766958967, 0.00391215365, -0.00117146294, 0.99998349, 0.287344724, 0.957820952, -2.12762438e-006, -0.957808793, 0.287342906, 0.00408380246);
  295. Name = "Wedge";
  296. --Position = Vector3;
  297. Create'SpecialMesh'{
  298. Scale = Vector3.new(1, 0.0625, 0.09375);
  299. MeshType = Enum.MeshType.Wedge;
  300. };
  301. };
  302. Create'Part'{
  303. TopSurface = Enum.SurfaceType.Smooth;
  304. CanCollide = false;
  305. Material = Enum.Material.SmoothPlastic;
  306. Size = Vector3.new(0.65625, 0.200000003, 0.200000003);
  307. formFactor = Enum.FormFactor.Custom;
  308. BottomSurface = Enum.SurfaceType.Smooth;
  309. CFrame = CFrame.new(0.0363937765, 0.598574281, 0.077288352, -0.00391177926, -0.00117338961, -0.99998337, -0.287343442, 0.95782125, 1.33872973e-007, 0.95780921, 0.287341684, -0.0040840013);
  310. Name = "Wedge";
  311. --Position = Vector3;
  312. Create'SpecialMesh'{
  313. Scale = Vector3.new(1, 0.0625, 0.09375);
  314. MeshType = Enum.MeshType.Wedge;
  315. };
  316. };
  317. Create'Part'{
  318. TopSurface = Enum.SurfaceType.Smooth;
  319. CanCollide = false;
  320. Material = Enum.Material.SmoothPlastic;
  321. Size = Vector3.new(1.21875012, 0.262500018, 0.200000003);
  322. formFactor = Enum.FormFactor.Custom;
  323. BottomSurface = Enum.SurfaceType.Smooth;
  324. CFrame = CFrame.new(-0.0366783589, 0.818126082, 0.370282173, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  325. --Position = Vector3;
  326. Create'BlockMesh'{
  327. Scale = Vector3.new(1, 1, 0.625);
  328. };
  329. };
  330. Create'Part'{
  331. TopSurface = Enum.SurfaceType.Smooth;
  332. CanCollide = false;
  333. Material = Enum.Material.SmoothPlastic;
  334. Size = Vector3.new(0.262500018, 0.200000003, 0.200000003);
  335. formFactor = Enum.FormFactor.Custom;
  336. BottomSurface = Enum.SurfaceType.Smooth;
  337. CFrame = CFrame.new(-0.117214538, 0.818126023, 0.960582674, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  338. Name = "Wedge";
  339. --Position = Vector3;
  340. Create'SpecialMesh'{
  341. Scale = Vector3.new(1, 0.187499821, 0.15625);
  342. MeshType = Enum.MeshType.Wedge;
  343. };
  344. };
  345. Create'Part'{
  346. TopSurface = Enum.SurfaceType.Smooth;
  347. CanCollide = false;
  348. Material = Enum.Material.SmoothPlastic;
  349. Size = Vector3.new(1.46875, 0.262499988, 0.200000003);
  350. formFactor = Enum.FormFactor.Custom;
  351. BottomSurface = Enum.SurfaceType.Smooth;
  352. CFrame = CFrame.new(-0.042165678, 0.818126023, 1.71402037, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  353. --Position = Vector3;
  354. Create'BlockMesh'{
  355. Scale = Vector3.new(1, 1, 0.9375);
  356. };
  357. };
  358. Create'Part'{
  359. TopSurface = Enum.SurfaceType.Smooth;
  360. CanCollide = false;
  361. Material = Enum.Material.SmoothPlastic;
  362. Size = Vector3.new(0.262500018, 0.200000003, 0.200000003);
  363. formFactor = Enum.FormFactor.Custom;
  364. BottomSurface = Enum.SurfaceType.Smooth;
  365. CFrame = CFrame.new(0.0390340909, 0.818126023, 0.961220741, -1.78499271e-010, 0.00408358732, -0.999991238, 1, 4.37113883e-008, -4.28665703e-022, 4.37110046e-008, -0.999991238, -0.00408358732);
  366. Name = "Wedge";
  367. --Position = Vector3;
  368. Create'SpecialMesh'{
  369. Scale = Vector3.new(1, 0.187499821, 0.15625);
  370. MeshType = Enum.MeshType.Wedge;
  371. };
  372. };
  373. Create'Part'{
  374. TopSurface = Enum.SurfaceType.Smooth;
  375. CanCollide = false;
  376. Material = Enum.Material.SmoothPlastic;
  377. Size = Vector3.new(0.275000036, 0.200000003, 0.275000036);
  378. formFactor = Enum.FormFactor.Custom;
  379. BottomSurface = Enum.SurfaceType.Smooth;
  380. CFrame = CFrame.new(-0.0340623111, 0.949376464, -0.270337135, 1.78499271e-010, -0.00408358686, -0.999991119, -1, -4.37113847e-008, -4.28665653e-022, -4.37110046e-008, 0.999991119, -0.00408358686);
  381. --Position = Vector3;
  382. Create'CylinderMesh'{
  383. Scale = Vector3.new(1, 0.3125, 1);
  384. };
  385. };
  386. Create'Part'{
  387. TopSurface = Enum.SurfaceType.Smooth;
  388. CanCollide = false;
  389. Material = Enum.Material.SmoothPlastic;
  390. Size = Vector3.new(0.300000012, 0.268749982, 0.300000012);
  391. formFactor = Enum.FormFactor.Custom;
  392. BottomSurface = Enum.SurfaceType.Smooth;
  393. CFrame = CFrame.new(-0.0317525305, 0.949376464, -0.835957706, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  394. --Position = Vector3;
  395. Create'CylinderMesh'{
  396. };
  397. };
  398. Create'Part'{
  399. TopSurface = Enum.SurfaceType.Smooth;
  400. CanCollide = false;
  401. Material = Enum.Material.SmoothPlastic;
  402. Size = Vector3.new(0.3125, 0.400000006, 0.3125);
  403. formFactor = Enum.FormFactor.Custom;
  404. BottomSurface = Enum.SurfaceType.Smooth;
  405. CFrame = CFrame.new(-0.0331179798, 0.949376464, -0.501585841, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  406. --Position = Vector3;
  407. Create'CylinderMesh'{
  408. };
  409. };
  410. Create'Part'{
  411. TopSurface = Enum.SurfaceType.Smooth;
  412. CanCollide = false;
  413. Material = Enum.Material.SmoothPlastic;
  414. Size = Vector3.new(0.200000003, 2.6875, 0.200000003);
  415. formFactor = Enum.FormFactor.Custom;
  416. BottomSurface = Enum.SurfaceType.Smooth;
  417. CFrame = CFrame.new(-0.0396772437, 0.949376345, 1.10465097, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  418. --Position = Vector3;
  419. Create'CylinderMesh'{
  420. Scale = Vector3.new(0.9375, 1, 0.9375);
  421. };
  422. };
  423. Create'Part'{
  424. TopSurface = Enum.SurfaceType.Smooth;
  425. CanCollide = false;
  426. Material = Enum.Material.SmoothPlastic;
  427. Size = Vector3.new(0.325000137, 0.200000003, 0.200000003);
  428. formFactor = Enum.FormFactor.Custom;
  429. BottomSurface = Enum.SurfaceType.Smooth;
  430. CFrame = CFrame.new(-0.00448472612, 0.955624938, 0.771919727, -0.254872203, -1.78499271e-010, 0.966974258, 4.22219593e-008, 1, 1.13133343e-008, -0.966974258, 4.37110046e-008, -0.254872203);
  431. --Position = Vector3;
  432. Create'BlockMesh'{
  433. Scale = Vector3.new(1, 0.43750006, 0.625);
  434. };
  435. };
  436. Create'Part'{
  437. TopSurface = Enum.SurfaceType.Smooth;
  438. CanCollide = false;
  439. Material = Enum.Material.SmoothPlastic;
  440. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  441. formFactor = Enum.FormFactor.Custom;
  442. BottomSurface = Enum.SurfaceType.Smooth;
  443. CFrame = CFrame.new(0.102780372, 0.955624938, 0.921392381, 1.78499271e-010, -0.254872352, 0.96697402, -1, 4.22219486e-008, 1.13133396e-008, -4.37110046e-008, -0.96697402, -0.254872352);
  444. --Position = Vector3;
  445. Create'CylinderMesh'{
  446. Scale = Vector3.new(0.18749997, 0.15625, 0.18749997);
  447. };
  448. };
  449. Create'Part'{
  450. TopSurface = Enum.SurfaceType.Smooth;
  451. CanCollide = false;
  452. Material = Enum.Material.SmoothPlastic;
  453. Size = Vector3.new(0.200000003, 0.325000018, 0.200000003);
  454. formFactor = Enum.FormFactor.Custom;
  455. BottomSurface = Enum.SurfaceType.Smooth;
  456. CFrame = CFrame.new(0.0559526756, 0.955624938, 0.755990207, 1.78499271e-010, -0.254872352, 0.96697402, -1, 4.22219486e-008, 1.13133396e-008, -4.37110046e-008, -0.96697402, -0.254872352);
  457. --Position = Vector3;
  458. Create'CylinderMesh'{
  459. Scale = Vector3.new(0.43750003, 1, 0.43749994);
  460. };
  461. };
  462. Create'Part'{
  463. TopSurface = Enum.SurfaceType.Smooth;
  464. CanCollide = false;
  465. Material = Enum.Material.SmoothPlastic;
  466. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  467. formFactor = Enum.FormFactor.Custom;
  468. BottomSurface = Enum.SurfaceType.Smooth;
  469. CFrame = CFrame.new(0.104536295, 0.955624938, 0.940319657, 1.78499271e-010, -0.254872352, 0.96697402, -1, 4.22219486e-008, 1.13133396e-008, -4.37110046e-008, -0.96697402, -0.254872352);
  470. --Position = Vector3;
  471. Create'CylinderMesh'{
  472. Scale = Vector3.new(0.31249997, 0.03125, 0.3125);
  473. };
  474. };
  475. Create'Part'{
  476. TopSurface = Enum.SurfaceType.Smooth;
  477. CanCollide = false;
  478. Material = Enum.Material.SmoothPlastic;
  479. Size = Vector3.new(0.287499994, 0.256249994, 0.28125);
  480. formFactor = Enum.FormFactor.Custom;
  481. BottomSurface = Enum.SurfaceType.Smooth;
  482. CFrame = CFrame.new(-0.0275554266, 0.949376464, -1.09844232, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  483. --Position = Vector3;
  484. Create'CylinderMesh'{
  485. };
  486. };
  487. Create'Part'{
  488. TopSurface = Enum.SurfaceType.Smooth;
  489. CanCollide = false;
  490. Material = Enum.Material.SmoothPlastic;
  491. Size = Vector3.new(1.20000017, 0.200000003, 0.200000003);
  492. formFactor = Enum.FormFactor.Custom;
  493. BottomSurface = Enum.SurfaceType.Smooth;
  494. CFrame = CFrame.new(-0.0366400741, 1.05874991, 0.360907227, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  495. --Position = Vector3;
  496. Create'BlockMesh'{
  497. Scale = Vector3.new(1, 0.34375, 0.625);
  498. };
  499. };
  500. Create'Part'{
  501. TopSurface = Enum.SurfaceType.Smooth;
  502. CanCollide = false;
  503. Material = Enum.Material.SmoothPlastic;
  504. Size = Vector3.new(0.256249994, 0.200000003, 0.256250024);
  505. formFactor = Enum.FormFactor.Custom;
  506. BottomSurface = Enum.SurfaceType.Smooth;
  507. CFrame = CFrame.new(-0.0269301254, 0.946250975, -1.25156641, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  508. --Position = Vector3;
  509. Create'CylinderMesh'{
  510. Scale = Vector3.new(1, 0.0625000075, 1);
  511. };
  512. };
  513. Create'Part'{
  514. TopSurface = Enum.SurfaceType.Smooth;
  515. CanCollide = false;
  516. Material = Enum.Material.SmoothPlastic;
  517. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  518. formFactor = Enum.FormFactor.Custom;
  519. BottomSurface = Enum.SurfaceType.Smooth;
  520. CFrame = CFrame.new(-0.0268407967, 1.03375113, -1.2734412, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  521. --Position = Vector3;
  522. Create'CylinderMesh'{
  523. Scale = Vector3.new(0.406249821, 0.15625, 0.406250119);
  524. };
  525. };
  526. Create'Part'{
  527. TopSurface = Enum.SurfaceType.Smooth;
  528. CanCollide = false;
  529. Material = Enum.Material.SmoothPlastic;
  530. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  531. formFactor = Enum.FormFactor.Custom;
  532. BottomSurface = Enum.SurfaceType.Smooth;
  533. CFrame = CFrame.new(-0.0268407986, 0.98375082, -1.2734406, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  534. --Position = Vector3;
  535. Create'BlockMesh'{
  536. Scale = Vector3.new(0.15625, 0.5, 0.40624997);
  537. };
  538. };
  539. Create'Part'{
  540. TopSurface = Enum.SurfaceType.Smooth;
  541. CanCollide = false;
  542. Material = Enum.Material.SmoothPlastic;
  543. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  544. formFactor = Enum.FormFactor.Custom;
  545. BottomSurface = Enum.SurfaceType.Smooth;
  546. CFrame = CFrame.new(-0.0268407986, 0.933751941, -1.2734406, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  547. --Position = Vector3;
  548. Create'CylinderMesh'{
  549. Scale = Vector3.new(0.406249821, 0.15625, 0.406250119);
  550. };
  551. };
  552. Create'Part'{
  553. TopSurface = Enum.SurfaceType.Smooth;
  554. CanCollide = false;
  555. Material = Enum.Material.SmoothPlastic;
  556. Size = Vector3.new(0.268749982, 0.200000003, 0.268750012);
  557. formFactor = Enum.FormFactor.Custom;
  558. BottomSurface = Enum.SurfaceType.Smooth;
  559. CFrame = CFrame.new(-0.0269939322, 0.946250975, -1.23594153, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  560. --Position = Vector3;
  561. Create'CylinderMesh'{
  562. Scale = Vector3.new(1, 0.09375, 1);
  563. };
  564. };
  565. Create'Part'{
  566. TopSurface = Enum.SurfaceType.Smooth;
  567. CanCollide = false;
  568. Material = Enum.Material.SmoothPlastic;
  569. Size = Vector3.new(0.200000003, 0.275000006, 0.200000003);
  570. formFactor = Enum.FormFactor.Custom;
  571. BottomSurface = Enum.SurfaceType.Smooth;
  572. CFrame = CFrame.new(-0.0265472885, 1.13709307, -1.34531569, -0.00353646907, -0.0020416358, 0.999991238, 0.499999791, -0.866025209, 1.25594809e-007, 0.86601764, 0.49999541, 0.00408349093);
  573. --Position = Vector3;
  574. Create'BlockMesh'{
  575. Scale = Vector3.new(0.15625, 1, 0.218750015);
  576. };
  577. };
  578. Create'Part'{
  579. TopSurface = Enum.SurfaceType.Smooth;
  580. CanCollide = false;
  581. Material = Enum.Material.SmoothPlastic;
  582. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  583. formFactor = Enum.FormFactor.Custom;
  584. BottomSurface = Enum.SurfaceType.Smooth;
  585. CFrame = CFrame.new(-0.0264196787, 1.00250065, -1.37656474, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  586. --Position = Vector3;
  587. Create'BlockMesh'{
  588. Scale = Vector3.new(0.875, 0.15625, 0.28125);
  589. };
  590. };
  591. Create'Part'{
  592. TopSurface = Enum.SurfaceType.Smooth;
  593. CanCollide = false;
  594. Material = Enum.Material.SmoothPlastic;
  595. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  596. formFactor = Enum.FormFactor.Custom;
  597. BottomSurface = Enum.SurfaceType.Smooth;
  598. CFrame = CFrame.new(-0.0343813412, 1.1399945, -0.192213088, -0.999991238, -1.78499271e-010, 0.00408358732, -4.28665703e-022, 1, 4.37113883e-008, -0.00408358732, 4.37110046e-008, -0.999991238);
  599. Name = "Wedge";
  600. --Position = Vector3;
  601. Create'SpecialMesh'{
  602. Scale = Vector3.new(0.625, 0.46875, 0.15625);
  603. MeshType = Enum.MeshType.Wedge;
  604. };
  605. };
  606. Create'Part'{
  607. TopSurface = Enum.SurfaceType.Smooth;
  608. CanCollide = false;
  609. Material = Enum.Material.SmoothPlastic;
  610. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  611. formFactor = Enum.FormFactor.Custom;
  612. BottomSurface = Enum.SurfaceType.Smooth;
  613. CFrame = CFrame.new(-0.0873781741, 1.17436945, -0.223679245, -0.999983966, 0.00408357335, 1.7849866e-010, -4.28662573e-022, 4.37112355e-008, -0.999996543, -0.00408355752, -0.999987781, -4.37108518e-008);
  614. Name = "Wedge";
  615. --Position = Vector3;
  616. Create'SpecialMesh'{
  617. Scale = Vector3.new(0.0937499925, 0.15625, 0.81250006);
  618. MeshType = Enum.MeshType.Wedge;
  619. };
  620. };
  621. Create'Part'{
  622. TopSurface = Enum.SurfaceType.Smooth;
  623. CanCollide = false;
  624. Material = Enum.Material.SmoothPlastic;
  625. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  626. formFactor = Enum.FormFactor.Custom;
  627. BottomSurface = Enum.SurfaceType.Smooth;
  628. CFrame = CFrame.new(-0.0342537276, 1.15874445, -0.22346282, -0.999991238, 0.00408358732, 1.78499271e-010, -4.28665703e-022, 4.37113883e-008, -1, -0.00408358732, -0.999991238, -4.37110046e-008);
  629. Name = "Wedge";
  630. --Position = Vector3;
  631. Create'SpecialMesh'{
  632. Scale = Vector3.new(0.43750003, 0.15625, 0.65624994);
  633. MeshType = Enum.MeshType.Wedge;
  634. };
  635. };
  636. Create'Part'{
  637. TopSurface = Enum.SurfaceType.Smooth;
  638. CanCollide = false;
  639. Material = Enum.Material.SmoothPlastic;
  640. Size = Vector3.new(0.200000003, 0.274999976, 0.200000003);
  641. formFactor = Enum.FormFactor.Custom;
  642. BottomSurface = Enum.SurfaceType.Smooth;
  643. CFrame = CFrame.new(-0.0259985588, 1.12436962, -1.47968924, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  644. --Position = Vector3;
  645. Create'BlockMesh'{
  646. Scale = Vector3.new(0.15625, 1, 0.28125);
  647. };
  648. };
  649. Create'Part'{
  650. TopSurface = Enum.SurfaceType.Smooth;
  651. CanCollide = false;
  652. Material = Enum.Material.SmoothPlastic;
  653. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  654. formFactor = Enum.FormFactor.Custom;
  655. BottomSurface = Enum.SurfaceType.Smooth;
  656. CFrame = CFrame.new(-0.0259985551, 0.946251273, -1.47968984, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  657. --Position = Vector3;
  658. Create'CylinderMesh'{
  659. Scale = Vector3.new(0.53124994, 0.15625, 0.531250119);
  660. };
  661. };
  662. Create'Part'{
  663. TopSurface = Enum.SurfaceType.Smooth;
  664. CanCollide = false;
  665. Material = Enum.Material.SmoothPlastic;
  666. Size = Vector3.new(0.200000003, 0.800000012, 0.200000003);
  667. formFactor = Enum.FormFactor.Custom;
  668. BottomSurface = Enum.SurfaceType.Smooth;
  669. CFrame = CFrame.new(-0.0252711698, 0.946251035, -1.65781271, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  670. --Position = Vector3;
  671. Create'CylinderMesh'{
  672. Scale = Vector3.new(0.40624997, 1, 0.406250119);
  673. };
  674. };
  675. Create'Part'{
  676. TopSurface = Enum.SurfaceType.Smooth;
  677. CanCollide = false;
  678. Material = Enum.Material.SmoothPlastic;
  679. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  680. formFactor = Enum.FormFactor.Custom;
  681. BottomSurface = Enum.SurfaceType.Smooth;
  682. CFrame = CFrame.new(-0.0388477631, 1.15874445, 0.901527345, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  683. --Position = Vector3;
  684. Create'BlockMesh'{
  685. Scale = Vector3.new(0.156250477, 0.65625006, 0.43750003);
  686. };
  687. };
  688. Create'Part'{
  689. TopSurface = Enum.SurfaceType.Smooth;
  690. CanCollide = false;
  691. Material = Enum.Material.SmoothPlastic;
  692. Size = Vector3.new(1.09375012, 0.200000003, 0.200000003);
  693. formFactor = Enum.FormFactor.Custom;
  694. BottomSurface = Enum.SurfaceType.Smooth;
  695. CFrame = CFrame.new(-0.0896751881, 1.23687041, 0.338815331, 0.00408358732, -1.76725606e-010, 0.999991238, 4.41457289e-008, 1, 2.74215419e-018, -0.999991238, 4.32766676e-008, 0.00408358732);
  696. --Position = Vector3;
  697. Create'BlockMesh'{
  698. Scale = Vector3.new(1, 0.1875, 0.09375);
  699. };
  700. };
  701. Create'Part'{
  702. TopSurface = Enum.SurfaceType.Smooth;
  703. CanCollide = false;
  704. Material = Enum.Material.SmoothPlastic;
  705. Size = Vector3.new(1.09375012, 0.200000003, 0.200000003);
  706. formFactor = Enum.FormFactor.Custom;
  707. BottomSurface = Enum.SurfaceType.Smooth;
  708. CFrame = CFrame.new(-0.0365507454, 1.22124445, 0.339032263, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  709. --Position = Vector3;
  710. Create'BlockMesh'{
  711. Scale = Vector3.new(1, 0.03125, 0.43750003);
  712. };
  713. };
  714. Create'Part'{
  715. TopSurface = Enum.SurfaceType.Smooth;
  716. CanCollide = false;
  717. Material = Enum.Material.SmoothPlastic;
  718. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  719. formFactor = Enum.FormFactor.Custom;
  720. BottomSurface = Enum.SurfaceType.Smooth;
  721. CFrame = CFrame.new(-0.0261261705, 1.25561953, -1.44843924, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  722. --Position = Vector3;
  723. Create'BlockMesh'{
  724. Scale = Vector3.new(0.46875003, 0.0625000075, 0.218750045);
  725. };
  726. };
  727. Create'Part'{
  728. TopSurface = Enum.SurfaceType.Smooth;
  729. CanCollide = false;
  730. Material = Enum.Material.SmoothPlastic;
  731. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  732. formFactor = Enum.FormFactor.Custom;
  733. BottomSurface = Enum.SurfaceType.Smooth;
  734. CFrame = CFrame.new(-0.0386563465, 1.1556195, 0.854652762, -0.999991238, 4.19486446e-010, -0.00408359291, -4.45527339e-012, -0.99999994, -1.03316026e-007, -0.00408359338, -1.03315131e-007, 0.999991179);
  735. Name = "Wedge";
  736. --Position = Vector3;
  737. Create'SpecialMesh'{
  738. Scale = Vector3.new(0.625, 0.62500006, 0.3125);
  739. MeshType = Enum.MeshType.Wedge;
  740. };
  741. };
  742. Create'Part'{
  743. TopSurface = Enum.SurfaceType.Smooth;
  744. CanCollide = false;
  745. Material = Enum.Material.SmoothPlastic;
  746. Size = Vector3.new(0.200000003, 0.224999994, 0.200000003);
  747. formFactor = Enum.FormFactor.Custom;
  748. BottomSurface = Enum.SurfaceType.Smooth;
  749. CFrame = CFrame.new(-0.0920615345, 1.20561934, 0.92318517, -0.999991238, -1.78499271e-010, 0.00408358732, -4.28665703e-022, 1, 4.37113883e-008, -0.00408358732, 4.37110046e-008, -0.999991238);
  750. Name = "Wedge";
  751. --Position = Vector3;
  752. Create'SpecialMesh'{
  753. Scale = Vector3.new(0.09375, 1, 0.375);
  754. MeshType = Enum.MeshType.Wedge;
  755. };
  756. };
  757. Create'Part'{
  758. TopSurface = Enum.SurfaceType.Smooth;
  759. CanCollide = false;
  760. Material = Enum.Material.SmoothPlastic;
  761. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  762. formFactor = Enum.FormFactor.Custom;
  763. BottomSurface = Enum.SurfaceType.Smooth;
  764. CFrame = CFrame.new(-0.034419626, 1.1712445, -0.182838112, 0.999991238, 1.78499271e-010, 0.00408358732, 4.28665703e-022, -1, 4.37113883e-008, 0.00408358732, -4.37110046e-008, -0.999991238);
  765. Name = "Wedge";
  766. --Position = Vector3;
  767. Create'SpecialMesh'{
  768. Scale = Vector3.new(0.625, 0.46875, 0.25000003);
  769. MeshType = Enum.MeshType.Wedge;
  770. };
  771. };
  772. Create'Part'{
  773. TopSurface = Enum.SurfaceType.Smooth;
  774. CanCollide = false;
  775. Material = Enum.Material.SmoothPlastic;
  776. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  777. formFactor = Enum.FormFactor.Custom;
  778. BottomSurface = Enum.SurfaceType.Smooth;
  779. CFrame = CFrame.new(0.0188711844, 1.17436945, -0.223245382, -0.999983966, 0.00408357335, 1.7849866e-010, -4.28662573e-022, 4.37112355e-008, -0.999996543, -0.00408355752, -0.999987781, -4.37108518e-008);
  780. Name = "Wedge";
  781. --Position = Vector3;
  782. Create'SpecialMesh'{
  783. Scale = Vector3.new(0.09375, 0.15625, 0.81250006);
  784. MeshType = Enum.MeshType.Wedge;
  785. };
  786. };
  787. Create'Part'{
  788. TopSurface = Enum.SurfaceType.Smooth;
  789. CanCollide = false;
  790. Material = Enum.Material.SmoothPlastic;
  791. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  792. formFactor = Enum.FormFactor.Custom;
  793. BottomSurface = Enum.SurfaceType.Smooth;
  794. CFrame = CFrame.new(-0.0390008986, 1.15874445, 0.939027309, -0.999991238, -1.78499271e-010, 0.00408358732, -4.28665703e-022, 1, 4.37113883e-008, -0.00408358732, 4.37110046e-008, -0.999991238);
  795. Name = "Wedge";
  796. --Position = Vector3;
  797. Create'SpecialMesh'{
  798. Scale = Vector3.new(0.43750003, 0.656250119, 0.218750015);
  799. MeshType = Enum.MeshType.Wedge;
  800. };
  801. };
  802. Create'Part'{
  803. TopSurface = Enum.SurfaceType.Smooth;
  804. CanCollide = false;
  805. Material = Enum.Material.SmoothPlastic;
  806. Size = Vector3.new(0.200000003, 0.224999994, 0.200000003);
  807. formFactor = Enum.FormFactor.Custom;
  808. BottomSurface = Enum.SurfaceType.Smooth;
  809. CFrame = CFrame.new(0.0141878203, 1.20561934, 0.92361939, -0.999991238, -1.78499271e-010, 0.00408358732, -4.28665703e-022, 1, 4.37113883e-008, -0.00408358732, 4.37110046e-008, -0.999991238);
  810. Name = "Wedge";
  811. --Position = Vector3;
  812. Create'SpecialMesh'{
  813. Scale = Vector3.new(0.09375, 1, 0.375);
  814. MeshType = Enum.MeshType.Wedge;
  815. };
  816. };
  817. Create'Part'{
  818. TopSurface = Enum.SurfaceType.Smooth;
  819. CanCollide = false;
  820. Material = Enum.Material.SmoothPlastic;
  821. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  822. formFactor = Enum.FormFactor.Custom;
  823. BottomSurface = Enum.SurfaceType.Smooth;
  824. CFrame = CFrame.new(-0.0511226021, 1.26924443, -1.44938493, 0.265298247, -0.964150548, -0.00544282049, -0.866018772, -0.235806987, -0.440915436, 0.423825413, 0.121687695, -0.897531629);
  825. --Position = Vector3;
  826. Create'CylinderMesh'{
  827. Scale = Vector3.new(0.46874997, 0.03125, 0.468750149);
  828. };
  829. };
  830. Create'Part'{
  831. TopSurface = Enum.SurfaceType.Smooth;
  832. CanCollide = false;
  833. Material = Enum.Material.SmoothPlastic;
  834. Size = Vector3.new(1.09375012, 0.200000003, 0.200000003);
  835. formFactor = Enum.FormFactor.Custom;
  836. BottomSurface = Enum.SurfaceType.Smooth;
  837. CFrame = CFrame.new(0.0165741704, 1.23686945, 0.339249194, 0.00408358732, -1.77615575e-010, 0.999991238, 4.39277912e-008, 1, 1.11795683e-018, -0.999991238, 4.34946053e-008, 0.00408358732);
  838. --Position = Vector3;
  839. Create'BlockMesh'{
  840. Scale = Vector3.new(1, 0.1875, 0.09375);
  841. };
  842. };
  843. Create'Part'{
  844. TopSurface = Enum.SurfaceType.Smooth;
  845. CanCollide = false;
  846. Material = Enum.Material.SmoothPlastic;
  847. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  848. formFactor = Enum.FormFactor.Custom;
  849. BottomSurface = Enum.SurfaceType.Smooth;
  850. CFrame = CFrame.new(-0.00102843717, 1.26924443, -1.44918036, -0.268751293, -0.963124335, 0.0127752814, -0.866020501, 0.235806838, -0.440912127, 0.421640664, -0.129559353, -0.897458851);
  851. --Position = Vector3;
  852. Create'CylinderMesh'{
  853. Scale = Vector3.new(0.46874997, 0.03125, 0.468750149);
  854. };
  855. };
  856. Create'Part'{
  857. TopSurface = Enum.SurfaceType.Smooth;
  858. CanCollide = false;
  859. Material = Enum.Material.SmoothPlastic;
  860. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  861. formFactor = Enum.FormFactor.Custom;
  862. BottomSurface = Enum.SurfaceType.Smooth;
  863. CFrame = CFrame.new(-0.0386180654, 1.23999453, 0.845278144, 0.00408358732, -5.6798885e-011, 0.999991238, 1.39090659e-008, 1, 4.28665703e-022, -0.999991238, 1.39089433e-008, 0.00408358732);
  864. --Position = Vector3;
  865. Create'BlockMesh'{
  866. Scale = Vector3.new(0.156251192, 0.21875, 0.15625003);
  867. };
  868. };
  869. Create'Part'{
  870. TopSurface = Enum.SurfaceType.Smooth;
  871. CanCollide = false;
  872. Material = Enum.Material.SmoothPlastic;
  873. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  874. formFactor = Enum.FormFactor.Custom;
  875. BottomSurface = Enum.SurfaceType.Smooth;
  876. CFrame = CFrame.new(-0.0386180617, 1.22749496, 0.845277786, 0.00408358732, 0.999991238, 1.78499271e-010, 4.37113883e-008, 4.28665703e-022, -1, -0.999991238, 0.00408358732, -4.37110046e-008);
  877. --Position = Vector3;
  878. Create'CylinderMesh'{
  879. Scale = Vector3.new(0.15624997, 0.4375, 0.156249985);
  880. };
  881. };
  882. Create'Part'{
  883. TopSurface = Enum.SurfaceType.Smooth;
  884. CanCollide = false;
  885. Material = Enum.Material.SmoothPlastic;
  886. Size = Vector3.new(0.800000012, 0.800000012, 1);
  887. formFactor = Enum.FormFactor.Custom;
  888. BottomSurface = Enum.SurfaceType.Smooth;
  889. CFrame = CFrame.new(-0.0386180617, 1.27515078, 0.845277786, 0.999991238, 3.15210187e-008, 0.00408327067, 3.13429069e-008, -1, 4.37114238e-008, 0.00408327067, -4.35830607e-008, -0.999991238);
  890. --Position = Vector3;
  891. Create'SpecialMesh'{
  892. Scale = Vector3.new(0.0281249993, 0.0281249993, 0.1953125);
  893. MeshId = "http://www.roblox.com/asset/?id=3270017";
  894. MeshType = Enum.MeshType.FileMesh;
  895. };
  896. };
  897. Create'Part'{
  898. TopSurface = Enum.SurfaceType.Smooth;
  899. CanCollide = false;
  900. Material = Enum.Material.SmoothPlastic;
  901. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  902. formFactor = Enum.FormFactor.Custom;
  903. BottomSurface = Enum.SurfaceType.Smooth;
  904. CFrame = CFrame.new(-0.0235739276, 0.946251035, -2.07343388, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  905. --Position = Vector3;
  906. Create'CylinderMesh'{
  907. Scale = Vector3.new(0.46875, 0.15625, 0.46875);
  908. };
  909. };
  910. Create'Part'{
  911. TopSurface = Enum.SurfaceType.Smooth;
  912. CanCollide = false;
  913. Material = Enum.Material.SmoothPlastic;
  914. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  915. formFactor = Enum.FormFactor.Custom;
  916. BottomSurface = Enum.SurfaceType.Smooth;
  917. CFrame = CFrame.new(-0.0234973598, 0.946251035, -2.09218359, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  918. --Position = Vector3;
  919. Create'CylinderMesh'{
  920. Scale = Vector3.new(0.40624997, 0.03125, 0.40624997);
  921. };
  922. };
  923. Create'Part'{
  924. TopSurface = Enum.SurfaceType.Smooth;
  925. CanCollide = false;
  926. Material = Enum.Material.SmoothPlastic;
  927. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  928. formFactor = Enum.FormFactor.Custom;
  929. BottomSurface = Enum.SurfaceType.Smooth;
  930. CFrame = CFrame.new(-0.0234463159, 0.946251035, -2.10468364, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  931. --Position = Vector3;
  932. Create'CylinderMesh'{
  933. Scale = Vector3.new(0.46875, 0.09375, 0.46875);
  934. };
  935. };
  936. Create'Part'{
  937. TopSurface = Enum.SurfaceType.Smooth;
  938. CanCollide = false;
  939. Material = Enum.Material.SmoothPlastic;
  940. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  941. formFactor = Enum.FormFactor.Custom;
  942. BottomSurface = Enum.SurfaceType.Smooth;
  943. CFrame = CFrame.new(-0.0233952701, 0.946251035, -2.11718345, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  944. --Position = Vector3;
  945. Create'CylinderMesh'{
  946. Scale = Vector3.new(0.40624997, 0.03125, 0.40624997);
  947. };
  948. };
  949. Create'Part'{
  950. TopSurface = Enum.SurfaceType.Smooth;
  951. CanCollide = false;
  952. Material = Enum.Material.SmoothPlastic;
  953. Size = Vector3.new(0.200000003, 0.200000003, 1.09375);
  954. formFactor = Enum.FormFactor.Custom;
  955. BottomSurface = Enum.SurfaceType.Smooth;
  956. CFrame = CFrame.new(-0.0896751881, 1.28686953, 0.338815331, 0.999991238, -9.23612387e-009, -0.00408358732, 9.54482005e-009, 1, 7.54319061e-008, 0.00408358732, -7.56121779e-008, 0.999991238);
  957. Name = "Wedge";
  958. --Position = Vector3;
  959. Create'SpecialMesh'{
  960. Scale = Vector3.new(0.09375, 0.3125, 1);
  961. MeshType = Enum.MeshType.Wedge;
  962. };
  963. };
  964. Create'Part'{
  965. TopSurface = Enum.SurfaceType.Smooth;
  966. CanCollide = false;
  967. Material = Enum.Material.SmoothPlastic;
  968. Size = Vector3.new(0.200000003, 0.200000003, 1.09375);
  969. formFactor = Enum.FormFactor.Custom;
  970. BottomSurface = Enum.SurfaceType.Smooth;
  971. CFrame = CFrame.new(0.0165741704, 1.28687, 0.339249194, 0.999991238, -9.23619226e-009, -0.00408358732, 9.54482005e-009, 1, 7.54487886e-008, 0.00408358732, -7.55952954e-008, 0.999991238);
  972. Name = "Wedge";
  973. --Position = Vector3;
  974. Create'SpecialMesh'{
  975. Scale = Vector3.new(0.09375, 0.3125, 1);
  976. MeshType = Enum.MeshType.Wedge;
  977. };
  978. };
  979. Create'Part'{
  980. TopSurface = Enum.SurfaceType.Smooth;
  981. CanCollide = false;
  982. Material = Enum.Material.SmoothPlastic;
  983. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  984. formFactor = Enum.FormFactor.Custom;
  985. BottomSurface = Enum.SurfaceType.Smooth;
  986. CFrame = CFrame.new(-0.0511177629, 1.26811838, 0.845227122, -0.00408324087, 3.09163255e-008, -0.999991238, 2.72938252e-007, 1, 2.98022123e-008, 0.999991238, -2.72814162e-007, -0.00408324087);
  987. Name = "Wedge";
  988. --Position = Vector3;
  989. Create'SpecialMesh'{
  990. Scale = Vector3.new(0.15625, 0.0625, 0.03125);
  991. MeshType = Enum.MeshType.Wedge;
  992. };
  993. };
  994. Create'Part'{
  995. TopSurface = Enum.SurfaceType.Smooth;
  996. CanCollide = false;
  997. Material = Enum.Material.SmoothPlastic;
  998. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  999. formFactor = Enum.FormFactor.Custom;
  1000. BottomSurface = Enum.SurfaceType.Smooth;
  1001. CFrame = CFrame.new(-0.0261178873, 1.26811838, 0.845329225, -0.00408358732, -0.999991238, -2.97452623e-008, -1.39090659e-008, 2.98023224e-008, -1, 0.999991238, -0.00408358732, -1.40306451e-008);
  1002. Name = "Wedge";
  1003. --Position = Vector3;
  1004. Create'SpecialMesh'{
  1005. Scale = Vector3.new(0.15625, 0.03125, 0.0625);
  1006. MeshType = Enum.MeshType.Wedge;
  1007. };
  1008. };
  1009. Create'Part'{
  1010. TopSurface = Enum.SurfaceType.Smooth;
  1011. CanCollide = false;
  1012. Material = Enum.Material.SmoothPlastic;
  1013. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  1014. formFactor = Enum.FormFactor.Custom;
  1015. BottomSurface = Enum.SurfaceType.Smooth;
  1016. CFrame = CFrame.new(-0.0292430501, 1.26499462, 0.84531647, -0.00408358732, -0.999991238, -2.97452623e-008, -1.39090659e-008, 2.98023224e-008, -1, 0.999991238, -0.00408358732, -1.40306451e-008);
  1017. Name = "Wedge";
  1018. --Position = Vector3;
  1019. Create'SpecialMesh'{
  1020. Scale = Vector3.new(0.15625, 0.0625, 0.03125);
  1021. MeshType = Enum.MeshType.Wedge;
  1022. };
  1023. };
  1024. Create'Part'{
  1025. TopSurface = Enum.SurfaceType.Smooth;
  1026. CanCollide = false;
  1027. Material = Enum.Material.SmoothPlastic;
  1028. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  1029. formFactor = Enum.FormFactor.Custom;
  1030. BottomSurface = Enum.SurfaceType.Smooth;
  1031. CFrame = CFrame.new(-0.047992602, 1.26499462, 0.845239878, -0.00408324087, 3.09163255e-008, -0.999991238, 2.72938252e-007, 1, 2.98022123e-008, 0.999991238, -2.72814162e-007, -0.00408324087);
  1032. Name = "Wedge";
  1033. --Position = Vector3;
  1034. Create'SpecialMesh'{
  1035. Scale = Vector3.new(0.15625, 0.03125, 0.0625);
  1036. MeshType = Enum.MeshType.Wedge;
  1037. };
  1038. };
  1039. Create'Part'{
  1040. TopSurface = Enum.SurfaceType.Smooth;
  1041. CanCollide = false;
  1042. Material = Enum.Material.SmoothPlastic;
  1043. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  1044. formFactor = Enum.FormFactor.Custom;
  1045. BottomSurface = Enum.SurfaceType.Smooth;
  1046. CFrame = CFrame.new(-0.0230379589, 0.946251035, -2.20468235, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  1047. --Position = Vector3;
  1048. Create'CylinderMesh'{
  1049. Scale = Vector3.new(0.46875, 0.84375, 0.46875);
  1050. };
  1051. };
  1052. Create'Part'{
  1053. TopSurface = Enum.SurfaceType.Smooth;
  1054. BrickColor = BrickColor.new(26);
  1055. CanCollide = false;
  1056. Material = Enum.Material.SmoothPlastic;
  1057. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  1058. formFactor = Enum.FormFactor.Custom;
  1059. BottomSurface = Enum.SurfaceType.Smooth;
  1060. CFrame = CFrame.new(-0.0226934049, 0.946251273, -2.28905702, 1.78499271e-010, 0.00408358732, 0.999991238, -1, 4.37113883e-008, 4.28665703e-022, -4.37110046e-008, -0.999991238, 0.00408358732);
  1061. --Position = Vector3;
  1062. Create'CylinderMesh'{
  1063. Scale = Vector3.new(0.34374997, 0.03125, 0.34374997);
  1064. };
  1065. };
  1066. Create'Part'{
  1067. TopSurface = Enum.SurfaceType.Smooth;
  1068. CanCollide = false;
  1069. Material = Enum.Material.SmoothPlastic;
  1070. Size = Vector3.new(1.21875012, 0.262500018, 0.200000003);
  1071. formFactor = Enum.FormFactor.Custom;
  1072. BottomSurface = Enum.SurfaceType.Smooth;
  1073. CFrame = CFrame.new(-0.0366783589, 0.818126082, 0.370282173, 0.00408358732, -1.78499271e-010, 0.999991238, 4.37113883e-008, 1, 4.28665703e-022, -0.999991238, 4.37110046e-008, 0.00408358732);
  1074. --Position = Vector3;
  1075. Create'BlockMesh'{
  1076. Scale = Vector3.new(1, 1, 0.625);
  1077. };
  1078. };
  1079. };
  1080.  
  1081.  
  1082. local handle=tool.Handle
  1083.  
  1084.  
  1085. for _, part in ipairs(tool:GetChildren()) do
  1086. if part:IsA"BasePart" and part~=handle then
  1087. local cv=Instance.new("CFrameValue", part)
  1088. cv.Value=handle.CFrame:inverse()*part.CFrame
  1089. cv.Name="cf"
  1090. end
  1091. if goldgun and part:IsA"BasePart" then
  1092. part.BrickColor=BrickColor.new"New Yeller"
  1093. part.Reflectance=.3
  1094. elseif part:IsA"BasePart" then
  1095. part.BrickColor=BrickColor.new"Black"
  1096. end
  1097. end
  1098.  
  1099. for _, part in ipairs(tool:GetChildren()) do
  1100. if part:IsA"BasePart" and part~=handle then
  1101. local w=Instance.new"Weld"
  1102. w.Parent=handle
  1103. w.Part0=handle
  1104. w.Part1=part
  1105. w.C0=part.cf.Value
  1106. end
  1107. end
  1108.  
  1109.  
  1110.  
  1111.  
  1112. tool.Parent=owner.Backpack
  1113. local sounds={
  1114. Dry=131242822;
  1115. Reload=138022745;
  1116. Shoot1=151997297;
  1117. Shoot2=151997297;
  1118. Shoot3=151997297;
  1119. Shoot4=151997297;
  1120. Shoot5=151997297;
  1121. }
  1122.  
  1123. do
  1124. local soundobjs={}
  1125. for name, id in pairs(sounds) do
  1126. local s=Instance.new("Sound", tool.Handle)
  1127. soundobjs[name]=s
  1128. s.Volume=1
  1129. s.SoundId="rbxassetid://"..id
  1130. s.Name=name
  1131. end
  1132. local shootn=1
  1133. function PlaySound(name, skip)
  1134. if not skip then
  1135. if name~='Shoot' then
  1136. soundobjs[name]:Play()
  1137. else
  1138. --print(name..shootn)
  1139. soundobjs[name..shootn]:Play()
  1140. shootn=shootn+1
  1141. if shootn==6 then
  1142. shootn=1
  1143. end
  1144. end
  1145. end
  1146. end
  1147. end
  1148.  
  1149. player,char = owner, owner.Character
  1150. hum,torso,rarm,larm = char.Humanoid, char.Torso, char["Right Arm"], char["Left Arm"]
  1151. rs,ls,rw,lw = torso["Right Shoulder"], torso["Left Shoulder"], Instance.new("Weld"), Instance.new("Weld")
  1152.  
  1153. stop=false
  1154.  
  1155. hum.Died:connect(function()
  1156. stop=true
  1157. end)
  1158.  
  1159. function getlimbs()
  1160. return hum and torso and rarm and larm and rs and ls
  1161. end
  1162.  
  1163. function lerpCF(time,callback,yield,skip)
  1164. if not skip then
  1165. local start=tick()
  1166. local goalt=start+time
  1167. local con
  1168. con=game:GetService"RunService".RenderStepped:connect(function()
  1169. local alpha=(tick()-start)/time
  1170. local cancel=callback(math.min(alpha, 1))
  1171. if cancel then
  1172. con:disconnect()
  1173. end
  1174. if tick()>goalt then
  1175. con:disconnect()
  1176. end
  1177. end)
  1178. if yield then
  1179. wait(time)
  1180. end
  1181. end
  1182. end
  1183.  
  1184. anim={
  1185. drawtime=.2;
  1186. shoottime=.06;
  1187. reloadtime=1.5;
  1188. }
  1189. if goldgun then
  1190. for k, v in pairs(anim) do
  1191. anim[k]=v*.6
  1192. end
  1193. end
  1194. --lerpCF(time,callback,yield,skip)
  1195.  
  1196. local defR=CFrame.new(-.5, .5, 0)
  1197. local defL=CFrame.new(.5, .5, 0)
  1198.  
  1199. local aimR=defR*CFrame.Angles(-math.pi/2, -math.pi*.05, 0)*CFrame.new(.3,0,-.5)
  1200. local aimL=defL*CFrame.Angles(-math.pi/2,math.pi*.225,0)*CFrame.new(-.5,0,.3)
  1201.  
  1202. local shootR=aimR*CFrame.new(0,0,.1)
  1203. local shootL=aimL*CFrame.new(0,0,.1)
  1204.  
  1205. local reloadR=defR*CFrame.Angles(-math.pi/1.5, 0, math.pi/6)
  1206. local reloadLdown=defL
  1207. local ammo=30
  1208. tool.Equipped:connect(function(mouse)
  1209. if hum.Health>0 and getlimbs() then
  1210. stop=false
  1211. rs.Part1=nil
  1212. ls.Part1=nil
  1213.  
  1214. rw.Parent=torso
  1215. lw.Parent=torso
  1216.  
  1217. rw.Part0=torso
  1218. lw.Part0=torso
  1219.  
  1220. rw.Part1=rarm
  1221. lw.Part1=larm
  1222.  
  1223. rw.C0=CFrame.new(1, .5, 0)
  1224. rw.C1=CFrame.new(-.5, .5, 0)
  1225.  
  1226. lw.C0=CFrame.new(-1, .5, 0)
  1227. lw.C1=CFrame.new(.5, .5, 0)
  1228. lerpCF(anim.drawtime, function(a)lw.C1=defL:lerp(aimL,a); return stop end,false)
  1229. lerpCF(anim.drawtime, function(a)rw.C1=defR:lerp(aimR,a); return stop end,true)
  1230. mouse.Button1Up:connect(function()
  1231. shoot=false
  1232. end)
  1233. mouse.Button1Down:connect(function()
  1234. if not reload then
  1235. shoot=true
  1236. while shoot and ammo>0 do
  1237. PlaySound("Shoot")
  1238. ammo=ammo-1
  1239. if not goldgun then
  1240. wait(.05)
  1241. end
  1242. lerpCF(anim.shoottime/2, function(a)lw.C1=aimL:lerp(shootL,a); return stop end,false)
  1243. lerpCF(anim.shoottime/2, function(a)rw.C1=aimR:lerp(shootR,a); return stop end,true)
  1244.  
  1245. lerpCF(anim.shoottime/2, function(a)lw.C1=shootL:lerp(aimL,a); return stop end,false)
  1246. lerpCF(anim.shoottime/2, function(a)rw.C1=shootR:lerp(aimR,a); return stop end,true)
  1247.  
  1248. local target=mouse.Target
  1249. if target then
  1250. humt=target.Parent:FindFirstChild("Humanoid") or target.Parent.Parent:FindFirstChild("Humanoid")
  1251. if humt then
  1252. if humt.MaxHealth==math.huge then
  1253. humt.MaxHealth=10^10
  1254. humt.Health=10^10
  1255. end
  1256. humt:TakeDamage((math.random(1, 4)/100)*humt.MaxHealth)
  1257. if target.Name=="Head" then
  1258. humt:TakeDamage((3/100)*humt.MaxHealth)
  1259. elseif target.Name=="Torso" then
  1260. humt:TakeDamage((1/100)*humt.MaxHealth)
  1261. end
  1262. humt:TakeDamage((1/100)*humt.MaxHealth)
  1263. if goldgun then
  1264. hum:TakeDamage((3/100)*humt.MaxHealth)
  1265. end
  1266. end
  1267. end
  1268. end
  1269. end
  1270. end)
  1271. mouse.KeyDown:connect(function(key)
  1272. if key=='r' and not reload and not shoot then
  1273. reload=true
  1274. PlaySound("Reload")
  1275. lerpCF(anim.reloadtime/4, function(a)lw.C1=aimL:lerp(reloadLdown,a); return stop end,true)
  1276. wait(anim.reloadtime/2)
  1277. lerpCF(anim.reloadtime/4, function(a)lw.C1=reloadLdown:lerp(aimL,a); return stop end,true)
  1278. --5/6
  1279. if not stop then
  1280. ammo=30
  1281. end
  1282. reload=false
  1283. end
  1284. end)
  1285. end
  1286. end)
  1287.  
  1288. tool.Unequipped:connect(function()
  1289. stop=true
  1290. rs.Part1=rarm
  1291. ls.Part1=larm
  1292.  
  1293. rw.Parent=nil
  1294. lw.Parent=nil
  1295. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement