Advertisement
Official_Supr14

Shrike | Fe

Jul 13th, 2019
11,147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 183.04 KB | None | 0 0
  1. -----------//SHRIKE THE DICE GOD\\-----------
  2. --[[Movelist
  3. Q = Teleport
  4. E = Massive rend
  5. T = Taunt
  6. Y = Super kick(Target someone first)
  7. P = Portal kick
  8. F = Ultra form
  9. G = Portal shotgun
  10. H = Widowdicer(Sidekick)(Press again to make her dissapear)
  11. J = Invisible(Press again to appear)
  12. K = Lightning dice(Target someone first)
  13. L = The end(Obliterates anything that's close)
  14. -----WIDOWDICER CONTROLS-----
  15. Z = Shoot
  16. X = Swap gun to Uzi
  17. C = Swap gun to Desert eagle
  18. V = Swap gun to Raygun
  19. B = Remove/wear glasses.
  20. ---------]]
  21.  
  22. --Alright Xester, you had your fun.--
  23. --It's time for something new.--
  24.  
  25. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  26. do
  27. script.Parent = owner.Character
  28. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  29. local function NewFakeEvent()
  30. local Bind = Instance.new("BindableEvent")
  31. local Fake;Fake = {Connections = {},
  32. fakeEvent=true;
  33. Connect=function(self,Func)
  34. Bind.Event:connect(Func)
  35. self.Connections[Bind] = true
  36. return setmetatable({Connected = true},{
  37. __index = function (self,Index)
  38. if Index:lower() == "disconnect" then
  39. return function() Fake.Connections[Bind] = false;self.Connected = false end
  40. end
  41. return Fake[Index]
  42. end;
  43. __tostring = function() return "Connection" end;
  44. })
  45. end}
  46. Fake.connect = Fake.Connect;return Fake;
  47. end
  48. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  49. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  50. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  51. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  52. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  53. local function TriggerEvent(self,Event,...)
  54. local Trigger = Mouse[Event]
  55. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  56. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  57. end
  58. end
  59. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  60. Event.OnServerEvent:Connect(function(FiredBy,Input)
  61. if FiredBy.Name ~= owner.Name then return end
  62. if Input.MouseEvent then
  63. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  64. else
  65. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  66. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  67. for _,Action in pairs(ContextActionService.Actions) do
  68. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  69. end
  70. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  71. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  72. end
  73. end)
  74. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  75. Event.Parent = NLS([[
  76. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  77. local Input = function(Input,gameProcessedEvent)
  78. if gameProcessedEvent then return end
  79. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  80. end
  81. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  82. local Hit,Target
  83. while wait(1/30) do
  84. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  85. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  86. end
  87. end
  88. ]],owner.Character)
  89. end
  90. RealGame = game;game = setmetatable({},{
  91. __index = function (self,Index)
  92. local Sandbox = function (Thing)
  93. if Thing:IsA("Player") then
  94. local RealPlayer = Thing
  95. return setmetatable({},{
  96. __index = function (self,Index)
  97. local Type = type(RealPlayer[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  100. return function (self)return InternalData["Mouse"] end
  101. end
  102. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  103. end
  104. return RealPlayer[Index]
  105. end;
  106. __tostring = function(self) return RealPlayer.Name end
  107. })
  108. end
  109. end
  110. if RealGame[Index] then
  111. local Type = type(RealGame[Index])
  112. if Type == "function" then
  113. if Index:lower() == "getservice" or Index:lower() == "service" then
  114. return function (self,Service)
  115. local FakeServices = {
  116. ["players"] = function()
  117. return setmetatable({},{
  118. __index = function (self2,Index2)
  119. local RealService = RealGame:GetService(Service)
  120. local Type2 = type(Index2)
  121. if Type2 == "function" then
  122. return function (self,...) return RealService[Index2](RealService,...)end
  123. else
  124. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  125. return RealService[Index2]
  126. end
  127. end;
  128. __tostring = function(self) return RealGame:GetService(Service).Name end
  129. })
  130. end;
  131. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  132. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  133. ["runservice"] = function()
  134. return setmetatable({},{
  135. __index = function(self2,Index2)
  136. local RealService = RealGame:GetService(Service)
  137. local Type2 = type(Index2)
  138. if Type2 == "function" then
  139. return function (self,...) return RealService[Index2](RealService,...) end
  140. else
  141. local RunServices = {
  142. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  143. ["renderstepped"] = function() return RealService["Stepped"] end
  144. }
  145. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. end
  151. }
  152. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  153. return RealGame:GetService(Service)
  154. end
  155. end
  156. return function (self,...) return RealGame[Index](RealGame,...) end
  157. else
  158. if game:GetService(Index) then return game:GetService(Index) end
  159. return RealGame[Index]
  160. end
  161. end
  162. return nil
  163. end
  164. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  165.  
  166. Player=game.Players.LocalPlayer
  167. Character=Player.Character
  168. Character.Humanoid.Name = "noneofurbusiness"
  169. hum = Character.noneofurbusiness
  170. LeftArm=Character["Left Arm"]
  171. LeftLeg=Character["Left Leg"]
  172. RightArm=Character["Right Arm"]
  173. RightLeg=Character["Right Leg"]
  174. Root=Character["HumanoidRootPart"]
  175. Head=Character["Head"]
  176. Torso=Character["Torso"]
  177. Neck=Torso["Neck"]
  178. mouse = Player:GetMouse()
  179. walking = false
  180. hitdebounce = false
  181. jumping = false
  182. invisible = false
  183. attacking = false
  184. firsttime = false
  185. tauntdebounce = false
  186. raygun = false
  187. position = nil
  188. classical = true
  189. dada = false
  190. secondform = false
  191. industrial = false
  192. sidekicktaunting = false
  193. popstar = false
  194. vinyl = false
  195. brutal = false
  196. love = false
  197. godgun = false
  198. talkingtalking = false
  199. glasson = true
  200. glassonp = false
  201. sidekick = false
  202. MseGuide = true
  203. sidekickshootanim = false
  204. running = false
  205. settime = 0
  206. sine = 0
  207. t = 0
  208. ws = 32
  209. change = 1
  210. combo1 = true
  211. equip = false
  212. swetch = false
  213. dgs = 75
  214. combo2 = false
  215. switch1 = true
  216. switch2 = false
  217. tauntdebounce = false
  218. firsttime2 = false
  219. stop = false
  220. combo3 = false
  221. gunallowance = false
  222. shooting = false
  223. RunSrv = game:GetService("RunService")
  224. RenderStepped = game:GetService("RunService").RenderStepped
  225. removeuseless = game:GetService("Debris")
  226. smoothen = game:GetService("TweenService")
  227. cam = workspace.CurrentCamera
  228. randomcolortable={"Cyan","Really red","Cyan","Royal purple","Lime green","Crimson","Daisy yellow","Eggplant"} ---rainbow effect
  229. randomsound={1841352043,1841310110,1841352055}
  230. dicesound={3122807673,3122808037,3122808415,3122808790,3122809131}
  231. shellsound={3178804103,3178804279,3178804471}
  232. shellsound2={3182143803,3182144291,3182144511}
  233. local dmt2 = {1843002153,3111464957,3164241009}
  234. local soundtable = {3164866143,3164866542,3164866984,3164867563,3164868011,3164868391,3164868830,3164869532,3164869991,3164870493,3164872506,3164872843,3164873181}
  235. local p2 = {3206942440,3206936546,3206936808,3206937465}
  236. local p1 = {3206782096,3206785806,3206954599,3206954963,3206955213,3206955582,3206955890,3206956319,3206956640,3206957177}
  237. local secondtheme={561542239,3206925146}
  238. random = #randomcolortable
  239.  
  240. screenGui = Instance.new("ScreenGui")
  241. screenGui.Parent = script.Parent
  242.  
  243. local HEADLERP = Instance.new("ManualWeld")
  244. HEADLERP.Parent = Head
  245. HEADLERP.Part0 = Head
  246. HEADLERP.Part1 = Head
  247. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  248.  
  249. local TORSOLERP = Instance.new("ManualWeld")
  250. TORSOLERP.Parent = Root
  251. TORSOLERP.Part0 = Torso
  252. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  253.  
  254. local ROOTLERP = Instance.new("ManualWeld")
  255. ROOTLERP.Parent = Root
  256. ROOTLERP.Part0 = Root
  257. ROOTLERP.Part1 = Torso
  258. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  259.  
  260. local RIGHTARMLERP = Instance.new("ManualWeld")
  261. RIGHTARMLERP.Parent = RightArm
  262. RIGHTARMLERP.Part0 = RightArm
  263. RIGHTARMLERP.Part1 = Torso
  264. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  265.  
  266. local LEFTARMLERP = Instance.new("ManualWeld")
  267. LEFTARMLERP.Parent = LeftArm
  268. LEFTARMLERP.Part0 = LeftArm
  269. LEFTARMLERP.Part1 = Torso
  270. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  271.  
  272. local RIGHTLEGLERP = Instance.new("ManualWeld")
  273. RIGHTLEGLERP.Parent = RightLeg
  274. RIGHTLEGLERP.Part0 = RightLeg
  275. RIGHTLEGLERP.Part1 = Torso
  276. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  277.  
  278. local LEFTLEGLERP = Instance.new("ManualWeld")
  279. LEFTLEGLERP.Parent = LeftLeg
  280. LEFTLEGLERP.Part0 = LeftLeg
  281. LEFTLEGLERP.Part1 = Torso
  282. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  283.  
  284. local function weldBetween(a, b)
  285. local weld = Instance.new("ManualWeld", a)
  286. weld.Part0 = a
  287. weld.Part1 = b
  288. weld.C0 = a.CFrame:inverse() * b.CFrame
  289. return weld
  290. end
  291.  
  292. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  293. A = Instance.new("Attachment", PARENT)
  294. A.Position = POSITION1
  295. A.Name = "A"
  296. B = Instance.new("Attachment", PARENT)
  297. B.Position = POSITION2
  298. B.Name = "B"
  299. tr1 = Instance.new("Trail", PARENT)
  300. tr1.Attachment0 = A
  301. tr1.Attachment1 = B
  302. tr1.Enabled = true
  303. tr1.Lifetime = LIFETIME
  304. tr1.TextureMode = "Static"
  305. tr1.LightInfluence = 0
  306. tr1.Color = COLOR
  307. tr1.Transparency = NumberSequence.new(0, 1)
  308. end
  309.  
  310. coroutine.wrap(function()
  311. while wait() do
  312. if secondform then
  313. elseif invisible then
  314. else
  315. doomtheme.Volume = 3
  316. end
  317. hum.WalkSpeed = ws
  318. hum.JumpPower = 75
  319. LeftArm.BrickColor = BrickColor.new("Really black")
  320. RightArm.BrickColor = BrickColor.new("Really black")
  321. Head.BrickColor = BrickColor.new("Really black")
  322. end
  323. end)()
  324. godmode = coroutine.wrap(function()
  325. for i,v in pairs(Character:GetChildren()) do
  326. if v:IsA("BasePart") and v ~= Root then
  327. v.Anchored = false
  328. end
  329. end
  330. while true do
  331. hum.MaxHealth = math.huge
  332. wait(0.0000001)
  333. hum.Health = math.huge
  334. wait()
  335. end
  336. end)
  337. godmode()
  338. ff = Instance.new("ForceField", Character)
  339. ff.Visible = false
  340.  
  341. ----defaultpos----
  342. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  343. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  344. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  345. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  346. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  347. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  348. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  349. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  350. ----defaultpos----
  351.  
  352. coroutine.wrap(function()
  353. for i,v in pairs(Character:GetChildren()) do
  354. if v.Name == "Animate" then v:Remove()
  355. end
  356. end
  357. end)()
  358.  
  359. function damagealll(Radius,Position)
  360. local Returning = {}
  361. for _,v in pairs(workspace:GetChildren()) do
  362. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  363. if v:FindFirstChild("Torso") then
  364. local Mag = (v.Torso.Position - Position).magnitude
  365. if Mag < Radius then
  366. table.insert(Returning,v)
  367. end
  368. elseif v:FindFirstChild("UpperTorso") then
  369. local Mag = (v.UpperTorso.Position - Position).magnitude
  370. if Mag < Radius then
  371. table.insert(Returning,v)
  372. end
  373. end
  374. end
  375. end
  376. return Returning
  377. end
  378.  
  379. ArtificialHB = Instance.new("BindableEvent", script)
  380. ArtificialHB.Name = "Heartbeat"
  381. script:WaitForChild("Heartbeat")
  382.  
  383. frame = 1 / 60
  384. tf = 0
  385. allowframeloss = false
  386. tossremainder = false
  387.  
  388.  
  389. lastframe = tick()
  390. script.Heartbeat:Fire()
  391.  
  392.  
  393. game:GetService("RunService").Heartbeat:connect(function(s, p)
  394. tf = tf + s
  395. if tf >= frame then
  396. if allowframeloss then
  397. script.Heartbeat:Fire()
  398. lastframe = tick()
  399. else
  400. for i = 1, math.floor(tf / frame) do
  401. script.Heartbeat:Fire()
  402. end
  403. lastframe = tick()
  404. end
  405. if tossremainder then
  406. tf = 0
  407. else
  408. tf = tf - frame * math.floor(tf / frame)
  409. end
  410. end
  411. end)
  412.  
  413. function swait(num)
  414. if num == 0 or num == nil then
  415. game:service("RunService").Stepped:wait(0)
  416. else
  417. for i = 0, num do
  418. game:service("RunService").Stepped:wait(0)
  419. end
  420. end
  421. end
  422.  
  423. for _,x in pairs(Character:GetChildren()) do
  424. if x:IsA("Decal") then x:Remove() end
  425. end
  426.  
  427. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  428. so = Instance.new("Sound")
  429. so.Parent = PARENT
  430. so.SoundId = "rbxassetid://"..ID
  431. so.Volume = VOL
  432. so.Looped = LOOP
  433. so:Play()
  434. removeuseless:AddItem(so,REMOVE)
  435. end
  436.  
  437. for _,n in pairs(Character:GetChildren()) do
  438. if n:IsA("Accessory") then n:Remove() end
  439. end
  440. for _,x in pairs(Character:GetChildren()) do
  441. if x:IsA("Decal") then x:Remove() end
  442. end
  443. Head.face:Remove()
  444.  
  445. dmt2random = dmt2[math.random(1,#dmt2)]
  446. doomtheme = Instance.new("Sound", Torso)
  447. doomtheme.Volume = 3
  448. doomtheme.Name = "doomtheme"
  449. doomtheme.Looped = true
  450. doomtheme.SoundId = "rbxassetid://"..dmt2random
  451. doomtheme:Play()
  452.  
  453. Torso.ChildRemoved:connect(function(removed)
  454. if removed.Name == "doomtheme" then
  455. if secondform then
  456. local thousand = secondtheme[math.random(1,#secondtheme)]
  457. doomtheme = Instance.new("Sound",Torso)
  458. doomtheme.SoundId = "rbxassetid://"..thousand
  459. if invisible then
  460. doomtheme.Volume = 0
  461. else
  462. doomtheme.Volume = 4
  463. end
  464. doomtheme.Name = "doomtheme"
  465. doomtheme.Looped = true
  466. doomtheme:Play()
  467. else
  468. dmt2random = dmt2[math.random(1,#dmt2)]
  469. doomtheme = Instance.new("Sound",Torso)
  470. doomtheme.SoundId = "rbxassetid://2683987785"
  471. doomtheme.SoundId = "rbxassetid://"..dmt2random
  472. if invisible then
  473. doomtheme.Volume = 0
  474. else
  475. doomtheme.Volume = 3
  476. end
  477. doomtheme.Name = "doomtheme"
  478. doomtheme.Looped = true
  479. doomtheme:Play()
  480. end
  481. end
  482. end)
  483.  
  484. eyo = Instance.new("Part",Head)
  485. eyo.BrickColor = BrickColor.new("White")
  486. eyo.Material = "Neon"
  487. eyo.Name = "eyo"
  488. eyo.CanCollide = false
  489. eyo.Size = Vector3.new(0.11, 0.12, 0.11)
  490. eyeballmesh = Instance.new("SpecialMesh",eyo)
  491. eyeballmesh.MeshType = "Sphere"
  492. eyoweld = weldBetween(eyo,Head)
  493. eyoweld.C0 = CFrame.new(-.215,-.21,.515)
  494.  
  495. coroutine.wrap(function()
  496. while true do
  497. wait(5)
  498. for i = 1, 10 do
  499. eyo.Size = eyo.Size - Vector3.new(0,.008,0)
  500. swait()
  501. end
  502. for i = 1, 10 do
  503. eyo.Size = eyo.Size + Vector3.new(0,.008,0)
  504. swait()
  505. end
  506. swait()
  507. end
  508. end)()
  509.  
  510. leftlocation = Instance.new("Part",LeftArm)
  511. leftlocation.Size = Vector3.new(1,1,1)
  512. leftlocation.Transparency = 1
  513. leftlocationweld = weldBetween(leftlocation,LeftArm)
  514. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  515. rightlocation = Instance.new("Part",RightArm)
  516. rightlocation.Size = Vector3.new(1,1,1)
  517. rightlocation.Transparency = 1
  518. rightlocationweld = weldBetween(rightlocation,RightArm)
  519. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  520.  
  521. fedora = Instance.new("Part",Character)
  522. fedora.Size = Vector3.new(2,2,2)
  523. fedora.CFrame = Head.CFrame
  524. fedora.CanCollide = false
  525. fedoraweld = Instance.new("Weld",fedora)
  526. fedoraweld.Part0 = fedora
  527. fedoraweld.Part1 = Head
  528. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(-.1,-1.04,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(-10))
  529. mfedora = Instance.new("SpecialMesh", fedora)
  530. mfedora.MeshType = "FileMesh"
  531. mfedora.Scale = Vector3.new(1.18, 1.18, 1.18)
  532. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=11144636','http://www.roblox.com/asset/?id=1416342992'
  533.  
  534. mask = Instance.new("Part",Character)
  535. mask.Size = Vector3.new(2,2,2)
  536. mask.CFrame = Head.CFrame
  537. mask.CanCollide = false
  538. maskweld = Instance.new("Weld",mask)
  539. maskweld.Part0 = mask
  540. maskweld.Part1 = Head
  541. maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.16,-.1,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
  542. mmask = Instance.new("SpecialMesh", mask)
  543. mmask.MeshType = "FileMesh"
  544. mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
  545. mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=238375294'
  546.  
  547. shirt = Instance.new("Shirt", Character)
  548. shirt.Name = "Shirt"
  549. pants = Instance.new("Pants", Character)
  550. pants.Name = "Pants"
  551. Character.Shirt.ShirtTemplate = "rbxassetid://33209766"----lol
  552. Character.Pants.PantsTemplate = "rbxassetid://33210029"
  553.  
  554. slaten = Instance.new("Decal",mask)
  555. slaten.Texture = "rbxassetid://654786596"
  556. slaten.Color3 = Color3.new(0, 0, 0)
  557. slaten.Face = "Top"
  558.  
  559. slaten2 = Instance.new("Decal",mask)
  560. slaten2.Texture = "rbxassetid://647393266"
  561. slaten2.Color3 = Color3.new(0, 0, 0)
  562. slaten2.Face = "Top"
  563.  
  564. mouse.KeyDown:connect(function(Press)
  565. Press=Press:lower()
  566. if Press=='m' then
  567. immortality()
  568. for i,v in pairs(Player.Character:GetDescendants()) do
  569. if v:IsA("BodyVelocity") then
  570. v:Remove()
  571. end
  572. end
  573. elseif Press=='r' then
  574. if not zmxcn then return end
  575. if debounce then return end
  576. debounce = true
  577. attacking = true
  578. g1 = Instance.new("BodyGyro", Root)
  579. g1.D = 175
  580. g1.P = 20000
  581. g1.MaxTorque = Vector3.new(0,9000,0)
  582. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  583. ws = 4
  584. for i = 1, 20 do
  585. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  586. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  587. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  588. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  589. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  590. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  591. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  592. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2)
  593. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.2)
  594. swait()
  595. end
  596. ws = 0
  597. local dice = Instance.new("Part",Torso)
  598. local mv = (dice.Position - mouse.Hit.p).magnitude
  599. if mv > 50 then
  600. mv = 50
  601. end
  602. dice.CanCollide = true
  603. dice.CFrame = Root.CFrame * CFrame.new(2,0,-3.6) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  604. dice.Anchored = false
  605. dice.Transparency = 1
  606. dice.Size = Vector3.new(.5,.5,.5)
  607. dice.Velocity = CFrame.new(dice.Position,mouse.Hit.p).lookVector*(mv * 2)
  608. dicemesh = Instance.new("SpecialMesh",dice)
  609. dicemesh.MeshId = "rbxassetid://95358536"
  610. dicemesh.TextureId = "rbxassetid://100025876"
  611. dicemesh.Scale = Vector3.new(.21,.21,.21)
  612. coroutine.wrap(function()
  613. for i = 1, 10 do
  614. dice.Transparency = dice.Transparency - .1
  615. swait()
  616. end
  617. end)()
  618. local toched = false
  619. dice.Touched:connect(function(explod)
  620. if toched then return end
  621. toched = true
  622. r = dicesound[math.random(1,#dicesound)]
  623. local daic = Instance.new("Sound",dice)
  624. daic.SoundId = "rbxassetid://"..r
  625. daic.Volume = 10
  626. daic:Play()
  627. wait(1.5)
  628. ex2 = Instance.new("Part",Torso)
  629. ex2.Anchored = true
  630. ex2.CanCollide = false
  631. ex2.Transparency = 1
  632. ex2.Size = Vector3.new(.1,.1,.1)
  633. ex2.CFrame = dice.CFrame
  634. removeuseless:AddItem(ex2,4)
  635. local ex = Instance.new("Sound",ex2)
  636. ex.SoundId = "rbxassetid://3122872389"
  637. ex.Volume = 10
  638. ex:Play()
  639. Hit = damagealll(34,dice.Position)
  640. for _,v in pairs(Hit) do
  641. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  642. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  643. if secondform then
  644. slachtoffer.Parent:BreakJoints()
  645. else
  646. slachtoffer:TakeDamage(math.random(48,72))
  647. end
  648. if secondform then
  649. coroutine.wrap(function()
  650. if tauntdebounce then return end
  651. tauntdebounce = true
  652. rdnm2 = p1[math.random(1,#p1)]
  653. tauntsound = Instance.new("Sound", Head)
  654. tauntsound.Volume = 10
  655. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  656. tauntsound.Looped = false
  657. tauntsound:Play()
  658. wait(3)
  659. wait(tauntsound.TimeLength)
  660. tauntsound:Remove()
  661. wait(1)
  662. tauntdebounce = false
  663. end)()
  664. end
  665. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  666. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  667. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  668. vel.velocity = CFrame.new(dice.Position,torso.Position).lookVector*125
  669. removeuseless:AddItem(vel,.1)
  670. end
  671. end
  672. dice:Remove()
  673. local lightofdeath = Instance.new("Part",Torso)
  674. lightofdeath.Size = Vector3.new(1000000,20,20)
  675. lightofdeath.CanCollide = false
  676. lightofdeath.Anchored = true
  677. lightofdeath.Material = "Neon"
  678. lightofdeath.Transparency = .1
  679. lightofdeath.BrickColor = BrickColor.new("White")
  680. lightofdeath.CFrame = CFrame.new(dice.Position) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  681. lightofdeath.Shape = "Cylinder"
  682. coroutine.wrap(function()
  683. local shockwave = Instance.new("Part", Torso)
  684. shockwave.Size = Vector3.new(1,1,1)
  685. shockwave.CanCollide = false
  686. shockwave.Anchored = true
  687. shockwave.Transparency = 0
  688. shockwave.BrickColor = BrickColor.new("White")
  689. shockwave.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.75,0)
  690. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  691. shockwavemesh.Scale = Vector3.new(4,.7,4)
  692. shockwavemesh.MeshId = "rbxassetid://20329976"
  693. local shockwave2 = Instance.new("Part", Torso)
  694. shockwave2.Size = Vector3.new(1,1,1)
  695. shockwave2.CanCollide = false
  696. shockwave2.Anchored = true
  697. shockwave2.Transparency = 0
  698. shockwave2.BrickColor = BrickColor.new("White")
  699. shockwave2.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.6,0)
  700. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  701. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  702. shockwavemesh2.MeshId = "rbxassetid://20329976"
  703. local shockwave3 = Instance.new("Part", Torso)
  704. shockwave3.Size = Vector3.new(1,1,1)
  705. shockwave3.CanCollide = false
  706. shockwave3.Anchored = true
  707. shockwave3.Transparency = 0
  708. shockwave3.BrickColor = BrickColor.new("Really black")
  709. shockwave3.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.75,0)
  710. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  711. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  712. shockwavemesh3.MeshId = "rbxassetid://20329976"
  713. local shockwave4 = Instance.new("Part", Torso)
  714. shockwave4.Size = Vector3.new(1,1,1)
  715. shockwave4.CanCollide = false
  716. shockwave4.Anchored = true
  717. shockwave2.Transparency = 0
  718. shockwave4.BrickColor = BrickColor.new("Really black")
  719. shockwave4.CFrame = CFrame.new(dice.Position) * CFrame.new(0,-1.6,0)
  720. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  721. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  722. shockwavemesh4.MeshId = "rbxassetid://20329976"
  723. local e = Instance.new("Part",Torso)
  724. e.Size = Vector3.new(2,2,2)
  725. e.Material = "Neon"
  726. e.Anchored = true
  727. e.CanCollide = false
  728. e.CFrame = dice.CFrame
  729. e.Shape = "Ball"
  730. e.BrickColor = BrickColor.new("White")
  731. for i = 1, 50 do
  732. e.Size = e.Size + Vector3.new(3.5,3.5,3.5)
  733. e.Transparency = e.Transparency + .035
  734. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+21),0)
  735. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
  736. shockwave.Transparency = shockwave.Transparency + 0.03
  737. shockwave2.Transparency = shockwave2.Transparency + 0.03
  738. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(2,.5,2)
  739. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(2,.5,2)
  740. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+9),0)
  741. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-9),0)
  742. shockwave3.Transparency = shockwave3.Transparency + 0.05
  743. shockwave4.Transparency = shockwave4.Transparency + 0.05
  744. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(5,1,5)
  745. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(5,1,5)
  746. swait()
  747. end
  748. e:Remove()
  749. shockwave:Remove()
  750. shockwave2:Remove()
  751. shockwave3:Remove()
  752. shockwave4:Remove()
  753. end)()
  754. coroutine.wrap(function()
  755. for i = 1, 20 do
  756. lightofdeath.Transparency = lightofdeath.Transparency + .05
  757. swait()
  758. end
  759. lightofdeath:Remove()
  760. end)()
  761. end)
  762. for i = 1, 25 do
  763. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.2)
  764. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(22),math.rad(-1)),.2)
  765. swait()
  766. end
  767. ws = 32
  768. removeuseless:AddItem(g1,.0001)
  769. debounce = false
  770. attacking = false
  771. elseif Press=='q' then
  772. if debounce then return end
  773. if mouse.Target ~= nil then
  774. debounce = true
  775. attacking = true
  776. tps = Instance.new("Sound", Torso)
  777. tps.Volume = 10
  778. tps.SoundId = "rbxassetid://2610939724"
  779. tps:Play()
  780. removeuseless:AddItem(tps,4)
  781. g1 = Instance.new("BodyGyro", Root)
  782. g1.D = 175
  783. g1.P = 20000
  784. g1.MaxTorque = Vector3.new(0,9000,0)
  785. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  786. removeuseless:AddItem(g1,.05)
  787. local fakemask = Instance.new("Part",Character)
  788. fakemask.Size = Vector3.new(1,1,1)
  789. fakemask.CFrame = mask.CFrame
  790. fakemask.Material = "Neon"
  791. fakemask.CanCollide = false
  792. fakemask.Anchored = true
  793. fakemask.BrickColor = BrickColor.new("Really black")
  794. fakemask.Transparency = .5
  795. local mfMask = Instance.new("SpecialMesh", fakemask)
  796. mfMask.MeshType = "FileMesh"
  797. mfMask.Scale = Vector3.new(1.25,1.25,1.25)
  798. mfMask.MeshId = "rbxassetid://12470186"
  799. local fakefedora = Instance.new("Part",Character)
  800. fakefedora.Size = Vector3.new(2,2,2)
  801. fakefedora.CFrame = fedora.CFrame
  802. fakefedora.CanCollide = false
  803. fakefedora.Transparency = .5
  804. fakefedora.Anchored = true
  805. fakefedora.BrickColor = BrickColor.new("Really black")
  806. local fakefedoram = Instance.new("SpecialMesh", fakefedora)
  807. fakefedoram.MeshType = "FileMesh"
  808. fakefedoram.Scale = Vector3.new(1.1, 1.1, 1.1)
  809. fakefedoram.MeshId = "rbxassetid://11144636"
  810. local fakehead = Instance.new("Part",Character)
  811. fakehead.Size = Vector3.new(1.01,1.01,1.01)
  812. fakehead.Anchored = true
  813. fakehead.CanCollide = false
  814. fakehead.Transparency = .5
  815. fakehead.BrickColor = BrickColor.new("Really black")
  816. fakehead.Material = "Neon"
  817. fakehead.CFrame = Head.CFrame
  818. local fakeheadmesh = Instance.new("SpecialMesh",fakehead)
  819. fakeheadmesh.MeshType = "Head"
  820. fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255)
  821. local fakelarm = Instance.new("Part",Character)
  822. fakelarm.CFrame = LeftArm.CFrame
  823. fakelarm.Size = Vector3.new(1,2,1)
  824. fakelarm.CanCollide = false
  825. fakelarm.BrickColor = BrickColor.new("Really black")
  826. fakelarm.Transparency = .5
  827. fakelarm.Material = "Neon"
  828. fakelarm.Anchored = true
  829. local fakerarm = Instance.new("Part",Character)
  830. fakerarm.CFrame = RightArm.CFrame
  831. fakerarm.Size = Vector3.new(1,2,1)
  832. fakerarm.Transparency = .5
  833. fakerarm.BrickColor = BrickColor.new("Really black")
  834. fakerarm.CanCollide = false
  835. fakerarm.Material = "Neon"
  836. fakerarm.Anchored = true
  837. local fakelleg = Instance.new("Part",Character)
  838. fakelleg.CFrame = LeftLeg.CFrame
  839. fakelleg.Size = Vector3.new(1,2,1)
  840. fakelleg.BrickColor = BrickColor.new("Really black")
  841. fakelleg.Transparency = .5
  842. fakelleg.CanCollide = false
  843. fakelleg.Material = "Neon"
  844. fakelleg.Anchored = true
  845. local fakerleg = Instance.new("Part",Character)
  846. fakerleg.CFrame = RightLeg.CFrame
  847. fakerleg.Size = Vector3.new(1,2,1)
  848. fakerleg.Transparency = .5
  849. fakerleg.BrickColor = BrickColor.new("Really black")
  850. fakerleg.CanCollide = false
  851. fakerleg.Material = "Neon"
  852. fakerleg.Anchored = true
  853. local fakeTorso = Instance.new("Part",Character)
  854. fakeTorso.CFrame = Torso.CFrame
  855. fakeTorso.Size = Vector3.new(2,2,1)
  856. fakeTorso.Transparency = .5
  857. fakeTorso.CanCollide = false
  858. fakeTorso.BrickColor = BrickColor.new("Really black")
  859. fakeTorso.Material = "Neon"
  860. fakeTorso.Anchored = true
  861. coroutine.wrap(function()
  862. for i = 1, 80 do
  863. fakemask.Transparency = fakemask.Transparency + .0125
  864. fakefedora.Transparency = fakefedora.Transparency + .0125
  865. fakehead.Transparency = fakehead.Transparency + .0125
  866. fakelarm.Transparency = fakelarm.Transparency + .0125
  867. fakerarm.Transparency = fakerarm.Transparency + .0125
  868. fakelleg.Transparency = fakelleg.Transparency + .0125
  869. fakerleg.Transparency = fakerleg.Transparency + .0125
  870. fakeTorso.Transparency = fakeTorso.Transparency + .0125
  871. swait()
  872. end
  873. fakemask:Remove()
  874. fakefedora:Remove()
  875. fakehead:Remove()
  876. fakelarm:Remove()
  877. fakerarm:Remove()
  878. fakelleg:Remove()
  879. fakerleg:Remove()
  880. fakeTorso:Remove()
  881. end)()
  882. Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0)
  883. wait(.1)
  884. attacking = false
  885. debounce = false
  886. end
  887. elseif Press=='v' then
  888. if debounce then return end
  889. if not sidekick then return end
  890. if sidekickshootanim then return end
  891. sidekickshootanim = true
  892. for i = 1, 20 do
  893. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  894. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  895. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  896. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  897. gun.Transparency = gun.Transparency + .05
  898. gun2.Transparency = gun2.Transparency + .05
  899. gun3.Transparency = gun3.Transparency + .05
  900. gun4.Transparency = gun4.Transparency + .05
  901. swait()
  902. end
  903. gunmesh.MeshId = "rbxassetid://430586811"
  904. gunmesh.TextureId = "rbxassetid://430586818"
  905. gunmesh.Scale = Vector3.new(.0011,.0011,.0011)
  906. gunweld.C0 = CFrame.new(-1.2,0,-.6) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  907. for i = 1, 20 do
  908. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  909. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  910. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  911. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  912. gun.Transparency = gun.Transparency - .05
  913. swait()
  914. end
  915. gun2.Transparency = 1
  916. gun3.Transparency = 1
  917. gun4.Transparency = 1
  918. uzi = false
  919. deserteagle = true
  920. raygun = true
  921. sidekickshootanim = false
  922. elseif Press=='c' then
  923. if debounce then return end
  924. if not sidekick then return end
  925. if sidekickshootanim then return end
  926. sidekickshootanim = true
  927. for i = 1, 20 do
  928. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  929. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  930. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  931. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  932. gun.Transparency = gun.Transparency + .05
  933. swait()
  934. end
  935. gunmesh.MeshId = "rbxassetid://431258335"
  936. gunmesh.TextureId = "rbxassetid://431259201"
  937. gunmesh.Scale = Vector3.new(.003,.003,.003)
  938. gunweld.C0 = CFrame.new(0,-.3,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  939. for i = 1, 20 do
  940. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  941. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  942. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  943. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  944. gun.Transparency = gun.Transparency - .05
  945. gun2.Transparency = gun2.Transparency - .05
  946. gun3.Transparency = gun3.Transparency - .05
  947. gun4.Transparency = gun4.Transparency - .05
  948. swait()
  949. end
  950. gun2.Transparency = 0
  951. gun3.Transparency = 0
  952. gun4.Transparency = 0
  953. uzi = false
  954. deserteagle = true
  955. raygun = false
  956. sidekickshootanim = false
  957. elseif Press=='x' then
  958. if debounce then return end
  959. if not sidekick then return end
  960. if sidekickshootanim then return end
  961. sidekickshootanim = true
  962. for i = 1, 20 do
  963. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  964. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  965. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  966. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  967. gun.Transparency = gun.Transparency + .05
  968. gun2.Transparency = gun2.Transparency + .05
  969. gun3.Transparency = gun3.Transparency + .05
  970. gun4.Transparency = gun4.Transparency + .05
  971. swait()
  972. end
  973. gunmesh.MeshId = "rbxassetid://72012794"
  974. gunmesh.TextureId = "rbxassetid://72012761"
  975. gunmesh.Scale = Vector3.new(1,1.1,1)
  976. gunweld.C0 = CFrame.new(0,-.45,.05) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(90))
  977. for i = 1, 20 do
  978. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  979. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  980. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  981. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  982. gun.Transparency = gun.Transparency - .05
  983. swait()
  984. end
  985. gun2.Transparency = 1
  986. gun3.Transparency = 1
  987. gun4.Transparency = 1
  988. uzi = true
  989. deserteagle = false
  990. raygun = false
  991. sidekickshootanim = false
  992. elseif Press=='z' then
  993. if debounce then return end
  994. if not sidekick then return end
  995. if sidekickshootanim then return end
  996. sidekickshootanim = true
  997. g1 = Instance.new("BodyGyro", Root)
  998. g1.D = 175
  999. g1.P = 20000
  1000. g1.MaxTorque = Vector3.new(0,9000,0)
  1001. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  1002. coroutine.wrap(function()
  1003. if sidekicktaunting then return end
  1004. sidekicktaunting = true
  1005. local mr={3182322877,3182252391,3182374535,3182388872,3182410995,3182425171,3182432426,3182466325}
  1006. local r2 = mr[math.random(1,#mr)]
  1007. local lc = Instance.new("Sound",thedice)
  1008. lc.SoundId = "rbxassetid://"..r2
  1009. lc.Volume = 10
  1010. lc:Play()
  1011. wait(.5)
  1012. wait(lc.TimeLength)
  1013. wait(4)
  1014. lc:Remove()
  1015. sidekicktaunting = false
  1016. end)()
  1017. if raygun then
  1018. for i = 1, 1 do
  1019. for i = 1, 15 do
  1020. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1021. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1022. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1023. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.5 + .1 * math.sin(sine/15),2 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-91 + 1 * math.sin(sine/16))),.2)
  1024. swait()
  1025. end
  1026. coroutine.wrap(function()
  1027. local shoot = Instance.new("Sound",gunbox)
  1028. shoot.SoundId = "rbxassetid://131179973"
  1029. shoot.Volume = 8
  1030. shoot:Play()
  1031. local orbhit = false
  1032. local orb = Instance.new("Part",Torso)
  1033. orb.Size = Vector3.new(1,1,1)
  1034. orb.Shape = "Ball"
  1035. orb.BrickColor = BrickColor.new("Lime green")
  1036. orb.Anchored = false
  1037. orb.Transparency = 1
  1038. orb.CanCollide = false
  1039. orb.Material = "Neon"
  1040. orb.CFrame = gunbox.CFrame
  1041. local bov = Instance.new("BodyVelocity",orb)
  1042. bov.maxForce = Vector3.new(99999,99999,99999)
  1043. orb.CFrame = CFrame.new(orb.Position,mouse.Hit.p)
  1044. bov.velocity = orb.CFrame.lookVector*325
  1045. coroutine.wrap(function()
  1046. while true do
  1047. if orbhit then break end
  1048. local magic = Instance.new("Part",Torso)
  1049. magic.BrickColor = BrickColor.new("Lime green")
  1050. magic.Anchored = true
  1051. magic.CanCollide = false
  1052. magic.CFrame = orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1053. magic.Material = "Neon"
  1054. magic.Size = Vector3.new(2,2,2)
  1055. coroutine.wrap(function()
  1056. for i = 1, 40 do
  1057. magic.Transparency = magic.Transparency + .025
  1058. magic.Size = magic.Size - Vector3.new(.05,.05,.05)
  1059. swait()
  1060. end
  1061. magic:Remove()
  1062. end)()
  1063. swait()
  1064. end
  1065. end)()
  1066. coroutine.wrap(function()
  1067. while wait(.05) do
  1068. if orbhit then break end
  1069. local ring = Instance.new("Part",Torso)
  1070. ring.Anchored = true
  1071. ring.CanCollide = false
  1072. ring.Size = Vector3.new(1,1,1)
  1073. ring.Material = "Neon"
  1074. ring.BrickColor = BrickColor.new("Lime green")
  1075. ring.CFrame = orb.CFrame * CFrame.Angles(math.rad(90),0,0)
  1076. local ringmesh = Instance.new("SpecialMesh",ring)
  1077. ringmesh.MeshId = "rbxassetid://471124075"
  1078. ringmesh.Scale = Vector3.new(.001,.001,.001)
  1079. coroutine.wrap(function()
  1080. for i = 1, 40 do
  1081. ringmesh.Scale = ringmesh.Scale + Vector3.new(.005,.002,.005)
  1082. ring.Transparency = ring.Transparency + .025
  1083. swait()
  1084. end
  1085. ring:Remove()
  1086. end)()
  1087. end
  1088. end)()
  1089. coroutine.wrap(function()
  1090. wait(5)
  1091. if orbhit then
  1092. else
  1093. orbhit = true
  1094. orb:Remove()
  1095. end
  1096. end)()
  1097. orb.Touched:connect(function(orbh)
  1098. if orbh:IsA("Part") and orbh.Parent.Parent ~= Character and orbh.Parent ~= Character then
  1099. if orbhit then return end
  1100. orbhit = true
  1101. Hit = damagealll(28,orb.Position)
  1102. for _,v in pairs(Hit) do
  1103. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1104. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1105. slachtoffer:TakeDamage(math.random(69,82))
  1106. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1107. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1108. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1109. vel.velocity = CFrame.new(orb.Position,torso.Position).lookVector*195
  1110. removeuseless:AddItem(vel,.1)
  1111. end
  1112. end
  1113. orb.Anchored = true
  1114. orb.Transparency = 1
  1115. local soundbox = Instance.new("Part",Torso)
  1116. soundbox.CFrame = orb.CFrame
  1117. soundbox.Size = Vector3.new(.1,.1,.1)
  1118. soundbox.Anchored = true
  1119. soundbox.CanCollide = false
  1120. soundbox.Transparency = 1
  1121. removeuseless:AddItem(soundbox,5)
  1122. local explosionsound = Instance.new("Sound",soundbox)
  1123. explosionsound.SoundId = "rbxassetid://2812343636"
  1124. explosionsound.TimePosition = .6
  1125. explosionsound.Volume = 10
  1126. explosionsound:Play()
  1127. local explosion = Instance.new("Part",Torso)
  1128. explosion.Size = Vector3.new(1,1,1)
  1129. explosion.Anchored = true
  1130. explosion.CanCollide = false
  1131. explosion.BrickColor = BrickColor.new("Lime green")
  1132. explosion.Material = "Neon"
  1133. explosion.Shape = "Ball"
  1134. explosion.CFrame = orb.CFrame
  1135. for i = 1, 40 do
  1136. local ps = Instance.new("Part",Torso)
  1137. ps.Size = Vector3.new(1,1,1)
  1138. ps.Anchored = true
  1139. ps.BrickColor = BrickColor.new("Lime green")
  1140. ps.Material = "Neon"
  1141. ps.Transparency = 0
  1142. ps.CFrame = explosion.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1143. local psm = Instance.new("SpecialMesh",ps)
  1144. psm.MeshType = "Sphere"
  1145. psm.Scale = Vector3.new(2,1,2)
  1146. coroutine.wrap(function()
  1147. for i = 1, 30 do
  1148. psm.Scale = psm.Scale + Vector3.new(0,6,0)
  1149. swait()
  1150. end
  1151. for i = 1, 20 do
  1152. psm.Scale = psm.Scale + Vector3.new(0,2,0)
  1153. ps.Transparency = ps.Transparency + .05
  1154. swait()
  1155. end
  1156. ps:Remove()
  1157. end)()
  1158. end
  1159. coroutine.wrap(function()
  1160. for i = 1, 30 do
  1161. local bamwave = Instance.new("Part",Torso)
  1162. bamwave.CanCollide = false
  1163. bamwave.Anchored = true
  1164. bamwave.BrickColor = BrickColor.new("Lime green")
  1165. bamwave.Name = "bamwave"
  1166. bamwave.Transparency = .85
  1167. bamwave.CFrame = orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1168. local bamwavemesh = Instance.new("SpecialMesh",bamwave)
  1169. bamwavemesh.MeshId = "rbxassetid://662586858"
  1170. bamwavemesh.Name = "explodmesh34"
  1171. bamwavemesh.Scale = Vector3.new(.04,.01,.04)
  1172. local wshockwave2 = Instance.new("Part", Torso)
  1173. wshockwave2.Size = Vector3.new(1,1,1)
  1174. wshockwave2.CanCollide = false
  1175. wshockwave2.Anchored = true
  1176. wshockwave2.Transparency = .9
  1177. wshockwave2.BrickColor = BrickColor.new("Lime green")
  1178. wshockwave2.CFrame = CFrame.new(orb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1179. local wshockwavemesh2 = Instance.new("SpecialMesh",wshockwave2)
  1180. wshockwavemesh2.Scale = Vector3.new(1,.05,1)
  1181. wshockwavemesh2.Name = "explodmesh33"
  1182. wshockwavemesh2.MeshId = "rbxassetid://20329976"
  1183. coroutine.wrap(function()
  1184. for i = 1, 30 do
  1185. wshockwave2.CFrame = wshockwave2.CFrame:lerp(CFrame.new(orb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.02)
  1186. bamwave.CFrame = bamwave.CFrame:lerp(orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))),.02)
  1187. bamwavemesh.Scale = bamwavemesh.Scale + Vector3.new(.02,0,.02)
  1188. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(3,.05,3)
  1189. bamwave.Transparency = bamwave.Transparency + .0029
  1190. wshockwave2.Transparency = wshockwave2.Transparency + .0029
  1191. swait()
  1192. end
  1193. for i = 1, 40 do
  1194. wshockwave2.CFrame = wshockwave2.CFrame:lerp(CFrame.new(orb.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.02)
  1195. bamwave.CFrame = bamwave.CFrame:lerp(orb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))),.02)
  1196. bamwavemesh.Scale = bamwavemesh.Scale + Vector3.new(.01,0,.01)
  1197. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(1,.05,1)
  1198. bamwave.Transparency = bamwave.Transparency + .0029
  1199. wshockwave2.Transparency = wshockwave2.Transparency + .0029
  1200. swait()
  1201. end
  1202. bamwave:Remove()
  1203. wshockwave2:Remove()
  1204. end)()
  1205. end
  1206. end)()
  1207. coroutine.wrap(function()
  1208. for i = 1, 20 do
  1209. explosion.Size = explosion.Size + Vector3.new(2,2,2)
  1210. swait()
  1211. end
  1212. for i = 1, 20 do
  1213. explosion.Size = explosion.Size + Vector3.new(.75,.75,.75)
  1214. explosion.Transparency = explosion.Transparency + .05
  1215. swait()
  1216. end
  1217. explosion:Remove()
  1218. orb:Remove()
  1219. end)()
  1220. end
  1221. end)
  1222. removeuseless:AddItem(shoot,10)
  1223. for i = 1, 1 do
  1224. local blast = Instance.new("Part",Torso)
  1225. blast.Size = Vector3.new(1,1,1)
  1226. blast.Anchored = true
  1227. blast.CanCollide = false
  1228. blast.Material = "Neon"
  1229. blast.Shape = "Ball"
  1230. blast.BrickColor = BrickColor.new("Lime green")
  1231. blast.CFrame = gunbox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1232. coroutine.wrap(function()
  1233. for i = 1, 20 do
  1234. blast.Size = blast.Size + Vector3.new(1.1,1.1,1.1)
  1235. blast.Transparency = blast.Transparency + .05
  1236. swait()
  1237. end
  1238. blast:Remove()
  1239. end)()
  1240. end
  1241. end)()
  1242. for i = 1, 15 do
  1243. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1244. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),.25) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1245. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.35) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1246. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.4 + .1 * math.sin(sine/15),1.7 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 1 * math.sin(sine/16))),.2)
  1247. swait()
  1248. end
  1249. swait()
  1250. end
  1251. elseif uzi then
  1252. for i = 1, 32 do
  1253. for i = 1, 3 do
  1254. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1255. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1256. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1257. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.5 + .1 * math.sin(sine/15),2 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-91 + 1 * math.sin(sine/16))),.2)
  1258. swait()
  1259. end
  1260. coroutine.wrap(function()
  1261. local lazer = Instance.new("Part",Torso)
  1262. lazer.Size = Vector3.new(.07,.07,.07)
  1263. lazer.CanCollide = false
  1264. lazer.Anchored = true
  1265. lazer.CFrame = gunbox.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  1266. lazer.Shape = "Cylinder"
  1267. lazer.Material = "Neon"
  1268. lazer.BrickColor = BrickColor.new("Bright yellow")
  1269. local STARTPOS = gunbox.CFrame*CFrame.new(0,0,0).p
  1270. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  1271. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  1272. lazer.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1273. lazer.Size = Vector3.new(DISTANCE,.25,.25)
  1274. local shoot = Instance.new("Sound",gunbox)
  1275. shoot.SoundId = "rbxassetid://165946560"
  1276. shoot.Volume = 8
  1277. shoot:Play()
  1278. Hit = damagealll(2,ENDPOS)
  1279. for _,v in pairs(Hit) do
  1280. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1281. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1282. slachtoffer:TakeDamage(math.random(7,14))
  1283. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1284. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1285. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1286. vel.velocity = CFrame.new(ENDPOS,torso.Position).lookVector*8
  1287. removeuseless:AddItem(vel,.1)
  1288. end
  1289. end
  1290. removeuseless:AddItem(shoot,10)
  1291. local shell = Instance.new("Part",Torso)
  1292. shell.Anchored = false
  1293. shell.CanCollide = true
  1294. shell.Size = Vector3.new(.15,.15,1.2)
  1295. shell.BrickColor = BrickColor.new("Bright yellow")
  1296. shell.CFrame = gun.CFrame * CFrame.new(0,0,2)
  1297. local shellmesh = Instance.new("SpecialMesh",shell)
  1298. shellmesh.MeshId = "rbxassetid://3182118922"
  1299. shellmesh.Scale = Vector3.new(0.018, 0.018, 0.018)
  1300. shelldidhit = false
  1301. coroutine.wrap(function()
  1302. shell.Touched:connect(function(shellhit)
  1303. if shellhit.Parent.Parent ~= Character and shellhit.Parent ~= Character then
  1304. if shelldidhit then return end
  1305. shelldidhit = true
  1306. r = shellsound2[math.random(1,#shellsound2)]
  1307. local daic = Instance.new("Sound",shell)
  1308. daic.SoundId = "rbxassetid://"..r
  1309. daic.Volume = 10
  1310. daic:Play()
  1311. end
  1312. end)
  1313. for i = 1, 10 do
  1314. shell.CFrame = shell.CFrame:lerp(CFrame.new(gl.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  1315. swait()
  1316. end
  1317. wait(.25)
  1318. for i = 1, 100 do
  1319. shell.Transparency = shell.Transparency + .01
  1320. swait()
  1321. end
  1322. shell:Remove()
  1323. end)()
  1324. for i = 1, 1 do
  1325. local blast = Instance.new("Part",Torso)
  1326. blast.Size = Vector3.new(1,1,1)
  1327. blast.Anchored = true
  1328. blast.CanCollide = false
  1329. blast.Material = "Neon"
  1330. blast.BrickColor = BrickColor.new("Bright yellow")
  1331. blast.CFrame = gunbox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1332. local blast2 = Instance.new("Part",Torso)
  1333. blast2.Size = Vector3.new(.5,.5,.5)
  1334. blast2.Anchored = true
  1335. blast2.CanCollide = false
  1336. blast2.Material = "Neon"
  1337. blast2.BrickColor = BrickColor.new("Bright yellow")
  1338. blast2.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1339. coroutine.wrap(function()
  1340. for i = 1, 2 do
  1341. blast2.CFrame = blast2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1342. blast.CFrame = blast.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1343. swait()
  1344. end
  1345. lazer:Remove()
  1346. blast2:Remove()
  1347. blast:Remove()
  1348. end)()
  1349. end
  1350. end)()
  1351. for i = 1, 2 do
  1352. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1353. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),.25) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1354. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.35) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.4)
  1355. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.4 + .1 * math.sin(sine/15),1.7 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 1 * math.sin(sine/16))),.4)
  1356. swait()
  1357. end
  1358. swait()
  1359. end
  1360. local tsound = Instance.new("Sound",gun)
  1361. tsound.SoundId = "rbxassetid://2323955180"
  1362. tsound.Volume = 10
  1363. tsound:Play()
  1364. removeuseless:AddItem(tsound,6)
  1365. local mag = gun3:Clone() mag.Parent = Torso
  1366. for i,v in pairs(mag:GetDescendants()) do
  1367. if v:IsA("ManualWeld") then v:Remove() end end
  1368. mag.Size = Vector3.new(.5,.5,.5)
  1369. mag.CanCollide = true
  1370. coroutine.wrap(function()
  1371. wait(10)
  1372. for i = 1, 40 do
  1373. mag.Transparency = mag.Transparency + .025
  1374. swait()
  1375. end
  1376. end)()
  1377. else
  1378. for i = 1, 7 do
  1379. for i = 1, 15 do
  1380. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1381. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1382. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1383. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.5 + .1 * math.sin(sine/15),2 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-91 + 1 * math.sin(sine/16))),.2)
  1384. swait()
  1385. end
  1386. coroutine.wrap(function()
  1387. local lazer = Instance.new("Part",Torso)
  1388. lazer.Size = Vector3.new(.15,.15,.15)
  1389. lazer.CanCollide = false
  1390. lazer.Anchored = true
  1391. lazer.CFrame = gunbox.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  1392. lazer.Shape = "Cylinder"
  1393. lazer.Material = "Neon"
  1394. lazer.BrickColor = BrickColor.new("Bright yellow")
  1395. local STARTPOS = gunbox.CFrame*CFrame.new(0,0,0).p
  1396. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  1397. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  1398. lazer.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1399. lazer.Size = Vector3.new(DISTANCE,1,1)
  1400. local shoot = Instance.new("Sound",gunbox)
  1401. shoot.SoundId = "rbxassetid://131205975"
  1402. shoot.Volume = 8
  1403. shoot:Play()
  1404. Hit = damagealll(3,ENDPOS)
  1405. for _,v in pairs(Hit) do
  1406. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1407. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1408. slachtoffer:TakeDamage(math.random(26,41))
  1409. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1410. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1411. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1412. vel.velocity = CFrame.new(ENDPOS,torso.Position).lookVector*7
  1413. removeuseless:AddItem(vel,.1)
  1414. end
  1415. end
  1416. removeuseless:AddItem(shoot,10)
  1417. local shell = Instance.new("Part",Torso)
  1418. shell.Anchored = false
  1419. shell.CanCollide = true
  1420. shell.Size = Vector3.new(.3,.3,2)
  1421. shell.BrickColor = BrickColor.new("Bright yellow")
  1422. shell.CFrame = gun.CFrame * CFrame.new(0,0,-4)
  1423. local shellmesh = Instance.new("SpecialMesh",shell)
  1424. shellmesh.MeshId = "rbxassetid://3182118922"
  1425. shellmesh.Scale = Vector3.new(0.03, 0.03, 0.03)
  1426. shelldidhit = false
  1427. coroutine.wrap(function()
  1428. shell.Touched:connect(function(shellhit)
  1429. if shellhit.Parent.Parent ~= Character and shellhit.Parent ~= Character then
  1430. if shelldidhit then return end
  1431. shelldidhit = true
  1432. r = shellsound2[math.random(1,#shellsound2)]
  1433. local daic = Instance.new("Sound",shell)
  1434. daic.SoundId = "rbxassetid://"..r
  1435. daic.Volume = 10
  1436. daic:Play()
  1437. end
  1438. end)
  1439. for i = 1, 10 do
  1440. shell.CFrame = shell.CFrame:lerp(CFrame.new(gl.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  1441. swait()
  1442. end
  1443. wait(15)
  1444. for i = 1, 100 do
  1445. shell.Transparency = shell.Transparency + .01
  1446. swait()
  1447. end
  1448. shell:Remove()
  1449. end)()
  1450. for i = 1, 3 do
  1451. local blast = Instance.new("Part",Torso)
  1452. blast.Size = Vector3.new(2,2,2)
  1453. blast.Anchored = true
  1454. blast.CanCollide = false
  1455. blast.Material = "Neon"
  1456. blast.BrickColor = BrickColor.new("Bright yellow")
  1457. blast.CFrame = gunbox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1458. local blast2 = Instance.new("Part",Torso)
  1459. blast2.Size = Vector3.new(1.25,1.25,1.25)
  1460. blast2.Anchored = true
  1461. blast2.CanCollide = false
  1462. blast2.Material = "Neon"
  1463. blast2.BrickColor = BrickColor.new("Bright yellow")
  1464. blast2.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1465. coroutine.wrap(function()
  1466. for i = 1, 4 do
  1467. blast2.CFrame = blast2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1468. blast.CFrame = blast.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1469. swait()
  1470. end
  1471. lazer:Remove()
  1472. blast2:Remove()
  1473. blast:Remove()
  1474. end)()
  1475. end
  1476. end)()
  1477. for i = 1, 7 do
  1478. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1479. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),.25) * CFrame.Angles(math.rad(-10 + 2 * math.sin(sine/22)),math.rad(90 - 2 * math.sin(sine/21)),math.rad(10 - 2 * math.sin(sine/23))),.1)
  1480. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.35) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.4)
  1481. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(1.4 + .1 * math.sin(sine/15),1.7 - .05 * math.sin(sine/14),1 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(00 + 0 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 1 * math.sin(sine/16))),.4)
  1482. swait()
  1483. end
  1484. swait()
  1485. end
  1486. local tsound = Instance.new("Sound",gun)
  1487. tsound.SoundId = "rbxassetid://2323955180"
  1488. tsound.Volume = 10
  1489. tsound:Play()
  1490. removeuseless:AddItem(tsound,6)
  1491. local mag = gun3:Clone() mag.Parent = Torso
  1492. for i,v in pairs(mag:GetDescendants()) do
  1493. if v:IsA("ManualWeld") then v:Remove() end end
  1494. mag.Size = Vector3.new(.5,.5,.5)
  1495. mag.CanCollide = true
  1496. coroutine.wrap(function()
  1497. wait(10)
  1498. for i = 1, 40 do
  1499. mag.Transparency = mag.Transparency + .025
  1500. swait()
  1501. end
  1502. end)()
  1503. end
  1504. removeuseless:AddItem(g1,.001)
  1505. sidekickshootanim = false
  1506. elseif Press=='b' then
  1507. if glasson then
  1508. if glassonp then return end
  1509. glassonp = true
  1510. glasson = false
  1511. for i = 1, 20 do
  1512. glasses.Transparency = glasses.Transparency + .05
  1513. swait()
  1514. end
  1515. glassonp = false
  1516. else
  1517. if glassonp then return end
  1518. glassonp = true
  1519. glasson = true
  1520. for i = 1, 20 do
  1521. glasses.Transparency = glasses.Transparency - .05
  1522. swait()
  1523. end
  1524. glassonp = false
  1525. end
  1526. elseif Press=='j' then
  1527. if sidekick then return end
  1528. if debounce then return end
  1529. if invisible then
  1530. ws = 0
  1531. attacking = true
  1532. debounce = true
  1533. local cy = Instance.new("Part",Torso)
  1534. cy.Size = Vector3.new(0,.1,.1)
  1535. cy.Anchored = true
  1536. cy.Shape = "Cylinder"
  1537. cy.Material = "Neon"
  1538. cy.BrickColor = BrickColor.new("White")
  1539. cy.CanCollide = false
  1540. cy.CFrame = Root.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  1541. local portalopen = Instance.new("Sound",cy)
  1542. portalopen.SoundId = "rbxassetid://1888686669"
  1543. portalopen.Volume = 10
  1544. portalopen:Play()
  1545. for i = 1, 20 do
  1546. cy.Size = cy.Size + Vector3.new(0,.5,.5)
  1547. swait()
  1548. end
  1549. wait(.5)
  1550. doomtheme.Volume = 0
  1551. local m = Instance.new("Sound",Torso)
  1552. m.SoundId = "rbxassetid://148894535"
  1553. m.Volume = 10
  1554. m:Play()
  1555. for i = 1, 20 do
  1556. doomtheme.Volume = doomtheme.Volume + .2
  1557. slaten.Transparency = slaten.Transparency - .05
  1558. slaten2.Transparency = slaten2.Transparency - .05
  1559. eyo.Transparency = eyo.Transparency - .05
  1560. fedora.Transparency = fedora.Transparency - .05
  1561. mask.Transparency = mask.Transparency - .05
  1562. Torso.Transparency = Torso.Transparency - .05
  1563. RightLeg.Transparency = RightLeg.Transparency - .05
  1564. LeftLeg.Transparency = LeftLeg.Transparency - .05
  1565. RightArm.Transparency = RightArm.Transparency - .05
  1566. LeftArm.Transparency = LeftArm.Transparency - .05
  1567. Head.Transparency = Head.Transparency - .05
  1568. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1569. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(10), math.rad(2), math.rad(10)), 0.2)
  1570. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.2)
  1571. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 7, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.2)
  1572. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1573. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1574. swait()
  1575. end
  1576. coroutine.wrap(function()
  1577. for i = 1, 20 do
  1578. cy.Size = cy.Size - Vector3.new(0,.5,.5)
  1579. swait()
  1580. end
  1581. cy:Remove()
  1582. end)()
  1583. for i = 1, 20 do
  1584. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), .2)
  1585. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, .3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), .2)
  1586. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(7), math.rad(0)), .2)
  1587. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(10), math.rad(0)), .2)
  1588. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), .2)
  1589. swait()
  1590. end
  1591. debounce = false
  1592. attacking = false
  1593. invisible = false
  1594. ws = 32
  1595. else
  1596. debounce = true
  1597. attacking = true
  1598. ws = 0
  1599. for i = 1, 15 do
  1600. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1601. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1602. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1603. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  1604. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1605. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  1606. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1607. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  1608. swait()
  1609. end
  1610. local cy = Instance.new("Part",Torso)
  1611. cy.Size = Vector3.new(0,.1,.1)
  1612. cy.Anchored = true
  1613. cy.Shape = "Cylinder"
  1614. cy.Material = "Neon"
  1615. cy.BrickColor = BrickColor.new("White")
  1616. cy.CanCollide = false
  1617. cy.CFrame = Root.CFrame * CFrame.new(0,5,8) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1618. local portalopen = Instance.new("Sound",cy)
  1619. portalopen.SoundId = "rbxassetid://1888686669"
  1620. portalopen.Volume = 10
  1621. portalopen:Play()
  1622. for i = 1, 20 do
  1623. cy.Size = cy.Size + Vector3.new(0,.5,.5)
  1624. swait()
  1625. end
  1626. wait(.5)
  1627. local m = Instance.new("Sound",Torso)
  1628. m.SoundId = "rbxassetid://148894535"
  1629. m.Volume = 10
  1630. m:Play()
  1631. removeuseless:AddItem(m,6)
  1632. invisible = true
  1633. for i = 1, 20 do
  1634. doomtheme.Volume = doomtheme.Volume - .5
  1635. slaten.Transparency = slaten.Transparency + .05
  1636. slaten2.Transparency = slaten2.Transparency + .05
  1637. eyo.Transparency = eyo.Transparency + .05
  1638. fedora.Transparency = fedora.Transparency + .05
  1639. mask.Transparency = mask.Transparency + .05
  1640. Torso.Transparency = Torso.Transparency + .05
  1641. RightLeg.Transparency = RightLeg.Transparency + .05
  1642. LeftLeg.Transparency = LeftLeg.Transparency + .05
  1643. RightArm.Transparency = RightArm.Transparency + .05
  1644. LeftArm.Transparency = LeftArm.Transparency + .05
  1645. Head.Transparency = Head.Transparency + .05
  1646. Root.CFrame = Root.CFrame:lerp(CFrame.new(cy.Position),.2)
  1647. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1648. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  1649. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  1650. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.2)
  1651. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  1652. swait()
  1653. end
  1654. for i = 1, 20 do
  1655. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1656. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1657. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1658. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  1659. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1660. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  1661. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1662. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  1663. cy.Size = cy.Size - Vector3.new(0,.5,.5)
  1664. swait()
  1665. end
  1666. cy:Remove()
  1667. attacking = false
  1668. debounce = false
  1669. ws = 32
  1670. end
  1671. elseif Press=='h' then
  1672. if invisible then return end
  1673. if sidekick then
  1674. if sidekickshootanim then return end
  1675. if debounce then return end
  1676. sidekickshootanim = true
  1677. debounce = true
  1678. attacking = true
  1679. deserteagle = false
  1680. uzi = false
  1681. raygun = false
  1682. ws = 0
  1683. change = .5
  1684. for i = 1, 30 do
  1685. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1686. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1687. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1688. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1689. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1690. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1691. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  1692. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  1693. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1694. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  1695. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1696. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  1697. swait()
  1698. end
  1699. local snap = Instance.new("Sound",Torso)
  1700. snap.SoundId = "rbxassetid://3154155968"
  1701. snap.Volume = 10
  1702. snap:Play()
  1703. coroutine.wrap(function()
  1704. for i = 1, 7 do
  1705. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1706. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  1707. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  1708. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.4)
  1709. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  1710. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.4)
  1711. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.4)
  1712. swait()
  1713. end
  1714. for i = 1, 20 do
  1715. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1716. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1717. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  1718. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  1719. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1720. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  1721. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1722. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  1723. swait()
  1724. end
  1725. attacking = false
  1726. end)()
  1727. local cy = Instance.new("Part",Torso)
  1728. cy.Size = Vector3.new(0,.1,.1)
  1729. cy.Anchored = true
  1730. cy.Shape = "Cylinder"
  1731. cy.Material = "Neon"
  1732. cy.BrickColor = BrickColor.new("White")
  1733. cy.CanCollide = false
  1734. cy.CFrame = Root.CFrame * CFrame.new(5,2.5,4) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1735. local portalopen = Instance.new("Sound",cy)
  1736. portalopen.SoundId = "rbxassetid://1888686669"
  1737. portalopen.Volume = 10
  1738. portalopen:Play()
  1739. for i = 1, 20 do
  1740. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1741. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1742. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1743. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1744. cy.Size = cy.Size + Vector3.new(0,.4,.4)
  1745. swait()
  1746. end
  1747. for i = 1, 30 do
  1748. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  1749. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  1750. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  1751. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  1752. swait()
  1753. end
  1754. for i = 1, 20 do
  1755. thedice.CFrame = thedice.CFrame:lerp(CFrame.new(cy.Position),.2)
  1756. righthand.Transparency = righthand.Transparency + .05
  1757. righthand2.Transparency = righthand2.Transparency + .05
  1758. thedice.Transparency = thedice.Transparency + .05
  1759. fedora2.Transparency = fedora2.Transparency + .05
  1760. glasses.Transparency = glasses.Transparency + .05
  1761. hair.Transparency = hair.Transparency + .05
  1762. gun.Transparency = gun.Transparency + .05
  1763. gun2.Transparency = gun2.Transparency + .05
  1764. gun3.Transparency = gun3.Transparency + .05
  1765. gun4.Transparency = gun4.Transparency + .05
  1766. swait()
  1767. end
  1768. for i = 1, 20 do
  1769. cy.Size = cy.Size - Vector3.new(0,.4,.4)
  1770. swait()
  1771. end
  1772. cy:Remove()
  1773. thedice:Remove()
  1774. fedora2:Remove()
  1775. glasses:Remove()
  1776. righthand:Remove()
  1777. righthand2:Remove()
  1778. hair:Remove()
  1779. gun:Remove()
  1780. gun2:Remove()
  1781. mouth:Remove()
  1782. gun3:Remove()
  1783. gun4:Remove()
  1784. gunbox:Remove()
  1785. eyes:Remove()
  1786. sidekickshootanim = false
  1787. sidekick = false
  1788. debounce = false
  1789. else
  1790. if debounce then return end
  1791. debounce = true
  1792. attacking = true
  1793. sidekick = true
  1794. deserteagle = true
  1795. uzi = false
  1796. raygun = false
  1797. glasson = true
  1798. ws = 0
  1799. change = .5
  1800. for i = 1, 30 do
  1801. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1802. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1803. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  1804. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  1805. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1806. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  1807. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1808. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  1809. swait()
  1810. end
  1811. local snap = Instance.new("Sound",Torso)
  1812. snap.SoundId = "rbxassetid://3154155968"
  1813. snap.Volume = 10
  1814. snap:Play()
  1815. coroutine.wrap(function()
  1816. for i = 1, 7 do
  1817. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1818. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  1819. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  1820. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.4)
  1821. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  1822. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.4)
  1823. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.4)
  1824. swait()
  1825. end
  1826. for i = 1, 30 do
  1827. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  1828. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  1829. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  1830. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  1831. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1832. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  1833. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1834. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  1835. swait()
  1836. end
  1837. end)()
  1838. local cy = Instance.new("Part",Torso)
  1839. cy.Size = Vector3.new(0,.1,.1)
  1840. cy.Anchored = true
  1841. cy.Shape = "Cylinder"
  1842. cy.Material = "Neon"
  1843. cy.BrickColor = BrickColor.new("White")
  1844. cy.CanCollide = false
  1845. cy.CFrame = Root.CFrame * CFrame.new(5,2.5,4) * CFrame.Angles(math.rad(0),math.rad(90),0)
  1846. local portalopen = Instance.new("Sound",cy)
  1847. portalopen.SoundId = "rbxassetid://1888686669"
  1848. portalopen.Volume = 10
  1849. portalopen:Play()
  1850. for i = 1, 20 do
  1851. cy.Size = cy.Size + Vector3.new(0,.4,.4)
  1852. swait()
  1853. end
  1854. wait(.5)
  1855. local entrysound={3182251817,3182252095,3182259340,3182291263,3182444133,3182443830}
  1856. local z = entrysound[math.random(1,#entrysound)]
  1857. thedice = Instance.new("Part",Torso)
  1858. thedice.CanCollide = true
  1859. thedice.CFrame = cy.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0))
  1860. thedice.Anchored = true
  1861. thedice.Transparency = 1
  1862. thedice.CanCollide = false
  1863. thedice.Size = Vector3.new(6,6,6)
  1864. local dicemesh = Instance.new("SpecialMesh",thedice)
  1865. dicemesh.MeshId = "rbxassetid://95358536"
  1866. dicemesh.TextureId = "rbxassetid://100025876"
  1867. dicemesh.Scale = Vector3.new(.75,.75,.75)
  1868. local entrys = Instance.new("Sound",thedice)
  1869. entrys.SoundId = "rbxassetid://"..z
  1870. entrys.Volume = 10
  1871. entrys:Play()
  1872. removeuseless:AddItem(entrys,4)
  1873. fedora2 = Instance.new("Part",Character)
  1874. fedora2.Size = Vector3.new(2,2,2)
  1875. fedora2.CFrame = thedice.CFrame
  1876. fedora2.CanCollide = false
  1877. fedora2.Transparency = 1
  1878. fedoraweld2 = Instance.new("Weld",fedora2)
  1879. fedoraweld2.Part0 = fedora2
  1880. fedoraweld2.Part1 = thedice
  1881. fedoraweld2.C0 = fedora2.CFrame:inverse() * thedice.CFrame * CFrame.new(-.1,-2.04,.125) * CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0))
  1882. mfedora2 = Instance.new("SpecialMesh", fedora2)
  1883. mfedora2.MeshType = "FileMesh"
  1884. mfedora2.Scale = Vector3.new(2.16, 2.16, 2.16)
  1885. mfedora2.MeshId,mfedora2.TextureId = 'http://www.roblox.com/asset/?id=11144636','http://www.roblox.com/asset/?id=1416342992'
  1886. hair = Instance.new("Part",Torso)
  1887. hair.BrickColor = BrickColor.new("Really black")
  1888. hair.Anchored = false
  1889. hair.CanCollide = false
  1890. hair.Transparency = 1
  1891. hairm = Instance.new("SpecialMesh",hair)
  1892. hairm.MeshId = "rbxassetid://949790989"
  1893. hairm.TextureId = "rbxassetid://949798362"
  1894. hairm.Scale = Vector3.new(2.95,2.75,2.75)
  1895. hairm.VertexColor = Vector3.new(0,0,0)
  1896. hairweld = weldBetween(hair,fedora2)
  1897. hairweld.C0 = CFrame.new(-.125,4.9,.2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  1898. glasses = Instance.new("Part",Torso)
  1899. glasses.Size = Vector3.new(1,1,1)
  1900. glasses.BrickColor = BrickColor.new("Really black")
  1901. glasses.Anchored = false
  1902. glasses.CanCollide = false
  1903. glasses.Transparency = 1
  1904. glassesweld = weldBetween(glasses,hair)
  1905. glassesweld.C0 = CFrame.new(-.28,-3,0) * CFrame.Angles(math.rad(0),0,math.rad(-5))
  1906. glassesmesh = Instance.new("SpecialMesh",glasses)
  1907. glassesmesh.MeshId = "rbxassetid://1577360"
  1908. glassesmesh.TextureId = "rbxassetid://1577349"
  1909. glassesmesh.Scale = Vector3.new(2.2,2.2,2.2)
  1910. eyes = Instance.new("Part",Torso)
  1911. eyes.Size = Vector3.new(2.15, 1.992, 0.556)
  1912. eyes.Anchored = false
  1913. eyes.Transparency = 1
  1914. eyes.CanCollide = false
  1915. eyesweld = weldBetween(eyes,glasses)
  1916. eyesweld.C0 = CFrame.new(0,.22,.38)
  1917. eyesdecal = Instance.new("Decal",eyes)
  1918. eyesdecal.Texture = "rbxassetid://849461193"
  1919. eyesdecal.Face = "Front"
  1920. mouth = Instance.new("Part",Torso)
  1921. mouth.Size = Vector3.new(2.05, 1.892, 0.456)
  1922. mouth.Anchored = false
  1923. mouth.Transparency = 1
  1924. mouth.CanCollide = false
  1925. mouthweld = weldBetween(mouth,glasses)
  1926. mouthweld.C0 = CFrame.new(0,.22,.45)
  1927. mouthdecal = Instance.new("Decal",mouth)
  1928. mouthdecal.Texture = "rbxassetid://1772659952"
  1929. mouthdecal.Face = "Front"
  1930. righthand = Instance.new("Part",Torso)
  1931. righthand.Size = Vector3.new(1,1,1)
  1932. righthand.BrickColor = BrickColor.new("White")
  1933. righthand.CanCollide = false
  1934. righthand.Transparency = 1
  1935. righthand.Anchored = false
  1936. righthand.Material = "Neon"
  1937. righthandmesh = Instance.new("SpecialMesh",righthand)
  1938. righthandmesh.MeshId = "rbxassetid://90718752"
  1939. righthandmesh.Scale = Vector3.new(3.2,3.2,3.2)
  1940. righthandweld = weldBetween(righthand,thedice)
  1941. righthandweld.C0 = CFrame.new(2,1.8,.4) * CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-120))
  1942. righthand2 = Instance.new("Part",Torso)
  1943. righthand2.Size = Vector3.new(1,1,1)
  1944. righthand2.BrickColor = BrickColor.new("White")
  1945. righthand2.CanCollide = false
  1946. righthand2.Transparency = 1
  1947. righthand2.Anchored = false
  1948. righthand2.Material = "Neon"
  1949. righthandmesh2 = Instance.new("SpecialMesh",righthand2)
  1950. righthandmesh2.MeshId = "rbxassetid://90718752"
  1951. righthandmesh2.Scale = Vector3.new(3.2,3.2,3.2)
  1952. righthandweld2 = weldBetween(righthand2,thedice)
  1953. righthandweld2.C0 = CFrame.new(0,3,1) * CFrame.Angles(math.rad(-15),math.rad(180),math.rad(0))
  1954. gun = Instance.new("Part",Torso)
  1955. gun.Size = Vector3.new(1,1,1)
  1956. gun.Anchored = false
  1957. gun.Transparency = 1
  1958. gun.CanCollide = false
  1959. gunweld = weldBetween(gun,righthand)
  1960. gunweld.C0 = CFrame.new(0,-.3,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  1961. gunmesh = Instance.new("SpecialMesh",gun)
  1962. gunmesh.MeshId = "rbxassetid://431258335"
  1963. gunmesh.Scale = Vector3.new(.003,.003,.003)
  1964. gunmesh.TextureId = "rbxassetid://431259201"
  1965. gl = Instance.new("Part",Torso)
  1966. gl.Size = Vector3.new(1,1,1)
  1967. gl.Anchored = false
  1968. gl.Transparency = 1
  1969. gl.CanCollide = false
  1970. gl.CFrame = gun.CFrame
  1971. glweld = weldBetween(gl,gun)
  1972. glweld.C0 = CFrame.new(-4,0,0)
  1973. gun2 = Instance.new("Part",Torso)
  1974. gun2.Size = Vector3.new(1,1,1)
  1975. gun2.Anchored = false
  1976. gun2.Transparency = 1
  1977. gun2.CanCollide = false
  1978. gunweld2 = weldBetween(gun2,righthand)
  1979. gunweld2.C0 = CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  1980. gunmesh2 = Instance.new("SpecialMesh",gun2)
  1981. gunmesh2.MeshId = "rbxassetid://431258457"
  1982. gunmesh2.Scale = Vector3.new(.003,.003,.003)
  1983. gunmesh2.TextureId = "rbxassetid://431259201"
  1984. gun3 = Instance.new("Part",Torso)
  1985. gun3.Size = Vector3.new(1,1,1)
  1986. gun3.Anchored = false
  1987. gun3.Transparency = 1
  1988. gun3.CanCollide = false
  1989. gunweld3 = weldBetween(gun3,righthand)
  1990. gunweld3.C0 = CFrame.new(0,-.05,.1) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180))
  1991. gunmesh3 = Instance.new("SpecialMesh",gun3)
  1992. gunmesh3.MeshId = "rbxassetid://431258382"
  1993. gunmesh3.Scale = Vector3.new(.003,.003,.003)
  1994. gunmesh3.TextureId = "rbxassetid://431259201"
  1995. gun4 = Instance.new("Part",Torso)
  1996. gun4.Size = Vector3.new(.5,2.4,.1)
  1997. gun4.Anchored = false
  1998. gun4.CanCollide = false
  1999. gun4.BrickColor = BrickColor.new("Really black")
  2000. gun4weld = weldBetween(gun4,righthand)
  2001. gun4weld.C0 = CFrame.new(-.8,1,0)
  2002. gunbox = Instance.new("Part",Torso)
  2003. gunbox.Size = Vector3.new(1,1,1)
  2004. gunbox.Anchored = false
  2005. gunbox.CanCollide = false
  2006. gunbox.Transparency = 1
  2007. gunboxweld = weldBetween(gunbox,gun2)
  2008. gunboxweld.C0 = CFrame.new(0,0,-2)
  2009. coroutine.wrap(function()
  2010. for i = 1, 20 do
  2011. thedice.Transparency = thedice.Transparency - .05
  2012. fedora2.Transparency = fedora2.Transparency - .05
  2013. hair.Transparency = hair.Transparency - .05
  2014. glasses.Transparency = glasses.Transparency - .05
  2015. righthand.Transparency = righthand.Transparency - .05
  2016. righthand2.Transparency = righthand2.Transparency - .05
  2017. gun.Transparency = gun.Transparency - .05
  2018. gun2.Transparency = gun2.Transparency - .05
  2019. gun3.Transparency = gun3.Transparency - .05
  2020. swait()
  2021. end
  2022. hair.Transparency = .001
  2023. end)()
  2024. coroutine.wrap(function()
  2025. wait(1)
  2026. for i = 1, 20 do
  2027. cy.Size = cy.Size - Vector3.new(0,.4,.4)
  2028. swait()
  2029. end
  2030. cy:Remove()
  2031. end)()
  2032. coroutine.wrap(function()
  2033. while sidekick do
  2034. if sidekickshootanim then
  2035. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  2036. else
  2037. gunweld2.C0 = gunweld2.C0:lerp(CFrame.new(0,-.9,-.85) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(180)),.2)
  2038. righthandweld.C0 = righthandweld.C0:lerp(CFrame.new(2 + .1 * math.sin(sine/15),1.8 - .05 * math.sin(sine/14),.4 + .02 * math.sin(sine/18)) * CFrame.Angles(math.rad(-20 + 2 * math.sin(sine/18)),math.rad(20),math.rad(-120 + 8 * math.sin(sine/16))),.2)
  2039. righthandweld2.C0 = righthandweld2.C0:lerp(CFrame.new(0,3 + .06 * math.sin(sine/14),1) * CFrame.Angles(math.rad(-15 + 3 * math.sin(sine/14)),math.rad(180 + 8 * math.sin(sine/16)),math.rad(0)),.2)
  2040. thedice.CFrame = thedice.CFrame:lerp(Root.CFrame * CFrame.new(5 + .3 * math.sin(sine/22),2.1 + .25 * math.sin(sine/16),0) * CFrame.Angles(math.rad(10 + 2 * math.sin(sine/22)),math.rad(120 - 2 * math.sin(sine/21)),math.rad(-10 - 2 * math.sin(sine/23))),.1)
  2041. end
  2042. swait()
  2043. end
  2044. end)()
  2045. ws = 32
  2046. debounce = false
  2047. attacking = false
  2048. end
  2049. elseif Press=='f' then
  2050. if debounce then return end
  2051. if secondform then
  2052. debounce = true
  2053. local z = {
  2054. Color = BrickColor.new("White").Color
  2055. }
  2056. local f = game:GetService("TweenService"):Create(eyo,TweenInfo.new(.5,Enum.EasingStyle.Linear),z)
  2057. f:Play()
  2058. local cooldown = Instance.new("Sound",Torso)
  2059. cooldown.SoundId = "rbxassetid://1659770705"
  2060. cooldown.Volume = 10
  2061. cooldown.Pitch = .8
  2062. cooldown:Play()
  2063. removeuseless:AddItem(cooldown,10)
  2064. for i = 1, 20 do
  2065. doomtheme.Volume = doomtheme.Volume - .5
  2066. swait()
  2067. end
  2068. dmt2random = dmt2[math.random(1,#dmt2)]
  2069. doomtheme.Volume = 0
  2070. doomtheme.SoundId = "rbxassetid://"..dmt2random
  2071. doomtheme:Play()
  2072. for i = 1, 20 do
  2073. doomtheme.Volume = doomtheme.Volume + .2
  2074. swait()
  2075. end
  2076. b:Remove()
  2077. b2:Remove()
  2078. b3:Remove()
  2079. secondform = false
  2080. debounce = false
  2081. else
  2082. debounce = true
  2083. secondform = true
  2084. local c = Instance.new("Sound",Torso)
  2085. c.SoundId = "rbxassetid://3206852726"
  2086. c.Volume = 10
  2087. c:Play()
  2088. coroutine.wrap(function()
  2089. for i = 1, 20 do
  2090. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  2091. doomtheme.Volume = doomtheme.Volume - .5
  2092. swait()
  2093. end
  2094. hum.CameraOffset = Vector3.new(0,0,0)
  2095. end)()
  2096. for i = 1, 5 do
  2097. wait(.05)
  2098. eyo.BrickColor = BrickColor.new("Really black")
  2099. wait(.05)
  2100. eyo.BrickColor = BrickColor.new("Really red")
  2101. swait()
  2102. end
  2103. wait(1)
  2104. coroutine.wrap(function()
  2105. b = Instance.new("Part",Torso)
  2106. b.Size = Vector3.new(1,1,1)
  2107. b.Anchored = false
  2108. b.CanCollide = false
  2109. b.Transparency = 1
  2110. bweld = weldBetween(b,Root)
  2111. b2 = Instance.new("Part",Torso)
  2112. b2.Size = Vector3.new(1,1,1)
  2113. b2.Anchored = false
  2114. b2.Transparency = 1
  2115. b2.CanCollide = false
  2116. bweld2 = weldBetween(b2,b)
  2117. bweld2.C0 = CFrame.new(0,4,3.2)
  2118. b3 = Instance.new("Part",Torso)
  2119. b3.Size = Vector3.new(1,1,1)
  2120. b3.Anchored = false
  2121. b3.Transparency = 1
  2122. b3.CanCollide = false
  2123. bweld3 = weldBetween(b3,b)
  2124. bweld3.C0 = CFrame.new(0,4,-3.2)
  2125. coroutine.wrap(function()
  2126. while true do
  2127. if not secondform then break end
  2128. if invisible then
  2129. else
  2130. bweld2.C0 = bweld2.C0 * CFrame.Angles(math.rad(0),math.rad(0+5),0)
  2131. bweld3.C0 = bweld3.C0 * CFrame.Angles(math.rad(0),math.rad(0+5),0)
  2132. end
  2133. swait()
  2134. end
  2135. end)()
  2136. local l = 0
  2137. while wait(.1) do
  2138. l = l + 2
  2139. if not secondform then break end
  2140. if invisible then
  2141. else
  2142. local dice = Instance.new("Part",Torso)
  2143. dice.Anchored = true
  2144. dice.CanCollide = false
  2145. dice.Size = Vector3.new(1,1,1)
  2146. dice.CFrame = b2.CFrame
  2147. local dmeshs = math.random(.4,.7)
  2148. local dicemesh = Instance.new("SpecialMesh",dice)
  2149. dicemesh.MeshId = "rbxassetid://95358536"
  2150. dicemesh.TextureId = "rbxassetid://100025876"
  2151. dicemesh.Scale = Vector3.new(.25,.25,.25)
  2152. local dice2 = Instance.new("Part",Torso)
  2153. dice2.Anchored = true
  2154. dice2.CanCollide = false
  2155. dice2.Size = Vector3.new(1,1,1)
  2156. dice2.CFrame = b3.CFrame
  2157. local dmeshs2 = math.random(.4,.7)
  2158. local dicemesh2 = Instance.new("SpecialMesh",dice2)
  2159. dicemesh2.MeshId = "rbxassetid://95358536"
  2160. dicemesh2.TextureId = "rbxassetid://100025876"
  2161. dicemesh2.Scale = Vector3.new(.25,.25,.25)
  2162. local a = math.random(-180,180)
  2163. local b = math.random(-180,180)
  2164. local c = math.random(-180,180)
  2165. coroutine.wrap(function()
  2166. for i = 1, 80 do
  2167. dice.CFrame = dice.CFrame:lerp(b2.CFrame * CFrame.new(0,12,0) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.05)
  2168. dice.Transparency = dice.Transparency + .015
  2169. dice2.CFrame = dice2.CFrame:lerp(b3.CFrame * CFrame.new(0,12,0) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.05)
  2170. dice2.Transparency = dice2.Transparency + .015
  2171. swait()
  2172. end
  2173. dice:Remove()
  2174. end)()
  2175. end
  2176. swait()
  2177. end
  2178. end)()
  2179. coroutine.wrap(function()
  2180. while true do
  2181. if not secondform then break end
  2182. if invisible then
  2183. else
  2184. local dicl = Instance.new("Part",Torso)
  2185. dicl.Size = Vector3.new(1,1,1)
  2186. dicl.Anchored = true
  2187. dicl.Transparency = 1
  2188. dicl.CanCollide = false
  2189. dicl.CFrame = Root.CFrame * CFrame.new(math.random(-20,20),-5,math.random(-20,20))
  2190. local dice = Instance.new("Part",Torso)
  2191. dice.Anchored = true
  2192. dice.CanCollide = false
  2193. dice.Size = Vector3.new(1,1,1)
  2194. dice.CFrame = dicl.CFrame
  2195. local dmeshs = math.random(.4,.7)
  2196. local dicemesh = Instance.new("SpecialMesh",dice)
  2197. dicemesh.MeshId = "rbxassetid://95358536"
  2198. dicemesh.TextureId = "rbxassetid://100025876"
  2199. dicemesh.Scale = Vector3.new(.6,.6,.6)
  2200. local a = math.random(-180,180)
  2201. local b = math.random(-180,180)
  2202. local c = math.random(-180,180)
  2203. coroutine.wrap(function()
  2204. for i = 1, 1 do
  2205. wait(.2)
  2206. local tr = Instance.new("Part",Torso)
  2207. tr.Size = Vector3.new(2,2,2)
  2208. tr.Anchored = true
  2209. tr.CanCollide = false
  2210. tr.Transparency = .5
  2211. tr.BrickColor = BrickColor.new("White")
  2212. tr.Material = "Neon"
  2213. tr.CFrame = dice.CFrame
  2214. local z = {
  2215. Color = BrickColor.new("Crimson").Color
  2216. }
  2217. local sm = smoothen:Create(tr,TweenInfo.new(.1,Enum.EasingStyle.Linear),z)
  2218. sm:Play()
  2219. coroutine.wrap(function()
  2220. for i = 1, 40 do
  2221. tr.Size = tr.Size - Vector3.new(.05,.05,.05)
  2222. tr.CFrame = tr.CFrame:lerp(CFrame.new(Root.Position) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.1)
  2223. tr.Transparency = tr.Transparency + .025
  2224. swait()
  2225. end
  2226. tr:Remove()
  2227. end)()
  2228. swait()
  2229. end
  2230. end)()
  2231. coroutine.wrap(function()
  2232. for i = 1, 2 do
  2233. wait(.2)
  2234. local tr = Instance.new("Part",Torso)
  2235. tr.Size = Vector3.new(2,2,2)
  2236. tr.Anchored = true
  2237. tr.CanCollide = false
  2238. tr.Transparency = .25
  2239. tr.BrickColor = BrickColor.new("White")
  2240. tr.Material = "Neon"
  2241. tr.CFrame = dice.CFrame
  2242. coroutine.wrap(function()
  2243. for i = 1, 40 do
  2244. tr.Size = tr.Size - Vector3.new(.05,.05,.05)
  2245. tr.Transparency = tr.Transparency + .025
  2246. swait()
  2247. end
  2248. tr:Remove()
  2249. end)()
  2250. swait()
  2251. end
  2252. end)()
  2253. coroutine.wrap(function()
  2254. for i = 1, 60 do
  2255. dice.CFrame = dice.CFrame:lerp(CFrame.new(dicl.Position) * CFrame.new(0,15,0) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.04)
  2256. dice.Transparency = dice.Transparency + .017
  2257. swait()
  2258. end
  2259. dice:Remove()
  2260. dicl:Remove()
  2261. end)()
  2262. end
  2263. swait(10)
  2264. end
  2265. end)()
  2266. local fp = Instance.new("Sound",Torso)
  2267. fp.SoundId = "rbxassetid://3206874211"
  2268. fp.Volume = 8
  2269. fp:Play()
  2270. local thousand = secondtheme[math.random(1,#secondtheme)]
  2271. doomtheme.SoundId = "rbxassetid://"..thousand
  2272. if doomtheme.SoundId == "rbxassetid://561542239" then
  2273. doomtheme.TimePosition = 14
  2274. else
  2275. doomtheme.TimePosition = 0
  2276. end
  2277. doomtheme:Play()
  2278. coroutine.wrap(function()
  2279. for i = 1, 40 do
  2280. doomtheme.Volume = doomtheme.Volume + .1
  2281. swait()
  2282. end
  2283. end)()
  2284. attacking = false
  2285. debounce = false
  2286. end
  2287. elseif Press=='g' then
  2288. if debounce then return end
  2289. debounce = true
  2290. attacking = true
  2291. ws = 0
  2292. for i = 1, 30 do
  2293. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2294. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2295. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  2296. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  2297. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2298. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2299. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2300. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2301. swait()
  2302. end
  2303. coroutine.wrap(function()
  2304. for i = 1, 7 do
  2305. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2306. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  2307. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  2308. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.4)
  2309. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  2310. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.4)
  2311. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.4)
  2312. swait()
  2313. end
  2314. for i = 1, 30 do
  2315. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2316. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2317. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  2318. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  2319. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2320. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2321. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2322. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2323. swait()
  2324. end
  2325. while true do
  2326. if not attacking then break end
  2327. change = .5
  2328. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2329. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2330. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  2331. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  2332. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2333. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2334. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2335. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2336. swait()
  2337. end
  2338. end)()
  2339. local snap = Instance.new("Sound",Torso)
  2340. snap.SoundId = "rbxassetid://3154155968"
  2341. snap.Volume = 10
  2342. snap:Play()
  2343. local zm = Instance.new("Part",Torso)
  2344. zm.Anchored = false
  2345. zm.CanCollide = false
  2346. zm.Transparency = 1
  2347. zm.Size = Vector3.new(1,1,1)
  2348. zmweld = weldBetween(zm,Torso)
  2349. zmweld.C0 = CFrame.new(0,0,5) * CFrame.Angles(math.rad(0),math.rad(30),0)
  2350. local z = math.random(1,1)
  2351. if z == 1 then
  2352. local z1 = true
  2353. local cy = Instance.new("Part",Torso)
  2354. cy.Size = Vector3.new(0,.1,.1)
  2355. cy.Anchored = true
  2356. cy.Shape = "Cylinder"
  2357. cy.Material = "Neon"
  2358. cy.BrickColor = BrickColor.new("White")
  2359. cy.CanCollide = false
  2360. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2361. local portalopen = Instance.new("Sound",cy)
  2362. portalopen.SoundId = "rbxassetid://1888686669"
  2363. portalopen.Volume = 10
  2364. portalopen:Play()
  2365. coroutine.wrap(function()
  2366. while z1 do
  2367. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2368. swait()
  2369. end
  2370. end)()
  2371. for i = 1, 20 do
  2372. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2373. swait()
  2374. end
  2375. wait(.25)
  2376. for i = 1, 20 do
  2377. cy.Size = cy.Size + Vector3.new(0,.3,.3)
  2378. swait()
  2379. end
  2380. local shotgun = Instance.new("Part",Torso)
  2381. shotgun.Size = Vector3.new(2,14,2)
  2382. shotgun.Anchored = true
  2383. shotgun.CanCollide = false
  2384. shotgun.BrickColor = BrickColor.new("White")
  2385. shotgun.Transparency = 1
  2386. shotgun.Material = "Neon"
  2387. shotgun.CFrame = cy.CFrame * CFrame.new(0,0,-2) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90))
  2388. shotgunmesh = Instance.new("SpecialMesh",shotgun)
  2389. shotgunmesh.MeshId = "rbxassetid://71947462"
  2390. shotgunmesh.Scale = Vector3.new(5,5,5)
  2391. SOUND(cy,148894535,10,false,10)
  2392. local shloc = Instance.new("Part",Torso)
  2393. shloc.Anchored = false
  2394. shloc.Size = Vector3.new(1,1,1)
  2395. shloc.Transparency = 1
  2396. shloc.CanCollide = false
  2397. shlocweld = weldBetween(shloc,shotgun)
  2398. shlocweld.C0 = CFrame.new(6,3,-3)
  2399. local hand = Instance.new("Part",Torso)
  2400. hand.Size = Vector3.new(1,1,1)
  2401. hand.Anchored = true
  2402. hand.Transparency = 1
  2403. hand.Material = "Neon"
  2404. hand.CanCollide = false
  2405. hand.CFrame = cy.CFrame * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  2406. hand.BrickColor = BrickColor.new("White")
  2407. handm = Instance.new("SpecialMesh",hand)
  2408. handm.MeshId = "rbxassetid://90718752"
  2409. handm.Scale = Vector3.new(8,8,8)
  2410. local ps = Instance.new("Part",Torso)
  2411. ps.Anchored = true
  2412. ps.CanCollide = false
  2413. ps.Transparency = 1
  2414. ps.Size = Vector3.new(1,1,1)
  2415. ps.CFrame = cy.CFrame * CFrame.new(17,.7,-2)
  2416. for i = 1, 20 do
  2417. hand.Transparency = hand.Transparency - .05
  2418. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(2,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  2419. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(9,0,-2) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90)),.2)
  2420. shotgun.Transparency = shotgun.Transparency - .045
  2421. ps.CFrame = cy.CFrame * CFrame.new(17,1,-2)
  2422. swait()
  2423. end
  2424. coroutine.wrap(function()
  2425. g1 = Instance.new("BodyGyro", Root)
  2426. g1.D = 175
  2427. g1.P = 20000
  2428. g1.MaxTorque = Vector3.new(0,9000,0)
  2429. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  2430. local zcounter = 0
  2431. for i = 1, 4 do
  2432. zcounter = zcounter + 1
  2433. for i = 1, 25 do
  2434. swait()
  2435. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2436. ps.CFrame = cy.CFrame * CFrame.new(17,1,-2)
  2437. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  2438. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(8.8,0,-2) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90)),.2)
  2439. end
  2440. coroutine.wrap(function()
  2441. local lazer = Instance.new("Part",Torso)
  2442. lazer.Size = Vector3.new(1,6,6)
  2443. lazer.CanCollide = false
  2444. lazer.Anchored = true
  2445. lazer.CFrame = ps.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90))
  2446. lazer.Shape = "Cylinder"
  2447. lazer.Material = "Neon"
  2448. lazer.BrickColor = BrickColor.new("Bright yellow")
  2449. local STARTPOS = ps.CFrame*CFrame.new(0,0,0).p
  2450. local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
  2451. local DISTANCE = (STARTPOS - ENDPOS).magnitude
  2452. lazer.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2453. lazer.Size = Vector3.new(DISTANCE,2,2)
  2454. local shoot = Instance.new("Sound",ps)
  2455. shoot.SoundId = "rbxassetid://3178597347"
  2456. shoot.Volume = 10
  2457. shoot:Play()
  2458. local shell = Instance.new("Part",Torso)
  2459. shell.Anchored = false
  2460. shell.CanCollide = true
  2461. shell.Size = Vector3.new(.6,.6,2)
  2462. shell.BrickColor = BrickColor.new("Bright yellow")
  2463. shell.CFrame = shotgun.CFrame * CFrame.new(0,0,-4)
  2464. local shellmesh = Instance.new("SpecialMesh",shell)
  2465. shellmesh.MeshId = "rbxassetid://2604622956"
  2466. shellmesh.Scale = Vector3.new(.12,.12,.12)
  2467. shelldidhit = false
  2468. coroutine.wrap(function()
  2469. shell.Touched:connect(function(shellhit)
  2470. if shellhit.Parent.Parent ~= Character and shellhit.Parent ~= Character then
  2471. if shelldidhit then return end
  2472. shelldidhit = true
  2473. r = shellsound[math.random(1,#shellsound)]
  2474. local daic = Instance.new("Sound",shell)
  2475. daic.SoundId = "rbxassetid://"..r
  2476. daic.Volume = 10
  2477. daic:Play()
  2478. end
  2479. end)
  2480. for i = 1, 10 do
  2481. shell.CFrame = shell.CFrame:lerp(CFrame.new(shloc.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  2482. swait()
  2483. end
  2484. wait(15)
  2485. for i = 1, 100 do
  2486. shell.Transparency = shell.Transparency + .01
  2487. swait()
  2488. end
  2489. shell:Remove()
  2490. end)()
  2491. removeuseless:AddItem(shoot,4)
  2492. Hit = damagealll(7,ENDPOS)
  2493. for _,v in pairs(Hit) do
  2494. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2495. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2496. if secondform then
  2497. slachtoffer.Parent:BreakJoints()
  2498. else
  2499. slachtoffer:TakeDamage(math.random(68,81))
  2500. end
  2501. if secondform then
  2502. coroutine.wrap(function()
  2503. if tauntdebounce then return end
  2504. tauntdebounce = true
  2505. rdnm2 = p1[math.random(1,#p1)]
  2506. tauntsound = Instance.new("Sound", Head)
  2507. tauntsound.Volume = 10
  2508. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  2509. tauntsound.Looped = false
  2510. tauntsound:Play()
  2511. wait(3)
  2512. wait(tauntsound.TimeLength)
  2513. tauntsound:Remove()
  2514. wait(1)
  2515. tauntdebounce = false
  2516. end)()
  2517. end
  2518. if secondform then
  2519. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2520. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2521. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2522. vel.velocity = CFrame.new(ps.Position,torso.Position).lookVector*3250
  2523. removeuseless:AddItem(vel,.1)
  2524. else
  2525. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2526. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2527. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2528. vel.velocity = CFrame.new(ps.Position,torso.Position).lookVector*220
  2529. removeuseless:AddItem(vel,.1)
  2530. end
  2531. end
  2532. end
  2533. for i = 1, 2 do
  2534. local b = Instance.new("Part",Torso)
  2535. b.Size = Vector3.new(4,4,4)
  2536. b.BrickColor = BrickColor.new("Bright yellow")
  2537. b.Anchored = true
  2538. b.CanCollide = false
  2539. b.CFrame = ps.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2540. b.Material = "Neon"
  2541. coroutine.wrap(function()
  2542. for i = 1, 5 do
  2543. b.CFrame = ps.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2544. swait()
  2545. end
  2546. b:Remove()
  2547. lazer:Remove()
  2548. end)()
  2549. local b2 = Instance.new("Part",Torso)
  2550. b2.Size = Vector3.new(2.5,2.5,2.5)
  2551. b2.BrickColor = BrickColor.new("Bright yellow")
  2552. b2.Anchored = true
  2553. b2.CanCollide = false
  2554. b2.CFrame = ps.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2555. b2.Material = "Neon"
  2556. coroutine.wrap(function()
  2557. for i = 1, 5 do
  2558. b2.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2559. swait()
  2560. end
  2561. b2:Remove()
  2562. end)()
  2563. end
  2564. end)()
  2565. for i = 1, 10 do
  2566. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2567. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(2.8,6,-2) * CFrame.Angles(math.rad(-90),math.rad(-70),math.rad(-90)),.2)
  2568. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)),.2)
  2569. swait()
  2570. end
  2571. if zcounter ~= 4 then
  2572. local hand2 = Instance.new("Part",Torso)
  2573. hand2.Size = Vector3.new(.1,.1,.1)
  2574. hand2.Anchored = true
  2575. hand2.CanCollide = false
  2576. hand2.Locked = true
  2577. hand2.Transparency = 1
  2578. hand2.BrickColor = BrickColor.new("White")
  2579. hand2.Material = "Slate"
  2580. local hand2mesh = Instance.new("SpecialMesh",hand2)
  2581. hand2mesh.MeshId = "rbxassetid://2899129749"
  2582. hand2mesh.Scale = Vector3.new(.4, .4, .4)
  2583. hand2.CFrame = cy.CFrame * CFrame.new(0,0,2.2)
  2584. coroutine.wrap(function()
  2585. for i = 1, 30 do
  2586. hand2.Transparency = hand2.Transparency - .05
  2587. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(11.8,3.5,-2.2) * CFrame.Angles(math.rad(90),math.rad(20),0),.15)
  2588. swait()
  2589. end
  2590. local pump = Instance.new("Sound",shotgun)
  2591. pump.SoundId = "rbxassetid://255061173"
  2592. pump.Volume = 10
  2593. pump:Play()
  2594. removeuseless:AddItem(pump,3)
  2595. for i = 1, 10 do
  2596. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(7.6,2.5,-2) * CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(-90)),.2)
  2597. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(120)),.2)
  2598. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(8.9,2.5,-2.2) * CFrame.Angles(math.rad(90),math.rad(20),0),.2)
  2599. swait()
  2600. end
  2601. for i = 1, 10 do
  2602. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(7.8,2.5,-2) * CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(-90)),.2)
  2603. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(120)),.2)
  2604. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(11.8,3.5,-2.2) * CFrame.Angles(math.rad(90),math.rad(20),0),.2)
  2605. swait()
  2606. end
  2607. for i = 1, 30 do
  2608. hand2.Transparency = hand2.Transparency + .05
  2609. hand2.CFrame = hand2.CFrame:lerp(cy.CFrame * CFrame.new(0,0,2.2),.06)
  2610. swait()
  2611. end
  2612. hand2:Remove()
  2613. end)()
  2614. for i = 1, 75 do
  2615. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2616. shotgun.CFrame = shotgun.CFrame:lerp(cy.CFrame * CFrame.new(7.8,2.5,-2) * CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(-90)),.2)
  2617. hand.CFrame = hand.CFrame:lerp(cy.CFrame * CFrame.new(1.8,-1.2,-2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(120)),.2)
  2618. swait()
  2619. end
  2620. end
  2621. swait()
  2622. end
  2623. shotgun.Anchored = false
  2624. shotgun.CanCollide = true
  2625. coroutine.wrap(function()
  2626. wait(2)
  2627. for i = 1, 20 do
  2628. shotgun.Transparency = shotgun.Transparency + .05
  2629. swait()
  2630. end
  2631. shotgun:Remove()
  2632. end)()
  2633. SOUND(cy,148894535,10,false,10)
  2634. for i = 1, 30 do
  2635. hand.CFrame = hand.CFrame:lerp(cy.CFrame,.2)
  2636. hand.Transparency = hand.Transparency + .05
  2637. swait()
  2638. end
  2639. for i = 1, 20 do
  2640. cy.Size = cy.Size - Vector3.new(.5,.5,.5)
  2641. swait()
  2642. end
  2643. cy:Remove()
  2644. hand:Remove()
  2645. shloc:Remove()
  2646. zm:Remove()
  2647. ps:Remove()
  2648. debounce = false
  2649. attacking = false
  2650. ws = 32
  2651. removeuseless:AddItem(g1,.001)
  2652. end)()
  2653. elseif z == 2 then
  2654. local cy2 = Instance.new("Part",Torso)
  2655. cy2.Size = Vector3.new(0,.1,.1)
  2656. cy2.Anchored = true
  2657. cy2.Shape = "Cylinder"
  2658. cy2.Material = "Neon"
  2659. cy2.BrickColor = BrickColor.new("White")
  2660. cy2.CanCollide = false
  2661. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2662. local cy3 = Instance.new("Part",Torso)
  2663. cy3.Size = Vector3.new(0,.1,.1)
  2664. cy3.Anchored = true
  2665. cy3.Shape = "Cylinder"
  2666. cy3.Material = "Neon"
  2667. cy3.BrickColor = BrickColor.new("White")
  2668. cy3.CanCollide = false
  2669. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2670. for i = 1, 20 do
  2671. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2672. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2673. swait()
  2674. end
  2675. wait(.5)
  2676. local z = {
  2677. Color = BrickColor.new("Really black").Color
  2678. }
  2679. local lol = smoothen:Create(cy2,TweenInfo.new(.8,Enum.EasingStyle.Linear),z)
  2680. local lol2 = smoothen:Create(cy3,TweenInfo.new(.8,Enum.EasingStyle.Linear),z)
  2681. lol:Play()
  2682. lol2:Play()
  2683. wait(2)
  2684. local b = 0
  2685. for i = 1, 200 do
  2686. b = b + 5
  2687. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(b),math.rad(90),0)
  2688. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(b),math.rad(90),0)
  2689. swait()
  2690. end
  2691. elseif z == 3 then
  2692. local cy = Instance.new("Part",Torso)
  2693. cy.Size = Vector3.new(0,.1,.1)
  2694. cy.Anchored = true
  2695. cy.Shape = "Cylinder"
  2696. cy.Material = "Neon"
  2697. cy.BrickColor = BrickColor.new("White")
  2698. cy.CanCollide = false
  2699. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2700. local cy2 = Instance.new("Part",Torso)
  2701. cy2.Size = Vector3.new(0,.1,.1)
  2702. cy2.Anchored = true
  2703. cy2.Shape = "Cylinder"
  2704. cy2.Material = "Neon"
  2705. cy2.BrickColor = BrickColor.new("White")
  2706. cy2.CanCollide = false
  2707. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2708. local cy3 = Instance.new("Part",Torso)
  2709. cy3.Size = Vector3.new(0,.1,.1)
  2710. cy3.Anchored = true
  2711. cy3.Shape = "Cylinder"
  2712. cy3.Material = "Neon"
  2713. cy3.BrickColor = BrickColor.new("White")
  2714. cy3.CanCollide = false
  2715. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2716. for i = 1, 20 do
  2717. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2718. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2719. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2720. swait()
  2721. end
  2722. elseif z == 4 then
  2723. print(4)
  2724. local cy = Instance.new("Part",Torso)
  2725. cy.Size = Vector3.new(0,.1,.1)
  2726. cy.Anchored = true
  2727. cy.Shape = "Cylinder"
  2728. cy.Material = "Neon"
  2729. cy.BrickColor = BrickColor.new("White")
  2730. cy.CanCollide = false
  2731. cy.CFrame = zm.CFrame * CFrame.new(2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2732. local cy2 = Instance.new("Part",Torso)
  2733. cy2.Size = Vector3.new(0,.1,.1)
  2734. cy2.Anchored = true
  2735. cy2.Shape = "Cylinder"
  2736. cy2.Material = "Neon"
  2737. cy2.BrickColor = BrickColor.new("White")
  2738. cy2.CanCollide = false
  2739. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2740. local cy3 = Instance.new("Part",Torso)
  2741. cy3.Size = Vector3.new(0,.1,.1)
  2742. cy3.Anchored = true
  2743. cy3.Shape = "Cylinder"
  2744. cy3.Material = "Neon"
  2745. cy3.BrickColor = BrickColor.new("White")
  2746. cy3.CanCollide = false
  2747. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2748. local cy4 = Instance.new("Part",Torso)
  2749. cy4.Size = Vector3.new(0,.1,.1)
  2750. cy4.Anchored = true
  2751. cy4.Shape = "Cylinder"
  2752. cy4.Material = "Neon"
  2753. cy4.BrickColor = BrickColor.new("White")
  2754. cy4.CanCollide = false
  2755. cy4.CFrame = zm.CFrame * CFrame.new(-2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2756. for i = 1, 20 do
  2757. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2758. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2759. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2760. cy4.Size = cy4.Size + Vector3.new(0,.115,.115)
  2761. swait()
  2762. end
  2763. elseif z == 5 then
  2764. local cy = Instance.new("Part",Torso)
  2765. cy.Size = Vector3.new(0,.1,.1)
  2766. cy.Anchored = true
  2767. cy.Shape = "Cylinder"
  2768. cy.Material = "Neon"
  2769. cy.BrickColor = BrickColor.new("White")
  2770. cy.CanCollide = false
  2771. cy.CFrame = zm.CFrame * CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2772. local cy5 = Instance.new("Part",Torso)
  2773. cy5.Size = Vector3.new(0,.1,.1)
  2774. cy5.Anchored = true
  2775. cy5.Shape = "Cylinder"
  2776. cy5.Material = "Neon"
  2777. cy5.BrickColor = BrickColor.new("White")
  2778. cy5.CanCollide = false
  2779. cy5.CFrame = zm.CFrame * CFrame.new(2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2780. local cy2 = Instance.new("Part",Torso)
  2781. cy2.Size = Vector3.new(0,.1,.1)
  2782. cy2.Anchored = true
  2783. cy2.Shape = "Cylinder"
  2784. cy2.Material = "Neon"
  2785. cy2.BrickColor = BrickColor.new("White")
  2786. cy2.CanCollide = false
  2787. cy2.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2788. local cy3 = Instance.new("Part",Torso)
  2789. cy3.Size = Vector3.new(0,.1,.1)
  2790. cy3.Anchored = true
  2791. cy3.Shape = "Cylinder"
  2792. cy3.Material = "Neon"
  2793. cy3.BrickColor = BrickColor.new("White")
  2794. cy3.CanCollide = false
  2795. cy3.CFrame = zm.CFrame * CFrame.new(-2,4,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2796. local cy4 = Instance.new("Part",Torso)
  2797. cy4.Size = Vector3.new(0,.1,.1)
  2798. cy4.Anchored = true
  2799. cy4.Shape = "Cylinder"
  2800. cy4.Material = "Neon"
  2801. cy4.BrickColor = BrickColor.new("White")
  2802. cy4.CanCollide = false
  2803. cy4.CFrame = zm.CFrame * CFrame.new(-2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2804. for i = 1, 20 do
  2805. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2806. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2807. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2808. cy4.Size = cy4.Size + Vector3.new(0,.115,.115)
  2809. cy5.Size = cy5.Size + Vector3.new(0,.115,.115)
  2810. swait()
  2811. end
  2812. elseif z == 6 then
  2813. local cy = Instance.new("Part",Torso)
  2814. cy.Size = Vector3.new(0,.1,.1)
  2815. cy.Anchored = true
  2816. cy.Shape = "Cylinder"
  2817. cy.Material = "Neon"
  2818. cy.BrickColor = BrickColor.new("White")
  2819. cy.CanCollide = false
  2820. cy.CFrame = zm.CFrame * CFrame.new(-2,5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2821. local cy6 = Instance.new("Part",Torso)
  2822. cy6.Size = Vector3.new(0,.1,.1)
  2823. cy6.Anchored = true
  2824. cy6.Shape = "Cylinder"
  2825. cy6.Material = "Neon"
  2826. cy6.BrickColor = BrickColor.new("White")
  2827. cy6.CanCollide = false
  2828. cy6.CFrame = zm.CFrame * CFrame.new(-2,2,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2829. local cy5 = Instance.new("Part",Torso)
  2830. cy5.Size = Vector3.new(0,.1,.1)
  2831. cy5.Anchored = true
  2832. cy5.Shape = "Cylinder"
  2833. cy5.Material = "Neon"
  2834. cy5.BrickColor = BrickColor.new("White")
  2835. cy5.CanCollide = false
  2836. cy5.CFrame = zm.CFrame * CFrame.new(2,5,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2837. local cy2 = Instance.new("Part",Torso)
  2838. cy2.Size = Vector3.new(0,.1,.1)
  2839. cy2.Anchored = true
  2840. cy2.Shape = "Cylinder"
  2841. cy2.Material = "Neon"
  2842. cy2.BrickColor = BrickColor.new("White")
  2843. cy2.CanCollide = false
  2844. cy2.CFrame = zm.CFrame * CFrame.new(2,2,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2845. local cy3 = Instance.new("Part",Torso)
  2846. cy3.Size = Vector3.new(0,.1,.1)
  2847. cy3.Anchored = true
  2848. cy3.Shape = "Cylinder"
  2849. cy3.Material = "Neon"
  2850. cy3.BrickColor = BrickColor.new("White")
  2851. cy3.CanCollide = false
  2852. cy3.CFrame = zm.CFrame * CFrame.new(-2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2853. local cy4 = Instance.new("Part",Torso)
  2854. cy4.Size = Vector3.new(0,.1,.1)
  2855. cy4.Anchored = true
  2856. cy4.Shape = "Cylinder"
  2857. cy4.Material = "Neon"
  2858. cy4.BrickColor = BrickColor.new("White")
  2859. cy4.CanCollide = false
  2860. cy4.CFrame = zm.CFrame * CFrame.new(2,-1,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2861. for i = 1, 20 do
  2862. cy.Size = cy.Size + Vector3.new(0,.115,.115)
  2863. cy2.Size = cy2.Size + Vector3.new(0,.115,.115)
  2864. cy3.Size = cy3.Size + Vector3.new(0,.115,.115)
  2865. cy4.Size = cy4.Size + Vector3.new(0,.115,.115)
  2866. cy5.Size = cy5.Size + Vector3.new(0,.115,.115)
  2867. cy6.Size = cy6.Size + Vector3.new(0,.115,.115)
  2868. swait()
  2869. end
  2870. end
  2871. elseif Press=='p' then
  2872. if debounce then return end
  2873. debounce = true
  2874. attacking = true
  2875. local posb = Instance.new("Part",Torso)
  2876. posb.Anchored = true
  2877. posb.Transparency = 1
  2878. posb.CanCollide = false
  2879. posb.Size = Vector3.new(1,1,1)
  2880. ws = 3
  2881. g1 = Instance.new("BodyGyro", Root)
  2882. g1.D = 175
  2883. g1.P = 20000
  2884. g1.MaxTorque = Vector3.new(0,9000,0)
  2885. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  2886. for i = 1, 20 do
  2887. posb.CFrame = Root.CFrame * CFrame.new(0,35,-80)
  2888. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2889. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2890. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(-140),math.rad(10),math.rad(25)), 0.2)
  2891. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(-140),math.rad(-10),math.rad(-25)), 0.2)
  2892. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),.2)
  2893. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2894. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2, .1) * CFrame.Angles(math.rad(-10), math.rad(5), math.rad(-3)), 0.2)
  2895. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2896. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.51, .7, .7) * CFrame.Angles(math.rad(42), math.rad(0), math.rad(0)), 0.4)
  2897. swait()
  2898. end
  2899. local hitbox = Instance.new("Part",Torso)
  2900. hitbox.Anchored = false
  2901. hitbox.CanCollide = false
  2902. hitbox.Transparency = 1
  2903. hitbox.Size = Vector3.new(2.5,3,3)
  2904. hitboxweld = weldBetween(hitbox,LeftLeg)
  2905. hitboxweld.C0 = CFrame.new(0,2.6,0)
  2906. local hi2 = false
  2907. hitbox.Touched:connect(function(hi)
  2908. if hi.Parent:FindFirstChildOfClass("Humanoid") and hi.Parent ~= Character then
  2909. if hi2 then return end
  2910. hi2 = true
  2911. SOUND(LeftLeg,3041191430,10,false,5)
  2912. for i = 1, 25 do
  2913. hi.Parent.Torso.CFrame = hi.Parent.Torso.CFrame:lerp(CFrame.new(posb.Position),.18)
  2914. swait()
  2915. end
  2916. local zw = weldBetween(hi.Parent.Torso,posb)
  2917. wait(.25)
  2918. local portalopen = Instance.new("Sound",nil)
  2919. portalopen.SoundId = "rbxassetid://148894535"
  2920. portalopen.Volume = 10
  2921. portalopen:Play()
  2922. local portalopen2 = Instance.new("Sound",nil)
  2923. portalopen2.SoundId = "rbxassetid://148894535"
  2924. portalopen2.Volume = 10
  2925. portalopen2:Play()
  2926. for i = 1, 4 do
  2927. wait(.5)
  2928. local cy = Instance.new("Part",Torso)
  2929. cy.Size = Vector3.new(.2,.1,.1)
  2930. cy.Anchored = true
  2931. cy.Shape = "Cylinder"
  2932. cy.Material = "Neon"
  2933. cy.BrickColor = BrickColor.new("White")
  2934. cy.CanCollide = false
  2935. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  2936. portalopen.Parent = cy
  2937. portalopen:Play()
  2938. for i = 1, 20 do
  2939. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  2940. swait()
  2941. end
  2942. local dice = Instance.new("Part",Torso)
  2943. dice.CanCollide = true
  2944. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2945. dice.Anchored = true
  2946. dice.Transparency = 1
  2947. dice.Size = Vector3.new(6,6,6)
  2948. local dicemesh = Instance.new("SpecialMesh",dice)
  2949. dicemesh.MeshId = "rbxassetid://95358536"
  2950. dicemesh.TextureId = "rbxassetid://100025876"
  2951. dicemesh.Scale = Vector3.new(4,4,4)
  2952. dchit = false
  2953. coroutine.wrap(function()
  2954. wait(.25)
  2955. for i = 1, 20 do
  2956. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  2957. swait()
  2958. end
  2959. cy:Remove()
  2960. end)()
  2961. local cy2 = Instance.new("Part",Torso)
  2962. cy2.Size = Vector3.new(.2,.1,.1)
  2963. cy2.Anchored = true
  2964. cy2.Shape = "Cylinder"
  2965. cy2.Material = "Neon"
  2966. cy2.BrickColor = BrickColor.new("White")
  2967. cy2.CanCollide = false
  2968. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  2969. portalopen2.Parent = cy2
  2970. portalopen2:Play()
  2971. coroutine.wrap(function()
  2972. for i = 1, 14 do
  2973. dice.Transparency = dice.Transparency - .15
  2974. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  2975. swait()
  2976. end
  2977. Hit = damagealll(12,dice.Position)
  2978. for _,v in pairs(Hit) do
  2979. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2980. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2981. slachtoffer:TakeDamage(math.random(2,4))
  2982. if secondform then
  2983. coroutine.wrap(function()
  2984. if tauntdebounce then return end
  2985. tauntdebounce = true
  2986. rdnm2 = p1[math.random(1,#p1)]
  2987. tauntsound = Instance.new("Sound", Head)
  2988. tauntsound.Volume = 10
  2989. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  2990. tauntsound.Looped = false
  2991. tauntsound:Play()
  2992. wait(3)
  2993. wait(tauntsound.TimeLength)
  2994. tauntsound:Remove()
  2995. wait(1)
  2996. tauntdebounce = false
  2997. end)()
  2998. end
  2999. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3000. hc.SoundId = "rbxasssetid://2974876428"
  3001. hc.Volume = 10
  3002. hc:Play()
  3003. coroutine.wrap(function()
  3004. local w = Instance.new("Part",Torso)
  3005. w.Anchored = true
  3006. w.CanCollide = false
  3007. w.Material = "Neon"
  3008. w.BrickColor = BrickColor.new("White")
  3009. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3010. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3011. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3012. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3013. end
  3014. w.Size = Vector3.new(3,3,3)
  3015. w.Shape = "Ball"
  3016. for i = 1, 50 do
  3017. w.Transparency = w.Transparency + .05
  3018. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3019. swait()
  3020. end
  3021. w:Remove()
  3022. end)()
  3023. for i = 1, 8 do
  3024. coroutine.wrap(function()
  3025. local ps = Instance.new("Part",Torso)
  3026. ps.Size = Vector3.new(1,1,1)
  3027. ps.Anchored = true
  3028. ps.BrickColor = BrickColor.new("White")
  3029. ps.Material = "Neon"
  3030. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3031. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3032. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3033. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3034. end
  3035. local psm = Instance.new("SpecialMesh",ps)
  3036. psm.MeshType = "Sphere"
  3037. psm.Scale = Vector3.new(3,1,3)
  3038. for i = 1, 50 do
  3039. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3040. ps.Transparency = ps.Transparency + .025
  3041. swait()
  3042. end
  3043. ps:Remove()
  3044. end)()
  3045. end
  3046. removeuseless:AddItem(hc,6)
  3047. end
  3048. end
  3049. for i = 1, 14 do
  3050. dice.Transparency = dice.Transparency + .15
  3051. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3052. swait()
  3053. end
  3054. dice:Remove()
  3055. end)()
  3056. for i = 1, 20 do
  3057. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3058. swait()
  3059. end
  3060. coroutine.wrap(function()
  3061. wait(.25)
  3062. for i = 1, 20 do
  3063. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3064. swait()
  3065. end
  3066. cy2:Remove()
  3067. end)()
  3068. swait()
  3069. end
  3070. for i = 1, 5 do
  3071. wait(.25)
  3072. local cy = Instance.new("Part",Torso)
  3073. cy.Size = Vector3.new(.2,.1,.1)
  3074. cy.Anchored = true
  3075. cy.Shape = "Cylinder"
  3076. cy.Material = "Neon"
  3077. cy.BrickColor = BrickColor.new("White")
  3078. cy.CanCollide = false
  3079. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  3080. portalopen.Parent = cy
  3081. portalopen:Play()
  3082. for i = 1, 20 do
  3083. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3084. swait()
  3085. end
  3086. local dice = Instance.new("Part",Torso)
  3087. dice.CanCollide = true
  3088. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3089. dice.Anchored = true
  3090. dice.Transparency = 1
  3091. dice.Size = Vector3.new(.5,.5,.5)
  3092. local dicemesh = Instance.new("SpecialMesh",dice)
  3093. dicemesh.MeshId = "rbxassetid://95358536"
  3094. dicemesh.TextureId = "rbxassetid://100025876"
  3095. dicemesh.Scale = Vector3.new(4,4,4)
  3096. coroutine.wrap(function()
  3097. wait(.25)
  3098. for i = 1, 20 do
  3099. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3100. swait()
  3101. end
  3102. cy:Remove()
  3103. end)()
  3104. local cy2 = Instance.new("Part",Torso)
  3105. cy2.Size = Vector3.new(.2,.1,.1)
  3106. cy2.Anchored = true
  3107. cy2.Shape = "Cylinder"
  3108. cy2.Material = "Neon"
  3109. cy2.BrickColor = BrickColor.new("White")
  3110. cy2.CanCollide = false
  3111. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  3112. portalopen2.Parent = cy2
  3113. portalopen2:Play()
  3114. coroutine.wrap(function()
  3115. for i = 1, 14 do
  3116. dice.Transparency = dice.Transparency - .15
  3117. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  3118. swait()
  3119. end
  3120. Hit = damagealll(12,dice.Position)
  3121. for _,v in pairs(Hit) do
  3122. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3123. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3124. slachtoffer:TakeDamage(math.random(2,4))
  3125. if secondform then
  3126. coroutine.wrap(function()
  3127. if tauntdebounce then return end
  3128. tauntdebounce = true
  3129. rdnm2 = p1[math.random(1,#p1)]
  3130. tauntsound = Instance.new("Sound", Head)
  3131. tauntsound.Volume = 10
  3132. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3133. tauntsound.Looped = false
  3134. tauntsound:Play()
  3135. wait(3)
  3136. wait(tauntsound.TimeLength)
  3137. tauntsound:Remove()
  3138. wait(1)
  3139. tauntdebounce = false
  3140. end)()
  3141. end
  3142. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3143. hc.SoundId = "rbxasssetid://2974876428"
  3144. hc.Volume = 10
  3145. hc:Play()
  3146. coroutine.wrap(function()
  3147. local w = Instance.new("Part",Torso)
  3148. w.Anchored = true
  3149. w.CanCollide = false
  3150. w.Material = "Neon"
  3151. w.BrickColor = BrickColor.new("White")
  3152. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3153. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3154. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3155. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3156. end
  3157. w.Size = Vector3.new(3,3,3)
  3158. w.Shape = "Ball"
  3159. for i = 1, 50 do
  3160. w.Transparency = w.Transparency + .05
  3161. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3162. swait()
  3163. end
  3164. w:Remove()
  3165. end)()
  3166. for i = 1, 8 do
  3167. coroutine.wrap(function()
  3168. local ps = Instance.new("Part",Torso)
  3169. ps.Size = Vector3.new(1,1,1)
  3170. ps.Anchored = true
  3171. ps.BrickColor = BrickColor.new("White")
  3172. ps.Material = "Neon"
  3173. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3174. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3175. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3176. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3177. end
  3178. local psm = Instance.new("SpecialMesh",ps)
  3179. psm.MeshType = "Sphere"
  3180. psm.Scale = Vector3.new(3,1,3)
  3181. for i = 1, 50 do
  3182. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3183. ps.Transparency = ps.Transparency + .025
  3184. swait()
  3185. end
  3186. ps:Remove()
  3187. end)()
  3188. end
  3189. removeuseless:AddItem(hc,6)
  3190. end
  3191. end
  3192. for i = 1, 14 do
  3193. dice.Transparency = dice.Transparency + .15
  3194. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3195. swait()
  3196. end
  3197. dice:Remove()
  3198. end)()
  3199. for i = 1, 20 do
  3200. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3201. swait()
  3202. end
  3203. coroutine.wrap(function()
  3204. wait(.25)
  3205. for i = 1, 20 do
  3206. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3207. swait()
  3208. end
  3209. cy2:Remove()
  3210. end)()
  3211. swait()
  3212. end
  3213. for i = 1, 6 do
  3214. wait(.0325)
  3215. local cy = Instance.new("Part",Torso)
  3216. cy.Size = Vector3.new(.2,.1,.1)
  3217. cy.Anchored = true
  3218. cy.Shape = "Cylinder"
  3219. cy.Material = "Neon"
  3220. cy.BrickColor = BrickColor.new("White")
  3221. cy.CanCollide = false
  3222. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  3223. portalopen.Parent = cy
  3224. portalopen:Play()
  3225. for i = 1, 20 do
  3226. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3227. swait()
  3228. end
  3229. local dice = Instance.new("Part",Torso)
  3230. dice.CanCollide = true
  3231. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3232. dice.Anchored = true
  3233. dice.Transparency = 1
  3234. dice.Size = Vector3.new(.5,.5,.5)
  3235. local dicemesh = Instance.new("SpecialMesh",dice)
  3236. dicemesh.MeshId = "rbxassetid://95358536"
  3237. dicemesh.TextureId = "rbxassetid://100025876"
  3238. dicemesh.Scale = Vector3.new(4,4,4)
  3239. coroutine.wrap(function()
  3240. wait(.25)
  3241. for i = 1, 20 do
  3242. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3243. swait()
  3244. end
  3245. cy:Remove()
  3246. end)()
  3247. local cy2 = Instance.new("Part",Torso)
  3248. cy2.Size = Vector3.new(.2,.1,.1)
  3249. cy2.Anchored = true
  3250. cy2.Shape = "Cylinder"
  3251. cy2.Material = "Neon"
  3252. cy2.BrickColor = BrickColor.new("White")
  3253. cy2.CanCollide = false
  3254. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  3255. portalopen2.Parent = cy2
  3256. portalopen2:Play()
  3257. coroutine.wrap(function()
  3258. for i = 1, 14 do
  3259. dice.Transparency = dice.Transparency - .15
  3260. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  3261. swait()
  3262. end
  3263. Hit = damagealll(12,dice.Position)
  3264. for _,v in pairs(Hit) do
  3265. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3266. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3267. slachtoffer:TakeDamage(math.random(2,4))
  3268. if secondform then
  3269. coroutine.wrap(function()
  3270. if tauntdebounce then return end
  3271. tauntdebounce = true
  3272. rdnm2 = p1[math.random(1,#p1)]
  3273. tauntsound = Instance.new("Sound", Head)
  3274. tauntsound.Volume = 10
  3275. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3276. tauntsound.Looped = false
  3277. tauntsound:Play()
  3278. wait(3)
  3279. wait(tauntsound.TimeLength)
  3280. tauntsound:Remove()
  3281. wait(1)
  3282. tauntdebounce = false
  3283. end)()
  3284. end
  3285. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3286. hc.SoundId = "rbxasssetid://2974876428"
  3287. hc.Volume = 10
  3288. hc:Play()
  3289. coroutine.wrap(function()
  3290. local w = Instance.new("Part",Torso)
  3291. w.Anchored = true
  3292. w.CanCollide = false
  3293. w.Material = "Neon"
  3294. w.BrickColor = BrickColor.new("White")
  3295. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3296. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3297. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3298. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3299. end
  3300. w.Size = Vector3.new(3,3,3)
  3301. w.Shape = "Ball"
  3302. for i = 1, 50 do
  3303. w.Transparency = w.Transparency + .05
  3304. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3305. swait()
  3306. end
  3307. w:Remove()
  3308. end)()
  3309. for i = 1, 8 do
  3310. coroutine.wrap(function()
  3311. local ps = Instance.new("Part",Torso)
  3312. ps.Size = Vector3.new(1,1,1)
  3313. ps.Anchored = true
  3314. ps.BrickColor = BrickColor.new("White")
  3315. ps.Material = "Neon"
  3316. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3317. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3318. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3319. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3320. end
  3321. local psm = Instance.new("SpecialMesh",ps)
  3322. psm.MeshType = "Sphere"
  3323. psm.Scale = Vector3.new(3,1,3)
  3324. for i = 1, 50 do
  3325. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3326. ps.Transparency = ps.Transparency + .025
  3327. swait()
  3328. end
  3329. ps:Remove()
  3330. end)()
  3331. end
  3332. removeuseless:AddItem(hc,6)
  3333. end
  3334. end
  3335. for i = 1, 14 do
  3336. dice.Transparency = dice.Transparency + .15
  3337. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3338. swait()
  3339. end
  3340. dice:Remove()
  3341. end)()
  3342. for i = 1, 20 do
  3343. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3344. swait()
  3345. end
  3346. coroutine.wrap(function()
  3347. wait(.25)
  3348. for i = 1, 20 do
  3349. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3350. swait()
  3351. end
  3352. cy2:Remove()
  3353. end)()
  3354. swait()
  3355. end
  3356. for i = 1, 8 do
  3357. swait()
  3358. local cy = Instance.new("Part",Torso)
  3359. cy.Size = Vector3.new(.2,.1,.1)
  3360. cy.Anchored = true
  3361. cy.Shape = "Cylinder"
  3362. cy.Material = "Neon"
  3363. cy.BrickColor = BrickColor.new("White")
  3364. cy.CanCollide = false
  3365. cy.CFrame = posb.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(35,0,0)
  3366. portalopen.Parent = cy
  3367. portalopen:Play()
  3368. for i = 1, 20 do
  3369. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3370. swait()
  3371. end
  3372. local dice = Instance.new("Part",Torso)
  3373. dice.CanCollide = true
  3374. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3375. dice.Anchored = true
  3376. dice.Transparency = 1
  3377. dice.Size = Vector3.new(.5,.5,.5)
  3378. local dicemesh = Instance.new("SpecialMesh",dice)
  3379. dicemesh.MeshId = "rbxassetid://95358536"
  3380. dicemesh.TextureId = "rbxassetid://100025876"
  3381. dicemesh.Scale = Vector3.new(4,4,4)
  3382. coroutine.wrap(function()
  3383. wait(.25)
  3384. for i = 1, 20 do
  3385. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3386. swait()
  3387. end
  3388. cy:Remove()
  3389. end)()
  3390. local cy2 = Instance.new("Part",Torso)
  3391. cy2.Size = Vector3.new(.2,.1,.1)
  3392. cy2.Anchored = true
  3393. cy2.Shape = "Cylinder"
  3394. cy2.Material = "Neon"
  3395. cy2.BrickColor = BrickColor.new("White")
  3396. cy2.CanCollide = false
  3397. cy2.CFrame = cy.CFrame * CFrame.new(-70,0,0)
  3398. portalopen2.Parent = cy2
  3399. portalopen2:Play()
  3400. coroutine.wrap(function()
  3401. for i = 1, 14 do
  3402. dice.Transparency = dice.Transparency - .15
  3403. dice.CFrame = dice.CFrame:lerp(CFrame.new(posb.Position),.1)
  3404. swait()
  3405. end
  3406. Hit = damagealll(12,dice.Position)
  3407. for _,v in pairs(Hit) do
  3408. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3409. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3410. if secondform then
  3411. slachtoffer.Parent:BreakJoints()
  3412. else
  3413. slachtoffer:TakeDamage(math.random(2,4))
  3414. end
  3415. if secondform then
  3416. coroutine.wrap(function()
  3417. if tauntdebounce then return end
  3418. tauntdebounce = true
  3419. rdnm2 = p1[math.random(1,#p1)]
  3420. tauntsound = Instance.new("Sound", Head)
  3421. tauntsound.Volume = 10
  3422. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3423. tauntsound.Looped = false
  3424. tauntsound:Play()
  3425. wait(3)
  3426. wait(tauntsound.TimeLength)
  3427. tauntsound:Remove()
  3428. wait(1)
  3429. tauntdebounce = false
  3430. end)()
  3431. end
  3432. local hc = Instance.new("Sound",slachtoffer.Parent.Head)
  3433. hc.SoundId = "rbxasssetid://2974876428"
  3434. hc.Volume = 10
  3435. hc:Play()
  3436. coroutine.wrap(function()
  3437. local w = Instance.new("Part",Torso)
  3438. w.Anchored = true
  3439. w.CanCollide = false
  3440. w.Material = "Neon"
  3441. w.BrickColor = BrickColor.new("White")
  3442. if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3443. w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
  3444. elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3445. w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
  3446. end
  3447. w.Size = Vector3.new(3,3,3)
  3448. w.Shape = "Ball"
  3449. for i = 1, 50 do
  3450. w.Transparency = w.Transparency + .05
  3451. w.Size = w.Size + Vector3.new(1.75,1.75,1.75)
  3452. swait()
  3453. end
  3454. w:Remove()
  3455. end)()
  3456. for i = 1, 8 do
  3457. coroutine.wrap(function()
  3458. local ps = Instance.new("Part",Torso)
  3459. ps.Size = Vector3.new(1,1,1)
  3460. ps.Anchored = true
  3461. ps.BrickColor = BrickColor.new("White")
  3462. ps.Material = "Neon"
  3463. if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
  3464. ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3465. elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
  3466. ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3467. end
  3468. local psm = Instance.new("SpecialMesh",ps)
  3469. psm.MeshType = "Sphere"
  3470. psm.Scale = Vector3.new(3,1,3)
  3471. for i = 1, 50 do
  3472. psm.Scale = psm.Scale + Vector3.new(0,2.5,0)
  3473. ps.Transparency = ps.Transparency + .025
  3474. swait()
  3475. end
  3476. ps:Remove()
  3477. end)()
  3478. end
  3479. removeuseless:AddItem(hc,6)
  3480. end
  3481. end
  3482. for i = 1, 14 do
  3483. dice.Transparency = dice.Transparency + .15
  3484. dice.CFrame = dice.CFrame:lerp(CFrame.new(cy2.Position),.1)
  3485. swait()
  3486. end
  3487. dice:Remove()
  3488. end)()
  3489. for i = 1, 20 do
  3490. cy2.Size = cy2.Size + Vector3.new(0,.85,.85)
  3491. swait()
  3492. end
  3493. coroutine.wrap(function()
  3494. wait(.25)
  3495. for i = 1, 20 do
  3496. cy2.Size = cy2.Size - Vector3.new(0,.85,.85)
  3497. swait()
  3498. end
  3499. cy2:Remove()
  3500. end)()
  3501. swait()
  3502. end
  3503. posb:Remove()
  3504. end
  3505. end)
  3506. ws = 0
  3507. for i = 1, 15 do
  3508. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(36),math.rad(0),math.rad(12)), 0.4)
  3509. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.4,-.2) * CFrame.Angles(math.rad(36),math.rad(0),math.rad(-12)), 0.4)
  3510. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0)),.4)
  3511. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
  3512. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
  3513. swait()
  3514. end
  3515. hitbox:Remove()
  3516. ws = 32
  3517. removeuseless:AddItem(g1,.001)
  3518. debounce = false
  3519. attacking = false
  3520. elseif Press=='u' then
  3521. if not zcxmvn then return end
  3522. if mouse.Target ~= nil then
  3523. if debounce then return end
  3524. debounce = true
  3525. attacking = true
  3526. change = .5
  3527. ws = 0
  3528. for i = 1, 30 do
  3529. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3530. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3531. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.5,1.1,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(171)), 0.2)
  3532. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  3533. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3534. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  3535. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3536. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  3537. swait()
  3538. end
  3539. local snap = Instance.new("Sound",Torso)
  3540. snap.SoundId = "rbxassetid://3154155968"
  3541. snap.Volume = 10
  3542. snap:Play()
  3543. removeuseless:AddItem(snap,4)
  3544. local mark = Instance.new("Part",Torso)
  3545. mark.Size = Vector3.new(1,1,1)
  3546. mark.Anchored = true
  3547. mark.CanCollide = false
  3548. mark.Transparency = 1
  3549. mark.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,30,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3550. local cy = Instance.new("Part",Torso)
  3551. cy.Size = Vector3.new(.2,.1,.1)
  3552. cy.Anchored = true
  3553. cy.Shape = "Cylinder"
  3554. cy.Material = "Neon"
  3555. cy.BrickColor = BrickColor.new("White")
  3556. cy.CanCollide = false
  3557. cy.CFrame = mark.CFrame * CFrame.Angles(0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) * CFrame.new(23,0,0)
  3558. local portalopen = Instance.new("Sound",cy)
  3559. portalopen.SoundId = "rbxassetid://1888686669"
  3560. portalopen.Volume = 10
  3561. portalopen:Play()
  3562. coroutine.wrap(function()
  3563. for i = 1, 20 do
  3564. cy.Size = cy.Size + Vector3.new(0,.85,.85)
  3565. swait()
  3566. end
  3567. local dice = Instance.new("Part",Torso)
  3568. dice.CanCollide = true
  3569. dice.CFrame = cy.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3570. dice.Anchored = true
  3571. dice.Transparency = 1
  3572. dice.Size = Vector3.new(.5,.5,.5)
  3573. local dicemesh = Instance.new("SpecialMesh",dice)
  3574. dicemesh.MeshId = "rbxassetid://95358536"
  3575. dicemesh.TextureId = "rbxassetid://100025876"
  3576. dicemesh.Scale = Vector3.new(4,4,4)
  3577. local wh = Instance.new("Part",Torso)
  3578. wh.Size = Vector3.new(10,10,10)
  3579. wh.Anchored = false
  3580. wh.CanCollide = false
  3581. wh.Material = "Neon"
  3582. wh.BrickColor = BrickColor.new("White")
  3583. wh.Transparency = 1
  3584. SOUND(dice,148894535,10,false,10)
  3585. local whw = weldBetween(wh,dice)
  3586. for i = 1, 20 do
  3587. dice.Transparency = dice.Transparency - .05
  3588. wh.Transparency = wh.Transparency - .025
  3589. dice.CFrame = dice.CFrame:lerp(CFrame.new(mark.Position),.1)
  3590. swait()
  3591. end
  3592. local f = 0
  3593. local g = 0
  3594. local h = 0
  3595. local speen = true
  3596. coroutine.wrap(function()
  3597. while speen do
  3598. f = f + 2
  3599. g = g + 3
  3600. h = h + 1
  3601. dice.CFrame = dice.CFrame:lerp(CFrame.new(mark.Position)*CFrame.new(5 * math.sin(sine/11),8 * math.sin(sine/13),4 * math.sin(sine/16)) * CFrame.Angles(math.rad(f),math.rad(g),math.rad(h)),.1)
  3602. swait()
  3603. end
  3604. end)()
  3605. wait(.5)
  3606. for i = 1, 20 do
  3607. cy.Size = cy.Size - Vector3.new(0,.85,.85)
  3608. swait()
  3609. end
  3610. cy:Remove()
  3611. dice.Size = Vector3.new(11,11,11)
  3612. for i = 1, 4 do
  3613. local wh2 = Instance.new("Part",Torso)
  3614. wh2.Size = dice.Size
  3615. wh2.Anchored = false
  3616. wh2.CanCollide = false
  3617. wh2.Material = "Neon"
  3618. wh2.BrickColor = BrickColor.new("White")
  3619. wh2.Transparency = 1
  3620. local whw2 = weldBetween(wh2,dice)
  3621. for i = 1, 80 do
  3622. wh2.Transparency = wh2.Transparency - .0125
  3623. swait()
  3624. end
  3625. local mk = Instance.new("Part",Torso)
  3626. mk.Anchored = true
  3627. mk.CanCollide = false
  3628. mk.Size = Vector3.new(1,1,1)
  3629. mk.CFrame = dice.CFrame
  3630. mk.Transparency = 1
  3631. removeuseless:AddItem(mk,6)
  3632. local xplo = Instance.new("Sound",mk)
  3633. xplo.SoundId = "rbxassetid://2743212628"
  3634. xplo.Volume = 10
  3635. xplo:Play()
  3636. dicemesh.Scale = dicemesh.Scale - Vector3.new(1,1,1)
  3637. dice.Size = dice.Size - Vector3.new(2.75,2.75,2.75)
  3638. whw2:Remove()
  3639. wh2.Anchored = true
  3640. wh.Size = wh.Size - Vector3.new(2.5,2.5,2.5)
  3641. for i = 1, 20 do
  3642. local bm = Instance.new("Part",Torso)
  3643. bm.Anchored = true
  3644. bm.CanCollide = false
  3645. bm.CFrame = dice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3646. bm.Material = "Neon"
  3647. bm.Shape = "Cylinder"
  3648. bm.BrickColor = BrickColor.new("White")
  3649. bm.Size = Vector3.new(5000000,4,4)
  3650. local hitt = false
  3651. bm.Touched:connect(function(hit)
  3652. if hitt then return end
  3653. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  3654. hitt = true
  3655. if secondform then
  3656. hit.Parent:BreakJoints()
  3657. else
  3658. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(32,47))
  3659. end
  3660. if secondform then
  3661. coroutine.wrap(function()
  3662. if tauntdebounce then return end
  3663. tauntdebounce = true
  3664. rdnm2 = p1[math.random(1,#p1)]
  3665. tauntsound = Instance.new("Sound", Head)
  3666. tauntsound.Volume = 10
  3667. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3668. tauntsound.Looped = false
  3669. tauntsound:Play()
  3670. wait(3)
  3671. wait(tauntsound.TimeLength)
  3672. tauntsound:Remove()
  3673. wait(1)
  3674. tauntdebounce = false
  3675. end)()
  3676. end
  3677. end
  3678. end)
  3679. coroutine.wrap(function()
  3680. for i = 1, 20 do
  3681. bm.Transparency = bm.Transparency + .05
  3682. swait()
  3683. end
  3684. bm:Remove()
  3685. end)()
  3686. end
  3687. for i = 1, 40 do
  3688. wh2.Size = wh2.Size + Vector3.new(1,1,1)
  3689. wh2.Transparency = wh2.Transparency + .025
  3690. swait()
  3691. end
  3692. wh2:Remove()
  3693. swait()
  3694. end
  3695. mark:Remove()
  3696. dice:Remove()
  3697. wh:Remove()
  3698. end)()
  3699. for i = 1, 7 do
  3700. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3701. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.4)
  3702. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.95,1.7,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(208)), 0.4)
  3703. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.4)
  3704. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  3705. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.4)
  3706. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.4)
  3707. swait()
  3708. end
  3709. for i = 1, 30 do
  3710. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3711. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3712. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.3,1.4,0) * CFrame.Angles(math.rad(2),math.rad(5),math.rad(188)), 0.2)
  3713. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  3714. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3715. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  3716. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3717. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  3718. swait()
  3719. end
  3720. attacking = false
  3721. debounce = false
  3722. ws = 32
  3723. end
  3724. elseif Press=='t' then
  3725. if tauntdebounce == true then return end
  3726. tauntdebounce = true
  3727. if secondform then
  3728. rdnm2 = p2[math.random(1,#p2)]
  3729. tauntsound = Instance.new("Sound", Head)
  3730. tauntsound.Volume = 10
  3731. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3732. tauntsound.Looped = false
  3733. tauntsound:Play()
  3734. else
  3735. rdnm2 = soundtable[math.random(1,#soundtable)]
  3736. tauntsound = Instance.new("Sound", Head)
  3737. tauntsound.Volume = 10
  3738. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3739. tauntsound.Looped = false
  3740. tauntsound:Play()
  3741. end
  3742. wait(3)
  3743. wait(tauntsound.TimeLength)
  3744. tauntsound:Remove()
  3745. wait(1)
  3746. tauntdebounce = false
  3747. elseif Press=='y' then
  3748. if mouse.Target ~= nil then
  3749. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  3750. local enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3751. if debounce then return end
  3752. debounce = true
  3753. attacking = true
  3754. enemyhum.WalkSpeed = 0
  3755. tps = Instance.new("Sound", Torso)
  3756. tps.Volume = 10
  3757. tps.SoundId = "rbxassetid://2610939724"
  3758. tps:Play()
  3759. removeuseless:AddItem(tps,4)
  3760. ws = 0
  3761. local fakemask = Instance.new("Part",Character)
  3762. fakemask.Size = Vector3.new(1,1,1)
  3763. fakemask.CFrame = mask.CFrame
  3764. fakemask.Material = "Neon"
  3765. fakemask.CanCollide = false
  3766. fakemask.Anchored = true
  3767. fakemask.BrickColor = BrickColor.new("Really black")
  3768. fakemask.Transparency = .5
  3769. local mfMask = Instance.new("SpecialMesh", fakemask)
  3770. mfMask.MeshType = "FileMesh"
  3771. mfMask.Scale = Vector3.new(1.25,1.25,1.25)
  3772. mfMask.MeshId = "rbxassetid://12470186"
  3773. local fakefedora = Instance.new("Part",Character)
  3774. fakefedora.Size = Vector3.new(2,2,2)
  3775. fakefedora.CFrame = fedora.CFrame
  3776. fakefedora.CanCollide = false
  3777. fakefedora.Transparency = .5
  3778. fakefedora.Anchored = true
  3779. fakefedora.BrickColor = BrickColor.new("Really black")
  3780. local fakefedoram = Instance.new("SpecialMesh", fakefedora)
  3781. fakefedoram.MeshType = "FileMesh"
  3782. fakefedoram.Scale = Vector3.new(1.1, 1.1, 1.1)
  3783. fakefedoram.MeshId = "rbxassetid://11144636"
  3784. local fakehead = Instance.new("Part",Character)
  3785. fakehead.Size = Vector3.new(1.01,1.01,1.01)
  3786. fakehead.Anchored = true
  3787. fakehead.CanCollide = false
  3788. fakehead.Transparency = .5
  3789. fakehead.BrickColor = BrickColor.new("Really black")
  3790. fakehead.Material = "Neon"
  3791. fakehead.CFrame = Head.CFrame
  3792. local fakeheadmesh = Instance.new("SpecialMesh",fakehead)
  3793. fakeheadmesh.MeshType = "Head"
  3794. fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255)
  3795. local fakelarm = Instance.new("Part",Character)
  3796. fakelarm.CFrame = LeftArm.CFrame
  3797. fakelarm.Size = Vector3.new(1,2,1)
  3798. fakelarm.CanCollide = false
  3799. fakelarm.BrickColor = BrickColor.new("Really black")
  3800. fakelarm.Transparency = .5
  3801. fakelarm.Material = "Neon"
  3802. fakelarm.Anchored = true
  3803. local fakerarm = Instance.new("Part",Character)
  3804. fakerarm.CFrame = RightArm.CFrame
  3805. fakerarm.Size = Vector3.new(1,2,1)
  3806. fakerarm.Transparency = .5
  3807. fakerarm.BrickColor = BrickColor.new("Really black")
  3808. fakerarm.CanCollide = false
  3809. fakerarm.Material = "Neon"
  3810. fakerarm.Anchored = true
  3811. local fakelleg = Instance.new("Part",Character)
  3812. fakelleg.CFrame = LeftLeg.CFrame
  3813. fakelleg.Size = Vector3.new(1,2,1)
  3814. fakelleg.BrickColor = BrickColor.new("Really black")
  3815. fakelleg.Transparency = .5
  3816. fakelleg.CanCollide = false
  3817. fakelleg.Material = "Neon"
  3818. fakelleg.Anchored = true
  3819. local fakerleg = Instance.new("Part",Character)
  3820. fakerleg.CFrame = RightLeg.CFrame
  3821. fakerleg.Size = Vector3.new(1,2,1)
  3822. fakerleg.Transparency = .5
  3823. fakerleg.BrickColor = BrickColor.new("Really black")
  3824. fakerleg.CanCollide = false
  3825. fakerleg.Material = "Neon"
  3826. fakerleg.Anchored = true
  3827. local fakeTorso = Instance.new("Part",Character)
  3828. fakeTorso.CFrame = Torso.CFrame
  3829. fakeTorso.Size = Vector3.new(2,2,1)
  3830. fakeTorso.Transparency = .5
  3831. fakeTorso.CanCollide = false
  3832. fakeTorso.BrickColor = BrickColor.new("Really black")
  3833. fakeTorso.Material = "Neon"
  3834. fakeTorso.Anchored = true
  3835. coroutine.wrap(function()
  3836. for i = 1, 80 do
  3837. fakemask.Transparency = fakemask.Transparency + .0125
  3838. fakefedora.Transparency = fakefedora.Transparency + .0125
  3839. fakehead.Transparency = fakehead.Transparency + .0125
  3840. fakelarm.Transparency = fakelarm.Transparency + .0125
  3841. fakerarm.Transparency = fakerarm.Transparency + .0125
  3842. fakelleg.Transparency = fakelleg.Transparency + .0125
  3843. fakerleg.Transparency = fakerleg.Transparency + .0125
  3844. fakeTorso.Transparency = fakeTorso.Transparency + .0125
  3845. swait()
  3846. end
  3847. fakemask:Remove()
  3848. fakefedora:Remove()
  3849. fakehead:Remove()
  3850. fakelarm:Remove()
  3851. fakerarm:Remove()
  3852. fakelleg:Remove()
  3853. fakerleg:Remove()
  3854. fakeTorso:Remove()
  3855. end)()
  3856. Root.CFrame = enemyhum.Parent.Torso.CFrame * CFrame.new(0,0,3.9)
  3857. local hitbox = Instance.new("Part",Torso)
  3858. hitbox.Size = Vector3.new(1,1,1)
  3859. hitbox.Anchored = true
  3860. hitbox.Transparency = 1
  3861. hitbox.CanCollide = false
  3862. hitbox.CFrame = RightLeg.CFrame * CFrame.new(0,-.9,0)
  3863. for i = 1, 50 do
  3864. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3865. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3866. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  3867. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  3868. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3869. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  3870. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3871. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  3872. swait()
  3873. end
  3874. RightLeg.CanCollide = false
  3875. LeftLeg.CanCollide = false
  3876. for i = 1, 7 do
  3877. hitbox.CFrame = RightLeg.CFrame * CFrame.new(0,-.9,0)
  3878. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8, 1.7, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(72)), 0.4)
  3879. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.4)
  3880. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3881. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.4, 0) * CFrame.Angles(math.rad(72), math.rad(90), math.rad(0)), 0.4)
  3882. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.4)
  3883. swait()
  3884. end
  3885. Hit = damagealll(3,hitbox.Position)
  3886. for _,v in pairs(Hit) do
  3887. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3888. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3889. if secondform then
  3890. slachtoffer.Parent:BreakJoints()
  3891. else
  3892. slachtoffer:TakeDamage(math.random(35,42))
  3893. end
  3894. if secondform then
  3895. coroutine.wrap(function()
  3896. if tauntdebounce then return end
  3897. tauntdebounce = true
  3898. rdnm2 = p1[math.random(1,#p1)]
  3899. tauntsound = Instance.new("Sound", Head)
  3900. tauntsound.Volume = 10
  3901. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  3902. tauntsound.Looped = false
  3903. tauntsound:Play()
  3904. wait(3)
  3905. wait(tauntsound.TimeLength)
  3906. tauntsound:Remove()
  3907. wait(1)
  3908. tauntdebounce = false
  3909. end)()
  3910. end
  3911. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3912. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3913. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3914. local c = Instance.new("Sound",torso)
  3915. c.SoundId = "rbxassetid://2053414752"
  3916. c.Volume = 10
  3917. c:Play()
  3918. removeuseless:AddItem(c,6)
  3919. vel.velocity = CFrame.new(hitbox.Position,torso.Position).lookVector*300
  3920. removeuseless:AddItem(vel,.1)
  3921. end
  3922. end
  3923. enemyhum.WalkSpeed = 16
  3924. for i = 1, 7 do
  3925. hitbox.CFrame = RightLeg.CFrame * CFrame.new(0,-.9,0)
  3926. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8, 1.7, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(72)), 0.4)
  3927. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.4)
  3928. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3929. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.4, 0) * CFrame.Angles(math.rad(72), math.rad(90), math.rad(0)), 0.4)
  3930. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.4)
  3931. swait()
  3932. end
  3933. for i = 1, 100 do
  3934. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 1.76, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(90)), 0.02)
  3935. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.4)
  3936. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3937. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.7, -.3) * CFrame.Angles(math.rad(72), math.rad(90), math.rad(0)), 0.02)
  3938. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.4)
  3939. swait()
  3940. end
  3941. SOUND(Torso,147722227,10,false,4)
  3942. for i = 1, 15 do
  3943. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  3944. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.1, 1.7, 0) * CFrame.Angles(math.rad(0), math.rad(-0), math.rad(-160)), 0.2)
  3945. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.36, 0) * CFrame.Angles(math.rad(180), math.rad(180), math.rad(20)), 0.2)
  3946. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  3947. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  3948. swait()
  3949. end
  3950. for i = 1, 18 do
  3951. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  3952. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  3953. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(223), math.rad(96), math.rad(21)), 0.2)
  3954. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  3955. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  3956. swait()
  3957. end
  3958. for i = 1, 40 do
  3959. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-40), math.rad(2)), .2)
  3960. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, .3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), .2)
  3961. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(7), math.rad(0)), .2)
  3962. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(10), math.rad(0)), .2)
  3963. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), .2)
  3964. swait()
  3965. end
  3966. attacking = false
  3967. debounce = false
  3968. ws = 32
  3969. end
  3970. end
  3971. elseif Press=='l' then
  3972. if debounce then return end
  3973. debounce = true
  3974. attacking = true
  3975. ws = 0
  3976. coroutine.wrap(function()----lol
  3977. local bb = 0
  3978. local ua = Instance.new("Sound",Torso)
  3979. ua.SoundId = "rbxassetid://3214519794"
  3980. ua.Volume = 10
  3981. ua:Play()
  3982. invisible = true
  3983. for i = 1, 20 do
  3984. doomtheme.Volume = doomtheme.Volume - .5
  3985. swait()
  3986. end
  3987. local en = Instance.new("Part",Torso)
  3988. en.Size = Vector3.new(140,140,140)
  3989. en.BrickColor = BrickColor.new("White")
  3990. en.Material = "Neon"
  3991. en.Shape = "Ball"
  3992. en.Anchored = true
  3993. en.Transparency = 1
  3994. en.CanCollide = false
  3995. en.CFrame = Torso.CFrame
  3996. for i = 1, 100 do
  3997. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,4,0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),.05)
  3998. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(25),math.rad(0)), 0.05)
  3999. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(-25),math.rad(0)), 0.05)
  4000. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
  4001. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
  4002. swait()
  4003. end
  4004. for i = 1, 100 do
  4005. en.CFrame = Torso.CFrame
  4006. en.Size = en.Size - Vector3.new(1.3,1.3,1.3)
  4007. en.Transparency = en.Transparency - .025
  4008. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,4,0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),.25)
  4009. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(25),math.rad(0)), 0.25)
  4010. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(-25),math.rad(0)), 0.25)
  4011. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
  4012. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
  4013. swait()
  4014. end
  4015. en.Transparency = 0
  4016. wait(2)
  4017. coroutine.wrap(function()
  4018. local m = Instance.new("Part",Torso)
  4019. m.Size = Vector3.new(10,10,10)
  4020. m.Material = "Neon"
  4021. m.BrickColor = BrickColor.new("White")
  4022. m.Anchored = true
  4023. m.Transparency = 1
  4024. m.Name = "mo"
  4025. m.CanCollide = false
  4026. m.CFrame = Torso.CFrame
  4027. local m2 = m:Clone()
  4028. m2.Parent = Torso
  4029. m2.Size = Vector3.new(25,25,25)
  4030. local m3 = m:Clone()
  4031. m3.Parent = Torso
  4032. m3.Size = Vector3.new(50,50,50)
  4033. local m4 = m:Clone()
  4034. m4.Parent = Torso
  4035. m4.Size = Vector3.new(75,75,75)
  4036. local m5 = m:Clone()
  4037. m5.Parent = Torso
  4038. m5.Size = Vector3.new(100,100,100)
  4039. local m6 = m:Clone()
  4040. m6.Parent = Torso
  4041. m6.Size = Vector3.new(150,150,150)
  4042. local m7 = m:Clone()
  4043. m7.Parent = Torso
  4044. m7.Size = Vector3.new(200,200,200)
  4045. local m8 = m:Clone()
  4046. m8.Size = Vector3.new(300,300,300)
  4047. m8.Parent = Torso
  4048. local m9 = m:Clone()
  4049. m9.Size = Vector3.new(425,425,425)
  4050. m9.Parent = Torso
  4051. local m10 = m:Clone()
  4052. m10.Size = Vector3.new(725,725,725)
  4053. m10.Parent = Torso
  4054. local m11 = m:Clone()
  4055. m11.Size = Vector3.new(1025,1025,1025)
  4056. m11.Parent = Torso
  4057. coroutine.wrap(function()
  4058. for i = 1, 100 do
  4059. m11.Transparency = m.Transparency - .002
  4060. swait()
  4061. end
  4062. end)()
  4063. coroutine.wrap(function()
  4064. for i = 1, 100 do
  4065. m10.Transparency = m.Transparency - .002
  4066. swait()
  4067. end
  4068. end)()
  4069. coroutine.wrap(function()
  4070. for i = 1, 100 do
  4071. m.Transparency = m.Transparency - .005
  4072. swait()
  4073. end
  4074. end)()
  4075. wait(.1)
  4076. coroutine.wrap(function()
  4077. for i = 1, 100 do
  4078. m2.Transparency = m2.Transparency - .0045
  4079. swait()
  4080. end
  4081. end)()
  4082. wait(.1)
  4083. coroutine.wrap(function()
  4084. for i = 1, 100 do
  4085. m3.Transparency = m3.Transparency - .004
  4086. swait()
  4087. end
  4088. end)()
  4089. wait(.1)
  4090. coroutine.wrap(function()
  4091. for i = 1, 100 do
  4092. m4.Transparency = m4.Transparency - .0035
  4093. swait()
  4094. end
  4095. end)()
  4096. wait(.1)
  4097. coroutine.wrap(function()
  4098. for i = 1, 100 do
  4099. m5.Transparency = m5.Transparency - .003
  4100. swait()
  4101. end
  4102. end)()
  4103. wait(.1)
  4104. coroutine.wrap(function()
  4105. for i = 1, 100 do
  4106. m6.Transparency = m6.Transparency - .0025
  4107. swait()
  4108. end
  4109. end)()
  4110. wait(.1)
  4111. coroutine.wrap(function()
  4112. for i = 1, 100 do
  4113. m7.Transparency = m7.Transparency - .002
  4114. swait()
  4115. end
  4116. end)()
  4117. wait(.1)
  4118. coroutine.wrap(function()
  4119. for i = 1, 100 do
  4120. m8.Transparency = m8.Transparency - .002
  4121. swait()
  4122. end
  4123. end)()
  4124. wait(.1)
  4125. coroutine.wrap(function()
  4126. for i = 1, 100 do
  4127. m9.Transparency = m9.Transparency - .002
  4128. swait()
  4129. end
  4130. end)()
  4131. wait(.1)
  4132. end)()
  4133. coroutine.wrap(function()
  4134. for i = 1, 50 do
  4135. en.CFrame = Torso.CFrame
  4136. en.Size = en.Size + Vector3.new(8,8,8)
  4137. en.Transparency = en.Transparency + .025
  4138. swait()
  4139. end
  4140. en:Remove()
  4141. end)()
  4142. for i = 1, 30 do
  4143. coroutine.wrap(function()
  4144. local sk = Instance.new("Part",Torso)
  4145. sk.CanCollide = false
  4146. sk.Anchored = true
  4147. sk.BrickColor = BrickColor.new("White")
  4148. sk.Name = "sk"
  4149. sk.Transparency = 1
  4150. sk.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4151. local skmesh = Instance.new("SpecialMesh",sk)
  4152. skmesh.MeshId = "rbxassetid://662586858"
  4153. skmesh.Name = "wave"
  4154. skmesh.Scale = Vector3.new(math.random(.7,3),.005,math.random(.7,3))
  4155. for i = 1, 30 do
  4156. sk.Transparency = sk.Transparency - .0125
  4157. swait()
  4158. end
  4159. sk:Remove()
  4160. end)()
  4161. end
  4162. for i = 1, 400 do
  4163. coroutine.wrap(function()
  4164. Hit = damagealll(1000,Root.Position)
  4165. for _,v in pairs(Hit) do
  4166. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  4167. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  4168. if secondform then
  4169. slachtoffer.Parent:BreakJoints()
  4170. else
  4171. slachtoffer:TakeDamage(math.random(5,10))
  4172. end
  4173. end
  4174. end
  4175. local shockwave = Instance.new("Part", Torso)
  4176. shockwave.Size = Vector3.new(1,1,1)
  4177. shockwave.CanCollide = false
  4178. shockwave.Anchored = true
  4179. shockwave.Transparency = 0
  4180. shockwave.BrickColor = BrickColor.new("White")
  4181. shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
  4182. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  4183. shockwavemesh.Scale = Vector3.new(4,.7,4)
  4184. shockwavemesh.MeshId = "rbxassetid://20329976"
  4185. local shockwave2 = Instance.new("Part", Torso)
  4186. shockwave2.Size = Vector3.new(1,1,1)
  4187. shockwave2.CanCollide = false
  4188. shockwave2.Anchored = true
  4189. shockwave2.Transparency = 0
  4190. shockwave2.BrickColor = BrickColor.new("White")
  4191. shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
  4192. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  4193. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  4194. shockwavemesh2.MeshId = "rbxassetid://20329976"
  4195. for i = 1, 30 do
  4196. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(8,15)),0)
  4197. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(4,8)),0)
  4198. shockwave.Transparency = shockwave.Transparency + 0.035
  4199. shockwave2.Transparency = shockwave2.Transparency + 0.035
  4200. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(15,5,15)
  4201. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,6,10)
  4202. swait()
  4203. end
  4204. shockwave:Remove()
  4205. shockwave2:Remove()
  4206. end)()
  4207. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.305,2.035,.4) * CFrame.Angles(math.rad(17),math.rad(9),math.rad(-12)),.2)
  4208. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.305, 2.035, .4) * CFrame.Angles(math.rad(17),math.rad(-9),math.rad(12)),.2)
  4209. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,2,0) * CFrame.Angles(math.rad(30),0,0),.2)
  4210. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,1,0) * CFrame.Angles(math.rad(10),math.rad(8),math.rad(-45)),.2)
  4211. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,1,0)* CFrame.Angles(math.rad(10),math.rad(-8),math.rad(45)),.2)
  4212. coroutine.wrap(function()
  4213. local deadlyring = Instance.new("Part", Torso)
  4214. deadlyring.Size = Vector3.new(5, 5, 5)
  4215. deadlyring.Transparency = .5
  4216. deadlyring.BrickColor = BrickColor.new("White")
  4217. deadlyring.Anchored = true
  4218. deadlyring.CanCollide = false
  4219. deadlyring.CFrame = Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  4220. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  4221. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4222. deadlyringh.Scale = Vector3.new(1, 1, .1)
  4223. for i = 1, 60 do
  4224. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(20.25,20.25,0)
  4225. deadlyring.Transparency = deadlyring.Transparency + .025
  4226. swait()
  4227. end
  4228. deadlyring:Remove()
  4229. end)()
  4230. coroutine.wrap(function()
  4231. local deadlyring = Instance.new("Part", Torso)
  4232. deadlyring.Size = Vector3.new(5, 5, 5)
  4233. deadlyring.Transparency = .5
  4234. deadlyring.BrickColor = BrickColor.new("White")
  4235. deadlyring.Anchored = true
  4236. deadlyring.CanCollide = false
  4237. deadlyring.CFrame = Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  4238. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  4239. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4240. deadlyringh.Scale = Vector3.new(1, 1, .1)
  4241. for i = 1, 60 do
  4242. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(40.25,40.25,0)
  4243. deadlyring.Transparency = deadlyring.Transparency + .025
  4244. swait()
  4245. end
  4246. deadlyring:Remove()
  4247. end)()
  4248. coroutine.wrap(function()
  4249. local deadlyring = Instance.new("Part", Torso)
  4250. deadlyring.Size = Vector3.new(5, 5, 5)
  4251. deadlyring.Transparency = .5
  4252. deadlyring.BrickColor = BrickColor.new("White")
  4253. deadlyring.Anchored = true
  4254. deadlyring.CanCollide = false
  4255. deadlyring.CFrame = Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  4256. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  4257. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4258. deadlyringh.Scale = Vector3.new(1, 1, .1)
  4259. for i = 1, 60 do
  4260. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(80.25,80.25,0)
  4261. deadlyring.Transparency = deadlyring.Transparency + .025
  4262. swait()
  4263. end
  4264. deadlyring:Remove()
  4265. end)()
  4266. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "sk" then
  4267. v.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4268. end
  4269. end
  4270. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "mo" then
  4271. v.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4272. end
  4273. end
  4274. swait()
  4275. end
  4276. debounce = false
  4277. attacking = false
  4278. invisible = false
  4279. for i = 1, 50 do
  4280. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "sk" then
  4281. v.Transparency = v.Transparency + .05
  4282. end
  4283. end
  4284. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "mo" then
  4285. v.Transparency = v.Transparency + .05
  4286. end
  4287. end
  4288. swait()
  4289. end
  4290. end)()
  4291. elseif Press=='k' then
  4292. if mouse.Target ~= nil and mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4293. local enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4294. if enemyhum.Health < 1 then return end
  4295. local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
  4296. if debounce then return end
  4297. debounce = true
  4298. attacking = true
  4299. g1 = Instance.new("BodyGyro", Root)
  4300. g1.D = 175
  4301. g1.P = 20000
  4302. g1.MaxTorque = Vector3.new(0,9000,0)
  4303. for i = 1, 20 do
  4304. g1.CFrame = CFrame.new(Root.Position,ETorso.Position)
  4305. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  4306. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  4307. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  4308. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  4309. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  4310. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  4311. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2)
  4312. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.2)
  4313. swait()
  4314. end
  4315. local dice = Instance.new("Part",Torso)
  4316. dice.CanCollide = false
  4317. dice.CFrame = Root.CFrame * CFrame.new(2,0,-3.6) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4318. dice.Anchored = true
  4319. dice.Transparency = 0
  4320. dice.Size = Vector3.new(.8,.8,.8)
  4321. dicemesh = Instance.new("SpecialMesh",dice)
  4322. dicemesh.MeshId = "rbxassetid://95358536"
  4323. dicemesh.TextureId = "rbxassetid://100025876"
  4324. dicemesh.Scale = Vector3.new(.42,.42,.42)
  4325. local sh = Instance.new("Part",Torso)
  4326. sh.Size = Vector3.new(1.1,1.1,1.1)
  4327. sh.Anchored = true
  4328. sh.Transparency = 1
  4329. sh.CanCollide = false
  4330. sh.BrickColor = BrickColor.new("Really white")
  4331. sh.Material = "Neon"
  4332. sh.CFrame = dice.CFrame
  4333. local a = math.random(1,3)
  4334. local b = math.random(3,5)
  4335. local c = math.random(-180,180)
  4336. for i = 1, 20 do
  4337. dice.CFrame = dice.CFrame:lerp(Root.CFrame * CFrame.new(a,b,-5) * CFrame.Angles(math.rad(c),math.rad(c),math.rad(c)),.2)
  4338. sh.CFrame = dice.CFrame
  4339. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.2)
  4340. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(22),math.rad(-1)),.2)
  4341. swait()
  4342. end
  4343. coroutine.wrap(function()
  4344. local sof = Instance.new("Sound",dice)
  4345. sof.SoundId = "rbxassetid://149649902"
  4346. sof.Volume = 8
  4347. sof:Play()
  4348. for i = 1, 40 do
  4349. dice.CFrame = dice.CFrame:lerp(Root.CFrame * CFrame.new(a,b,-5) * CFrame.Angles(math.rad(c),math.rad(c),math.rad(c)),.2)
  4350. sh.Transparency = sh.Transparency - .025
  4351. swait()
  4352. end
  4353. local sof2 = Instance.new("Sound",dice)
  4354. sof2.SoundId = "rbxassetid://224339201"
  4355. sof2.Volume = 8
  4356. sof2:Play()
  4357. local sof3 = Instance.new("Sound",dice)
  4358. sof3.SoundId = "rbxassetid://165796875"
  4359. sof3.Volume = 6
  4360. sof3:Play()
  4361. sof3.Looped = true
  4362. MAKETRAIL(dice,Vector3.new(.2,.2,0),Vector3.new(-.2,-.2,0),.7,ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color))
  4363. local zb = Instance.new("Part",Torso)
  4364. zb.Size = Vector3.new(.5,.5,.5)
  4365. zb.Anchored = false
  4366. zb.CanCollide = false
  4367. zb.CFrame = dice.CFrame
  4368. local bov = Instance.new("RocketPropulsion",zb)
  4369. bov.MaxThrust = 4000
  4370. bov.MaxSpeed = 1000
  4371. bov.MaxTorque = Vector3.new(99999999,99999999,99999999)
  4372. bov.Target = ETorso
  4373. bov.TargetRadius = math.huge
  4374. bov:fire()
  4375. coroutine.wrap(function()
  4376. for i = 1, 200 do
  4377. Hit = damagealll(12,dice.Position)
  4378. for _,v in pairs(Hit) do
  4379. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  4380. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  4381. if slachtoffer == enemyhum then
  4382. if secondform then
  4383. slachtoffer.Parent:BreakJoints()
  4384. else
  4385. slachtoffer:TakeDamage(math.random(1,2))
  4386. end
  4387. end
  4388. if secondform then
  4389. coroutine.wrap(function()
  4390. if tauntdebounce then return end
  4391. tauntdebounce = true
  4392. rdnm2 = p1[math.random(1,#p1)]
  4393. tauntsound = Instance.new("Sound", Head)
  4394. tauntsound.Volume = 10
  4395. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  4396. tauntsound.Looped = false
  4397. tauntsound:Play()
  4398. wait(3)
  4399. wait(tauntsound.TimeLength)
  4400. tauntsound:Remove()
  4401. wait(1)
  4402. tauntdebounce = false
  4403. end)()
  4404. end
  4405. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4406. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4407. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4408. vel.velocity = CFrame.new(dice.Position,torso.Position).lookVector*15
  4409. removeuseless:AddItem(vel,.1)
  4410. end
  4411. end
  4412. local pi = Instance.new("Part",Torso)
  4413. pi.Anchored = true
  4414. pi.CanCollide = false
  4415. pi.Size = Vector3.new(1,1,1)
  4416. pi.CFrame = zb.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  4417. dice.CFrame = pi.CFrame
  4418. pi:Remove()
  4419. swait()
  4420. end
  4421. sof3:Remove()
  4422. bov:Remove()
  4423. zb:Remove()
  4424. dice.Anchored = false
  4425. dice.CanCollide = true
  4426. coroutine.wrap(function()
  4427. wait(6)
  4428. for i = 1, 20 do
  4429. dice.Transparency = dice.Transparency + .05
  4430. swait()
  4431. end
  4432. dice:Remove()
  4433. end)()
  4434. end)()
  4435. for i = 1, 20 do
  4436. sh.Size = sh.Size + Vector3.new(.5,.5,.5)
  4437. sh.Transparency = sh.Transparency + .05
  4438. swait()
  4439. end
  4440. sh:Remove()
  4441. end)()
  4442. removeuseless:AddItem(g1,.001)
  4443. attacking = false
  4444. debounce = false
  4445. end
  4446. elseif Press=='e' then
  4447. if debounce then return end
  4448. debounce = true
  4449. attacking = true
  4450. ws = 10
  4451. local g1 = Instance.new("BodyGyro", Root)
  4452. g1.D = 175
  4453. g1.P = 4000
  4454. g1.MaxTorque = Vector3.new(0,9000000,0)
  4455. local bwoo = Instance.new("Sound",Torso)
  4456. bwoo.SoundId = "rbxassetid://134012322"
  4457. bwoo.Volume = 10
  4458. bwoo.Pitch = .85
  4459. bwoo:Play()
  4460. removeuseless:AddItem(bwoo,8)
  4461. for i = 1, 22 do
  4462. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  4463. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  4464. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  4465. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  4466. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.2 + .0 * math.sin(sine/12), .7) * CFrame.Angles(math.rad(9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.2)
  4467. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  4468. swait()
  4469. end
  4470. local rocksm = Instance.new("Sound",Torso)
  4471. rocksm.SoundId = "rbxassetid://168514932"
  4472. rocksm.Volume = 10
  4473. rocksm.Pitch = .94
  4474. rocksm:Play()
  4475. removeuseless:AddItem(rocksm,8)
  4476. coroutine.wrap(function()
  4477. ws = 0
  4478. for i = 1, 22 do
  4479. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(2), math.rad(10)), 0.4)
  4480. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.4)
  4481. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
  4482. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.7, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  4483. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
  4484. swait()
  4485. end
  4486. end)()
  4487. local p = Instance.new("Part",Torso)
  4488. p.Size = Vector3.new(1,1,1)
  4489. p.Anchored = true
  4490. p.CanCollide = false
  4491. p.Transparency = 1
  4492. p.CFrame = Root.CFrame * CFrame.new(0,0,-4)
  4493. local so = Instance.new("Sound",p)
  4494. so.Volume = 10
  4495. so.SoundId = "rbxassetid://2017948224"
  4496. so:Play()
  4497. local x = 0
  4498. local z = 0
  4499. local c = 0
  4500. for i = 1, 30 do
  4501. x = x + 2
  4502. c = c - 1.2
  4503. z = z + 10
  4504. Hit = damagealll(5 + x,p.Position)
  4505. for _,v in pairs(Hit) do
  4506. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  4507. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  4508. if secondform then
  4509. slachtoffer.Parent:BreakJoints()
  4510. else
  4511. slachtoffer:TakeDamage(math.random(39,62))
  4512. end
  4513. if secondform then
  4514. coroutine.wrap(function()
  4515. if tauntdebounce then return end
  4516. tauntdebounce = true
  4517. rdnm2 = p1[math.random(1,#p1)]
  4518. tauntsound = Instance.new("Sound", Head)
  4519. tauntsound.Volume = 10
  4520. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
  4521. tauntsound.Looped = false
  4522. tauntsound:Play()
  4523. wait(3)
  4524. wait(tauntsound.TimeLength)
  4525. tauntsound:Remove()
  4526. wait(1)
  4527. tauntdebounce = false
  4528. end)()
  4529. end
  4530. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4531. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4532. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4533. vel.velocity = CFrame.new(p.Position,torso.Position).lookVector*125
  4534. removeuseless:AddItem(vel,.1)
  4535. end
  4536. end
  4537. local gr = Instance.new("Part",Torso)
  4538. gr.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  4539. gr.Anchored = true
  4540. gr.Material = "Grass"
  4541. gr.BrickColor = BrickColor.new("Bright green")
  4542. gr.Size = Vector3.new(x,z,x)
  4543. gr.CanCollide = true
  4544. p.CFrame = p.CFrame * CFrame.new(0,0,-2 + c)
  4545. local gr2 = Instance.new("Part",Torso)
  4546. gr2.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-76,76)),math.rad(math.random(-76,76)),math.rad(math.random(-76,76)))
  4547. gr2.Anchored = true
  4548. gr2.Material = "Grass"
  4549. gr2.BrickColor = BrickColor.new("Bright green")
  4550. gr2.Size = Vector3.new(x/1,z,x/1)
  4551. gr2.CanCollide = true
  4552. coroutine.wrap(function()
  4553. wait(.5)
  4554. gr2.CanCollide = false
  4555. gr2.Anchored = false
  4556. for i = 1, 40 do
  4557. gr2.Transparency = gr2.Transparency + .025
  4558. swait()
  4559. end
  4560. gr2:Remove()
  4561. end)()
  4562. coroutine.wrap(function()
  4563. wait(.5)
  4564. for i = 1, 40 do
  4565. swait()
  4566. gr.CFrame = gr.CFrame * CFrame.new(0,-5,0)
  4567. gr.Transparency = gr.Transparency + .025
  4568. end
  4569. gr:Remove()
  4570. end)()
  4571. swait()
  4572. end
  4573. coroutine.wrap(function()
  4574. wait(.5)
  4575. for i = 1, 40 do
  4576. so.Volume = so.Volume - .025
  4577. swait()
  4578. end
  4579. p:Remove()
  4580. so:Remove()
  4581. end)()
  4582. ws = 32
  4583. removeuseless:AddItem(g1,.0001)
  4584. attacking = false
  4585. debounce = false
  4586. end
  4587. end)
  4588.  
  4589. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  4590. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  4591. end
  4592.  
  4593. function ray2(StartPos, EndPos, Distance, Ignore)
  4594. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  4595. return ray(StartPos, DIRECTION, Distance, Ignore)
  4596. end
  4597.  
  4598. checks1 = coroutine.wrap(function() -------Checks
  4599. while true do
  4600. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,4 * 1,Character)
  4601. if Root.Velocity.y > 1 and hf == nil then
  4602. position = "Jump"
  4603. elseif Root.Velocity.y < -1 and hf == nil then
  4604. position = "Falling"
  4605. elseif Root.Velocity.Magnitude < 5 and hf ~= nil then
  4606. position = "Idle"
  4607. elseif Root.Velocity.Magnitude > 5 and hf ~= nil then
  4608. position = "Walking"
  4609. else
  4610. end
  4611. wait()
  4612. end
  4613. end)
  4614. checks1()
  4615.  
  4616. OrgnC0 = Neck.C0
  4617. local movelimbs = coroutine.wrap(function()
  4618. while RunSrv.RenderStepped:wait() do
  4619. TrsoLV = Torso.CFrame.lookVector
  4620. Dist = nil
  4621. Diff = nil
  4622. if not MseGuide then
  4623. print("Failed to recognize")
  4624. else
  4625. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  4626. Dist = (Head.CFrame.p-Point).magnitude
  4627. Diff = Head.CFrame.Y-Point.Y
  4628. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  4629. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  4630. Diff2 = LeftArm.CFrame.Y-Point.Y
  4631. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4632. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  4633. end
  4634. end
  4635. end)
  4636. movelimbs()
  4637. immortal = {}
  4638. for i,v in pairs(Character:GetDescendants()) do
  4639. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  4640. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  4641. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4642. end
  4643. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  4644. elseif v:IsA("JointInstance") then
  4645. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  4646. end
  4647. end
  4648. for e = 1, #immortal do
  4649. if immortal[e] ~= nil then
  4650. local STUFF = immortal[e]
  4651. local PART = STUFF[1]
  4652. local PARENT = STUFF[2]
  4653. local MATERIAL = STUFF[3]
  4654. local COLOR = STUFF[4]
  4655. local TRANSPARENCY = STUFF[5]
  4656. if levitate then
  4657. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  4658. PART.Material = MATERIAL
  4659. PART.Color = COLOR
  4660. PART.Transparency = TRANSPARENCY
  4661. end
  4662. PART.AncestryChanged:connect(function()
  4663. PART.Parent = PARENT
  4664. end)
  4665. else
  4666. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  4667. PART.Material = MATERIAL
  4668. PART.Color = COLOR
  4669. PART.Transparency = TRANSPARENCY
  4670. end
  4671. PART.AncestryChanged:connect(function()
  4672. PART.Parent = PARENT
  4673. end)
  4674. end
  4675. end
  4676. end
  4677. function immortality()
  4678. for e = 1, #immortal do
  4679. if immortal[e] ~= nil then
  4680. local STUFF = immortal[e]
  4681. local PART = STUFF[1]
  4682. local PARENT = STUFF[2]
  4683. local MATERIAL = STUFF[3]
  4684. local COLOR = STUFF[4]
  4685. local TRANSPARENCY = STUFF[5]
  4686. if PART.ClassName == "Part" and PART == Root then
  4687. PART.Material = MATERIAL
  4688. PART.Color = COLOR
  4689. PART.Transparency = TRANSPARENCY
  4690. end
  4691. if PART.Parent ~= PARENT then
  4692. hum:Remove()
  4693. PART.Parent = PARENT
  4694. hum = Instance.new("Humanoid",Character)
  4695. if levitate then
  4696. eyo1:Remove()
  4697. eyo2:Remove()
  4698. end
  4699. hum.Name = "noneofurbusiness"
  4700. end
  4701. end
  4702. end
  4703. end
  4704. coroutine.wrap(function()
  4705. while true do
  4706. hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  4707. if hum.Health < .1 then
  4708. immortality()
  4709. end
  4710. wait()
  4711. end
  4712. end)()
  4713.  
  4714. local anims = coroutine.wrap(function()
  4715. while true do
  4716. settime = 0.05
  4717. sine = sine + change
  4718. if position == "Jump" and not attacking then
  4719. change = 1
  4720. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4721. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(10), math.rad(2), math.rad(10)), 0.2)
  4722. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.2)
  4723. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.09)
  4724. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  4725. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  4726. elseif position == "Falling" and not attacking then
  4727. change = 1
  4728. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4729. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.09)
  4730. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  4731. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  4732. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
  4733. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  4734. elseif position == "Walking" and not attacking then
  4735. change = 1.4
  4736. walking = true
  4737. ws = 32
  4738. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4739. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 - .3 * math.sin(sine/8),.45 +.45 * math.sin(sine/8),-.3 - .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*math.sin(sine/8)),math.rad(-30 + 40*math.sin(sine/8)),math.rad(-10, math.sin(-20 * math.sin(sine/4)))),.3)
  4740. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 - .3 * math.sin(sine/8),.45 -.45 * math.sin(sine/8),-.3 + .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*-math.sin(sine/8)),math.rad(30 + 40*math.sin(sine/8)),math.rad(10, math.sin(-20 * math.sin(sine/4)))),.3)
  4741. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  4742. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  4743. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.29*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-15), math.rad(12 * -math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.1)
  4744. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.62 - .54 * math.cos(sine/8)/2.8,.2 - .5 * math.sin(sine/8)) * CFrame.Angles(math.rad(20 - 60* math.sin(sine/8)), math.rad(9-16)*math.cos(sine/8), math.rad(0), math.cos(65 * math.cos(sine/8))), 0.3)
  4745. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.62 + .54 * math.cos(sine/8)/2.8,.2 + .5 * math.sin(sine/8)) * CFrame.Angles(math.rad(20 + 60* math.sin(sine/8)), math.rad(-9+16)*math.cos(sine/8), math.rad(0), math.cos(65 * math.cos(sine/8))), 0.3)
  4746. elseif position == "Idle" and not attacking then
  4747. change = .5
  4748. spin = true
  4749. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  4750. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-88 + 2 * math.sin(sine/12)),math.rad(76 - 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  4751. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.33) * CFrame.Angles(math.rad(-80 + 2 * math.sin(sine/12)),math.rad(-94 + 1 * math.sin(sine/12)),math.rad(0)), 0.2)
  4752. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  4753. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  4754. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  4755. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  4756. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  4757. end
  4758. swait()
  4759. end
  4760. end)
  4761. anims()
  4762. warn("You rolled, death! Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement