Advertisement
ericdesouza

Omega script

Mar 13th, 2018
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.72 KB | None | 0 0
  1. warn'O̵̡̻̮͙̥̖͕͓̺͕̐̓m̷̡̨̛͈̱̟̗̳̭̖͇͙͈̼̊̄̈́́̋è̸̲̗̭͙͉̜͈̰̠̀̀̇̊̍̃̾͒͊̓̈́̀̌̀g̵̣͈͔̞̣̝̟̹͑̿̅̈́̈́̀̒̋̈̚͜͠a̷̧̛̮̻̝̣̺̰͐̈́̐̏̅̈́̆̉̃̽͝ ̷͓͓̦̗̯̽ḷ̴̟́͒ǫ̸̻̘͙̪̗̙̦̳̈́a̸̛̙̱͓̿͊͆̄̊̈d̷̩͎͚̜̳̋̾̈̔̑͋ͅe̶̢̧͉̞̹̦̹̩̞̟̊͂͆̔̐̊́ͅḑ̷̯̻̹̭̳̙͕̣̹͚̼͕͍̅̆'
  2.  
  3. ---- thanks to genocider and psychopath sources, this would be another one
  4. ---- LockOnTargetNoWhiteListKThx
  5. plr = game.Players.LocalPlayer
  6. char = plr.Character
  7. hum = char.Humanoid
  8. local cam = game.Workspace.CurrentCamera
  9. t = char.Torso
  10. h = char.Head
  11. ra = char["Right Arm"]
  12. la = char["Left Arm"]
  13. rl = char["Right Leg"]
  14. ll = char["Left Leg"]
  15. tors = char.Torso
  16. lleg = char["Left Leg"]
  17. root = char.HumanoidRootPart
  18. hed = char.Head
  19. rleg = char["Right Leg"]
  20. rarm = char["Right Arm"]
  21. larm = char["Left Arm"]
  22. local hum = char.Humanoid
  23. vt = Vector3.new
  24. bc = BrickColor.new
  25. br = BrickColor.random
  26. it = Instance.new
  27. cf = CFrame.new
  28. local targetted = nil
  29. local killcount = 0
  30. local requirekillA = 15
  31. local requirekillX = 50
  32. local maxA = 5
  33. local maxX = 1
  34. if plr.Name == "MasterdMayonase" then
  35. maxX = 0
  36. requirekillX = maxX
  37. end
  38. local unlockedA = true
  39. local unlockedX = true
  40. local LeftModeUnlocked = false
  41.  
  42. hum.MaxHealth = math.huge
  43. wait(0.1)
  44. hum.Health = math.huge
  45.  
  46. kan = Instance.new("Sound",char)
  47. kan.Volume = 1
  48. kan.PlaybackSpeed = 0.4
  49. kan.Pitch = 1
  50. kan.SoundId = "rbxassetid://358988503"
  51. kan.Name = "kreepery"
  52. kan.Looped = true
  53. kan:Play()
  54.  
  55. abss = Instance.new("BillboardGui",char)
  56. abss.Size = UDim2.new(10,0,10,0)
  57. abss.Enabled = false
  58. imgl = Instance.new("ImageLabel",abss)
  59. imgl.Position = UDim2.new(0,0,0,0)
  60. imgl.Size = UDim2.new(1,0,1,0)
  61. imgl.Image = "http://www.roblox.com/asset/?id=223123319"
  62. imgl.BackgroundTransparency = 1
  63. imgl.ImageColor3 = Color3.new(0,0,0)
  64. imgl2 = Instance.new("ImageLabel",abss)
  65. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  66. imgl2.Size = UDim2.new(2,0,2,0)
  67. imgl2.Image = "http://www.roblox.com/asset/?id=1346255208"
  68. imgl2.BackgroundTransparency = 1
  69. imgl2.ImageColor3 = Color3.new(0,0,0)
  70. img2 = Instance.new("ImageLabel",abss)
  71. img2.Position = UDim2.new(0,0,0,0)
  72. img2.Size = UDim2.new(1,0,1,0)
  73. img2.Image = "rbxassetid://1346255208"
  74. img2.BackgroundTransparency = 1
  75. img2.ImageColor3 = Color3.new(0,0,0)
  76.  
  77. function CameraShake(Times, Power)
  78. coroutine.resume(coroutine.create(function()
  79. FV = Instance.new("BoolValue", Character)
  80. FV.Name = "CameraShake"
  81. for ShakeNum=1,Times do
  82. swait()
  83. local ef=Power
  84. if ef>=1 then
  85. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  86. else
  87. ef=Power*10
  88. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  89. end
  90. end
  91. Humanoid.CameraOffset = Vector3.new(0,0,0)
  92. FV:Destroy()
  93. end))
  94. end
  95.  
  96. CamShake=function(Part,Distan,Power,Times)
  97. local de=Part.Position
  98. for i,v in pairs(workspace:children()) do
  99. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  100. for _,c in pairs(v:children()) do
  101. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  102. local Noob=v.Humanoid
  103. if Noob~=nil then
  104. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  105. --[[local ss=script.CamShake:clone()
  106. ss.Parent=Noob
  107. ss.Power.Value=Power
  108. ss.Times.Value=Times
  109. ss.Disabled=false]]
  110. CameraShake(Times, Power)
  111. end
  112. end
  113. end
  114. end
  115. end
  116. end
  117. end
  118.  
  119. function chatfunc(text,color)
  120. local chat = coroutine.wrap(function()
  121. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  122. Character:FindFirstChild("TalkingBillBoard"):destroy()
  123. end
  124. local naeeym2 = Instance.new("BillboardGui",Character)
  125. naeeym2.Size = UDim2.new(0,100,0,40)
  126. naeeym2.StudsOffset = Vector3.new(0,3,0)
  127. naeeym2.Adornee = Character.Head
  128. naeeym2.Name = "TalkingBillBoard"
  129. local tecks2 = Instance.new("TextLabel",naeeym2)
  130. tecks2.BackgroundTransparency = 1
  131. tecks2.BorderSizePixel = 0
  132. tecks2.Text = ""
  133. tecks2.Font = "SciFi"
  134. tecks2.TextSize = 30
  135. tecks2.TextStrokeTransparency = 0
  136. tecks2.TextColor3 = color
  137. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  138. tecks2.Size = UDim2.new(0,0,0.0,0)
  139. local tecks3 = Instance.new("TextLabel",naeeym2)
  140. tecks3.BackgroundTransparency = 1
  141. tecks3.BorderSizePixel = 0
  142. tecks3.Text = ""
  143. tecks3.Font = "SciFi"
  144. tecks3.TextSize = 30
  145. tecks3.TextStrokeTransparency = 0
  146. tecks3.TextColor3 = Color3.new(0,0,0)
  147. tecks3.TextStrokeColor3 = color
  148. tecks3.Size = UDim2.new(0,0,0,0)
  149. coroutine.resume(coroutine.create(function()
  150. while true do
  151. swait(1)
  152. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  153. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  154. tecks2.Rotation = math.random(-15,15)
  155. tecks3.Rotation = math.random(-15,15)
  156. end
  157. end))
  158. for i = 1,string.len(text),1 do
  159. CFuncs["Sound"].Create("rbxassetid://261227592", char, 0.25, 0.115)
  160. tecks2.Text = string.sub(text,1,i)
  161. tecks3.Text = string.sub(text,1,i)
  162. swait(1)
  163. end
  164. wait(1)
  165. local randomrot = math.random(1,2)
  166. if randomrot == 1 then
  167. for i = 1, 50 do
  168. swait()
  169. tecks2.Rotation = tecks2.Rotation - .100
  170. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  171. tecks2.TextTransparency = tecks2.TextTransparency + .04
  172. tecks3.Rotation = tecks2.Rotation + .100
  173. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  174. tecks3.TextTransparency = tecks2.TextTransparency + .04
  175. end
  176. elseif randomrot == 2 then
  177. for i = 1, 50 do
  178. swait()
  179. tecks2.Rotation = tecks2.Rotation + .85
  180. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  181. tecks2.TextTransparency = tecks2.TextTransparency + .04
  182. tecks3.Rotation = tecks2.Rotation - .85
  183. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  184. tecks3.TextTransparency = tecks2.TextTransparency + .04
  185. end
  186. end
  187. naeeym2:Destroy()
  188. end)
  189. chat()
  190. end
  191.  
  192.  
  193. local Create = LoadLibrary("RbxUtility").Create
  194.  
  195. CFuncs = {
  196. ["Part"] = {
  197. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  198. local Part = Create("Part"){
  199. Parent = Parent,
  200. Reflectance = Reflectance,
  201. Transparency = Transparency,
  202. CanCollide = false,
  203. Locked = true,
  204. BrickColor = BrickColor.new(tostring(BColor)),
  205. Name = Name,
  206. Size = Size,
  207. Material = Material,
  208. }
  209. RemoveOutlines(Part)
  210. return Part
  211. end;
  212. };
  213.  
  214. ["Mesh"] = {
  215. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  216. local Msh = Create(Mesh){
  217. Parent = Part,
  218. Offset = OffSet,
  219. Scale = Scale,
  220. }
  221. if Mesh == "SpecialMesh" then
  222. Msh.MeshType = MeshType
  223. Msh.MeshId = MeshId
  224. end
  225. return Msh
  226. end;
  227. };
  228.  
  229. ["Mesh"] = {
  230. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  231. local Msh = Create(Mesh){
  232. Parent = Part,
  233. Offset = OffSet,
  234. Scale = Scale,
  235. }
  236. if Mesh == "SpecialMesh" then
  237. Msh.MeshType = MeshType
  238. Msh.MeshId = MeshId
  239. end
  240. return Msh
  241. end;
  242. };
  243.  
  244. ["Weld"] = {
  245. Create = function(Parent, Part0, Part1, C0, C1)
  246. local Weld = Create("Weld"){
  247. Parent = Parent,
  248. Part0 = Part0,
  249. Part1 = Part1,
  250. C0 = C0,
  251. C1 = C1,
  252. }
  253. return Weld
  254. end;
  255. };
  256.  
  257. ["Sound"] = {
  258. Create = function(id, par, vol, pit)
  259. coroutine.resume(coroutine.create(function()
  260. local S = Create("Sound"){
  261. Volume = vol,
  262. Pitch = pit or 1,
  263. SoundId = id,
  264. Parent = par or workspace,
  265. }
  266. wait()
  267. S:play()
  268. game:GetService("Debris"):AddItem(S, 10)
  269. end))
  270. end;
  271. };
  272.  
  273. ["LongSound"] = {
  274. Create = function(id, par, vol, pit)
  275. coroutine.resume(coroutine.create(function()
  276. local S = Create("Sound"){
  277. Volume = vol,
  278. Pitch = pit or 1,
  279. SoundId = id,
  280. Parent = par or workspace,
  281. }
  282. wait()
  283. S:play()
  284. game:GetService("Debris"):AddItem(S, 30)
  285. end))
  286. end;
  287. };
  288.  
  289. ["ParticleEmitter"] = {
  290. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  291. local fp = Create("ParticleEmitter"){
  292. Parent = Parent,
  293. Color = ColorSequence.new(Color1, Color2),
  294. LightEmission = LightEmission,
  295. Size = Size,
  296. Texture = Texture,
  297. Transparency = Transparency,
  298. ZOffset = ZOffset,
  299. Acceleration = Accel,
  300. Drag = Drag,
  301. LockedToPart = LockedToPart,
  302. VelocityInheritance = VelocityInheritance,
  303. EmissionDirection = EmissionDirection,
  304. Enabled = Enabled,
  305. Lifetime = LifeTime,
  306. Rate = Rate,
  307. Rotation = Rotation,
  308. RotSpeed = RotSpeed,
  309. Speed = Speed,
  310. VelocitySpread = VelocitySpread,
  311. }
  312. return fp
  313. end;
  314. };
  315.  
  316. CreateTemplate = {
  317.  
  318. };
  319. }
  320.  
  321.  
  322.  
  323. New = function(Object, Parent, Name, Data)
  324. local Object = Instance.new(Object)
  325. for Index, Value in pairs(Data or {}) do
  326. Object[Index] = Value
  327. end
  328. Object.Parent = Parent
  329. Object.Name = Name
  330. return Object
  331. end
  332. local halocolor = BrickColor.new("White")
  333. local wepcolor = BrickColor.new("White")
  334. local MutantParts = Instance.new("Model",char)
  335. local MutantParts2 = Instance.new("Model",char)
  336.  
  337. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  338. local p = Instance.new("Part")
  339. p.TopSurface = 0
  340. p.BottomSurface = 0
  341. p.Parent = parent
  342. p.Size = Vector3.new(0,0,0)
  343. p.Transparency = transparency
  344. p.Reflectance = reflectance
  345. p.CanCollide = false
  346. p.Locked = true
  347. p.BrickColor = brickcolor
  348. p.Material = material
  349. return p
  350. end
  351.  
  352. function CreateMesh(parent,meshtype,x1,y1,z1)
  353. local mesh = Instance.new("SpecialMesh",parent)
  354. mesh.MeshType = meshtype
  355. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  356. return mesh
  357. end
  358.  
  359. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  360. local mesh = Instance.new("SpecialMesh",parent)
  361. mesh.MeshType = "FileMesh"
  362. mesh.MeshId = meshid
  363. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  364. mesh.Scale = Vector3.new(x1,y1,z1)
  365. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  366. return mesh
  367. end
  368.  
  369. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  370. local weld = Instance.new("Weld")
  371. weld.Parent = parent
  372. weld.Part0 = part0
  373. weld.Part1 = part1
  374. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  375. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  376. return weld
  377. end
  378.  
  379. --larm.Name = "MutatedLeftArm"
  380.  
  381.  
  382. for i, v in pairs(MutantParts:GetChildren()) do
  383. if v:IsA("Part") then
  384. v.Transparency = 0
  385. end
  386. end
  387.  
  388. for i, v in pairs(MutantParts2:GetChildren()) do
  389. if v:IsA("Part") then
  390. v.Transparency = 0
  391. end
  392. end
  393. function RemoveOutlines(part)
  394. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  395. end
  396. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  397. local Part = Create("Part")({
  398. Parent = Parent,
  399. Reflectance = Reflectance,
  400. Transparency = Transparency,
  401. CanCollide = false,
  402. Locked = true,
  403. BrickColor = BrickColor.new(tostring(BColor)),
  404. Name = Name,
  405. Size = Size,
  406. Material = Material
  407. })
  408. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  409. RemoveOutlines(Part)
  410. return Part
  411. end
  412. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  413. local Msh = Create(Mesh)({
  414. Parent = Part,
  415. Offset = OffSet,
  416. Scale = Scale
  417. })
  418. if Mesh == "SpecialMesh" then
  419. Msh.MeshType = MeshType
  420. Msh.MeshId = MeshId
  421. end
  422. return Msh
  423. end
  424. function CreateWeld(Parent, Part0, Part1, C0, C1)
  425. local Weld = Create("Weld")({
  426. Parent = Parent,
  427. Part0 = Part0,
  428. Part1 = Part1,
  429. C0 = C0,
  430. C1 = C1
  431. })
  432. return Weld
  433. end
  434.  
  435. local ff = Instance.new("ForceField",char)
  436. ff.Visible = false
  437.  
  438. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  439. local gui = it(GuiType)
  440. gui.Parent = parent
  441. gui.Text = text
  442. gui.BackgroundTransparency = backtrans
  443. gui.BackgroundColor3 = backcol
  444. gui.SizeConstraint = "RelativeXY"
  445. gui.TextXAlignment = "Center"
  446. gui.TextYAlignment = "Center"
  447. gui.Position = pos
  448. gui.Size = size
  449. gui.Font = "SourceSans"
  450. gui.FontSize = "Size14"
  451. gui.TextWrapped = false
  452. gui.TextStrokeTransparency = 0
  453. gui.TextColor = BrickColor.new("White")
  454. return gui
  455. end
  456. ---- GUI set
  457. local basgui = it("GuiMain")
  458. basgui.Parent = plr.PlayerGui
  459. basgui.Name = "Killcounter GUI"
  460. local basframe = it("Frame")
  461. basframe.Parent = basgui
  462. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  463. basframe.BackgroundTransparency = 1
  464. basframe.BorderColor3 = Color3.new(17, 17, 17)
  465. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  466. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  467.  
  468. local basframelist = it("Frame")
  469. basframelist.Parent = basgui
  470. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  471. basframelist.BackgroundTransparency = 1
  472. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  473. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  474. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  475.  
  476. local uhh = gui("TextLabel", basframe, "Basic", 1, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.10, 0), UDim2.new(0.95, 0, 0.15, 0))
  477. uhh.ZIndex = 2
  478. uhh.Font = "Arcade"
  479. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  480. uhh.TextColor3 = Color3.new(0,0,0)
  481. uhh.BackgroundTransparency = 1
  482. uhh.BorderSizePixel = 0.65
  483. uhh.TextScaled = false
  484. uhh.TextXAlignment = "Left"
  485. uhh.Text = "Souls : 0"
  486. uhh.TextSize = 54
  487.  
  488.  
  489. local uhh2 = gui("TextLabel", basframelist, "Basic", 1, BrickColor.new("Really black").Color, UDim2.new(-0.8, 0, 0.10, 0), UDim2.new(0.95, 0, 0.15, 0))
  490. uhh2.ZIndex = 2
  491. uhh2.Font = "Bodoni"
  492. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  493. uhh2.TextColor3 = Color3.new(0,0,0)
  494. uhh2.BackgroundTransparency = 1
  495. uhh2.BorderSizePixel = 0.65
  496. uhh2.TextScaled = false
  497. uhh2.TextXAlignment = "Left"
  498. uhh2.Text = "Required kills for second Power: 5"
  499. uhh2.TextSize = 24
  500. local uhh3 = gui("TextLabel", basframelist, "Basic", 1, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, -0.1, 0), UDim2.new(0.95, 0, 0.15, 0))
  501. uhh3.ZIndex = 2
  502. uhh3.Font = "Bodoni"
  503. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  504. uhh3.TextColor3 = Color3.new(0,0,0)
  505. uhh3.BackgroundTransparency = 1
  506. uhh3.BorderSizePixel = 0.65
  507. uhh3.TextScaled = false
  508. uhh3.TextXAlignment = "Left"
  509. uhh3.Text = "Required kills for the end: 50"
  510. uhh3.TextSize = 24
  511.  
  512.  
  513. Player=game:GetService("Players").LocalPlayer
  514. Character=Player.Character
  515. local Mouse = Player:GetMouse()
  516. PlayerGui=Player.PlayerGui
  517. Backpack=Player.Backpack
  518. Torso=Character.Torso
  519. Head=Character.Head
  520. Humanoid=Character.Humanoid
  521. m=Instance.new('Model',Character)
  522. LeftArm=Character["Left Arm"]
  523. LeftLeg=Character["Left Leg"]
  524. RightArm=Character["Right Arm"]
  525. RightLeg=Character["Right Leg"]
  526. LS=Torso["Left Shoulder"]
  527. LH=Torso["Left Hip"]
  528. RS=Torso["Right Shoulder"]
  529. RH=Torso["Right Hip"]
  530. Face = Head.face
  531. Neck=Torso.Neck
  532. it=Instance.new
  533. attacktype=1
  534. vt=Vector3.new
  535. cf=CFrame.new
  536. euler=CFrame.fromEulerAnglesXYZ
  537. angles=CFrame.Angles
  538. cloaked=false
  539. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  540. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  541. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  542. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  543. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  544. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  545. RootPart=Character.HumanoidRootPart
  546. RootJoint=RootPart.RootJoint
  547. RootCF=euler(-1.57,0,3.14)
  548. attack = false
  549. attackdebounce = false
  550. deb=false
  551. equipped=true
  552. hand=false
  553. MMouse=nil
  554. combo=0
  555. mana=0
  556. trispeed=.2
  557. attackmode='none'
  558. local idle=0
  559. local Anim="Idle"
  560. local Effects={}
  561. local gun=false
  562. local shoot=false
  563. local sine = 0
  564. local change = 1
  565. player=nil
  566.  
  567. mouse=Player:GetMouse()
  568. --save shoulders
  569. RSH, LSH=nil, nil
  570. --welds
  571. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  572. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  573. LH=Torso["Left Hip"]
  574. RH=Torso["Right Hip"]
  575. TorsoColor=Torso.BrickColor
  576. function NoOutline(Part)
  577. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  578. end
  579. player=Player
  580. ch=Character
  581. RSH=ch.Torso["Right Shoulder"]
  582. LSH=ch.Torso["Left Shoulder"]
  583. --
  584. RSH.Parent=nil
  585. LSH.Parent=nil
  586. --
  587. RW.Name="Right Shoulder"
  588. RW.Part0=ch.Torso
  589. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  590. RW.C1=cf(0, 0.5, 0)
  591. RW.Part1=ch["Right Arm"]
  592. RW.Parent=ch.Torso
  593. --
  594. LW.Name="Left Shoulder"
  595. LW.Part0=ch.Torso
  596. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  597. LW.C1=cf(0, 0.5, 0)
  598. LW.Part1=ch["Left Arm"]
  599. LW.Parent=ch.Torso
  600.  
  601. local Stats=Instance.new("BoolValue")
  602. Stats.Name="Stats"
  603. Stats.Parent=Character
  604. local Atk=Instance.new("NumberValue")
  605. Atk.Name="Damage"
  606. Atk.Parent=Stats
  607. Atk.Value=1
  608. local Def=Instance.new("NumberValue")
  609. Def.Name="Defense"
  610. Def.Parent=Stats
  611. Def.Value=1
  612. local Speed=Instance.new("NumberValue")
  613. Speed.Name="Speed"
  614. Speed.Parent=Stats
  615. Speed.Value=1
  616. local Mvmt=Instance.new("NumberValue")
  617. Mvmt.Name="Movement"
  618. Mvmt.Parent=Stats
  619. Mvmt.Value=1
  620.  
  621. local donum=0
  622.  
  623.  
  624. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  625. local fp=it("Part")
  626. fp.formFactor=formfactor
  627. fp.Parent=parent
  628. fp.Reflectance=reflectance
  629. fp.Transparency=transparency
  630. fp.CanCollide=false
  631. fp.Locked=true
  632. fp.BrickColor=brickcolor
  633. fp.Name=name
  634. fp.Size=size
  635. fp.Position=Torso.Position
  636. NoOutline(fp)
  637. fp.Material="SmoothPlastic"
  638. fp:BreakJoints()
  639. return fp
  640. end
  641.  
  642. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  643. local mesh=it(Mesh)
  644. mesh.Parent=part
  645. if Mesh=="SpecialMesh" then
  646. mesh.MeshType=meshtype
  647. if meshid~="nil" then
  648. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  649. end
  650. end
  651. mesh.Offset=offset
  652. mesh.Scale=scale
  653. return mesh
  654. end
  655.  
  656. function weld(parent,part0,part1,c0)
  657. local weld=it("Weld")
  658. weld.Parent=parent
  659. weld.Part0=part0
  660. weld.Part1=part1
  661. weld.C0=c0
  662. return weld
  663. end
  664.  
  665. local Color1=Torso.BrickColor
  666.  
  667. local bodvel=Instance.new("BodyVelocity")
  668. local bg=Instance.new("BodyGyro")
  669.  
  670. function swait(num)
  671. if num==0 or num==nil then
  672. game:service'RunService'.Stepped:wait(0)
  673. else
  674. for i=0,num do
  675. game:service'RunService'.Stepped:wait(0)
  676. end
  677. end
  678. end
  679.  
  680.  
  681. so = function(id,par,vol,pit)
  682. coroutine.resume(coroutine.create(function()
  683. local sou = Instance.new("Sound",par or workspace)
  684. sou.Volume=vol
  685. sou.Pitch=pit or 1
  686. sou.SoundId=id
  687. swait()
  688. sou:play()
  689. game:GetService("Debris"):AddItem(sou,6)
  690. end))
  691. end
  692.  
  693. function clerp(a,b,t)
  694. local qa = {QuaternionFromCFrame(a)}
  695. local qb = {QuaternionFromCFrame(b)}
  696. local ax, ay, az = a.x, a.y, a.z
  697. local bx, by, bz = b.x, b.y, b.z
  698. local _t = 1-t
  699. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  700. end
  701.  
  702. function QuaternionFromCFrame(cf)
  703. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  704. local trace = m00 + m11 + m22
  705. if trace > 0 then
  706. local s = math.sqrt(1 + trace)
  707. local recip = 0.5/s
  708. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  709. else
  710. local i = 0
  711. if m11 > m00 then
  712. i = 1
  713. end
  714. if m22 > (i == 0 and m00 or m11) then
  715. i = 2
  716. end
  717. if i == 0 then
  718. local s = math.sqrt(m00-m11-m22+1)
  719. local recip = 0.5/s
  720. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  721. elseif i == 1 then
  722. local s = math.sqrt(m11-m22-m00+1)
  723. local recip = 0.5/s
  724. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  725. elseif i == 2 then
  726. local s = math.sqrt(m22-m00-m11+1)
  727. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  728. end
  729. end
  730. end
  731.  
  732. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  733. local xs, ys, zs = x + x, y + y, z + z
  734. local wx, wy, wz = w*xs, w*ys, w*zs
  735. local xx = x*xs
  736. local xy = x*ys
  737. local xz = x*zs
  738. local yy = y*ys
  739. local yz = y*zs
  740. local zz = z*zs
  741. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  742. end
  743.  
  744. function QuaternionSlerp(a, b, t)
  745. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  746. local startInterp, finishInterp;
  747. if cosTheta >= 0.0001 then
  748. if (1 - cosTheta) > 0.0001 then
  749. local theta = math.acos(cosTheta)
  750. local invSinTheta = 1/math.sin(theta)
  751. startInterp = math.sin((1-t)*theta)*invSinTheta
  752. finishInterp = math.sin(t*theta)*invSinTheta
  753. else
  754. startInterp = 1-t
  755. finishInterp = t
  756. end
  757. else
  758. if (1+cosTheta) > 0.0001 then
  759. local theta = math.acos(-cosTheta)
  760. local invSinTheta = 1/math.sin(theta)
  761. startInterp = math.sin((t-1)*theta)*invSinTheta
  762. finishInterp = math.sin(t*theta)*invSinTheta
  763. else
  764. startInterp = t-1
  765. finishInterp = t
  766. end
  767. end
  768. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  769. end
  770.  
  771. local function CFrameFromTopBack(at, top, back)
  772. local right = top:Cross(back)
  773. return CFrame.new(at.x, at.y, at.z,
  774. right.x, top.x, back.x,
  775. right.y, top.y, back.y,
  776. right.z, top.z, back.z)
  777. end
  778.  
  779. function Triangle(a, b, c)
  780. local edg1 = (c-a):Dot((b-a).unit)
  781. local edg2 = (a-b):Dot((c-b).unit)
  782. local edg3 = (b-c):Dot((a-c).unit)
  783. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  784. a, b, c = a, b, c
  785. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  786. a, b, c = b, c, a
  787. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  788. a, b, c = c, a, b
  789. else
  790. assert(false, "unreachable")
  791. end
  792.  
  793. local len1 = (c-a):Dot((b-a).unit)
  794. local len2 = (b-a).magnitude - len1
  795. local width = (a + (b-a).unit*len1 - c).magnitude
  796.  
  797. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  798.  
  799. local list = {}
  800.  
  801. if len1 > 0.01 then
  802. local w1 = Instance.new('WedgePart', m)
  803. game:GetService("Debris"):AddItem(w1,5)
  804. w1.Material = "SmoothPlastic"
  805. w1.FormFactor = 'Custom'
  806. w1.BrickColor = BrickColor.new("White")
  807. w1.Transparency = 0
  808. w1.Reflectance = 0
  809. w1.Material = "SmoothPlastic"
  810. w1.CanCollide = false
  811. local l1 = Instance.new("PointLight",w1)
  812. l1.Color = Color3.new(170,0,0)
  813. NoOutline(w1)
  814. local sz = Vector3.new(0.2, width, len1)
  815. w1.Size = sz
  816. local sp = Instance.new("SpecialMesh",w1)
  817. sp.MeshType = "Wedge"
  818. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  819. w1:BreakJoints()
  820. w1.Anchored = true
  821. w1.Parent = workspace
  822. w1.Transparency = 0.7
  823. table.insert(Effects,{w1,"Disappear",.01})
  824. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  825. table.insert(list,w1)
  826. end
  827.  
  828. if len2 > 0.01 then
  829. local w2 = Instance.new('WedgePart', m)
  830. game:GetService("Debris"):AddItem(w2,5)
  831. w2.Material = "SmoothPlastic"
  832. w2.FormFactor = 'Custom'
  833. w2.BrickColor = BrickColor.new("White")
  834. w2.Transparency = 0
  835. w2.Reflectance = 0
  836. w2.Material = "SmoothPlastic"
  837. w2.CanCollide = false
  838. local l2 = Instance.new("PointLight",w2)
  839. l2.Color = Color3.new(170,0,0)
  840. NoOutline(w2)
  841. local sz = Vector3.new(0.2, width, len2)
  842. w2.Size = sz
  843. local sp = Instance.new("SpecialMesh",w2)
  844. sp.MeshType = "Wedge"
  845. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  846. w2:BreakJoints()
  847. w2.Anchored = true
  848. w2.Parent = workspace
  849. w2.Transparency = 0.7
  850. table.insert(Effects,{w2,"Disappear",.01})
  851. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  852. table.insert(list,w2)
  853. end
  854. return unpack(list)
  855. end
  856.  
  857.  
  858. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  859. if hit.Parent == nil then
  860. return
  861. end
  862. local h = hit.Parent:FindFirstChild("Humanoid")
  863. for _, v in pairs(hit.Parent:children()) do
  864. if v:IsA("Humanoid") then
  865. h = v
  866. end
  867. end
  868. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  869. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  870. return
  871. end
  872. local c = Create("ObjectValue")({
  873. Name = "creator",
  874. Value = game:service("Players").LocalPlayer,
  875. Parent = h
  876. })
  877. game:GetService("Debris"):AddItem(c, 0.5)
  878. if HitSound ~= nil and HitPitch ~= nil then
  879. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  880. end
  881. local Damage = math.random(minim, maxim)
  882. local blocked = false
  883. local block = hit.Parent:findFirstChild("Block")
  884. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  885. blocked = true
  886. block.Value = block.Value - 1
  887. print(block.Value)
  888. end
  889. if blocked == false then
  890. HitHealth = h.Health
  891. h.Health = h.Health - Damage
  892. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  893. print("gained kill")
  894. end
  895. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  896. else
  897. h.Health = h.Health - Damage / 2
  898. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  899. end
  900. if Type == "Knockdown" then
  901. local hum = hit.Parent.Humanoid
  902. hum.PlatformStand = true
  903. coroutine.resume(coroutine.create(function(HHumanoid)
  904. swait(1)
  905. HHumanoid.PlatformStand = false
  906. end), hum)
  907. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  908. local bodvol = Create("BodyVelocity")({
  909. velocity = angle * knockback,
  910. P = 5000,
  911. maxForce = Vector3.new(8000, 8000, 8000),
  912. Parent = hit
  913. })
  914. local rl = Create("BodyAngularVelocity")({
  915. P = 3000,
  916. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  917. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  918. Parent = hit
  919. })
  920. game:GetService("Debris"):AddItem(bodvol, 0.5)
  921. game:GetService("Debris"):AddItem(rl, 0.5)
  922. elseif Type == "Normal" then
  923. local vp = Create("BodyVelocity")({
  924. P = 500,
  925. maxForce = Vector3.new(math.huge, 0, math.huge),
  926. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  927. })
  928. if knockback > 0 then
  929. vp.Parent = hit.Parent.Torso
  930. end
  931. game:GetService("Debris"):AddItem(vp, 0.5)
  932. elseif Type == "Up" then
  933. local bodyVelocity = Create("BodyVelocity")({
  934. velocity = Vector3.new(0, 20, 0),
  935. P = 5000,
  936. maxForce = Vector3.new(8000, 8000, 8000),
  937. Parent = hit
  938. })
  939. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  940. local bodyVelocity = Create("BodyVelocity")({
  941. velocity = Vector3.new(0, 20, 0),
  942. P = 5000,
  943. maxForce = Vector3.new(8000, 8000, 8000),
  944. Parent = hit
  945. })
  946. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  947. elseif Type == "Leech" then
  948. local hum = hit.Parent.Humanoid
  949. if hum ~= nil then
  950. for i = 0, 2 do
  951. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  952. end
  953. Humanoid.Health = Humanoid.Health + 10
  954. end
  955. elseif Type == "UpKnock" then
  956. local hum = hit.Parent.Humanoid
  957. hum.PlatformStand = true
  958. if hum ~= nil then
  959. hitr = true
  960. end
  961. coroutine.resume(coroutine.create(function(HHumanoid)
  962. swait(5)
  963. HHumanoid.PlatformStand = false
  964. hitr = false
  965. end), hum)
  966. local bodyVelocity = Create("BodyVelocity")({
  967. velocity = Vector3.new(0, 20, 0),
  968. P = 5000,
  969. maxForce = Vector3.new(8000, 8000, 8000),
  970. Parent = hit
  971. })
  972. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  973. local bodyVelocity = Create("BodyVelocity")({
  974. velocity = Vector3.new(0, 20, 0),
  975. P = 5000,
  976. maxForce = Vector3.new(8000, 8000, 8000),
  977. Parent = hit
  978. })
  979. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  980. elseif Type == "Snare" then
  981. local bp = Create("BodyPosition")({
  982. P = 2000,
  983. D = 100,
  984. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  985. position = hit.Parent.Torso.Position,
  986. Parent = hit.Parent.Torso
  987. })
  988. game:GetService("Debris"):AddItem(bp, 1)
  989. elseif Type == "Slashnare" then
  990. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  991. for i = 1, math.random(4, 5) do
  992. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  993. end
  994. local bp = Create("BodyPosition")({
  995. P = 2000,
  996. D = 100,
  997. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  998. position = hit.Parent.Torso.Position,
  999. Parent = hit.Parent.Torso
  1000. })
  1001. game:GetService("Debris"):AddItem(bp, 1)
  1002. elseif Type == "Spike" then
  1003. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1004. local bp = Create("BodyPosition")({
  1005. P = 2000,
  1006. D = 100,
  1007. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1008. position = hit.Parent.Torso.Position,
  1009. Parent = hit.Parent.Torso
  1010. })
  1011. game:GetService("Debris"):AddItem(bp, 1)
  1012. elseif Type == "Freeze" then
  1013. local BodPos = Create("BodyPosition")({
  1014. P = 50000,
  1015. D = 1000,
  1016. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1017. position = hit.Parent.Torso.Position,
  1018. Parent = hit.Parent.Torso
  1019. })
  1020. local BodGy = Create("BodyGyro")({
  1021. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1022. P = 20000,
  1023. Parent = hit.Parent.Torso,
  1024. cframe = hit.Parent.Torso.CFrame
  1025. })
  1026. hit.Parent.Torso.Anchored = true
  1027. coroutine.resume(coroutine.create(function(Part)
  1028. swait(1.5)
  1029. Part.Anchored = false
  1030. end), hit.Parent.Torso)
  1031. game:GetService("Debris"):AddItem(BodPos, 3)
  1032. game:GetService("Debris"):AddItem(BodGy, 3)
  1033. end
  1034. local debounce = Create("BoolValue")({
  1035. Name = "DebounceHit",
  1036. Parent = hit.Parent,
  1037. Value = true
  1038. })
  1039. game:GetService("Debris"):AddItem(debounce, Delay)
  1040. c = Instance.new("ObjectValue")
  1041. c.Name = "creator"
  1042. c.Value = Player
  1043. c.Parent = h
  1044. game:GetService("Debris"):AddItem(c, 0.5)
  1045. end
  1046. end
  1047. function ShowDamage(Pos, Text, Time, Color)
  1048. local Rate = 0.03333333333333333
  1049. local Pos = Pos or Vector3.new(0, 0, 0)
  1050. local Text = Text or ""
  1051. local Time = Time or 2
  1052. local Color = Color or Color3.new(1, 0, 1)
  1053. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1054. EffectPart.Anchored = true
  1055. local BillboardGui = Create("BillboardGui")({
  1056. Size = UDim2.new(3, 0, 3, 0),
  1057. Adornee = EffectPart,
  1058. Parent = EffectPart
  1059. })
  1060. local TextLabel = Create("TextLabel")({
  1061. BackgroundTransparency = 1,
  1062. Size = UDim2.new(1, 0, 1, 0),
  1063. Text = Text,
  1064. TextColor3 = Color,
  1065. TextScaled = true,
  1066. Font = Enum.Font.ArialBold,
  1067. Parent = BillboardGui
  1068. })
  1069. game.Debris:AddItem(EffectPart, Time + 0.1)
  1070. EffectPart.Parent = game:GetService("Workspace")
  1071. delay(0, function()
  1072. local Frames = Time / Rate
  1073. for Frame = 1, Frames do
  1074. wait(Rate)
  1075. local Percent = Frame / Frames
  1076. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1077. TextLabel.TextTransparency = Percent
  1078. end
  1079. if EffectPart and EffectPart.Parent then
  1080. EffectPart:Destroy()
  1081. end
  1082. end)
  1083. end
  1084. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1085. for _, c in pairs(workspace:children()) do
  1086. local hum = c:findFirstChild("Humanoid")
  1087. if hum ~= nil then
  1088. local head = c:findFirstChild("Torso")
  1089. if head ~= nil then
  1090. local targ = head.Position - Part.Position
  1091. local mag = targ.magnitude
  1092. if magni >= mag and c.Name ~= Player.Name then
  1093. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1094. end
  1095. end
  1096. end
  1097. end
  1098. end
  1099.  
  1100. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1101. for _, c in pairs(workspace:children()) do
  1102. local hum = c:findFirstChild("Humanoid")
  1103. if hum ~= nil then
  1104. local head = c:findFirstChild("Torso")
  1105. if head ~= nil then
  1106. local targ = head.Position - Part.Position
  1107. local mag = targ.magnitude
  1108. if magni >= mag and c.Name ~= Player.Name then
  1109. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  1110. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1111. end
  1112. end
  1113. end
  1114. end
  1115. end
  1116.  
  1117. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1118. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1119. end
  1120.  
  1121. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1122. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1123. prt.Anchored=true
  1124. prt.CFrame=cframe
  1125. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1126. --http://www.roblox.com/asset/?id=4770560
  1127. game:GetService("Debris"):AddItem(prt,2)
  1128. CF=prt.CFrame
  1129. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1130. for i=0,1,0.2 do
  1131. wait()
  1132. Part.CFrame=CF*cf(0,0,-0.4)
  1133. end
  1134. for i=0,1,delay do
  1135. wait()
  1136. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1137. Mesh.Scale=Mesh.Scale
  1138. end
  1139. for i=0,1,0.1 do
  1140. wait()
  1141. Part.Transparency=i
  1142. end
  1143. Part.Parent=nil
  1144. end),prt,msh,CF)
  1145. end
  1146.  
  1147. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1148. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1149. prt.Anchored=true
  1150. prt.Material = "Neon"
  1151. prt.CFrame=cframe
  1152. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1153. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1154. game:GetService("Debris"):AddItem(prt,5)
  1155. coroutine.resume(coroutine.create(function(Part,Mesh)
  1156. for i=0,1,delay do
  1157. swait()
  1158. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1159. Part.Transparency=i
  1160. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1161. end
  1162. Part.Parent=nil
  1163. end),prt,msh)
  1164. end
  1165.  
  1166. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1167. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1168. prt.Anchored=true
  1169. prt.Material = "Neon"
  1170. prt.CFrame=cframe
  1171. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1172. game:GetService("Debris"):AddItem(prt,5)
  1173. coroutine.resume(coroutine.create(function(Part,Mesh)
  1174. local rtype = rottype
  1175. for i=0,1,delay do
  1176. swait()
  1177. if rtype == 1 then
  1178. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1179. elseif rtype == 2 then
  1180. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1181. end
  1182. Part.Transparency=i
  1183. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1184. end
  1185. Part.Parent=nil
  1186. end),prt,msh)
  1187. end
  1188.  
  1189. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1190. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1191. prt.Anchored=true
  1192. prt.CFrame=cframe
  1193. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1194. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1195. game:GetService("Debris"):AddItem(prt,5)
  1196. coroutine.resume(coroutine.create(function(Part,Mesh)
  1197. for i=0,1,delay do
  1198. wait()
  1199. Part.Transparency=i
  1200. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1201. end
  1202. Part.Parent=nil
  1203. end),prt,msh)
  1204. end
  1205.  
  1206. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1207. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1208. prt.Anchored=true
  1209. prt.Material = "Neon"
  1210. prt.CFrame=cframe
  1211. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1212. game:GetService("Debris"):AddItem(prt,5)
  1213. coroutine.resume(coroutine.create(function(Part,Mesh)
  1214. local rtype = rottype
  1215. for i=0,1,delay do
  1216. swait()
  1217. if rtype == 1 then
  1218. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1219. elseif rtype == 2 then
  1220. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1221. end
  1222. Part.Transparency=i
  1223. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1224. end
  1225. Part.Parent=nil
  1226. end),prt,msh)
  1227. end
  1228.  
  1229. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1230. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1231. prt.Anchored=true
  1232. prt.Material = "Neon"
  1233. prt.CFrame=cframe
  1234. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1235. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1236. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1237. game:GetService("Debris"):AddItem(prt,5)
  1238. coroutine.resume(coroutine.create(function(Part,Mesh)
  1239. local rtype = rottype
  1240. for i=0,1,delay do
  1241. swait()
  1242. if rtype == 1 then
  1243. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1244. elseif rtype == 2 then
  1245. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1246. end
  1247. dec.Transparency=i
  1248. dec2.Transparency=i
  1249. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1250. end
  1251. Part.Parent=nil
  1252. end),prt,msh)
  1253. end
  1254.  
  1255. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1256. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1257. prt.Anchored=true
  1258. prt.Material = "Neon"
  1259. prt.CFrame=cframe
  1260. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1261. game:GetService("Debris"):AddItem(prt,5)
  1262. coroutine.resume(coroutine.create(function(Part,Mesh)
  1263. local rtype = rottype
  1264. for i=0,1,delay do
  1265. swait()
  1266. if rtype == 1 then
  1267. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1268. elseif rtype == 2 then
  1269. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1270. end
  1271. prt.Transparency=i
  1272. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1273. end
  1274. Part.Parent=nil
  1275. end),prt,msh)
  1276. end
  1277.  
  1278. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1279. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1280. prt.Anchored=true
  1281. prt.Material = "Neon"
  1282. prt.CFrame=cframe
  1283. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1284. game:GetService("Debris"):AddItem(prt,5)
  1285. coroutine.resume(coroutine.create(function(Part,Mesh)
  1286. local rtype = rottype
  1287. for i=0,1,delay do
  1288. swait()
  1289. if rtype == 1 then
  1290. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1291. elseif rtype == 2 then
  1292. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1293. end
  1294. prt.Transparency=i
  1295. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1296. end
  1297. Part.Parent=nil
  1298. end),prt,msh)
  1299. end
  1300.  
  1301. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1302. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1303. prt.Anchored=true
  1304. prt.Material = "Neon"
  1305. prt.CFrame=cframe
  1306. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1307. game:GetService("Debris"):AddItem(prt,5)
  1308. coroutine.resume(coroutine.create(function(Part,Mesh)
  1309. local rtype = rottype
  1310. for i=0,1,delay do
  1311. swait()
  1312. if rtype == 1 then
  1313. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1314. elseif rtype == 2 then
  1315. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1316. end
  1317. prt.Transparency=i
  1318. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1319. end
  1320. Part.Parent=nil
  1321. end),prt,msh)
  1322. end
  1323.  
  1324. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1325. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1326. prt.Anchored=true
  1327. prt.Material = "Neon"
  1328. prt.CFrame=cframe
  1329. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1330. game:GetService("Debris"):AddItem(prt,5)
  1331. coroutine.resume(coroutine.create(function(Part,Mesh)
  1332. local rtype = rottype
  1333. for i=0,1,delay do
  1334. swait()
  1335. if rtype == 1 then
  1336. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1337. elseif rtype == 2 then
  1338. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1339. end
  1340. prt.Transparency=i
  1341. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1342. end
  1343. Part.Parent=nil
  1344. end),prt,msh)
  1345. end
  1346.  
  1347. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1348. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1349. prt.Anchored=false
  1350. prt.CFrame=cframe
  1351. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1352. local wld=weld(prt,prt,Parent,cframe)
  1353. game:GetService("Debris"):AddItem(prt,5)
  1354. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1355. for i=0,1,delay do
  1356. wait()
  1357. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1358. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1359. Part.Transparency=i
  1360. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1361. end
  1362. Part.Parent=nil
  1363. end),prt,msh,wld)
  1364. end
  1365.  
  1366. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1367. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1368. prt.Anchored=false
  1369. prt.CFrame=cframe
  1370. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1371. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1372. game:GetService("Debris"):AddItem(prt,5)
  1373. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1374. for i=0,1,delay do
  1375. wait()
  1376. Weld.C0=euler(i*20,0,0)
  1377. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1378. Part.Transparency=i
  1379. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1380. end
  1381. Part.Parent=nil
  1382. end),prt,msh,wld)
  1383. end
  1384.  
  1385. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1386. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1387. prt.Anchored=true
  1388. prt.CFrame=cframe
  1389. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1390. game:GetService("Debris"):AddItem(prt,2)
  1391. coroutine.resume(coroutine.create(function(Part,Mesh)
  1392. for i=0,1,delay do
  1393. wait()
  1394. Part.CFrame=Part.CFrame
  1395. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1396. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1397. prt2.Anchored=true
  1398. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1399. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1400. game:GetService("Debris"):AddItem(prt2,2)
  1401. coroutine.resume(coroutine.create(function(Part,Mesh)
  1402. for i=0,1,0.1 do
  1403. wait()
  1404. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1405. end
  1406. Part.Parent=nil
  1407. end),prt2,msh2)
  1408. end
  1409. for i=0,1,delay*2 do
  1410. wait()
  1411. Part.CFrame=Part.CFrame
  1412. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1413. end
  1414. Part.Parent=nil
  1415. end),prt,msh)
  1416. end
  1417.  
  1418. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1419. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1420. prt.Anchored=true
  1421. prt.CFrame=cframe
  1422. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1423. game:GetService("Debris"):AddItem(prt,2)
  1424. coroutine.resume(coroutine.create(function(Part,Mesh)
  1425. for i=0,1,delay do
  1426. wait()
  1427. Part.CFrame=Part.CFrame
  1428. Part.Transparency=i
  1429. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1430. end
  1431. Part.Parent=nil
  1432. end),prt,msh)
  1433. end
  1434.  
  1435. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1436. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1437. prt.Anchored=true
  1438. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1439. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1440. game:GetService("Debris"):AddItem(prt,2)
  1441. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1442. CF=Part.CFrame
  1443. Numbb=0
  1444. randnumb=math.random()/10
  1445. rand1=math.random()/10
  1446. for i=0,1,rand1 do
  1447. wait()
  1448. CF=CF*cf(0,math.random()/2,0)
  1449. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1450. Part.CFrame=CF*euler(Numbb,0,0)
  1451. Part.Transparency=i
  1452. Numbb=Numbb+randnumb
  1453. end
  1454. Part.Parent=nil
  1455. end),prt,CF,Numbb,randnumb)
  1456. end
  1457.  
  1458. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1459. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1460. prt.Anchored=true
  1461. prt.CFrame=cframe
  1462. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1463. game:GetService("Debris"):AddItem(prt,5)
  1464. coroutine.resume(coroutine.create(function(Part,Mesh)
  1465. for i=0,1,delay do
  1466. wait()
  1467. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1468. Part.Transparency=i
  1469. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1470. end
  1471. Part.Parent=nil
  1472. end),prt,msh)
  1473. end
  1474.  
  1475. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1476. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1477. prt.Anchored=true
  1478. prt.CFrame=cframe
  1479. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1480. game:GetService("Debris"):AddItem(prt,2)
  1481. coroutine.resume(coroutine.create(function(Part,Mesh)
  1482. for i=0,1,delay do
  1483. wait()
  1484. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1485. Part.Transparency=i
  1486. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1487. end
  1488. Part.Parent=nil
  1489. end),prt,msh)
  1490. end
  1491.  
  1492. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1493. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1494. prt.Anchored=true
  1495. prt.CFrame=cframe*cf(x,y,z)
  1496. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1497. game:GetService("Debris"):AddItem(prt,5)
  1498. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1499. local num=math.random()
  1500. local num2=math.random(-3,2)+math.random()
  1501. local numm=0
  1502. for i=0,1,delay*2 do
  1503. swait()
  1504. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1505. Part.Transparency=i
  1506. numm=numm+0.01
  1507. end
  1508. Part.Parent=nil
  1509. Mesh.Parent=nil
  1510. end),prt,msh,x,y,z)
  1511. end
  1512.  
  1513. function dmgstart(dmg,what)
  1514. hitcon = what.Touched:connect(function(hit)
  1515. local hum = hit.Parent:FindFirstChild("Humanoid")
  1516. if hum and not hum:IsDescendantOf(Character) then
  1517. hum:TakeDamage(dmg)
  1518. end
  1519. end)
  1520. end
  1521.  
  1522. function dmgstop()
  1523. hitcon:disconnect()
  1524. end
  1525.  
  1526. function Cloak()
  1527. Face.Parent=nil
  1528. cloaked=true
  1529. for _,v in pairs(Torso.Parent:children()) do
  1530. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1531. coroutine.resume(coroutine.create(function()
  1532. for i=0,1,0.2 do
  1533. wait()
  1534. v.Transparency=i
  1535. end
  1536. v.Transparency=1
  1537. end))
  1538. end
  1539. if v.className=="Hat" then
  1540. hatp=v.Handle
  1541. coroutine.resume(coroutine.create(function(derp)
  1542. for i=0,1,0.2 do
  1543. wait()
  1544. derp.Transparency=i
  1545. end
  1546. derp.Transparency=1
  1547. end),hatp)
  1548. end
  1549. end
  1550. for _,v in pairs(m:children()) do
  1551. if v.className=="Part" then
  1552. coroutine.resume(coroutine.create(function()
  1553. for i=0,1,0.2 do
  1554. wait()
  1555. v.Transparency=i
  1556. end
  1557. v.Transparency=1
  1558. end))
  1559. end
  1560. end
  1561. end
  1562.  
  1563. function UnCloak()
  1564. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1565. Face.Parent=Head
  1566. cloaked=false
  1567. for _,v in pairs(Torso.Parent:children()) do
  1568. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1569. coroutine.resume(coroutine.create(function()
  1570. for i=0,1,0.1 do
  1571. wait()
  1572. v.Transparency=v.Transparency-0.1
  1573. end
  1574. v.Transparency=0
  1575. end))
  1576. end
  1577. if v.className=="Hat" then
  1578. hatp=v.Handle
  1579. coroutine.resume(coroutine.create(function(derp)
  1580. for i=0,1,0.1 do
  1581. wait()
  1582. derp.Transparency=derp.Transparency-0.1
  1583. end
  1584. derp.Transparency=0
  1585. end),hatp)
  1586. end
  1587. end
  1588. for _,v in pairs(m:children()) do
  1589. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1590. coroutine.resume(coroutine.create(function()
  1591. for i=0,1,0.1 do
  1592. wait()
  1593. v.Transparency=v.Transparency-0.1
  1594. end
  1595. v.Transparency=0
  1596. end))
  1597. v.Transparency=0
  1598. end
  1599. end
  1600. end
  1601.  
  1602. local origcolor = BrickColor.new("Dark indigo")
  1603. ---- This section of explosions.
  1604. function Explode(rad,par,pitch,vol,mindam,maxdam)
  1605. local expart = Instance.new("Part",char)
  1606. local expart2 = Instance.new("Part",char)
  1607. local rin = Instance.new("Part",char)
  1608. local rin2 = Instance.new("Part",char)
  1609. local partMesh = Instance.new("SpecialMesh",expart)
  1610. partMesh.MeshType = "Sphere"
  1611. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1612. partMesh2.MeshType = "Sphere"
  1613. local partMesh3 = Instance.new("SpecialMesh",rin)
  1614. partMesh3.MeshType = "Brick"
  1615. local partMesh4 = Instance.new("SpecialMesh",rin2)
  1616. partMesh4.MeshType = "Brick"
  1617. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  1618. partMesh.Scale = vt(rad,rad,rad)
  1619. expart.Size = vt(1,1,1)
  1620. expart.Transparency = 1
  1621. expart.Anchored = true
  1622. expart.Material = "Neon"
  1623. expart.BrickColor = bc("White")
  1624. expart.CFrame = par.CFrame
  1625. partMesh2.Scale = vt(rad,rad,rad)
  1626. expart2.Size = vt(1.15,1.15,1.15)
  1627. expart2.Transparency = 0.75
  1628. expart2.Anchored = true
  1629. expart2.Material = "Glass"
  1630. expart2.BrickColor = par.BrickColor
  1631. expart2.CFrame = par.CFrame
  1632. rin.Size = vt(1.15,1.15,1.15)
  1633. rin.Transparency = 1
  1634. rin.Anchored = true
  1635. rin.Material = "Neon"
  1636. rin.BrickColor = par.BrickColor
  1637. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1638. rin2.Size = vt(1.15,1.15,1.15)
  1639. rin2.Transparency = 1
  1640. rin2.Anchored = true
  1641. rin2.Material = "Neon"
  1642. rin2.BrickColor = par.BrickColor
  1643. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1644. partMesh3.Scale = vt(0,1,0)
  1645. partMesh4.Scale = vt(0,1,0)
  1646. local dec2 = Instance.new("Decal", rin)
  1647. dec2.Face = "Top"
  1648. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1649. dec2.Parent = rin
  1650. local dec2b = dec2:Clone()
  1651. dec2b.Face = "Bottom"
  1652. dec2b.Parent = rin
  1653.  
  1654. local dec2a = Instance.new("Decal", rin2)
  1655. dec2a.Face = "Top"
  1656. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  1657. dec2a.Parent = rin2
  1658. local dec2ab = dec2a:Clone()
  1659. dec2ab.Face = "Bottom"
  1660. dec2ab.Parent = rin2
  1661. expart.CanCollide = false
  1662. expart2.CanCollide = false
  1663. rin.CanCollide = false
  1664. rin2.CanCollide = false
  1665. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  1666. local value = 1*rad/6.5
  1667. for i = 0, 199 do
  1668. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1669. expart.CFrame = expart.CFrame
  1670. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1671. expart2.CFrame = expart.CFrame
  1672. value = value - 0.035*rad/30
  1673. if value < 7.5 then
  1674. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  1675. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  1676. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  1677. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  1678. end
  1679. if value < 0 then
  1680. dec2.Transparency = dec2.Transparency + 0.025
  1681. dec2a.Transparency = dec2a.Transparency + 0.025
  1682. dec2b.Transparency = dec2b.Transparency + 0.025
  1683. dec2ab.Transparency = dec2ab.Transparency + 0.025
  1684. expart.Transparency = expart.Transparency + 0.025
  1685. expart2.Transparency = expart2.Transparency + 0.025
  1686. rin.Transparency = rin.Transparency + 0.025
  1687. rin2.Transparency = rin2.Transparency + 0.025
  1688. end
  1689. swait()
  1690. end
  1691. game:GetService("Debris"):AddItem(expart, 1)
  1692. game:GetService("Debris"):AddItem(expart2, 1)
  1693. game:GetService("Debris"):AddItem(rin, 1)
  1694. game:GetService("Debris"):AddItem(rin2, 1)
  1695. end
  1696.  
  1697. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  1698. local expart = Instance.new("Part",char)
  1699. local expart2 = Instance.new("Part",char)
  1700. local partMesh = Instance.new("SpecialMesh",expart)
  1701. partMesh.MeshType = "Sphere"
  1702. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1703. partMesh2.MeshType = "Sphere"
  1704. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  1705. partMesh.Scale = vt(rad,rad,rad)
  1706. expart.Size = vt(1,1,1)
  1707. expart.Transparency = 0
  1708. expart.Anchored = true
  1709. expart.Material = "Neon"
  1710. expart.BrickColor = bc("White")
  1711. expart.CFrame = par.CFrame
  1712. partMesh2.Scale = vt(rad,rad,rad)
  1713. expart2.Size = vt(1.15,1.15,1.15)
  1714. expart2.Transparency = 0.5
  1715. expart2.Anchored = true
  1716. expart2.Material = "Neon"
  1717. expart2.BrickColor = par.BrickColor
  1718. expart2.CFrame = par.CFrame
  1719. expart.CanCollide = false
  1720. expart2.CanCollide = false
  1721. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  1722. local value = 1*rad/6.5
  1723. for i = 0, 75 do
  1724. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1725. expart.CFrame = expart.CFrame
  1726. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1727. expart2.CFrame = expart.CFrame
  1728. value = value - 0.035*rad/5
  1729. if value < 0 then
  1730. value = 0
  1731. expart.Transparency = expart.Transparency + 0.05
  1732. expart2.Transparency = expart2.Transparency + 0.05
  1733. end
  1734. swait()
  1735. end
  1736. game:GetService("Debris"):AddItem(expart, 1)
  1737. game:GetService("Debris"):AddItem(expart2, 1)
  1738. end
  1739.  
  1740. function AreaDanger(rad,par,mindam,maxdam)
  1741. local expart = Instance.new("Part",char)
  1742. local partMesh = Instance.new("SpecialMesh",expart)
  1743. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1744. partMesh.MeshType = "Sphere"
  1745. partMesh.Scale = vt(rad,rad,rad)
  1746. expart.Size = vt(1,1,1)
  1747. expart.Transparency = 0.5
  1748. expart.Anchored = true
  1749. expart.Material = "Neon"
  1750. expart.CanCollide = false
  1751. expart.BrickColor = par.BrickColor
  1752. expart.CFrame = par.CFrame
  1753. local value = 1*rad/5
  1754. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  1755. for i = 0, 14 do
  1756. wait()
  1757. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1758. expart.CFrame = expart.CFrame
  1759. value = value - 0.035*rad
  1760. if value < 0 then
  1761. value = 0
  1762. end
  1763. end
  1764. wait(0.25)
  1765. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  1766. wait(0.5)
  1767. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  1768. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  1769. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  1770. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  1771. for i = 0, 14 do
  1772. wait()
  1773. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1774. expart.CFrame = expart.CFrame
  1775. value = value - 0.035*rad/2
  1776. end
  1777. expart.Transparency = 1
  1778. game:GetService("Debris"):AddItem(expart, 5)
  1779. end
  1780.  
  1781. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  1782. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  1783. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  1784. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  1785. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1786. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  1787. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  1788. for i = 0, 24 do
  1789. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  1790. end
  1791. for i = 0, 24 do
  1792. local expart = Instance.new("Part",char)
  1793. expart.Transparency = 1
  1794. expart.Anchored = true
  1795. expart.CanCollide = false
  1796. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  1797. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  1798. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1799. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  1800. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  1801. for i = 0, 9 do
  1802. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  1803. end
  1804. game:GetService("Debris"):AddItem(expart, 2)
  1805. wait(0.1)
  1806. end
  1807. end
  1808.  
  1809. function EXterPlosion(par)
  1810. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  1811. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  1812. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  1813. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1814. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  1815. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  1816. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  1817. for i = 0, 24 do
  1818. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  1819. end
  1820. for i = 0, 24 do
  1821. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  1822. end
  1823. end
  1824. ----
  1825.  
  1826. local stackingpower = 1
  1827.  
  1828. function HellsCore()
  1829. attack = true
  1830. --[[for i = 0,1,0.1 do
  1831. swait()
  1832. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  1833. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1834. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1835. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1836. end]]--
  1837.  
  1838. local rng = Instance.new("Part", char)
  1839. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  1840. rng.Anchored = true
  1841. rng.BrickColor = origcolor
  1842. rng.CanCollide = false
  1843. rng.FormFactor = 3
  1844. rng.Name = "Ring"
  1845. rng.Material = "Neon"
  1846. rng.Size = Vector3.new(1, 1, 1)
  1847. rng.Transparency = 1
  1848. rng.TopSurface = 0
  1849. rng.BottomSurface = 0
  1850. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  1851. local rngm = Instance.new("SpecialMesh", rng)
  1852. rngm.MeshType = "Brick"
  1853. local dec = Instance.new("Decal",rng)
  1854. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  1855. dec.Face = "Top"
  1856. local dec2 = dec:Clone()
  1857. dec2.Parent = rng
  1858. dec2.Face = "Bottom"
  1859.  
  1860. local scaler2 = 1
  1861. scaler2 = 1*3
  1862. for i = 0,10,0.1 do
  1863. swait()
  1864. scaler2 = scaler2 - 0.01*3
  1865. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1866. end
  1867. wait(3)
  1868. for i = 0,10,0.1 do
  1869. swait()
  1870. scaler2 = scaler2 - 0.01*3
  1871. dec.Transparency = dec.Transparency + 0.01
  1872. dec2.Transparency = dec2.Transparency + 0.01
  1873. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1874. end
  1875. rng:Destroy()
  1876. attack = false
  1877. end
  1878.  
  1879.  
  1880. function FaceMouse()
  1881. Cam = workspace.CurrentCamera
  1882. return {
  1883. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1884. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1885. }
  1886. end
  1887.  
  1888. function FaceMouse2()
  1889. Cam = workspace.CurrentCamera
  1890. return {
  1891. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  1892. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1893. }
  1894. end
  1895.  
  1896.  
  1897. local HoldingZ = false
  1898. local HoldingX = false
  1899. local HoldingC = false
  1900. local HoldingV = false
  1901. local HoldingB = false
  1902.  
  1903.  
  1904. function RingEffect(pos,startsize,size,col)
  1905. local lb = Instance.new("Part")
  1906. lb.Parent = char
  1907. lb.BrickColor = col
  1908. lb.CanCollide = false
  1909. lb.Material = "Neon"
  1910. lb.Anchored = true
  1911. lb.TopSurface = 0
  1912. lb.BottomSurface = 0
  1913. lb.Transparency = 1
  1914. lb.Size = vt(1,1,1)
  1915. lb.CFrame = pos
  1916. local thingery = Instance.new("SpecialMesh",lb)
  1917. thingery.MeshType = "Brick"
  1918. thingery.Scale = vt(startsize,0.1,startsize)
  1919. local dec2 = Instance.new("Texture", lb)
  1920. dec2.Face = "Top"
  1921. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1922. dec2.Color3 = lb.Color
  1923. dec2.Parent = lb
  1924. dec2.StudsPerTileU = startsize
  1925. dec2.StudsPerTileV = startsize
  1926. local dec2b = dec2:Clone()
  1927. dec2b.Face = "Bottom"
  1928. dec2b.Parent = lb
  1929. local randomrot = math.random(1,2)
  1930. coroutine.resume(coroutine.create(function()
  1931. for i = 0, 19 do
  1932. swait()
  1933. if randomrot == 1 then
  1934. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  1935. elseif randomrot == 2 then
  1936. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  1937. end
  1938. dec2.Transparency = dec2.Transparency + 0.05
  1939. dec2b.Transparency = dec2b.Transparency + 0.05
  1940. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  1941. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  1942. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  1943. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  1944. thingery.Scale = thingery.Scale + vt(size,0,size)
  1945. end
  1946. lb:Destroy()
  1947. end))
  1948. end
  1949.  
  1950. function SlowRingEffect(pos,startsize,size,col)
  1951. local lb = Instance.new("Part")
  1952. lb.Parent = char
  1953. lb.BrickColor = col
  1954. lb.CanCollide = false
  1955. lb.Material = "Neon"
  1956. lb.Anchored = true
  1957. lb.TopSurface = 0
  1958. lb.BottomSurface = 0
  1959. lb.Transparency = 1
  1960. lb.Size = vt(1,1,1)
  1961. lb.CFrame = pos
  1962. local thingery = Instance.new("SpecialMesh",lb)
  1963. thingery.MeshType = "Brick"
  1964. thingery.Scale = vt(startsize,0.1,startsize)
  1965. local dec2 = Instance.new("Decal", lb)
  1966. dec2.Face = "Top"
  1967. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1968. dec2.Color3 = lb.Color
  1969. dec2.Parent = lb
  1970. local dec2b = dec2:Clone()
  1971. dec2b.Face = "Bottom"
  1972. dec2b.Parent = lb
  1973. local randomrot = math.random(1,2)
  1974. coroutine.resume(coroutine.create(function()
  1975. for i = 0, 49 do
  1976. swait()
  1977. if randomrot == 1 then
  1978. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  1979. elseif randomrot == 2 then
  1980. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  1981. end
  1982. dec2.Transparency = dec2.Transparency + 0.02
  1983. dec2b.Transparency = dec2b.Transparency + 0.02
  1984. thingery.Scale = thingery.Scale + vt(size,0,size)
  1985. end
  1986. lb:Destroy()
  1987. end))
  1988. end
  1989.  
  1990.  
  1991. function groundringaa(pos)
  1992. local rng = Instance.new("Part", char)
  1993. rng.Anchored = true
  1994. rng.BrickColor = origcolor
  1995. rng.CanCollide = false
  1996. rng.FormFactor = 3
  1997. rng.Name = "Ring"
  1998. rng.Size = Vector3.new(1, 1, 1)
  1999. rng.Transparency = 1
  2000. rng.TopSurface = 0
  2001. rng.BottomSurface = 0
  2002. rng.CFrame = pos
  2003. local rngm = Instance.new("SpecialMesh", rng)
  2004. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2005. rngm.Scale = Vector3.new(100,100,5)
  2006. local scaler2 = -10/2
  2007. coroutine.resume(coroutine.create(function()
  2008. for i = 0,10,0.1 do
  2009. swait()
  2010. scaler2 = scaler2 + 0.1/2
  2011. rng.Transparency = rng.Transparency - 0.01
  2012. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2013. end
  2014. rng:Destroy()
  2015. end))
  2016. end
  2017.  
  2018. function groundringbb(pos)
  2019. local rng = Instance.new("Part", char)
  2020. rng.Anchored = true
  2021. rng.BrickColor = origcolor
  2022. rng.CanCollide = false
  2023. rng.FormFactor = 3
  2024. rng.Name = "Ring"
  2025. rng.Size = Vector3.new(1, 1, 1)
  2026. rng.Transparency = 0
  2027. rng.TopSurface = 0
  2028. rng.BottomSurface = 0
  2029. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2030. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2031. local rngm = Instance.new("SpecialMesh", rng)
  2032. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2033. rngm.Scale = Vector3.new(0,0,5)
  2034. local scaler2 = 10
  2035. coroutine.resume(coroutine.create(function()
  2036. for i = 0,10*2,0.1 do
  2037. swait()
  2038. scaler2 = scaler2 - 0.1/2
  2039. rng.Transparency = rng.Transparency + 0.005
  2040. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2041. end
  2042. rng:Destroy()
  2043. end))
  2044. end
  2045.  
  2046. function groundglowaa(pos)
  2047. local rng = Instance.new("Part", char)
  2048. rng.Anchored = true
  2049. rng.BrickColor = origcolor
  2050. rng.CanCollide = false
  2051. rng.FormFactor = 3
  2052. rng.Material = "Neon"
  2053. rng.Name = "Ring"
  2054. rng.Size = Vector3.new(1, 1, 1)
  2055. rng.Transparency = 0
  2056. rng.TopSurface = 0
  2057. rng.BottomSurface = 0
  2058. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2059. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2060. local rngm = Instance.new("SpecialMesh", rng)
  2061. rngm.MeshType = "Sphere"
  2062. rngm.Scale = Vector3.new(0,0,25)
  2063. local scaler2 = 10*2
  2064. coroutine.resume(coroutine.create(function()
  2065. for i = 0,10*2,0.1 do
  2066. swait()
  2067. scaler2 = scaler2 - 0.1*2/2
  2068. rng.Transparency = rng.Transparency + 0.005
  2069. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2070. end
  2071. rng:Destroy()
  2072. end))
  2073. end
  2074.  
  2075. function bemaa(pos)
  2076. local rng = Instance.new("Part", char)
  2077. rng.Anchored = true
  2078. rng.BrickColor = origcolor
  2079. rng.CanCollide = false
  2080. rng.FormFactor = 3
  2081. rng.Material = "Neon"
  2082. rng.Name = "Ring"
  2083. rng.Size = Vector3.new(1, 1, 1)
  2084. rng.Transparency = 0
  2085. rng.TopSurface = 0
  2086. rng.BottomSurface = 0
  2087. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2088. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2089. local rngm = Instance.new("SpecialMesh", rng)
  2090. rngm.MeshType = "Sphere"
  2091. rngm.Scale = Vector3.new(0,0,10000)
  2092. local scaler2 = 1
  2093. coroutine.resume(coroutine.create(function()
  2094. for i = 0,99,0.1 do
  2095. swait()
  2096. scaler2 = scaler2 - 0.0025
  2097. rng.Transparency = rng.Transparency + 0.0025
  2098. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2099. end
  2100. rng:Destroy()
  2101. end))
  2102. end
  2103.  
  2104. function bemaashake(pos)
  2105. local rng = Instance.new("Part", char)
  2106. rng.Anchored = true
  2107. rng.BrickColor = origcolor
  2108. rng.CanCollide = false
  2109. rng.FormFactor = 3
  2110. rng.Material = "Neon"
  2111. rng.Name = "Ring"
  2112. rng.Size = Vector3.new(1, 1, 1)
  2113. rng.Transparency = 0
  2114. rng.TopSurface = 0
  2115. rng.BottomSurface = 0
  2116. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2117. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2118. local rngm = Instance.new("SpecialMesh", rng)
  2119. rngm.MeshType = "Sphere"
  2120. local oof = Instance.new("Part",char)
  2121. oof.Parent = rng
  2122. oof.CFrame = rng.CFrame
  2123. oof.CanCollide = false
  2124. oof.Anchored = true
  2125. oof.Transparency = 1
  2126. rngm.Scale = Vector3.new(0,0,10000)
  2127. local scaler2 = 1*10
  2128. coroutine.resume(coroutine.create(function()
  2129. for i = 0,99,0.1 do
  2130. swait()
  2131. scaler2 = scaler2 - 0.0025*10
  2132. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2133. rng.Transparency = rng.Transparency + 0.0025
  2134. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2135. end
  2136. rng:Destroy()
  2137. end))
  2138. end
  2139.  
  2140. function groundringlarge(pos)
  2141. local rng = Instance.new("Part", char)
  2142. rng.Anchored = true
  2143. rng.BrickColor = origcolor
  2144. rng.CanCollide = false
  2145. rng.FormFactor = 3
  2146. rng.Name = "Ring"
  2147. rng.Size = Vector3.new(1, 1, 1)
  2148. rng.Transparency = 0
  2149. rng.TopSurface = 0
  2150. rng.BottomSurface = 0
  2151. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2152. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2153. local rngm = Instance.new("SpecialMesh", rng)
  2154. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2155. rngm.Scale = Vector3.new(0,0,5)
  2156. local scaler2 = 10*10
  2157. coroutine.resume(coroutine.create(function()
  2158. for i = 0,10*2,0.1 do
  2159. swait()
  2160. scaler2 = scaler2 - 0.1*10/2
  2161. rng.Transparency = rng.Transparency + 0.005
  2162. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2163. end
  2164. rng:Destroy()
  2165. end))
  2166. end
  2167.  
  2168. function sphere(bonuspeed,type,pos,scale,value,color)
  2169. local type = type
  2170. local rng = Instance.new("Part", char)
  2171. rng.Anchored = true
  2172. rng.BrickColor = color
  2173. rng.CanCollide = false
  2174. rng.FormFactor = 3
  2175. rng.Name = "Ring"
  2176. rng.Material = "Neon"
  2177. rng.Size = Vector3.new(1, 1, 1)
  2178. rng.Transparency = 0
  2179. rng.TopSurface = 0
  2180. rng.BottomSurface = 0
  2181. rng.CFrame = pos
  2182. local rngm = Instance.new("SpecialMesh", rng)
  2183. rngm.MeshType = "Sphere"
  2184. rngm.Scale = scale
  2185. local scaler2 = 3
  2186. if type == "Add" then
  2187. scaler2 = 3*value
  2188. elseif type == "Divide" then
  2189. scaler2 = 3/value
  2190. end
  2191. coroutine.resume(coroutine.create(function()
  2192. for i = 0,10/bonuspeed,0.1 do
  2193. swait()
  2194. if type == "Add" then
  2195. scaler2 = scaler2 - 0.01*value/bonuspeed
  2196. elseif type == "Divide" then
  2197. scaler2 = scaler2 - 0.01/value*bonuspeed
  2198. end
  2199. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2200. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2201. end
  2202. rng:Destroy()
  2203. end))
  2204. end
  2205. Humanoid.Animator.Parent = nil
  2206.  
  2207. function AppearMutatedLimbs()
  2208. hum.WalkSpeed = 0
  2209. hum.MaxHealth = math.huge
  2210. attack = true
  2211. for i = 0,14,0.1 do
  2212. swait()
  2213. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.1)
  2214. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.1)
  2215. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2216. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  2217. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.1)
  2218. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-10 - 10 * math.cos(sine / 1))),.1)
  2219. end
  2220. for i = 0,8,0.1 do
  2221. swait()
  2222. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.1)
  2223. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.1)
  2224. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  2226. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.1)
  2227. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  2228. end
  2229. for i = 0,2,0.1 do
  2230. swait()
  2231. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2232. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  2234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2235. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  2236. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(60 - 10 * math.cos(sine / 1))),.4)
  2237. end
  2238. for i, v in pairs(MutantParts:GetChildren()) do
  2239. if v:IsA("Part") then
  2240. v.Transparency = 0
  2241. end
  2242. end
  2243. local bld = Instance.new("ParticleEmitter",larm)
  2244. bld.LightEmission = 0.1
  2245. bld.Texture = "rbxassetid://874580939"
  2246. bld.Color = ColorSequence.new(Color3.new(255,255,255))
  2247. bld.Rate = 5000
  2248. bld.Lifetime = NumberRange.new(5)
  2249. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2250. bld.Acceleration = vt(0,-25,0)
  2251. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2252. bld.Speed = NumberRange.new(10,25)
  2253. bld.EmissionDirection = "Bottom"
  2254. bld.VelocitySpread = 100
  2255. bld.Rotation = NumberRange.new(-500,500)
  2256. bld.RotSpeed = NumberRange.new(-500,500)
  2257. local bldef = Instance.new("ParticleEmitter",larm)
  2258. bldef.LightEmission = 0.1
  2259. bldef.Texture = "rbxassetid://874580939"
  2260. bldef.Color = ColorSequence.new(Color3.new(255,255,255))
  2261. bldef.Rate = 25
  2262. bldef.Lifetime = NumberRange.new(5)
  2263. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2264. bldef.Acceleration = vt(0,-5,0)
  2265. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2266. bldef.Speed = NumberRange.new(0,0,0)
  2267. bldef.EmissionDirection = "Bottom"
  2268. bldef.VelocitySpread = 15044
  2269. bldef.Rotation = NumberRange.new(-500,500)
  2270. bldef.RotSpeed = NumberRange.new(-500,500)
  2271. game:GetService("Debris"):AddItem(bld,3)
  2272. CFuncs["Sound"].Create("rbxassetid://919941001", larm, 2.5, 1)
  2273. CFuncs["Sound"].Create("rbxassetid://539294959", larm, 0.75, 1)
  2274. for i = 0,1,0.1 do
  2275. swait()
  2276. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  2277. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  2278. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-60)),.8)
  2279. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  2280. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2281. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-60 - 10 * math.cos(sine / 1))),.8)
  2282. end
  2283. bld.Enabled = false
  2284. attack = false
  2285. hum.WalkSpeed = 6
  2286. end
  2287.  
  2288. function AppearMutatedLimbs2()
  2289. hum.WalkSpeed = 0
  2290. attack = true
  2291. LeftModeUnlocked = true
  2292. for i = 0,8,0.1 do
  2293. swait()
  2294. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.1)
  2295. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.1)
  2296. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2297. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  2298. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 - 10 * math.cos(sine / 1)),math.rad(90 + 10 * math.cos(sine / 1))),.1)
  2299. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  2300. end
  2301. for i = 0,2,0.1 do
  2302. swait()
  2303. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2304. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2305. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-90)),.4)
  2306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  2307. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 - 10 * math.cos(sine / 1)),math.rad(20 + 10 * math.cos(sine / 1))),.4)
  2308. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(0 - 10 * math.cos(sine / 1))),.4)
  2309. end
  2310. for i, v in pairs(MutantParts2:GetChildren()) do
  2311. if v:IsA("Part") then
  2312. v.Transparency = 0
  2313. end
  2314. end
  2315. local bld = Instance.new("ParticleEmitter",rarm)
  2316. bld.LightEmission = 0.1
  2317. bld.Texture = "rbxassetid://874580939"
  2318. bld.Color = ColorSequence.new(Color3.new(255,255,255))
  2319. bld.Rate = 5003
  2320. bld.Lifetime = NumberRange.new(5)
  2321. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2322. bld.Acceleration = vt(0,-25,0)
  2323. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2324. bld.Speed = NumberRange.new(5,6)
  2325. bld.EmissionDirection = "Bottom"
  2326. bld.VelocitySpread = 1003
  2327. bld.Rotation = NumberRange.new(-500,500)
  2328. bld.RotSpeed = NumberRange.new(-500,500)
  2329. local bldef = Instance.new("ParticleEmitter",rarm)
  2330. bldef.LightEmission = 0.1
  2331. bldef.Texture = "rbxassetid://874580939"
  2332. bldef.Color = ColorSequence.new(Color3.new(255,255,255))
  2333. bldef.Rate = 2522
  2334. bldef.Lifetime = NumberRange.new(5)
  2335. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2336. bldef.Acceleration = vt(0,-5,0)
  2337. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2338. bldef.Speed = NumberRange.new(0,0,0)
  2339. bldef.EmissionDirection = "Bottom"
  2340. bldef.VelocitySpread = 150222
  2341. bldef.Rotation = NumberRange.new(-500,500)
  2342. bldef.RotSpeed = NumberRange.new(-500,500)
  2343. game:GetService("Debris"):AddItem(bld,3)
  2344. CFuncs["Sound"].Create("rbxassetid://919941001", rarm, 2.5, 1)
  2345. CFuncs["Sound"].Create("rbxassetid://539294959", rarm, 0.75, 1)
  2346. for i = 0,1,0.1 do
  2347. swait()
  2348. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.8)
  2349. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.8)
  2350. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(20),math.rad(0),math.rad(0)),.8)
  2351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  2352. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 - 10 * math.cos(sine / 1)),math.rad(90 + 10 * math.cos(sine / 1))),.8)
  2353. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(0 - 10 * math.cos(sine / 1))),.8)
  2354. end
  2355. bld.Enabled = false
  2356. attack = false
  2357. hum.WalkSpeed = 6
  2358. end
  2359.  
  2360. function TargetSelect(person)
  2361. local dd=coroutine.wrap(function()
  2362. if targetted ~= person then
  2363. targetted = person
  2364. img2.Size = UDim2.new(1,0,1,0)
  2365. img2.ImageTransparency = 0
  2366. img2.Position = UDim2.new(0,0,0,0)
  2367. img2.ImageColor3 = Color3.new(0,0,0)
  2368. for i = 0, 2, 0.1 do
  2369. swait()
  2370. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  2371. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  2372. img2.ImageTransparency = img2.ImageTransparency + 0.05
  2373. end
  2374. end
  2375. end)
  2376. dd()
  2377. end
  2378.  
  2379. function FindNearestTorso(Position, Distance, SinglePlayer)
  2380. if SinglePlayer then
  2381. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2382. end
  2383. local List = {}
  2384. for i, v in pairs(workspace:GetChildren()) do
  2385. if v:IsA("Model") then
  2386. if v:findFirstChild("Torso") then
  2387. if v ~= Character then
  2388. if (v.Torso.Position - Position).magnitude <= Distance then
  2389. table.insert(List, v)
  2390. end
  2391. end
  2392. end
  2393. end
  2394. end
  2395. return List
  2396. end
  2397.  
  2398. function LockOn()
  2399. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2400. TargetSelect(Mouse.Target.Parent)
  2401. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=137994058", Character, 1, 0.5)
  2402. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  2403. TargetSelect(Mouse.Target.Parent)
  2404. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  2405. targetted = nil
  2406. end
  2407. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=137994058", Character, 1, 0.5)
  2408. end
  2409. end
  2410.  
  2411. function dmg(dude)
  2412. if dude.Name ~= Character then
  2413. local bgf = Instance.new("BodyGyro",dude.Head)
  2414. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2415. local val = Instance.new("BoolValue",dude)
  2416. val.Name = "IsHit"
  2417. local ds = coroutine.wrap(function()
  2418. if dude.Name ~= "MasterdMayonase" then
  2419. killcount = killcount + 1
  2420. dude:WaitForChild("Torso"):BreakJoints()
  2421. wait(0.5)
  2422. targetted = nil
  2423. CFuncs["Sound"].Create("rbxassetid://180120107", char, 0.5, 0.3)
  2424. coroutine.resume(coroutine.create(function()
  2425. for i, v in pairs(dude:GetChildren()) do
  2426. if v:IsA("Accessory") then
  2427. v:Destroy()
  2428. end
  2429. if v:IsA("Humanoid") then
  2430. v:Destroy()
  2431. end
  2432. if v:IsA("CharacterMesh") then
  2433. v:Destroy()
  2434. end
  2435. if v:IsA("Model") then
  2436. v:Destroy()
  2437. end
  2438. if v:IsA("Part") then
  2439. for x, o in pairs(v:GetChildren()) do
  2440. if o:IsA("Decal") then
  2441. o:Destroy()
  2442. end
  2443. end
  2444. coroutine.resume(coroutine.create(function()
  2445. v.Material = "Neon"
  2446. v.CanCollide = false
  2447. local bld = Instance.new("ParticleEmitter",v)
  2448. bld.LightEmission = 1
  2449. bld.Texture = "rbxassetid://874580939"
  2450. bld.Color = ColorSequence.new(Color3.new(0,0,0))
  2451. bld.Rate = 50222
  2452. bld.Lifetime = NumberRange.new(1)
  2453. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2454. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2455. bld.Speed = NumberRange.new(0,0,0)
  2456. bld.Rotation = NumberRange.new(-500,500)
  2457. bld.RotSpeed = NumberRange.new(-500,500)
  2458. local sbs = Instance.new("BodyPosition", v)
  2459. sbs.P = 3000
  2460. sbs.D = 1000
  2461. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2462. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2463. v.Color = Color3.new(0,0,0)
  2464. end))
  2465. coroutine.resume(coroutine.create(function()
  2466. for i = 0, 49 do
  2467. swait(5)
  2468. v.Transparency = v.Transparency + 0.02
  2469. end
  2470. v:Destroy()
  2471. dude:Destroy()
  2472. end))
  2473. end
  2474. end
  2475. end))
  2476. else
  2477. bgf:Destroy()
  2478. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("White"))
  2479. end
  2480. end)
  2481. ds()
  2482. end
  2483. end
  2484.  
  2485.  
  2486. local Grabbed = false
  2487.  
  2488. function QuickStab()
  2489. attack = true
  2490. hum.WalkSpeed = 0
  2491. swait(1)
  2492. CFuncs["Sound"].Create("rbxassetid://137994058", char, 1, 0.8)
  2493. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  2494. if targetted.Name ~= "MasterdMayonase" then
  2495. local grab = nil
  2496. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  2497. if v:FindFirstChild('Head') then
  2498. Grabbed = true
  2499. grab = v
  2500. end
  2501. end
  2502. if Grabbed == true then
  2503. for i = 0,2,0.1 do
  2504. swait()
  2505. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2506. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2507. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  2508. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2509. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  2510. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(60 - 10 * math.cos(sine / 1))),.4)
  2511. end
  2512. dmg(grab)
  2513. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2514. bld.LightEmission = 0.1
  2515. bld.Texture = "rbxassetid://874580939"
  2516. bld.Color = ColorSequence.new(Color3.new(0,0,0))
  2517. bld.Rate = 50000
  2518. bld.Lifetime = NumberRange.new(1)
  2519. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2520. bld.Acceleration = vt(0,-25,0)
  2521. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2522. bld.Speed = NumberRange.new(10,50)
  2523. bld.EmissionDirection = "Front"
  2524. bld.VelocitySpread = 2500
  2525. bld.Rotation = NumberRange.new(-500,500)
  2526. bld.RotSpeed = NumberRange.new(-500,500)
  2527. game:GetService("Debris"):AddItem(bld,3)
  2528. CFuncs["Sound"].Create("rbxassetid://874580939", targetted.Torso, 2.5, 0.9)
  2529. for i = 0,1,0.1 do
  2530. swait()
  2531. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  2532. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  2533. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2535. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2536. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-80 - 10 * math.cos(sine / 1))),.8)
  2537. end
  2538. bld.Enabled = false
  2539. end
  2540. else
  2541. for i = 0,8,0.1 do
  2542. swait()
  2543. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2544. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(60)),.4)
  2546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  2547. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  2548. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(60 - 5 * math.cos(sine / 1))),.4)
  2549. end
  2550. local randomized = math.random(1,3)
  2551. if randomized == 1 then
  2552. chatfunc("O̸̦͎̠̬͉̮̙̯̠͚̫̜̔H̷̢͚͙̠̙̼́́̆̌̊̍͘͜͠ ̷̧͈͈̲̳̞͍̠̮͗̌̔͑̒͑͘Ń̵̨̘͈̮͓̤͎̼̓̉̈́́͆́͌̊͘͜Ỏ̵͔̗̳͗̋̉",Color3.new(0,0,0))
  2553. elseif randomized == 2 then
  2554. chatfunc("W̶̡̧̡̛̗͔͔̖̩̲͚̗̝͇̏̓̒́̎̅̓̀̐̎͊͜͝͝h̶̛̫̤͔̘̄̓͗̏́͘̚͠ͅy̶̰͉̓̉̊͌͘͠ ̸̡̨͓̣͎̩̳̇w̴̮͓͇͚͚͔͖͉̲͙̋͑̈́̂̓̆̽̑̕͜o̷̠͊̀́͂̈́̑ṳ̴͕̜̟̩͕̖̩͍̮̺̆̐̚ͅͅl̴͕̯̒̓͊̂͐́͐̈̋͘̚d̶̢͚̟̯̺͎͙͓̓̉̆͗͑̊̈̕ ̵̤̥͈͓̥̤͙͔͔̟̪̮̹̣͔̅͒̊̉͆̇͋̈́̔̄̽i̷̯͑̑̿̋̔̇̾͌̓͒̕͠ ̸̧͉͚̹̘̩̬͍̰͌̿̊̂͂d̴̪̜̪͉̖̫̹̫̖̬̖͂͂͒̃̒̈́̊̕͜͝ͅo̴͈̜͑̀̾͆̎̎́̐̕͘ ̶̢̮̻͎̥̱̝̜̩̏͒t̶̟̥̗̱̯̠̎͐̐̈́̀͂̂͐̂̿͘͝͝ͅḧ̷̨̼̻̙͓̩̪̥̖͈̫̦́̽̇̅̅̉͂͜ͅị̷̡̨̨̺͎͍̮̹͎̗͙̮̦͍̿s̵̭̼̭͕̰̬͛̈́̃͛͂͐̿̃.̶̡̝̰̗͈̣̩͖̩͗̀̇̑̍̽̂̓̊̑̎͘͜͠.̵̪͈͕̣̼̩̦̥̌̾͛̒̓̿͝.̶̬̣͉̝̬̗̖̙̮̬͚̲̘̩͖̇̾̄̎͆̋̆̿͂̎̿̑͐͠",Color3.new(0,0,0))
  2555. elseif randomized == 3 then
  2556. chatfunc("O̶̭̣̬̖͊́̕h̷̩̪̠̽̉̈́͌̇̉͊̀̆̑͝.̴̡̘̟͇̝̲͔̥̄̐̏̀̚͘.̶̡̫̻̦̪͙͎́́͜.̸͕̖̰̿͒̏͝ ̴͖̦͖̝̜̖̖̟̘̓̒͌̔̋̆͜ͅỉ̷͈͔͔̝̪̪̬̞̗̺̟͑͒̓̕ ̵̧̲̥̤͍͓̀̄ͅt̴̢̝̦̤̫̝̲͚͋̓̓͌̏͐̎̏̈́̕̕ͅḩ̴͔̜̗͇̻̜̫̳̱̮̳̜̥̟̓̓̽͆͂̚͝ö̵͔̫̹́u̶̜̟̜̩͍̠͓̥͛͑͑̈́͐̇̃͐͗̈́̿̑̅̚ģ̴̨͇̣̹̬̝̤̮̪̖̱͉͍͒́̀̀̀̽̌͂h̵̨̡̪̣͔̘̘̹̖͔͙̐̂ṫ̶̡̪̖̪̳̠̣̯̜͓̹̩̠̌̏̈́͋̃̄̒̽͜͝ ̷̨͖̱̖̹̞̲̓̏̐͐̋y̵̘̤̲̟̹͔̩͈͒͐̾̊̈́̆̚ō̸̹̤͓̮̹͎̜̯̯̯̲͐̒͑ͅu̷̞͕̓̆͐̍͊̑̾͊̽̿̐͠'̸̞͔̼̙̗͚̫͔̝͍͍͍̑̂̈́̊̋̀͊͂̓͒̐̕̕͘ṛ̶͙̻͓̎̀̅́̿̀̎͊̐̓̈̈͘͘͝ͅé̴̛̘͈̤̰͗͑͋͐̈́ ̶͍͖̥͙͍̺̼͖̒̍̒͆͛̾ͅm̶͎͔̺͈̫͍̘̒́̈́̋͗̉̀̐̈́̈́̓̍̅̚͝y̷̳͑͗̉̒͒͌ ̴͙̘̃̆̾̀̆̀̑̊̇̊͛̈̀̕͝é̷͎̦̪̱͕͉̲͕̘͎͉͈̪̏̐̂͒̾́n̷̙͗͛̓̄̊͊͑͆̈͌̉͘͘e̵̗̹̗̭͊̿̇̾m̴͉̯̾̋̋̃͘y̴̨̨̛̭̟͈̎̏̋̑̿͑͐̑̏̄̆̆̅̕ͅ.̷̧̛͍͙̟̪̜͓͔̱̎̆̅̐̕̚͝ͅͅ.̵̜͙̫͐͐̃̎̍̈́͘̕͝.̴̨̟͂̈́͂͒̄",Color3.new(0,0,0))
  2557. end
  2558. --[[for i = 0,3,0.1 do
  2559. swait()
  2560. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2561. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2562. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2563. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  2564. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  2565. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-60 - 10 * math.cos(sine / 1))),.4)
  2566. end]]--
  2567. end
  2568. Grabbed = false
  2569. attack = false
  2570. hum.WalkSpeed = 6
  2571. end
  2572.  
  2573.  
  2574. function BlinkingStab()
  2575. attack = true
  2576. hum.WalkSpeed = 0
  2577. swait(1)
  2578. if targetted.Name ~= "MasterdMayonase" then
  2579. for i = 0,2,0.1 do
  2580. swait()
  2581. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2582. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(10),math.rad(0),math.rad(80)),.4)
  2584. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2585. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2586. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-80 - 10 * math.cos(sine / 1))),.4)
  2587. end
  2588. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  2589. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  2590. dmg(targetted)
  2591. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2592. bld.LightEmission = 0.1
  2593. bld.Texture = "rbxassetid://874580939"
  2594. bld.Color = ColorSequence.new(Color3.new(0,0,0))
  2595. bld.Rate = 500
  2596. bld.Lifetime = NumberRange.new(1)
  2597. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2598. bld.Acceleration = vt(0,-25,0)
  2599. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2600. bld.Speed = NumberRange.new(10,50)
  2601. bld.EmissionDirection = "Front"
  2602. bld.VelocitySpread = 25
  2603. bld.Rotation = NumberRange.new(-500,500)
  2604. bld.RotSpeed = NumberRange.new(-500,500)
  2605. game:GetService("Debris"):AddItem(bld,3)
  2606. CFuncs["Sound"].Create("rbxassetid://874580939", targetted.Torso, 1,1)
  2607. for i = 0,1,0.1 do
  2608. swait()
  2609. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  2610. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  2611. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2613. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2614. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-80 - 10 * math.cos(sine / 1))),.8)
  2615. end
  2616. bld.Enabled = false
  2617. else
  2618. for i = 0,8,0.1 do
  2619. swait()
  2620. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2621. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2622. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(10),math.rad(0),math.rad(80)),.4)
  2623. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2624. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2625. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-80 - 10 * math.cos(sine / 1))),.4)
  2626. end
  2627. local randomized = math.random(1,3)
  2628. if randomized == 1 then
  2629. chatfunc("W̴̡̗̤͈̃̾a̵̛̮͖̩̦̯̳̬͎̍̆͌̕̚͝ͅi̴̡̨̞͔͚̮͖̳̩̤͕̯͎̖̲͐̃̄̾̒́͊̈̐̒̎͘̚̚t̴̡̛̛̙̜͕̟͍̖̞̪̂͆̌̈̇̾̔͑̎̑̑̇͝.̶̢̨̭͈̫̳̮̥̫̩͎̗͖̺̂̀́͜.̶̨̡̰͎̟̪̗̼͕͉̣̞̼͍͓͑̓ ̵̛̦̹͇̭̣̟̹̽̐͛̿͛̀̐̈́͐̄̅̕à̶̻̫̹͍̳̮̲̮̻̣̏͌͊̽̎́̌̌̈́ͅ ̶̢̫̳̠̳̰̰̞͔̠͋̐̎̾m̵̡̭̲͍̣̭͓̱̼̹̂͋͂͗̐̓̍͆͂͒̄́̚ͅi̷̛̼̪͓̫̮̱̝̪̠͚̗͗͊͜n̵̢͇̥̻̓͒͗͜ṵ̴̘͕͌̾̀ṱ̷̡̫̣̦̦͎̼̓̆̽ę̸̞͖̉͌̔̃̋̎́̇̓̾̓͠.̴̡̢̻̮̘̹̼̪̞̬̐͑́̍͊͂̈́̊̚.̶̢̧̻̜͈͓̖̪̼̍.̵̡̩͚͆͑̈͌͌̎͂̿̋̈͆̂̉ ̶̡̝͚̠͔͕̏̈́̎̉̔̑͊̑͛͒͘̚͝͝ẅ̶͈̖̟̗̬͎̤̲͉̰̬́̑̄́͠͝r̵̛̥̲̥͋̽͛̆̂̑̀̔̐o̷̞̱͗͐̄̽̆n̶̖͉̼̝̋͋͊̍̑̾g̷̪̦̗͍̗̈̀̈́̊ ̷̪̲̼͍̟͙̞͎̟͍̳̬͙̯̃̎ǵ̸͓̥̺̻u̷͇͚̳͙̯̐͑̒̑͌͊͌̀̍̂̓͘̕̕̕y̶̢̡̧̱̱͈̻͉̭̻̾̈́̃̽͝.̶̗͍͕̪͔̱̎͊̒̈̈̏͒̂̈̊̔̽̃͘͝.̷̡̨̡̢̤͉͓͔̮̖̲͔̩̞̜̽̐̐̀̅̇̾͝.̷͔̗̻͓͕͈͎̪͔͚̙̈́̌͑̎͊́͐̍͛̚͠",Color3.new(0,0,0))
  2630. elseif randomized == 2 then
  2631. chatfunc("Ị̸̓͊̈̈́ ̶̧̨̠̳̳̝̮̦̬̱̯̲̇͜f̴̢̡̢̛̣͕̠̰̼̙͎̹̪͇͆ō̷̡͉̠͇̺͜r̶̡̻̞̥͎͎̻̄̈́ͅͅg̸̗̟͇̬̭̟̍o̵̗͕͓̣̹͖͓̱̱̬͙̽̔̽͒͗͒͌̃̓̽͒͝͠t̸͇̜͌͠ ̷̖̱͉̙͕̖̠̎̿̈́̏͐̄ͅa̶̭͓͉̩̼̫̋̾͘b̷̤̹̯͍̯̹̤̪̬̬͖̅͒̎͛̽́̐͜ͅo̷̞͇͇͈͇̝̒̀̽̈́̂̚͝ṷ̴̢̖̱̙̽̄̀͛̉̂̾͑̓̔͋̑̀̕̕ţ̷̰̫͎͇̈̂̑̔͝͝͠ ̸̛͙͇̤̇̊͆̅̍́̍̀̎̀͘͝ý̶̨̨̭̖̯͈͐̈͛̂̎̇́͂̏͆ͅo̶̢͖̳̦̟̮̲̔̅͐͑̇̔̔͜͝u̵͇͉̺̻̣̜̝̥̖̅̊̓̌̀̀͒̓͑͌͌̚̚.̴̧̘͉͔̯̀.̵͕̯̟͔̮͎͕̝̺̻̣̮̣̜̐̀͆͌̒̃͝.̷̛̗̗͈̰͔͖̃̔̅̊̉̍̓͑̏̃͝͝͠",Color3.new(0,0,0))
  2632. elseif randomized == 3 then
  2633. chatfunc("Ô̵̢̙̻̦̼̰͍̪͐̊̆̀̋̔̕h̶̛̭͇̮͙̱̪̳̬͍̭̠̪̼̳̓̀̀̔̐͒̇̑͠ͅ.̵̢̛̝̟̙̟͈͆͐̍̅̔̈́̄́͊̓͆͌͜͝ͅ ̶̞͖̀̔̀̕͠s̵̰͑̈̆͑͂̇̽̐͝õ̷̢̭̳̭̜͙̯̗̣͔̩̮̻̍͛́͛́̈́r̶̤̞̙͙̗͚̳̬͌̎̒ͅr̴̺͚̮͕͍̫̙̞̘̟͙̻̤̈́͊͂̐̓̾͘y̶̡̤̼͙̘̹̺̱͘͝.̸̨̡̺͓̼̲͕͎̙͖̫͇̖͔̌̑.̶͉͔͔̗͓̙̬͙̬̽̈́͂́͂͐̓̈́͆̀̚.̵̩̼̜̼̲̣͚͕̟̱̲̐́",Color3.new(0,0,0))
  2634. end
  2635. --[[for i = 0,3,0.1 do
  2636. swait()
  2637. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2638. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  2639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  2641. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  2642. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-60 - 10 * math.cos(sine / 1))),.4)
  2643. end]]--
  2644. end
  2645. attack = false
  2646. hum.WalkSpeed = 6
  2647. end
  2648.  
  2649.  
  2650. function Tele()
  2651. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  2652. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  2653. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  2654. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  2655. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  2656. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  2657. end
  2658.  
  2659. function uhhnolikeokthen()
  2660. hum.WalkSpeed = 0
  2661. attack = true
  2662. CFuncs["Sound"].Create("rbxassetid://264080811", root, 1,1)
  2663. for i = 0,10,0.1 do
  2664. swait()
  2665. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  2666. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  2667. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  2668. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  2669. RW.C0=clerp(RW.C0,cf(1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.1)
  2670. LW.C0=clerp(LW.C0,cf(-1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(50 - 5 * math.cos(sine / 1))),.1)
  2671. end
  2672. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  2673. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  2674. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  2675. CFuncs["Sound"].Create("rbxassetid://264080811", root, 3,1)
  2676. CFuncs["Sound"].Create("rbxassetid://264080811", root, 2,1)
  2677. CFuncs["Sound"].Create("rbxassetid://264080811", root, 2,0.9)
  2678. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  2679. if v:FindFirstChild('Torso') then
  2680. dmg(v)
  2681. CFuncs["Sound"].Create("rbxassetid://0", v.Torso, 1, 0.9)
  2682. local bld = Instance.new("ParticleEmitter",v.Torso)
  2683. bld.LightEmission = 0.1
  2684. bld.Texture = "rbxassetid://874580939"
  2685. bld.Color = ColorSequence.new(Color3.new(0,0,0))
  2686. bld.Rate = 500
  2687. bld.Lifetime = NumberRange.new(1)
  2688. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2689. bld.Acceleration = vt(0,-25,0)
  2690. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2691. bld.Speed = NumberRange.new(10,50)
  2692. bld.EmissionDirection = "Front"
  2693. bld.VelocitySpread = 2500
  2694. bld.Rotation = NumberRange.new(-500,500)
  2695. bld.RotSpeed = NumberRange.new(-500,500)
  2696. coroutine.resume(coroutine.create(function()
  2697. swait(4)
  2698. bld.Enabled = false
  2699. game:GetService("Debris"):AddItem(bld,3)
  2700. end))
  2701. end
  2702. end
  2703. for i = 0,28,0.1 do
  2704. swait()
  2705. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  2706. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  2707. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2708. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  2709. RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-20),math.rad(0 - 3 * math.cos(sine / 1)),math.rad(80 + 3 * math.cos(sine / 1))),.5)
  2710. LW.C0=clerp(LW.C0,cf(-1.45,0.4 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-20),math.rad(0 + 3 * math.cos(sine / 1)),math.rad(-80 - 3 * math.cos(sine / 1))),.5)
  2711. end
  2712. attack = false
  2713. hum.WalkSpeed = 6
  2714. end
  2715.  
  2716. function deadworld()
  2717. hum.WalkSpeed = 0
  2718. attack = true
  2719. chatfunc("Y̴͇̊̓̈̀̓͛̓́̓̂̈́͜o̴͖̙̙̭̤͎͉͋͒͒̀̈̄͂̌̈́͆̽̌̂u̸̢̫̥͍̳͕̬͙̣̖͎̻̬̭̿͌͘̕ͅ.̵̡̛͉̊̒̂̇̅̽̃.̵̹͔̻̜̟̍̂̽̿̈́͐͑͂̂̈̓̓̂͘͝.̵̡͍͌̓͋̍̎͘̚͝ ̴̛̝̥̭̜̽̌͛̈́̉̄́̈́̐̌͛́y̷̜̮̮̪̗̻͎̙̼̣͐̈́̉͂̀͌́͠͠͝ͅò̴̘̘̪̭̈́̌͊̄̈̿̔͘͘͜u̷̪̰͉̱̖͔͂̌̎ ̵͎͎͚͕̝̲̺̤͚͔̮̄́͜w̸̢̛͓̬̹̱͖̱̬̳͉̦̘̅̂̂͗î̶͈̹̊̀̐̇̏̉̌̕̕͠l̵̙̹͙̥̀̈́̀̕̕͝l̴̗̫͉̘̼̠̜̺͎͋̐̽͑̌̆̋͆̿̀̈́̅̚ ̷̟͇̫̰̂͗̀̏̆̆̽͋̚͘͝ṙ̸̨̢̮͍e̷̢̧̢̼̹͎̪͔̠͖̋͗͑͜ͅͅġ̴̛̯̀͊̒̈͆̏͑́͘͝͝r̷̲͑̐͛̓̓͆͆́̚e̷̡͎̙͚͍̣̲̘̲̦͌͂͂̀̈́͆̿̄̑͆͘̚ͅt̴̫̻̜̲̺̱̯̱̥̻̗̹͋̀͋̿̅̈́̊͗̊̓͗ͅͅ ̸̨̭̗̘̲̳̼̹͕̼̯̬͐͌̾́̇̄̀͛͘̕̕ţ̴̢̳̰̳͈̭̝̯͉̫͚̗̜̝̈́͆́͝ẖ̴̨͎̫̥̲̦̦̿̌i̶̢͔͙̘̣͔̰͎͚͎̅͑̕ͅs̸̡̳̳̻̟̤̽͠ͅͅ!̶̲͇͂̋́̆͋̔͋̾̍͝",Color3.new(0.5,0,0))
  2720. for i = 0,10,0.1 do
  2721. swait()
  2722. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  2723. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  2724. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  2725. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  2726. RW.C0=clerp(RW.C0,cf(1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.1)
  2727. LW.C0=clerp(LW.C0,cf(-1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(50 - 5 * math.cos(sine / 1))),.1)
  2728. end
  2729. coroutine.resume(coroutine.create(function()
  2730. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  2731. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2732. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2733. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2734. coroutine.resume(coroutine.create(function()
  2735. for i = 0, 9 do
  2736. swait(3)
  2737. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
  2738. end
  2739. end))
  2740. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  2741. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  2742. local blastpitch = 1
  2743. for i = 0,2 do
  2744. wait(1.5)
  2745. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2746. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2747. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2748. coroutine.resume(coroutine.create(function()
  2749. for i = 0, 9 do
  2750. swait(3)
  2751. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
  2752. end
  2753. end))
  2754. blastpitch = blastpitch - 0.15
  2755. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  2756. end
  2757. wait(2)
  2758. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  2759. if v:FindFirstChild('Torso') then
  2760. dmg(v)
  2761. end
  2762. end
  2763. tors:Destroy()
  2764. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  2765. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  2766. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Blue"))
  2767. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Red"))
  2768. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Yellow"))
  2769. coroutine.resume(coroutine.create(function()
  2770. for i = 0, 49 do
  2771. swait(3)
  2772. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-175,175),math.random(-175,175),math.random(-175,175)),vt(0,0,0),2,BrickColor.new("Really red"))
  2773. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-375,375),math.random(-375,375),math.random(-375,375)),vt(0,0,0),8,BrickColor.new("Really red"))
  2774. end
  2775. end))
  2776. end))
  2777. for i = 0,280,0.1 do
  2778. swait()
  2779. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  2780. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  2781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  2783. RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-20),math.rad(0 - 3 * math.cos(sine / 1)),math.rad(80 + 3 * math.cos(sine / 1))),.5)
  2784. LW.C0=clerp(LW.C0,cf(-1.45,0.4 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-20),math.rad(0 + 3 * math.cos(sine / 1)),math.rad(-80 - 3 * math.cos(sine / 1))),.5)
  2785. end
  2786. attack = false
  2787. hum.WalkSpeed = 6
  2788. end
  2789. coroutine.resume(coroutine.create(function()
  2790. AppearMutatedLimbs()
  2791. end))
  2792.  
  2793. mouse.Button1Down:connect(function()
  2794. if attack == false and targetted ~= nil then
  2795. BlinkingStab()
  2796. end
  2797. end)
  2798.  
  2799. mouse.KeyDown:connect(function(k)
  2800. if k == "q" and attack == false then
  2801. LockOn()
  2802. end
  2803. if k == "e" and attack == false and targetted ~= nil then
  2804. Tele()
  2805. end
  2806. if k == "z" and attack == false and targetted ~= nil then
  2807. QuickStab()
  2808. end
  2809. if k == "x" and attack == false then
  2810. uhhnolikeokthen()
  2811. end
  2812. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  2813. AppearMutatedLimbs2()
  2814. end
  2815. if k == "p" and attack == false and unlockedX == true then
  2816. deadworld()
  2817. end
  2818. if k == "t" and attack == false and plr.Name == "MasterdMayonase" then
  2819. attack = true
  2820. chatfunc("HAH",Color3.new(0.5,0,0))
  2821. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  2822. for i = 0, 1, 0.1 do
  2823. swait()
  2824. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.9)
  2825. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.9)
  2826. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.5,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.9)
  2827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  2828. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-80),math.rad(0),math.rad(10)),.9)
  2829. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-80),math.rad(0),math.rad(-10)),.9)
  2830. end
  2831. attack = false
  2832. end
  2833. end)
  2834. idleanim=.4
  2835. while true do
  2836. swait()
  2837. imgl.Rotation = imgl.Rotation + 3
  2838. imgl2.Rotation = imgl2.Rotation - 3
  2839. img2.Rotation = img2.Rotation - 3
  2840. if targetted ~= nil then
  2841. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2842. abss.Enabled = true
  2843. elseif targetted == nil then
  2844. abss.Adornee = nil
  2845. abss.Enabled = false
  2846. end
  2847. while true and imgl.Rotation >= 360 do
  2848. imgl.Rotation = 0
  2849. imgl2.Rotation = 0
  2850. img2.Rotation = 0
  2851. end
  2852. uhh.Rotation = math.random(-1,1)
  2853. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  2854. uhh.Text = "K̷̜̭̖̗͎̖̘̭͖͎̩͈̳̖͙̀́͆̂̚͘̕͝͠͠͝i̶̡̡̛͇̜̙̭̲̩͔͗̇̔͑͜͜͝ͅͅl̸̜̰͈͙̺̙͖͕̹͠ͅl̶̢̡̫̜͎̻̺͕͚͓̣̠̝̏̆̀̽̋̔̾͑͜͜s̵̢̻̭̻̠̳̟̪̘̝̱͓͇͈̈́̀̓̈́̏͆͛́̑̌̾͝ͅ : " ..killcount
  2855. if killcount < maxA then
  2856. uhh2.Text = "R̵̢̗͓̰̺̥͕͕̂́̐̑̏͂̈́e̴̠̖͎͂̏̐͊̿̾͗̓̚q̷͕̼̺̄̍u̵̪͓͖̩͎̬̼͓̣͆̈̾͊͌͋̐͝i̴̛̖̥̱̟̯̜̼̾̔̍̇̓́̅̊̎̿͠͝͝͝ŕ̸̥̀̊̉̓̽̏̎̅̓e̴̢̨̻͓͉̪̹͉̩̱̞̱̺͓̓̀̆̿̑́̇̏͘̚̕͝d̸̦͛̃̉́̓͗̈͘ ̸̧͕͍̮̮̰̝̲́̋̄͋́́́͊̋͐̍̓͝͝k̸͙͚͍͕͈̤̲̙̣̭̐͒͜ì̵̘͙͖̞̝̟̻̫̹̞̲̈́̏̒̈́̋͝l̴̡͓̬̤̼͈̘̺̖̖̰͓̣̆̏̌́̃͗̿̓͗̀̾͠l̷̖̮͕͈͉͚̝͔̞̱̱̩̬͐̀s̸̢̨̭͚̗̠̤͊̃̌̆̓͗̕͝ ̴̡̠̟̪̥̹̦̝̘̫̦͔̖̘̬̈́̀̈́̃̊̾͛̈́̐f̴̡͎̏͛͋̂̋̾̎͂̕ǫ̵͖̖̮͖̼̭̞͙̠̱̈́̓̌͌̈́̄̽̓̌̈̔̚r̶̡̲̦̀̎͂͐͑͐̿̀̎̍͒̂̅̕͝ ̶̥͐̀̆̽̈̾̋̓̍́̿́̍̕͠s̴̥͓̼̱͇̞̳̪̦̪̮̈́̂̾͐͌̾͂̃͆͛͒̚ͅe̴̩̯̲̻̩̮̓̏͑̊̈́̽̿̐̍͂͘͠c̴̛̫̭̪̱̩̍̄͛͋̓͂̀͊͝͝ͅǫ̵͙̼͍̪̫̺͕̦̈́̎̊̊̎̓̔̓̈́̈͌̚͝͝n̶̢̛͍͉͙͂͆͑̓͑͂̆̇̕͝͝ḏ̵͓̬̜̪̻͍̘͔̓̾̾͛͋͗̆̉͒̉͆̚̚̕ͅ ̸̧̨̫̙̏̎̿̑͊̍̊͌͆̃̃̋̉͘͠P̵̡̛̒͂̃̈̌̂͠ò̸̢̢̻͙̣͈̙͂́͒́̂̈́͠w̷̧̛̖̱̜̝̫͛͛̐̾̈́̄̈́͋̎̉͐ͅẻ̷̡̦͎̦̏͌̃̿̑͋͗̑̔̕ṟ̶̢̘̩͖͎͙̼̲͚̭͓̭̄̈͒̉͑̊̇͛̃̃͐̈́̽: " ..requirekillA-killcount
  2857. elseif killcount >= maxA then
  2858. unlockedA = true
  2859. uhh2.Text = "S̴̜͓͉̦̋̊̌̀͘͝͝é̵̛͓͕̝̙͖̣̭̜͈̥̹͈̃̓̀͑͐̾͑̑͐̑̚ç̷̢̣͚̙̹̟̟͙͎̖̯̠̖̈́͋̎̓͛̓͋̔͑̇̆̆͗̄̃ơ̴̢̙̜̱̪̯̦̱̗̓͆͒̃̒͗͒̉̅̕͘͘ͅň̸͚͚̤͒͌̈́̋͗̒̎͜͝d̷̟͖͈͖͙̔̎͂ ̴̡̠͖̻̱̖̹̝́͂̽̈́̈́͂̓͘O̵̡͇̮͔̹͓̤̲̫̙͇͓̺̽̑̀̌̿̃̾̉̚͘͝m̴͓̗̩̝̪̣̰͕̳͛̒͐͋̾̽̄̈́̏̈͌͝͝͝e̴̢̺̜̻̰̱̮͍̘̺̣̲̓́̓̃͜g̶̯̻̝̲̠̯̎͠ä̷̢̜͚̙̳͉̟̝́̇͜ͅͅ ̵̢̧͇̺̣́͊̇̍̍̿͑̿̍͂̌̾̚̕ą̵̮͔̳̰̻͉̰̭̩͉̱̦̈́̋̽̇́̀̆͐̏͛̀͊̕̚͝ŗ̵̢̜̗̞͓͈̝̟̱͙̿͆̈́͐͘͜͝͝ḿ̸̬̜̼̞̺̰̊̋͋͂͠ͅ ̷̧̳̥̻̘͈̃̏͑̀́͊̑̓̋́͘͜ͅů̴͖̳̘̉̂̂́͐͊̿͆̑͂̕͝͝n̵̢̦͍̼͙͐̂̐̑̐̆̾͗͆͋̇͑̾̕͜͠ļ̴͙̪̤͇̤̜̼̙̬͈͉̬̦̗͗̋́̿̎̈̈́̿̈́͆̄o̷̳̣̻͙͎̬̬̯̘͖̝̫͍̟̽̈́̿c̶̨̮͚̮̰̥͙̘͗͂̃͊̈́͜͝ķ̷̢̲̼̥͕̭͍̬͚̪͂̀͗͋̈́͒͑̈́͂́̑̀͒̓͝e̶̢̢̧͓̹͇͓͔̤͆̅̌̏̔̓̅̍̑̍̾͘̚ḑ̸̝͔̦̘̔̓̌̅̑͊͒̈́́͘. (L)"
  2860. end
  2861. if killcount < maxX then
  2862. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  2863. elseif killcount >= maxX then
  2864. unlockedX = true
  2865. uhh3.Text = "The end unlocked. (P to activate)"
  2866. end
  2867. sine = sine + change
  2868. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2869. local velderp=RootPart.Velocity.y
  2870. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2871. if equipped==true or equipped==false then
  2872. if attack==false then
  2873. idle=idle+1
  2874. else
  2875. idle=0
  2876. end
  2877. if idle>=500 then
  2878. if attack==false then
  2879. --Sheath()
  2880. end
  2881. end
  2882. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2883. Anim="Jump"
  2884. if attack==false then
  2885. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  2886. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  2887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  2888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  2889. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  2890. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  2891. end
  2892. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2893. Anim="Fall"
  2894. if attack==false then
  2895. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  2896. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  2897. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2898. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2899. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  2900. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  2901. end
  2902. elseif torvel<1 and hitfloor~=nil then
  2903. Anim="Idle"
  2904. if attack==false then
  2905. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.1)
  2906. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.1)
  2907. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2908. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  2909. if LeftModeUnlocked == false then
  2910. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.1)
  2911. else
  2912. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20 - 10 * math.cos(sine / 1)),math.rad(0),math.rad(10 + 10 * math.cos(sine / 1))),.1)
  2913. end
  2914. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-10 - 10 * math.cos(sine / 1))),.1)
  2915. end
  2916. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2917. Anim="Walk"
  2918. if attack==false then
  2919. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10 + 40 * math.cos(sine / 18))),.1)
  2920. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10 + 40 * math.cos(sine / 18))),.1)
  2921. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2922. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  2923. if LeftModeUnlocked == false then
  2924. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20 - 40 * math.cos(sine / 18)),math.rad(0),math.rad(10)),.1)
  2925. else
  2926. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20 - 10 * math.cos(sine / 1)),math.rad(0),math.rad(10 + 10 * math.cos(sine / 1))),.1)
  2927. end
  2928. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-10 - 10 * math.cos(sine / 1))),.1)
  2929. end
  2930. elseif torvel>=22 and hitfloor~=nil then
  2931. Anim="Run"
  2932. if attack==false then
  2933. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  2934. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  2935. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  2936. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  2937. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 125 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  2938. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 125 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  2939. end
  2940. end
  2941. end
  2942. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement