Advertisement
Kermit1900

o

Aug 20th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 255.74 KB | None | 0 0
  1. --repeat wait() until script:WaitForChild'Owner'.Value
  2. local Player = game.Players.HerLxght
  3. --script.Owner:destroy()
  4. local FakeMouse = script.FakeMouse:Clone();
  5. FakeMouse.Parent = Player.Character;
  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--repeat wait() until script:WaitForChild'Owner'.Value
  2276. local Player = game.Players.HerLxght
  2277. --script.Owner:destroy()
  2278. local FakeMouse = script.FakeMouse:Clone();
  2279. FakeMouse.Parent = Player.Character;
  2280. do
  2281. local GUID = {}
  2282. do
  2283. GUID.IDs = {};
  2284. function GUID:new(len)
  2285. local id;
  2286. if(not len)then
  2287. id = (tostring(function() end))
  2288. id = id:gsub("function: ","")
  2289. else
  2290. local function genID(len)
  2291. local newID = ""
  2292. for i = 1,len do
  2293. newID = newID..string.char(math.random(48,90))
  2294. end
  2295. return newID
  2296. end
  2297. repeat id = genID(len) until not GUID.IDs[id]
  2298. local oid = id;
  2299. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  2300. GUID.IDs[oid]=true;
  2301. end
  2302. return id
  2303. end
  2304. end
  2305.  
  2306. local AHB = Instance.new("BindableEvent")
  2307.  
  2308. local FPS = 30
  2309.  
  2310. local TimeFrame = 0
  2311.  
  2312. local LastFrame = tick()
  2313. local Frame = 1/FPS
  2314.  
  2315. game:service'RunService'.Heartbeat:connect(function(s,p)
  2316. TimeFrame = TimeFrame + s
  2317. if(TimeFrame >= Frame)then
  2318. for i = 1,math.floor(TimeFrame/Frame) do
  2319. AHB:Fire()
  2320. end
  2321. LastFrame=tick()
  2322. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  2323. end
  2324. end)
  2325.  
  2326.  
  2327. function swait(dur)
  2328. if(dur == 0 or typeof(dur) ~= 'number')then
  2329. AHB.Event:wait()
  2330. else
  2331. for i = 1, dur*FPS do
  2332. AHB.Event:wait()
  2333. end
  2334. end
  2335. end
  2336.  
  2337. local oPlayer = Player
  2338. local Player = oPlayer
  2339.  
  2340. local loudnesses={}
  2341. script.Parent = Player.Character
  2342. local CoAS = {Actions={}}
  2343. local Event = Instance.new("RemoteEvent")
  2344. Event.Name = "UserInputEvent"
  2345. Event.Parent = Player.Character
  2346. local Func = Instance.new("RemoteFunction")
  2347. Func.Name = "GetClientProperty"
  2348. Func.Parent = Player.Character
  2349. local fakeEvent = function()
  2350. local t = {_fakeEvent=true,Waited={},Connected={}}
  2351. t.Connect = function(self,f)
  2352. local ft={}
  2353. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  2354. ft.Disconnect=ft.disconnect
  2355.  
  2356. ft.Func=function(...)
  2357. for id,_ in next, t.Waited do
  2358. t.Waited[id] = true
  2359. end
  2360. return f(...)
  2361. end;
  2362.  
  2363. table.insert(self.Connected,ft)
  2364. return ft;
  2365. end
  2366. t.connect = t.Connect
  2367. t.Wait = function()
  2368. local guid = GUID:new(25)
  2369. local waitingId = guid:Get()
  2370. t.Waited[waitingId]=false
  2371. repeat swait() until t.Waited[waitingId]==true
  2372. t.Waited[waitingId]=nil;
  2373. guid:Trash()
  2374. end
  2375. t.wait = t.Wait
  2376. return t
  2377. end
  2378. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2379. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2380. local Run = {RenderStepped=fakeEvent()}
  2381.  
  2382. function CoAS:BindAction(name,fun,touch,...)
  2383. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  2384. end
  2385. function CoAS:UnbindAction(name)
  2386. CoAS.Actions[name] = nil
  2387. end
  2388. local function te(self,ev,...)
  2389. local t = self[ev]
  2390. if t and t._fakeEvent and t.Connected then
  2391. for i,v in next, t.Connected do
  2392. if(v.Func and not v.Disconnected)then
  2393. v.Func(...)
  2394. else
  2395. t.Connected[i]=nil
  2396. end
  2397. end
  2398. end
  2399. end
  2400. m.TrigEvent = te
  2401. UsIS.TrigEvent = te
  2402. Run.TrigEvent = te
  2403. Event.OnServerEvent:Connect(function(plr,io)
  2404. if plr~=Player then return end
  2405. --[[table.foreach(io,print)
  2406. print'---']]
  2407. if io.Mouse then
  2408. m.Target = io.Target
  2409. m.Hit = io.Hit
  2410. elseif io.KeyEvent then
  2411. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  2412. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  2413. if io.UserInputState == Enum.UserInputState.Begin then
  2414. m:TrigEvent("Button1Down")
  2415. else
  2416. m:TrigEvent("Button1Up")
  2417. end
  2418. end
  2419. if(not io.KeyEvent and not io.Mouse)then
  2420.  
  2421. for n,t in pairs(CoAS.Actions) do
  2422. for _,k in pairs(t.Keys) do
  2423. if k==io.KeyCode then
  2424. t.Function(t.Name,io.UserInputState,io)
  2425. end
  2426. end
  2427. end
  2428. if io.UserInputState == Enum.UserInputState.Begin then
  2429. UsIS:TrigEvent("InputBegan",io,false)
  2430. else
  2431. UsIS:TrigEvent("InputEnded",io,false)
  2432. end
  2433. end
  2434. end)
  2435.  
  2436. Func.OnServerInvoke = function(plr,inst,play)
  2437. if plr~=Player then return end
  2438. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  2439. loudnesses[inst]=play
  2440. end
  2441. end
  2442.  
  2443. function GetClientProperty(inst,prop)
  2444. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  2445. return loudnesses[inst]
  2446. elseif(prop == 'PlaybackLoudness')then
  2447. return Func:InvokeClient(Player,'RegSound',inst)
  2448. end
  2449. return Func:InvokeClient(Player,inst,prop)
  2450. end
  2451. local oldGame = game;
  2452. function GetFakePlayer()
  2453. local oldPlayer = Player;
  2454. local fakePlayer = newproxy(true)
  2455. getmetatable(fakePlayer).__index = function(s,i)
  2456. if(i == 'GetMouse')then
  2457. return function() return m; end
  2458. end
  2459. return Player[i]
  2460. end
  2461. getmetatable(fakePlayer).__newindex = function(s,i,v)
  2462. Player[i]=v
  2463. end
  2464. getmetatable(fakePlayer).__call=function(self,...)
  2465. if(self == fakePlayer)then self = Player end
  2466. local wh = {...}
  2467. local name = table.remove(wh,1)
  2468. for i,v in next, wh do
  2469. wh[i]=v
  2470. end
  2471. if(name == 'GetMouse')then
  2472. return m;
  2473. end
  2474. return self(name,unpack(wh))
  2475. end
  2476. getmetatable(fakePlayer).__namecall=function(self,...)
  2477. if(self == fakePlayer)then self = Player end
  2478. local tuple={...}
  2479. local name = table.remove(tuple,#tuple)
  2480.  
  2481. if(name == 'GetMouse')then
  2482. return m;
  2483. else
  2484. return self[name](self,unpack(tuple))
  2485. end
  2486. end
  2487.  
  2488. return fakePlayer
  2489. end
  2490. local oll = LoadLibrary;
  2491. function LoadLibrary(libtard)
  2492. local libtarddestroyed=oll(libtard)
  2493. if(libtard=='RbxUtility')then
  2494. local library={Create=function(obj)
  2495. local inst = Instance.new(obj)
  2496. return function(props)
  2497. for prop,valu in next, props do
  2498. inst[prop]=valu
  2499. end
  2500. return inst
  2501. end
  2502. end}
  2503. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  2504.  
  2505. return library
  2506. else
  2507. return libtarddestroyed
  2508. end
  2509. end
  2510. fakePlayer = GetFakePlayer()
  2511. local function GetService(s,i)
  2512. local service = s:GetService(i)
  2513. if(i == 'Players')then
  2514. local oldService = service;
  2515. local fakeService = newproxy(true)
  2516. getmetatable(fakeService).__index = function(s,i)
  2517. if(s == fakeService)then s=oldService end
  2518. if(i == 'LocalPlayer' or i == 'localPlayer')then
  2519. return fakePlayer
  2520. elseif(i == 'oPlayer')then
  2521. return oPlayer
  2522. else
  2523. return s[i]
  2524. end
  2525. end
  2526. getmetatable(fakeService).__newindex = function(s,i,v)
  2527. if(s == fakeService)then s=oldService end
  2528. s[i]=v
  2529. end
  2530. getmetatable(fakeService).__call=function(self,...)
  2531. if(self == fakeService)then self = oldService end
  2532. local wh = {...}
  2533. local name = table.remove(wh,1)
  2534. for i,v in next, wh do
  2535. wh[i]=v
  2536. end
  2537. return self(name,unpack(wh))
  2538. end
  2539. getmetatable(fakeService).__namecall=function(self,...)
  2540. if(self == fakeService)then self = oldService end
  2541. local tuple={...}
  2542. local name = table.remove(tuple,#tuple)
  2543.  
  2544. return self[name](self,unpack(tuple))
  2545. end
  2546. getmetatable(fakeService).__metatable = 'gay'
  2547. return fakeService
  2548. elseif(i == 'RunService')then
  2549. local oldService = service;
  2550. local fakeService = newproxy(true)
  2551. getmetatable(fakeService).__index = function(s,i)
  2552. if(s == fakeService)then s=oldService end
  2553. return Run[i] or s[i]
  2554. end
  2555. getmetatable(fakeService).__newindex = function(s,i,v)
  2556. if(s == fakeService)then s=oldService end
  2557. s[i]=v
  2558. end
  2559. getmetatable(fakeService).__call=function(self,...)
  2560. if(self == fakeService)then self = oldService end
  2561. local wh = {...}
  2562. local name = table.remove(wh,1)
  2563. for i,v in next, wh do
  2564. wh[i]=v
  2565. end
  2566. return self(name,unpack(wh))
  2567. end
  2568. getmetatable(fakeService).__namecall=function(self,...)
  2569. if(self == fakeService)then self = oldService end
  2570. local tuple={...}
  2571. local name = table.remove(tuple,#tuple)
  2572.  
  2573. return self[name](self,unpack(tuple))
  2574. end
  2575. getmetatable(fakeService).__metatable = 'gay'
  2576. return fakeService
  2577. elseif(i == 'UserInputService')then
  2578. return UsIS
  2579. elseif(i == 'ContextActionService')then
  2580. return CoAS;
  2581. else
  2582. return service
  2583. end
  2584. end
  2585.  
  2586. local new = Instance.new;
  2587. Instance = {}
  2588. Instance.new = function(inst,obje)
  2589. local lp = GetService(oldGame,'Players').localPlayer
  2590. local instance = new(inst)
  2591. if(inst=='ObjectValue')then
  2592. local fake = newproxy(true)
  2593. getmetatable(fake).__index=function(self,index)
  2594. if(self==fake)then self=instance end
  2595. return self[index]
  2596. end
  2597. getmetatable(fake).__newindex=function(self,index,value)
  2598. if(self==fake)then self=instance end
  2599. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  2600. self[index]=oPlayer
  2601. else
  2602. self[index]=value
  2603. end
  2604. end
  2605. getmetatable(fake).__call=function(self,...)
  2606. if(self == fake)then self = instance end
  2607. local wh = {...}
  2608. local name = table.remove(wh,1)
  2609. for i,v in next, wh do
  2610. if(v == fake)then v = instance end
  2611. wh[i]=v
  2612. end
  2613. return self(name,unpack(wh))
  2614. end
  2615. getmetatable(fake). __namecall=function(self,...)
  2616. if(self == fake)then self = instance end
  2617. local tuple={...}
  2618. local name = table.remove(tuple,#tuple)
  2619. return self[name](self,unpack(tuple))
  2620. end
  2621. return fake
  2622. else
  2623. instance.Parent = obje
  2624. return instance;
  2625. end
  2626.  
  2627. end
  2628. local serviceFunctions={
  2629. service=true,
  2630. GetService=true,
  2631. }
  2632. local fakeGame = newproxy(true)
  2633. getmetatable(fakeGame).__index = function(s,i)
  2634. if(s == fakeGame)then s=oldGame end
  2635. local serv = GetService(oldGame,i)
  2636. if serviceFunctions[i] then
  2637. return GetService
  2638. elseif(serv)then
  2639. return serv
  2640. else
  2641. return s[i]
  2642. end
  2643. end
  2644. getmetatable(fakeGame).__newindex = function(s,i,v)
  2645. if(s == fakeGame)then s=oldGame end
  2646. s[i]=v
  2647. end
  2648. getmetatable(fakeGame).__call=function(self,...)
  2649. if(self == fakeGame)then self = oldGame end
  2650. local wh = {...}
  2651. local name = table.remove(wh,1)
  2652. for i,v in next, wh do
  2653. if(v == fakeGame)then v = oldGame end
  2654. wh[i]=v
  2655. end
  2656. if serviceFunctions[name] then
  2657. return GetService(self,unpack(wh))
  2658. else
  2659. return self(name,unpack(wh))
  2660. end
  2661. end
  2662. getmetatable(fakeGame). __namecall=function(self,...)
  2663. if(self == fakeGame)then self = oldGame end
  2664. local tuple={...}
  2665. local name = table.remove(tuple,#tuple)
  2666.  
  2667. local funcToCall=self[name]
  2668.  
  2669. if serviceFunctions[name] then
  2670. return GetService(self,unpack(tuple))
  2671. else
  2672. return self[name](self,unpack(tuple))
  2673. end
  2674. end
  2675. getmetatable(fakeGame).__metatable = 'gay'
  2676.  
  2677. coroutine.wrap(function()
  2678. while true do
  2679. Run:TrigEvent('RenderStepped')
  2680. swait()
  2681. end
  2682. end)()
  2683. game=fakeGame
  2684. UserInputService,ContextActionService = UsIS,CoAS
  2685. end
  2686. wait(1)
  2687. wait(0.016666666666667)
  2688. script.Name = "Chaos"
  2689. local Player = game.Players.LocalPlayer
  2690. repeat
  2691. wait()
  2692. until Player
  2693. local Character = Player.Character
  2694. repeat
  2695. wait()
  2696. until Character
  2697. local Effects = {}
  2698. local Humanoid = Character.Humanoid
  2699. local mouse = Player:GetMouse()
  2700. local m = Instance.new("Model", Character)
  2701. m.Name = "WeaponModel"
  2702. local LeftArm = Character["Left Arm"]
  2703. local RightArm = Character["Right Arm"]
  2704. local LeftLeg = Character["Left Leg"]
  2705. local RightLeg = Character["Right Leg"]
  2706. local Head = Character.Head
  2707. local Torso = Character.Torso
  2708. local cam = game.Workspace.CurrentCamera
  2709. local RootPart = Character.HumanoidRootPart
  2710. local RootJoint = RootPart.RootJoint
  2711. local equipped = false
  2712. local attack = false
  2713. local Anim = "Idle"
  2714. local idle = 0
  2715. local attacktype = 1
  2716. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2717. local velocity = RootPart.Velocity.y
  2718. local sine = 0
  2719. local change = 1
  2720. local grabbed = false
  2721. local cn = CFrame.new
  2722. local mr = math.rad
  2723. local angles = CFrame.Angles
  2724. local ud = UDim2.new
  2725. local c3 = Color3.new
  2726. Humanoid.Animator.Parent = nil
  2727. Character.Animate.Parent = nil
  2728. local newFakeMotor = function(part0, part1, c0, c1)
  2729. local w = Instance.new("Motor", part0)
  2730. w.Part0 = part0
  2731. w.Part1 = part1
  2732. w.C0 = c0
  2733. w.C1 = c1
  2734. return w
  2735. end
  2736. function clerp(a, b, t)
  2737. return a:lerp(b, t)
  2738. end
  2739. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2740. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2741. local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  2742. local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  2743. local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  2744. local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  2745. RootJoint.C1 = CFrame.new(0, 0, 0)
  2746. RootJoint.C0 = CFrame.new(0, 0, 0)
  2747. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  2748. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  2749. local rarmc1 = RW.C1
  2750. local larmc1 = LW.C1
  2751. local rlegc1 = RH.C1
  2752. local llegc1 = LH.C1
  2753. local resetc1 = false
  2754. function PlayAnimationFromTable(table, speed, bool)
  2755. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  2756. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  2757. RW.C0 = clerp(RW.C0, table[3], speed)
  2758. LW.C0 = clerp(LW.C0, table[4], speed)
  2759. RH.C0 = clerp(RH.C0, table[5], speed)
  2760. LH.C0 = clerp(LH.C0, table[6], speed)
  2761. if bool == true and resetc1 == false then
  2762. resetc1 = true
  2763. RootJoint.C1 = RootJoint.C1
  2764. Torso.Neck.C1 = Torso.Neck.C1
  2765. RW.C1 = rarmc1
  2766. LW.C1 = larmc1
  2767. RH.C1 = rlegc1
  2768. LH.C1 = llegc1
  2769. end
  2770. end
  2771. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  2772. ArtificialHB.Name = "Heartbeat"
  2773. Player.PlayerGui:WaitForChild("Heartbeat")
  2774. frame = 0.033333333333333
  2775. tf = 0
  2776. allowframeloss = false
  2777. tossremainder = false
  2778. lastframe = tick()
  2779. Player.PlayerGui.Heartbeat:Fire()
  2780. local gg = false
  2781. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2782. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  2783. gg = true
  2784. end
  2785. if gg == true then
  2786. return
  2787. end
  2788. tf = tf + s
  2789. if frame <= tf then
  2790. if allowframeloss then
  2791. Player.PlayerGui.Heartbeat:Fire()
  2792. lastframe = tick()
  2793. else
  2794. for i = 1, math.floor(tf / frame) do
  2795. Player.PlayerGui.Heartbeat:Fire()
  2796. end
  2797. lastframe = tick()
  2798. end
  2799. if tossremainder then
  2800. tf = 0
  2801. else
  2802. tf = tf - frame * math.floor(tf / frame)
  2803. end
  2804. end
  2805. end)
  2806. function swait(num)
  2807. if num == 0 or num == nil then
  2808. ArtificialHB.Event:wait()
  2809. else
  2810. for i = 0, num do
  2811. ArtificialHB.Event:wait()
  2812. end
  2813. end
  2814. end
  2815. local RbxUtility = LoadLibrary("RbxUtility")
  2816. local Create = RbxUtility.Create
  2817. function RemoveOutlines(part)
  2818. part.TopSurface = 10
  2819. end
  2820. local co1 = 1
  2821. local co2 = 1
  2822. local co3 = 1
  2823. local co4 = 1
  2824. local cooldown1 = 200
  2825. local cooldown2 = 0
  2826. local cooldown3 = 0
  2827. local cooldown4 = 0
  2828. local skillcolorscheme = BrickColor.new("Really black").Color
  2829. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  2830. function makeframe(par, trans, pos, size, color)
  2831. local frame = Instance.new("Frame", par)
  2832. frame.BackgroundTransparency = trans
  2833. frame.BorderSizePixel = 0
  2834. frame.Position = pos
  2835. frame.Size = size
  2836. frame.BackgroundColor3 = color
  2837. return frame
  2838. end
  2839. function makelabel(par, text)
  2840. local label = Instance.new("TextLabel", par)
  2841. label.BackgroundTransparency = 1
  2842. label.Size = UDim2.new(1, 0, 1, 0)
  2843. label.Position = UDim2.new(0, 0, 0, 0)
  2844. label.TextColor3 = Color3.new(255, 255, 255)
  2845. label.TextStrokeTransparency = 0
  2846. label.FontSize = Enum.FontSize.Size32
  2847. label.Font = Enum.Font.SourceSansLight
  2848. label.BorderSizePixel = 0
  2849. label.TextScaled = true
  2850. label.Text = text
  2851. end
  2852. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2853. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2854. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2855. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2856. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2857. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2858. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2859. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2860. text1 = Instance.new("TextLabel", framesk1)
  2861. text1.BackgroundTransparency = 1
  2862. text1.Size = UDim2.new(1, 0, 1, 0)
  2863. text1.Position = UDim2.new(0, 0, 0, 0)
  2864. text1.TextColor3 = Color3.new(255, 255, 255)
  2865. text1.TextStrokeTransparency = 0
  2866. text1.FontSize = Enum.FontSize.Size18
  2867. text1.Font = Enum.Font.SourceSansLight
  2868. text1.BorderSizePixel = 0
  2869. text1.TextScaled = true
  2870. text1.Text = [[
  2871. [Z]
  2872. N/A]]
  2873. text2 = Instance.new("TextLabel", framesk2)
  2874. text2.BackgroundTransparency = 1
  2875. text2.Size = UDim2.new(1, 0, 1, 0)
  2876. text2.Position = UDim2.new(0, 0, 0, 0)
  2877. text2.TextColor3 = Color3.new(255, 255, 255)
  2878. text2.TextStrokeTransparency = 0
  2879. text2.FontSize = Enum.FontSize.Size18
  2880. text2.Font = Enum.Font.SourceSansLight
  2881. text2.BorderSizePixel = 0
  2882. text2.TextScaled = true
  2883. text2.Text = [[
  2884. [X]
  2885. Reload]]
  2886. text3 = Instance.new("TextLabel", framesk3)
  2887. text3.BackgroundTransparency = 1
  2888. text3.Size = UDim2.new(1, 0, 1, 0)
  2889. text3.Position = UDim2.new(0, 0, 0, 0)
  2890. text3.TextColor3 = Color3.new(255, 255, 255)
  2891. text3.TextStrokeTransparency = 0
  2892. text3.FontSize = Enum.FontSize.Size18
  2893. text3.Font = Enum.Font.SourceSansLight
  2894. text3.BorderSizePixel = 0
  2895. text3.TextScaled = false
  2896. text3.Text = [[
  2897. [C]
  2898. Nuclear strike]]
  2899. text4 = Instance.new("TextLabel", framesk4)
  2900. text4.BackgroundTransparency = 1
  2901. text4.Size = UDim2.new(1, 0, 1, 0)
  2902. text4.Position = UDim2.new(0, 0, 0, 0)
  2903. text4.TextColor3 = Color3.new(255, 255, 255)
  2904. text4.TextStrokeTransparency = 0
  2905. text4.FontSize = Enum.FontSize.Size18
  2906. text4.Font = Enum.Font.SourceSansLight
  2907. text4.BorderSizePixel = 0
  2908. text4.TextScaled = true
  2909. text4.Text = [[
  2910. [V]
  2911. Nuclear rain]]
  2912. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2913. local Part = Create("Part")({
  2914. Parent = Parent,
  2915. Reflectance = Reflectance,
  2916. Transparency = Transparency,
  2917. CanCollide = false,
  2918. Locked = true,
  2919. BrickColor = BrickColor.new(tostring(BColor)),
  2920. Name = Name,
  2921. Size = Size,
  2922. Material = Material
  2923. })
  2924. RemoveOutlines(Part)
  2925. return Part
  2926. end
  2927. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2928. local Msh = Create(Mesh)({
  2929. Parent = Part,
  2930. Offset = OffSet,
  2931. Scale = Scale
  2932. })
  2933. if Mesh == "SpecialMesh" then
  2934. Msh.MeshType = MeshType
  2935. Msh.MeshId = MeshId
  2936. end
  2937. return Msh
  2938. end
  2939. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2940. local Weld = Create("Weld")({
  2941. Parent = Parent,
  2942. Part0 = Part0,
  2943. Part1 = Part1,
  2944. C0 = C0,
  2945. C1 = C1
  2946. })
  2947. return Weld
  2948. end
  2949. CFuncs = {
  2950. Part = {
  2951. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2952. local Part = Create("Part")({
  2953. Parent = Parent,
  2954. Reflectance = Reflectance,
  2955. Transparency = Transparency,
  2956. CanCollide = false,
  2957. Locked = true,
  2958. BrickColor = BrickColor.new(tostring(BColor)),
  2959. Name = Name,
  2960. Size = Size,
  2961. Material = Material
  2962. })
  2963. RemoveOutlines(Part)
  2964. return Part
  2965. end
  2966. },
  2967. Mesh = {
  2968. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2969. local Msh = Create(Mesh)({
  2970. Parent = Part,
  2971. Offset = OffSet,
  2972. Scale = Scale
  2973. })
  2974. if Mesh == "SpecialMesh" then
  2975. Msh.MeshType = MeshType
  2976. Msh.MeshId = MeshId
  2977. end
  2978. return Msh
  2979. end
  2980. },
  2981. Mesh = {
  2982. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2983. local Msh = Create(Mesh)({
  2984. Parent = Part,
  2985. Offset = OffSet,
  2986. Scale = Scale
  2987. })
  2988. if Mesh == "SpecialMesh" then
  2989. Msh.MeshType = MeshType
  2990. Msh.MeshId = MeshId
  2991. end
  2992. return Msh
  2993. end
  2994. },
  2995. Weld = {
  2996. Create = function(Parent, Part0, Part1, C0, C1)
  2997. local Weld = Create("Weld")({
  2998. Parent = Parent,
  2999. Part0 = Part0,
  3000. Part1 = Part1,
  3001. C0 = C0,
  3002. C1 = C1
  3003. })
  3004. return Weld
  3005. end
  3006. },
  3007. Sound = {
  3008. Create = function(id, par, vol, pit)
  3009. coroutine.resume(coroutine.create(function()
  3010. local S = Create("Sound")({
  3011. Volume = vol,
  3012. Pitch = pit or 1,
  3013. SoundId = id,
  3014. Parent = par or workspace
  3015. })
  3016. wait()
  3017. S:play()
  3018. game:GetService("Debris"):AddItem(S, 6)
  3019. end))
  3020. end
  3021. },
  3022. ParticleEmitter = {
  3023. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3024. local fp = Create("ParticleEmitter")({
  3025. Parent = Parent,
  3026. Color = ColorSequence.new(Color1, Color2),
  3027. LightEmission = LightEmission,
  3028. Size = Size,
  3029. Texture = Texture,
  3030. Transparency = Transparency,
  3031. ZOffset = ZOffset,
  3032. Acceleration = Accel,
  3033. Drag = Drag,
  3034. LockedToPart = LockedToPart,
  3035. VelocityInheritance = VelocityInheritance,
  3036. EmissionDirection = EmissionDirection,
  3037. Enabled = Enabled,
  3038. Lifetime = LifeTime,
  3039. Rate = Rate,
  3040. Rotation = Rotation,
  3041. RotSpeed = RotSpeed,
  3042. Speed = Speed,
  3043. VelocitySpread = VelocitySpread
  3044. })
  3045. return fp
  3046. end
  3047. }
  3048. }
  3049. Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  3050. 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))
  3051. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3052. FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  3053. 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))
  3054. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3055. Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3056. 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))
  3057. CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3058. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3059. 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))
  3060. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
  3061. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003))
  3062. 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))
  3063. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3064. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976))
  3065. 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))
  3066. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  3067. 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))
  3068. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976))
  3069. 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))
  3070. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976))
  3071. 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))
  3072. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976))
  3073. 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))
  3074. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976))
  3075. 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))
  3076. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976))
  3077. 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))
  3078. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976))
  3079. 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))
  3080. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
  3081. 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))
  3082. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976))
  3083. 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))
  3084. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
  3085. 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))
  3086. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
  3087. 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))
  3088. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006))
  3089. 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))
  3090. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
  3091. 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))
  3092. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976))
  3093. 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))
  3094. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
  3095. 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))
  3096. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3097. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008))
  3098. 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))
  3099. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3100. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976))
  3101. 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))
  3102. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
  3103. 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))
  3104. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976))
  3105. 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))
  3106. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
  3107. 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))
  3108. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3109. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  3110. 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))
  3111. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3112. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  3113. 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))
  3114. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012))
  3115. 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))
  3116. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
  3117. 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))
  3118. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 1.14999998))
  3119. 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))
  3120. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
  3121. 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))
  3122. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976))
  3123. 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))
  3124. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
  3125. 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))
  3126. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
  3127. 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))
  3128. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003))
  3129. 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))
  3130. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998))
  3131. 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))
  3132. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
  3133. 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))
  3134. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  3135. 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))
  3136. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024))
  3137. 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))
  3138. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  3139. 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))
  3140. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998))
  3141. 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))
  3142. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943))
  3143. 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))
  3144. Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Really black", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002))
  3145. 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))
  3146. CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3147. FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Really black", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002))
  3148. 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))
  3149. CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3150. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3151. 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))
  3152. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3153. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119))
  3154. 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))
  3155. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3156. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002))
  3157. 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))
  3158. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3159. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3160. 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))
  3161. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3162. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3163. 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))
  3164. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3165. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3166. 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))
  3167. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3168. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3169. 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))
  3170. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3171. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3172. 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))
  3173. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3174. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3175. 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))
  3176. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3177. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3178. 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))
  3179. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3180. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3181. 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))
  3182. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3183. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3184. 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))
  3185. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3186. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113))
  3187. 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))
  3188. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3189. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3190. 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))
  3191. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3192. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3193. 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))
  3194. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3195. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3196. 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))
  3197. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3198. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3199. 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))
  3200. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3201. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3202. 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))
  3203. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3204. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3205. 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))
  3206. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3207. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3208. 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))
  3209. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3210. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3211. 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))
  3212. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3213. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3214. 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))
  3215. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3216. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3217. 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))
  3218. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3219. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3220. 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))
  3221. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3222. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3223. 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))
  3224. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3225. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3226. 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))
  3227. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3228. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3229. 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))
  3230. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3231. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3232. 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))
  3233. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3234. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3235. 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))
  3236. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3237. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3238. 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))
  3239. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3240. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3241. 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))
  3242. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3243. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3244. 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))
  3245. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3246. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3247. 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))
  3248. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3249. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3250. 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))
  3251. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3252. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3253. 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))
  3254. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3255. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  3256. 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))
  3257. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3258. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3259. 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))
  3260. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3261. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3262. 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))
  3263. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3264. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3265. 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))
  3266. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3267. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3268. 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))
  3269. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3270. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  3271. 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))
  3272. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3273. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3274. 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))
  3275. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3276. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3277. 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))
  3278. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3279. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3280. 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))
  3281. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3282. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3283. 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))
  3284. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3285. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3286. 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))
  3287. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3288. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  3289. 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))
  3290. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3291. ban = Instance.new("Part", m)
  3292. ban.Size = Vector3.new(2, 0.2, 2)
  3293. ban.Transparency = 1
  3294. ban.CanCollide = false
  3295. w0t = Instance.new("Weld", ban)
  3296. w0t.Part0 = ban
  3297. w0t.Part1 = Motor
  3298. w0t.C0 = CFrame.new(0, -5.1, 0)
  3299. hak = Instance.new("Decal", ban)
  3300. hak.Texture = "http://www.roblox.com/asset?id=3173330527"
  3301. hak.Face = "Top"
  3302. coroutine.resume(coroutine.create(function()
  3303. thing = 0
  3304. while wait() do
  3305. thing = thing + 0.25
  3306. w0t.C0 = CFrame.new(0, -5.1, 0) * CFrame.Angles(0, thing / 8, 0)
  3307. end
  3308. end))
  3309. function rayCast(Position, Direction, Range, Ignore)
  3310. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  3311. end
  3312. local function GetNearest(obj, distance)
  3313. local last, lastx = distance + 1, nil
  3314. for i, v in pairs(workspace:GetChildren()) do
  3315. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  3316. local t = v.Torso
  3317. local dist = (t.Position - obj.Position).magnitude
  3318. if distance >= dist and last > dist then
  3319. last = dist
  3320. lastx = v
  3321. end
  3322. end
  3323. end
  3324. return lastx
  3325. end
  3326. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3327. if hit.Parent == nil then
  3328. return
  3329. end
  3330. local h = hit.Parent:FindFirstChild("Humanoid")
  3331. for _, v in pairs(hit.Parent:children()) do
  3332. if v:IsA("Humanoid") then
  3333. h = v
  3334. end
  3335. end
  3336. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3337. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3338. return
  3339. end
  3340. local c = Create("ObjectValue")({
  3341. Name = "creator",
  3342. Value = game:service("Players").LocalPlayer,
  3343. Parent = h
  3344. })
  3345. game:GetService("Debris"):AddItem(c, 0.5)
  3346. if HitSound ~= nil and HitPitch ~= nil then
  3347. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3348. end
  3349. local Damage = math.random(minim, maxim)
  3350. local blocked = false
  3351. local block = hit.Parent:findFirstChild("Block")
  3352. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3353. blocked = true
  3354. block.Value = block.Value - 1
  3355. print(block.Value)
  3356. end
  3357. if blocked == false then
  3358. h.Health = h.Health - Damage
  3359. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3360. else
  3361. h.Health = h.Health - Damage / 2
  3362. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3363. end
  3364. if Type == "Knockdown" then
  3365. local hum = hit.Parent.Humanoid
  3366. hum.PlatformStand = true
  3367. coroutine.resume(coroutine.create(function(HHumanoid)
  3368. swait(1)
  3369. HHumanoid.PlatformStand = false
  3370. end), hum)
  3371. local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
  3372. local bodvol = Create("BodyVelocity")({
  3373. velocity = angle * knockback,
  3374. P = 5000,
  3375. maxForce = Vector3.new(8000, 8000, 8000),
  3376. Parent = hit
  3377. })
  3378. local rl = Create("BodyAngularVelocity")({
  3379. P = 3000,
  3380. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3381. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3382. Parent = hit
  3383. })
  3384. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3385. game:GetService("Debris"):AddItem(rl, 0.5)
  3386. elseif Type == "Normal" then
  3387. local vp = Create("BodyVelocity")({
  3388. P = 500,
  3389. maxForce = Vector3.new(math.huge, 0, math.huge),
  3390. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3391. })
  3392. if knockback > 0 then
  3393. vp.Parent = hit.Parent.Torso
  3394. end
  3395. game:GetService("Debris"):AddItem(vp, 0.5)
  3396. elseif Type == "Up" then
  3397. local bodyVelocity = Create("BodyVelocity")({
  3398. velocity = Vector3.new(0, 20, 0),
  3399. P = 5000,
  3400. maxForce = Vector3.new(8000, 8000, 8000),
  3401. Parent = hit
  3402. })
  3403. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3404. elseif Type == "DarkUp" then
  3405. coroutine.resume(coroutine.create(function()
  3406. for i = 0, 1, 0.1 do
  3407. swait()
  3408. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  3409. end
  3410. end))
  3411. local bodyVelocity = Create("BodyVelocity")({
  3412. velocity = Vector3.new(0, 20, 0),
  3413. P = 5000,
  3414. maxForce = Vector3.new(8000, 8000, 8000),
  3415. Parent = hit
  3416. })
  3417. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3418. elseif Type == "Snare" then
  3419. local bp = Create("BodyPosition")({
  3420. P = 2000,
  3421. D = 100,
  3422. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3423. position = hit.Parent.Torso.Position,
  3424. Parent = hit.Parent.Torso
  3425. })
  3426. game:GetService("Debris"):AddItem(bp, 1)
  3427. elseif Type == "Curse" then
  3428. CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
  3429. for i = 0, 1, 0.025 do
  3430. swait(30)
  3431. SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  3432. hit.Parent.Humanoid:TakeDamage(1)
  3433. end
  3434. elseif Type == "Freeze" then
  3435. local BodPos = Create("BodyPosition")({
  3436. P = 50000,
  3437. D = 1000,
  3438. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3439. position = hit.Parent.Torso.Position,
  3440. Parent = hit.Parent.Torso
  3441. })
  3442. local BodGy = Create("BodyGyro")({
  3443. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3444. P = 20000,
  3445. Parent = hit.Parent.Torso,
  3446. cframe = hit.Parent.Torso.CFrame
  3447. })
  3448. hit.Parent.Torso.Anchored = true
  3449. coroutine.resume(coroutine.create(function(Part)
  3450. swait(1.5)
  3451. Part.Anchored = false
  3452. end), hit.Parent.Torso)
  3453. game:GetService("Debris"):AddItem(BodPos, 6)
  3454. game:GetService("Debris"):AddItem(BodGy, 6)
  3455. end
  3456. local debounce = Create("BoolValue")({
  3457. Name = "DebounceHit",
  3458. Parent = hit.Parent,
  3459. Value = true
  3460. })
  3461. game:GetService("Debris"):AddItem(debounce, Delay)
  3462. c = Instance.new("ObjectValue")
  3463. c.Name = "creator"
  3464. c.Value = Player
  3465. c.Parent = h
  3466. game:GetService("Debris"):AddItem(c, 0.5)
  3467. end
  3468. end
  3469. function ShowDamage(Pos, Text, Time, Color)
  3470. local Rate = 0.033333333333333
  3471. if not Pos then
  3472. local Pos = Vector3.new(0, 0, 0)
  3473. end
  3474. local Text = Text or ""
  3475. local Time = Time or 2
  3476. if not Color then
  3477. local Color = Color3.new(1, 0, 1)
  3478. end
  3479. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3480. EffectPart.Anchored = true
  3481. local BillboardGui = Create("BillboardGui")({
  3482. Size = UDim2.new(3, 0, 3, 0),
  3483. Adornee = EffectPart,
  3484. Parent = EffectPart
  3485. })
  3486. local TextLabel = Create("TextLabel")({
  3487. BackgroundTransparency = 1,
  3488. Size = UDim2.new(1, 0, 1, 0),
  3489. Text = Text,
  3490. TextColor3 = Color,
  3491. TextScaled = true,
  3492. Font = Enum.Font.ArialBold,
  3493. Parent = BillboardGui
  3494. })
  3495. game.Debris:AddItem(EffectPart, Time + 0.1)
  3496. EffectPart.Parent = game:GetService("Workspace")
  3497. delay(0, function()
  3498. local Frames = Time / Rate
  3499. for Frame = 1, Frames do
  3500. wait(Rate)
  3501. local Percent = Frame / Frames
  3502. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3503. TextLabel.TextTransparency = Percent
  3504. end
  3505. if EffectPart and EffectPart.Parent then
  3506. EffectPart:Destroy()
  3507. end
  3508. end)
  3509. end
  3510. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3511. for _, c in pairs(workspace:children()) do
  3512. local hum = c:findFirstChild("Humanoid")
  3513. if hum ~= nil then
  3514. local head = c:findFirstChild("Torso")
  3515. if head ~= nil then
  3516. local targ = head.Position - Part.Position
  3517. local mag = targ.magnitude
  3518. if magni >= mag and c.Name ~= Player.Name then
  3519. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1)
  3520. end
  3521. end
  3522. end
  3523. end
  3524. end
  3525. EffectModel = Instance.new("Model", Character)
  3526. EffectModel.Name = "Effects"
  3527. Effects = {
  3528. Block = {
  3529. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3530. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3531. prt.Anchored = true
  3532. prt.CFrame = cframe
  3533. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3534. game:GetService("Debris"):AddItem(prt, 10)
  3535. if Type == 1 or Type == nil then
  3536. table.insert(Effects, {
  3537. prt,
  3538. "Block1",
  3539. delay,
  3540. x3,
  3541. y3,
  3542. z3,
  3543. msh
  3544. })
  3545. elseif Type == 2 then
  3546. table.insert(Effects, {
  3547. prt,
  3548. "Block2",
  3549. delay,
  3550. x3,
  3551. y3,
  3552. z3,
  3553. msh
  3554. })
  3555. end
  3556. end
  3557. },
  3558. Cylinder = {
  3559. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3560. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  3561. prt.Anchored = true
  3562. prt.CFrame = cframe
  3563. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3564. game:GetService("Debris"):AddItem(prt, 2)
  3565. Effects[#Effects + 1] = {
  3566. prt,
  3567. "Cylinder",
  3568. delay,
  3569. x3,
  3570. y3,
  3571. z3
  3572. }
  3573. end
  3574. },
  3575. Sphere = {
  3576. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3577. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3578. prt.Anchored = true
  3579. prt.CFrame = cframe
  3580. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3581. game:GetService("Debris"):AddItem(prt, 10)
  3582. table.insert(Effects, {
  3583. prt,
  3584. "Cylinder",
  3585. delay,
  3586. x3,
  3587. y3,
  3588. z3,
  3589. msh
  3590. })
  3591. end
  3592. },
  3593. Ring = {
  3594. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3595. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3596. prt.Anchored = true
  3597. prt.CFrame = cframe
  3598. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3599. game:GetService("Debris"):AddItem(prt, 10)
  3600. table.insert(Effects, {
  3601. prt,
  3602. "Cylinder",
  3603. delay,
  3604. x3,
  3605. y3,
  3606. z3,
  3607. msh
  3608. })
  3609. end
  3610. },
  3611. Cloud = {
  3612. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3613. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3614. prt.Anchored = true
  3615. prt.CFrame = cframe
  3616. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3617. game:GetService("Debris"):AddItem(prt, 10)
  3618. table.insert(Effects, {
  3619. prt,
  3620. "Cylinder",
  3621. delay,
  3622. x3,
  3623. y3,
  3624. z3,
  3625. msh
  3626. })
  3627. end
  3628. },
  3629. Wave = {
  3630. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3631. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3632. prt.Anchored = true
  3633. prt.CFrame = cframe
  3634. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3635. game:GetService("Debris"):AddItem(prt, 10)
  3636. table.insert(Effects, {
  3637. prt,
  3638. "Cylinder",
  3639. delay,
  3640. x3,
  3641. y3,
  3642. z3,
  3643. msh
  3644. })
  3645. end
  3646. },
  3647. Break = {
  3648. Create = function(brickcolor, cframe, x1, y1, z1)
  3649. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3650. prt.Anchored = true
  3651. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3652. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3653. local num = math.random(10, 50) / 1000
  3654. game:GetService("Debris"):AddItem(prt, 10)
  3655. table.insert(Effects, {
  3656. prt,
  3657. "Shatter",
  3658. num,
  3659. prt.CFrame,
  3660. math.random() - math.random(),
  3661. 0,
  3662. math.random(50, 100) / 100
  3663. })
  3664. end
  3665. }
  3666. }
  3667. local rev = Instance.new("Sound", Barrel)
  3668. rev.Volume = 1
  3669. rev.Pitch = 1.2
  3670. rev.Looped = false
  3671. rev.SoundId = "rbxassetid://357820124"
  3672. rev.MaxDistance = 1000
  3673. local spim = Instance.new("Sound", Barrel)
  3674. spim.Volume = 1
  3675. spim.Pitch = 1
  3676. spim.Looped = true
  3677. spim.SoundId = "rbxassetid://167882734"
  3678. spim.MaxDistance = 1000
  3679. local aiming = false
  3680. local nu = 0
  3681. function Aim()
  3682. aiming = true
  3683. attack = true
  3684. Humanoid.WalkSpeed = 2
  3685. Humanoid.JumpPower = 0
  3686. for i = 0, 1, 0.1 do
  3687. swait()
  3688. PlayAnimationFromTable({
  3689. 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),
  3690. 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),
  3691. 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),
  3692. 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),
  3693. 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),
  3694. 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)
  3695. }, 0.3, false)
  3696. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  3697. end
  3698. rev:Play()
  3699. while aiming do
  3700. swait()
  3701. if rev.Playing == false and spim.Playing == false then
  3702. spim:Play()
  3703. end
  3704. if nu < 360 then
  3705. nu = nu + 20
  3706. else
  3707. nu = 0
  3708. end
  3709. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3)
  3710. end
  3711. end
  3712. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3713. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3714. prt.Anchored = true
  3715. prt.CFrame = cframe
  3716. prt.Material = "Neon"
  3717. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3718. game:GetService("Debris"):AddItem(prt, 10)
  3719. coroutine.resume(coroutine.create(function(Part, Mesh)
  3720. for i = 0, 1, delay do
  3721. swait()
  3722. Part.Transparency = i
  3723. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  3724. end
  3725. Part.Parent = nil
  3726. end), prt, msh)
  3727. end
  3728. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3729. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3730. prt.Anchored = true
  3731. prt.CFrame = cframe
  3732. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3733. game:GetService("Debris"):AddItem(prt, 10)
  3734. if Type == 1 or Type == nil then
  3735. table.insert(Effects, {
  3736. prt,
  3737. "Block1",
  3738. delay,
  3739. x3,
  3740. y3,
  3741. z3,
  3742. msh
  3743. })
  3744. elseif Type == 2 then
  3745. table.insert(Effects, {
  3746. prt,
  3747. "Block2",
  3748. delay,
  3749. x3,
  3750. y3,
  3751. z3,
  3752. msh
  3753. })
  3754. end
  3755. end
  3756. function shoottraildd(mouse, partt, SpreadAmount)
  3757. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  3758. local MainPos = partt.Position
  3759. local MainPos2 = mouse.Hit.p + SpreadVectors
  3760. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  3761. local speed = 100
  3762. local num = 10
  3763. coroutine.resume(coroutine.create(function()
  3764. repeat
  3765. swait()
  3766. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  3767. local mag = (MainPos - pos).magnitude
  3768. 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)
  3769. MainPos = MainPos + MouseLook.lookVector * speed
  3770. num = num - 1
  3771. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  3772. if hit ~= nil then
  3773. num = 0
  3774. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3775. refpart.Anchored = true
  3776. refpart.CFrame = CFrame.new(pos)
  3777. game:GetService("Debris"):AddItem(refpart, 1)
  3778. end
  3779. if num <= 0 then
  3780. local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  3781. refpart2.Anchored = true
  3782. refpart2.CFrame = CFrame.new(pos)
  3783. game:GetService("Debris"):AddItem(refpart2, 1)
  3784. if hit ~= nil then
  3785. Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  3786. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  3787. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  3788. if hit ~= nil then
  3789. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  3790. d1.Anchored = true
  3791. d1.CFrame = CFrame.new(pos)
  3792. game:GetService("Debris"):AddItem(d1, 5)
  3793. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
  3794. local d2 = d1:Clone()
  3795. d2.Parent = d1
  3796. d2.CFrame = CFrame.new(d1.Position)
  3797. d2.BrickColor = BrickColor.new("Bright yellow")
  3798. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  3799. table.insert(Effects, {
  3800. d1,
  3801. "QuadShot",
  3802. d2,
  3803. d2.Mesh,
  3804. 0
  3805. })
  3806. end
  3807. end
  3808. end
  3809. until num <= 0
  3810. end))
  3811. end
  3812. function IceMortar()
  3813. local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  3814. local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
  3815. icepart1.Anchored = true
  3816. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  3817. icepart1.CFrame = dacf
  3818. local cfinc = 99999
  3819. icepart1.Transparency = 1
  3820. CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
  3821. game:GetService("Debris"):AddItem(icepart1, 1)
  3822. 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
  3823. local TheHit = mouse.Hit.p
  3824. local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
  3825. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  3826. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  3827. local test1, dist1 = mouse.Hit.p, nil
  3828. if target1 ~= nil then
  3829. cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
  3830. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  3831. local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
  3832. d1.Anchored = true
  3833. d1.CFrame = cn(pos2)
  3834. Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  3835. Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03)
  3836. 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)
  3837. Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
  3838. Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
  3839. Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
  3840. Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
  3841. game.Debris:AddItem(d1, 0.5)
  3842. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  3843. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  3844. if hit ~= nil then
  3845. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  3846. d1.Anchored = true
  3847. d1.CFrame = CFrame.new(pos)
  3848. game:GetService("Debris"):AddItem(d1, 30)
  3849. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(500, 5, 500))
  3850. local d2 = d1:Clone()
  3851. d2.Parent = d1
  3852. d2.CFrame = CFrame.new(d1.Position)
  3853. d2.BrickColor = BrickColor.new("Bright yellow")
  3854. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  3855. table.insert(Effects, {
  3856. d1,
  3857. "QuadShot2",
  3858. d2,
  3859. d2.Mesh,
  3860. 0
  3861. })
  3862. end
  3863. end
  3864. end
  3865. function Hee()
  3866. local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  3867. local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
  3868. icepart1.Anchored = true
  3869. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  3870. icepart1.CFrame = dacf
  3871. local cfinc = 99999
  3872. icepart1.Transparency = 1
  3873. CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
  3874. game:GetService("Debris"):AddItem(icepart1, 1)
  3875. 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
  3876. local TheHit = mouse.Hit.p
  3877. local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
  3878. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  3879. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  3880. local test1, dist1 = mouse.Hit.p, nil
  3881. if target1 ~= nil then
  3882. cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
  3883. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  3884. local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
  3885. d1.Anchored = true
  3886. d1.CFrame = cn(pos2)
  3887. MagniDamage(d1, 8, 3, 5, 0, "Normal")
  3888. Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07)
  3889. Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
  3890. game.Debris:AddItem(d1, 0.5)
  3891. end
  3892. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  3893. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  3894. if hit ~= nil then
  3895. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  3896. d1.Anchored = true
  3897. d1.CFrame = CFrame.new(pos)
  3898. game:GetService("Debris"):AddItem(d1, 5)
  3899. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
  3900. local d2 = d1:Clone()
  3901. d2.Parent = d1
  3902. d2.CFrame = CFrame.new(d1.Position)
  3903. d2.BrickColor = BrickColor.new("Bright yellow")
  3904. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  3905. table.insert(Effects, {
  3906. d1,
  3907. "QuadShot",
  3908. d2,
  3909. d2.Mesh,
  3910. 0
  3911. })
  3912. end
  3913. end
  3914. local soe = Instance.new("Sound", Barrel)
  3915. soe.Volume = 1
  3916. soe.Pitch = 1
  3917. soe.Looped = true
  3918. soe.SoundId = "rbxassetid://341294387"
  3919. soe.MaxDistance = 1000
  3920. local shoot = false
  3921. local hot = false
  3922. function fire()
  3923. hot = true
  3924. shoot = true
  3925. while shoot do
  3926. while shoot do
  3927. if shoot == true then
  3928. swait()
  3929. for i = 0, 1, 0.5 do
  3930. swait()
  3931. PlayAnimationFromTable({
  3932. 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),
  3933. 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),
  3934. 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),
  3935. 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),
  3936. 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),
  3937. 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)
  3938. }, 0.3, false)
  3939. end
  3940. if cooldown1 >= 4 then
  3941. soe:Play()
  3942. cooldown1 = cooldown1 - 2
  3943. shoottraildd(mouse, Barrel, 1)
  3944. else
  3945. soe:Stop()
  3946. CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
  3947. end
  3948. end
  3949. end
  3950. soe:Stop()
  3951. CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
  3952. end
  3953. hot = false
  3954. end
  3955. function baka()
  3956. Humanoid.WalkSpeed = 2
  3957. Humanoid.JumpPower = 0
  3958. attack = true
  3959. for i = 0, 1, 0.5 do
  3960. swait()
  3961. PlayAnimationFromTable({
  3962. CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
  3963. 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),
  3964. 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),
  3965. 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),
  3966. 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),
  3967. 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)
  3968. }, 0.4, false)
  3969. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  3970. end
  3971. for i = 0, 1, 0.5 do
  3972. swait()
  3973. PlayAnimationFromTable({
  3974. CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
  3975. 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),
  3976. 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),
  3977. 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),
  3978. 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),
  3979. 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)
  3980. }, 0.4, false)
  3981. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  3982. end
  3983. IceMortar()
  3984. for i = 0, 1, 0.5 do
  3985. swait()
  3986. PlayAnimationFromTable({
  3987. CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786),
  3988. 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),
  3989. 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),
  3990. 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),
  3991. 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),
  3992. 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)
  3993. }, 0.3, false)
  3994. end
  3995. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  3996. Humanoid.WalkSpeed = 14
  3997. Humanoid.JumpPower = 50
  3998. attack = false
  3999. end
  4000. function bulletrain()
  4001. attack = true
  4002. shoot = true
  4003. Humanoid.WalkSpeed = 2
  4004. Humanoid.JumpPower = 0
  4005. for i = 0, 1, 0.5 do
  4006. swait()
  4007. PlayAnimationFromTable({
  4008. 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),
  4009. 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),
  4010. 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),
  4011. 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),
  4012. 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),
  4013. 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)
  4014. }, 0.3, false)
  4015. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  4016. end
  4017. soe:Play()
  4018. for i = 1, 5 do
  4019. for i = 0, 1, 0.5 do
  4020. swait()
  4021. PlayAnimationFromTable({
  4022. 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),
  4023. 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),
  4024. 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),
  4025. 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),
  4026. 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),
  4027. 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)
  4028. }, 0.3, false)
  4029. end
  4030. Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
  4031. coroutine.resume(coroutine.create(function()
  4032. for i = 0, 3 do
  4033. swait()
  4034. Hee()
  4035. end
  4036. end))
  4037. for i = 0, 1, 0.5 do
  4038. swait()
  4039. PlayAnimationFromTable({
  4040. 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),
  4041. 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),
  4042. 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),
  4043. 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),
  4044. 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),
  4045. 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)
  4046. }, 0.3, false)
  4047. end
  4048. end
  4049. Humanoid.WalkSpeed = 16
  4050. Humanoid.JumpPower = 50
  4051. shoot = false
  4052. attack = false
  4053. end
  4054. function reload()
  4055. attack = true
  4056. CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
  4057. Humanoid.WalkSpeed = 0
  4058. Humanoid.JumpPower = 0
  4059. for i = 0, 1, 0.1 do
  4060. swait()
  4061. PlayAnimationFromTable({
  4062. 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),
  4063. 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),
  4064. 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),
  4065. 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),
  4066. 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),
  4067. 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)
  4068. }, 0.3, false)
  4069. end
  4070. for i = 0, 1, 0.3 do
  4071. swait()
  4072. PlayAnimationFromTable({
  4073. 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),
  4074. 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),
  4075. 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),
  4076. 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),
  4077. 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),
  4078. 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)
  4079. }, 0.3, false)
  4080. end
  4081. CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
  4082. for i = 0, 1, 0.3 do
  4083. swait()
  4084. PlayAnimationFromTable({
  4085. 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),
  4086. 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),
  4087. 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),
  4088. 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),
  4089. 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),
  4090. 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)
  4091. }, 0.3, false)
  4092. end
  4093. CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
  4094. for i = 0, 1, 0.1 do
  4095. swait()
  4096. PlayAnimationFromTable({
  4097. 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),
  4098. 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),
  4099. 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),
  4100. 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),
  4101. 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),
  4102. 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)
  4103. }, 0.3, false)
  4104. end
  4105. for i = 0, 1, 0.1 do
  4106. swait()
  4107. PlayAnimationFromTable({
  4108. 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),
  4109. 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),
  4110. 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),
  4111. 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),
  4112. 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),
  4113. 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)
  4114. }, 0.3, false)
  4115. end
  4116. for i = 0, 1, 0.3 do
  4117. swait()
  4118. PlayAnimationFromTable({
  4119. 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),
  4120. 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),
  4121. 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),
  4122. 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),
  4123. 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),
  4124. 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)
  4125. }, 0.3, false)
  4126. end
  4127. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  4128. for i = 0, 1, 0.3 do
  4129. swait()
  4130. PlayAnimationFromTable({
  4131. 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),
  4132. 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),
  4133. 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),
  4134. 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),
  4135. 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),
  4136. 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)
  4137. }, 0.3, false)
  4138. end
  4139. for i = 0, 1, 0.3 do
  4140. swait()
  4141. PlayAnimationFromTable({
  4142. 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),
  4143. 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),
  4144. 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),
  4145. 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),
  4146. 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),
  4147. 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)
  4148. }, 0.3, false)
  4149. end
  4150. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  4151. for i = 0, 1, 0.3 do
  4152. swait()
  4153. PlayAnimationFromTable({
  4154. 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),
  4155. 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),
  4156. 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),
  4157. 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),
  4158. 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),
  4159. 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)
  4160. }, 0.3, false)
  4161. end
  4162. for i = 0, 1, 0.3 do
  4163. swait()
  4164. PlayAnimationFromTable({
  4165. 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),
  4166. 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),
  4167. 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),
  4168. 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),
  4169. 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),
  4170. 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)
  4171. }, 0.3, false)
  4172. end
  4173. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  4174. for i = 0, 1, 0.3 do
  4175. swait()
  4176. PlayAnimationFromTable({
  4177. 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),
  4178. 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),
  4179. 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),
  4180. 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),
  4181. 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),
  4182. 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)
  4183. }, 0.3, false)
  4184. end
  4185. CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
  4186. cooldown1 = 200
  4187. for i = 0, 1, 0.1 do
  4188. swait()
  4189. PlayAnimationFromTable({
  4190. 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),
  4191. 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),
  4192. 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),
  4193. 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),
  4194. 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),
  4195. 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)
  4196. }, 0.3, false)
  4197. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  4198. end
  4199. for i = 0, 1, 0.1 do
  4200. swait()
  4201. PlayAnimationFromTable({
  4202. 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),
  4203. 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),
  4204. 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),
  4205. 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),
  4206. 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),
  4207. 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)
  4208. }, 0.3, false)
  4209. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  4210. end
  4211. for i = 0, 1, 0.1 do
  4212. swait()
  4213. PlayAnimationFromTable({
  4214. 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),
  4215. 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),
  4216. 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),
  4217. 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),
  4218. 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),
  4219. 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)
  4220. }, 0.3, false)
  4221. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  4222. end
  4223. Humanoid.WalkSpeed = 16
  4224. Humanoid.JumpPower = 50
  4225. attack = false
  4226. end
  4227. mouse.Button1Down:connect(function()
  4228. if attack == false and aiming == false then
  4229. Aim()
  4230. end
  4231. end)
  4232. mouse.Button1Up:connect(function()
  4233. if attack == true and aiming == true then
  4234. attack = false
  4235. aiming = false
  4236. Humanoid.WalkSpeed = 14
  4237. Humanoid.JumpPower = 50
  4238. shoot = false
  4239. end
  4240. end)
  4241. mouse.KeyDown:connect(function(k)
  4242. k = k:lower()
  4243. if attack == true and aiming == true and hot == false and k == "z" then
  4244. fire()
  4245. elseif attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then
  4246. cooldown3 = 0
  4247. baka()
  4248. elseif attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then
  4249. cooldown4 = 0
  4250. bulletrain()
  4251. elseif attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then
  4252. cooldown2 = 0
  4253. reload()
  4254. end
  4255. end)
  4256. mouse.KeyUp:connect(function(k)
  4257. k = k:lower()
  4258. if attack == true and aiming == true and hot == true and k == "z" then
  4259. shoot = false
  4260. end
  4261. end)
  4262. function updateskills()
  4263. if aiming == false then
  4264. text1.Text = [[
  4265. [Z]
  4266. N/A]]
  4267. else
  4268. text1.Text = [[
  4269. [Z]
  4270. Fire]]
  4271. end
  4272. if cooldown2 <= co2 then
  4273. cooldown2 = cooldown2 + 0.033333333333333
  4274. end
  4275. if cooldown3 <= co3 then
  4276. cooldown3 = cooldown3 + 0.2
  4277. end
  4278. if cooldown4 <= co4 then
  4279. cooldown4 = cooldown4 + 0.033333333333333
  4280. end
  4281. end
  4282. Humanoid.WalkSpeed = 14
  4283. local Freeze = false
  4284. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  4285. for i, v in pairs(hit:GetChildren()) do
  4286. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  4287. local find = v:FindFirstChild("DebounceHit")
  4288. if not find then
  4289. if v.Parent:findFirstChild("Head") then
  4290. do
  4291. local BillG = Create("BillboardGui")({
  4292. Parent = v.Parent.Head,
  4293. Size = UDim2.new(1, 0, 1, 0),
  4294. Adornee = v.Parent.Head,
  4295. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))
  4296. })
  4297. local TL = Create("TextLabel")({
  4298. Parent = BillG,
  4299. Size = UDim2.new(3, 3, 3, 3),
  4300. BackgroundTransparency = 1,
  4301. Text = tostring(damage) .. "-",
  4302. TextColor3 = Color1.Color,
  4303. TextStrokeColor3 = Color2.Color,
  4304. TextStrokeTransparency = 0,
  4305. TextXAlignment = Enum.TextXAlignment.Center,
  4306. TextYAlignment = Enum.TextYAlignment.Center,
  4307. FontSize = Enum.FontSize.Size18,
  4308. Font = "ArialBold"
  4309. })
  4310. coroutine.resume(coroutine.create(function()
  4311. swait(1)
  4312. for i = 0, 1, 0.1 do
  4313. swait(0.1)
  4314. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
  4315. end
  4316. BillG:Destroy()
  4317. end))
  4318. end
  4319. end
  4320. if Freeze == false then
  4321. v.Health = v.Health - damage
  4322. elseif Freeze == true then
  4323. v.Health = v.Health - damage
  4324. v.Parent.Torso.Anchored = true
  4325. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594574", v.Parent.Torso, 1, 1)
  4326. for i = 1, 6 do
  4327. Effects.Freeze.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, 0.5, 0.5, 0.1, 0.3, 0.1)
  4328. Effects.Break.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, math.random(5, 15), 0.5)
  4329. end
  4330. for i = 1, 10 do
  4331. 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()))
  4332. freezepart.Anchored = true
  4333. 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))
  4334. coroutine.resume(coroutine.create(function(Part)
  4335. swait(80)
  4336. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594737", v.Parent.Torso, 1, 1)
  4337. v.Parent.Torso.Anchored = false
  4338. Part.Anchored = false
  4339. Part.Velocity = Vector3.new(math.random(-20, 20), math.random(20, 30), math.random(-20, 20))
  4340. game:GetService("Debris"):AddItem(Part, 5)
  4341. end), freezepart)
  4342. end
  4343. end
  4344. local bool = Create("BoolValue")({
  4345. Parent = v,
  4346. Name = "DebounceHit"
  4347. })
  4348. if HSound ~= nil and HPitch ~= nil then
  4349. CFuncs.Sound.Create(HSound, v.Parent.Torso, 1, HPitch)
  4350. end
  4351. game:GetService("Debris"):AddItem(bool, cooldown)
  4352. end
  4353. end
  4354. end
  4355. end
  4356. function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
  4357. for _, c in pairs(workspace:children()) do
  4358. local hum = c:findFirstChild("Humanoid")
  4359. if hum ~= nil then
  4360. local head = c:findFirstChild("Torso")
  4361. if head ~= nil then
  4362. local targ = head.Position - Part.Position
  4363. local mag = targ.magnitude
  4364. if magni >= mag and c.Name ~= Player.Name then
  4365. Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HSound, HPitch)
  4366. end
  4367. end
  4368. end
  4369. end
  4370. end
  4371. while true do
  4372. swait()
  4373. updateskills()
  4374. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  4375. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  4376. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  4377. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  4378. if shoot == false then
  4379. soe:Stop()
  4380. end
  4381. if aiming == false then
  4382. spim:Stop()
  4383. end
  4384. if aiming == true then
  4385. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  4386. local direction = aim.lookVector
  4387. local headingA = math.atan2(direction.x, direction.z)
  4388. headingA = math.deg(headingA)
  4389. Humanoid.AutoRotate = false
  4390. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  4391. else
  4392. Humanoid.AutoRotate = true
  4393. end
  4394. for i, v in pairs(Character:GetChildren()) do
  4395. if v:IsA("Part") then
  4396. v.Material = "SmoothPlastic"
  4397. elseif v:IsA("Hat") then
  4398. v:WaitForChild("Handle").Material = "SmoothPlastic"
  4399. end
  4400. end
  4401. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4402. velocity = RootPart.Velocity.y
  4403. sine = sine + change
  4404. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  4405. if equipped == true or equipped == false then
  4406. if 1 < RootPart.Velocity.y and hit == nil then
  4407. Anim = "Jump"
  4408. if attack == false then
  4409. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  4410. 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)
  4411. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  4412. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  4413. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  4414. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4415. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  4416. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4417. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  4418. end
  4419. elseif RootPart.Velocity.y < -1 and hit == nil then
  4420. Anim = "Fall"
  4421. if attack == false then
  4422. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3)
  4423. 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)
  4424. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  4425. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  4426. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  4427. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4428. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  4429. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4430. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  4431. end
  4432. elseif Torsovelocity < 1 and hit ~= nil then
  4433. Anim = "Idle"
  4434. if attack == false then
  4435. change = 1
  4436. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  4437. 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)
  4438. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3)
  4439. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3)
  4440. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4441. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4442. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  4443. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4444. end
  4445. elseif Torsovelocity > 2 and hit ~= nil then
  4446. Anim = "Walk"
  4447. if attack == false then
  4448. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3)
  4449. 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)
  4450. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  4451. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  4452. 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)
  4453. 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)
  4454. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  4455. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4456. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  4457. end
  4458. end
  4459. end
  4460. if 0 < #Effects then
  4461. for e = 1, #Effects do
  4462. if Effects[e] ~= nil then
  4463. local Thing = Effects[e]
  4464. if Thing ~= nil then
  4465. local Part = Thing[1]
  4466. local Mode = Thing[2]
  4467. local Delay = Thing[3]
  4468. local IncX = Thing[4]
  4469. local IncY = Thing[5]
  4470. local IncZ = Thing[6]
  4471. if Thing[1].Transparency <= 1 then
  4472. if Thing[2] == "Block1" then
  4473. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4474. Mesh = Thing[1].Mesh
  4475. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4476. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4477. elseif Thing[2] == "QuadShot" then
  4478. if Thing[5] < 49 then
  4479. Thing[5] = Thing[5] + 1.5
  4480. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  4481. else
  4482. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  4483. refda.Anchored = true
  4484. refda.CFrame = CFrame.new(Thing[1].Position)
  4485. game:GetService("Debris"):AddItem(refda, 5)
  4486. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.5)
  4487. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.8)
  4488. MagnitudeDamage(refda, 40, 0, 0, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
  4489. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 5, 9999, 5, 5, 10, 5, 0.05)
  4490. Effects.Sphere.Create(BrickColor.new("Crimson"), refda.CFrame, 5, 10, 5, 5, 10, 3, 0.06)
  4491. Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 5, 5, 5, 5, 5, 0.06, 1)
  4492. Effects.Wave.Create(BrickColor.new("White"), refda.CFrame, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.06)
  4493. Thing[1].Parent = nil
  4494. table.remove(Effects, e)
  4495. end
  4496. elseif Thing[2] == "QuadShot2" then
  4497. if Thing[5] < 499 then
  4498. Thing[5] = Thing[5] + 1.5
  4499. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  4500. else
  4501. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  4502. refda.Anchored = true
  4503. refda.CFrame = CFrame.new(Thing[1].Position)
  4504. game:GetService("Debris"):AddItem(refda, 5)
  4505. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.5)
  4506. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.8)
  4507. MagnitudeDamage(refda, 40, 0, 0, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
  4508. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 50, 9999, 50, 50, 100, 50, 0.05)
  4509. Effects.Sphere.Create(BrickColor.new("Crimson"), refda.CFrame, 50, 100, 50, 50, 100, 30, 0.06)
  4510. Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 50, 50, 50, 50, 50, 0.06, 1)
  4511. Effects.Wave.Create(BrickColor.new("White"), refda.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.06)
  4512. Thing[1].Parent = nil
  4513. table.remove(Effects, e)
  4514. end
  4515. elseif Thing[2] == "Block2" then
  4516. Thing[1].CFrame = Thing[1].CFrame
  4517. Mesh = Thing[7]
  4518. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4519. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4520. elseif Thing[2] == "Cylinder" then
  4521. Mesh = Thing[1].Mesh
  4522. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4523. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4524. elseif Thing[2] == "Blood" then
  4525. Mesh = Thing[7]
  4526. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  4527. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4528. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4529. elseif Thing[2] == "Elec" then
  4530. Mesh = Thing[1].Mesh
  4531. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4532. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4533. elseif Thing[2] == "Disappear" then
  4534. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4535. elseif Thing[2] == "Shatter" then
  4536. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4537. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4538. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4539. Thing[6] = Thing[6] + Thing[5]
  4540. end
  4541. else
  4542. Part.Parent = nil
  4543. table.remove(Effects, e)
  4544. end
  4545. end
  4546. end
  4547. end
  4548. end
  4549. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement