Advertisement
Kermit1900

dban

Aug 20th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.90 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. script.FakeMouse:Destroy()
  7. do
  8. local GUID = {}
  9. do
  10. GUID.IDs = {};
  11. function GUID:new(len)
  12. local id;
  13. if(not len)then
  14. id = (tostring(function() end))
  15. id = id:gsub("function: ","")
  16. else
  17. local function genID(len)
  18. local newID = ""
  19. for i = 1,len do
  20. newID = newID..string.char(math.random(48,90))
  21. end
  22. return newID
  23. end
  24. repeat id = genID(len) until not GUID.IDs[id]
  25. local oid = id;
  26. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  27. GUID.IDs[oid]=true;
  28. end
  29. return id
  30. end
  31. end
  32.  
  33. local AHB = Instance.new("BindableEvent")
  34.  
  35. local FPS = 30
  36.  
  37. local TimeFrame = 0
  38.  
  39. local LastFrame = tick()
  40. local Frame = 1/FPS
  41.  
  42. game:service'RunService'.Heartbeat:connect(function(s,p)
  43. TimeFrame = TimeFrame + s
  44. if(TimeFrame >= Frame)then
  45. for i = 1,math.floor(TimeFrame/Frame) do
  46. AHB:Fire()
  47. end
  48. LastFrame=tick()
  49. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  50. end
  51. end)
  52.  
  53.  
  54. function swait(dur)
  55. if(dur == 0 or typeof(dur) ~= 'number')then
  56. AHB.Event:wait()
  57. else
  58. for i = 1, dur*FPS do
  59. AHB.Event:wait()
  60. end
  61. end
  62. end
  63.  
  64. local oPlayer = Player
  65. local Player = oPlayer
  66.  
  67. local loudnesses={}
  68. script.Parent = Player.Character
  69. local CoAS = {Actions={}}
  70. local Event = Instance.new("RemoteEvent")
  71. Event.Name = "UserInputEvent"
  72. Event.Parent = Player.Character
  73. local Func = Instance.new("RemoteFunction")
  74. Func.Name = "GetClientProperty"
  75. Func.Parent = Player.Character
  76. local fakeEvent = function()
  77. local t = {_fakeEvent=true,Waited={},Connected={}}
  78. t.Connect = function(self,f)
  79. local ft={}
  80. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  81. ft.Disconnect=ft.disconnect
  82.  
  83. ft.Func=function(...)
  84. for id,_ in next, t.Waited do
  85. t.Waited[id] = true
  86. end
  87. return f(...)
  88. end;
  89.  
  90. table.insert(self.Connected,ft)
  91. return ft;
  92. end
  93. t.connect = t.Connect
  94. t.Wait = function()
  95. local guid = GUID:new(25)
  96. local waitingId = guid:Get()
  97. t.Waited[waitingId]=false
  98. repeat swait() until t.Waited[waitingId]==true
  99. t.Waited[waitingId]=nil;
  100. guid:Trash()
  101. end
  102. t.wait = t.Wait
  103. return t
  104. end
  105. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  106. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  107. local Run = {RenderStepped=fakeEvent()}
  108.  
  109. function CoAS:BindAction(name,fun,touch,...)
  110. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  111. end
  112. function CoAS:UnbindAction(name)
  113. CoAS.Actions[name] = nil
  114. end
  115. local function te(self,ev,...)
  116. local t = self[ev]
  117. if t and t._fakeEvent and t.Connected then
  118. for i,v in next, t.Connected do
  119. if(v.Func and not v.Disconnected)then
  120. v.Func(...)
  121. else
  122. t.Connected[i]=nil
  123. end
  124. end
  125. end
  126. end
  127. m.TrigEvent = te
  128. UsIS.TrigEvent = te
  129. Run.TrigEvent = te
  130. Event.OnServerEvent:Connect(function(plr,io)
  131. if plr~=Player then return end
  132. --[[table.foreach(io,print)
  133. print'---']]
  134. if io.Mouse then
  135. m.Target = io.Target
  136. m.Hit = io.Hit
  137. elseif io.KeyEvent then
  138. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  139. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  140. if io.UserInputState == Enum.UserInputState.Begin then
  141. m:TrigEvent("Button1Down")
  142. else
  143. m:TrigEvent("Button1Up")
  144. end
  145. end
  146. if(not io.KeyEvent and not io.Mouse)then
  147.  
  148. for n,t in pairs(CoAS.Actions) do
  149. for _,k in pairs(t.Keys) do
  150. if k==io.KeyCode then
  151. t.Function(t.Name,io.UserInputState,io)
  152. end
  153. end
  154. end
  155. if io.UserInputState == Enum.UserInputState.Begin then
  156. UsIS:TrigEvent("InputBegan",io,false)
  157. else
  158. UsIS:TrigEvent("InputEnded",io,false)
  159. end
  160. end
  161. end)
  162.  
  163. Func.OnServerInvoke = function(plr,inst,play)
  164. if plr~=Player then return end
  165. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  166. loudnesses[inst]=play
  167. end
  168. end
  169.  
  170. function GetClientProperty(inst,prop)
  171. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  172. return loudnesses[inst]
  173. elseif(prop == 'PlaybackLoudness')then
  174. return Func:InvokeClient(Player,'RegSound',inst)
  175. end
  176. return Func:InvokeClient(Player,inst,prop)
  177. end
  178. local oldGame = game;
  179. function GetFakePlayer()
  180. local oldPlayer = Player;
  181. local fakePlayer = newproxy(true)
  182. getmetatable(fakePlayer).__index = function(s,i)
  183. if(i == 'GetMouse')then
  184. return function() return m; end
  185. end
  186. return Player[i]
  187. end
  188. getmetatable(fakePlayer).__newindex = function(s,i,v)
  189. Player[i]=v
  190. end
  191. getmetatable(fakePlayer).__call=function(self,...)
  192. if(self == fakePlayer)then self = Player end
  193. local wh = {...}
  194. local name = table.remove(wh,1)
  195. for i,v in next, wh do
  196. wh[i]=v
  197. end
  198. if(name == 'GetMouse')then
  199. return m;
  200. end
  201. return self(name,unpack(wh))
  202. end
  203. getmetatable(fakePlayer).__namecall=function(self,...)
  204. if(self == fakePlayer)then self = Player end
  205. local tuple={...}
  206. local name = table.remove(tuple,#tuple)
  207.  
  208. if(name == 'GetMouse')then
  209. return m;
  210. else
  211. return self[name](self,unpack(tuple))
  212. end
  213. end
  214.  
  215. return fakePlayer
  216. end
  217. local oll = LoadLibrary;
  218. function LoadLibrary(libtard)
  219. local libtarddestroyed=oll(libtard)
  220. if(libtard=='RbxUtility')then
  221. local library={Create=function(obj)
  222. local inst = Instance.new(obj)
  223. return function(props)
  224. for prop,valu in next, props do
  225. inst[prop]=valu
  226. end
  227. return inst
  228. end
  229. end}
  230. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  231.  
  232. return library
  233. else
  234. return libtarddestroyed
  235. end
  236. end
  237. fakePlayer = GetFakePlayer()
  238. local function GetService(s,i)
  239. local service = s:GetService(i)
  240. if(i == 'Players')then
  241. local oldService = service;
  242. local fakeService = newproxy(true)
  243. getmetatable(fakeService).__index = function(s,i)
  244. if(s == fakeService)then s=oldService end
  245. if(i == 'LocalPlayer' or i == 'localPlayer')then
  246. return fakePlayer
  247. elseif(i == 'oPlayer')then
  248. return oPlayer
  249. else
  250. return s[i]
  251. end
  252. end
  253. getmetatable(fakeService).__newindex = function(s,i,v)
  254. if(s == fakeService)then s=oldService end
  255. s[i]=v
  256. end
  257. getmetatable(fakeService).__call=function(self,...)
  258. if(self == fakeService)then self = oldService end
  259. local wh = {...}
  260. local name = table.remove(wh,1)
  261. for i,v in next, wh do
  262. wh[i]=v
  263. end
  264. return self(name,unpack(wh))
  265. end
  266. getmetatable(fakeService).__namecall=function(self,...)
  267. if(self == fakeService)then self = oldService end
  268. local tuple={...}
  269. local name = table.remove(tuple,#tuple)
  270.  
  271. return self[name](self,unpack(tuple))
  272. end
  273. getmetatable(fakeService).__metatable = 'gay'
  274. return fakeService
  275. elseif(i == 'RunService')then
  276. local oldService = service;
  277. local fakeService = newproxy(true)
  278. getmetatable(fakeService).__index = function(s,i)
  279. if(s == fakeService)then s=oldService end
  280. return Run[i] or s[i]
  281. end
  282. getmetatable(fakeService).__newindex = function(s,i,v)
  283. if(s == fakeService)then s=oldService end
  284. s[i]=v
  285. end
  286. getmetatable(fakeService).__call=function(self,...)
  287. if(self == fakeService)then self = oldService end
  288. local wh = {...}
  289. local name = table.remove(wh,1)
  290. for i,v in next, wh do
  291. wh[i]=v
  292. end
  293. return self(name,unpack(wh))
  294. end
  295. getmetatable(fakeService).__namecall=function(self,...)
  296. if(self == fakeService)then self = oldService end
  297. local tuple={...}
  298. local name = table.remove(tuple,#tuple)
  299.  
  300. return self[name](self,unpack(tuple))
  301. end
  302. getmetatable(fakeService).__metatable = 'gay'
  303. return fakeService
  304. elseif(i == 'UserInputService')then
  305. return UsIS
  306. elseif(i == 'ContextActionService')then
  307. return CoAS;
  308. else
  309. return service
  310. end
  311. end
  312.  
  313. local new = Instance.new;
  314. Instance = {}
  315. Instance.new = function(inst,obje)
  316. local lp = GetService(oldGame,'Players').localPlayer
  317. local instance = new(inst)
  318. if(inst=='ObjectValue')then
  319. local fake = newproxy(true)
  320. getmetatable(fake).__index=function(self,index)
  321. if(self==fake)then self=instance end
  322. return self[index]
  323. end
  324. getmetatable(fake).__newindex=function(self,index,value)
  325. if(self==fake)then self=instance end
  326. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  327. self[index]=oPlayer
  328. else
  329. self[index]=value
  330. end
  331. end
  332. getmetatable(fake).__call=function(self,...)
  333. if(self == fake)then self = instance end
  334. local wh = {...}
  335. local name = table.remove(wh,1)
  336. for i,v in next, wh do
  337. if(v == fake)then v = instance end
  338. wh[i]=v
  339. end
  340. return self(name,unpack(wh))
  341. end
  342. getmetatable(fake). __namecall=function(self,...)
  343. if(self == fake)then self = instance end
  344. local tuple={...}
  345. local name = table.remove(tuple,#tuple)
  346. return self[name](self,unpack(tuple))
  347. end
  348. return fake
  349. else
  350. instance.Parent = obje
  351. return instance;
  352. end
  353.  
  354. end
  355. local serviceFunctions={
  356. service=true,
  357. GetService=true,
  358. }
  359. local fakeGame = newproxy(true)
  360. getmetatable(fakeGame).__index = function(s,i)
  361. if(s == fakeGame)then s=oldGame end
  362. local serv = GetService(oldGame,i)
  363. if serviceFunctions[i] then
  364. return GetService
  365. elseif(serv)then
  366. return serv
  367. else
  368. return s[i]
  369. end
  370. end
  371. getmetatable(fakeGame).__newindex = function(s,i,v)
  372. if(s == fakeGame)then s=oldGame end
  373. s[i]=v
  374. end
  375. getmetatable(fakeGame).__call=function(self,...)
  376. if(self == fakeGame)then self = oldGame end
  377. local wh = {...}
  378. local name = table.remove(wh,1)
  379. for i,v in next, wh do
  380. if(v == fakeGame)then v = oldGame end
  381. wh[i]=v
  382. end
  383. if serviceFunctions[name] then
  384. return GetService(self,unpack(wh))
  385. else
  386. return self(name,unpack(wh))
  387. end
  388. end
  389. getmetatable(fakeGame). __namecall=function(self,...)
  390. if(self == fakeGame)then self = oldGame end
  391. local tuple={...}
  392. local name = table.remove(tuple,#tuple)
  393.  
  394. local funcToCall=self[name]
  395.  
  396. if serviceFunctions[name] then
  397. return GetService(self,unpack(tuple))
  398. else
  399. return self[name](self,unpack(tuple))
  400. end
  401. end
  402. getmetatable(fakeGame).__metatable = 'gay'
  403.  
  404. coroutine.wrap(function()
  405. while true do
  406. Run:TrigEvent('RenderStepped')
  407. swait()
  408. end
  409. end)()
  410. game=fakeGame
  411. UserInputService,ContextActionService = UsIS,CoAS
  412. end
  413. wait(1)
  414. wait(0.016666666666667)
  415. script.Name = "Chaos"
  416. local Player = game.Players.LocalPlayer
  417. repeat
  418. wait()
  419. until Player
  420. local Character = Player.Character
  421. repeat
  422. wait()
  423. until Character
  424. local Effects = {}
  425. local Humanoid = Character.Humanoid
  426. local mouse = Player:GetMouse()
  427. local m = Instance.new("Model", Character)
  428. m.Name = "WeaponModel"
  429. local LeftArm = Character["Left Arm"]
  430. local RightArm = Character["Right Arm"]
  431. local LeftLeg = Character["Left Leg"]
  432. local RightLeg = Character["Right Leg"]
  433. local Head = Character.Head
  434. local Torso = Character.Torso
  435. local cam = game.Workspace.CurrentCamera
  436. local RootPart = Character.HumanoidRootPart
  437. local RootJoint = RootPart.RootJoint
  438. local equipped = false
  439. local attack = false
  440. local Anim = "Idle"
  441. local idle = 0
  442. local attacktype = 1
  443. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  444. local velocity = RootPart.Velocity.y
  445. local sine = 0
  446. local change = 1
  447. local grabbed = false
  448. local cn = CFrame.new
  449. local mr = math.rad
  450. local angles = CFrame.Angles
  451. local ud = UDim2.new
  452. local c3 = Color3.new
  453. Humanoid.Animator.Parent = nil
  454. Character.Animate.Parent = nil
  455. local newFakeMotor = function(part0, part1, c0, c1)
  456. local w = Instance.new("Motor", part0)
  457. w.Part0 = part0
  458. w.Part1 = part1
  459. w.C0 = c0
  460. w.C1 = c1
  461. return w
  462. end
  463. function clerp(a, b, t)
  464. return a:lerp(b, t)
  465. end
  466. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  467. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  468. local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  469. local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  470. local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  471. local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  472. RootJoint.C1 = CFrame.new(0, 0, 0)
  473. RootJoint.C0 = CFrame.new(0, 0, 0)
  474. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  475. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  476. local rarmc1 = RW.C1
  477. local larmc1 = LW.C1
  478. local rlegc1 = RH.C1
  479. local llegc1 = LH.C1
  480. local resetc1 = false
  481. function PlayAnimationFromTable(table, speed, bool)
  482. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  483. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  484. RW.C0 = clerp(RW.C0, table[3], speed)
  485. LW.C0 = clerp(LW.C0, table[4], speed)
  486. RH.C0 = clerp(RH.C0, table[5], speed)
  487. LH.C0 = clerp(LH.C0, table[6], speed)
  488. if bool == true and resetc1 == false then
  489. resetc1 = true
  490. RootJoint.C1 = RootJoint.C1
  491. Torso.Neck.C1 = Torso.Neck.C1
  492. RW.C1 = rarmc1
  493. LW.C1 = larmc1
  494. RH.C1 = rlegc1
  495. LH.C1 = llegc1
  496. end
  497. end
  498. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  499. ArtificialHB.Name = "Heartbeat"
  500. Player.PlayerGui:WaitForChild("Heartbeat")
  501. frame = 0.033333333333333
  502. tf = 0
  503. allowframeloss = false
  504. tossremainder = false
  505. lastframe = tick()
  506. Player.PlayerGui.Heartbeat:Fire()
  507. local gg = false
  508. game:GetService("RunService").Heartbeat:connect(function(s, p)
  509. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  510. gg = true
  511. end
  512. if gg == true then
  513. return
  514. end
  515. tf = tf + s
  516. if frame <= tf then
  517. if allowframeloss then
  518. Player.PlayerGui.Heartbeat:Fire()
  519. lastframe = tick()
  520. else
  521. for i = 1, math.floor(tf / frame) do
  522. Player.PlayerGui.Heartbeat:Fire()
  523. end
  524. lastframe = tick()
  525. end
  526. if tossremainder then
  527. tf = 0
  528. else
  529. tf = tf - frame * math.floor(tf / frame)
  530. end
  531. end
  532. end)
  533. function swait(num)
  534. if num == 0 or num == nil then
  535. ArtificialHB.Event:wait()
  536. else
  537. for i = 0, num do
  538. ArtificialHB.Event:wait()
  539. end
  540. end
  541. end
  542. local RbxUtility = LoadLibrary("RbxUtility")
  543. local Create = RbxUtility.Create
  544. function RemoveOutlines(part)
  545. part.TopSurface = 10
  546. end
  547. local co1 = 1
  548. local co2 = 1
  549. local co3 = 1
  550. local co4 = 1
  551. local cooldown1 = 200
  552. local cooldown2 = 0
  553. local cooldown3 = 0
  554. local cooldown4 = 0
  555. local skillcolorscheme = BrickColor.new("Really black").Color
  556. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  557. function makeframe(par, trans, pos, size, color)
  558. local frame = Instance.new("Frame", par)
  559. frame.BackgroundTransparency = trans
  560. frame.BorderSizePixel = 0
  561. frame.Position = pos
  562. frame.Size = size
  563. frame.BackgroundColor3 = color
  564. return frame
  565. end
  566. function makelabel(par, text)
  567. local label = Instance.new("TextLabel", par)
  568. label.BackgroundTransparency = 1
  569. label.Size = UDim2.new(1, 0, 1, 0)
  570. label.Position = UDim2.new(0, 0, 0, 0)
  571. label.TextColor3 = Color3.new(255, 255, 255)
  572. label.TextStrokeTransparency = 0
  573. label.FontSize = Enum.FontSize.Size32
  574. label.Font = Enum.Font.SourceSansLight
  575. label.BorderSizePixel = 0
  576. label.TextScaled = true
  577. label.Text = text
  578. end
  579. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  580. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  581. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  582. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  583. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  584. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  585. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  586. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  587. text1 = Instance.new("TextLabel", framesk1)
  588. text1.BackgroundTransparency = 1
  589. text1.Size = UDim2.new(1, 0, 1, 0)
  590. text1.Position = UDim2.new(0, 0, 0, 0)
  591. text1.TextColor3 = Color3.new(255, 255, 255)
  592. text1.TextStrokeTransparency = 0
  593. text1.FontSize = Enum.FontSize.Size18
  594. text1.Font = Enum.Font.SourceSansLight
  595. text1.BorderSizePixel = 0
  596. text1.TextScaled = true
  597. text1.Text = [[
  598. [Z]
  599. N/A]]
  600. text2 = Instance.new("TextLabel", framesk2)
  601. text2.BackgroundTransparency = 1
  602. text2.Size = UDim2.new(1, 0, 1, 0)
  603. text2.Position = UDim2.new(0, 0, 0, 0)
  604. text2.TextColor3 = Color3.new(255, 255, 255)
  605. text2.TextStrokeTransparency = 0
  606. text2.FontSize = Enum.FontSize.Size18
  607. text2.Font = Enum.Font.SourceSansLight
  608. text2.BorderSizePixel = 0
  609. text2.TextScaled = true
  610. text2.Text = [[
  611. [X]
  612. Reload]]
  613. text3 = Instance.new("TextLabel", framesk3)
  614. text3.BackgroundTransparency = 1
  615. text3.Size = UDim2.new(1, 0, 1, 0)
  616. text3.Position = UDim2.new(0, 0, 0, 0)
  617. text3.TextColor3 = Color3.new(255, 255, 255)
  618. text3.TextStrokeTransparency = 0
  619. text3.FontSize = Enum.FontSize.Size18
  620. text3.Font = Enum.Font.SourceSansLight
  621. text3.BorderSizePixel = 0
  622. text3.TextScaled = false
  623. text3.Text = [[
  624. [C]
  625. Nuclear strike]]
  626. text4 = Instance.new("TextLabel", framesk4)
  627. text4.BackgroundTransparency = 1
  628. text4.Size = UDim2.new(1, 0, 1, 0)
  629. text4.Position = UDim2.new(0, 0, 0, 0)
  630. text4.TextColor3 = Color3.new(255, 255, 255)
  631. text4.TextStrokeTransparency = 0
  632. text4.FontSize = Enum.FontSize.Size18
  633. text4.Font = Enum.Font.SourceSansLight
  634. text4.BorderSizePixel = 0
  635. text4.TextScaled = true
  636. text4.Text = [[
  637. [V]
  638. Nuclear rain]]
  639. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  640. local Part = Create("Part")({
  641. Parent = Parent,
  642. Reflectance = Reflectance,
  643. Transparency = Transparency,
  644. CanCollide = false,
  645. Locked = true,
  646. BrickColor = BrickColor.new(tostring(BColor)),
  647. Name = Name,
  648. Size = Size,
  649. Material = Material
  650. })
  651. RemoveOutlines(Part)
  652. return Part
  653. end
  654. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  655. local Msh = Create(Mesh)({
  656. Parent = Part,
  657. Offset = OffSet,
  658. Scale = Scale
  659. })
  660. if Mesh == "SpecialMesh" then
  661. Msh.MeshType = MeshType
  662. Msh.MeshId = MeshId
  663. end
  664. return Msh
  665. end
  666. function CreateWeld(Parent, Part0, Part1, C0, C1)
  667. local Weld = Create("Weld")({
  668. Parent = Parent,
  669. Part0 = Part0,
  670. Part1 = Part1,
  671. C0 = C0,
  672. C1 = C1
  673. })
  674. return Weld
  675. end
  676. CFuncs = {
  677. Part = {
  678. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  679. local Part = Create("Part")({
  680. Parent = Parent,
  681. Reflectance = Reflectance,
  682. Transparency = Transparency,
  683. CanCollide = false,
  684. Locked = true,
  685. BrickColor = BrickColor.new(tostring(BColor)),
  686. Name = Name,
  687. Size = Size,
  688. Material = Material
  689. })
  690. RemoveOutlines(Part)
  691. return Part
  692. end
  693. },
  694. Mesh = {
  695. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  696. local Msh = Create(Mesh)({
  697. Parent = Part,
  698. Offset = OffSet,
  699. Scale = Scale
  700. })
  701. if Mesh == "SpecialMesh" then
  702. Msh.MeshType = MeshType
  703. Msh.MeshId = MeshId
  704. end
  705. return Msh
  706. end
  707. },
  708. Mesh = {
  709. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  710. local Msh = Create(Mesh)({
  711. Parent = Part,
  712. Offset = OffSet,
  713. Scale = Scale
  714. })
  715. if Mesh == "SpecialMesh" then
  716. Msh.MeshType = MeshType
  717. Msh.MeshId = MeshId
  718. end
  719. return Msh
  720. end
  721. },
  722. Weld = {
  723. Create = function(Parent, Part0, Part1, C0, C1)
  724. local Weld = Create("Weld")({
  725. Parent = Parent,
  726. Part0 = Part0,
  727. Part1 = Part1,
  728. C0 = C0,
  729. C1 = C1
  730. })
  731. return Weld
  732. end
  733. },
  734. Sound = {
  735. Create = function(id, par, vol, pit)
  736. coroutine.resume(coroutine.create(function()
  737. local S = Create("Sound")({
  738. Volume = vol,
  739. Pitch = pit or 1,
  740. SoundId = id,
  741. Parent = par or workspace
  742. })
  743. wait()
  744. S:play()
  745. game:GetService("Debris"):AddItem(S, 6)
  746. end))
  747. end
  748. },
  749. ParticleEmitter = {
  750. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  751. local fp = Create("ParticleEmitter")({
  752. Parent = Parent,
  753. Color = ColorSequence.new(Color1, Color2),
  754. LightEmission = LightEmission,
  755. Size = Size,
  756. Texture = Texture,
  757. Transparency = Transparency,
  758. ZOffset = ZOffset,
  759. Acceleration = Accel,
  760. Drag = Drag,
  761. LockedToPart = LockedToPart,
  762. VelocityInheritance = VelocityInheritance,
  763. EmissionDirection = EmissionDirection,
  764. Enabled = Enabled,
  765. Lifetime = LifeTime,
  766. Rate = Rate,
  767. Rotation = Rotation,
  768. RotSpeed = RotSpeed,
  769. Speed = Speed,
  770. VelocitySpread = VelocitySpread
  771. })
  772. return fp
  773. end
  774. }
  775. }
  776. Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  777. 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))
  778. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  779. FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  780. 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))
  781. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  782. Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  783. 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))
  784. CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  785. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  786. 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))
  787. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
  788. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003))
  789. 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))
  790. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  791. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976))
  792. 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))
  793. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  794. 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))
  795. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976))
  796. 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))
  797. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976))
  798. 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))
  799. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976))
  800. 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))
  801. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976))
  802. 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))
  803. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976))
  804. 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))
  805. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976))
  806. 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))
  807. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
  808. 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))
  809. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976))
  810. 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))
  811. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
  812. 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))
  813. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
  814. 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))
  815. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006))
  816. 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))
  817. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
  818. 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))
  819. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976))
  820. 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))
  821. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
  822. 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))
  823. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  824. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008))
  825. 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))
  826. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  827. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976))
  828. 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))
  829. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
  830. 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))
  831. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976))
  832. 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))
  833. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
  834. 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))
  835. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  836. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.920000136, 0.200000003))
  837. 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))
  838. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  839. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  840. 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))
  841. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012))
  842. 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))
  843. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
  844. 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))
  845. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 1.14999998))
  846. 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))
  847. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
  848. 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))
  849. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976))
  850. 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))
  851. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
  852. 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))
  853. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
  854. 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))
  855. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003))
  856. 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))
  857. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998))
  858. 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))
  859. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
  860. 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))
  861. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  862. 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))
  863. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024))
  864. 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))
  865. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
  866. 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))
  867. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998))
  868. 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))
  869. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943))
  870. 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))
  871. Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Really black", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002))
  872. 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))
  873. CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  874. FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Really black", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002))
  875. 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))
  876. CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  877. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  878. 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))
  879. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  880. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119))
  881. 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))
  882. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  883. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002))
  884. 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))
  885. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  886. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  887. 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))
  888. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  889. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  890. 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))
  891. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  892. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  893. 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))
  894. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  895. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  896. 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))
  897. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  898. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  899. 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))
  900. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  901. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  902. 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))
  903. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  904. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  905. 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))
  906. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  907. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  908. 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))
  909. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  910. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  911. 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))
  912. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  913. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113))
  914. 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))
  915. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  916. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  917. 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))
  918. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  919. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  920. 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))
  921. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  922. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  923. 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))
  924. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  925. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  926. 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))
  927. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  928. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  929. 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))
  930. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  931. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  932. 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))
  933. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  934. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  935. 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))
  936. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  937. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  938. 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))
  939. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  940. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  941. 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))
  942. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  943. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  944. 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))
  945. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  946. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  947. 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))
  948. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  949. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  950. 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))
  951. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  952. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  953. 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))
  954. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  955. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  956. 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))
  957. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  958. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  959. 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))
  960. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  961. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  962. 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))
  963. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  964. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  965. 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))
  966. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  967. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  968. 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))
  969. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  970. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  971. 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))
  972. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  973. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  974. 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))
  975. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  976. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  977. 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))
  978. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  979. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  980. 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))
  981. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  982. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
  983. 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))
  984. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  985. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  986. 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))
  987. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  988. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  989. 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))
  990. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  991. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  992. 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))
  993. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  994. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  995. 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))
  996. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  997. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
  998. 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))
  999. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1000. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1001. 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))
  1002. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1003. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1004. 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))
  1005. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1006. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1007. 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))
  1008. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1009. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1010. 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))
  1011. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1012. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1013. 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))
  1014. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1015. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
  1016. 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))
  1017. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1018. ban = Instance.new("Part", m)
  1019. ban.Size = Vector3.new(2, 0.2, 2)
  1020. ban.Transparency = 1
  1021. ban.CanCollide = false
  1022. w0t = Instance.new("Weld", ban)
  1023. w0t.Part0 = ban
  1024. w0t.Part1 = Motor
  1025. w0t.C0 = CFrame.new(0, -5.1, 0)
  1026. hak = Instance.new("Decal", ban)
  1027. hak.Texture = "http://www.roblox.com/asset?id=3173330527"
  1028. hak.Face = "Top"
  1029. coroutine.resume(coroutine.create(function()
  1030. thing = 0
  1031. while wait() do
  1032. thing = thing + 0.25
  1033. w0t.C0 = CFrame.new(0, -5.1, 0) * CFrame.Angles(0, thing / 8, 0)
  1034. end
  1035. end))
  1036. function rayCast(Position, Direction, Range, Ignore)
  1037. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1038. end
  1039. local function GetNearest(obj, distance)
  1040. local last, lastx = distance + 1, nil
  1041. for i, v in pairs(workspace:GetChildren()) do
  1042. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  1043. local t = v.Torso
  1044. local dist = (t.Position - obj.Position).magnitude
  1045. if distance >= dist and last > dist then
  1046. last = dist
  1047. lastx = v
  1048. end
  1049. end
  1050. end
  1051. return lastx
  1052. end
  1053. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1054. if hit.Parent == nil then
  1055. return
  1056. end
  1057. local h = hit.Parent:FindFirstChild("Humanoid")
  1058. for _, v in pairs(hit.Parent:children()) do
  1059. if v:IsA("Humanoid") then
  1060. h = v
  1061. end
  1062. end
  1063. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1064. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1065. return
  1066. end
  1067. local c = Create("ObjectValue")({
  1068. Name = "creator",
  1069. Value = game:service("Players").LocalPlayer,
  1070. Parent = h
  1071. })
  1072. game:GetService("Debris"):AddItem(c, 0.5)
  1073. if HitSound ~= nil and HitPitch ~= nil then
  1074. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1075. end
  1076. local Damage = math.random(minim, maxim)
  1077. local blocked = false
  1078. local block = hit.Parent:findFirstChild("Block")
  1079. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1080. blocked = true
  1081. block.Value = block.Value - 1
  1082. print(block.Value)
  1083. end
  1084. if blocked == false then
  1085. h.Health = h.Health - Damage
  1086. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1087. else
  1088. h.Health = h.Health - Damage / 2
  1089. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1090. end
  1091. if Type == "Knockdown" then
  1092. local hum = hit.Parent.Humanoid
  1093. hum.PlatformStand = true
  1094. coroutine.resume(coroutine.create(function(HHumanoid)
  1095. swait(1)
  1096. HHumanoid.PlatformStand = false
  1097. end), hum)
  1098. local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
  1099. local bodvol = Create("BodyVelocity")({
  1100. velocity = angle * knockback,
  1101. P = 5000,
  1102. maxForce = Vector3.new(8000, 8000, 8000),
  1103. Parent = hit
  1104. })
  1105. local rl = Create("BodyAngularVelocity")({
  1106. P = 3000,
  1107. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1108. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1109. Parent = hit
  1110. })
  1111. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1112. game:GetService("Debris"):AddItem(rl, 0.5)
  1113. elseif Type == "Normal" then
  1114. local vp = Create("BodyVelocity")({
  1115. P = 500,
  1116. maxForce = Vector3.new(math.huge, 0, math.huge),
  1117. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1118. })
  1119. if knockback > 0 then
  1120. vp.Parent = hit.Parent.Torso
  1121. end
  1122. game:GetService("Debris"):AddItem(vp, 0.5)
  1123. elseif Type == "Up" then
  1124. local bodyVelocity = Create("BodyVelocity")({
  1125. velocity = Vector3.new(0, 20, 0),
  1126. P = 5000,
  1127. maxForce = Vector3.new(8000, 8000, 8000),
  1128. Parent = hit
  1129. })
  1130. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1131. elseif Type == "DarkUp" then
  1132. coroutine.resume(coroutine.create(function()
  1133. for i = 0, 1, 0.1 do
  1134. swait()
  1135. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  1136. end
  1137. end))
  1138. local bodyVelocity = Create("BodyVelocity")({
  1139. velocity = Vector3.new(0, 20, 0),
  1140. P = 5000,
  1141. maxForce = Vector3.new(8000, 8000, 8000),
  1142. Parent = hit
  1143. })
  1144. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1145. elseif Type == "Snare" then
  1146. local bp = Create("BodyPosition")({
  1147. P = 2000,
  1148. D = 100,
  1149. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1150. position = hit.Parent.Torso.Position,
  1151. Parent = hit.Parent.Torso
  1152. })
  1153. game:GetService("Debris"):AddItem(bp, 1)
  1154. elseif Type == "Curse" then
  1155. CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
  1156. for i = 0, 1, 0.025 do
  1157. swait(30)
  1158. SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  1159. hit.Parent.Humanoid:TakeDamage(1)
  1160. end
  1161. elseif Type == "Freeze" then
  1162. local BodPos = Create("BodyPosition")({
  1163. P = 50000,
  1164. D = 1000,
  1165. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1166. position = hit.Parent.Torso.Position,
  1167. Parent = hit.Parent.Torso
  1168. })
  1169. local BodGy = Create("BodyGyro")({
  1170. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1171. P = 20000,
  1172. Parent = hit.Parent.Torso,
  1173. cframe = hit.Parent.Torso.CFrame
  1174. })
  1175. hit.Parent.Torso.Anchored = true
  1176. coroutine.resume(coroutine.create(function(Part)
  1177. swait(1.5)
  1178. Part.Anchored = false
  1179. end), hit.Parent.Torso)
  1180. game:GetService("Debris"):AddItem(BodPos, 6)
  1181. game:GetService("Debris"):AddItem(BodGy, 6)
  1182. end
  1183. local debounce = Create("BoolValue")({
  1184. Name = "DebounceHit",
  1185. Parent = hit.Parent,
  1186. Value = true
  1187. })
  1188. game:GetService("Debris"):AddItem(debounce, Delay)
  1189. c = Instance.new("ObjectValue")
  1190. c.Name = "creator"
  1191. c.Value = Player
  1192. c.Parent = h
  1193. game:GetService("Debris"):AddItem(c, 0.5)
  1194. end
  1195. end
  1196. function ShowDamage(Pos, Text, Time, Color)
  1197. local Rate = 0.033333333333333
  1198. if not Pos then
  1199. local Pos = Vector3.new(0, 0, 0)
  1200. end
  1201. local Text = Text or ""
  1202. local Time = Time or 2
  1203. if not Color then
  1204. local Color = Color3.new(1, 0, 1)
  1205. end
  1206. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1207. EffectPart.Anchored = true
  1208. local BillboardGui = Create("BillboardGui")({
  1209. Size = UDim2.new(3, 0, 3, 0),
  1210. Adornee = EffectPart,
  1211. Parent = EffectPart
  1212. })
  1213. local TextLabel = Create("TextLabel")({
  1214. BackgroundTransparency = 1,
  1215. Size = UDim2.new(1, 0, 1, 0),
  1216. Text = Text,
  1217. TextColor3 = Color,
  1218. TextScaled = true,
  1219. Font = Enum.Font.ArialBold,
  1220. Parent = BillboardGui
  1221. })
  1222. game.Debris:AddItem(EffectPart, Time + 0.1)
  1223. EffectPart.Parent = game:GetService("Workspace")
  1224. delay(0, function()
  1225. local Frames = Time / Rate
  1226. for Frame = 1, Frames do
  1227. wait(Rate)
  1228. local Percent = Frame / Frames
  1229. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1230. TextLabel.TextTransparency = Percent
  1231. end
  1232. if EffectPart and EffectPart.Parent then
  1233. EffectPart:Destroy()
  1234. end
  1235. end)
  1236. end
  1237. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1238. for _, c in pairs(workspace:children()) do
  1239. local hum = c:findFirstChild("Humanoid")
  1240. if hum ~= nil then
  1241. local head = c:findFirstChild("Torso")
  1242. if head ~= nil then
  1243. local targ = head.Position - Part.Position
  1244. local mag = targ.magnitude
  1245. if magni >= mag and c.Name ~= Player.Name then
  1246. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1)
  1247. end
  1248. end
  1249. end
  1250. end
  1251. end
  1252. EffectModel = Instance.new("Model", Character)
  1253. EffectModel.Name = "Effects"
  1254. Effects = {
  1255. Block = {
  1256. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1257. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1258. prt.Anchored = true
  1259. prt.CFrame = cframe
  1260. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1261. game:GetService("Debris"):AddItem(prt, 10)
  1262. if Type == 1 or Type == nil then
  1263. table.insert(Effects, {
  1264. prt,
  1265. "Block1",
  1266. delay,
  1267. x3,
  1268. y3,
  1269. z3,
  1270. msh
  1271. })
  1272. elseif Type == 2 then
  1273. table.insert(Effects, {
  1274. prt,
  1275. "Block2",
  1276. delay,
  1277. x3,
  1278. y3,
  1279. z3,
  1280. msh
  1281. })
  1282. end
  1283. end
  1284. },
  1285. Cylinder = {
  1286. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1287. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1288. prt.Anchored = true
  1289. prt.CFrame = cframe
  1290. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1291. game:GetService("Debris"):AddItem(prt, 2)
  1292. Effects[#Effects + 1] = {
  1293. prt,
  1294. "Cylinder",
  1295. delay,
  1296. x3,
  1297. y3,
  1298. z3
  1299. }
  1300. end
  1301. },
  1302. Sphere = {
  1303. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1304. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1305. prt.Anchored = true
  1306. prt.CFrame = cframe
  1307. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1308. game:GetService("Debris"):AddItem(prt, 10)
  1309. table.insert(Effects, {
  1310. prt,
  1311. "Cylinder",
  1312. delay,
  1313. x3,
  1314. y3,
  1315. z3,
  1316. msh
  1317. })
  1318. end
  1319. },
  1320. Ring = {
  1321. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1322. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1323. prt.Anchored = true
  1324. prt.CFrame = cframe
  1325. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1326. game:GetService("Debris"):AddItem(prt, 10)
  1327. table.insert(Effects, {
  1328. prt,
  1329. "Cylinder",
  1330. delay,
  1331. x3,
  1332. y3,
  1333. z3,
  1334. msh
  1335. })
  1336. end
  1337. },
  1338. Cloud = {
  1339. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1340. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1341. prt.Anchored = true
  1342. prt.CFrame = cframe
  1343. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1344. game:GetService("Debris"):AddItem(prt, 10)
  1345. table.insert(Effects, {
  1346. prt,
  1347. "Cylinder",
  1348. delay,
  1349. x3,
  1350. y3,
  1351. z3,
  1352. msh
  1353. })
  1354. end
  1355. },
  1356. Wave = {
  1357. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1358. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1359. prt.Anchored = true
  1360. prt.CFrame = cframe
  1361. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1362. game:GetService("Debris"):AddItem(prt, 10)
  1363. table.insert(Effects, {
  1364. prt,
  1365. "Cylinder",
  1366. delay,
  1367. x3,
  1368. y3,
  1369. z3,
  1370. msh
  1371. })
  1372. end
  1373. },
  1374. Break = {
  1375. Create = function(brickcolor, cframe, x1, y1, z1)
  1376. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1377. prt.Anchored = true
  1378. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1379. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1380. local num = math.random(10, 50) / 1000
  1381. game:GetService("Debris"):AddItem(prt, 10)
  1382. table.insert(Effects, {
  1383. prt,
  1384. "Shatter",
  1385. num,
  1386. prt.CFrame,
  1387. math.random() - math.random(),
  1388. 0,
  1389. math.random(50, 100) / 100
  1390. })
  1391. end
  1392. }
  1393. }
  1394. local rev = Instance.new("Sound", Barrel)
  1395. rev.Volume = 1
  1396. rev.Pitch = 1.2
  1397. rev.Looped = false
  1398. rev.SoundId = "rbxassetid://357820124"
  1399. rev.MaxDistance = 1000
  1400. local spim = Instance.new("Sound", Barrel)
  1401. spim.Volume = 1
  1402. spim.Pitch = 1
  1403. spim.Looped = true
  1404. spim.SoundId = "rbxassetid://167882734"
  1405. spim.MaxDistance = 1000
  1406. local aiming = false
  1407. local nu = 0
  1408. function Aim()
  1409. aiming = true
  1410. attack = true
  1411. Humanoid.WalkSpeed = 2
  1412. Humanoid.JumpPower = 0
  1413. for i = 0, 1, 0.1 do
  1414. swait()
  1415. PlayAnimationFromTable({
  1416. 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),
  1417. 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),
  1418. 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),
  1419. 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),
  1420. 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),
  1421. 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)
  1422. }, 0.3, false)
  1423. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1424. end
  1425. rev:Play()
  1426. while aiming do
  1427. swait()
  1428. if rev.Playing == false and spim.Playing == false then
  1429. spim:Play()
  1430. end
  1431. if nu < 360 then
  1432. nu = nu + 20
  1433. else
  1434. nu = 0
  1435. end
  1436. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3)
  1437. end
  1438. end
  1439. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1440. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1441. prt.Anchored = true
  1442. prt.CFrame = cframe
  1443. prt.Material = "Neon"
  1444. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1445. game:GetService("Debris"):AddItem(prt, 10)
  1446. coroutine.resume(coroutine.create(function(Part, Mesh)
  1447. for i = 0, 1, delay do
  1448. swait()
  1449. Part.Transparency = i
  1450. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1451. end
  1452. Part.Parent = nil
  1453. end), prt, msh)
  1454. end
  1455. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1456. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1457. prt.Anchored = true
  1458. prt.CFrame = cframe
  1459. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1460. game:GetService("Debris"):AddItem(prt, 10)
  1461. if Type == 1 or Type == nil then
  1462. table.insert(Effects, {
  1463. prt,
  1464. "Block1",
  1465. delay,
  1466. x3,
  1467. y3,
  1468. z3,
  1469. msh
  1470. })
  1471. elseif Type == 2 then
  1472. table.insert(Effects, {
  1473. prt,
  1474. "Block2",
  1475. delay,
  1476. x3,
  1477. y3,
  1478. z3,
  1479. msh
  1480. })
  1481. end
  1482. end
  1483. function shoottraildd(mouse, partt, SpreadAmount)
  1484. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1485. local MainPos = partt.Position
  1486. local MainPos2 = mouse.Hit.p + SpreadVectors
  1487. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1488. local speed = 100
  1489. local num = 10
  1490. coroutine.resume(coroutine.create(function()
  1491. repeat
  1492. swait()
  1493. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1494. local mag = (MainPos - pos).magnitude
  1495. 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)
  1496. MainPos = MainPos + MouseLook.lookVector * speed
  1497. num = num - 1
  1498. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1499. if hit ~= nil then
  1500. num = 0
  1501. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1502. refpart.Anchored = true
  1503. refpart.CFrame = CFrame.new(pos)
  1504. game:GetService("Debris"):AddItem(refpart, 1)
  1505. end
  1506. if num <= 0 then
  1507. local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1508. refpart2.Anchored = true
  1509. refpart2.CFrame = CFrame.new(pos)
  1510. game:GetService("Debris"):AddItem(refpart2, 1)
  1511. if hit ~= nil then
  1512. Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  1513. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1514. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1515. if hit ~= nil then
  1516. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  1517. d1.Anchored = true
  1518. d1.CFrame = CFrame.new(pos)
  1519. game:GetService("Debris"):AddItem(d1, 5)
  1520. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
  1521. local d2 = d1:Clone()
  1522. d2.Parent = d1
  1523. d2.CFrame = CFrame.new(d1.Position)
  1524. d2.BrickColor = BrickColor.new("Bright yellow")
  1525. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1526. table.insert(Effects, {
  1527. d1,
  1528. "QuadShot",
  1529. d2,
  1530. d2.Mesh,
  1531. 0
  1532. })
  1533. end
  1534. end
  1535. end
  1536. until num <= 0
  1537. end))
  1538. end
  1539. function IceMortar()
  1540. local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1541. local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
  1542. icepart1.Anchored = true
  1543. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  1544. icepart1.CFrame = dacf
  1545. local cfinc = 99999
  1546. icepart1.Transparency = 1
  1547. CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
  1548. game:GetService("Debris"):AddItem(icepart1, 1)
  1549. 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
  1550. local TheHit = mouse.Hit.p
  1551. local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
  1552. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1553. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1554. local test1, dist1 = mouse.Hit.p, nil
  1555. if target1 ~= nil then
  1556. cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
  1557. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1558. local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
  1559. d1.Anchored = true
  1560. d1.CFrame = cn(pos2)
  1561. Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
  1562. Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03)
  1563. 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)
  1564. Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
  1565. Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
  1566. Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
  1567. Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
  1568. game.Debris:AddItem(d1, 0.5)
  1569. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1570. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1571. if hit ~= nil then
  1572. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  1573. d1.Anchored = true
  1574. d1.CFrame = CFrame.new(pos)
  1575. game:GetService("Debris"):AddItem(d1, 30)
  1576. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(500, 5, 500))
  1577. local d2 = d1:Clone()
  1578. d2.Parent = d1
  1579. d2.CFrame = CFrame.new(d1.Position)
  1580. d2.BrickColor = BrickColor.new("Bright yellow")
  1581. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1582. table.insert(Effects, {
  1583. d1,
  1584. "QuadShot2",
  1585. d2,
  1586. d2.Mesh,
  1587. 0
  1588. })
  1589. end
  1590. end
  1591. end
  1592. function Hee()
  1593. local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1594. local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
  1595. icepart1.Anchored = true
  1596. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  1597. icepart1.CFrame = dacf
  1598. local cfinc = 99999
  1599. icepart1.Transparency = 1
  1600. CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
  1601. game:GetService("Debris"):AddItem(icepart1, 1)
  1602. 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
  1603. local TheHit = mouse.Hit.p
  1604. local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
  1605. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1606. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1607. local test1, dist1 = mouse.Hit.p, nil
  1608. if target1 ~= nil then
  1609. cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
  1610. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1611. local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
  1612. d1.Anchored = true
  1613. d1.CFrame = cn(pos2)
  1614. MagniDamage(d1, 8, 3, 5, 0, "Normal")
  1615. Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07)
  1616. Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
  1617. game.Debris:AddItem(d1, 0.5)
  1618. end
  1619. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1620. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1621. if hit ~= nil then
  1622. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
  1623. d1.Anchored = true
  1624. d1.CFrame = CFrame.new(pos)
  1625. game:GetService("Debris"):AddItem(d1, 5)
  1626. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
  1627. local d2 = d1:Clone()
  1628. d2.Parent = d1
  1629. d2.CFrame = CFrame.new(d1.Position)
  1630. d2.BrickColor = BrickColor.new("Bright yellow")
  1631. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1632. table.insert(Effects, {
  1633. d1,
  1634. "QuadShot",
  1635. d2,
  1636. d2.Mesh,
  1637. 0
  1638. })
  1639. end
  1640. end
  1641. local soe = Instance.new("Sound", Barrel)
  1642. soe.Volume = 1
  1643. soe.Pitch = 1
  1644. soe.Looped = true
  1645. soe.SoundId = "rbxassetid://341294387"
  1646. soe.MaxDistance = 1000
  1647. local shoot = false
  1648. local hot = false
  1649. function fire()
  1650. hot = true
  1651. shoot = true
  1652. while shoot do
  1653. while shoot do
  1654. if shoot == true then
  1655. swait()
  1656. for i = 0, 1, 0.5 do
  1657. swait()
  1658. PlayAnimationFromTable({
  1659. 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),
  1660. 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),
  1661. 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),
  1662. 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),
  1663. 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),
  1664. 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)
  1665. }, 0.3, false)
  1666. end
  1667. if cooldown1 >= 4 then
  1668. soe:Play()
  1669. cooldown1 = cooldown1 - 2
  1670. shoottraildd(mouse, Barrel, 1)
  1671. else
  1672. soe:Stop()
  1673. CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
  1674. end
  1675. end
  1676. end
  1677. soe:Stop()
  1678. CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
  1679. end
  1680. hot = false
  1681. end
  1682. function baka()
  1683. Humanoid.WalkSpeed = 2
  1684. Humanoid.JumpPower = 0
  1685. attack = true
  1686. for i = 0, 1, 0.5 do
  1687. swait()
  1688. PlayAnimationFromTable({
  1689. CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
  1690. 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),
  1691. 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),
  1692. 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),
  1693. 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),
  1694. 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)
  1695. }, 0.4, false)
  1696. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1697. end
  1698. for i = 0, 1, 0.5 do
  1699. swait()
  1700. PlayAnimationFromTable({
  1701. CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
  1702. 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),
  1703. 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),
  1704. 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),
  1705. 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),
  1706. 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)
  1707. }, 0.4, false)
  1708. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1709. end
  1710. IceMortar()
  1711. for i = 0, 1, 0.5 do
  1712. swait()
  1713. PlayAnimationFromTable({
  1714. CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786),
  1715. 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),
  1716. 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),
  1717. 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),
  1718. 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),
  1719. 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)
  1720. }, 0.3, false)
  1721. end
  1722. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1723. Humanoid.WalkSpeed = 14
  1724. Humanoid.JumpPower = 50
  1725. attack = false
  1726. end
  1727. function bulletrain()
  1728. attack = true
  1729. shoot = true
  1730. Humanoid.WalkSpeed = 2
  1731. Humanoid.JumpPower = 0
  1732. for i = 0, 1, 0.5 do
  1733. swait()
  1734. PlayAnimationFromTable({
  1735. 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),
  1736. 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),
  1737. 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),
  1738. 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),
  1739. 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),
  1740. 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)
  1741. }, 0.3, false)
  1742. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  1743. end
  1744. soe:Play()
  1745. for i = 1, 5 do
  1746. for i = 0, 1, 0.5 do
  1747. swait()
  1748. PlayAnimationFromTable({
  1749. 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),
  1750. 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),
  1751. 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),
  1752. 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),
  1753. 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),
  1754. 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)
  1755. }, 0.3, false)
  1756. end
  1757. Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
  1758. coroutine.resume(coroutine.create(function()
  1759. for i = 0, 3 do
  1760. swait()
  1761. Hee()
  1762. end
  1763. end))
  1764. for i = 0, 1, 0.5 do
  1765. swait()
  1766. PlayAnimationFromTable({
  1767. 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),
  1768. 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),
  1769. 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),
  1770. 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),
  1771. 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),
  1772. 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)
  1773. }, 0.3, false)
  1774. end
  1775. end
  1776. Humanoid.WalkSpeed = 16
  1777. Humanoid.JumpPower = 50
  1778. shoot = false
  1779. attack = false
  1780. end
  1781. function reload()
  1782. attack = true
  1783. CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
  1784. Humanoid.WalkSpeed = 0
  1785. Humanoid.JumpPower = 0
  1786. for i = 0, 1, 0.1 do
  1787. swait()
  1788. PlayAnimationFromTable({
  1789. 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),
  1790. 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),
  1791. 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),
  1792. 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),
  1793. 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),
  1794. 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)
  1795. }, 0.3, false)
  1796. end
  1797. for i = 0, 1, 0.3 do
  1798. swait()
  1799. PlayAnimationFromTable({
  1800. 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),
  1801. 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),
  1802. 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),
  1803. 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),
  1804. 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),
  1805. 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)
  1806. }, 0.3, false)
  1807. end
  1808. CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
  1809. for i = 0, 1, 0.3 do
  1810. swait()
  1811. PlayAnimationFromTable({
  1812. 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),
  1813. 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),
  1814. 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),
  1815. 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),
  1816. 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),
  1817. 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)
  1818. }, 0.3, false)
  1819. end
  1820. CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
  1821. for i = 0, 1, 0.1 do
  1822. swait()
  1823. PlayAnimationFromTable({
  1824. 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),
  1825. 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),
  1826. 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),
  1827. 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),
  1828. 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),
  1829. 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)
  1830. }, 0.3, false)
  1831. end
  1832. for i = 0, 1, 0.1 do
  1833. swait()
  1834. PlayAnimationFromTable({
  1835. 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),
  1836. 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),
  1837. 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),
  1838. 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),
  1839. 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),
  1840. 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)
  1841. }, 0.3, false)
  1842. end
  1843. for i = 0, 1, 0.3 do
  1844. swait()
  1845. PlayAnimationFromTable({
  1846. 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),
  1847. 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),
  1848. 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),
  1849. 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),
  1850. 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),
  1851. 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)
  1852. }, 0.3, false)
  1853. end
  1854. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  1855. for i = 0, 1, 0.3 do
  1856. swait()
  1857. PlayAnimationFromTable({
  1858. 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),
  1859. 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),
  1860. 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),
  1861. 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),
  1862. 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),
  1863. 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)
  1864. }, 0.3, false)
  1865. end
  1866. for i = 0, 1, 0.3 do
  1867. swait()
  1868. PlayAnimationFromTable({
  1869. 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),
  1870. 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),
  1871. 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),
  1872. 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),
  1873. 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),
  1874. 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)
  1875. }, 0.3, false)
  1876. end
  1877. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  1878. for i = 0, 1, 0.3 do
  1879. swait()
  1880. PlayAnimationFromTable({
  1881. 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),
  1882. 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),
  1883. 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),
  1884. 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),
  1885. 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),
  1886. 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)
  1887. }, 0.3, false)
  1888. end
  1889. for i = 0, 1, 0.3 do
  1890. swait()
  1891. PlayAnimationFromTable({
  1892. 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),
  1893. 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),
  1894. 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),
  1895. 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),
  1896. 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),
  1897. 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)
  1898. }, 0.3, false)
  1899. end
  1900. CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
  1901. for i = 0, 1, 0.3 do
  1902. swait()
  1903. PlayAnimationFromTable({
  1904. 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),
  1905. 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),
  1906. 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),
  1907. 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),
  1908. 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),
  1909. 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)
  1910. }, 0.3, false)
  1911. end
  1912. CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
  1913. cooldown1 = 200
  1914. for i = 0, 1, 0.1 do
  1915. swait()
  1916. PlayAnimationFromTable({
  1917. 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),
  1918. 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),
  1919. 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),
  1920. 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),
  1921. 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),
  1922. 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)
  1923. }, 0.3, false)
  1924. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1925. end
  1926. for i = 0, 1, 0.1 do
  1927. swait()
  1928. PlayAnimationFromTable({
  1929. 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),
  1930. 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),
  1931. 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),
  1932. 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),
  1933. 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),
  1934. 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)
  1935. }, 0.3, false)
  1936. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1937. end
  1938. for i = 0, 1, 0.1 do
  1939. swait()
  1940. PlayAnimationFromTable({
  1941. 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),
  1942. 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),
  1943. 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),
  1944. 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),
  1945. 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),
  1946. 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)
  1947. }, 0.3, false)
  1948. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1949. end
  1950. Humanoid.WalkSpeed = 16
  1951. Humanoid.JumpPower = 50
  1952. attack = false
  1953. end
  1954. mouse.Button1Down:connect(function()
  1955. if attack == false and aiming == false then
  1956. Aim()
  1957. end
  1958. end)
  1959. mouse.Button1Up:connect(function()
  1960. if attack == true and aiming == true then
  1961. attack = false
  1962. aiming = false
  1963. Humanoid.WalkSpeed = 14
  1964. Humanoid.JumpPower = 50
  1965. shoot = false
  1966. end
  1967. end)
  1968. mouse.KeyDown:connect(function(k)
  1969. k = k:lower()
  1970. if attack == true and aiming == true and hot == false and k == "z" then
  1971. fire()
  1972. elseif attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then
  1973. cooldown3 = 0
  1974. baka()
  1975. elseif attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then
  1976. cooldown4 = 0
  1977. bulletrain()
  1978. elseif attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then
  1979. cooldown2 = 0
  1980. reload()
  1981. end
  1982. end)
  1983. mouse.KeyUp:connect(function(k)
  1984. k = k:lower()
  1985. if attack == true and aiming == true and hot == true and k == "z" then
  1986. shoot = false
  1987. end
  1988. end)
  1989. function updateskills()
  1990. if aiming == false then
  1991. text1.Text = [[
  1992. [Z]
  1993. N/A]]
  1994. else
  1995. text1.Text = [[
  1996. [Z]
  1997. Fire]]
  1998. end
  1999. if cooldown2 <= co2 then
  2000. cooldown2 = cooldown2 + 0.033333333333333
  2001. end
  2002. if cooldown3 <= co3 then
  2003. cooldown3 = cooldown3 + 0.2
  2004. end
  2005. if cooldown4 <= co4 then
  2006. cooldown4 = cooldown4 + 0.033333333333333
  2007. end
  2008. end
  2009. Humanoid.WalkSpeed = 14
  2010. local Freeze = false
  2011. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  2012. for i, v in pairs(hit:GetChildren()) do
  2013. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  2014. local find = v:FindFirstChild("DebounceHit")
  2015. if not find then
  2016. if v.Parent:findFirstChild("Head") then
  2017. do
  2018. local BillG = Create("BillboardGui")({
  2019. Parent = v.Parent.Head,
  2020. Size = UDim2.new(1, 0, 1, 0),
  2021. Adornee = v.Parent.Head,
  2022. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))
  2023. })
  2024. local TL = Create("TextLabel")({
  2025. Parent = BillG,
  2026. Size = UDim2.new(3, 3, 3, 3),
  2027. BackgroundTransparency = 1,
  2028. Text = tostring(damage) .. "-",
  2029. TextColor3 = Color1.Color,
  2030. TextStrokeColor3 = Color2.Color,
  2031. TextStrokeTransparency = 0,
  2032. TextXAlignment = Enum.TextXAlignment.Center,
  2033. TextYAlignment = Enum.TextYAlignment.Center,
  2034. FontSize = Enum.FontSize.Size18,
  2035. Font = "ArialBold"
  2036. })
  2037. coroutine.resume(coroutine.create(function()
  2038. swait(1)
  2039. for i = 0, 1, 0.1 do
  2040. swait(0.1)
  2041. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
  2042. end
  2043. BillG:Destroy()
  2044. end))
  2045. end
  2046. end
  2047. if Freeze == false then
  2048. v.Health = v.Health - damage
  2049. elseif Freeze == true then
  2050. v.Health = v.Health - damage
  2051. v.Parent.Torso.Anchored = true
  2052. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594574", v.Parent.Torso, 1, 1)
  2053. for i = 1, 6 do
  2054. Effects.Freeze.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, 0.5, 0.5, 0.1, 0.3, 0.1)
  2055. Effects.Break.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, math.random(5, 15), 0.5)
  2056. end
  2057. for i = 1, 10 do
  2058. 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()))
  2059. freezepart.Anchored = true
  2060. 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))
  2061. coroutine.resume(coroutine.create(function(Part)
  2062. swait(80)
  2063. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594737", v.Parent.Torso, 1, 1)
  2064. v.Parent.Torso.Anchored = false
  2065. Part.Anchored = false
  2066. Part.Velocity = Vector3.new(math.random(-20, 20), math.random(20, 30), math.random(-20, 20))
  2067. game:GetService("Debris"):AddItem(Part, 5)
  2068. end), freezepart)
  2069. end
  2070. end
  2071. local bool = Create("BoolValue")({
  2072. Parent = v,
  2073. Name = "DebounceHit"
  2074. })
  2075. if HSound ~= nil and HPitch ~= nil then
  2076. CFuncs.Sound.Create(HSound, v.Parent.Torso, 1, HPitch)
  2077. end
  2078. game:GetService("Debris"):AddItem(bool, cooldown)
  2079. end
  2080. end
  2081. end
  2082. end
  2083. function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
  2084. for _, c in pairs(workspace:children()) do
  2085. local hum = c:findFirstChild("Humanoid")
  2086. if hum ~= nil then
  2087. local head = c:findFirstChild("Torso")
  2088. if head ~= nil then
  2089. local targ = head.Position - Part.Position
  2090. local mag = targ.magnitude
  2091. if magni >= mag and c.Name ~= Player.Name then
  2092. Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HSound, HPitch)
  2093. end
  2094. end
  2095. end
  2096. end
  2097. end
  2098. while true do
  2099. swait()
  2100. updateskills()
  2101. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2102. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2103. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2104. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2105. if shoot == false then
  2106. soe:Stop()
  2107. end
  2108. if aiming == false then
  2109. spim:Stop()
  2110. end
  2111. if aiming == true then
  2112. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  2113. local direction = aim.lookVector
  2114. local headingA = math.atan2(direction.x, direction.z)
  2115. headingA = math.deg(headingA)
  2116. Humanoid.AutoRotate = false
  2117. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  2118. else
  2119. Humanoid.AutoRotate = true
  2120. end
  2121. for i, v in pairs(Character:GetChildren()) do
  2122. if v:IsA("Part") then
  2123. v.Material = "SmoothPlastic"
  2124. elseif v:IsA("Hat") then
  2125. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2126. end
  2127. end
  2128. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2129. velocity = RootPart.Velocity.y
  2130. sine = sine + change
  2131. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2132. if equipped == true or equipped == false then
  2133. if 1 < RootPart.Velocity.y and hit == nil then
  2134. Anim = "Jump"
  2135. if attack == false then
  2136. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2137. 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)
  2138. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  2139. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2140. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  2141. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2142. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  2143. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2144. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  2145. end
  2146. elseif RootPart.Velocity.y < -1 and hit == nil then
  2147. Anim = "Fall"
  2148. if attack == false then
  2149. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3)
  2150. 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)
  2151. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  2152. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2153. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  2154. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2155. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  2156. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2157. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  2158. end
  2159. elseif Torsovelocity < 1 and hit ~= nil then
  2160. Anim = "Idle"
  2161. if attack == false then
  2162. change = 1
  2163. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  2164. 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)
  2165. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3)
  2166. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3)
  2167. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2168. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2169. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
  2170. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2171. end
  2172. elseif Torsovelocity > 2 and hit ~= nil then
  2173. Anim = "Walk"
  2174. if attack == false then
  2175. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3)
  2176. 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)
  2177. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
  2178. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2179. 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)
  2180. 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)
  2181. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
  2182. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2183. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
  2184. end
  2185. end
  2186. end
  2187. if 0 < #Effects then
  2188. for e = 1, #Effects do
  2189. if Effects[e] ~= nil then
  2190. local Thing = Effects[e]
  2191. if Thing ~= nil then
  2192. local Part = Thing[1]
  2193. local Mode = Thing[2]
  2194. local Delay = Thing[3]
  2195. local IncX = Thing[4]
  2196. local IncY = Thing[5]
  2197. local IncZ = Thing[6]
  2198. if Thing[1].Transparency <= 1 then
  2199. if Thing[2] == "Block1" then
  2200. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2201. Mesh = Thing[1].Mesh
  2202. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2203. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2204. elseif Thing[2] == "QuadShot" then
  2205. if Thing[5] < 49 then
  2206. Thing[5] = Thing[5] + 1.5
  2207. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  2208. else
  2209. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  2210. refda.Anchored = true
  2211. refda.CFrame = CFrame.new(Thing[1].Position)
  2212. game:GetService("Debris"):AddItem(refda, 5)
  2213. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.5)
  2214. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.8)
  2215. MagnitudeDamage(refda, 40, 0, 0, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
  2216. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 5, 9999, 5, 5, 10, 5, 0.05)
  2217. Effects.Sphere.Create(BrickColor.new("Crimson"), refda.CFrame, 5, 10, 5, 5, 10, 3, 0.06)
  2218. Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 5, 5, 5, 5, 5, 0.06, 1)
  2219. Effects.Wave.Create(BrickColor.new("White"), refda.CFrame, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.06)
  2220. Thing[1].Parent = nil
  2221. table.remove(Effects, e)
  2222. end
  2223. elseif Thing[2] == "QuadShot2" then
  2224. if Thing[5] < 499 then
  2225. Thing[5] = Thing[5] + 1.5
  2226. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  2227. else
  2228. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  2229. refda.Anchored = true
  2230. refda.CFrame = CFrame.new(Thing[1].Position)
  2231. game:GetService("Debris"):AddItem(refda, 5)
  2232. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.5)
  2233. CFuncs.Sound.Create("rbxassetid://3382471642", refda, 1, 0.8)
  2234. MagnitudeDamage(refda, 40, 0, 0, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
  2235. Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 50, 9999, 50, 50, 100, 50, 0.05)
  2236. Effects.Sphere.Create(BrickColor.new("Crimson"), refda.CFrame, 50, 100, 50, 50, 100, 30, 0.06)
  2237. Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 50, 50, 50, 50, 50, 0.06, 1)
  2238. Effects.Wave.Create(BrickColor.new("White"), refda.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.06)
  2239. Thing[1].Parent = nil
  2240. table.remove(Effects, e)
  2241. end
  2242. elseif Thing[2] == "Block2" then
  2243. Thing[1].CFrame = Thing[1].CFrame
  2244. Mesh = Thing[7]
  2245. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2246. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2247. elseif Thing[2] == "Cylinder" then
  2248. Mesh = Thing[1].Mesh
  2249. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2250. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2251. elseif Thing[2] == "Blood" then
  2252. Mesh = Thing[7]
  2253. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2254. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2255. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2256. elseif Thing[2] == "Elec" then
  2257. Mesh = Thing[1].Mesh
  2258. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2259. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2260. elseif Thing[2] == "Disappear" then
  2261. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2262. elseif Thing[2] == "Shatter" then
  2263. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2264. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2265. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2266. Thing[6] = Thing[6] + Thing[5]
  2267. end
  2268. else
  2269. Part.Parent = nil
  2270. table.remove(Effects, e)
  2271. end
  2272. end
  2273. end
  2274. end
  2275. end
  2276. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement