Robert666121

NTF

Jun 28th, 2018 (edited)
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local GUI = Instance.new("ScreenGui")
  2. local OpenFrame = Instance.new("Frame")
  3. local OpenButton = Instance.new("TextButton")
  4. local OpenBeautyFrame = Instance.new("Frame")
  5. local MainFrame = Instance.new("Frame")
  6. local MainFrameBeautyA = Instance.new("Frame")
  7. local CloseButton = Instance.new("TextButton")
  8. local EXPLOIT1 = Instance.new("TextButton")
  9. local MainFrameCenterBeautyA = Instance.new("Frame")
  10. local MainFrameCenterBeautyA_2 = Instance.new("Frame")
  11. local EXPLOIT5 = Instance.new("TextButton")
  12. local EXPLOIT9 = Instance.new("TextButton")
  13. local EXPLOIT6 = Instance.new("TextButton")
  14. local EXPLOIT7 = Instance.new("TextButton")
  15. local EXPLOIT8 = Instance.new("TextButton")
  16. local EXPLOIT10 = Instance.new("TextButton")
  17. local EXPLOIT11 = Instance.new("TextButton")
  18. local EXPLOIT12 = Instance.new("TextButton")
  19. local EXPLOIT2 = Instance.new("TextButton")
  20. local EXPLOIT3 = Instance.new("TextButton")
  21. local EXPLOIT4 = Instance.new("TextButton")
  22. local MainFrameBeautyB = Instance.new("Frame")
  23.  
  24.  
  25. --Properties:
  26.  
  27. GUI.Name = "GUI"
  28. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  29.  
  30. OpenFrame.Name = "OpenFrame"
  31. OpenFrame.Parent = GUI
  32. OpenFrame.Active = true
  33. OpenFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  34. OpenFrame.BorderSizePixel = 0
  35. OpenFrame.Position = UDim2.new(0, 0, 0.629155695, 0)
  36. OpenFrame.Size = UDim2.new(0, 72, 0, 27)
  37.  
  38. OpenButton.Name = "OpenButton"
  39. OpenButton.Parent = OpenFrame
  40. OpenButton.BackgroundColor3 = Color3.fromRGB(170, 170, 127)
  41. OpenButton.BackgroundTransparency = 1.000
  42. OpenButton.BorderSizePixel = 0
  43. OpenButton.Position = UDim2.new(0.0305736773, 0, 0.116329789, 0)
  44. OpenButton.Size = UDim2.new(0, 66, 0, 20)
  45. OpenButton.Font = Enum.Font.Cartoon
  46. OpenButton.Text = "Open"
  47. OpenButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  48. OpenButton.TextScaled = true
  49. OpenButton.TextSize = 14.000
  50. OpenButton.TextWrapped = true
  51. OpenButton.MouseButton1Down:connect(function()
  52. MainFrame.Visible = true
  53. OpenFrame.Visible = false
  54. MainFrameBeautyA.Visible = true
  55. MainFrameBeautyB.Visible = true
  56. MainFrameCenterBeautyA_2.Visible = true
  57. MainFrameCenterBeautyA.Visible = true
  58. end)
  59.  
  60. OpenBeautyFrame.Name = "OpenBeautyFrame"
  61. OpenBeautyFrame.Parent = OpenFrame
  62. OpenBeautyFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. OpenBeautyFrame.BorderSizePixel = 0
  64. OpenBeautyFrame.Position = UDim2.new(0.988907099, 0, -0.148148149, 0)
  65. OpenBeautyFrame.Size = UDim2.new(0, 3, 0, 33)
  66.  
  67. MainFrame.Name = "MainFrame"
  68. MainFrame.Parent = GUI
  69. MainFrame.Active = true
  70. MainFrame.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  71. MainFrame.BorderSizePixel = 0
  72. MainFrame.Position = UDim2.new(0.30754894, 0, 0.235294133, 0)
  73. MainFrame.Size = UDim2.new(0, 412, 0, 263)
  74. MainFrame.Visible = false
  75. MainFrame.Draggable = true
  76.  
  77. MainFrameBeautyA.Name = "MainFrameBeautyA"
  78. MainFrameBeautyA.Parent = MainFrame
  79. MainFrameBeautyA.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  80. MainFrameBeautyA.BorderSizePixel = 0
  81. MainFrameBeautyA.Size = UDim2.new(0, 412, 0, 22)
  82. MainFrameBeautyA.Visible = false
  83.  
  84. CloseButton.Name = "CloseButton"
  85. CloseButton.Parent = MainFrameBeautyA
  86. CloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  87. CloseButton.BackgroundTransparency = 1.000
  88. CloseButton.BorderSizePixel = 0
  89. CloseButton.Position = UDim2.new(0.905339777, 0, 0, 0)
  90. CloseButton.Size = UDim2.new(0, 39, 0, 22)
  91. CloseButton.Font = Enum.Font.Cartoon
  92. CloseButton.Text = "Close"
  93. CloseButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  94. CloseButton.TextScaled = true
  95. CloseButton.TextSize = 14.000
  96. CloseButton.TextWrapped = true
  97. CloseButton.MouseButton1Down:connect(function()
  98. OpenFrame.Visible = true
  99. MainFrame.Visible = false
  100. MainFrameBeautyA.Visible = false
  101. MainFrameBeautyB.Visible = false
  102. MainFrameCenterBeautyA_2.Visible = false
  103. MainFrameCenterBeautyA.Visible = false
  104. end)
  105.  
  106. EXPLOIT1.Name = "EXPLOIT1"
  107. EXPLOIT1.Parent = MainFrame
  108. EXPLOIT1.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  109. EXPLOIT1.BorderSizePixel = 0
  110. EXPLOIT1.Position = UDim2.new(0.024271844, 0, 0.129277572, 0)
  111. EXPLOIT1.Size = UDim2.new(0, 92, 0, 32)
  112. EXPLOIT1.Font = Enum.Font.Cartoon
  113. EXPLOIT1.Text = "My Other GUI"
  114. EXPLOIT1.TextColor3 = Color3.fromRGB(255, 255, 255)
  115. EXPLOIT1.TextScaled = true
  116. EXPLOIT1.TextSize = 14.000
  117. EXPLOIT1.TextWrapped = true
  118. EXPLOIT1.MouseButton1Down:connect(function()
  119. loadstring(game:HttpGet(('https://pastebin.com/raw/HCsqYzwa'),true))()
  120. end)
  121.  
  122. MainFrameCenterBeautyA.Name = "MainFrameCenterBeautyA"
  123. MainFrameCenterBeautyA.Parent = MainFrame
  124. MainFrameCenterBeautyA.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  125. MainFrameCenterBeautyA.BorderSizePixel = 0
  126. MainFrameCenterBeautyA.Position = UDim2.new(0.288834959, 0, 0.129277572, 0)
  127. MainFrameCenterBeautyA.Size = UDim2.new(0, 8, 0, 185)
  128. MainFrameCenterBeautyA.Visible = false
  129.  
  130. MainFrameCenterBeautyA_2.Name = "MainFrameCenterBeautyA"
  131. MainFrameCenterBeautyA_2.Parent = MainFrame
  132. MainFrameCenterBeautyA_2.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  133. MainFrameCenterBeautyA_2.BorderSizePixel = 0
  134. MainFrameCenterBeautyA_2.Position = UDim2.new(0.699029148, 0, 0.129277557, 0)
  135. MainFrameCenterBeautyA_2.Size = UDim2.new(0, 8, 0, 185)
  136. MainFrameCenterBeautyA_2.Visible = false
  137.  
  138. EXPLOIT5.Name = "EXPLOIT5"
  139. EXPLOIT5.Parent = MainFrame
  140. EXPLOIT5.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  141. EXPLOIT5.BorderSizePixel = 0
  142. EXPLOIT5.Position = UDim2.new(0.388349503, 0, 0.129277572, 0)
  143. EXPLOIT5.Size = UDim2.new(0, 92, 0, 32)
  144. EXPLOIT5.Font = Enum.Font.Cartoon
  145. EXPLOIT5.Text = "JailTabs"
  146. EXPLOIT5.TextColor3 = Color3.fromRGB(255, 255, 255)
  147. EXPLOIT5.TextScaled = true
  148. EXPLOIT5.TextSize = 14.000
  149. EXPLOIT5.TextWrapped = true
  150. EXPLOIT5.MouseButton1Down:connect(function()
  151. loadstring(game:HttpGet(('https://pastebin.com/raw/aV6LcSGf'),true))()
  152. end)
  153.  
  154. EXPLOIT9.Name = "EXPLOIT9"
  155. EXPLOIT9.Parent = MainFrame
  156. EXPLOIT9.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  157. EXPLOIT9.BorderSizePixel = 0
  158. EXPLOIT9.Position = UDim2.new(0.75242722, 0, 0.129277572, 0)
  159. EXPLOIT9.Size = UDim2.new(0, 92, 0, 32)
  160. EXPLOIT9.Font = Enum.Font.Cartoon
  161. EXPLOIT9.Text = "Counter Pepsi"
  162. EXPLOIT9.TextColor3 = Color3.fromRGB(255, 255, 255)
  163. EXPLOIT9.TextScaled = true
  164. EXPLOIT9.TextSize = 14.000
  165. EXPLOIT9.TextWrapped = true
  166. EXPLOIT9.MouseButton1Down:connect(function()
  167. loadstring(game:HttpGet(('https://pastebin.com/raw/cWTJj3aZ'),true))()
  168. end)
  169.  
  170. EXPLOIT6.Name = "EXPLOIT6"
  171. EXPLOIT6.Parent = MainFrame
  172. EXPLOIT6.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  173. EXPLOIT6.BorderSizePixel = 0
  174. EXPLOIT6.Position = UDim2.new(0.388349503, 0, 0.323193908, 0)
  175. EXPLOIT6.Size = UDim2.new(0, 92, 0, 32)
  176. EXPLOIT6.Font = Enum.Font.Cartoon
  177. EXPLOIT6.Text = "PsyHub"
  178. EXPLOIT6.TextColor3 = Color3.fromRGB(255, 255, 255)
  179. EXPLOIT6.TextScaled = true
  180. EXPLOIT6.TextSize = 14.000
  181. EXPLOIT6.TextWrapped = true
  182. EXPLOIT6.MouseButton1Down:connect(function()
  183. loadstring(game:GetObjects("rbxassetid://3014051754")[1].Source)()
  184. end)
  185.  
  186. EXPLOIT7.Name = "EXPLOIT7"
  187. EXPLOIT7.Parent = MainFrame
  188. EXPLOIT7.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  189. EXPLOIT7.BorderSizePixel = 0
  190. EXPLOIT7.Position = UDim2.new(0.388349503, 0, 0.520912528, 0)
  191. EXPLOIT7.Size = UDim2.new(0, 92, 0, 32)
  192. EXPLOIT7.Font = Enum.Font.Cartoon
  193. EXPLOIT7.Text = "IY FE"
  194. EXPLOIT7.TextColor3 = Color3.fromRGB(255, 255, 255)
  195. EXPLOIT7.TextScaled = true
  196. EXPLOIT7.TextSize = 14.000
  197. EXPLOIT7.TextWrapped = true
  198. EXPLOIT7.MouseButton1Down:connect(function()
  199. loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
  200. end)
  201.  
  202. EXPLOIT8.Name = "EXPLOIT8"
  203. EXPLOIT8.Parent = MainFrame
  204. EXPLOIT8.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  205. EXPLOIT8.BorderSizePixel = 0
  206. EXPLOIT8.Position = UDim2.new(0.388349503, 0, 0.711026609, 0)
  207. EXPLOIT8.Size = UDim2.new(0, 92, 0, 32)
  208. EXPLOIT8.Font = Enum.Font.Cartoon
  209. EXPLOIT8.Text = "Arsenal Kill All"
  210. EXPLOIT8.TextColor3 = Color3.fromRGB(255, 255, 255)
  211. EXPLOIT8.TextScaled = true
  212. EXPLOIT8.TextSize = 14.000
  213. EXPLOIT8.TextWrapped = true
  214. EXPLOIT8.MouseButton1Down:connect(function()
  215. print("Script made by FramzDev#8283")
  216. local c = workspace.CurrentCamera
  217. local lplr = game.Players.LocalPlayer
  218.  
  219. function a(p)
  220. if p and p.Character then
  221. pcall(function()
  222. local t = p.Character.PrimaryPart.CFrame * Vector3.new(0, -0.25, 0)
  223. c.CFrame = CFrame.new(c.Focus.p, t) * CFrame.new(0, 0, 0.5)
  224. end)
  225. end
  226. end
  227. for i=1,10 do
  228. for _,v in pairs(game.Players:GetPlayers()) do
  229. pcall(function()
  230. for i=1,15 do
  231. lplr.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame - v.Character.HumanoidRootPart.CFrame.LookVector*4
  232. a(v)
  233. wait()
  234. end
  235. end)
  236. end
  237. end
  238. end)
  239.  
  240. EXPLOIT10.Name = "EXPLOIT10"
  241. EXPLOIT10.Parent = MainFrame
  242. EXPLOIT10.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  243. EXPLOIT10.BorderSizePixel = 0
  244. EXPLOIT10.Position = UDim2.new(0.75242722, 0, 0.323193908, 0)
  245. EXPLOIT10.Size = UDim2.new(0, 92, 0, 32)
  246. EXPLOIT10.Font = Enum.Font.Cartoon
  247. EXPLOIT10.Text = "Reviz Admin"
  248. EXPLOIT10.TextColor3 = Color3.fromRGB(255, 255, 255)
  249. EXPLOIT10.TextScaled = true
  250. EXPLOIT10.TextSize = 14.000
  251. EXPLOIT10.TextWrapped = true
  252. EXPLOIT10.MouseButton1Down:connect(function()
  253. loadstring(game:HttpGet(('https://pastebin.com/raw/KNUzQPYS'),true))()
  254. end)
  255.  
  256. EXPLOIT11.Name = "EXPLOIT11"
  257. EXPLOIT11.Parent = MainFrame
  258. EXPLOIT11.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  259. EXPLOIT11.BorderSizePixel = 0
  260. EXPLOIT11.Position = UDim2.new(0.75242722, 0, 0.520912528, 0)
  261. EXPLOIT11.Size = UDim2.new(0, 92, 0, 32)
  262. EXPLOIT11.Font = Enum.Font.Cartoon
  263. EXPLOIT11.Text = "FE GUI"
  264. EXPLOIT11.TextColor3 = Color3.fromRGB(255, 255, 255)
  265. EXPLOIT11.TextScaled = true
  266. EXPLOIT11.TextSize = 14.000
  267. EXPLOIT11.TextWrapped = true
  268. EXPLOIT11.MouseButton1Down:connect(function()
  269. loadstring(game:HttpGet(('https://pastebin.com/raw/yQaWHmZA'),true))()
  270. end)
  271.  
  272. EXPLOIT12.Name = "EXPLOIT12"
  273. EXPLOIT12.Parent = MainFrame
  274. EXPLOIT12.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  275. EXPLOIT12.BorderSizePixel = 0
  276. EXPLOIT12.Position = UDim2.new(0.75242722, 0, 0.711026609, 0)
  277. EXPLOIT12.Size = UDim2.new(0, 92, 0, 32)
  278. EXPLOIT12.Font = Enum.Font.Cartoon
  279. EXPLOIT12.Text = "FE Troll Animations"
  280. EXPLOIT12.TextColor3 = Color3.fromRGB(255, 255, 255)
  281. EXPLOIT12.TextScaled = true
  282. EXPLOIT12.TextSize = 14.000
  283. EXPLOIT12.TextWrapped = true
  284. EXPLOIT12.MouseButton1Down:connect(function()
  285. loadstring(game:HttpGet(('https://pastebin.com/raw/35ze0RJb'),true))()
  286. end)
  287.  
  288. EXPLOIT2.Name = "EXPLOIT2"
  289. EXPLOIT2.Parent = MainFrame
  290. EXPLOIT2.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  291. EXPLOIT2.BorderSizePixel = 0
  292. EXPLOIT2.Position = UDim2.new(0.024271844, 0, 0.323193908, 0)
  293. EXPLOIT2.Size = UDim2.new(0, 92, 0, 32)
  294. EXPLOIT2.Font = Enum.Font.Cartoon
  295. EXPLOIT2.Text = "Fe Invis Kill"
  296. EXPLOIT2.TextColor3 = Color3.fromRGB(255, 255, 255)
  297. EXPLOIT2.TextScaled = true
  298. EXPLOIT2.TextSize = 14.000
  299. EXPLOIT2.TextWrapped = true
  300. EXPLOIT2.MouseButton1Down:connect(function()
  301. loadstring(game:HttpGet(('https://pastebin.com/raw/Lpn5rUDp'),true))()
  302. end)
  303.  
  304. EXPLOIT3.Name = "EXPLOIT3"
  305. EXPLOIT3.Parent = MainFrame
  306. EXPLOIT3.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  307. EXPLOIT3.BorderSizePixel = 0
  308. EXPLOIT3.Position = UDim2.new(0.024271844, 0, 0.520912528, 0)
  309. EXPLOIT3.Size = UDim2.new(0, 92, 0, 32)
  310. EXPLOIT3.Font = Enum.Font.Cartoon
  311. EXPLOIT3.Text = "Vybe CMD Bar"
  312. EXPLOIT3.TextColor3 = Color3.fromRGB(255, 255, 255)
  313. EXPLOIT3.TextScaled = true
  314. EXPLOIT3.TextSize = 14.000
  315. EXPLOIT3.TextWrapped = true
  316. EXPLOIT3.MouseButton1Down:connect(function()
  317. loadstring(game:HttpGet(('https://pastebin.com/raw/NN5P4nQE'),true))()
  318. end)
  319.  
  320. EXPLOIT4.Name = "EXPLOIT4"
  321. EXPLOIT4.Parent = MainFrame
  322. EXPLOIT4.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  323. EXPLOIT4.BorderSizePixel = 0
  324. EXPLOIT4.Position = UDim2.new(0.024271844, 0, 0.711026609, 0)
  325. EXPLOIT4.Size = UDim2.new(0, 92, 0, 32)
  326. EXPLOIT4.Font = Enum.Font.Cartoon
  327. EXPLOIT4.Text = "JB Autorob"
  328. EXPLOIT4.TextColor3 = Color3.fromRGB(255, 255, 255)
  329. EXPLOIT4.TextScaled = true
  330. EXPLOIT4.TextSize = 14.000
  331. EXPLOIT4.TextWrapped = true
  332. EXPLOIT4.MouseButton1Down:connect(function()
  333. loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)()
  334. end)
  335.  
  336. MainFrameBeautyB.Name = "MainFrameBeautyB"
  337. MainFrameBeautyB.Parent = MainFrame
  338. MainFrameBeautyB.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  339. MainFrameBeautyB.BorderSizePixel = 0
  340. MainFrameBeautyB.Position = UDim2.new(0, 0, 0.916349828, 0)
  341. MainFrameBeautyB.Size = UDim2.new(0, 412, 0, 22)
  342. MainFrameBeautyB.Visible = false
  343.  
  344. CV="White"
  345.  
  346. p = game.Players.LocalPlayer
  347. char = p.Character
  348. local txt = Instance.new("BillboardGui", char)
  349. txt.Adornee = char .Head
  350. txt.Name = "_status"
  351. txt.Size = UDim2.new(2, 0, 1.2, 0)
  352. txt.StudsOffset = Vector3.new(-9, 6, 0)
  353. local text = Instance.new("TextLabel", txt)
  354. text.Size = UDim2.new(10, 0, 7, 0)
  355. text.FontSize = "Size24"
  356. text.TextScaled = true
  357. text.TextTransparency = 0
  358. text.BackgroundTransparency = 1
  359. text.TextTransparency = 0
  360. text.TextStrokeTransparency = 1
  361. text.Font = "Code"
  362. text.TextStrokeColor3 = Color3.new(40,0,0)
  363.  
  364. v=Instance.new("Part")
  365. v.Name = "ColorBrick"
  366. v.Parent=p.Character
  367. v.FormFactor="Symmetric"
  368. v.Anchored=true
  369. v.CanCollide=false
  370. v.BottomSurface="Smooth"
  371. v.TopSurface="Smooth"
  372. v.Size=Vector3.new(10,5,3)
  373. v.Transparency=1
  374. v.CFrame=char.Torso.CFrame
  375. v.BrickColor=BrickColor.new(CV)
  376. v.Transparency=1
  377. text.TextColor3 = Color3.fromRGB(255,140,0)
  378. v.Shape="Block"
  379. text.Text = "NTF Heavy Unit"
  380. coroutine.wrap(function()
  381. while wait() do
  382. wait(3)
  383. text.Text = "WHY!?"
  384. wait()
  385. text.Text = "NTF Heavy Unit";
  386. wait()
  387. text.Text = "ILL END YOU!";
  388. wait(2)
  389. local str = ""
  390. for i = 1, math.random(3,25) do
  391. str = str..string.char(math.random(65,122))
  392. end
  393. text.Text = str
  394. wait()
  395. str = ""
  396. for i = 1, math.random(12,25) do
  397. str = str..string.char(math.random(48,122))
  398. end
  399. wait()
  400. text.Text = str
  401. wait()
  402. text.Text = "NTF Heavy Unit";
  403. wait(1)
  404. text.Text = "THE PAIN"
  405. wait()
  406. text.Text = "What do you want?"
  407. wait()
  408. text.Text = "NTF Heavy Unit";
  409. wait(2)
  410. text.Text = "You made me do this.";
  411. wait()
  412. text.Text = "I never forgive you!";
  413. wait()
  414. for i = 1, math.random(12,25) do
  415. str = str..string.char(math.random(48,57))
  416. end
  417. text.Text = str
  418. wait()
  419. text.Text = "NTF Heavy Unit";
  420. wait(2)
  421. end
  422. end)()
  423. local Player = game.Players.localPlayer
  424. local Character = Player.Character
  425. local Torso = Character.Torso
  426. local hum = Character.Humanoid
  427. hum.MaxHealth = 10000000000000000000000000000000000000000000000000000000000000000000000000000
  428. wait(0.1)
  429. hum.Health = 10000000000000000000000000000000000000000000000000000000000000000000000000000
  430.  
  431. local Music = Instance.new("Sound")
  432.  
  433. Music.Name = "Sound"
  434. Music.SoundId = "http://roblox.com/asset/?id=714974960"
  435. Music.Volume = 4
  436. Music.Looped = false
  437. Music.Parent = Character
  438. Music:play()
  439.  
  440. GasMask = true
  441.  
  442. if GasMask == true then
  443. o1 = Instance.new("Model")
  444. o2 = Instance.new("Part")
  445. o3 = Instance.new("SpecialMesh")
  446. o4 = Instance.new("Part")
  447. o5 = Instance.new("Part")
  448. o6 = Instance.new("Part")
  449. o7 = Instance.new("SpecialMesh")
  450. o8 = Instance.new("Part")
  451. o9 = Instance.new("Part")
  452. o10 = Instance.new("SpecialMesh")
  453. o11 = Instance.new("Part")
  454. o12 = Instance.new("Part")
  455. o13 = Instance.new("SpecialMesh")
  456. o14 = Instance.new("Part")
  457. o15 = Instance.new("Part")
  458. o16 = Instance.new("Part")
  459. o17 = Instance.new("Part")
  460. o1.Name = "MODEL"
  461. o2.Name = "Middle"
  462. o2.Parent = o1
  463. o2.BrickColor = BrickColor.new("Pastel brown")
  464. o2.Transparency = 1
  465. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  466. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  467. o2.Anchored = true
  468. o2.FormFactor = Enum.FormFactor.Custom
  469. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  470. o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
  471. o2.BottomSurface = Enum.SurfaceType.Smooth
  472. o2.TopSurface = Enum.SurfaceType.Smooth
  473. o2.Color = Color3.new(1, 0.8, 0.6)
  474. o3.Parent = o2
  475. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  476. o3.MeshType = Enum.MeshType.FileMesh
  477. o4.Name = "Lense 1"
  478. o4.Parent = o1
  479. o4.Material = Enum.Material.Metal
  480. o4.Transparency = 0.050000011920929
  481. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  482. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  483. o4.Anchored = true
  484. o4.CanCollide = false
  485. o4.FormFactor = Enum.FormFactor.Custom
  486. o4.Shape = Enum.PartType.Cylinder
  487. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  488. o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
  489. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  490. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  491. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  492. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  493. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  494. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  495. o5.Name = "Lense2"
  496. o5.Parent = o1
  497. o5.Material = Enum.Material.Metal
  498. o5.Transparency = 0.050000011920929
  499. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  500. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  501. o5.Anchored = true
  502. o5.CanCollide = false
  503. o5.FormFactor = Enum.FormFactor.Custom
  504. o5.Shape = Enum.PartType.Cylinder
  505. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  506. o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
  507. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  508. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  509. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  510. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  511. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  512. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  513. o6.Name = "Handle"
  514. o6.Parent = o1
  515. o6.Material = Enum.Material.Metal
  516. o6.BrickColor = BrickColor.new("Really black")
  517. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  518. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  519. o6.Anchored = true
  520. o6.CanCollide = false
  521. o6.FormFactor = Enum.FormFactor.Plate
  522. o6.Size = Vector3.new(1, 0.400000006, 1)
  523. o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
  524. o6.BottomSurface = Enum.SurfaceType.Weld
  525. o6.TopSurface = Enum.SurfaceType.Smooth
  526. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  527. o7.Parent = o6
  528. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  529. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  530. o7.MeshType = Enum.MeshType.FileMesh
  531. o8.Name = "Straps"
  532. o8.Parent = o1
  533. o8.Material = Enum.Material.Fabric
  534. o8.BrickColor = BrickColor.new("Really black")
  535. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  536. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  537. o8.Anchored = true
  538. o8.CanCollide = false
  539. o8.FormFactor = Enum.FormFactor.Custom
  540. o8.Shape = Enum.PartType.Cylinder
  541. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  542. o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  543. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  544. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  545. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  546. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  547. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  548. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  549. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  550. o9.Name = "Ring2"
  551. o9.Parent = o1
  552. o9.BrickColor = BrickColor.new("Dark stone grey")
  553. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  554. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  555. o9.Anchored = true
  556. o9.CanCollide = false
  557. o9.FormFactor = Enum.FormFactor.Custom
  558. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  559. o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
  560. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  561. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  562. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  563. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  564. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  565. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  566. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  567. o10.Parent = o9
  568. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  569. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  570. o10.MeshType = Enum.MeshType.FileMesh
  571. o11.Name = "Straps"
  572. o11.Parent = o1
  573. o11.Material = Enum.Material.Fabric
  574. o11.BrickColor = BrickColor.new("Really black")
  575. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  576. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  577. o11.Anchored = true
  578. o11.CanCollide = false
  579. o11.FormFactor = Enum.FormFactor.Custom
  580. o11.Shape = Enum.PartType.Cylinder
  581. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  582. o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  583. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  584. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  585. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  586. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  587. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  588. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  589. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  590. o12.Name = "Ring1"
  591. o12.Parent = o1
  592. o12.BrickColor = BrickColor.new("Dark stone grey")
  593. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  594. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  595. o12.Anchored = true
  596. o12.CanCollide = false
  597. o12.FormFactor = Enum.FormFactor.Custom
  598. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  599. o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
  600. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  601. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  602. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  603. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  604. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  605. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  606. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  607. o13.Parent = o12
  608. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  609. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  610. o13.MeshType = Enum.MeshType.FileMesh
  611. o14.Name = "Breather"
  612. o14.Parent = o1
  613. o14.Material = Enum.Material.Metal
  614. o14.BrickColor = BrickColor.new("Really black")
  615. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  616. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  617. o14.Anchored = true
  618. o14.CanCollide = false
  619. o14.FormFactor = Enum.FormFactor.Custom
  620. o14.Shape = Enum.PartType.Cylinder
  621. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  622. o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  623. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  624. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  625. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  626. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  627. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  628. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  629. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  630. o15.Name = "Breather"
  631. o15.Parent = o1
  632. o15.Material = Enum.Material.Metal
  633. o15.BrickColor = BrickColor.new("Really black")
  634. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  635. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  636. o15.Anchored = true
  637. o15.CanCollide = false
  638. o15.FormFactor = Enum.FormFactor.Custom
  639. o15.Shape = Enum.PartType.Cylinder
  640. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  641. o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  642. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  643. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  644. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  645. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  646. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  647. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  648. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  649. o16.Name = "Breather"
  650. o16.Parent = o1
  651. o16.Material = Enum.Material.Metal
  652. o16.BrickColor = BrickColor.new("Really black")
  653. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  654. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  655. o16.Anchored = true
  656. o16.CanCollide = false
  657. o16.FormFactor = Enum.FormFactor.Custom
  658. o16.Shape = Enum.PartType.Cylinder
  659. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  660. o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  661. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  662. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  663. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  664. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  665. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  666. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  667. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  668. o17.Name = "Breather"
  669. o17.Parent = o1
  670. o17.Material = Enum.Material.Metal
  671. o17.BrickColor = BrickColor.new("Really black")
  672. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  673. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  674. o17.Anchored = true
  675. o17.CanCollide = false
  676. o17.FormFactor = Enum.FormFactor.Custom
  677. o17.Shape = Enum.PartType.Cylinder
  678. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  679. o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  680. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  681. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  682. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  683. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  684. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  685. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  686. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  687. function onTouched(hit)
  688. local d = hit.Parent:GetChildren()
  689. for i=1, #d do
  690. if (d[i].className == "Hat") then
  691. d[i]:remove()
  692. end
  693. end
  694. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  695. local g = o1:clone()
  696. g.Parent = hit.Parent
  697. local C = g:GetChildren()
  698. for i=1, #C do
  699. if C[i].className == "Part" then
  700. local W = Instance.new("Weld")
  701. W.Part0 = g.Middle
  702. W.Part1 = C[i]
  703. local CJ = CFrame.new(g.Middle.Position)
  704. local C0 = g.Middle.CFrame:inverse()*CJ
  705. local C1 = C[i].CFrame:inverse()*CJ
  706. W.C0 = C0
  707. W.C1 = C1
  708. W.Parent = g.Middle
  709. g.Middle.Transparency = 1
  710. end
  711. local Y = Instance.new("Weld")
  712. Y.Part0 = hit.Parent.Head
  713. Y.Part1 = g.Middle
  714. Y.C0 = CFrame.new(0, 0, 0)
  715. Y.Parent = Y.Part0
  716. end
  717.  
  718. local h = g:GetChildren()
  719. for i = 1, # h do
  720. h[i].Anchored = false
  721. h[i].CanCollide = false
  722. end
  723.  
  724. end
  725. end
  726.  
  727. onTouched(game.Players.LocalPlayer.Character.Head)
  728. end
  729. local Player = game:service'Players'.localPlayer
  730. local chara = Player.Character
  731.  
  732. shirt = Instance.new("Shirt", Character)
  733. shirt.Name = "Shirt"
  734. pants = Instance.new("Pants", Character)
  735. pants.Name = "Pants"
  736. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735"
  737. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766"
  738.  
  739. local Player = game:service'Players'.localPlayer
  740. local chara = Player.Character
  741. local Character = Player.Character
  742. torso = chara.Torso
  743.  
  744. New = function(Object, Parent, Name, Data)
  745. local Object = Instance.new(Object)
  746. for Index, Value in pairs(Data or {}) do
  747. Object[Index] = Value
  748. end
  749. Object.Parent = Parent
  750. Object.Name = Name
  751. return Object
  752. end
  753. local LoPa = game:GetService("Players").LocalPlayer
  754. local C = LoPa.Character
  755.  
  756.  
  757. LaserMinigun = New("Model",C,"LaserMinigun",{})
  758. Gunpart = New("Model",LaserMinigun,"Gunpart",{})
  759. FrontHandle = New("Part",Gunpart,"FrontHandle",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.334096551, 0.668193102, 0.334096551),CFrame = CFrame.new(30.8316956, 0.787470937, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  760. Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
  761. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  762. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  763. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  764. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  765. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  766. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  767. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  768. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  769. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  770. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  771. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.556827545, 0.111365512, 0.556827545),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  772. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  773. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  774. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  775. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  776. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  777. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  778. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  779. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  780. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  781. gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  782. Mesh = New("CylinderMesh",gun4,"Mesh",{})
  783. gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  784. Mesh = New("CylinderMesh",gun1,"Mesh",{})
  785. gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  786. Mesh = New("CylinderMesh",gun3,"Mesh",{})
  787. gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  788. Mesh = New("CylinderMesh",gun2,"Mesh",{})
  789. PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
  790. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(27.7135086, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  791. Mesh = New("CylinderMesh",Part,"Mesh",{})
  792. Model = New("Model",Part,"Model",{})
  793. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  794. Mesh = New("CylinderMesh",Part,"Mesh",{})
  795. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  796. Mesh = New("CylinderMesh",Part,"Mesh",{})
  797. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  798. Mesh = New("CylinderMesh",Part,"Mesh",{})
  799. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  800. Mesh = New("CylinderMesh",Part,"Mesh",{})
  801. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  802. Mesh = New("CylinderMesh",Part,"Mesh",{})
  803. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  804. Mesh = New("CylinderMesh",Part,"Mesh",{})
  805. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  806. Mesh = New("CylinderMesh",Part,"Mesh",{})
  807. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  808. Mesh = New("CylinderMesh",Part,"Mesh",{})
  809. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  810. Mesh = New("CylinderMesh",Part,"Mesh",{})
  811. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  812. Mesh = New("CylinderMesh",Part,"Mesh",{})
  813. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  814. Mesh = New("CylinderMesh",Part,"Mesh",{})
  815. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  816. Mesh = New("CylinderMesh",Part,"Mesh",{})
  817. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  818. Mesh = New("CylinderMesh",Part,"Mesh",{})
  819. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  820. Mesh = New("CylinderMesh",Part,"Mesh",{})
  821. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(29.4953289, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  822. Mesh = New("CylinderMesh",Part,"Mesh",{})
  823. Model = New("Model",Part,"Model",{})
  824. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  825. Mesh = New("CylinderMesh",Part,"Mesh",{})
  826. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  827. Mesh = New("CylinderMesh",Part,"Mesh",{})
  828. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  829. Mesh = New("CylinderMesh",Part,"Mesh",{})
  830. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  831. Mesh = New("CylinderMesh",Part,"Mesh",{})
  832. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  833. Mesh = New("CylinderMesh",Part,"Mesh",{})
  834. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  835. Mesh = New("CylinderMesh",Part,"Mesh",{})
  836. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  837. Mesh = New("CylinderMesh",Part,"Mesh",{})
  838. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  839. Mesh = New("CylinderMesh",Part,"Mesh",{})
  840. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  841. Mesh = New("CylinderMesh",Part,"Mesh",{})
  842. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  843. Mesh = New("CylinderMesh",Part,"Mesh",{})
  844. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  845. Mesh = New("CylinderMesh",Part,"Mesh",{})
  846. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  847. Mesh = New("CylinderMesh",Part,"Mesh",{})
  848. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  849. Mesh = New("CylinderMesh",Part,"Mesh",{})
  850. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  851. Mesh = New("CylinderMesh",Part,"Mesh",{})
  852. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.222731024, 0.890924096),CFrame = CFrame.new(29.7180557, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  853. Mesh = New("CylinderMesh",Part,"Mesh",{})
  854. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  855. Mesh = New("CylinderMesh",Part,"Mesh",{})
  856. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  857. Mesh = New("CylinderMesh",Part,"Mesh",{})
  858. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  859. Mesh = New("CylinderMesh",Part,"Mesh",{})
  860. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  861. Mesh = New("CylinderMesh",Part,"Mesh",{})
  862. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  863. Mesh = New("CylinderMesh",Part,"Mesh",{})
  864. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  865. Mesh = New("CylinderMesh",Part,"Mesh",{})
  866. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  867. Mesh = New("CylinderMesh",Part,"Mesh",{})
  868. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  869. Mesh = New("CylinderMesh",Part,"Mesh",{})
  870. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(29.9407845, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  871. Mesh = New("CylinderMesh",Part,"Mesh",{})
  872. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  873. Mesh = New("CylinderMesh",Part,"Mesh",{})
  874. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.38624, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  875. Mesh = New("CylinderMesh",Part,"Mesh",{})
  876. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.668193102, 0.445462048),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  877. Mesh = New("CylinderMesh",Part,"Mesh",{})
  878. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(30.6089668, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  879. Mesh = New("CylinderMesh",Part,"Mesh",{})
  880. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.0498734, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  881. Mesh = New("CylinderMesh",Part,"Mesh",{})
  882. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000644, 0.707109809, 0.70710659, 0, 0.707112432, -0.707108617, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  883. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 2.00457907, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787482023, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  884. Mesh = New("CylinderMesh",Part,"Mesh",{})
  885. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  886. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  887. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  888. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  889. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000024, 0, 1, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  890. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.8271465, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  891. Mesh = New("CylinderMesh",Part,"Mesh",{})
  892. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.381691, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  893. Mesh = New("CylinderMesh",Part,"Mesh",{})
  894. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(28.1589584, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  895. Mesh = New("CylinderMesh",Part,"Mesh",{})
  896. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.222731024),CFrame = CFrame.new(26.9784832, 0.787473083, -52.2899971, -5.52762662e-11, 1.00582838e-05, 1.00000024, -3.50170376e-06, -1.00000024, 1.00582838e-05, 1, -3.50170421e-06, 9.06084097e-11),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  897. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.512281358, 0.111365512),CFrame = CFrame.new(26.7446499, 1.07702565, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  898. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(26.7111912, 0.787473083, -52.2899971, -5.53331096e-11, -0.258809268, 0.965928495, -3.50170376e-06, -0.965928495, -0.258809268, 1, -3.38240966e-06, -9.06219896e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  899. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.111365512),CFrame = CFrame.new(26.6666946, 0.475645214, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  900. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.579100668, 0.111365512),CFrame = CFrame.new(26.4769592, 0.766716778, -52.2899971, -5.52867474e-11, -0.258809447, 0.96592921, -3.50170421e-06, -0.96592921, -0.258809447, 1, -3.38241125e-06, -9.06220293e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  901. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.289550334, 0.111365512),CFrame = CFrame.new(26.8782501, 0.787470937, -52.2899971, -5.69528105e-11, -1, 1.04902101e-05, -3.50170967e-06, -1.04902101e-05, -1, 1, -9.36864822e-11, -3.50170967e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  902. Mesh = New("CylinderMesh",Part,"Mesh",{})
  903. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -52.7354622, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  904. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -51.8445435, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  905. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.178184807, 0.890924096, 0.178184807),CFrame = CFrame.new(29.4285202, 1.67839265, -52.2899971, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  906. Mesh = New("CylinderMesh",Part,"Mesh",{})
  907. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -51.9559135, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  908. Mesh = New("CylinderMesh",Part,"Mesh",{})
  909. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -52.6240959, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  910. Mesh = New("CylinderMesh",Part,"Mesh",{})
  911. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.779558599, 0.222731024),CFrame = CFrame.new(29.4285202, 1.67839491, -52.2900124, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  912. Mesh = New("CylinderMesh",Part,"Mesh",{})
  913. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.4907551, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  914. Mesh = New("CylinderMesh",Part,"Mesh",{})
  915. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  916. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  917. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  918. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  919. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  920. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  921. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  922. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  923. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  924. Mesh = New("CylinderMesh",Part,"Mesh",{})
  925. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  926. Mesh = New("CylinderMesh",Part,"Mesh",{})
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938. Handle = New("Part",LaserMinigun,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.22300005, 4.51200008, 1.11099994),CFrame = CFrame.new(28.6618481, 0.8217237, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951. MiniDroid = New("Model",C,"MiniDroid",{})
  952. armor = New("Model",MiniDroid,"armor",{})
  953. Main = New("Model",armor,"Main",{})
  954. Part = New("Part",Main,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000001, 0.800000012, 0.800000012),CFrame = CFrame.new(30.9500008, 1.7000351, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  955. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.899999976, 0.699999988, 0.899999976),CFrame = CFrame.new(30.9499989, 1.80003405, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  956. Mesh = New("SpecialMesh",Part,"Mesh",{})
  957. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.50999999, 1),CFrame = CFrame.new(30.9499989, 1.90003407, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  958. Mesh = New("SpecialMesh",Part,"Mesh",{})
  959. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.5, 1),CFrame = CFrame.new(30.9499989, 1.70003402, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  960. Mesh = New("SpecialMesh",Part,"Mesh",{})
  961. Neon = New("Model",MiniDroid,"Neon",{})
  962. LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  963. FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  964. miniHandle = New("Part",MiniDroid,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(30.9500008, 1.80504608, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  965.  
  966.  
  967.  
  968.  
  969.  
  970. Glow1 = Color3.fromRGB(174,198,207)
  971. Glow2 = Color3.fromRGB(119,158,203)
  972.  
  973. GlowParticle = Instance.new("ParticleEmitter",FirePart)
  974. GlowParticle.LightEmission = 1
  975. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  976. GlowParticle.Size = NumberSequence.new(0,20)
  977. GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985"
  978. GlowParticle.Transparency = NumberSequence.new(0,1)
  979. GlowParticle.LockedToPart = true
  980. GlowParticle.Lifetime = NumberRange.new(1)
  981. GlowParticle.Rate= 1
  982. GlowParticle.Speed =NumberRange.new(0)
  983. GlowParticle.Enabled = false
  984.  
  985.  
  986.  
  987.  
  988. GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
  989. GlowParticle2.LightEmission = .7
  990. GlowParticle2.Color = ColorSequence.new(Glow1,Glow2)
  991. GlowParticle2.Size = NumberSequence.new(0,1)
  992. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350"
  993. GlowParticle2.Transparency = NumberSequence.new(0,1)
  994. GlowParticle2.LockedToPart = false
  995. GlowParticle2.Lifetime = NumberRange.new(0.2)
  996. GlowParticle2.Rate= 150
  997. GlowParticle2.Speed =NumberRange.new(3)
  998. GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0)
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004. local all,last = {}
  1005. function scan(p)
  1006. for _,v in pairs(p:GetChildren()) do
  1007. if (v:IsA("BasePart")) then
  1008. if (last) then
  1009. local w = Instance.new("Weld")
  1010. w.Part0,w.Part1 = last,v
  1011. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1012. w.Parent = last
  1013. end
  1014. table.insert(all,v)
  1015. last = v
  1016. end
  1017. scan(v)
  1018. end
  1019. end
  1020. scan(LaserMinigun)
  1021.  
  1022. scan(MiniDroid)
  1023. for _,v in pairs(all) do v.Anchored = false v.CanCollide = false end
  1024. MiniDroid.Parent = C
  1025. LaserMinigun.Parent = C
  1026.  
  1027.  
  1028. Main:Destroy()
  1029.  
  1030. Effects = { }
  1031. Rapid = false
  1032. local Player = game.Players.localPlayer
  1033. local Character = Player.Character
  1034. local Humanoid = Character.Humanoid
  1035. local mouse = Player:GetMouse()
  1036. local LeftArm = Character["Left Arm"]
  1037. local RightArm = Character["Right Arm"]
  1038. local LeftLeg = Character["Left Leg"]
  1039. local RightLeg = Character["Right Leg"]
  1040. local Head = Character.Head
  1041. local Torso = Character.Torso
  1042. local cam = game.Workspace.CurrentCamera
  1043. local RootPart = Character.HumanoidRootPart
  1044. local RootJoint = RootPart.RootJoint
  1045. local equipped = false
  1046. local attack = false
  1047. local Anim = 'Idle'
  1048. local idle = 0
  1049. local attacktype = 1
  1050. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1051. local velocity = RootPart.Velocity.y
  1052. local sine = 0
  1053. local change = 1
  1054. local grabbed = false
  1055. local cn = CFrame.new
  1056. local mr = math.rad
  1057. local angles = CFrame.Angles
  1058. local ud = UDim2.new
  1059. local c3 = Color3.new
  1060. local slashDamage = 15
  1061. local dir = {w = 0, s = 0, a = 0, d = 0}
  1062. local dir2 = {w = 0, s = 0, a = 0, d = 0}
  1063. killcom=true
  1064. trans = 1
  1065. sentrymode = false
  1066. sentrywait = false
  1067. local LightMod = Instance.new("Model", Character)
  1068. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1069. Humanoid.Animator:Destroy()
  1070. npcanim = Character.Animate:Clone()
  1071. ultwait=false
  1072.  
  1073.  
  1074.  
  1075.  
  1076. Character.Animate:Destroy()
  1077.  
  1078.  
  1079. local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1)
  1080. local oldParts = {}
  1081. for _,v in pairs(Par:GetChildren()) do
  1082. v.CFrame = CFrame.new(5e5, 5e5, 5e5)
  1083. table.insert(oldParts, v)
  1084. end
  1085. local Distance = (Start-End).Magnitude
  1086. local ArcScale = ArcScale or 1
  1087. local RandomScale = RandomScale or 0
  1088. local Last = Start
  1089. local IterNum = 0
  1090.  
  1091. while Par.Parent do
  1092. IterNum = IterNum + 1
  1093. local New = nil
  1094. if (Last-End).Magnitude < Length then
  1095. New = CFrame.new(End)
  1096. else
  1097. if (End-Last).Magnitude < Length*2 then
  1098. RandomScale = RandomScale*0.1
  1099. ArcScale = ArcScale*0.5
  1100. end
  1101. local Direct = CFrame.new(Last,End)
  1102. New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale)))
  1103. New = New*CFrame.new(0,0,-Length)
  1104. end
  1105. local Trail = nil
  1106. if oldParts[IterNum] then
  1107. Trail = oldParts[IterNum]
  1108. Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Really red")) or BrickColor.new("Really red")
  1109. Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
  1110. Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
  1111. oldParts[IterNum] = nil
  1112. game:GetService("Debris"):AddItem(Trail, .03)
  1113. else
  1114. Trail = Instance.new("Part")
  1115. Trail.Name = "Part"
  1116. Trail.FormFactor = "Custom"
  1117. Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Really red")) or BrickColor.new("Really red")
  1118. Trail.Transparency = 0
  1119. Trail.Anchored = true
  1120. Trail.CanCollide = false
  1121. Trail.Locked = true
  1122. Trail.BackSurface = "SmoothNoOutlines"
  1123. Trail.BottomSurface = "SmoothNoOutlines"
  1124. Trail.FrontSurface = "SmoothNoOutlines"
  1125. Trail.LeftSurface = "SmoothNoOutlines"
  1126. Trail.RightSurface = "SmoothNoOutlines"
  1127. Trail.TopSurface = "SmoothNoOutlines"
  1128. Trail.Material = "Neon"
  1129. Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
  1130. Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
  1131. Trail.Parent = Par
  1132. game:GetService("Debris"):AddItem(Trail, .03)
  1133. end
  1134. Last = New.p
  1135. if (Last-End).Magnitude < 1 then
  1136. break
  1137. end
  1138. end
  1139. for _,v in pairs(oldParts) do
  1140. v:Destroy()
  1141. end
  1142. end
  1143.  
  1144.  
  1145.  
  1146. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1147. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1148. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1149.  
  1150. RSH, LSH = nil, nil
  1151.  
  1152.  
  1153. DW = Instance.new("Weld")
  1154. DW.Name = "GuW"
  1155. DW.Part0 = Torso
  1156. DW.C0 = cn(0, 50, 0)
  1157. DW.C1 = cn(0, 0, 0)
  1158. DW.Part1 = miniHandle
  1159. DW.Parent = Torso
  1160.  
  1161.  
  1162. GuW = Instance.new("Weld")
  1163. GuW.Name = "GuW"
  1164. GuW.Part0 = RightArm
  1165. GuW.C0 = cn(0, -1, -1)
  1166. GuW.C1 = cn(0, 0, 0)
  1167. GuW.Part1 = Handle
  1168. GuW.Parent = RightArm
  1169.  
  1170. RW = Instance.new("Weld")
  1171. LW = Instance.new("Weld")
  1172.  
  1173.  
  1174. RH = Torso["Right Hip"]
  1175. LH = Torso["Left Hip"]
  1176.  
  1177. RSH = Torso["Right Shoulder"]
  1178. LSH = Torso["Left Shoulder"]
  1179.  
  1180. RSH.Parent = nil
  1181. LSH.Parent = nil
  1182.  
  1183. RW.Name = "RW"
  1184. RW.Part0 = Torso
  1185. RW.C0 = cn(1.5, 0.5, 0)
  1186. RW.C1 = cn(0, 0.5, 0)
  1187. RW.Part1 = RightArm
  1188. RW.Parent = Torso
  1189.  
  1190. LW.Name = "LW"
  1191. LW.Part0 = Torso
  1192. LW.C0 = cn(-1.5, 0.5, 0)
  1193. LW.C1 = cn(0, 0.5, 0)
  1194. LW.Part1 = LeftArm
  1195. LW.Parent = Torso
  1196.  
  1197. function clerp(a, b, t)
  1198. local qa = {
  1199. QuaternionFromCFrame(a)
  1200. }
  1201. local qb = {
  1202. QuaternionFromCFrame(b)
  1203. }
  1204. local ax, ay, az = a.x, a.y, a.z
  1205. local bx, by, bz = b.x, b.y, b.z
  1206. local _t = 1 - t
  1207. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1208. end
  1209.  
  1210. function QuaternionFromCFrame(cf)
  1211. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1212. local trace = m00 + m11 + m22
  1213. if trace > 0 then
  1214. local s = math.sqrt(1 + trace)
  1215. local recip = 0.5 / s
  1216. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1217. else
  1218. local i = 0
  1219. if m11 > m00 then
  1220. i = 1
  1221. end
  1222. if m22 > (i == 0 and m00 or m11) then
  1223. i = 2
  1224. end
  1225. if i == 0 then
  1226. local s = math.sqrt(m00 - m11 - m22 + 1)
  1227. local recip = 0.5 / s
  1228. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1229. elseif i == 1 then
  1230. local s = math.sqrt(m11 - m22 - m00 + 1)
  1231. local recip = 0.5 / s
  1232. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1233. elseif i == 2 then
  1234. local s = math.sqrt(m22 - m00 - m11 + 1)
  1235. local recip = 0.5 / s
  1236. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1237. end
  1238. end
  1239. end
  1240.  
  1241. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1242. local xs, ys, zs = x + x, y + y, z + z
  1243. local wx, wy, wz = w * xs, w * ys, w * zs
  1244. local xx = x * xs
  1245. local xy = x * ys
  1246. local xz = x * zs
  1247. local yy = y * ys
  1248. local yz = y * zs
  1249. local zz = z * zs
  1250. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1251. end
  1252.  
  1253. function QuaternionSlerp(a, b, t)
  1254. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1255. local startInterp, finishInterp;
  1256. if cosTheta >= 0.0001 then
  1257. if (1 - cosTheta) > 0.0001 then
  1258. local theta = math.acos(cosTheta)
  1259. local invSinTheta = 1 / math.sin(theta)
  1260. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1261. finishInterp = math.sin(t * theta) * invSinTheta
  1262. else
  1263. startInterp = 1 - t
  1264. finishInterp = t
  1265. end
  1266. else
  1267. if (1 + cosTheta) > 0.0001 then
  1268. local theta = math.acos(-cosTheta)
  1269. local invSinTheta = 1 / math.sin(theta)
  1270. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1271. finishInterp = math.sin(t * theta) * invSinTheta
  1272. else
  1273. startInterp = t - 1
  1274. finishInterp = t
  1275. end
  1276. end
  1277. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1278. end
  1279.  
  1280. function swait(num)
  1281. if num == 0 or num == nil then
  1282. game:service'RunService'.RenderStepped:wait(0)
  1283. else
  1284. for i = 0, num do
  1285. game:service'RunService'.RenderStepped:wait(0)
  1286. end
  1287. end
  1288. end
  1289.  
  1290. local RbxUtility = LoadLibrary("RbxUtility")
  1291. local Create = RbxUtility.Create
  1292.  
  1293. function RemoveOutlines(part)
  1294. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1295. end
  1296.  
  1297. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1298. local Part = Create("Part"){
  1299. formFactor = FormFactor,
  1300. Parent = Parent,
  1301. Reflectance = Reflectance,
  1302. Transparency = Transparency,
  1303. CanCollide = false,
  1304. Locked = true,
  1305. BrickColor = BrickColor.new(tostring(BColor)),
  1306. Name = Name,
  1307. Size = Size,
  1308. Material = Material,
  1309. }
  1310. RemoveOutlines(Part)
  1311. return Part
  1312. end
  1313.  
  1314. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1315. local Msh = Create(Mesh){
  1316. Parent = Part,
  1317. Offset = OffSet,
  1318. Scale = Scale,
  1319. }
  1320. if Mesh == "SpecialMesh" then
  1321. Msh.MeshType = MeshType
  1322. Msh.MeshId = MeshId
  1323. end
  1324. return Msh
  1325. end
  1326.  
  1327. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1328. local Weld = Create("Weld"){
  1329. Parent = Parent,
  1330. Part0 = Part0,
  1331. Part1 = Part1,
  1332. C0 = C0,
  1333. C1 = C1,
  1334. }
  1335. return Weld
  1336. end
  1337.  
  1338. function rayCast(Position, Direction, Range, Ignore)
  1339. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1340. end
  1341.  
  1342. function CreateSound(id, par, vol, pit)
  1343. coroutine.resume(coroutine.create(function()
  1344. local sou = Instance.new("Sound", par or workspace)
  1345. sou.Volume = vol
  1346. sou.Pitch = pit or 1
  1347. sou.SoundId = id
  1348. wait()
  1349. sou:play()
  1350. game:GetService("Debris"):AddItem(sou, 6)
  1351. end))
  1352. end
  1353.  
  1354. local function getclosest(obj, distance)
  1355. local last, lastx = distance + 1
  1356. for i, v in pairs(workspace:GetChildren()) do
  1357. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  1358. local t = v.Torso
  1359. local dist = (t.Position - obj.Position).magnitude
  1360. if dist <= distance then
  1361. if dist < last then
  1362. last = dist
  1363. lastx = v
  1364. end
  1365. end
  1366. end
  1367. end
  1368. return lastx
  1369. end
  1370.  
  1371. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  1372. for i, v in pairs(hit:GetChildren()) do
  1373. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  1374. local find = v:FindFirstChild("Hitz")
  1375. if not find then
  1376. if v.Parent:findFirstChild("Head") then
  1377. local BillG = Create("BillboardGui"){
  1378. Parent = v.Parent.Head,
  1379. Size = UDim2.new(1, 0, 1, 0),
  1380. Adornee = v.Parent.Head,
  1381. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  1382. }
  1383. local TL = Create("TextLabel"){
  1384. Parent = BillG,
  1385. Size = UDim2.new(3, 3, 3, 3),
  1386. BackgroundTransparency = 1,
  1387. Text = tostring(damage).."-",
  1388. TextColor3 = Color1.Color,
  1389. TextStrokeColor3 = Color2.Color,
  1390. TextStrokeTransparency = 0,
  1391. TextXAlignment = Enum.TextXAlignment.Center,
  1392. TextYAlignment = Enum.TextYAlignment.Center,
  1393. FontSize = Enum.FontSize.Size18,
  1394. Font = "ArialBold",
  1395. }
  1396. coroutine.resume(coroutine.create(function()
  1397. wait(1)
  1398. for i = 0, 1, .1 do
  1399. wait(.1)
  1400. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  1401. end
  1402. BillG:Destroy()
  1403. end))
  1404. end
  1405. v.Health = v.Health - damage
  1406. local bool = Create("BoolValue"){
  1407. Parent = v,
  1408. Name = 'Hitz',
  1409. }
  1410. if HSound ~= nil and HPitch ~= nil then
  1411. CreateSound(HSound, hit, 1, HPitch)
  1412. end
  1413. game:GetService("Debris"):AddItem(bool, cooldown)
  1414. end
  1415. end
  1416. end
  1417. end
  1418.  
  1419.  
  1420. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1421. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1422. prt.Anchored = true
  1423. prt.CFrame = cframe
  1424. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1425. game:GetService("Debris"):AddItem(prt, 10)
  1426. if Type == 1 or Type == nil then
  1427. table.insert(Effects, {
  1428. prt,
  1429. "Block1",
  1430. delay,
  1431. x3,
  1432. y3,
  1433. z3,
  1434. msh
  1435. })
  1436. elseif Type == 2 then
  1437. table.insert(Effects, {
  1438. prt,
  1439. "Block2",
  1440. delay,
  1441. x3,
  1442. y3,
  1443. z3,
  1444. msh
  1445. })
  1446. end
  1447. end
  1448.  
  1449. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1450. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1451. prt.Anchored = true
  1452. prt.CFrame = cframe
  1453. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1454. game:GetService("Debris"):AddItem(prt, 10)
  1455. table.insert(Effects, {
  1456. prt,
  1457. "Cylinder",
  1458. delay,
  1459. x3,
  1460. y3,
  1461. z3,
  1462. msh
  1463. })
  1464. end
  1465.  
  1466. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1467. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1468. prt.Anchored = true
  1469. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1470. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1471. game:GetService("Debris"):AddItem(prt, 10)
  1472. table.insert(Effects, {
  1473. prt,
  1474. "Cylinder",
  1475. delay,
  1476. x3,
  1477. y3,
  1478. z3,
  1479. msh
  1480. })
  1481. end
  1482.  
  1483. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1484. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1485. prt.Anchored = true
  1486. prt.CFrame = cframe
  1487. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1488. game:GetService("Debris"):AddItem(prt, 10)
  1489. table.insert(Effects, {
  1490. prt,
  1491. "Cylinder",
  1492. delay,
  1493. x3,
  1494. y3,
  1495. z3,
  1496. msh
  1497. })
  1498. end
  1499.  
  1500. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1501. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1502. prt.Anchored = true
  1503. prt.CFrame = cframe
  1504. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1505. game:GetService("Debris"):AddItem(prt, 10)
  1506. table.insert(Effects, {
  1507. prt,
  1508. "Cylinder",
  1509. delay,
  1510. x3,
  1511. y3,
  1512. z3,
  1513. msh
  1514. })
  1515. end
  1516.  
  1517. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1518. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1519. prt.Anchored = true
  1520. prt.CFrame = cframe
  1521. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1522. game:GetService("Debris"):AddItem(prt, 10)
  1523. table.insert(Effects, {
  1524. prt,
  1525. "Cylinder",
  1526. delay,
  1527. x3,
  1528. y3,
  1529. z3,
  1530. msh
  1531. })
  1532. end
  1533.  
  1534. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1535. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1536. prt.Anchored = true
  1537. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1538. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1539. local num = math.random(10, 50) / 1000
  1540. game:GetService("Debris"):AddItem(prt, 10)
  1541. table.insert(Effects, {
  1542. prt,
  1543. "Shatter",
  1544. num,
  1545. prt.CFrame,
  1546. math.random() - math.random(),
  1547. 0,
  1548. math.random(50, 100) / 100
  1549. })
  1550. end
  1551.  
  1552.  
  1553.  
  1554.  
  1555. for i = 0, 1, 0.05 do
  1556. swait()
  1557. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1558. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  1559. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1560. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1561. if Torsovelocity > 2 then
  1562. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
  1563. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  1564. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  1565. elseif Torsovelocity < 1 then
  1566. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1567. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1568. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1569. end
  1570. end
  1571. attack = false
  1572.  
  1573.  
  1574.  
  1575. game:GetService'RunService'.Stepped:connect(function()
  1576. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1577. velocity = RootPart.Velocity.y
  1578. sine = sine + change
  1579. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1580. if equipped == true or equipped == false then
  1581. if RootPart.Velocity.y > 1 and hit == nil then
  1582. Anim = "Jump"
  1583. if attack == false then
  1584. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1585. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1586. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1587. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1588. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  1589. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  1590. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1591. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,0 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1592. end
  1593. elseif RootPart.Velocity.y < 1 and hit == nil then
  1594. Anim = "Fall"
  1595. if attack == false then
  1596. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1597. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1598. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(65), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1599. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(55 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1600. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1601. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1602. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1603. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,8 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1604. end
  1605. elseif Torsovelocity < 1 and hit ~= nil then
  1606. Anim = "Idle"
  1607. if attack == false then
  1608. change = 1
  1609. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  1610. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  1611. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1612. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1613. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1614. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1615. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1616.  
  1617. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1618. end
  1619. elseif Torsovelocity > 1 and hit ~= nil then
  1620. Anim = "Walk"
  1621. if attack == false then
  1622. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
  1623. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
  1624. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
  1625. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
  1626. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1627. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1628. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1629. DW.C0 = clerp(DW.C0, CFrame.new(3+.1 * math.cos(sine / 5) , 3.05 - .1 * math.cos(sine / 3), 2.5 + .5 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1630. end
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649. end
  1650. end
  1651. if #Effects > 0 then
  1652. for e = 1, #Effects do
  1653. if Effects[e] ~= nil then
  1654. local Thing = Effects[e]
  1655. if Thing ~= nil then
  1656. local Part = Thing[1]
  1657. local Mode = Thing[2]
  1658. local Delay = Thing[3]
  1659. local IncX = Thing[4]
  1660. local IncY = Thing[5]
  1661. local IncZ = Thing[6]
  1662. if Thing[1].Transparency <= 1 then
  1663. if Thing[2] == "Block1" then
  1664. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1665. local Mesh = Thing[1].Mesh
  1666. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1667. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1668. elseif Thing[2] == "Block2" then
  1669. Thing[1].CFrame = Thing[1].CFrame
  1670. local Mesh = Thing[7]
  1671. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1672. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1673. elseif Thing[2] == "Cylinder" then
  1674. local Mesh = Thing[1].Mesh
  1675. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1676. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1677. elseif Thing[2] == "Blood" then
  1678. local Mesh = Thing[7]
  1679. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1680. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1681. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1682. elseif Thing[2] == "Elec" then
  1683. local Mesh = Thing[1].Mesh
  1684. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1685. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1686. elseif Thing[2] == "Disappear" then
  1687. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1688. elseif Thing[2] == "Shatter" then
  1689. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1690. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1691. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1692. Thing[6] = Thing[6] + Thing[5]
  1693. end
  1694. else
  1695. Part.Parent = nil
  1696. table.remove(Effects, e)
  1697. end
  1698. end
  1699. end
  1700. end
  1701. end
  1702. end)
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731. RemoveOutlines = function(part)
  1732.  
  1733. part.TopSurface = 10
  1734. end
  1735.  
  1736. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1737.  
  1738. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1739. RemoveOutlines(Part)
  1740. return Part
  1741. end
  1742.  
  1743. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1744.  
  1745. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1746. if Mesh == "SpecialMesh" then
  1747. Msh.MeshType = MeshType
  1748. Msh.MeshId = MeshId
  1749. end
  1750. return Msh
  1751. end
  1752.  
  1753. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  1754.  
  1755. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1756. return Weld
  1757. end
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774. CFuncs = {
  1775. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1776.  
  1777. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1778. RemoveOutlines(Part)
  1779. return Part
  1780. end
  1781. }
  1782. ,
  1783. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1784.  
  1785. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1786. if Mesh == "SpecialMesh" then
  1787. Msh.MeshType = MeshType
  1788. Msh.MeshId = MeshId
  1789. end
  1790. return Msh
  1791. end
  1792. }
  1793. ,
  1794. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1795.  
  1796. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1797. if Mesh == "SpecialMesh" then
  1798. Msh.MeshType = MeshType
  1799. Msh.MeshId = MeshId
  1800. end
  1801. return Msh
  1802. end
  1803. }
  1804. ,
  1805. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  1806.  
  1807. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1808. return Weld
  1809. end
  1810. }
  1811. ,
  1812. Sound = {Create = function(id, par, vol, pit)
  1813.  
  1814. coroutine.resume(coroutine.create(function()
  1815.  
  1816. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  1817. wait()
  1818. S:play()
  1819. game:GetService("Debris"):AddItem(S, 6)
  1820. end
  1821. ))
  1822. end
  1823. }
  1824. ,
  1825. articleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1826.  
  1827. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  1828. return fp
  1829. end
  1830. }
  1831. }
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1838.  
  1839. if hit.Parent == nil then
  1840. return
  1841. end
  1842. local h = hit.Parent:FindFirstChild("Humanoid")
  1843. for _,v in pairs(hit.Parent:children()) do
  1844. if v:IsA("Humanoid") then
  1845. h = v
  1846. end
  1847. end
  1848. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  1849. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1850. return
  1851. end
  1852. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  1853. game:GetService("Debris"):AddItem(c, 0.5)
  1854. if HitSound ~= nil and HitPitch ~= nil then
  1855. CreateSound(HitSound, hit, 1, HitPitch)
  1856. end
  1857. local Damage = math.random(minim, maxim)
  1858. local blocked = false
  1859. local block = hit.Parent:findFirstChild("Block")
  1860. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1861. blocked = true
  1862. block.Value = block.Value - 1
  1863. print(block.Value)
  1864. end
  1865. if blocked == false then
  1866. h.Health = h.Health - Damage
  1867. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1868. else
  1869. h.Health = h.Health - Damage / 2
  1870. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1871. end
  1872. if Type == "Knockdown" then
  1873. local hum = hit.Parent.Humanoid
  1874. hum.PlatformStand = true
  1875. coroutine.resume(coroutine.create(function(HHumanoid)
  1876.  
  1877. swait(1)
  1878. HHumanoid.PlatformStand = false
  1879. end
  1880. ), hum)
  1881. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1882. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1883. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1884. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1885. game:GetService("Debris"):AddItem(rl, 0.5)
  1886. elseif Type == "Normal" then
  1887. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  1888. if knockback > 0 then
  1889. vp.Parent = hit.Parent.HumanoidRootPart
  1890. end
  1891. game:GetService("Debris"):AddItem(vp, 0.5)
  1892. elseif Type == "Up" then
  1893. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1894. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1895. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1896. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1897. elseif Type == "Snare" then
  1898. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1899. local bp = Create("BodyPosition")({P = 200, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position + Vector3.new(0, -5, 0), Parent = hit.Parent.HumanoidRootPart})
  1900. local rl2 = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500, 500, 500) * 10, angularvelocity = Vector3.new(math.random(-15,15), math.random(-0, 0), math.random(-15,15)), Parent = hit})
  1901. game:GetService("Debris"):AddItem(rl2, 0.01)
  1902. game:GetService("Debris"):AddItem(bp, .1)
  1903. hit.Parent.Humanoid.PlatformStand = true
  1904.  
  1905.  
  1906. wait(.1)
  1907. hit.Parent.Humanoid.PlatformStand = false
  1908. elseif Type == "Freeze" then
  1909. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position, Parent = hit.Parent.HumanoidRootPart})
  1910. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.HumanoidRootPart, cframe = hit.Parent.HumanoidRootPart.CFrame})
  1911. hit.Parent.HumanoidRootPart.Anchored = true
  1912. coroutine.resume(coroutine.create(function(Part)
  1913.  
  1914. swait(1.5)
  1915. Part.Anchored = false
  1916. end
  1917. ), hit.Parent.HumanoidRootPart)
  1918. game:GetService("Debris"):AddItem(BodPos, 3)
  1919. game:GetService("Debris"):AddItem(BodGy, 3)
  1920. end
  1921. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1922. game:GetService("Debris"):AddItem(debounce, Delay)
  1923. c = Instance.new("ObjectValue")
  1924. c.Name = "creator"
  1925. c.Value = Player
  1926. c.Parent = h
  1927. game:GetService("Debris"):AddItem(c, 0.5)
  1928. end
  1929. end
  1930.  
  1931. ShowDamage = function(Pos, Text, Time, Color)
  1932.  
  1933. local Rate = 0.033333333333333
  1934. if not Pos then
  1935. local Pos = Vector3.new(0, 0, 0)
  1936. end
  1937. local Text = Text or ""
  1938. local Time = Time or 2
  1939. if not Color then
  1940. local Color = Color3.new(1, 0, 1)
  1941. end
  1942. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1943. EffectPart.Anchored = true
  1944. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1945. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1946. game.Debris:AddItem(EffectPart, Time + 0.1)
  1947. EffectPart.Parent = game:GetService("Workspace")
  1948. delay(0, function()
  1949.  
  1950. local Frames = Time / Rate
  1951. for Frame = 1, Frames do
  1952. wait(Rate)
  1953. local Percent = Frame / Frames
  1954. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1955. TextLabel.TextTransparency = Percent
  1956. end
  1957. if EffectPart and EffectPart.Parent then
  1958. EffectPart:Destroy()
  1959. end
  1960. end
  1961. )
  1962. end
  1963.  
  1964. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1965.  
  1966. for _,c in pairs(workspace:children()) do
  1967. local hum = c:findFirstChild("Humanoid")
  1968. if hum ~= nil then
  1969. local head = c:findFirstChild("HumanoidRootPart")
  1970. if head ~= nil then
  1971. local targ = head.Position - Part.Position
  1972. local mag = targ.magnitude
  1973. if mag <= magni and c.Name ~= Player.Name then
  1974. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  1975. end
  1976. end
  1977. end
  1978. end
  1979. end
  1980. MagniKILL = function(Part, magni, knock, Type)
  1981.  
  1982. for _,c in pairs(workspace:children()) do
  1983. local hum = c:findFirstChild("Humanoid")
  1984. if hum ~= nil then
  1985. local head = c:findFirstChild("Head")
  1986. if head ~= nil then
  1987. local targ = head.Position - Part.Position
  1988. local mag = targ.magnitude
  1989. if mag <= magni and c.Name ~= Player.Name then
  1990. hum.Health = 0
  1991. end
  1992. end
  1993. end
  1994. end
  1995. end
  1996.  
  1997. EffectModel = Instance.new("Model", Character)
  1998. EffectModel.Name = "Effects"
  1999. Effects = {
  2000. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2001.  
  2002. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2003. prt.Anchored = true
  2004. prt.CFrame = cframe
  2005. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2006. game:GetService("Debris"):AddItem(prt, 10)
  2007. if Type == 1 or Type == nil then
  2008. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2009. else
  2010. if Type == 2 then
  2011. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2012. end
  2013. end
  2014. end
  2015. }
  2016. ,
  2017. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2018.  
  2019. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2020. prt.Anchored = true
  2021. prt.CFrame = cframe
  2022. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2023. game:GetService("Debris"):AddItem(prt, 10)
  2024. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2025. end
  2026. }
  2027. ,
  2028. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2029.  
  2030. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2031. prt.Anchored = true
  2032. prt.CFrame = cframe
  2033. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2034. game:GetService("Debris"):AddItem(prt, 10)
  2035. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2036. end
  2037. }
  2038. ,
  2039. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2040.  
  2041. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2042. prt.Anchored = true
  2043. prt.CFrame = cframe
  2044. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2045. game:GetService("Debris"):AddItem(prt, 10)
  2046. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2047. end
  2048. }
  2049. ,
  2050. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2051.  
  2052. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2053. prt.Anchored = true
  2054. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2055. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2056. game:GetService("Debris"):AddItem(prt, 10)
  2057. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2058. end
  2059. }
  2060. ,
  2061. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  2062.  
  2063. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2064. prt.Anchored = true
  2065. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2066. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2067. local num = math.random(10, 50) / 1000
  2068. game:GetService("Debris"):AddItem(prt, 10)
  2069. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  2070. end
  2071. }
  2072. }
  2073. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2074.  
  2075. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2076. prt.Anchored = true
  2077. prt.CFrame = cframe
  2078. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2079. game:GetService("Debris"):AddItem(prt, 10)
  2080. if Type == 1 or Type == nil then
  2081. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2082. else
  2083. if Type == 2 then
  2084. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2085. end
  2086. end
  2087. end
  2088.  
  2089. CreateSound = function(id, par, vol, pit)
  2090.  
  2091. coroutine.resume(coroutine.create(function()
  2092.  
  2093. local sou = Instance.new("Sound", par or workspace)
  2094. sou.Volume = vol
  2095. sou.Pitch = pit or 1
  2096. sou.SoundId = id
  2097. swait()
  2098. sou:play()
  2099. game:GetService("Debris"):AddItem(sou, 6)
  2100. end
  2101. ))
  2102. end
  2103.  
  2104. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2105.  
  2106. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2107. prt.Anchored = true
  2108. prt.CFrame = cframe
  2109. prt.Material = "Neon"
  2110. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2111. game:GetService("Debris"):AddItem(prt, 10)
  2112. coroutine.resume(coroutine.create(function(Part, Mesh)
  2113.  
  2114. for i = 0, 6, delay do
  2115. swait()
  2116. Part.Transparency = i
  2117. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2118. end
  2119. Part.Parent = nil
  2120. end
  2121. ), prt, msh)
  2122. end
  2123. LigLaser = function(mouse, partt, SpreadAmount)
  2124.  
  2125. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2126. local MainPos = partt.Position
  2127. local MainPos2 = mouse + SpreadVectors
  2128. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2129. local speed = 1000
  2130. local num = 1
  2131. coroutine.resume(coroutine.create(function()
  2132.  
  2133. repeat
  2134. swait()
  2135. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2136. local mag = (MainPos - pos).magnitude
  2137.  
  2138. MainPos = MainPos + MouseLook.lookVector * speed
  2139. num = num - 1
  2140. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  2141. if hit ~= nil then
  2142. num = 0
  2143. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2144. refpart.Anchored = true
  2145. refpart.CFrame = CFrame.new(pos)
  2146. game:GetService("Debris"):AddItem(refpart, 2)
  2147. end
  2148.  
  2149. do
  2150. if num <= 0 then
  2151. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2152. refpart.Anchored = true
  2153. refpart.CFrame = CFrame.new(pos)
  2154. if hit ~= nil then
  2155. for i = 0,5 do
  2156.  
  2157. makeLightning(LightMod, partt.Position, refpart.Position, 0.17, 4, 30, 1, 10)
  2158. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  2159. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
  2160. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
  2161. MagniDamage(refpart, 3, .05, .2, 6, "Normal")
  2162. swait()
  2163. end
  2164.  
  2165.  
  2166. end
  2167. game:GetService("Debris"):AddItem(refpart, 0)
  2168. end
  2169. end
  2170. until num <= 0
  2171. end
  2172. ))
  2173. end
  2174. bigLigLaser = function(mouse, partt, SpreadAmount)
  2175.  
  2176. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2177. local MainPos = partt.Position
  2178. local MainPos2 = mouse + SpreadVectors
  2179. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2180. local speed = 1000
  2181. local num = 1
  2182. coroutine.resume(coroutine.create(function()
  2183.  
  2184. repeat
  2185. swait()
  2186. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2187. local mag = (MainPos - pos).magnitude
  2188.  
  2189. MainPos = MainPos + MouseLook.lookVector * speed
  2190. num = num - 1
  2191. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  2192. if hit ~= nil then
  2193. num = 0
  2194. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2195. refpart.Anchored = true
  2196. refpart.CFrame = CFrame.new(pos)
  2197. game:GetService("Debris"):AddItem(refpart, 2)
  2198. end
  2199.  
  2200. do
  2201. if num <= 0 then
  2202. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2203. refpart.Anchored = true
  2204. refpart.CFrame = CFrame.new(pos)
  2205. if hit ~= nil then
  2206. for i = 0,1 do
  2207.  
  2208. makeLightning(LightMod, partt.Position, refpart.Position, 0.3, 4, 20, 1, 10)
  2209. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  2210. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
  2211. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
  2212. MagniDamage(refpart, 3, 5, 10, 8, "Snare")
  2213. swait()
  2214. end
  2215.  
  2216.  
  2217. end
  2218. game:GetService("Debris"):AddItem(refpart, 0)
  2219. end
  2220. end
  2221. until num <= 0
  2222. end
  2223. ))
  2224. end
  2225.  
  2226.  
  2227. shoottraildd = function(mouse, partt, SpreadAmount)
  2228.  
  2229. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2230. local MainPos = partt.Position
  2231. local MainPos2 = mouse + SpreadVectors
  2232. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2233. local speed = 1000
  2234. local num = 1
  2235. coroutine.resume(coroutine.create(function()
  2236.  
  2237. repeat
  2238. swait()
  2239. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2240. local mag = (MainPos - pos).magnitude
  2241. Laser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
  2242. MainPos = MainPos + MouseLook.lookVector * speed
  2243. num = num - 1
  2244. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  2245. if hit ~= nil then
  2246. num = 0
  2247. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2248. refpart.Anchored = true
  2249. refpart.CFrame = CFrame.new(pos)
  2250. game:GetService("Debris"):AddItem(refpart, 2)
  2251. end
  2252. do
  2253. if num <= 0 then
  2254. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2255. refpart.Anchored = true
  2256. refpart.CFrame = CFrame.new(pos)
  2257. if hit ~= nil then
  2258. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  2259. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2260. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2261. MagniDamage(refpart, 3, 10, 15, 0, "Normal")
  2262. end
  2263. game:GetService("Debris"):AddItem(refpart, 0)
  2264. end
  2265. end
  2266. until num <= 0
  2267. end
  2268. ))
  2269. end
  2270.  
  2271. shoottraildd2 = function(mouse, partt, SpreadAmount)
  2272.  
  2273. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  2274. local MainPos = partt.Position
  2275. local MainPos2 = mouse + SpreadVectors
  2276. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2277. local speed = 1000
  2278. local num = 1
  2279. coroutine.resume(coroutine.create(function()
  2280.  
  2281. repeat
  2282. swait()
  2283. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2284. local mag = (MainPos - pos).magnitude
  2285. Laser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
  2286. MainPos = MainPos + MouseLook.lookVector * speed
  2287. num = num - 1
  2288. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  2289. if hit ~= nil then
  2290. num = 0
  2291. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2292. refpart.Anchored = true
  2293. refpart.CFrame = CFrame.new(pos)
  2294. game:GetService("Debris"):AddItem(refpart, 2)
  2295. end
  2296. do
  2297. if num <= 0 then
  2298. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2299. refpart.Anchored = true
  2300. refpart.CFrame = CFrame.new(pos)
  2301. if hit ~= nil then
  2302. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  2303. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2304. BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2305. MagniDamage(refpart, 3, 20, 40, 0, "Snare")
  2306. end
  2307. game:GetService("Debris"):AddItem(refpart, 0)
  2308. end
  2309. end
  2310. until num <= 0
  2311. end
  2312. ))
  2313. end
  2314.  
  2315.  
  2316. function idleanim2()
  2317. for i = 0, 1, 0.1 do
  2318. swait()
  2319. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(10)), .2)
  2320. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 0.7 * math.cos(sine / 25)), math.rad(0), math.rad(-10)), .2)
  2321. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.0) * angles(math.rad(0), math.rad(0 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2322. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(0 - 1 * math.cos(sine / 25))), 0.2)
  2323. RH.C0 = clerp(RH.C0, cn(1, -.7 - 0.0 * math.cos(sine / 25), -.3) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(50 + 1.1 * math.cos(sine / 25))), .2)
  2324. LH.C0 = clerp(LH.C0, cn(-1, -.6 - 0.0 * math.cos(sine / 25), -.3) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(-40 + 1.1 * math.cos(sine / 25))), .2)
  2325. GuW.C0 = clerp(GuW.C0, CFrame.new(-1.4,-1.5,0) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)
  2326. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2327. end
  2328. end
  2329.  
  2330. function MinShotAttackAnim1()
  2331.  
  2332. for i = 0, 1, 0.3 do
  2333. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))
  2334. swait()
  2335.  
  2336. if Torsovelocity > 1 then
  2337. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0), math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2338. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5))), .2)
  2339. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2340. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2341. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4)+ RootPart.RotVelocity.Y / 10)), .3)
  2342. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4))), .3)
  2343. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2344. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2345. elseif Torsovelocity < 1 then
  2346.  
  2347.  
  2348.  
  2349. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2350. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2351. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2352. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2353. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2354. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2355. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2356. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2357. end
  2358. end
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367. end
  2368.  
  2369.  
  2370. function ShotAttackAnim1()
  2371. for i = 0, 1, 0.3 do
  2372.  
  2373. swait()
  2374.  
  2375. if Torsovelocity > 1 then
  2376. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2377. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
  2378. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2379. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2380. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2381. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2382. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2383. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2384. elseif Torsovelocity < 1 then
  2385.  
  2386.  
  2387.  
  2388. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2389. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2390. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2391. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2392. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2393. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2394. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2395. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2396. end
  2397. end
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406. end
  2407.  
  2408.  
  2409. function ShotAttackAnim2()
  2410. for i = 0, 2, 0.1 do
  2411. swait()
  2412.  
  2413. if Torsovelocity > 2 then
  2414. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
  2415. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2416. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
  2417. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
  2418. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2419. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2420. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2421. DW.C0 = clerp(DW.C0, CFrame.new(4+.1 * math.cos(sine / 5) , 7.05 - .1 * math.cos(sine / 3), 2.5 + .1 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  2422. elseif Torsovelocity < 1 then
  2423.  
  2424.  
  2425. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  2426. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  2427. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  2428. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  2429. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  2430. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  2431. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  2432.  
  2433. DW.C0 = clerp(DW.C0, CFrame.new(2 + .1 * math.cos(sine / 5) ,7 + -.2 * math.cos(sine / 20), 0 + .1 * math.cos(sine / 5)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  2434. end
  2435. end
  2436. end
  2437.  
  2438. function ShotAttackAnim3()
  2439. for i = 0, 2, 0.1 do
  2440. swait()
  2441.  
  2442. if Torsovelocity > 2 then
  2443. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2444. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2445. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2446. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2447. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2448. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2449. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2450. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2451. elseif Torsovelocity < 1 then
  2452.  
  2453.  
  2454. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2455. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2456. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2457. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2458. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(4 + 2 * math.cos(sine / 25))), .2)
  2459. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(-20 + 2 * math.cos(sine / 25))), .2)
  2460. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2461. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2462. end
  2463. end
  2464.  
  2465.  
  2466.  
  2467. for i = 0, 1, 0.4 do
  2468. swait()
  2469.  
  2470. if Torsovelocity > 2 then
  2471. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2472. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2473. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2474. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
  2475. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2476. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2477. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2478. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2479. elseif Torsovelocity < 1 then
  2480.  
  2481.  
  2482. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2483. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2484. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2485. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
  2486. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
  2487. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
  2488. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2489. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2490. end
  2491. end
  2492. end
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501. function holding()
  2502.  
  2503.  
  2504.  
  2505.  
  2506. while Rapid == true and attack==true and sentrymode == false do
  2507.  
  2508. attack = true
  2509.  
  2510.  
  2511. MinShotAttackAnim1()
  2512. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2513. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2514. shoottraildd(mouse.Hit.p, gun1, .55)
  2515.  
  2516. MinShotAttackAnim1()
  2517. BlockEffect(BrickColor.new("Really red"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2518. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2519. shoottraildd(mouse.Hit.p, gun2, .55)
  2520. MinShotAttackAnim1()
  2521. BlockEffect(BrickColor.new("Really red"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2522. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2523. shoottraildd(mouse.Hit.p, gun3, .55)
  2524. MinShotAttackAnim1()
  2525. BlockEffect(BrickColor.new("Really red"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2526. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2527. shoottraildd(mouse.Hit.p, gun4, .55)
  2528. end
  2529.  
  2530.  
  2531.  
  2532. attack = false
  2533. end
  2534.  
  2535. mouse.KeyDown:connect(function(k)
  2536. if k == "t" then
  2537. CreateSound("171014742", Torso, 10, 1)
  2538. end
  2539. end)
  2540.  
  2541. mouse.KeyUp:connect(function(k)
  2542. if k == "z" and Rapid == true then
  2543. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", RootPart, 1, 2)
  2544. Rapid = false
  2545. Effects.Ring.Create (BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
  2546. Effects.Ring.Create (BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
  2547.  
  2548. end
  2549. end)
  2550.  
  2551.  
  2552.  
  2553. mouse.KeyDown:connect(function(k)
  2554. if k == "z" and sentrymode == false and attack == false then
  2555. attack = true
  2556. Rapid = true
  2557. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=162611981", RootPart, 1, 1)
  2558. MinShotAttackAnim1()
  2559. MinShotAttackAnim1()
  2560. for i = 0,10 do
  2561. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2562. BlockEffect(BrickColor.new("Really red"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2563. BlockEffect(BrickColor.new("Really red"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2564. BlockEffect(BrickColor.new("Really red"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2565. Effects.Ring.Create (BrickColor.new("Really red"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
  2566. MinShotAttackAnim1()
  2567. end
  2568. holding()
  2569. end
  2570. end)
  2571.  
  2572.  
  2573.  
  2574.  
  2575. mouse.KeyDown:connect(function(k)
  2576.  
  2577.  
  2578. if attack == false and k == "x" and sentrymode == false then
  2579.  
  2580.  
  2581.  
  2582.  
  2583. attack = true
  2584. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=316030607", LaPart, 5, 3)
  2585. for i=1,5 do
  2586.  
  2587. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2588. BlockEffect(BrickColor.new("Really red"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2589. BlockEffect(BrickColor.new("Really red"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2590. BlockEffect(BrickColor.new("Really red"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2591. ShotAttackAnim1()
  2592. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2593. BlockEffect(BrickColor.new("Really red"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2594. BlockEffect(BrickColor.new("Really red"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2595. BlockEffect(BrickColor.new("Really red"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2596. ShotAttackAnim1()
  2597. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2598. BlockEffect(BrickColor.new("Really red"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2599. BlockEffect(BrickColor.new("Really red"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2600. BlockEffect(BrickColor.new("Really red"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2601.  
  2602. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
  2603. ShotAttackAnim1()
  2604. end
  2605. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=633129949", LaPart, 10, 1)
  2606. for i=1,2 do
  2607. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
  2608. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
  2609. BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
  2610. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, 3, 3, 3, 10, 10, 10, 0.045)
  2611. end
  2612. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2613.  
  2614.  
  2615. MagniDamage(gun1, 15, 20, 69, 99, "Normal")
  2616. ShotAttackAnim3()
  2617.  
  2618.  
  2619.  
  2620.  
  2621. for i=1,2 do
  2622. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2623. ShotAttackAnim1()
  2624. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2625. ShotAttackAnim1()
  2626. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2627. ShotAttackAnim1()
  2628. end
  2629.  
  2630. attack = false
  2631.  
  2632. end
  2633.  
  2634.  
  2635.  
  2636. if k == "r" and attack == false then
  2637. attack=true
  2638. while Torsovelocity < 1 do
  2639. attack=true
  2640. idleanim2()
  2641.  
  2642.  
  2643.  
  2644. end
  2645. attack=false
  2646.  
  2647. end
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656. if k == "v" and sentrymode == false and attack == false and ultwait==false then
  2657. ultwait=true
  2658. attack = true
  2659. Humanoid.WalkSpeed = 0
  2660. local Sond = Create("Sound")({Volume = 1.5, Pitch = 1.2, SoundId = "http://www.roblox.com/asset/?id=195322948", Parent = Character or workspace})
  2661. wait()
  2662. Sond:play()
  2663.  
  2664. for i = 0, 1, 0.1 do
  2665. swait()
  2666.  
  2667.  
  2668.  
  2669. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2670. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2671. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2672. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2673. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2674. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2675. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2676. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2677.  
  2678. end
  2679.  
  2680.  
  2681. for i = 0, 2, 0.1 do
  2682. swait()
  2683.  
  2684. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
  2685.  
  2686.  
  2687. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2688. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2689. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2690. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(90 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
  2691. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .2)
  2692. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2693. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2694. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2695.  
  2696. end
  2697.  
  2698.  
  2699. for i = 0, 58, 0.1 do
  2700. swait()
  2701. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
  2702. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
  2703. BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
  2704.  
  2705. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2706. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2707. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2708. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.1)
  2709. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2710. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2711. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2712. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2713.  
  2714. end
  2715. BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
  2716. for i = 0, 55, 0.1 do
  2717. swait()
  2718. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
  2719. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
  2720. Effects.Break.Create (BrickColor.new("Really red"), LeftArm.CFrame, 6, .1, .1)
  2721. BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
  2722. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 5) * angles(math.rad(0), math.rad(0), math.rad(-50)), .01)
  2723. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2724. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2725. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
  2726. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.2 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2727. LH.C0 = clerp(LH.C0, cn(-.9, -.7 - 0.2 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2728. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2729. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2730.  
  2731. end
  2732. BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
  2733. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260434750", Character, 2, .7)
  2734. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=209833293", Character, 2, 2)
  2735. for i = 0, 10, 0.1 do
  2736. swait()
  2737.  
  2738. Effects.Wave.Create (BrickColor.new("Really red"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
  2739. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
  2740. Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
  2741. Effects.Break.Create (BrickColor.new("Really red"), LeftArm.CFrame, 76, .1, .1)
  2742. BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
  2743.  
  2744.  
  2745. MagniKILL(Torso, 80,99,99999999, 0, "Normal")
  2746.  
  2747. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2748. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2749. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2750. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(160 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-0 - 1 * math.cos(sine / 25))), 0.2)
  2751. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2752. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2753. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2754. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2755.  
  2756. end
  2757. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435164", Character, 2, .7)
  2758.  
  2759. for i = 0, 1, 0.1 do
  2760. swait()
  2761.  
  2762.  
  2763.  
  2764. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2765. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2766. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2767. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2768. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2769. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2770. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2771. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2772.  
  2773. end
  2774. Humanoid.WalkSpeed = 16
  2775. Sond:Destroy()
  2776.  
  2777. attack = false
  2778. wait(30)
  2779. ultwait=false
  2780. end
  2781.  
  2782. if k == "e" then
  2783.  
  2784. if sentrymode== false then
  2785. if attack == false then
  2786. GlowParticle.Enabled = true
  2787. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=876800936", LaPart, 1.5, 1.5)
  2788. sentrymode= true
  2789. end
  2790. else
  2791. sentrymode=false
  2792. GlowParticle.Enabled = false
  2793. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", LaPart, 3, 1.5)
  2794. end
  2795. end
  2796.  
  2797. end)
  2798. mouse.Button1Down:connect(function(key)
  2799. if attack == false and sentrymode == false then
  2800. attack = true
  2801. ShotAttackAnim2()
  2802. BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
  2803. BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
  2804. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=410543238", LaPart, 0.5, 1.6)
  2805. bigLigLaser(mouse.Hit.p, LaPart, 0)
  2806. ShotAttackAnim2()
  2807. attack = false
  2808. end
  2809. end)
  2810.  
  2811.  
  2812.  
  2813.  
  2814. ------------------------------------------------------------------------------------------------
  2815. local HiveMind = {}
  2816.  
  2817. function HiveMind:new(owner)
  2818. self.__index = self
  2819. local o = {mind = {}, mindState = "FOLLOW", victimObject = nil}
  2820. o.owner = owner
  2821. setmetatable(o, self)
  2822. return o
  2823. end
  2824.  
  2825. function HiveMind:add(model, humanoid, torso)
  2826. if model and humanoid and torso then
  2827. table.insert(self.mind, {model = model, humanoid = humanoid,
  2828. torso = torso})
  2829. local hiv = self
  2830. local lastJump = 0
  2831. torso.Touched:connect(function(object)
  2832. local hive = false
  2833. if hiv.owner.Character
  2834. and object:IsDescendantOf(hiv.owner.Character) == false
  2835. then
  2836. for i = 1, #hiv.mind do
  2837. if object:IsDescendantOf(hiv.mind[i].model) then
  2838. hive = true
  2839. break
  2840. end
  2841. end
  2842. if not hive then
  2843. local hum = object.Parent
  2844. and object.Parent:FindFirstChild("Humanoid")
  2845. if hum then
  2846. hum:TakeDamage(1)
  2847. end
  2848. elseif time() - lastJump > 2 then
  2849. lastJump = time(0) + math.random()*1
  2850. humanoid.Jump = true
  2851. end
  2852. end
  2853. end)
  2854. end
  2855. end
  2856.  
  2857. function HiveMind:cleanupHive()
  2858. local i = 1
  2859. while i <= #self.mind do
  2860. if self.mind[i].model:IsDescendantOf(game) == false
  2861. or self.mind[i].humanoid.Health == 0 then
  2862. table.remove(self.mind, i)
  2863. else
  2864. i = i + 1
  2865. end
  2866. end
  2867. end
  2868.  
  2869. function HiveMind:getOrbitNumberFromUnitNumber(i)
  2870. local circleNumber = 0
  2871. while self:getUnitsInOrbit(circleNumber) < i do
  2872. i = i - self:getUnitsInOrbit(circleNumber)
  2873. circleNumber = circleNumber + 1
  2874. end
  2875. return circleNumber, i
  2876. end
  2877.  
  2878. function HiveMind:getOrbitDiameter(orbitNumber)
  2879. return math.pi*(orbitNumber*14)
  2880. end
  2881.  
  2882. function HiveMind:getUnitsInOrbit(orbitNumber)
  2883. return math.floor(self:getOrbitDiameter(orbitNumber)/5)
  2884. end
  2885.  
  2886. function HiveMind:lineup(location)
  2887. for i = 1, #self.mind do
  2888. local row = (i - 1) % 3
  2889. local column = math.floor((i - 1) / 3)
  2890. local xOffset, yOffset
  2891. if row == 0 then
  2892. xOffset = -7
  2893. elseif row == 1 then
  2894. xOffset = 0
  2895. else
  2896. xOffset = 7
  2897. end
  2898. yOffset = column * 7
  2899. local position = location * CFrame.new(xOffset, 0, yOffset)
  2900. self.mind[i].humanoid:MoveTo(position.p, workspace.Base)
  2901. end
  2902. end
  2903.  
  2904. function HiveMind:ownerTorso()
  2905. return self.owner.Character
  2906. and self.owner.Character:FindFirstChild("Torso")
  2907. end
  2908. function HiveMind:update()
  2909. self:cleanupHive()
  2910. if self.owner.Character then
  2911. local ownerTorso = self.owner.Character:FindFirstChild("Torso")
  2912. if ownerTorso then
  2913. if (self.mindState == "FOLLOW") then
  2914. local hiveSpawn = ownerTorso.CFrame * CFrame.new(0, 0, 9)
  2915. self:lineup(hiveSpawn)
  2916. elseif (self.mindState == "CIRCLE") then
  2917. self:circle(ownerTorso.Position)
  2918. elseif (self.mindState == "ATTACK") then
  2919. self:crowdAttack()
  2920. elseif (self.mindState == "Deffend") then
  2921. self:deffend()
  2922. elseif (self.mindState == "GOTO") then
  2923. self:pushToTarget()
  2924. end
  2925. end
  2926. end
  2927. end
  2928. local me = game:GetService("Players").LocalPlayer
  2929. local hiveMind = HiveMind:new(me)
  2930.  
  2931. ------------------------------------------------------------------------------------------------
  2932.  
  2933. function findNearestTorso(pos,dist2)
  2934. local list = game.Workspace:children()
  2935. local torso = nil
  2936. if dist2 == nil then
  2937. dist2=50
  2938.  
  2939. end
  2940. local dist = dist2
  2941. local temp = nil
  2942. local human = nil
  2943. local temp2 = nil
  2944. for x = 1, #list do
  2945. temp2 = list[x]
  2946. if (temp2.className == "Model") and (temp2 ~= Character) then
  2947. temp = temp2:findFirstChild("HumanoidRootPart")
  2948. human = temp2:findFirstChild("Humanoid")
  2949. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2950. if (temp.Position - pos).magnitude < dist then
  2951. torso = temp
  2952.  
  2953. dist = (temp.Position - pos).magnitude
  2954. else
  2955.  
  2956. end
  2957.  
  2958.  
  2959.  
  2960.  
  2961. end
  2962. end
  2963. end
  2964. return torso
  2965. end
  2966.  
  2967.  
  2968. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974. if sentrymode == true and sonarwait == false then
  2975. sonarwait = true
  2976.  
  2977. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", LaPart, 2, 0.8)
  2978.  
  2979. wait(1)
  2980. sonarwait = false
  2981. end
  2982.  
  2983.  
  2984.  
  2985.  
  2986. wait()
  2987. if sentrymode == true then
  2988.  
  2989. local target = findNearestTorso(Character.HumanoidRootPart.Position,30)
  2990. if target ~= nil then
  2991. ShotAttackAnim2()
  2992. if sentrywait == false then
  2993. sentrywait = true
  2994. attack= true
  2995.  
  2996.  
  2997. BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
  2998. BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
  2999. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433584", LaPart, 1.5, .8)
  3000. LigLaser(target.Position, LaPart, 0)
  3001. wait()
  3002. attack= false
  3003. sentrywait = false
  3004. end
  3005.  
  3006.  
  3007. end
  3008.  
  3009. end
  3010. end)
  3011.  
  3012.  
  3013. sonarwait = false
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024. FaceIdList = {'117930174'}
  3025. FaceId = FaceIdList[math.random(1,#FaceIdList)]
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031. local YourName = game.Players.LocalPlayer.Name
  3032. Character = Player.Character
  3033.  
  3034.  
  3035. Heartbeat = Instance.new("BindableEvent")
  3036. Heartbeat.Name = "Heartbeat"
  3037. Heartbeat.Parent = script
  3038. frame = 0.03333333333333333
  3039. tf = 0
  3040.  
  3041. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3042. tf = tf + s
  3043. if tf >= frame then
  3044. for i = 1, math.floor(tf / frame) do
  3045. Heartbeat:Fire()
  3046. end
  3047. tf = tf - frame * math.floor(tf / frame)
  3048. end
  3049. end)
  3050. local nscale = Instance.new("NumberValue")
  3051. nscale.Value = 1
  3052. nscale.Parent = nil
  3053. nscale.Changed:connect(function()
  3054. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3055. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3056. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3057. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3058. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3059. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3060. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3061. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3062. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3063. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3064. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3065. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3066. end)
  3067.  
  3068. function makegloo(paren, co, ci, parto, parti, nam)
  3069. local gloo = Instance.new("Glue")
  3070. gloo.Name = nam
  3071. gloo.C0 = co
  3072. gloo.C1 = ci
  3073. gloo.Part0 = parto
  3074. gloo.Part1 = parti
  3075. gloo.Parent = paren
  3076. end
  3077. function makejoint(paren, co, ci, parto, parti, nam)
  3078. local gloo = Instance.new("Motor6D")
  3079. gloo.Name = nam
  3080. gloo.C0 = co
  3081. gloo.C1 = ci
  3082. gloo.Part0 = parto
  3083. gloo.Part1 = parti
  3084. gloo.Parent = paren
  3085. end
  3086. function maketouchy(parent, limb, cframe)
  3087. local pr = Instance.new("Part")
  3088. pr.Name = "touchy"
  3089. pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  3090. pr.Transparency = 1
  3091. pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  3092. pr.CanCollide = true
  3093. pr.Anchored = false
  3094. pr.Parent = parent
  3095. local w = Instance.new("Weld")
  3096. w.Part0 = pr
  3097. w.Part1 = limb
  3098. w.C0 = cframe
  3099. w.Parent = pr
  3100. end
  3101. --[[ function swait(num)
  3102. if num == 0 or num == nil then
  3103. Heartbeat.Event:wait()
  3104. else
  3105. for i = 1, num do
  3106. Heartbeat.Event:wait()
  3107. end
  3108. end
  3109. end
  3110. --]]
  3111. modz = Instance.new("Model")
  3112. modz.Name = "efx"
  3113. modz.Parent = Character
  3114.  
  3115. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3116. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3117. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3118. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3119. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3120. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3121. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3122. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3123. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3124. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3125. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3126. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3127. local nscale = Instance.new("NumberValue")
  3128. nscale.Value = 1
  3129. nscale.Parent = nil
  3130. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3131. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3132. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3133. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3134. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3135. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3136. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3137. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3138. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3139. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3140. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3141. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155. sWaiting=false
  3156. wait3=false
  3157. shotval = 0
  3158.  
  3159. npcname = ""..Character.Name.."'s Combine"
  3160.  
  3161.  
  3162. Character.ChildAdded:connect(function(object)
  3163. if object.Name == npcname then
  3164. hiveMind:add(object, object:WaitForChild("Humanoid"),
  3165. object:WaitForChild("Torso"))
  3166. end
  3167. end)
  3168. game:GetService("RunService").Stepped:connect(function()
  3169. hiveMind:update()
  3170. end)
  3171.  
  3172. function makenoob(cfrem, scalo, rags)
  3173. nscale.Value = scalo
  3174. local md = Instance.new("Model")
  3175. md.Name = ""..Character.Name.."'s Combine"
  3176. md.Parent = Character
  3177. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=220230512", md, 1, 1)
  3178. wait(.5)
  3179. local hu = Instance.new("Humanoid")
  3180. hu.RigType = "R6"
  3181. hu.MaxHealth = 150 * scalo
  3182. hu.Health = 150 * scalo
  3183. hu.Parent = md
  3184. hu.DisplayDistanceType="Viewer"
  3185. hu.HealthDisplayDistance=100
  3186. hu.NameDisplayDistance=100
  3187. hu.NameOcclusion="EnemyOcclusion"
  3188. local anm = Instance.new("Animator")
  3189. anm.Parent = hu
  3190. local forthisnpcanim = npcanim:Clone()
  3191. forthisnpcanim.Parent = md
  3192. hu.PlatformStand = true
  3193. local light = function(part)
  3194. part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  3195. end
  3196. local hd = Instance.new("Part")
  3197. hd.Name = "Head"
  3198. hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  3199. hd.TopSurface = "Smooth"
  3200. hd.BottomSurface = "Inlet"
  3201. hd.Locked = true
  3202. hd.BrickColor = BrickColor.new("Pastel brown")
  3203. hd.CanCollide = true
  3204. hd.Anchored = false
  3205. light(hd)
  3206. hd.Parent = md
  3207. local hm = Instance.new("SpecialMesh")
  3208. hm.MeshType = "Head"
  3209. hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  3210. hm.Parent = hd
  3211.  
  3212.  
  3213.  
  3214. shirt = Instance.new("Shirt", md)
  3215. shirt.Name = "Shirt"
  3216. pants = Instance.new("Pants", md)
  3217. pants.Name = "Pants"
  3218. md.Shirt.ShirtTemplate = "rbxassetid://245656735"
  3219. md.Pants.PantsTemplate = "rbxassetid://245656766"
  3220. function loada(anim)
  3221. local loaded = md.Humanoid:LoadAnimation(anim)
  3222. return loaded
  3223. end
  3224. IdleA = New("Animation",md,"Idle",{AnimationId = "rbxassetid://243282565"})
  3225. IdleAnim = loada(IdleA)
  3226.  
  3227. local hf = Instance.new("Decal")
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235. FaceId = FaceIdList[math.random(1,#FaceIdList)]
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241. hf.Texture = "rbxassetid://"..FaceId
  3242.  
  3243. hf.Face = "Front"
  3244. hf.Parent = hd
  3245. local hrpa = Instance.new("Part")
  3246. hrpa.Name = "HumanoidRootPart"
  3247. hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  3248. hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  3249. hrpa.Transparency = 1
  3250. hrpa.CanCollide = false
  3251. hrpa.Locked = true
  3252. light(hrpa)
  3253. hrpa.Parent = md
  3254. local tagbomb = Instance.new("BoolValue")
  3255. tagbomb.Name = "tagbomb"
  3256. tagbomb.Value = false
  3257. tagbomb.Parent = hrpa
  3258. local learm = Instance.new("Part")
  3259. learm.Name = "Left Arm"
  3260. learm.BrickColor = BrickColor.new("Pastel brown")
  3261. learm.CanCollide = false
  3262. learm.Locked = true
  3263. learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  3264. light(learm)
  3265. learm.Parent = md
  3266. local riarm = Instance.new("Part")
  3267. riarm.Name = "Right Arm"
  3268. riarm.BrickColor = BrickColor.new("Pastel brown")
  3269. riarm.CanCollide = false
  3270. riarm.Locked = true
  3271. light(riarm)
  3272. riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  3273. riarm.Parent = md
  3274. local leleg = Instance.new("Part")
  3275. leleg.Name = "Left Leg"
  3276. leleg.BrickColor = BrickColor.new("Navy red")
  3277. leleg.CanCollide = false
  3278. leleg.Locked = true
  3279. light(leleg)
  3280. leleg.BottomSurface = 0
  3281. leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  3282. leleg.Parent = md
  3283. local rileg = Instance.new("Part")
  3284. rileg.Name = "Right Leg"
  3285. rileg.BrickColor = BrickColor.new("Navy red")
  3286. rileg.CanCollide = false
  3287. rileg.Locked = true
  3288. light(rileg)
  3289. rileg.BottomSurface = 0
  3290. rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  3291. rileg.Parent = md
  3292. local tor = Instance.new("Part")
  3293. tor.Name = "Torso"
  3294. tor.BrickColor = BrickColor.new("Really red")
  3295. tor.Locked = true
  3296. light(tor)
  3297. tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  3298. tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  3299. tor.Parent = md
  3300. md.PrimaryPart = hrpa
  3301. md:SetPrimaryPartCFrame(cfrem)
  3302. md:makeJoints()
  3303. makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  3304. makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  3305.  
  3306. if rags == true then
  3307. makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  3308. makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  3309. makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  3310. makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  3311. maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  3312. maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  3313. maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  3314. maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  3315. elseif rags == false then
  3316. makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  3317. makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  3318. makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  3319. makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  3320. hu.PlatformStand = false
  3321.  
  3322. end
  3323.  
  3324.  
  3325. local Solhat = Instance.new("Accessory")
  3326. Solhat.AttachmentPos = Vector3.new(0, .3, 0)
  3327. local SHH = Instance.new("Part",Solhat)
  3328. SHH.Name = "Handle"
  3329. SHH.CanCollide=false
  3330. local SHHMesh = Instance.new("SpecialMesh",SHH)
  3331. SHHMesh.Parent = SHH
  3332. SHHMesh.MeshId = "rbxassetid://31152467"
  3333. SHHMesh.TextureId = "rbxassetid://32002857"
  3334. SHHMesh.Scale = Vector3.new(1, 1, 1)
  3335. SHHMesh.VertexColor = Vector3.new(1, 1, 1)
  3336.  
  3337.  
  3338.  
  3339. nscale.Value = 1
  3340.  
  3341. wait()
  3342. Solhat.Parent = md
  3343. Thegun = Instance.new("Part",riarm)
  3344. Thegun.CanCollide=false
  3345. Thegun.Size = Vector3.new(1,1,1)
  3346. ThegunW = Instance.new("Weld")
  3347. ThegunW.Name = "GuW"
  3348. ThegunW.Part0 = riarm
  3349. ThegunW.C0 = cn(-.5, -2.4, -.4)*angles(0,0,3.2)
  3350. ThegunW.C1 = cn(0, 0, 0)
  3351. ThegunW.Part1 = Thegun
  3352. ThegunW.Parent = riarm
  3353. local ThegunMesh = Instance.new("SpecialMesh",Thegun)
  3354. ThegunMesh.Parent = Thegun
  3355. ThegunMesh.MeshId = "rbxassetid://477158943"
  3356. ThegunMesh.TextureId = "rbxassetid://477158949"
  3357. ThegunMesh.Scale = Vector3.new(0.04, 0.035, 0.04)
  3358. ThegunMesh.VertexColor = Vector3.new(0.2, 0, 0)
  3359. Thegun2 = Instance.new("Part",md)
  3360. Thegun2.CanCollide=false
  3361. Thegun2.Size = Vector3.new(.1,.1,.1)
  3362. Thegun2.Name = "Shoot"
  3363. ThegunW2 = Instance.new("Weld")
  3364. ThegunW2.Name = "GuW"
  3365. ThegunW2.Part0 = riarm
  3366. ThegunW2.C0 = cn(-0.4,-4.6,-.45)*angles(0,0,0)
  3367. ThegunW2.C1 = cn(0, 0, 0)
  3368. ThegunW2.Part1 = Thegun2
  3369. ThegunW2.Parent = riarm
  3370. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3371. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3372.  
  3373. BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3374. BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3375. wait(0.5)
  3376. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183921414", tor, 1, 1)
  3377. IdleAnim:Play()
  3378. wait(2.5)
  3379. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183953820", tor, 2, 1)
  3380. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  3381. if md ~= nil and hu.Health > 0 and sentrymode == false then
  3382. if md ~= nil and hu.Health > 0 and sentrymode == false then
  3383.  
  3384. if killcom==true or sentrymode == true and sWaiting==false then
  3385.  
  3386. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=282061033", Torso, .5, 1)
  3387.  
  3388.  
  3389.  
  3390. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3391. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3392.  
  3393. BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3394. BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3395.  
  3396.  
  3397.  
  3398. hu.Health = 0
  3399. game:service'Debris':AddItem(md, .0);
  3400. end
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406. hu.WalkSpeed = 16.5
  3407. local target2 = findNearestTorso(hrpa.Position,60)
  3408. if target2 ~= nil then
  3409. hu:MoveTo(target2.Position, target2)
  3410.  
  3411. end
  3412.  
  3413. local target3 = findNearestTorso(hrpa.Position,45)
  3414.  
  3415. if target3 ~= nil then
  3416. hu.WalkSpeed = 0
  3417. tor.CFrame = CFrame.new(tor.Position, target3.Position) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir2.s))
  3418. end
  3419.  
  3420. if target3 ~= nil and wait3==false and sentrymode == false then
  3421. wait3=true
  3422.  
  3423. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", LaPart, 3, .7)
  3424. shoottraildd2(target3.Position, Thegun2, 1)
  3425. local PointLight = Instance.new("PointLight", Thegun2);
  3426. PointLight.Color = Color3.new(1,0,0)
  3427. PointLight.Brightness = 50;
  3428. PointLight.Range = 10
  3429. game:service'Debris':AddItem(PointLight, .02);
  3430. wait(2.2)
  3431. wait3=false
  3432.  
  3433.  
  3434.  
  3435. --Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir.s))
  3436.  
  3437.  
  3438. end
  3439.  
  3440. end
  3441.  
  3442. for i,v in pairs(Character:GetChildren()) do
  3443. if ""..Character.Name.."'s Combine" then
  3444.  
  3445.  
  3446.  
  3447. if hu.Health == 0 and md ~= nil and killcom==false and sWaiting==false then
  3448. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=160622487", Torso, .6, 1)
  3449.  
  3450.  
  3451. game:service'Debris':AddItem(md, 3);
  3452.  
  3453. end
  3454. end
  3455. return md
  3456.  
  3457. end
  3458. end
  3459. end)
  3460.  
  3461.  
  3462.  
  3463. end
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479. function makecircle(cfrem, scalo)
  3480. local mcir1 = Instance.new("Part")
  3481. mcir1.Anchored = true
  3482. mcir1.CanCollide = false
  3483. mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  3484. mcir1.Transparency = 1
  3485. mcir1.CFrame = cfrem
  3486. mcir1.Parent = modz
  3487. game.Debris:AddItem(mcir1, 8)
  3488. local d1 = Instance.new("Decal")
  3489. d1.Texture = "rbxassetid://0"
  3490. d1.Face = "Front"
  3491. d1.Parent = mcir1
  3492. local d2 = Instance.new("Decal")
  3493. d2.Texture = "rbxassetid://0"
  3494. d2.Face = "Back"
  3495. d2.Parent = mcir1
  3496. local bme = Instance.new("BlockMesh")
  3497. bme.Parent = mcir1
  3498. for _ = 1, 9 do
  3499. swait()
  3500. bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  3501. end
  3502. coroutine.resume(coroutine.create(function()
  3503. swait(15)
  3504. for _ = 1, 12 do
  3505. swait()
  3506. d1.Transparency = d1.Transparency + 0.08
  3507. d2.Transparency = d2.Transparency + 0.08
  3508. end
  3509. mcir1:Destroy()
  3510. end))
  3511. return mcir1
  3512. end
  3513. function spawnnoob(circlecf, noobcf, scalez, ragd)
  3514. local aearae = makecircle(circlecf, scalez)
  3515. local nananb
  3516.  
  3517. nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  3518.  
  3519. return nananb
  3520. end
  3521. mouse.KeyDown:connect(function(k)
  3522. if k == "c" and attack == false and sentrymode == false then
  3523. if killcom==false then
  3524. killcom=true
  3525. else
  3526. killcom=false
  3527. spawnnoob(RootPart.CFrame * cn((math.random(-5,5)), 10, (math.random(-0,5))) * angles(mr(90), 0, 0), cn(0, 0, 0) * angles(mr(-90), 0, 0), 1, false)
  3528.  
  3529. end
  3530.  
  3531.  
  3532. end
  3533. end)
  3534.  
  3535. --[[
  3536. BlockEffect(BrickColor.new("Royal purple"), Firepart1.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  3537. BlockEffect(BrickColor.new("Eggplant"), Firepart1.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
  3538. BlockEffect(BrickColor.new("Royal purple"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  3539. BlockEffect(BrickColor.new("Eggplant"), Firepart2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
  3540. --]]
Add Comment
Please, Sign In to add comment