Advertisement
Kermit1900

a

Aug 20th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.85 KB | None | 0 0
  1. --repeat wait() until script:WaitForChild'Owner'.Value
  2. local Player = game.Players.HerLxght
  3. --script.Owner:destroy()
  4. FakeMouse.Parent = Player.Character;
  5. script.FakeMouse:Destroy()
  6. do
  7. local GUID = {}
  8. do
  9. GUID.IDs = {};
  10. function GUID:new(len)
  11. local id;
  12. if(not len)then
  13. id = (tostring(function() end))
  14. id = id:gsub("function: ","")
  15. else
  16. local function genID(len)
  17. local newID = ""
  18. for i = 1,len do
  19. newID = newID..string.char(math.random(48,90))
  20. end
  21. return newID
  22. end
  23. repeat id = genID(len) until not GUID.IDs[id]
  24. local oid = id;
  25. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  26. GUID.IDs[oid]=true;
  27. end
  28. return id
  29. end
  30. end
  31.  
  32. local AHB = Instance.new("BindableEvent")
  33.  
  34. local FPS = 30
  35.  
  36. local TimeFrame = 0
  37.  
  38. local LastFrame = tick()
  39. local Frame = 1/FPS
  40.  
  41. game:service'RunService'.Heartbeat:connect(function(s,p)
  42. TimeFrame = TimeFrame + s
  43. if(TimeFrame >= Frame)then
  44. for i = 1,math.floor(TimeFrame/Frame) do
  45. AHB:Fire()
  46. end
  47. LastFrame=tick()
  48. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  49. end
  50. end)
  51.  
  52.  
  53. function swait(dur)
  54. if(dur == 0 or typeof(dur) ~= 'number')then
  55. AHB.Event:wait()
  56. else
  57. for i = 1, dur*FPS do
  58. AHB.Event:wait()
  59. end
  60. end
  61. end
  62.  
  63. local oPlayer = Player
  64. local Player = oPlayer
  65.  
  66. local loudnesses={}
  67. script.Parent = Player.Character
  68. local CoAS = {Actions={}}
  69. local Event = Instance.new("RemoteEvent")
  70. Event.Name = "UserInputEvent"
  71. Event.Parent = Player.Character
  72. local Func = Instance.new("RemoteFunction")
  73. Func.Name = "GetClientProperty"
  74. Func.Parent = Player.Character
  75. local fakeEvent = function()
  76. local t = {_fakeEvent=true,Waited={},Connected={}}
  77. t.Connect = function(self,f)
  78. local ft={}
  79. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  80. ft.Disconnect=ft.disconnect
  81.  
  82. ft.Func=function(...)
  83. for id,_ in next, t.Waited do
  84. t.Waited[id] = true
  85. end
  86. return f(...)
  87. end;
  88.  
  89. table.insert(self.Connected,ft)
  90. return ft;
  91. end
  92. t.connect = t.Connect
  93. t.Wait = function()
  94. local guid = GUID:new(25)
  95. local waitingId = guid:Get()
  96. t.Waited[waitingId]=false
  97. repeat swait() until t.Waited[waitingId]==true
  98. t.Waited[waitingId]=nil;
  99. guid:Trash()
  100. end
  101. t.wait = t.Wait
  102. return t
  103. end
  104. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  105. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  106. local Run = {RenderStepped=fakeEvent()}
  107.  
  108. function CoAS:BindAction(name,fun,touch,...)
  109. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  110. end
  111. function CoAS:UnbindAction(name)
  112. CoAS.Actions[name] = nil
  113. end
  114. local function te(self,ev,...)
  115. local t = self[ev]
  116. if t and t._fakeEvent and t.Connected then
  117. for i,v in next, t.Connected do
  118. if(v.Func and not v.Disconnected)then
  119. v.Func(...)
  120. else
  121. t.Connected[i]=nil
  122. end
  123. end
  124. end
  125. end
  126. m.TrigEvent = te
  127. UsIS.TrigEvent = te
  128. Run.TrigEvent = te
  129. Event.OnServerEvent:Connect(function(plr,io)
  130. if plr~=Player then return end
  131. --[[table.foreach(io,print)
  132. print'---']]
  133. if io.Mouse then
  134. m.Target = io.Target
  135. m.Hit = io.Hit
  136. elseif io.KeyEvent then
  137. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  138. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  139. if io.UserInputState == Enum.UserInputState.Begin then
  140. m:TrigEvent("Button1Down")
  141. else
  142. m:TrigEvent("Button1Up")
  143. end
  144. end
  145. if(not io.KeyEvent and not io.Mouse)then
  146.  
  147. for n,t in pairs(CoAS.Actions) do
  148. for _,k in pairs(t.Keys) do
  149. if k==io.KeyCode then
  150. t.Function(t.Name,io.UserInputState,io)
  151. end
  152. end
  153. end
  154. if io.UserInputState == Enum.UserInputState.Begin then
  155. UsIS:TrigEvent("InputBegan",io,false)
  156. else
  157. UsIS:TrigEvent("InputEnded",io,false)
  158. end
  159. end
  160. end)
  161.  
  162. Func.OnServerInvoke = function(plr,inst,play)
  163. if plr~=Player then return end
  164. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  165. loudnesses[inst]=play
  166. end
  167. end
  168.  
  169. function GetClientProperty(inst,prop)
  170. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  171. return loudnesses[inst]
  172. elseif(prop == 'PlaybackLoudness')then
  173. return Func:InvokeClient(Player,'RegSound',inst)
  174. end
  175. return Func:InvokeClient(Player,inst,prop)
  176. end
  177. local oldGame = game;
  178. function GetFakePlayer()
  179. local oldPlayer = Player;
  180. local fakePlayer = newproxy(true)
  181. getmetatable(fakePlayer).__index = function(s,i)
  182. if(i == 'GetMouse')then
  183. return function() return m; end
  184. end
  185. return Player[i]
  186. end
  187. getmetatable(fakePlayer).__newindex = function(s,i,v)
  188. Player[i]=v
  189. end
  190. getmetatable(fakePlayer).__call=function(self,...)
  191. if(self == fakePlayer)then self = Player end
  192. local wh = {...}
  193. local name = table.remove(wh,1)
  194. for i,v in next, wh do
  195. wh[i]=v
  196. end
  197. if(name == 'GetMouse')then
  198. return m;
  199. end
  200. return self(name,unpack(wh))
  201. end
  202. getmetatable(fakePlayer).__namecall=function(self,...)
  203. if(self == fakePlayer)then self = Player end
  204. local tuple={...}
  205. local name = table.remove(tuple,#tuple)
  206.  
  207. if(name == 'GetMouse')then
  208. return m;
  209. else
  210. return self[name](self,unpack(tuple))
  211. end
  212. end
  213.  
  214. return fakePlayer
  215. end
  216. local oll = LoadLibrary;
  217. function LoadLibrary(libtard)
  218. local libtarddestroyed=oll(libtard)
  219. if(libtard=='RbxUtility')then
  220. local library={Create=function(obj)
  221. local inst = Instance.new(obj)
  222. return function(props)
  223. for prop,valu in next, props do
  224. inst[prop]=valu
  225. end
  226. return inst
  227. end
  228. end}
  229. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  230.  
  231. return library
  232. else
  233. return libtarddestroyed
  234. end
  235. end
  236. fakePlayer = GetFakePlayer()
  237. local function GetService(s,i)
  238. local service = s:GetService(i)
  239. if(i == 'Players')then
  240. local oldService = service;
  241. local fakeService = newproxy(true)
  242. getmetatable(fakeService).__index = function(s,i)
  243. if(s == fakeService)then s=oldService end
  244. if(i == 'LocalPlayer' or i == 'localPlayer')then
  245. return fakePlayer
  246. elseif(i == 'oPlayer')then
  247. return oPlayer
  248. else
  249. return s[i]
  250. end
  251. end
  252. getmetatable(fakeService).__newindex = function(s,i,v)
  253. if(s == fakeService)then s=oldService end
  254. s[i]=v
  255. end
  256. getmetatable(fakeService).__call=function(self,...)
  257. if(self == fakeService)then self = oldService end
  258. local wh = {...}
  259. local name = table.remove(wh,1)
  260. for i,v in next, wh do
  261. wh[i]=v
  262. end
  263. return self(name,unpack(wh))
  264. end
  265. getmetatable(fakeService).__namecall=function(self,...)
  266. if(self == fakeService)then self = oldService end
  267. local tuple={...}
  268. local name = table.remove(tuple,#tuple)
  269.  
  270. return self[name](self,unpack(tuple))
  271. end
  272. getmetatable(fakeService).__metatable = 'gay'
  273. return fakeService
  274. elseif(i == 'RunService')then
  275. local oldService = service;
  276. local fakeService = newproxy(true)
  277. getmetatable(fakeService).__index = function(s,i)
  278. if(s == fakeService)then s=oldService end
  279. return Run[i] or s[i]
  280. end
  281. getmetatable(fakeService).__newindex = function(s,i,v)
  282. if(s == fakeService)then s=oldService end
  283. s[i]=v
  284. end
  285. getmetatable(fakeService).__call=function(self,...)
  286. if(self == fakeService)then self = oldService end
  287. local wh = {...}
  288. local name = table.remove(wh,1)
  289. for i,v in next, wh do
  290. wh[i]=v
  291. end
  292. return self(name,unpack(wh))
  293. end
  294. getmetatable(fakeService).__namecall=function(self,...)
  295. if(self == fakeService)then self = oldService end
  296. local tuple={...}
  297. local name = table.remove(tuple,#tuple)
  298.  
  299. return self[name](self,unpack(tuple))
  300. end
  301. getmetatable(fakeService).__metatable = 'gay'
  302. return fakeService
  303. elseif(i == 'UserInputService')then
  304. return UsIS
  305. elseif(i == 'ContextActionService')then
  306. return CoAS;
  307. else
  308. return service
  309. end
  310. end
  311.  
  312. local new = Instance.new;
  313. Instance = {}
  314. Instance.new = function(inst,obje)
  315. local lp = GetService(oldGame,'Players').localPlayer
  316. local instance = new(inst)
  317. if(inst=='ObjectValue')then
  318. local fake = newproxy(true)
  319. getmetatable(fake).__index=function(self,index)
  320. if(self==fake)then self=instance end
  321. return self[index]
  322. end
  323. getmetatable(fake).__newindex=function(self,index,value)
  324. if(self==fake)then self=instance end
  325. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  326. self[index]=oPlayer
  327. else
  328. self[index]=value
  329. end
  330. end
  331. getmetatable(fake).__call=function(self,...)
  332. if(self == fake)then self = instance end
  333. local wh = {...}
  334. local name = table.remove(wh,1)
  335. for i,v in next, wh do
  336. if(v == fake)then v = instance end
  337. wh[i]=v
  338. end
  339. return self(name,unpack(wh))
  340. end
  341. getmetatable(fake). __namecall=function(self,...)
  342. if(self == fake)then self = instance end
  343. local tuple={...}
  344. local name = table.remove(tuple,#tuple)
  345. return self[name](self,unpack(tuple))
  346. end
  347. return fake
  348. else
  349. instance.Parent = obje
  350. return instance;
  351. end
  352.  
  353. end
  354. local serviceFunctions={
  355. service=true,
  356. GetService=true,
  357. }
  358. local fakeGame = newproxy(true)
  359. getmetatable(fakeGame).__index = function(s,i)
  360. if(s == fakeGame)then s=oldGame end
  361. local serv = GetService(oldGame,i)
  362. if serviceFunctions[i] then
  363. return GetService
  364. elseif(serv)then
  365. return serv
  366. else
  367. return s[i]
  368. end
  369. end
  370. getmetatable(fakeGame).__newindex = function(s,i,v)
  371. if(s == fakeGame)then s=oldGame end
  372. s[i]=v
  373. end
  374. getmetatable(fakeGame).__call=function(self,...)
  375. if(self == fakeGame)then self = oldGame end
  376. local wh = {...}
  377. local name = table.remove(wh,1)
  378. for i,v in next, wh do
  379. if(v == fakeGame)then v = oldGame end
  380. wh[i]=v
  381. end
  382. if serviceFunctions[name] then
  383. return GetService(self,unpack(wh))
  384. else
  385. return self(name,unpack(wh))
  386. end
  387. end
  388. getmetatable(fakeGame). __namecall=function(self,...)
  389. if(self == fakeGame)then self = oldGame end
  390. local tuple={...}
  391. local name = table.remove(tuple,#tuple)
  392.  
  393. local funcToCall=self[name]
  394.  
  395. if serviceFunctions[name] then
  396. return GetService(self,unpack(tuple))
  397. else
  398. return self[name](self,unpack(tuple))
  399. end
  400. end
  401. getmetatable(fakeGame).__metatable = 'gay'
  402.  
  403. coroutine.wrap(function()
  404. while true do
  405. Run:TrigEvent('RenderStepped')
  406. swait()
  407. end
  408. end)()
  409. game=fakeGame
  410. UserInputService,ContextActionService = UsIS,CoAS
  411. end
  412. wait(1)
  413. wait(0.016666666666667)
  414. script.Name = "Chaos"
  415. local Player = game.Players.LocalPlayer
  416. repeat
  417. wait()
  418. until Player
  419. local Character = Player.Character
  420. repeat
  421. wait()
  422. until Character
  423. local Effects = {}
  424. local Humanoid = Character.Humanoid
  425. local mouse = Player:GetMouse()
  426. local m = Instance.new("Model", Character)
  427. m.Name = "WeaponModel"
  428. local LeftArm = Character["Left Arm"]
  429. local RightArm = Character["Right Arm"]
  430. local LeftLeg = Character["Left Leg"]
  431. local RightLeg = Character["Right Leg"]
  432. local Head = Character.Head
  433. local Torso = Character.Torso
  434. local cam = game.Workspace.CurrentCamera
  435. local RootPart = Character.HumanoidRootPart
  436. local RootJoint = RootPart.RootJoint
  437. local equipped = false
  438. local attack = false
  439. local Anim = "Idle"
  440. local idle = 0
  441. local attacktype = 1
  442. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  443. local velocity = RootPart.Velocity.y
  444. local sine = 0
  445. local change = 1
  446. local grabbed = false
  447. local cn = CFrame.new
  448. local mr = math.rad
  449. local angles = CFrame.Angles
  450. local ud = UDim2.new
  451. local c3 = Color3.new
  452. Humanoid.Animator.Parent = nil
  453. Character.Animate.Parent = nil
  454. local newFakeMotor = function(part0, part1, c0, c1)
  455. local w = Instance.new("Motor", part0)
  456. w.Part0 = part0
  457. w.Part1 = part1
  458. w.C0 = c0
  459. w.C1 = c1
  460. return w
  461. end
  462. function clerp(a, b, t)
  463. return a:lerp(b, t)
  464. end
  465. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  466. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  467. local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  468. local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  469. local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  470. local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  471. RootJoint.C1 = CFrame.new(0, 0, 0)
  472. RootJoint.C0 = CFrame.new(0, 0, 0)
  473. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  474. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  475. local rarmc1 = RW.C1
  476. local larmc1 = LW.C1
  477. local rlegc1 = RH.C1
  478. local llegc1 = LH.C1
  479. local resetc1 = false
  480. function PlayAnimationFromTable(table, speed, bool)
  481. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  482. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  483. RW.C0 = clerp(RW.C0, table[3], speed)
  484. LW.C0 = clerp(LW.C0, table[4], speed)
  485. RH.C0 = clerp(RH.C0, table[5], speed)
  486. LH.C0 = clerp(LH.C0, table[6], speed)
  487. if bool == true and resetc1 == false then
  488. resetc1 = true
  489. RootJoint.C1 = RootJoint.C1
  490. Torso.Neck.C1 = Torso.Neck.C1
  491. RW.C1 = rarmc1
  492. LW.C1 = larmc1
  493. RH.C1 = rlegc1
  494. LH.C1 = llegc1
  495. end
  496. end
  497. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  498. ArtificialHB.Name = "Heartbeat"
  499. Player.PlayerGui:WaitForChild("Heartbeat")
  500. frame = 0.033333333333333
  501. tf = 0
  502. allowframeloss = false
  503. tossremainder = false
  504. lastframe = tick()
  505. Player.PlayerGui.Heartbeat:Fire()
  506. local gg = false
  507. game:GetService("RunService").Heartbeat:connect(function(s, p)
  508. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  509. gg = true
  510. end
  511. if gg == true then
  512. return
  513. end
  514. tf = tf + s
  515. if frame <= tf then
  516. if allowframeloss then
  517. Player.PlayerGui.Heartbeat:Fire()
  518. lastframe = tick()
  519. else
  520. for i = 1, math.floor(tf / frame) do
  521. Player.PlayerGui.Heartbeat:Fire()
  522. end
  523. lastframe = tick()
  524. end
  525. if tossremainder then
  526. tf = 0
  527. else
  528. tf = tf - frame * math.floor(tf / frame)
  529. end
  530. end
  531. end)
  532. function swait(num)
  533. if num == 0 or num == nil then
  534. ArtificialHB.Event:wait()
  535. else
  536. for i = 0, num do
  537. ArtificialHB.Event:wait()
  538. end
  539. end
  540. end
  541. local RbxUtility = LoadLibrary("RbxUtility")
  542. local Create = RbxUtility.Create
  543. function RemoveOutlines(part)
  544. part.TopSurface = 10
  545. end
  546. local co1 = 1
  547. local co2 = 1
  548. local co3 = 1
  549. local co4 = 1
  550. local cooldown1 = 200
  551. local cooldown2 = 0
  552. local cooldown3 = 0
  553. local cooldown4 = 0
  554. local skillcolorscheme = BrickColor.new("Really black").Color
  555. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  556. function makeframe(par, trans, pos, size, color)
  557. local frame = Instance.new("Frame", par)
  558. frame.BackgroundTransparency = trans
  559. frame.BorderSizePixel = 0
  560. frame.Position = pos
  561. frame.Size = size
  562. frame.BackgroundColor3 = color
  563. return frame
  564. end
  565. function makelabel(par, text)
  566. local label = Instance.new("TextLabel", par)
  567. label.BackgroundTransparency = 1
  568. label.Size = UDim2.new(1, 0, 1, 0)
  569. label.Position = UDim2.new(0, 0, 0, 0)
  570. label.TextColor3 = Color3.new(255, 255, 255)
  571. label.TextStrokeTransparency = 0
  572. label.FontSize = Enum.FontSize.Size32
  573. label.Font = Enum.Font.SourceSansLight
  574. label.BorderSizePixel = 0
  575. label.TextScaled = true
  576. label.Text = text
  577. end
  578. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  579. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  580. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  581. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  582. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  583. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  584. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  585. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  586. text1 = Instance.new("TextLabel", framesk1)
  587. text1.BackgroundTransparency = 1
  588. text1.Size = UDim2.new(1, 0, 1, 0)
  589. text1.Position = UDim2.new(0, 0, 0, 0)
  590. text1.TextColor3 = Color3.new(255, 255, 255)
  591. text1.TextStrokeTransparency = 0
  592. text1.FontSize = Enum.FontSize.Size18
  593. text1.Font = Enum.Font.SourceSansLight
  594. text1.BorderSizePixel = 0
  595. text1.TextScaled = true
  596. text1.Text = [[
  597. [Z]
  598. N/A]]
  599. text2 = Instance.new("TextLabel", framesk2)
  600. text2.BackgroundTransparency = 1
  601. text2.Size = UDim2.new(1, 0, 1, 0)
  602. text2.Position = UDim2.new(0, 0, 0, 0)
  603. text2.TextColor3 = Color3.new(255, 255, 255)
  604. text2.TextStrokeTransparency = 0
  605. text2.FontSize = Enum.FontSize.Size18
  606. text2.Font = Enum.Font.SourceSansLight
  607. text2.BorderSizePixel = 0
  608. text2.TextScaled = true
  609. text2.Text = [[
  610. [X]
  611. Reload]]
  612. text3 = Instance.new("TextLabel", framesk3)
  613. text3.BackgroundTransparency = 1
  614. text3.Size = UDim2.new(1, 0, 1, 0)
  615. text3.Position = UDim2.new(0, 0, 0, 0)
  616. text3.TextColor3 = Color3.new(255, 255, 255)
  617. text3.TextStrokeTransparency = 0
  618. text3.FontSize = Enum.FontSize.Size18
  619. text3.Font = Enum.Font.SourceSansLight
  620. text3.BorderSizePixel = 0
  621. text3.TextScaled = false
  622. text3.Text = [[
  623. [C]
  624. Nuclear strike]]
  625. text4 = Instance.new("TextLabel", framesk4)
  626. text4.BackgroundTransparency = 1
  627. text4.Size = UDim2.new(1, 0, 1, 0)
  628. text4.Position = UDim2.new(0, 0, 0, 0)
  629. text4.TextColor3 = Color3.new(255, 255, 255)
  630. text4.TextStrokeTransparency = 0
  631. text4.FontSize = Enum.FontSize.Size18
  632. text4.Font = Enum.Font.SourceSansLight
  633. text4.BorderSizePixel = 0
  634. text4.TextScaled = true
  635. text4.Text = [[
  636. [V]
  637. Nuclear rain]]
  638. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  639. local Part = Create("Part")({
  640. Parent = Parent,
  641. Reflectance = Reflectance,
  642. Transparency = Transparency,
  643. CanCollide = false,
  644. Locked = true,
  645. BrickColor = BrickColor.new(tostring(BColor)),
  646. Name = Name,
  647. Size = Size,
  648. Material = Material
  649. })
  650. RemoveOutlines(Part)
  651. return Part
  652. end
  653. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  654. local Msh = Create(Mesh)({
  655. Parent = Part,
  656. Offset = OffSet,
  657. Scale = Scale
  658. })
  659. if Mesh == "SpecialMesh" then
  660. Msh.MeshType = MeshType
  661. Msh.MeshId = MeshId
  662. end
  663. return Msh
  664. end
  665. function CreateWeld(Parent, Part0, Part1, C0, C1)
  666. local Weld = Create("Weld")({
  667. Parent = Parent,
  668. Part0 = Part0,
  669. Part1 = Part1,
  670. C0 = C0,
  671. C1 = C1
  672. })
  673. return Weld
  674. end
  675. CFuncs = {
  676. Part = {
  677. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  678. local Part = Create("Part")({
  679. Parent = Parent,
  680. Reflectance = Reflectance,
  681. Transparency = Transparency,
  682. CanCollide = false,
  683. Locked = true,
  684. BrickColor = BrickColor.new(tostring(BColor)),
  685. Name = Name,
  686. Size = Size,
  687. Material = Material
  688. })
  689. RemoveOutlines(Part)
  690. return Part
  691. end
  692. },
  693. Mesh = {
  694. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  695. local Msh = Create(Mesh)({
  696. Parent = Part,
  697. Offset = OffSet,
  698. Scale = Scale
  699. })
  700. if Mesh == "SpecialMesh" then
  701. Msh.MeshType = MeshType
  702. Msh.MeshId = MeshId
  703. end
  704. return Msh
  705. end
  706. },
  707. Mesh = {
  708. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  709. local Msh = Create(Mesh)({
  710. Parent = Part,
  711. Offset = OffSet,
  712. Scale = Scale
  713. })
  714. if Mesh == "SpecialMesh" then
  715. Msh.MeshType = MeshType
  716. Msh.MeshId = MeshId
  717. end
  718. return Msh
  719. end
  720. },
  721. Weld = {
  722. Create = function(Parent, Part0, Part1, C0, C1)
  723. local Weld = Create("Weld")({
  724. Parent = Parent,
  725. Part0 = Part0,
  726. Part1 = Part1,
  727. C0 = C0,
  728. C1 = C1
  729. })
  730. return Weld
  731. end
  732. },
  733. Sound = {
  734. Create = function(id, par, vol, pit)
  735. coroutine.resume(coroutine.create(function()
  736. local S = Create("Sound")({
  737. Volume = vol,
  738. Pitch = pit or 1,
  739. SoundId = id,
  740. Parent = par or workspace
  741. })
  742. wait()
  743. S:play()
  744. game:GetService("Debris"):AddItem(S, 6)
  745. end))
  746. end
  747. },
  748. ParticleEmitter = {
  749. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  750. local fp = Create("ParticleEmitter")({
  751. Parent = Parent,
  752. Color = ColorSequence.new(Color1, Color2),
  753. LightEmission = LightEmission,
  754. Size = Size,
  755. Texture = Texture,
  756. Transparency = Transparency,
  757. ZOffset = ZOffset,
  758. Acceleration = Accel,
  759. Drag = Drag,
  760. LockedToPart = LockedToPart,
  761. VelocityInheritance = VelocityInheritance,
  762. EmissionDirection = EmissionDirection,
  763. Enabled = Enabled,
  764. Lifetime = LifeTime,
  765. Rate = Rate,
  766. Rotation = Rotation,
  767. RotSpeed = RotSpeed,
  768. Speed = Speed,
  769. VelocitySpread = VelocitySpread
  770. })
  771. return fp
  772. end
  773. }
  774. }
  775. Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  776. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.262939453, -0.121995926, -0.965805054, 0.969704211, 0.236531034, 0.0610490143, -0.0425508283, -0.0825409442, 0.995678902, 0.240548, -0.968111455, -0.069975704))
  777. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  778. FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  779. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
  780. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  781. Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  782. BarrelWeld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.955901146, 7.17863464, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
  783. CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  784. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  785. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.53586674, 0.307937622, -6.66361237, -0.241776183, -0.307871968, 0.920195222, -0.969704211, 0.0425508283, -0.240548, 0.0349029154, -0.950475931, -0.308832437))
  786. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
  787. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003))
  788. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.0704040527, -0.0807228088, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  789. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  790. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976))
  791. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.0436306, 1.1287384, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  792. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  793. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361092, 0.385857582, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
  794. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976))
  795. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, 0.585878372, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
  796. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976))
  797. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.55361938, 0.104698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
  798. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976))
  799. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.743627548, -1.73353577, -1.36719513, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
  800. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976))
  801. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361877, 2.01470947, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
  802. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976))
  803. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, -0.78125, -1.56369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  804. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976))
  805. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.89362717, 0.176452637, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
  806. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
  807. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94362259, -2.38845825, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
  808. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976))
  809. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.60362244, -0.478485107, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
  810. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
  811. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361702, -1.58352661, -1.36719131, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
  812. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
  813. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361824, -0.928466797, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
  814. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006))
  815. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361282, 0.485881805, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
  816. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
  817. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361496, 2.49586678, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
  818. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976))
  819. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, 1.13585138, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
  820. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
  821. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585381, 2.38361931, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
  822. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  823. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008))
  824. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585953, 1.62366486, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
  825. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  826. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976))
  827. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, 1.76469421, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
  828. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
  829. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891E-5, -0.459983826, -0.365005493, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
  830. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976))
  831. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361252, 0.604698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
  832. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
  833. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585667, 0.873628616, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
  834. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  835. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  836. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
  837. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  838. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  839. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, -2.03845215, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
  840. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012))
  841. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781E-5, 0.460012436, -0.175018311, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
  842. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
  843. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, -0.273544312, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
  844. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 1.14999998))
  845. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361511, -0.53125, -1.31373596, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  846. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
  847. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93360138, -0.389587402, -0.345714569, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  848. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976))
  849. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, 0.168762207, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  850. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
  851. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696382523, 2.34584999, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
  852. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
  853. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78364944, -0.914924622, -1.49900818, 0.0349029228, -0.950475931, -0.308832467, 0.224812746, -0.29363355, 0.929106355, -0.973776877, -0.101857953, 0.203430369))
  854. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003))
  855. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.793626785, -0.0424346924, -0.642055511, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  856. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998))
  857. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.893630981, -0.78125, -1.31369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  858. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
  859. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78365326, -1.31258392, -1.40377808, 0.0349029228, -0.950475931, -0.308832467, -0.0348796546, -0.309991032, 0.950099528, -0.998781979, -0.0223892741, -0.0439718515))
  860. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  861. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -1.3835144, -1.36720276, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
  862. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024))
  863. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.530380249, -0.305717468, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  864. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  865. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696374893, -0.173538208, -1.36718369, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
  866. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998))
  867. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -0.0312194824, -1.31369019, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  868. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943))
  869. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.39359856, -0.79624939, -1.01370239, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
  870. Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Really black", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002))
  871. MotorWeld = CreateWeld(m, FakeHandle, Motor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.48586464, 4.39365387, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
  872. CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  873. FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Really black", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002))
  874. FakeMotorWeld = CreateWeld(m, Motor, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  875. CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  876. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  877. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.899982452, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  878. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  879. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119))
  880. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 2.73001862, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  881. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  882. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002))
  883. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295E-6, 2.63498688, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  884. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  885. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  886. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529963493, 2.78498077, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  887. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  888. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  889. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529956818, 2.77998734, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  890. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  891. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  892. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, -0.700012207, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  893. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  894. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  895. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678840637, -1.50000381, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  896. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  897. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  898. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.77998352, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
  899. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  900. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  901. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.78498077, 0, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
  902. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  903. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  904. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 7.62939453E-6, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
  905. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  906. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  907. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 3.81469727E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
  908. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  909. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  910. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.77998161, 0, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
  911. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  912. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113))
  913. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295E-6, 2.79998398, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  914. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  915. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  916. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529997826, 2.77997971, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  917. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  918. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  919. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.78498077, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
  920. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  921. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  922. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498268, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
  923. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  924. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  925. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529998779, 2.78499222, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
  926. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  927. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  928. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997398, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
  929. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  930. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  931. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.7849865, 4.76837158E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
  932. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  933. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  934. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.7849865, 4.76837158E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
  935. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  936. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  937. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498459, 1.52587891E-5, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
  938. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  939. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  940. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -1.69995308, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  941. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  942. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  943. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.0999927521, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  944. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  945. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  946. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.09998703, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  947. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  948. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  949. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 0, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
  950. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  951. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  952. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.78498459, 0, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
  953. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  954. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  955. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.899978638, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  956. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  957. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  958. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -1.50000191, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  959. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  960. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  961. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.899982452, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  962. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  963. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  964. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, 1.69995499, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  965. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  966. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  967. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 7.62939453E-6, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
  968. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  969. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  970. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.78497887, -1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
  971. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  972. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  973. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 3.81469727E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
  974. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  975. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  976. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.0999755859, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  977. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  978. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  979. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.77997971, -1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
  980. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  981. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  982. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
  983. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  984. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  985. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998161, 7.62939453E-6, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
  986. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  987. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  988. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.0999679565, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  989. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  990. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  991. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 1.69995308, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  992. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  993. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  994. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 1.50002289, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  995. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  996. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  997. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998352, 1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
  998. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  999. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1000. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, 1.50001907, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  1001. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1002. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1003. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.899978638, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  1004. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1005. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1006. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 0.700012207, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  1007. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1008. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1009. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, -1.69995499, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  1010. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1011. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1012. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, 0.7000103, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
  1013. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1014. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1015. PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -0.7000103, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
  1016. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1017. ban = Instance.new("Part", m)
  1018. ban.Size = Vector3.new(2, 0.2, 2)
  1019. ban.Transparency = 1
  1020. ban.CanCollide = false
  1021. w0t = Instance.new("Weld", ban)
  1022. w0t.Part0 = ban
  1023. w0t.Part1 = Motor
  1024. w0t.C0 = CFrame.new(0, -5.1, 0)
  1025. hak = Instance.new("Decal", ban)
  1026. hak.Texture = "http://www.roblox.com/asset?id=3173330527"
  1027. hak.Face = "Top"
  1028. coroutine.resume(coroutine.create(function()
  1029. thing = 0
  1030. while wait() do
  1031. thing = thing + 0.25
  1032. w0t.C0 = CFrame.new(0, -5.1, 0) * CFrame.Angles(0, thing / 8, 0)
  1033. end
  1034. end))
  1035. function rayCast(Position, Direction, Range, Ignore)
  1036. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1037. end
  1038. local function GetNearest(obj, distance)
  1039. local last, lastx = distance + 1, nil
  1040. for i, v in pairs(workspace:GetChildren()) do
  1041. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  1042. local t = v.Torso
  1043. local dist = (t.Position - obj.Position).magnitude
  1044. if distance >= dist and last > dist then
  1045. last = dist
  1046. lastx = v
  1047. end
  1048. end
  1049. end
  1050. return lastx
  1051. end
  1052. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1053. if hit.Parent == nil then
  1054. return
  1055. end
  1056. local h = hit.Parent:FindFirstChild("Humanoid")
  1057. for _, v in pairs(hit.Parent:children()) do
  1058. if v:IsA("Humanoid") then
  1059. h = v
  1060. end
  1061. end
  1062. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1063. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1064. return
  1065. end
  1066. local c = Create("ObjectValue")({
  1067. Name = "creator",
  1068. Value = game:service("Players").LocalPlayer,
  1069. Parent = h
  1070. })
  1071. game:GetService("Debris"):AddItem(c, 0.5)
  1072. if HitSound ~= nil and HitPitch ~= nil then
  1073. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1074. end
  1075. local Damage = math.random(minim, maxim)
  1076. local blocked = false
  1077. local block = hit.Parent:findFirstChild("Block")
  1078. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1079. blocked = true
  1080. block.Value = block.Value - 1
  1081. print(block.Value)
  1082. end
  1083. if blocked == false then
  1084. h.Health = h.Health - Damage
  1085. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1086. else
  1087. h.Health = h.Health - Damage / 2
  1088. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1089. end
  1090. if Type == "Knockdown" then
  1091. local hum = hit.Parent.Humanoid
  1092. hum.PlatformStand = true
  1093. coroutine.resume(coroutine.create(function(HHumanoid)
  1094. swait(1)
  1095. HHumanoid.PlatformStand = false
  1096. end), hum)
  1097. local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
  1098. local bodvol = Create("BodyVelocity")({
  1099. velocity = angle * knockback,
  1100. P = 5000,
  1101. maxForce = Vector3.new(8000, 8000, 8000),
  1102. Parent = hit
  1103. })
  1104. local rl = Create("BodyAngularVelocity")({
  1105. P = 3000,
  1106. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1107. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1108. Parent = hit
  1109. })
  1110. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1111. game:GetService("Debris"):AddItem(rl, 0.5)
  1112. elseif Type == "Normal" then
  1113. local vp = Create("BodyVelocity")({
  1114. P = 500,
  1115. maxForce = Vector3.new(math.huge, 0, math.huge),
  1116. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1117. })
  1118. if knockback > 0 then
  1119. vp.Parent = hit.Parent.Torso
  1120. end
  1121. game:GetService("Debris"):AddItem(vp, 0.5)
  1122. elseif Type == "Up" then
  1123. local bodyVelocity = Create("BodyVelocity")({
  1124. velocity = Vector3.new(0, 20, 0),
  1125. P = 5000,
  1126. maxForce = Vector3.new(8000, 8000, 8000),
  1127. Parent = hit
  1128. })
  1129. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1130. elseif Type == "DarkUp" then
  1131. coroutine.resume(coroutine.create(function()
  1132. for i = 0, 1, 0.1 do
  1133. swait()
  1134. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  1135. end
  1136. end))
  1137. local bodyVelocity = Create("BodyVelocity")({
  1138. velocity = Vector3.new(0, 20, 0),
  1139. P = 5000,
  1140. maxForce = Vector3.new(8000, 8000, 8000),
  1141. Parent = hit
  1142. })
  1143. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1144. elseif Type == "Snare" then
  1145. local bp = Create("BodyPosition")({
  1146. P = 2000,
  1147. D = 100,
  1148. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1149. position = hit.Parent.Torso.Position,
  1150. Parent = hit.Parent.Torso
  1151. })
  1152. game:GetService("Debris"):AddItem(bp, 1)
  1153. elseif Type == "Curse" then
  1154. CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
  1155. for i = 0, 1, 0.025 do
  1156. swait(30)
  1157. SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  1158. hit.Parent.Humanoid:TakeDamage(1)
  1159. end
  1160. elseif Type == "Freeze" then
  1161. local BodPos = Create("BodyPosition")({
  1162. P = 50000,
  1163. D = 1000,
  1164. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1165. position = hit.Parent.Torso.Position,
  1166. Parent = hit.Parent.Torso
  1167. })
  1168. local BodGy = Create("BodyGyro")({
  1169. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1170. P = 20000,
  1171. Parent = hit.Parent.Torso,
  1172. cframe = hit.Parent.Torso.CFrame
  1173. })
  1174. hit.Parent.Torso.Anchored = true
  1175. coroutine.resume(coroutine.create(function(Part)
  1176. swait(1.5)
  1177. Part.Anchored = false
  1178. end), hit.Parent.Torso)
  1179. game:GetService("Debris"):AddItem(BodPos, 6)
  1180. game:GetService("Debris"):AddItem(BodGy, 6)
  1181. end
  1182. local debounce = Create("BoolValue")({
  1183. Name = "DebounceHit",
  1184. Parent = hit.Parent,
  1185. Value = true
  1186. })
  1187. game:GetService("Debris"):AddItem(debounce, Delay)
  1188. c = Instance.new("ObjectValue")
  1189. c.Name = "creator"
  1190. c.Value = Player
  1191. c.Parent = h
  1192. game:GetService("Debris"):AddItem(c, 0.5)
  1193. end
  1194. end
  1195. function ShowDamage(Pos, Text, Time, Color)
  1196. local Rate = 0.033333333333333
  1197. if not Pos then
  1198. local Pos = Vector3.new(0, 0, 0)
  1199. end
  1200. local Text = Text or ""
  1201. local Time = Time or 2
  1202. if not Color then
  1203. local Color = Color3.new(1, 0, 1)
  1204. end
  1205. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1206. EffectPart.Anchored = true
  1207. local BillboardGui = Create("BillboardGui")({
  1208. Size = UDim2.new(3, 0, 3, 0),
  1209. Adornee = EffectPart,
  1210. Parent = EffectPart
  1211. })
  1212. local TextLabel = Create("TextLabel")({
  1213. BackgroundTransparency = 1,
  1214. Size = UDim2.new(1, 0, 1, 0),
  1215. Text = Text,
  1216. TextColor3 = Color,
  1217. TextScaled = true,
  1218. Font = Enum.Font.ArialBold,
  1219. Parent = BillboardGui
  1220. })
  1221. game.Debris:AddItem(EffectPart, Time + 0.1)
  1222. EffectPart.Parent = game:GetService("Workspace")
  1223. delay(0, function()
  1224. local Frames = Time / Rate
  1225. for Frame = 1, Frames do
  1226. wait(Rate)
  1227. local Percent = Frame / Frames
  1228. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1229. TextLabel.TextTransparency = Percent
  1230. end
  1231. if EffectPart and EffectPart.Parent then
  1232. EffectPart:Destroy()
  1233. end
  1234. end)
  1235. end
  1236. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1237. for _, c in pairs(workspace:children()) do
  1238. local hum = c:findFirstChild("Humanoid")
  1239. if hum ~= nil then
  1240. local head = c:findFirstChild("Torso")
  1241. if head ~= nil then
  1242. local targ = head.Position - Part.Position
  1243. local mag = targ.magnitude
  1244. if magni >= mag and c.Name ~= Player.Name then
  1245. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1)
  1246. end
  1247. end
  1248. end
  1249. end
  1250. end
  1251. EffectModel = Instance.new("Model", Character)
  1252. EffectModel.Name = "Effects"
  1253. Effects = {
  1254. Block = {
  1255. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1256. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1257. prt.Anchored = true
  1258. prt.CFrame = cframe
  1259. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1260. game:GetService("Debris"):AddItem(prt, 10)
  1261. if Type == 1 or Type == nil then
  1262. table.insert(Effects, {
  1263. prt,
  1264. "Block1",
  1265. delay,
  1266. x3,
  1267. y3,
  1268. z3,
  1269. msh
  1270. })
  1271. elseif Type == 2 then
  1272. table.insert(Effects, {
  1273. prt,
  1274. "Block2",
  1275. delay,
  1276. x3,
  1277. y3,
  1278. z3,
  1279. msh
  1280. })
  1281. end
  1282. end
  1283. },
  1284. Cylinder = {
  1285. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1286. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1287. prt.Anchored = true
  1288. prt.CFrame = cframe
  1289. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1290. game:GetService("Debris"):AddItem(prt, 2)
  1291. Effects[#Effects + 1] = {
  1292. prt,
  1293. "Cylinder",
  1294. delay,
  1295. x3,
  1296. y3,
  1297. z3
  1298. }
  1299. end
  1300. },
  1301. Sphere = {
  1302. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1303. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1304. prt.Anchored = true
  1305. prt.CFrame = cframe
  1306. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1307. game:GetService("Debris"):AddItem(prt, 10)
  1308. table.insert(Effects, {
  1309. prt,
  1310. "Cylinder",
  1311. delay,
  1312. x3,
  1313. y3,
  1314. z3,
  1315. msh
  1316. })
  1317. end
  1318. },
  1319. Ring = {
  1320. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1321. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1322. prt.Anchored = true
  1323. prt.CFrame = cframe
  1324. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1325. game:GetService("Debris"):AddItem(prt, 10)
  1326. table.insert(Effects, {
  1327. prt,
  1328. "Cylinder",
  1329. delay,
  1330. x3,
  1331. y3,
  1332. z3,
  1333. msh
  1334. })
  1335. end
  1336. },
  1337. Cloud = {
  1338. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1339. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1340. prt.Anchored = true
  1341. prt.CFrame = cframe
  1342. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1343. game:GetService("Debris"):AddItem(prt, 10)
  1344. table.insert(Effects, {
  1345. prt,
  1346. "Cylinder",
  1347. delay,
  1348. x3,
  1349. y3,
  1350. z3,
  1351. msh
  1352. })
  1353. end
  1354. },
  1355. Wave = {
  1356. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1357. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1358. prt.Anchored = true
  1359. prt.CFrame = cframe
  1360. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1361. game:GetService("Debris"):AddItem(prt, 10)
  1362. table.insert(Effects, {
  1363. prt,
  1364. "Cylinder",
  1365. delay,
  1366. x3,
  1367. y3,
  1368. z3,
  1369. msh
  1370. })
  1371. end
  1372. },
  1373. Break = {
  1374. Create = function(brickcolor, cframe, x1, y1, z1)
  1375. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1376. prt.Anchored = true
  1377. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1378. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1379. local num = math.random(10, 50) / 1000
  1380. game:GetService("Debris"):AddItem(prt, 10)
  1381. table.insert(Effects, {
  1382. prt,
  1383. "Shatter",
  1384. num,
  1385. prt.CFrame,
  1386. math.random() - math.random(),
  1387. 0,
  1388. math.random(50, 100) / 100
  1389. })
  1390. end
  1391. }
  1392. }
  1393. local rev = Instance.new("Sound", Barrel)
  1394. rev.Volume = 1
  1395. rev.Pitch = 1.2
  1396. rev.Looped = false
  1397. rev.SoundId = "rbxassetid://357820124"
  1398. rev.MaxDistance = 1000
  1399. local spim = Instance.new("Sound", Barrel)
  1400. spim.Volume = 1
  1401. spim.Pitch = 1
  1402. spim.Looped = true
  1403. spim.SoundId = "rbxassetid://167882734"
  1404. spim.MaxDistance = 1000
  1405. local aiming = false
  1406. local nu = 0
  1407. function Aim()
  1408. aiming = true
  1409. attack = true
  1410. Humanoid.WalkSpeed = 2
  1411. Humanoid.JumpPower = 0
  1412. for i = 0, 1, 0.1 do
  1413. swait()
  1414. PlayAnimationFromTable({
  1415. CFrame.new(-0.170424014, -0.0599999093, 0.143827543, 0.0551210083, -0.0140470108, -0.99838084, 0.246923029, 0.969035149, -1.39987253E-6, 0.967466116, -0.246523187, 0.0568827242),
  1416. CFrame.new(0.0930410028, 1.51390386, -0.186864346, 0.0551210232, 0.246923029, 0.967466354, -0.0140470145, 0.969035149, -0.246523246, -0.998381078, -1.39987253E-6, 0.0568827391),
  1417. CFrame.new(1.30572438, 0.549293935, -0.623716354, 0.975685954, 0.166035622, 0.143070266, 0.0081961602, 0.624675274, -0.780841708, -0.219019979, 0.76302886, 0.608125925),
  1418. CFrame.new(-1.06310928, 0.322490007, -1.00624692, 0.881435692, -0.411378503, -0.232031837, -0.0481262654, 0.410489917, -0.910594344, 0.469845623, 0.813797176, 0.3420223),
  1419. CFrame.new(0.673036039, -2.17349005, 0.0392552316, 0.988193929, -0.10620904, -0.110418722, 0.0839042664, 0.978192925, -0.189996794, 0.12819016, 0.178489059, 0.975555658),
  1420. CFrame.new(-1.06996655, -1.72934985, -0.00624912977, 0.727204561, 0.246923029, 0.640470624, -0.185302377, 0.969035149, -0.163199365, -0.660936117, -1.39987253E-6, 0.750442147)
  1421. }, 0.3, false)
  1422. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1423. end
  1424. rev:Play()
  1425. while aiming do
  1426. swait()
  1427. if rev.Playing == false and spim.Playing == false then
  1428. spim:Play()
  1429. end
  1430. if nu < 360 then
  1431. nu = nu + 20
  1432. else
  1433. nu = 0
  1434. end
  1435. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3)
  1436. end
  1437. end
  1438. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1439. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1440. prt.Anchored = true
  1441. prt.CFrame = cframe
  1442. prt.Material = "Neon"
  1443. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1444. game:GetService("Debris"):AddItem(prt, 10)
  1445. coroutine.resume(coroutine.create(function(Part, Mesh)
  1446. for i = 0, 1, delay do
  1447. swait()
  1448. Part.Transparency = i
  1449. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1450. end
  1451. Part.Parent = nil
  1452. end), prt, msh)
  1453. end
  1454. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1455. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1456. prt.Anchored = true
  1457. prt.CFrame = cframe
  1458. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1459. game:GetService("Debris"):AddItem(prt, 10)
  1460. if Type == 1 or Type == nil then
  1461. table.insert(Effects, {
  1462. prt,
  1463. "Block1",
  1464. delay,
  1465. x3,
  1466. y3,
  1467. z3,
  1468. msh
  1469. })
  1470. elseif Type == 2 then
  1471. table.insert(Effects, {
  1472. prt,
  1473. "Block2",
  1474. delay,
  1475. x3,
  1476. y3,
  1477. z3,
  1478. msh
  1479. })
  1480. end
  1481. end
  1482. function shoottraildd(mouse, partt, SpreadAmount)
  1483. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1484. local MainPos = partt.Position
  1485. local MainPos2 = mouse.Hit.p + SpreadVectors
  1486. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1487. local speed = 100
  1488. local num = 10
  1489. coroutine.resume(coroutine.create(function()
  1490. repeat
  1491. swait()
  1492. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1493. local mag = (MainPos - pos).magnitude
  1494. Laser(BrickColor.new("Bright yellow"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.25, 0, -0.25, 0.15)
  1495. MainPos = MainPos + MouseLook.lookVector * speed
  1496. num = num - 1
  1497. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1498. if hit ~= nil then
  1499. num = 0
  1500. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1501. refpart.Anchored = true
  1502. refpart.CFrame = CFrame.new(pos)
  1503. game:GetService("Debris"):AddItem(refpart, 1)
  1504. end
  1505. if num <= 0 then
  1506. local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1507. refpart2.Anchored = true
  1508. refpart2.CFrame = CFrame.new(pos)
  1509. game:GetService("Debris"):AddItem(refpart2, 1)
  1510. if hit ~= nil then
  1511. Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  1512. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1513. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1514. if hit ~= nil then
  1515. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  1516. d1.Anchored = true
  1517. d1.CFrame = CFrame.new(pos)
  1518. game:GetService("Debris"):AddItem(d1, 5)
  1519. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
  1520. local d2 = d1:Clone()
  1521. d2.Parent = d1
  1522. d2.CFrame = CFrame.new(d1.Position)
  1523. d2.BrickColor = BrickColor.new("Bright yellow")
  1524. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1525. table.insert(Effects, {
  1526. d1,
  1527. "QuadShot",
  1528. d2,
  1529. d2.Mesh,
  1530. 0
  1531. })
  1532. end
  1533. end
  1534. end
  1535. until num <= 0
  1536. end))
  1537. end
  1538. function IceMortar()
  1539. local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1540. local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
  1541. icepart1.Anchored = true
  1542. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  1543. icepart1.CFrame = dacf
  1544. local cfinc = 99999
  1545. icepart1.Transparency = 1
  1546. CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
  1547. game:GetService("Debris"):AddItem(icepart1, 1)
  1548. local spread = Vector3.new((math.random(-3, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-3, 3) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100
  1549. local TheHit = mouse.Hit.p
  1550. local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
  1551. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1552. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1553. local test1, dist1 = mouse.Hit.p, nil
  1554. if target1 ~= nil then
  1555. cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
  1556. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1557. local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
  1558. d1.Anchored = true
  1559. d1.CFrame = cn(pos2)
  1560. Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  1561. Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03)
  1562. Effects.Cloud.Create(target1.BrickColor, cn(pos2), 1, 1, 1, math.random(0.7, 1), math.random(1, 3), math.random(0.7, 1), 0.03)
  1563. Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
  1564. Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
  1565. Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
  1566. Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
  1567. game.Debris:AddItem(d1, 0.5)
  1568. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1569. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1570. if hit ~= nil then
  1571. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  1572. d1.Anchored = true
  1573. d1.CFrame = CFrame.new(pos)
  1574. game:GetService("Debris"):AddItem(d1, 30)
  1575. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(500, 5, 500))
  1576. local d2 = d1:Clone()
  1577. d2.Parent = d1
  1578. d2.CFrame = CFrame.new(d1.Position)
  1579. d2.BrickColor = BrickColor.new("Bright yellow")
  1580. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1581. table.insert(Effects, {
  1582. d1,
  1583. "QuadShot2",
  1584. d2,
  1585. d2.Mesh,
  1586. 0
  1587. })
  1588. end
  1589. end
  1590. end
  1591. function Hee()
  1592. local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1593. local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
  1594. icepart1.Anchored = true
  1595. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  1596. icepart1.CFrame = dacf
  1597. local cfinc = 99999
  1598. icepart1.Transparency = 1
  1599. CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
  1600. game:GetService("Debris"):AddItem(icepart1, 1)
  1601. local spread = Vector3.new((math.random(-30, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-30, 30) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100
  1602. local TheHit = mouse.Hit.p
  1603. local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
  1604. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1605. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1606. local test1, dist1 = mouse.Hit.p, nil
  1607. if target1 ~= nil then
  1608. cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
  1609. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1610. local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
  1611. d1.Anchored = true
  1612. d1.CFrame = cn(pos2)
  1613. MagniDamage(d1, 8, 3, 5, 0, "Normal")
  1614. Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07)
  1615. Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
  1616. game.Debris:AddItem(d1, 0.5)
  1617. end
  1618. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1619. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1620. if hit ~= nil then
  1621. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  1622. d1.Anchored = true
  1623. d1.CFrame = CFrame.new(pos)
  1624. game:GetService("Debris"):AddItem(d1, 5)
  1625. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
  1626. local d2 = d1:Clone()
  1627. d2.Parent = d1
  1628. d2.CFrame = CFrame.new(d1.Position)
  1629. d2.BrickColor = BrickColor.new("Bright yellow")
  1630. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1631. table.insert(Effects, {
  1632. d1,
  1633. "QuadShot",
  1634. d2,
  1635. d2.Mesh,
  1636. 0
  1637. })
  1638. end
  1639. end
  1640. local soe = Instance.new("Sound", Barrel)
  1641. soe.Volume = 1
  1642. soe.Pitch = 1
  1643. soe.Looped = true
  1644. soe.SoundId = "rbxassetid://341294387"
  1645. soe.MaxDistance = 1000
  1646. local shoot = false
  1647. local hot = false
  1648. function fire()
  1649. hot = true
  1650. shoot = true
  1651. while shoot do
  1652. while shoot do
  1653. if shoot == true then
  1654. swait()
  1655. for i = 0, 1, 0.5 do
  1656. swait()
  1657. PlayAnimationFromTable({
  1658. CFrame.new(-0.167053476, -0.0588135049, 0.140983686, 0.0654093325, -0.00924067106, -0.997815728, 0.156799912, 0.987629831, 0.0011322886, 0.98546207, -0.156531483, 0.0660491288),
  1659. CFrame.new(-0.0409736931, 1.51582134, -0.183162034, 0.0654088631, 0.156799927, 0.985462129, -0.00924065989, 0.987629771, -0.156531498, -0.997815788, 0.00113223272, 0.066048637),
  1660. CFrame.new(1.5242641, 0.608132184, -0.624453306, 0.972154856, 0.108696721, 0.207605079, 0.0937597305, 0.631499469, -0.769686759, -0.214764893, 0.767719507, 0.603723884),
  1661. CFrame.new(-0.819477558, 0.188001126, -1.01326716, 0.882124126, -0.447403371, -0.147265807, 0.0331753343, 0.370894492, -0.928082407, 0.469847202, 0.813798189, 0.34201774),
  1662. CFrame.new(0.856069803, -2.10349417, 0.0384711921, 0.977712274, -0.18880485, -0.0918231755, 0.168287143, 0.96627003, -0.194940567, 0.125531688, 0.175143108, 0.976507366),
  1663. CFrame.new(-0.637022972, -1.86262906, -0.0132773817, 0.75052321, 0.156917602, 0.641943574, -0.118095078, 0.987610161, -0.103342898, -0.650206387, 0.00175085466, 0.759755611)
  1664. }, 0.3, false)
  1665. end
  1666. if cooldown1 >= 4 then
  1667. soe:Play()
  1668. cooldown1 = cooldown1 - 2
  1669. shoottraildd(mouse, Barrel, 1)
  1670. else
  1671. soe:Stop()
  1672. CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
  1673. end
  1674. end
  1675. end
  1676. soe:Stop()
  1677. CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
  1678. end
  1679. hot = false
  1680. end
  1681. function baka()
  1682. Humanoid.WalkSpeed = 2
  1683. Humanoid.JumpPower = 0
  1684. attack = true
  1685. for i = 0, 1, 0.5 do
  1686. swait()
  1687. PlayAnimationFromTable({
  1688. CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
  1689. CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565),
  1690. CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565),
  1691. CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855),
  1692. CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925),
  1693. CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289)
  1694. }, 0.4, false)
  1695. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1696. end
  1697. for i = 0, 1, 0.5 do
  1698. swait()
  1699. PlayAnimationFromTable({
  1700. CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
  1701. CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565),
  1702. CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565),
  1703. CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855),
  1704. CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925),
  1705. CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289)
  1706. }, 0.4, false)
  1707. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1708. end
  1709. IceMortar()
  1710. for i = 0, 1, 0.5 do
  1711. swait()
  1712. PlayAnimationFromTable({
  1713. CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786),
  1714. CFrame.new(-0.00419440866, 1.463902, 0.0260094106, 0.372635633, -0.266420603, 0.888911009, 0.176304489, 0.960780025, 0.214053184, -0.91107595, 0.0769551396, 0.404991925),
  1715. CFrame.new(1.16062069, 1.21589506, -1.1315105, 0.461470664, 0.408944249, 0.787279725, 0.759406447, 0.276684046, -0.588853061, -0.458635807, 0.869603693, -0.182873294),
  1716. CFrame.new(-1.1017859, 0.105088279, -0.580041945, 0.871761322, -0.489363998, -0.0235606134, 0.251738638, 0.48867017, -0.83536166, 0.420309335, 0.722304821, 0.549195588),
  1717. CFrame.new(0.356478155, -1.8632127, -0.897590756, 0.318082392, -0.179918393, 0.930834651, 0.152005479, 0.978804231, 0.137247398, -0.935798109, 0.0978359506, 0.33868891),
  1718. CFrame.new(-0.668343425, -1.97596669, -0.199289501, 0.642908812, 0.107930049, 0.758300424, 0.172217295, 0.944303334, -0.280414909, -0.746330738, 0.310873568, 0.588513494)
  1719. }, 0.3, false)
  1720. end
  1721. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1722. Humanoid.WalkSpeed = 14
  1723. Humanoid.JumpPower = 50
  1724. attack = false
  1725. end
  1726. function bulletrain()
  1727. attack = true
  1728. shoot = true
  1729. Humanoid.WalkSpeed = 2
  1730. Humanoid.JumpPower = 0
  1731. for i = 0, 1, 0.5 do
  1732. swait()
  1733. PlayAnimationFromTable({
  1734. CFrame.new(-8.64267349E-7, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146),
  1735. CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678),
  1736. CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485),
  1737. CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342),
  1738. CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959),
  1739. CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1)
  1740. }, 0.3, false)
  1741. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1742. end
  1743. soe:Play()
  1744. for i = 1, 5 do
  1745. for i = 0, 1, 0.5 do
  1746. swait()
  1747. PlayAnimationFromTable({
  1748. CFrame.new(-8.64267349E-7, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146),
  1749. CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678),
  1750. CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485),
  1751. CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342),
  1752. CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959),
  1753. CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1)
  1754. }, 0.3, false)
  1755. end
  1756. Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
  1757. coroutine.resume(coroutine.create(function()
  1758. for i = 0, 3 do
  1759. swait()
  1760. Hee()
  1761. end
  1762. end))
  1763. for i = 0, 1, 0.5 do
  1764. swait()
  1765. PlayAnimationFromTable({
  1766. CFrame.new(-4.02331352E-7, -0.429999679, 0.509999633, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146),
  1767. CFrame.new(-0.0229135007, 1.52854931, -0.00346241146, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678),
  1768. CFrame.new(1.34206092, -0.578433394, -0.518014491, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485),
  1769. CFrame.new(0.159522176, 0.358650804, -1.36138511, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342),
  1770. CFrame.new(0.923282862, -1.64690685, 0.413322628, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959),
  1771. CFrame.new(-0.866316676, -2.12141252, -0.675008297, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1)
  1772. }, 0.3, false)
  1773. end
  1774. end
  1775. Humanoid.WalkSpeed = 16
  1776. Humanoid.JumpPower = 50
  1777. shoot = false
  1778. attack = false
  1779. end
  1780. function reload()
  1781. attack = true
  1782. CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
  1783. Humanoid.WalkSpeed = 0
  1784. Humanoid.JumpPower = 0
  1785. for i = 0, 1, 0.1 do
  1786. swait()
  1787. PlayAnimationFromTable({
  1788. CFrame.new(1.8440187E-7, -0.139999658, 4.09781933E-8, 0.961201906, -0.10690318, -0.254288644, 0.21934697, 0.855199099, 0.469597191, 0.167265981, -0.50715512, 0.845467865),
  1789. CFrame.new(0.118516162, 1.58659482, -0.219019189, 0.961201906, 0.0477932617, 0.271674097, -0.10690318, 0.972449541, 0.20715633, -0.254288644, -0.228161901, 0.939829588),
  1790. CFrame.new(1.68424237, 0.748442292, -0.706012189, 0.99522835, -0.0820493251, -0.052807644, -0.0259959921, 0.298680395, -0.953999102, 0.094047606, 0.950819731, 0.295122236),
  1791. CFrame.new(-1.00540316, -0.0433585942, -1.04679382, 0.889593422, -0.412790358, -0.195519671, -0.0179834068, 0.396077901, -0.918040872, 0.456399381, 0.820199132, 0.344924867),
  1792. CFrame.new(0.077872172, -1.66495073, -0.965118527, 0.971758127, 0.128417134, 0.197978109, -0.14856942, 0.984753489, 0.0904862583, -0.18333964, -0.11734429, 0.976021051),
  1793. CFrame.new(-0.952379167, -2.22908545, -0.0740788579, 0.971758127, -0.0780466571, 0.222699374, -0.14856942, 0.530862331, 0.834333539, -0.18333964, -0.843856633, 0.504274428)
  1794. }, 0.3, false)
  1795. end
  1796. for i = 0, 1, 0.3 do
  1797. swait()
  1798. PlayAnimationFromTable({
  1799. CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053),
  1800. CFrame.new(0.0842576772, 1.58659482, -0.234341949, 0.912073672, 0.0129638165, 0.409821719, -0.106903367, 0.972449541, 0.207156241, -0.395845294, -0.232753009, 0.888331294),
  1801. CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489),
  1802. CFrame.new(-1.58909011, 0.00795590132, -0.693813384, 0.872956932, 0.466834873, -0.141462982, -0.292127311, 0.268072933, -0.918040633, -0.390650928, 0.842735052, 0.370391279),
  1803. CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505),
  1804. CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)
  1805. }, 0.3, false)
  1806. end
  1807. CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
  1808. for i = 0, 1, 0.3 do
  1809. swait()
  1810. PlayAnimationFromTable({
  1811. CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053),
  1812. CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853),
  1813. CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489),
  1814. CFrame.new(-0.412511081, -0.129949987, -1.20445538, 0.850484729, -0.506620288, -0.141463727, 0.0787711143, 0.388581336, -0.918041229, 0.520068347, 0.769636631, 0.370389462),
  1815. CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505),
  1816. CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)
  1817. }, 0.3, false)
  1818. end
  1819. CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
  1820. for i = 0, 1, 0.1 do
  1821. swait()
  1822. PlayAnimationFromTable({
  1823. CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053),
  1824. CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853),
  1825. CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489),
  1826. CFrame.new(-1.23337948, -0.0337366089, -0.848193765, 0.985941291, 0.0889243782, -0.141466275, -0.164270043, 0.360854447, -0.91804111, -0.0305874944, 0.928373039, 0.370388746),
  1827. CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505),
  1828. CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)
  1829. }, 0.3, false)
  1830. end
  1831. for i = 0, 1, 0.1 do
  1832. swait()
  1833. PlayAnimationFromTable({
  1834. CFrame.new(2.75671482E-7, -0.139999509, 4.84287739E-8, 0.93023777, -0.149679706, -0.335043013, 0.266118944, 0.903822243, 0.335091412, 0.252662927, -0.400875956, 0.880602121),
  1835. CFrame.new(0.146082789, 1.46556664, -0.249146447, 0.999015331, 0.0302448869, 0.0324646235, -0.0357455313, 0.982079625, 0.185046405, -0.0262861252, -0.186024636, 0.98219353),
  1836. CFrame.new(1.60341132, 0.634059429, -0.960381627, 0.999630213, 0.0153988302, -0.0224183053, -0.0267876983, 0.414896607, -0.909474254, -0.00470355153, 0.909738421, 0.415155649),
  1837. CFrame.new(-1.27817965, 0.483237952, -0.584308505, 0.9862625, -0.0390861779, -0.1604954, -0.16083923, -0.0057964623, -0.986963689, 0.0376463234, 0.999219179, -0.012003392),
  1838. CFrame.new(-0.0210132897, -1.77229953, -0.753718495, 0.947978377, 0.115773275, 0.296536177, -0.182390139, 0.960999489, 0.207879633, -0.260904163, -0.251150727, 0.932122588),
  1839. CFrame.new(-0.954967141, -2.2089045, 0.30019033, 0.947978377, -0.163744882, 0.272992253, -0.182390139, 0.423467815, 0.887360692, -0.260904163, -0.890989721, 0.371572882)
  1840. }, 0.3, false)
  1841. end
  1842. for i = 0, 1, 0.3 do
  1843. swait()
  1844. PlayAnimationFromTable({
  1845. CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701),
  1846. CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024),
  1847. CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596),
  1848. CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656),
  1849. CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196),
  1850. CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)
  1851. }, 0.3, false)
  1852. end
  1853. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  1854. for i = 0, 1, 0.3 do
  1855. swait()
  1856. PlayAnimationFromTable({
  1857. CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845),
  1858. CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417),
  1859. CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243),
  1860. CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286),
  1861. CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356),
  1862. CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)
  1863. }, 0.3, false)
  1864. end
  1865. for i = 0, 1, 0.3 do
  1866. swait()
  1867. PlayAnimationFromTable({
  1868. CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701),
  1869. CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024),
  1870. CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596),
  1871. CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656),
  1872. CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196),
  1873. CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)
  1874. }, 0.3, false)
  1875. end
  1876. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  1877. for i = 0, 1, 0.3 do
  1878. swait()
  1879. PlayAnimationFromTable({
  1880. CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845),
  1881. CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417),
  1882. CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243),
  1883. CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286),
  1884. CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356),
  1885. CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)
  1886. }, 0.3, false)
  1887. end
  1888. for i = 0, 1, 0.3 do
  1889. swait()
  1890. PlayAnimationFromTable({
  1891. CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701),
  1892. CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024),
  1893. CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596),
  1894. CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656),
  1895. CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196),
  1896. CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)
  1897. }, 0.3, false)
  1898. end
  1899. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  1900. for i = 0, 1, 0.3 do
  1901. swait()
  1902. PlayAnimationFromTable({
  1903. CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845),
  1904. CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417),
  1905. CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243),
  1906. CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286),
  1907. CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356),
  1908. CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)
  1909. }, 0.3, false)
  1910. end
  1911. CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
  1912. cooldown1 = 200
  1913. for i = 0, 1, 0.1 do
  1914. swait()
  1915. PlayAnimationFromTable({
  1916. CFrame.new(8.63336027E-7, -0.139999524, 2.11410224E-7, 0.972940207, -0.0703168139, -0.220097557, 0.0912460238, 0.992072761, 0.0864050239, 0.21227704, -0.104149938, 0.971643686),
  1917. CFrame.new(0.0565204546, 1.57937229, -0.254729301, 0.939605474, -0.0956909955, 0.32861048, -0.0686053783, 0.887976408, 0.454743028, -0.335313201, -0.449823558, 0.827782691),
  1918. CFrame.new(1.66388702, 0.430516392, -0.589863598, 0.987100601, -0.14505294, 0.0677664801, 0.145556614, 0.636787474, -0.757175744, 0.0666777343, 0.757272482, 0.649686694),
  1919. CFrame.new(-1.59538066, 0.0678503811, 0.220779896, 0.9169752, 0.259564161, 0.302957177, -0.109948099, 0.8944121, -0.433518767, -0.383494496, 0.364216447, 0.848692358),
  1920. CFrame.new(0.323853761, -1.88460708, -0.230116844, 0.98718667, -0.00142863393, 0.159563616, -0.0787070394, 0.865496337, 0.494693071, -0.138808474, -0.500913203, 0.854294121),
  1921. CFrame.new(-0.643794179, -2.1812942, 0.841914892, 0.98718667, -0.127094775, 0.0964857638, -0.0787070394, 0.138161942, 0.987277389, -0.138808474, -0.982221127, 0.126388401)
  1922. }, 0.3, false)
  1923. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1924. end
  1925. for i = 0, 1, 0.1 do
  1926. swait()
  1927. PlayAnimationFromTable({
  1928. CFrame.new(-4.63598553E-7, -0.139999643, 7.72997737E-8, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473),
  1929. CFrame.new(0.110893115, 1.57937193, -0.236186981, 0.78559494, 0.00506232027, 0.618720472, -0.288064182, 0.887976527, 0.358492374, -0.547594428, -0.459860921, 0.699048221),
  1930. CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379),
  1931. CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776),
  1932. CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836),
  1933. CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206)
  1934. }, 0.3, false)
  1935. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1936. end
  1937. for i = 0, 1, 0.1 do
  1938. swait()
  1939. PlayAnimationFromTable({
  1940. CFrame.new(-4.63598553E-7, -0.139999643, 7.72997737E-8, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473),
  1941. CFrame.new(0.110893264, 1.57937276, -0.236186564, 0.891458511, 0.00506000547, -0.453074306, 0.204350829, 0.887976766, 0.411992967, 0.404404104, -0.459860682, 0.790560246),
  1942. CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379),
  1943. CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776),
  1944. CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836),
  1945. CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206)
  1946. }, 0.3, false)
  1947. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1948. end
  1949. Humanoid.WalkSpeed = 16
  1950. Humanoid.JumpPower = 50
  1951. attack = false
  1952. end
  1953. mouse.Button1Down:connect(function()
  1954. if attack == false and aiming == false then
  1955. Aim()
  1956. end
  1957. end)
  1958. mouse.Button1Up:connect(function()
  1959. if attack == true and aiming == true then
  1960. attack = false
  1961. aiming = false
  1962. Humanoid.WalkSpeed = 14
  1963. Humanoid.JumpPower = 50
  1964. shoot = false
  1965. end
  1966. end)
  1967. mouse.KeyDown:connect(function(k)
  1968. k = k:lower()
  1969. if attack == true and aiming == true and hot == false and k == "z" then
  1970. fire()
  1971. elseif attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then
  1972. cooldown3 = 0
  1973. baka()
  1974. elseif attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then
  1975. cooldown4 = 0
  1976. bulletrain()
  1977. elseif attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then
  1978. cooldown2 = 0
  1979. reload()
  1980. end
  1981. end)
  1982. mouse.KeyUp:connect(function(k)
  1983. k = k:lower()
  1984. if attack == true and aiming == true and hot == true and k == "z" then
  1985. shoot = false
  1986. end
  1987. end)
  1988. function updateskills()
  1989. if aiming == false then
  1990. text1.Text = [[
  1991. [Z]
  1992. N/A]]
  1993. else
  1994. text1.Text = [[
  1995. [Z]
  1996. Fire]]
  1997. end
  1998. if cooldown2 <= co2 then
  1999. cooldown2 = cooldown2 + 0.033333333333333
  2000. end
  2001. if cooldown3 <= co3 then
  2002. cooldown3 = cooldown3 + 0.2
  2003. end
  2004. if cooldown4 <= co4 then
  2005. cooldown4 = cooldown4 + 0.033333333333333
  2006. end
  2007. end
  2008. Humanoid.WalkSpeed = 14
  2009. local Freeze = false
  2010. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  2011. for i, v in pairs(hit:GetChildren()) do
  2012. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  2013. local find = v:FindFirstChild("DebounceHit")
  2014. if not find then
  2015. if v.Parent:findFirstChild("Head") then
  2016. do
  2017. local BillG = Create("BillboardGui")({
  2018. Parent = v.Parent.Head,
  2019. Size = UDim2.new(1, 0, 1, 0),
  2020. Adornee = v.Parent.Head,
  2021. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))
  2022. })
  2023. local TL = Create("TextLabel")({
  2024. Parent = BillG,
  2025. Size = UDim2.new(3, 3, 3, 3),
  2026. BackgroundTransparency = 1,
  2027. Text = tostring(damage) .. "-",
  2028. TextColor3 = Color1.Color,
  2029. TextStrokeColor3 = Color2.Color,
  2030. TextStrokeTransparency = 0,
  2031. TextXAlignment = Enum.TextXAlignment.Center,
  2032. TextYAlignment = Enum.TextYAlignment.Center,
  2033. FontSize = Enum.FontSize.Size18,
  2034. Font = "ArialBold"
  2035. })
  2036. coroutine.resume(coroutine.create(function()
  2037. swait(1)
  2038. for i = 0, 1, 0.1 do
  2039. swait(0.1)
  2040. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
  2041. end
  2042. BillG:Destroy()
  2043. end))
  2044. end
  2045. end
  2046. if Freeze == false then
  2047. v.Health = v.Health - damage
  2048. elseif Freeze == true then
  2049. v.Health = v.Health - damage
  2050. v.Parent.Torso.Anchored = true
  2051. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594574", v.Parent.Torso, 1, 1)
  2052. for i = 1, 6 do
  2053. Effects.Freeze.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, 0.5, 0.5, 0.1, 0.3, 0.1)
  2054. Effects.Break.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, math.random(5, 15), 0.5)
  2055. end
  2056. for i = 1, 10 do
  2057. local freezepart = CFuncs.Part.Create(v.Parent, "Neon", 0.5, 0.85, BrickColor.new("Bright yellow"), "Ice Part", Vector3.new(math.random(2, 3) + math.random(), math.random(2, 3) + math.random(), math.random(2, 3) + math.random()))
  2058. freezepart.Anchored = true
  2059. freezepart.CFrame = v.Parent.Torso.CFrame * CFrame.new(math.random(-1, 0) + math.random(), -2.5, math.random(-1, 0) + math.random()) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2060. coroutine.resume(coroutine.create(function(Part)
  2061. swait(80)
  2062. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594737", v.Parent.Torso, 1, 1)
  2063. v.Parent.Torso.Anchored = false
  2064. Part.Anchored = false
  2065. Part.Velocity = Vector3.new(math.random(-20, 20), math.random(20, 30), math.random(-20, 20))
  2066. game:GetService("Debris"):AddItem(Part, 5)
  2067. end), freezepart)
  2068. end
  2069. end
  2070. local bool = Create("BoolValue")({
  2071. Parent = v,
  2072. Name = "DebounceHit"
  2073. })
  2074. if HSound ~= nil and HPitch ~= nil then
  2075. CFuncs.Sound.Create(HSound, v.Parent.Torso, 1, HPitch)
  2076. end
  2077. game:GetService("Debris"):AddItem(bool, cooldown)
  2078. end
  2079. end
  2080. end
  2081. end
  2082. function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
  2083. for _, c in pairs(workspace:children()) do
  2084. local hum = c:findFirstChild("Humanoid")
  2085. if hum ~= nil then
  2086. local head = c:findFirstChild("Torso")
  2087. if head ~= nil then
  2088. local targ = head.Position - Part.Position
  2089. local mag = targ.magnitude
  2090. if magni >= mag and c.Name ~= Player.Name then
  2091. Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HSound, HPitch)
  2092. end
  2093. end
  2094. end
  2095. end
  2096. end
  2097. while true do
  2098. swait()
  2099. updateskills()
  2100. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2101. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2102. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2103. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2104. if shoot == false then
  2105. soe:Stop()
  2106. end
  2107. if aiming == false then
  2108. spim:Stop()
  2109. end
  2110. if aiming == true then
  2111. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  2112. local direction = aim.lookVector
  2113. local headingA = math.atan2(direction.x, direction.z)
  2114. headingA = math.deg(headingA)
  2115. Humanoid.AutoRotate = false
  2116. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  2117. else
  2118. Humanoid.AutoRotate = true
  2119. end
  2120. for i, v in pairs(Character:GetChildren()) do
  2121. if v:IsA("Part") then
  2122. v.Material = "SmoothPlastic"
  2123. elseif v:IsA("Hat") then
  2124. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2125. end
  2126. end
  2127. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2128. velocity = RootPart.Velocity.y
  2129. sine = sine + change
  2130. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2131. if equipped == true or equipped == false then
  2132. if 1 < RootPart.Velocity.y and hit == nil then
  2133. Anim = "Jump"
  2134. if attack == false then
  2135. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2136. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  2137. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  2138. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2139. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  2140. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2141. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  2142. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2143. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  2144. end
  2145. elseif RootPart.Velocity.y < -1 and hit == nil then
  2146. Anim = "Fall"
  2147. if attack == false then
  2148. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3)
  2149. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(30), math.rad(0)), 0.3)
  2150. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  2151. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2152. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  2153. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2154. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  2155. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2156. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  2157. end
  2158. elseif Torsovelocity < 1 and hit ~= nil then
  2159. Anim = "Idle"
  2160. if attack == false then
  2161. change = 1
  2162. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  2163. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)), 0.3)
  2164. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3)
  2165. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3)
  2166. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2167. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2168. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  2169. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2170. end
  2171. elseif Torsovelocity > 2 and hit ~= nil then
  2172. Anim = "Walk"
  2173. if attack == false then
  2174. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3)
  2175. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(30), math.rad(0)), 0.3)
  2176. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  2177. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2178. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos(sine / 3)) * angles(math.rad(0 - 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
  2179. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos(sine / 3)) * angles(math.rad(0 + 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
  2180. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  2181. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2182. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  2183. end
  2184. end
  2185. end
  2186. if 0 < #Effects then
  2187. for e = 1, #Effects do
  2188. if Effects[e] ~= nil then
  2189. local Thing = Effects[e]
  2190. if Thing ~= nil then
  2191. local Part = Thing[1]
  2192. local Mode = Thing[2]
  2193. local Delay = Thing[3]
  2194. local IncX = Thing[4]
  2195. local IncY = Thing[5]
  2196. local IncZ = Thing[6]
  2197. if Thing[1].Transparency <= 1 then
  2198. if Thing[2] == "Block1" then
  2199. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2200. Mesh = Thing[1].Mesh
  2201. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2202. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2203. elseif Thing[2] == "QuadShot" then
  2204. if Thing[5] < 49 then
  2205. Thing[5] = Thing[5] + 1.5
  2206. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  2207. else
  2208. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  2209. refda.Anchored = true
  2210. refda.CFrame = CFrame.new(Thing[1].Position)
  2211. game:GetService("Debris"):AddItem(refda, 5)
  2212. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.5)
  2213. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.8)
  2214. MagnitudeDamage(refda, 40, 0, 0, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
  2215. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 5, 9999, 5, 5, 10, 5, 0.05)
  2216. Effects.Sphere.Create(BrickColor.new("Crimson"), refda.CFrame, 5, 10, 5, 5, 10, 3, 0.06)
  2217. Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 5, 5, 5, 5, 5, 0.06, 1)
  2218. Effects.Wave.Create(BrickColor.new("White"), refda.CFrame, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.06)
  2219. Thing[1].Parent = nil
  2220. table.remove(Effects, e)
  2221. end
  2222. elseif Thing[2] == "QuadShot2" then
  2223. if Thing[5] < 499 then
  2224. Thing[5] = Thing[5] + 1.5
  2225. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  2226. else
  2227. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  2228. refda.Anchored = true
  2229. refda.CFrame = CFrame.new(Thing[1].Position)
  2230. game:GetService("Debris"):AddItem(refda, 5)
  2231. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.5)
  2232. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.8)
  2233. MagnitudeDamage(refda, 40, 0, 0, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
  2234. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 50, 9999, 50, 50, 100, 50, 0.05)
  2235. Effects.Sphere.Create(BrickColor.new("Crimson"), refda.CFrame, 50, 100, 50, 50, 100, 30, 0.06)
  2236. Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 50, 50, 50, 50, 50, 0.06, 1)
  2237. Effects.Wave.Create(BrickColor.new("White"), refda.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.06)
  2238. Thing[1].Parent = nil
  2239. table.remove(Effects, e)
  2240. end
  2241. elseif Thing[2] == "Block2" then
  2242. Thing[1].CFrame = Thing[1].CFrame
  2243. Mesh = Thing[7]
  2244. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2245. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2246. elseif Thing[2] == "Cylinder" then
  2247. Mesh = Thing[1].Mesh
  2248. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2249. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2250. elseif Thing[2] == "Blood" then
  2251. Mesh = Thing[7]
  2252. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2253. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2254. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2255. elseif Thing[2] == "Elec" then
  2256. Mesh = Thing[1].Mesh
  2257. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2258. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2259. elseif Thing[2] == "Disappear" then
  2260. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2261. elseif Thing[2] == "Shatter" then
  2262. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2263. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2264. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2265. Thing[6] = Thing[6] + Thing[5]
  2266. end
  2267. else
  2268. Part.Parent = nil
  2269. table.remove(Effects, e)
  2270. end
  2271. end
  2272. end
  2273. end
  2274. end
  2275. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement