Advertisement
jassm11

Untitled

Apr 29th, 2018
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. hum = char.Humanoid
  4. local cam = game.Workspace.CurrentCamera
  5. t = char.Torso
  6. h = char.Head
  7. ra = char["Right Arm"]
  8. la = char["Left Arm"]
  9. rl = char["Right Leg"]
  10. ll = char["Left Leg"]
  11. tors = char.Torso
  12. lleg = char["Left Leg"]
  13. root = char.HumanoidRootPart
  14. hed = char.Head
  15. rleg = char["Right Leg"]
  16. rarm = char["Right Arm"]
  17. larm = char["Left Arm"]
  18. vt = Vector3.new
  19. bc = BrickColor.new
  20. br = BrickColor.random
  21. it = Instance.new
  22. cf = CFrame.new
  23. local targetted = nil
  24. local killcount = 50
  25. local requirekillA = 15
  26. local requirekillX = 50
  27. local maxA = 15
  28. local maxX = 50
  29. if plr.Name == "soins1" then
  30. maxX = 0
  31. requirekillX = maxX
  32. end
  33. local unlockedA = true
  34. local unlockedX = true
  35. local LeftModeUnlocked = false
  36.  
  37. kan = Instance.new("Sound",char)
  38. kan.Volume = 6
  39. kan.Pitch = 1
  40. kan.TimePosition = 1
  41. kan.SoundId = "rbxassetid://358388868"
  42. kan.Name = "kreepery"
  43. kan.Looped = true
  44. kan:Play()
  45.  
  46. abss = Instance.new("BillboardGui",char)
  47. abss.Size = UDim2.new(10,0,10,0)
  48. abss.Enabled = false
  49. imgl = Instance.new("ImageLabel",abss)
  50. imgl.Position = UDim2.new(0,0,0,0)
  51. imgl.Size = UDim2.new(1,0,1,0)
  52. imgl.Image = "http://www.roblox.com/asset/?id=118777235"
  53. imgl.BackgroundTransparency = 1
  54. imgl.ImageColor3 = Color3.new(0,0,0)
  55. imgl2 = Instance.new("ImageLabel",abss)
  56. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  57. imgl2.Size = UDim2.new(2,0,2,0)
  58. imgl2.Image = "http://www.roblox.com/asset/?id=135465292"
  59. imgl2.BackgroundTransparency = 1
  60. imgl2.ImageColor3 = Color3.new(0,0,0)
  61. img2 = Instance.new("ImageLabel",abss)
  62. img2.Position = UDim2.new(0,0,0,0)
  63. img2.Size = UDim2.new(1,0,1,0)
  64. img2.Image = "rbxassetid://118777235"
  65. img2.BackgroundTransparency = 1
  66. img2.ImageColor3 = Color3.new(0,0,0)
  67.  
  68. function CameraShake(Times, Power)
  69. coroutine.resume(coroutine.create(function()
  70. FV = Instance.new("BoolValue", Character)
  71. FV.Name = "CameraShake"
  72. for ShakeNum=1,Times do
  73. swait()
  74. local ef=Power
  75. if ef>=1 then
  76. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  77. else
  78. ef=Power*10
  79. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  80. end
  81. end
  82. Humanoid.CameraOffset = Vector3.new(0,0,0)
  83. FV:Destroy()
  84. end))
  85. end
  86.  
  87. CamShake=function(Part,Distan,Power,Times)
  88. local de=Part.Position
  89. for i,v in pairs(workspace:children()) do
  90. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  91. for _,c in pairs(v:children()) do
  92. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  93. local Noob=v.Humanoid
  94. if Noob~=nil then
  95. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  96. --[[local ss=script.CamShake:clone()
  97. ss.Parent=Noob
  98. ss.Power.Value=Power
  99. ss.Times.Value=Times
  100. ss.Disabled=false]]
  101. CameraShake(Times, Power)
  102. end
  103. end
  104. end
  105. end
  106. end
  107. end
  108. end
  109.  
  110. function chatfunc(text,color)
  111. local chat = coroutine.wrap(function()
  112. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  113. Character:FindFirstChild("TalkingBillBoard"):destroy()
  114. end
  115. local naeeym2 = Instance.new("BillboardGui",Character)
  116. naeeym2.Size = UDim2.new(0,100,0,40)
  117. naeeym2.StudsOffset = Vector3.new(0,3,0)
  118. naeeym2.Adornee = Character.Head
  119. naeeym2.Name = "TalkingBillBoard"
  120. local tecks2 = Instance.new("TextLabel",naeeym2)
  121. tecks2.BackgroundTransparency = 1
  122. tecks2.BorderSizePixel = 0
  123. tecks2.Text = ""
  124. tecks2.Font = "SciFi"
  125. tecks2.TextSize = 30
  126. tecks2.TextStrokeTransparency = 0
  127. tecks2.TextColor3 = color
  128. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  129. tecks2.Size = UDim2.new(1,0,0.5,0)
  130. local tecks3 = Instance.new("TextLabel",naeeym2)
  131. tecks3.BackgroundTransparency = 1
  132. tecks3.BorderSizePixel = 0
  133. tecks3.Text = ""
  134. tecks3.Font = "SciFi"
  135. tecks3.TextSize = 30
  136. tecks3.TextStrokeTransparency = 0
  137. tecks3.TextColor3 = Color3.new(0,0,0)
  138. tecks3.TextStrokeColor3 = color
  139. tecks3.Size = UDim2.new(1,0,0.5,0)
  140. coroutine.resume(coroutine.create(function()
  141. swait(1)
  142. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  143. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  144. tecks2.Rotation = math.random(-15,15)
  145. tecks3.Rotation = math.random(-15,15)
  146. end
  147. end))
  148. for i = 1,string.len(text),1 do
  149. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  150. tecks2.Text = string.sub(text,1,i)
  151. tecks3.Text = string.sub(text,1,i)
  152. swait(1)
  153. end
  154. wait(1)
  155. local randomrot = math.random(1,2)
  156. if randomrot == 1 then
  157. for i = 1, 50 do
  158. swait()
  159. tecks2.Rotation = tecks2.Rotation - .75
  160. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  161. tecks2.TextTransparency = tecks2.TextTransparency + .04
  162. tecks3.Rotation = tecks2.Rotation + .75
  163. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  164. tecks3.TextTransparency = tecks2.TextTransparency + .04
  165. end
  166. elseif randomrot == 2 then
  167. for i = 1, 50 do
  168. swait()
  169. tecks2.Rotation = tecks2.Rotation + .75
  170. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  171. tecks2.TextTransparency = tecks2.TextTransparency + .04
  172. tecks3.Rotation = tecks2.Rotation - .75
  173. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  174. tecks3.TextTransparency = tecks2.TextTransparency + .04
  175. end
  176. end
  177. naeeym2:Destroy()
  178. end)
  179. chat()
  180. end
  181.  
  182.  
  183. local Create = LoadLibrary("RbxUtility").Create
  184.  
  185. CFuncs = {
  186. ["Part"] = {
  187. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  188. local Part = Create("Part"){
  189. Parent = Parent,
  190. Reflectance = Reflectance,
  191. Transparency = Transparency,
  192. CanCollide = false,
  193. Locked = true,
  194. BrickColor = BrickColor.new(tostring(BColor)),
  195. Name = Name,
  196. Size = Size,
  197. Material = Material,
  198. }
  199. RemoveOutlines(Part)
  200. return Part
  201. end;
  202. };
  203.  
  204. ["Mesh"] = {
  205. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  206. local Msh = Create(Mesh){
  207. Parent = Part,
  208. Offset = OffSet,
  209. Scale = Scale,
  210. }
  211. if Mesh == "SpecialMesh" then
  212. Msh.MeshType = MeshType
  213. Msh.MeshId = MeshId
  214. end
  215. return Msh
  216. end;
  217. };
  218.  
  219. ["Mesh"] = {
  220. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  221. local Msh = Create(Mesh){
  222. Parent = Part,
  223. Offset = OffSet,
  224. Scale = Scale,
  225. }
  226. if Mesh == "SpecialMesh" then
  227. Msh.MeshType = MeshType
  228. Msh.MeshId = MeshId
  229. end
  230. return Msh
  231. end;
  232. };
  233.  
  234. ["Weld"] = {
  235. Create = function(Parent, Part0, Part1, C0, C1)
  236. local Weld = Create("Weld"){
  237. Parent = Parent,
  238. Part0 = Part0,
  239. Part1 = Part1,
  240. C0 = C0,
  241. C1 = C1,
  242. }
  243. return Weld
  244. end;
  245. };
  246.  
  247. ["Sound"] = {
  248. Create = function(id, par, vol, pit)
  249. coroutine.resume(coroutine.create(function()
  250. local S = Create("Sound"){
  251. Volume = vol,
  252. Pitch = pit or 1,
  253. SoundId = id,
  254. Parent = par or workspace,
  255. }
  256. wait()
  257. S:play()
  258. game:GetService("Debris"):AddItem(S, 10)
  259. end))
  260. end;
  261. };
  262.  
  263. ["LongSound"] = {
  264. Create = function(id, par, vol, pit)
  265. coroutine.resume(coroutine.create(function()
  266. local S = Create("Sound"){
  267. Volume = vol,
  268. Pitch = pit or 1,
  269. SoundId = id,
  270. Parent = par or workspace,
  271. }
  272. wait()
  273. S:play()
  274. game:GetService("Debris"):AddItem(S, 30)
  275. end))
  276. end;
  277. };
  278.  
  279. ["ParticleEmitter"] = {
  280. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  281. local fp = Create("ParticleEmitter"){
  282. Parent = Parent,
  283. Color = ColorSequence.new(Color1, Color2),
  284. LightEmission = LightEmission,
  285. Size = Size,
  286. Texture = Texture,
  287. Transparency = Transparency,
  288. ZOffset = ZOffset,
  289. Acceleration = Accel,
  290. Drag = Drag,
  291. LockedToPart = LockedToPart,
  292. VelocityInheritance = VelocityInheritance,
  293. EmissionDirection = EmissionDirection,
  294. Enabled = Enabled,
  295. Lifetime = LifeTime,
  296. Rate = Rate,
  297. Rotation = Rotation,
  298. RotSpeed = RotSpeed,
  299. Speed = Speed,
  300. VelocitySpread = VelocitySpread,
  301. }
  302. return fp
  303. end;
  304. };
  305.  
  306. CreateTemplate = {
  307.  
  308. };
  309. }
  310.  
  311.  
  312.  
  313. New = function(Object, Parent, Name, Data)
  314. local Object = Instance.new(Object)
  315. for Index, Value in pairs(Data or {}) do
  316. Object[Index] = Value
  317. end
  318. Object.Parent = Parent
  319. Object.Name = Name
  320. return Object
  321. end
  322. local halocolor = BrickColor.new("Dark indigo")
  323. local wepcolor = BrickColor.new("Really black")
  324. local MutantParts = Instance.new("Model",char)
  325. local MutantParts2 = Instance.new("Model",char)
  326.  
  327. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  328. local p = Instance.new("Part")
  329. p.TopSurface = 0
  330. p.BottomSurface = 0
  331. p.Parent = parent
  332. p.Size = Vector3.new(0.1,0.1,0.1)
  333. p.Transparency = transparency
  334. p.Reflectance = reflectance
  335. p.CanCollide = false
  336. p.Locked = true
  337. p.BrickColor = brickcolor
  338. p.Material = material
  339. return p
  340. end
  341.  
  342. function CreateMesh(parent,meshtype,x1,y1,z1)
  343. local mesh = Instance.new("SpecialMesh",parent)
  344. mesh.MeshType = meshtype
  345. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  346. return mesh
  347. end
  348.  
  349. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  350. local mesh = Instance.new("SpecialMesh",parent)
  351. mesh.MeshType = "FileMesh"
  352. mesh.MeshId = meshid
  353. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  354. mesh.Scale = Vector3.new(x1,y1,z1)
  355. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  356. return mesh
  357. end
  358.  
  359. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  360. local weld = Instance.new("Weld")
  361. weld.Parent = parent
  362. weld.Part0 = part0
  363. weld.Part1 = part1
  364. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  365. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  366. return weld
  367. end
  368.  
  369. --larm.Name = "MutatedLeftArm"
  370.  
  371. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  372. CreateMesh(extend,"Brick",0.65,1,0.65)
  373. CreateWeld(extend,larm,extend,0,0.25,0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  374. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  375. CreateMesh(extend,"Brick",0.65,1,0.65)
  376. CreateWeld(extend,larm,extend,0.25,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  377. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  378. CreateMesh(extend,"Brick",0.65,1,0.65)
  379. CreateWeld(extend,larm,extend,-0.275,-0.35,-0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  380. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  381. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  382. CreateWeld(extendblood,larm,extendblood,-0.15,0,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  383. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  384. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  385. CreateWeld(extendblood,larm,extendblood,-0.275,0.2,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  386. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  387. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  388. CreateWeld(extendblood,larm,extendblood,0.05,0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  389. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  390. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  391. CreateWeld(extendblood,larm,extendblood,0.15,-0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  392. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  393. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  394. CreateWeld(extendblood,larm,extendblood,-0.1,0,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  395. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  396. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  397. CreateWeld(extendblood,larm,extendblood,0.5,0.2,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  398. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  399. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  400. CreateWeld(extendblood,larm,extendblood,0.5,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  401. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  402. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  403. CreateWeld(extendsph,larm,extendsph,0.185,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  404. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  405. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  406. CreateWeld(extendsph,larm,extendsph,0.35,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  407. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  408. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  409. CreateWeld(extendsph,larm,extendsph,-0.35,-0.5,-0.35,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  410. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  411. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  412. CreateWeld(extendcl,larm,extendcl,0,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  413. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  414. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  415. CreateWeld(extendcl,larm,extendcl,0.25,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  416. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  417. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  418. CreateWeld(extendcl,larm,extendcl,-0.25,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  419.  
  420. --- Secondary
  421. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  422. CreateMesh(extendcl,"Wedge",0.05,1,3)
  423. CreateWeld(extendcl,rarm,extendcl,0,-0.75,1,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  424. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  425. CreateMesh(extendcl,"Wedge",0.05,1,1)
  426. CreateWeld(extendcl,rarm,extendcl,0,-0.75,1,math.rad(-90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  427. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  428. CreateMesh(extend,"Brick",0.65,1,0.65)
  429. CreateWeld(extend,rarm,extend,-0.275,-0.35,-0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  430. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  431. CreateMesh(extend,"Brick",0.65,1,0.65)
  432. CreateWeld(extend,rarm,extend,0.275,-0.15,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  433. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  434. CreateMesh(extend,"Brick",0.65,1,0.65)
  435. CreateWeld(extend,rarm,extend,-0.205,0.15,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  436. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  437. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  438. CreateWeld(extendsph,rarm,extendsph,0.125,0,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  439. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  440. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  441. CreateWeld(extendsph,rarm,extendsph,-0.35,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  442. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  443. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  444. CreateWeld(extendsph,rarm,extendsph,0.315,-0.5,-0.325,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  445. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  446. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  447. CreateWeld(extendsph,rarm,extendsph,-0.235,0.45,-0.3,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  448. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  449. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  450. CreateWeld(extendblood,rarm,extendblood,-0.15,0,0.525,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  451. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  452. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  453. CreateWeld(extendblood,rarm,extendblood,-0.275,0.2,0.525,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  454. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  455. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  456. CreateWeld(extendblood,rarm,extendblood,0.25,0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  457. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  458. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  459. CreateWeld(extendblood,rarm,extendblood,0.15,-0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  460. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  461. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  462. CreateWeld(extendblood,rarm,extendblood,-0.1,0,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  463. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  464. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  465. CreateWeld(extendblood,rarm,extendblood,-0.5,0.2,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  466. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  467. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  468. CreateWeld(extendblood,rarm,extendblood,-0.5,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  469.  
  470. for i, v in pairs(MutantParts:GetChildren()) do
  471. if v:IsA("Part") then
  472. v.Transparency = 1
  473. end
  474. end
  475.  
  476. for i, v in pairs(MutantParts2:GetChildren()) do
  477. if v:IsA("Part") then
  478. v.Transparency = 1
  479. end
  480. end
  481. function RemoveOutlines(part)
  482. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  483. end
  484. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  485. local Part = Create("Part")({
  486. Parent = Parent,
  487. Reflectance = Reflectance,
  488. Transparency = Transparency,
  489. CanCollide = false,
  490. Locked = true,
  491. BrickColor = BrickColor.new(tostring(BColor)),
  492. Name = Name,
  493. Size = Size,
  494. Material = Material
  495. })
  496. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  497. RemoveOutlines(Part)
  498. return Part
  499. end
  500. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  501. local Msh = Create(Mesh)({
  502. Parent = Part,
  503. Offset = OffSet,
  504. Scale = Scale
  505. })
  506. if Mesh == "SpecialMesh" then
  507. Msh.MeshType = MeshType
  508. Msh.MeshId = MeshId
  509. end
  510. return Msh
  511. end
  512. function CreateWeld(Parent, Part0, Part1, C0, C1)
  513. local Weld = Create("Weld")({
  514. Parent = Parent,
  515. Part0 = Part0,
  516. Part1 = Part1,
  517. C0 = C0,
  518. C1 = C1
  519. })
  520. return Weld
  521. end
  522.  
  523. local ff = Instance.new("ForceField",char)
  524. ff.Visible = false
  525.  
  526. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  527. local gui = it(GuiType)
  528. gui.Parent = parent
  529. gui.Text = text
  530. gui.BackgroundTransparency = backtrans
  531. gui.BackgroundColor3 = backcol
  532. gui.SizeConstraint = "RelativeXY"
  533. gui.TextXAlignment = "Center"
  534. gui.TextYAlignment = "Center"
  535. gui.Position = pos
  536. gui.Size = size
  537. gui.Font = "SourceSans"
  538. gui.FontSize = "Size14"
  539. gui.TextWrapped = false
  540. gui.TextStrokeTransparency = 0
  541. gui.TextColor = BrickColor.new("White")
  542. return gui
  543. end
  544. ---- GUI set
  545. local basgui = it("GuiMain")
  546. basgui.Parent = plr.PlayerGui
  547. basgui.Name = "Killcounter GUI"
  548. local basframe = it("Frame")
  549. basframe.Parent = basgui
  550. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  551. basframe.BackgroundTransparency = 1
  552. basframe.BorderColor3 = Color3.new(17, 17, 17)
  553. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  554. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  555.  
  556. local basframelist = it("Frame")
  557. basframelist.Parent = basgui
  558. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  559. basframelist.BackgroundTransparency = 1
  560. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  561. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  562. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  563.  
  564. 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))
  565. uhh.ZIndex = 2
  566. uhh.Font = "Arcade"
  567. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  568. uhh.TextColor3 = Color3.new(0,0,0)
  569. uhh.BackgroundTransparency = 1
  570. uhh.BorderSizePixel = 0.65
  571. uhh.TextScaled = false
  572. uhh.TextXAlignment = "Left"
  573. uhh.Text = "Kills : 0"
  574. uhh.TextSize = 54
  575.  
  576.  
  577. 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))
  578. uhh2.ZIndex = 2
  579. uhh2.Font = "Bodoni"
  580. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  581. uhh2.TextColor3 = Color3.new(0,0,0)
  582. uhh2.BackgroundTransparency = 1
  583. uhh2.BorderSizePixel = 0.65
  584. uhh2.TextScaled = false
  585. uhh2.TextXAlignment = "Left"
  586. uhh2.Text = "Required kills for second mutated arm: 15"
  587. uhh2.TextSize = 24
  588. 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))
  589. uhh3.ZIndex = 2
  590. uhh3.Font = "Bodoni"
  591. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  592. uhh3.TextColor3 = Color3.new(0,0,0)
  593. uhh3.BackgroundTransparency = 1
  594. uhh3.BorderSizePixel = 0.65
  595. uhh3.TextScaled = false
  596. uhh3.TextXAlignment = "Left"
  597. uhh3.Text = "Required kills for the end: 50"
  598. uhh3.TextSize = 24
  599.  
  600.  
  601. Player=game:GetService("Players").LocalPlayer
  602. Character=Player.Character
  603. local Mouse = Player:GetMouse()
  604. PlayerGui=Player.PlayerGui
  605. Backpack=Player.Backpack
  606. Torso=Character.Torso
  607. Head=Character.Head
  608. Humanoid=Character.Humanoid
  609. m=Instance.new('Model',Character)
  610. LeftArm=Character["Left Arm"]
  611. LeftLeg=Character["Left Leg"]
  612. RightArm=Character["Right Arm"]
  613. RightLeg=Character["Right Leg"]
  614. LS=Torso["Left Shoulder"]
  615. LH=Torso["Left Hip"]
  616. RS=Torso["Right Shoulder"]
  617. RH=Torso["Right Hip"]
  618. Face = Head.face
  619. Neck=Torso.Neck
  620. it=Instance.new
  621. attacktype=1
  622. vt=Vector3.new
  623. cf=CFrame.new
  624. euler=CFrame.fromEulerAnglesXYZ
  625. angles=CFrame.Angles
  626. cloaked=false
  627. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  628. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  629. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  630. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  631. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  632. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  633. RootPart=Character.HumanoidRootPart
  634. RootJoint=RootPart.RootJoint
  635. RootCF=euler(-1.57,0,3.14)
  636. attack = false
  637. attackdebounce = false
  638. deb=false
  639. equipped=true
  640. hand=false
  641. MMouse=nil
  642. combo=0
  643. mana=0
  644. trispeed=.2
  645. attackmode='none'
  646. local idle=0
  647. local Anim="Idle"
  648. local Effects={}
  649. local gun=false
  650. local shoot=false
  651. local sine = 0
  652. local change = 1
  653. player=nil
  654.  
  655. mouse=Player:GetMouse()
  656. --save shoulders
  657. RSH, LSH=nil, nil
  658. --welds
  659. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  660. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  661. LH=Torso["Left Hip"]
  662. RH=Torso["Right Hip"]
  663. TorsoColor=Torso.BrickColor
  664. function NoOutline(Part)
  665. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  666. end
  667. player=Player
  668. ch=Character
  669. RSH=ch.Torso["Right Shoulder"]
  670. LSH=ch.Torso["Left Shoulder"]
  671. --
  672. RSH.Parent=nil
  673. LSH.Parent=nil
  674. --
  675. RW.Name="Right Shoulder"
  676. RW.Part0=ch.Torso
  677. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  678. RW.C1=cf(0, 0.5, 0)
  679. RW.Part1=ch["Right Arm"]
  680. RW.Parent=ch.Torso
  681. --
  682. LW.Name="Left Shoulder"
  683. LW.Part0=ch.Torso
  684. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  685. LW.C1=cf(0, 0.5, 0)
  686. LW.Part1=ch["Left Arm"]
  687. LW.Parent=ch.Torso
  688.  
  689. local Stats=Instance.new("BoolValue")
  690. Stats.Name="Stats"
  691. Stats.Parent=Character
  692. local Atk=Instance.new("NumberValue")
  693. Atk.Name="Damage"
  694. Atk.Parent=Stats
  695. Atk.Value=1
  696. local Def=Instance.new("NumberValue")
  697. Def.Name="Defense"
  698. Def.Parent=Stats
  699. Def.Value=1
  700. local Speed=Instance.new("NumberValue")
  701. Speed.Name="Speed"
  702. Speed.Parent=Stats
  703. Speed.Value=1
  704. local Mvmt=Instance.new("NumberValue")
  705. Mvmt.Name="Movement"
  706. Mvmt.Parent=Stats
  707. Mvmt.Value=1
  708.  
  709. local donum=0
  710.  
  711.  
  712. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  713. local fp=it("Part")
  714. fp.formFactor=formfactor
  715. fp.Parent=parent
  716. fp.Reflectance=reflectance
  717. fp.Transparency=transparency
  718. fp.CanCollide=false
  719. fp.Locked=true
  720. fp.BrickColor=brickcolor
  721. fp.Name=name
  722. fp.Size=size
  723. fp.Position=Torso.Position
  724. NoOutline(fp)
  725. fp.Material="SmoothPlastic"
  726. fp:BreakJoints()
  727. return fp
  728. end
  729.  
  730. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  731. local mesh=it(Mesh)
  732. mesh.Parent=part
  733. if Mesh=="SpecialMesh" then
  734. mesh.MeshType=meshtype
  735. if meshid~="nil" then
  736. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  737. end
  738. end
  739. mesh.Offset=offset
  740. mesh.Scale=scale
  741. return mesh
  742. end
  743.  
  744. function weld(parent,part0,part1,c0)
  745. local weld=it("Weld")
  746. weld.Parent=parent
  747. weld.Part0=part0
  748. weld.Part1=part1
  749. weld.C0=c0
  750. return weld
  751. end
  752.  
  753. local Color1=Torso.BrickColor
  754.  
  755. local bodvel=Instance.new("BodyVelocity")
  756. local bg=Instance.new("BodyGyro")
  757.  
  758. function swait(num)
  759. if num==0 or num==nil then
  760. game:service'RunService'.Stepped:wait(0)
  761. else
  762. for i=0,num do
  763. game:service'RunService'.Stepped:wait(0)
  764. end
  765. end
  766. end
  767.  
  768.  
  769. so = function(id,par,vol,pit)
  770. coroutine.resume(coroutine.create(function()
  771. local sou = Instance.new("Sound",par or workspace)
  772. sou.Volume=vol
  773. sou.Pitch=pit or 1
  774. sou.SoundId=id
  775. swait()
  776. sou:play()
  777. game:GetService("Debris"):AddItem(sou,6)
  778. end))
  779. end
  780.  
  781. function clerp(a,b,t)
  782. local qa = {QuaternionFromCFrame(a)}
  783. local qb = {QuaternionFromCFrame(b)}
  784. local ax, ay, az = a.x, a.y, a.z
  785. local bx, by, bz = b.x, b.y, b.z
  786. local _t = 1-t
  787. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  788. end
  789.  
  790. function QuaternionFromCFrame(cf)
  791. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  792. local trace = m00 + m11 + m22
  793. if trace > 0 then
  794. local s = math.sqrt(1 + trace)
  795. local recip = 0.5/s
  796. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  797. else
  798. local i = 0
  799. if m11 > m00 then
  800. i = 1
  801. end
  802. if m22 > (i == 0 and m00 or m11) then
  803. i = 2
  804. end
  805. if i == 0 then
  806. local s = math.sqrt(m00-m11-m22+1)
  807. local recip = 0.5/s
  808. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  809. elseif i == 1 then
  810. local s = math.sqrt(m11-m22-m00+1)
  811. local recip = 0.5/s
  812. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  813. elseif i == 2 then
  814. local s = math.sqrt(m22-m00-m11+1)
  815. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  816. end
  817. end
  818. end
  819.  
  820. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  821. local xs, ys, zs = x + x, y + y, z + z
  822. local wx, wy, wz = w*xs, w*ys, w*zs
  823. local xx = x*xs
  824. local xy = x*ys
  825. local xz = x*zs
  826. local yy = y*ys
  827. local yz = y*zs
  828. local zz = z*zs
  829. 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))
  830. end
  831.  
  832. function QuaternionSlerp(a, b, t)
  833. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  834. local startInterp, finishInterp;
  835. if cosTheta >= 0.0001 then
  836. if (1 - cosTheta) > 0.0001 then
  837. local theta = math.acos(cosTheta)
  838. local invSinTheta = 1/math.sin(theta)
  839. startInterp = math.sin((1-t)*theta)*invSinTheta
  840. finishInterp = math.sin(t*theta)*invSinTheta
  841. else
  842. startInterp = 1-t
  843. finishInterp = t
  844. end
  845. else
  846. if (1+cosTheta) > 0.0001 then
  847. local theta = math.acos(-cosTheta)
  848. local invSinTheta = 1/math.sin(theta)
  849. startInterp = math.sin((t-1)*theta)*invSinTheta
  850. finishInterp = math.sin(t*theta)*invSinTheta
  851. else
  852. startInterp = t-1
  853. finishInterp = t
  854. end
  855. end
  856. 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
  857. end
  858.  
  859. local function CFrameFromTopBack(at, top, back)
  860. local right = top:Cross(back)
  861. return CFrame.new(at.x, at.y, at.z,
  862. right.x, top.x, back.x,
  863. right.y, top.y, back.y,
  864. right.z, top.z, back.z)
  865. end
  866.  
  867. function Triangle(a, b, c)
  868. local edg1 = (c-a):Dot((b-a).unit)
  869. local edg2 = (a-b):Dot((c-b).unit)
  870. local edg3 = (b-c):Dot((a-c).unit)
  871. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  872. a, b, c = a, b, c
  873. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  874. a, b, c = b, c, a
  875. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  876. a, b, c = c, a, b
  877. else
  878. assert(false, "unreachable")
  879. end
  880.  
  881. local len1 = (c-a):Dot((b-a).unit)
  882. local len2 = (b-a).magnitude - len1
  883. local width = (a + (b-a).unit*len1 - c).magnitude
  884.  
  885. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  886.  
  887. local list = {}
  888.  
  889. if len1 > 0.01 then
  890. local w1 = Instance.new('WedgePart', m)
  891. game:GetService("Debris"):AddItem(w1,5)
  892. w1.Material = "SmoothPlastic"
  893. w1.FormFactor = 'Custom'
  894. w1.BrickColor = BrickColor.new("Really red")
  895. w1.Transparency = 0
  896. w1.Reflectance = 0
  897. w1.Material = "SmoothPlastic"
  898. w1.CanCollide = false
  899. local l1 = Instance.new("PointLight",w1)
  900. l1.Color = Color3.new(170,0,0)
  901. NoOutline(w1)
  902. local sz = Vector3.new(0.2, width, len1)
  903. w1.Size = sz
  904. local sp = Instance.new("SpecialMesh",w1)
  905. sp.MeshType = "Wedge"
  906. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  907. w1:BreakJoints()
  908. w1.Anchored = true
  909. w1.Parent = workspace
  910. w1.Transparency = 0.7
  911. table.insert(Effects,{w1,"Disappear",.01})
  912. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  913. table.insert(list,w1)
  914. end
  915.  
  916. if len2 > 0.01 then
  917. local w2 = Instance.new('WedgePart', m)
  918. game:GetService("Debris"):AddItem(w2,5)
  919. w2.Material = "SmoothPlastic"
  920. w2.FormFactor = 'Custom'
  921. w2.BrickColor = BrickColor.new("Really red")
  922. w2.Transparency = 0
  923. w2.Reflectance = 0
  924. w2.Material = "SmoothPlastic"
  925. w2.CanCollide = false
  926. local l2 = Instance.new("PointLight",w2)
  927. l2.Color = Color3.new(170,0,0)
  928. NoOutline(w2)
  929. local sz = Vector3.new(0.2, width, len2)
  930. w2.Size = sz
  931. local sp = Instance.new("SpecialMesh",w2)
  932. sp.MeshType = "Wedge"
  933. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  934. w2:BreakJoints()
  935. w2.Anchored = true
  936. w2.Parent = workspace
  937. w2.Transparency = 0.7
  938. table.insert(Effects,{w2,"Disappear",.01})
  939. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  940. table.insert(list,w2)
  941. end
  942. return unpack(list)
  943. end
  944.  
  945.  
  946. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  947. if hit.Parent == nil then
  948. return
  949. end
  950. local h = hit.Parent:FindFirstChild("Humanoid")
  951. for _, v in pairs(hit.Parent:children()) do
  952. if v:IsA("Humanoid") then
  953. h = v
  954. end
  955. end
  956. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  957. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  958. return
  959. end
  960. local c = Create("ObjectValue")({
  961. Name = "creator",
  962. Value = game:service("Players").LocalPlayer,
  963. Parent = h
  964. })
  965. game:GetService("Debris"):AddItem(c, 0.5)
  966. if HitSound ~= nil and HitPitch ~= nil then
  967. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  968. end
  969. local Damage = math.random(minim, maxim)
  970. local blocked = false
  971. local block = hit.Parent:findFirstChild("Block")
  972. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  973. blocked = true
  974. block.Value = block.Value - 1
  975. print(block.Value)
  976. end
  977. if blocked == false then
  978. HitHealth = h.Health
  979. h.Health = h.Health - Damage
  980. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  981. print("gained kill")
  982. end
  983. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  984. else
  985. h.Health = h.Health - Damage / 2
  986. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  987. end
  988. if Type == "Knockdown" then
  989. local hum = hit.Parent.Humanoid
  990. hum.PlatformStand = true
  991. coroutine.resume(coroutine.create(function(HHumanoid)
  992. swait(1)
  993. HHumanoid.PlatformStand = false
  994. end), hum)
  995. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  996. local bodvol = Create("BodyVelocity")({
  997. velocity = angle * knockback,
  998. P = 5000,
  999. maxForce = Vector3.new(8000, 8000, 8000),
  1000. Parent = hit
  1001. })
  1002. local rl = Create("BodyAngularVelocity")({
  1003. P = 3000,
  1004. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1005. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1006. Parent = hit
  1007. })
  1008. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1009. game:GetService("Debris"):AddItem(rl, 0.5)
  1010. elseif Type == "Normal" then
  1011. local vp = Create("BodyVelocity")({
  1012. P = 500,
  1013. maxForce = Vector3.new(math.huge, 0, math.huge),
  1014. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1015. })
  1016. if knockback > 0 then
  1017. vp.Parent = hit.Parent.Torso
  1018. end
  1019. game:GetService("Debris"):AddItem(vp, 0.5)
  1020. elseif Type == "Up" then
  1021. local bodyVelocity = Create("BodyVelocity")({
  1022. velocity = Vector3.new(0, 20, 0),
  1023. P = 5000,
  1024. maxForce = Vector3.new(8000, 8000, 8000),
  1025. Parent = hit
  1026. })
  1027. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1028. local bodyVelocity = Create("BodyVelocity")({
  1029. velocity = Vector3.new(0, 20, 0),
  1030. P = 5000,
  1031. maxForce = Vector3.new(8000, 8000, 8000),
  1032. Parent = hit
  1033. })
  1034. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1035. elseif Type == "Leech" then
  1036. local hum = hit.Parent.Humanoid
  1037. if hum ~= nil then
  1038. for i = 0, 2 do
  1039. 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)
  1040. end
  1041. Humanoid.Health = Humanoid.Health + 10
  1042. end
  1043. elseif Type == "UpKnock" then
  1044. local hum = hit.Parent.Humanoid
  1045. hum.PlatformStand = true
  1046. if hum ~= nil then
  1047. hitr = true
  1048. end
  1049. coroutine.resume(coroutine.create(function(HHumanoid)
  1050. swait(5)
  1051. HHumanoid.PlatformStand = false
  1052. hitr = false
  1053. end), hum)
  1054. local bodyVelocity = Create("BodyVelocity")({
  1055. velocity = Vector3.new(0, 20, 0),
  1056. P = 5000,
  1057. maxForce = Vector3.new(8000, 8000, 8000),
  1058. Parent = hit
  1059. })
  1060. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1061. local bodyVelocity = Create("BodyVelocity")({
  1062. velocity = Vector3.new(0, 20, 0),
  1063. P = 5000,
  1064. maxForce = Vector3.new(8000, 8000, 8000),
  1065. Parent = hit
  1066. })
  1067. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1068. elseif Type == "Snare" then
  1069. local bp = Create("BodyPosition")({
  1070. P = 2000,
  1071. D = 100,
  1072. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1073. position = hit.Parent.Torso.Position,
  1074. Parent = hit.Parent.Torso
  1075. })
  1076. game:GetService("Debris"):AddItem(bp, 1)
  1077. elseif Type == "Slashnare" then
  1078. 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)
  1079. for i = 1, math.random(4, 5) do
  1080. 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)
  1081. end
  1082. local bp = Create("BodyPosition")({
  1083. P = 2000,
  1084. D = 100,
  1085. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1086. position = hit.Parent.Torso.Position,
  1087. Parent = hit.Parent.Torso
  1088. })
  1089. game:GetService("Debris"):AddItem(bp, 1)
  1090. elseif Type == "Spike" then
  1091. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1092. local bp = Create("BodyPosition")({
  1093. P = 2000,
  1094. D = 100,
  1095. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1096. position = hit.Parent.Torso.Position,
  1097. Parent = hit.Parent.Torso
  1098. })
  1099. game:GetService("Debris"):AddItem(bp, 1)
  1100. elseif Type == "Freeze" then
  1101. local BodPos = Create("BodyPosition")({
  1102. P = 50000,
  1103. D = 1000,
  1104. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1105. position = hit.Parent.Torso.Position,
  1106. Parent = hit.Parent.Torso
  1107. })
  1108. local BodGy = Create("BodyGyro")({
  1109. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1110. P = 20000,
  1111. Parent = hit.Parent.Torso,
  1112. cframe = hit.Parent.Torso.CFrame
  1113. })
  1114. hit.Parent.Torso.Anchored = true
  1115. coroutine.resume(coroutine.create(function(Part)
  1116. swait(1.5)
  1117. Part.Anchored = false
  1118. end), hit.Parent.Torso)
  1119. game:GetService("Debris"):AddItem(BodPos, 3)
  1120. game:GetService("Debris"):AddItem(BodGy, 3)
  1121. end
  1122. local debounce = Create("BoolValue")({
  1123. Name = "DebounceHit",
  1124. Parent = hit.Parent,
  1125. Value = true
  1126. })
  1127. game:GetService("Debris"):AddItem(debounce, Delay)
  1128. c = Instance.new("ObjectValue")
  1129. c.Name = "creator"
  1130. c.Value = Player
  1131. c.Parent = h
  1132. game:GetService("Debris"):AddItem(c, 0.5)
  1133. end
  1134. end
  1135. function ShowDamage(Pos, Text, Time, Color)
  1136. local Rate = 0.03333333333333333
  1137. local Pos = Pos or Vector3.new(0, 0, 0)
  1138. local Text = Text or ""
  1139. local Time = Time or 2
  1140. local Color = Color or Color3.new(1, 0, 1)
  1141. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1142. EffectPart.Anchored = true
  1143. local BillboardGui = Create("BillboardGui")({
  1144. Size = UDim2.new(3, 0, 3, 0),
  1145. Adornee = EffectPart,
  1146. Parent = EffectPart
  1147. })
  1148. local TextLabel = Create("TextLabel")({
  1149. BackgroundTransparency = 1,
  1150. Size = UDim2.new(1, 0, 1, 0),
  1151. Text = Text,
  1152. TextColor3 = Color,
  1153. TextScaled = true,
  1154. Font = Enum.Font.ArialBold,
  1155. Parent = BillboardGui
  1156. })
  1157. game.Debris:AddItem(EffectPart, Time + 0.1)
  1158. EffectPart.Parent = game:GetService("Workspace")
  1159. delay(0, function()
  1160. local Frames = Time / Rate
  1161. for Frame = 1, Frames do
  1162. wait(Rate)
  1163. local Percent = Frame / Frames
  1164. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1165. TextLabel.TextTransparency = Percent
  1166. end
  1167. if EffectPart and EffectPart.Parent then
  1168. EffectPart:Destroy()
  1169. end
  1170. end)
  1171. end
  1172. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1173. for _, c in pairs(workspace:children()) do
  1174. local hum = c:findFirstChild("Humanoid")
  1175. if hum ~= nil then
  1176. local head = c:findFirstChild("Torso")
  1177. if head ~= nil then
  1178. local targ = head.Position - Part.Position
  1179. local mag = targ.magnitude
  1180. if magni >= mag and c.Name ~= Player.Name then
  1181. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1182. end
  1183. end
  1184. end
  1185. end
  1186. end
  1187.  
  1188. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1189. for _, c in pairs(workspace:children()) do
  1190. local hum = c:findFirstChild("Humanoid")
  1191. if hum ~= nil then
  1192. local head = c:findFirstChild("Torso")
  1193. if head ~= nil then
  1194. local targ = head.Position - Part.Position
  1195. local mag = targ.magnitude
  1196. if magni >= mag and c.Name ~= Player.Name then
  1197. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  1198. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1199. end
  1200. end
  1201. end
  1202. end
  1203. end
  1204.  
  1205. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1206. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1207. end
  1208.  
  1209. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1210. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1211. prt.Anchored=true
  1212. prt.CFrame=cframe
  1213. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1214. --http://www.roblox.com/asset/?id=4770560
  1215. game:GetService("Debris"):AddItem(prt,2)
  1216. CF=prt.CFrame
  1217. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1218. for i=0,1,0.2 do
  1219. wait()
  1220. Part.CFrame=CF*cf(0,0,-0.4)
  1221. end
  1222. for i=0,1,delay do
  1223. wait()
  1224. --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)
  1225. Mesh.Scale=Mesh.Scale
  1226. end
  1227. for i=0,1,0.1 do
  1228. wait()
  1229. Part.Transparency=i
  1230. end
  1231. Part.Parent=nil
  1232. end),prt,msh,CF)
  1233. end
  1234.  
  1235. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1236. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1237. prt.Anchored=true
  1238. prt.Material = "Neon"
  1239. prt.CFrame=cframe
  1240. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1241. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1242. game:GetService("Debris"):AddItem(prt,5)
  1243. coroutine.resume(coroutine.create(function(Part,Mesh)
  1244. for i=0,1,delay do
  1245. swait()
  1246. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1247. Part.Transparency=i
  1248. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1249. end
  1250. Part.Parent=nil
  1251. end),prt,msh)
  1252. end
  1253.  
  1254. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1255. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1256. prt.Anchored=true
  1257. prt.Material = "Neon"
  1258. prt.CFrame=cframe
  1259. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1260. game:GetService("Debris"):AddItem(prt,5)
  1261. coroutine.resume(coroutine.create(function(Part,Mesh)
  1262. local rtype = rottype
  1263. for i=0,1,delay do
  1264. swait()
  1265. if rtype == 1 then
  1266. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1267. elseif rtype == 2 then
  1268. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1269. end
  1270. Part.Transparency=i
  1271. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1272. end
  1273. Part.Parent=nil
  1274. end),prt,msh)
  1275. end
  1276.  
  1277. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1278. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1279. prt.Anchored=true
  1280. prt.CFrame=cframe
  1281. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1282. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1283. game:GetService("Debris"):AddItem(prt,5)
  1284. coroutine.resume(coroutine.create(function(Part,Mesh)
  1285. for i=0,1,delay do
  1286. wait()
  1287. Part.Transparency=i
  1288. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1289. end
  1290. Part.Parent=nil
  1291. end),prt,msh)
  1292. end
  1293.  
  1294. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1295. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1296. prt.Anchored=true
  1297. prt.Material = "Neon"
  1298. prt.CFrame=cframe
  1299. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1300. game:GetService("Debris"):AddItem(prt,5)
  1301. coroutine.resume(coroutine.create(function(Part,Mesh)
  1302. local rtype = rottype
  1303. for i=0,1,delay do
  1304. swait()
  1305. if rtype == 1 then
  1306. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1307. elseif rtype == 2 then
  1308. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1309. end
  1310. Part.Transparency=i
  1311. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1312. end
  1313. Part.Parent=nil
  1314. end),prt,msh)
  1315. end
  1316.  
  1317. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1318. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1319. prt.Anchored=true
  1320. prt.Material = "Neon"
  1321. prt.CFrame=cframe
  1322. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1323. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1324. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1325. game:GetService("Debris"):AddItem(prt,5)
  1326. coroutine.resume(coroutine.create(function(Part,Mesh)
  1327. local rtype = rottype
  1328. for i=0,1,delay do
  1329. swait()
  1330. if rtype == 1 then
  1331. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1332. elseif rtype == 2 then
  1333. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1334. end
  1335. dec.Transparency=i
  1336. dec2.Transparency=i
  1337. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1338. end
  1339. Part.Parent=nil
  1340. end),prt,msh)
  1341. end
  1342.  
  1343. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1344. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1345. prt.Anchored=true
  1346. prt.Material = "Neon"
  1347. prt.CFrame=cframe
  1348. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1349. game:GetService("Debris"):AddItem(prt,5)
  1350. coroutine.resume(coroutine.create(function(Part,Mesh)
  1351. local rtype = rottype
  1352. for i=0,1,delay do
  1353. swait()
  1354. if rtype == 1 then
  1355. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1356. elseif rtype == 2 then
  1357. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1358. end
  1359. prt.Transparency=i
  1360. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1361. end
  1362. Part.Parent=nil
  1363. end),prt,msh)
  1364. end
  1365.  
  1366. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1367. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1368. prt.Anchored=true
  1369. prt.Material = "Neon"
  1370. prt.CFrame=cframe
  1371. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1372. game:GetService("Debris"):AddItem(prt,5)
  1373. coroutine.resume(coroutine.create(function(Part,Mesh)
  1374. local rtype = rottype
  1375. for i=0,1,delay do
  1376. swait()
  1377. if rtype == 1 then
  1378. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1379. elseif rtype == 2 then
  1380. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1381. end
  1382. prt.Transparency=i
  1383. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1384. end
  1385. Part.Parent=nil
  1386. end),prt,msh)
  1387. end
  1388.  
  1389. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1390. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1391. prt.Anchored=true
  1392. prt.Material = "Neon"
  1393. prt.CFrame=cframe
  1394. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1395. game:GetService("Debris"):AddItem(prt,5)
  1396. coroutine.resume(coroutine.create(function(Part,Mesh)
  1397. local rtype = rottype
  1398. for i=0,1,delay do
  1399. swait()
  1400. if rtype == 1 then
  1401. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1402. elseif rtype == 2 then
  1403. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1404. end
  1405. prt.Transparency=i
  1406. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1407. end
  1408. Part.Parent=nil
  1409. end),prt,msh)
  1410. end
  1411.  
  1412. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1413. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1414. prt.Anchored=true
  1415. prt.Material = "Neon"
  1416. prt.CFrame=cframe
  1417. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1418. game:GetService("Debris"):AddItem(prt,5)
  1419. coroutine.resume(coroutine.create(function(Part,Mesh)
  1420. local rtype = rottype
  1421. for i=0,1,delay do
  1422. swait()
  1423. if rtype == 1 then
  1424. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1425. elseif rtype == 2 then
  1426. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1427. end
  1428. prt.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 MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1436. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1437. prt.Anchored=false
  1438. prt.CFrame=cframe
  1439. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1440. local wld=weld(prt,prt,Parent,cframe)
  1441. game:GetService("Debris"):AddItem(prt,5)
  1442. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1443. for i=0,1,delay do
  1444. wait()
  1445. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1446. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1447. Part.Transparency=i
  1448. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1449. end
  1450. Part.Parent=nil
  1451. end),prt,msh,wld)
  1452. end
  1453.  
  1454. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1455. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1456. prt.Anchored=false
  1457. prt.CFrame=cframe
  1458. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1459. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1460. game:GetService("Debris"):AddItem(prt,5)
  1461. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1462. for i=0,1,delay do
  1463. wait()
  1464. Weld.C0=euler(i*20,0,0)
  1465. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1466. Part.Transparency=i
  1467. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1468. end
  1469. Part.Parent=nil
  1470. end),prt,msh,wld)
  1471. end
  1472.  
  1473. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1474. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1475. prt.Anchored=true
  1476. prt.CFrame=cframe
  1477. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1478. game:GetService("Debris"):AddItem(prt,2)
  1479. coroutine.resume(coroutine.create(function(Part,Mesh)
  1480. for i=0,1,delay do
  1481. wait()
  1482. Part.CFrame=Part.CFrame
  1483. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1484. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1485. prt2.Anchored=true
  1486. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1487. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1488. game:GetService("Debris"):AddItem(prt2,2)
  1489. coroutine.resume(coroutine.create(function(Part,Mesh)
  1490. for i=0,1,0.1 do
  1491. wait()
  1492. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1493. end
  1494. Part.Parent=nil
  1495. end),prt2,msh2)
  1496. end
  1497. for i=0,1,delay*2 do
  1498. wait()
  1499. Part.CFrame=Part.CFrame
  1500. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1501. end
  1502. Part.Parent=nil
  1503. end),prt,msh)
  1504. end
  1505.  
  1506. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1507. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1508. prt.Anchored=true
  1509. prt.CFrame=cframe
  1510. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1511. game:GetService("Debris"):AddItem(prt,2)
  1512. coroutine.resume(coroutine.create(function(Part,Mesh)
  1513. for i=0,1,delay do
  1514. wait()
  1515. Part.CFrame=Part.CFrame
  1516. Part.Transparency=i
  1517. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1518. end
  1519. Part.Parent=nil
  1520. end),prt,msh)
  1521. end
  1522.  
  1523. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1524. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1525. prt.Anchored=true
  1526. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1527. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1528. game:GetService("Debris"):AddItem(prt,2)
  1529. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1530. CF=Part.CFrame
  1531. Numbb=0
  1532. randnumb=math.random()/10
  1533. rand1=math.random()/10
  1534. for i=0,1,rand1 do
  1535. wait()
  1536. CF=CF*cf(0,math.random()/2,0)
  1537. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1538. Part.CFrame=CF*euler(Numbb,0,0)
  1539. Part.Transparency=i
  1540. Numbb=Numbb+randnumb
  1541. end
  1542. Part.Parent=nil
  1543. end),prt,CF,Numbb,randnumb)
  1544. end
  1545.  
  1546. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1547. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1548. prt.Anchored=true
  1549. prt.CFrame=cframe
  1550. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1551. game:GetService("Debris"):AddItem(prt,5)
  1552. coroutine.resume(coroutine.create(function(Part,Mesh)
  1553. for i=0,1,delay do
  1554. wait()
  1555. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1556. Part.Transparency=i
  1557. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1558. end
  1559. Part.Parent=nil
  1560. end),prt,msh)
  1561. end
  1562.  
  1563. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1564. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1565. prt.Anchored=true
  1566. prt.CFrame=cframe
  1567. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1568. game:GetService("Debris"):AddItem(prt,2)
  1569. coroutine.resume(coroutine.create(function(Part,Mesh)
  1570. for i=0,1,delay do
  1571. wait()
  1572. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1573. Part.Transparency=i
  1574. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1575. end
  1576. Part.Parent=nil
  1577. end),prt,msh)
  1578. end
  1579.  
  1580. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1581. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1582. prt.Anchored=true
  1583. prt.CFrame=cframe*cf(x,y,z)
  1584. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1585. game:GetService("Debris"):AddItem(prt,5)
  1586. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1587. local num=math.random()
  1588. local num2=math.random(-3,2)+math.random()
  1589. local numm=0
  1590. for i=0,1,delay*2 do
  1591. swait()
  1592. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1593. Part.Transparency=i
  1594. numm=numm+0.01
  1595. end
  1596. Part.Parent=nil
  1597. Mesh.Parent=nil
  1598. end),prt,msh,x,y,z)
  1599. end
  1600.  
  1601. function dmgstart(dmg,what)
  1602. hitcon = what.Touched:connect(function(hit)
  1603. local hum = hit.Parent:FindFirstChild("Humanoid")
  1604. if hum and not hum:IsDescendantOf(Character) then
  1605. hum:TakeDamage(dmg)
  1606. end
  1607. end)
  1608. end
  1609.  
  1610. function dmgstop()
  1611. hitcon:disconnect()
  1612. end
  1613.  
  1614. function Cloak()
  1615. Face.Parent=nil
  1616. cloaked=true
  1617. for _,v in pairs(Torso.Parent:children()) do
  1618. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1619. coroutine.resume(coroutine.create(function()
  1620. for i=0,1,0.2 do
  1621. wait()
  1622. v.Transparency=i
  1623. end
  1624. v.Transparency=1
  1625. end))
  1626. end
  1627. if v.className=="Hat" then
  1628. hatp=v.Handle
  1629. coroutine.resume(coroutine.create(function(derp)
  1630. for i=0,1,0.2 do
  1631. wait()
  1632. derp.Transparency=i
  1633. end
  1634. derp.Transparency=1
  1635. end),hatp)
  1636. end
  1637. end
  1638. for _,v in pairs(m:children()) do
  1639. if v.className=="Part" then
  1640. coroutine.resume(coroutine.create(function()
  1641. for i=0,1,0.2 do
  1642. wait()
  1643. v.Transparency=i
  1644. end
  1645. v.Transparency=1
  1646. end))
  1647. end
  1648. end
  1649. end
  1650.  
  1651. function UnCloak()
  1652. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1653. Face.Parent=Head
  1654. cloaked=false
  1655. for _,v in pairs(Torso.Parent:children()) do
  1656. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1657. coroutine.resume(coroutine.create(function()
  1658. for i=0,1,0.1 do
  1659. wait()
  1660. v.Transparency=v.Transparency-0.1
  1661. end
  1662. v.Transparency=0
  1663. end))
  1664. end
  1665. if v.className=="Hat" then
  1666. hatp=v.Handle
  1667. coroutine.resume(coroutine.create(function(derp)
  1668. for i=0,1,0.1 do
  1669. wait()
  1670. derp.Transparency=derp.Transparency-0.1
  1671. end
  1672. derp.Transparency=0
  1673. end),hatp)
  1674. end
  1675. end
  1676. for _,v in pairs(m:children()) do
  1677. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1678. coroutine.resume(coroutine.create(function()
  1679. for i=0,1,0.1 do
  1680. wait()
  1681. v.Transparency=v.Transparency-0.1
  1682. end
  1683. v.Transparency=0
  1684. end))
  1685. v.Transparency=0
  1686. end
  1687. end
  1688. end
  1689.  
  1690. local origcolor = BrickColor.new("Dark indigo")
  1691. ---- This section of explosions.
  1692. function Explode(rad,par,pitch,vol,mindam,maxdam)
  1693. local expart = Instance.new("Part",char)
  1694. local expart2 = Instance.new("Part",char)
  1695. local rin = Instance.new("Part",char)
  1696. local rin2 = Instance.new("Part",char)
  1697. local partMesh = Instance.new("SpecialMesh",expart)
  1698. partMesh.MeshType = "Sphere"
  1699. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1700. partMesh2.MeshType = "Sphere"
  1701. local partMesh3 = Instance.new("SpecialMesh",rin)
  1702. partMesh3.MeshType = "Brick"
  1703. local partMesh4 = Instance.new("SpecialMesh",rin2)
  1704. partMesh4.MeshType = "Brick"
  1705. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  1706. partMesh.Scale = vt(rad,rad,rad)
  1707. expart.Size = vt(1,1,1)
  1708. expart.Transparency = 1
  1709. expart.Anchored = true
  1710. expart.Material = "Neon"
  1711. expart.BrickColor = bc("White")
  1712. expart.CFrame = par.CFrame
  1713. partMesh2.Scale = vt(rad,rad,rad)
  1714. expart2.Size = vt(1.15,1.15,1.15)
  1715. expart2.Transparency = 0.75
  1716. expart2.Anchored = true
  1717. expart2.Material = "Glass"
  1718. expart2.BrickColor = par.BrickColor
  1719. expart2.CFrame = par.CFrame
  1720. rin.Size = vt(1.15,1.15,1.15)
  1721. rin.Transparency = 1
  1722. rin.Anchored = true
  1723. rin.Material = "Neon"
  1724. rin.BrickColor = par.BrickColor
  1725. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1726. rin2.Size = vt(1.15,1.15,1.15)
  1727. rin2.Transparency = 1
  1728. rin2.Anchored = true
  1729. rin2.Material = "Neon"
  1730. rin2.BrickColor = par.BrickColor
  1731. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1732. partMesh3.Scale = vt(0,1,0)
  1733. partMesh4.Scale = vt(0,1,0)
  1734. local dec2 = Instance.new("Decal", rin)
  1735. dec2.Face = "Top"
  1736. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1737. dec2.Parent = rin
  1738. local dec2b = dec2:Clone()
  1739. dec2b.Face = "Bottom"
  1740. dec2b.Parent = rin
  1741.  
  1742. local dec2a = Instance.new("Decal", rin2)
  1743. dec2a.Face = "Top"
  1744. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  1745. dec2a.Parent = rin2
  1746. local dec2ab = dec2a:Clone()
  1747. dec2ab.Face = "Bottom"
  1748. dec2ab.Parent = rin2
  1749. expart.CanCollide = false
  1750. expart2.CanCollide = false
  1751. rin.CanCollide = false
  1752. rin2.CanCollide = false
  1753. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  1754. local value = 1*rad/6.5
  1755. for i = 0, 199 do
  1756. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1757. expart.CFrame = expart.CFrame
  1758. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1759. expart2.CFrame = expart.CFrame
  1760. value = value - 0.035*rad/30
  1761. if value < 7.5 then
  1762. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  1763. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  1764. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  1765. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  1766. end
  1767. if value < 0 then
  1768. dec2.Transparency = dec2.Transparency + 0.025
  1769. dec2a.Transparency = dec2a.Transparency + 0.025
  1770. dec2b.Transparency = dec2b.Transparency + 0.025
  1771. dec2ab.Transparency = dec2ab.Transparency + 0.025
  1772. expart.Transparency = expart.Transparency + 0.025
  1773. expart2.Transparency = expart2.Transparency + 0.025
  1774. rin.Transparency = rin.Transparency + 0.025
  1775. rin2.Transparency = rin2.Transparency + 0.025
  1776. end
  1777. swait()
  1778. end
  1779. game:GetService("Debris"):AddItem(expart, 1)
  1780. game:GetService("Debris"):AddItem(expart2, 1)
  1781. game:GetService("Debris"):AddItem(rin, 1)
  1782. game:GetService("Debris"):AddItem(rin2, 1)
  1783. end
  1784.  
  1785. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  1786. local expart = Instance.new("Part",char)
  1787. local expart2 = Instance.new("Part",char)
  1788. local partMesh = Instance.new("SpecialMesh",expart)
  1789. partMesh.MeshType = "Sphere"
  1790. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1791. partMesh2.MeshType = "Sphere"
  1792. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  1793. partMesh.Scale = vt(rad,rad,rad)
  1794. expart.Size = vt(1,1,1)
  1795. expart.Transparency = 0
  1796. expart.Anchored = true
  1797. expart.Material = "Neon"
  1798. expart.BrickColor = bc("White")
  1799. expart.CFrame = par.CFrame
  1800. partMesh2.Scale = vt(rad,rad,rad)
  1801. expart2.Size = vt(1.15,1.15,1.15)
  1802. expart2.Transparency = 0.5
  1803. expart2.Anchored = true
  1804. expart2.Material = "Neon"
  1805. expart2.BrickColor = par.BrickColor
  1806. expart2.CFrame = par.CFrame
  1807. expart.CanCollide = false
  1808. expart2.CanCollide = false
  1809. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  1810. local value = 1*rad/6.5
  1811. for i = 0, 75 do
  1812. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1813. expart.CFrame = expart.CFrame
  1814. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1815. expart2.CFrame = expart.CFrame
  1816. value = value - 0.035*rad/5
  1817. if value < 0 then
  1818. value = 0
  1819. expart.Transparency = expart.Transparency + 0.05
  1820. expart2.Transparency = expart2.Transparency + 0.05
  1821. end
  1822. swait()
  1823. end
  1824. game:GetService("Debris"):AddItem(expart, 1)
  1825. game:GetService("Debris"):AddItem(expart2, 1)
  1826. end
  1827.  
  1828. function AreaDanger(rad,par,mindam,maxdam)
  1829. local expart = Instance.new("Part",char)
  1830. local partMesh = Instance.new("SpecialMesh",expart)
  1831. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1832. partMesh.MeshType = "Sphere"
  1833. partMesh.Scale = vt(rad,rad,rad)
  1834. expart.Size = vt(1,1,1)
  1835. expart.Transparency = 0.5
  1836. expart.Anchored = true
  1837. expart.Material = "Neon"
  1838. expart.CanCollide = false
  1839. expart.BrickColor = par.BrickColor
  1840. expart.CFrame = par.CFrame
  1841. local value = 1*rad/5
  1842. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  1843. for i = 0, 14 do
  1844. wait()
  1845. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1846. expart.CFrame = expart.CFrame
  1847. value = value - 0.035*rad
  1848. if value < 0 then
  1849. value = 0
  1850. end
  1851. end
  1852. wait(0.25)
  1853. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  1854. wait(0.5)
  1855. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  1856. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  1857. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  1858. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  1859. for i = 0, 14 do
  1860. wait()
  1861. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1862. expart.CFrame = expart.CFrame
  1863. value = value - 0.035*rad/2
  1864. end
  1865. expart.Transparency = 1
  1866. game:GetService("Debris"):AddItem(expart, 5)
  1867. end
  1868.  
  1869. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  1870. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  1871. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  1872. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  1873. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1874. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  1875. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  1876. for i = 0, 24 do
  1877. 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))
  1878. end
  1879. for i = 0, 24 do
  1880. local expart = Instance.new("Part",char)
  1881. expart.Transparency = 1
  1882. expart.Anchored = true
  1883. expart.CanCollide = false
  1884. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  1885. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  1886. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1887. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  1888. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  1889. for i = 0, 9 do
  1890. 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))
  1891. end
  1892. game:GetService("Debris"):AddItem(expart, 2)
  1893. wait(0.1)
  1894. end
  1895. end
  1896.  
  1897. function EXterPlosion(par)
  1898. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  1899. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  1900. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  1901. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1902. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  1903. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  1904. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  1905. for i = 0, 24 do
  1906. 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))
  1907. end
  1908. for i = 0, 24 do
  1909. 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))
  1910. end
  1911. end
  1912. ----
  1913.  
  1914. local stackingpower = 1
  1915.  
  1916. function HellsCore()
  1917. attack = true
  1918. --[[for i = 0,1,0.1 do
  1919. swait()
  1920. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  1921. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1922. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1923. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1924. end]]--
  1925.  
  1926. local rng = Instance.new("Part", char)
  1927. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  1928. rng.Anchored = true
  1929. rng.BrickColor = origcolor
  1930. rng.CanCollide = false
  1931. rng.FormFactor = 3
  1932. rng.Name = "Ring"
  1933. rng.Material = "Neon"
  1934. rng.Size = Vector3.new(1, 1, 1)
  1935. rng.Transparency = 1
  1936. rng.TopSurface = 0
  1937. rng.BottomSurface = 0
  1938. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  1939. local rngm = Instance.new("SpecialMesh", rng)
  1940. rngm.MeshType = "Brick"
  1941. local dec = Instance.new("Decal",rng)
  1942. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  1943. dec.Face = "Top"
  1944. local dec2 = dec:Clone()
  1945. dec2.Parent = rng
  1946. dec2.Face = "Bottom"
  1947.  
  1948. local scaler2 = 1
  1949. scaler2 = 1*3
  1950. for i = 0,10,0.1 do
  1951. swait()
  1952. scaler2 = scaler2 - 0.01*3
  1953. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1954. end
  1955. wait(3)
  1956. for i = 0,10,0.1 do
  1957. swait()
  1958. scaler2 = scaler2 - 0.01*3
  1959. dec.Transparency = dec.Transparency + 0.01
  1960. dec2.Transparency = dec2.Transparency + 0.01
  1961. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1962. end
  1963. rng:Destroy()
  1964. attack = false
  1965. end
  1966.  
  1967.  
  1968. function FaceMouse()
  1969. Cam = workspace.CurrentCamera
  1970. return {
  1971. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1972. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1973. }
  1974. end
  1975.  
  1976. function FaceMouse2()
  1977. Cam = workspace.CurrentCamera
  1978. return {
  1979. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  1980. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1981. }
  1982. end
  1983.  
  1984.  
  1985. local HoldingZ = false
  1986. local HoldingX = false
  1987. local HoldingC = false
  1988. local HoldingV = false
  1989. local HoldingB = false
  1990.  
  1991.  
  1992. function RingEffect(pos,startsize,size,col)
  1993. local lb = Instance.new("Part")
  1994. lb.Parent = char
  1995. lb.BrickColor = col
  1996. lb.CanCollide = false
  1997. lb.Material = "Neon"
  1998. lb.Anchored = true
  1999. lb.TopSurface = 0
  2000. lb.BottomSurface = 0
  2001. lb.Transparency = 1
  2002. lb.Size = vt(1,1,1)
  2003. lb.CFrame = pos
  2004. local thingery = Instance.new("SpecialMesh",lb)
  2005. thingery.MeshType = "Brick"
  2006. thingery.Scale = vt(startsize,0.1,startsize)
  2007. local dec2 = Instance.new("Texture", lb)
  2008. dec2.Face = "Top"
  2009. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2010. dec2.Color3 = lb.Color
  2011. dec2.Parent = lb
  2012. dec2.StudsPerTileU = startsize
  2013. dec2.StudsPerTileV = startsize
  2014. local dec2b = dec2:Clone()
  2015. dec2b.Face = "Bottom"
  2016. dec2b.Parent = lb
  2017. local randomrot = math.random(1,2)
  2018. coroutine.resume(coroutine.create(function()
  2019. for i = 0, 19 do
  2020. swait()
  2021. if randomrot == 1 then
  2022. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  2023. elseif randomrot == 2 then
  2024. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  2025. end
  2026. dec2.Transparency = dec2.Transparency + 0.05
  2027. dec2b.Transparency = dec2b.Transparency + 0.05
  2028. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  2029. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  2030. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  2031. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  2032. thingery.Scale = thingery.Scale + vt(size,0,size)
  2033. end
  2034. lb:Destroy()
  2035. end))
  2036. end
  2037.  
  2038. function SlowRingEffect(pos,startsize,size,col)
  2039. local lb = Instance.new("Part")
  2040. lb.Parent = char
  2041. lb.BrickColor = col
  2042. lb.CanCollide = false
  2043. lb.Material = "Neon"
  2044. lb.Anchored = true
  2045. lb.TopSurface = 0
  2046. lb.BottomSurface = 0
  2047. lb.Transparency = 1
  2048. lb.Size = vt(1,1,1)
  2049. lb.CFrame = pos
  2050. local thingery = Instance.new("SpecialMesh",lb)
  2051. thingery.MeshType = "Brick"
  2052. thingery.Scale = vt(startsize,0.1,startsize)
  2053. local dec2 = Instance.new("Decal", lb)
  2054. dec2.Face = "Top"
  2055. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2056. dec2.Color3 = lb.Color
  2057. dec2.Parent = lb
  2058. local dec2b = dec2:Clone()
  2059. dec2b.Face = "Bottom"
  2060. dec2b.Parent = lb
  2061. local randomrot = math.random(1,2)
  2062. coroutine.resume(coroutine.create(function()
  2063. for i = 0, 49 do
  2064. swait()
  2065. if randomrot == 1 then
  2066. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  2067. elseif randomrot == 2 then
  2068. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  2069. end
  2070. dec2.Transparency = dec2.Transparency + 0.02
  2071. dec2b.Transparency = dec2b.Transparency + 0.02
  2072. thingery.Scale = thingery.Scale + vt(size,0,size)
  2073. end
  2074. lb:Destroy()
  2075. end))
  2076. end
  2077.  
  2078.  
  2079. function groundringaa(pos)
  2080. local rng = Instance.new("Part", char)
  2081. rng.Anchored = true
  2082. rng.BrickColor = origcolor
  2083. rng.CanCollide = false
  2084. rng.FormFactor = 3
  2085. rng.Name = "Ring"
  2086. rng.Size = Vector3.new(1, 1, 1)
  2087. rng.Transparency = 1
  2088. rng.TopSurface = 0
  2089. rng.BottomSurface = 0
  2090. rng.CFrame = pos
  2091. local rngm = Instance.new("SpecialMesh", rng)
  2092. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2093. rngm.Scale = Vector3.new(100,100,5)
  2094. local scaler2 = -10/2
  2095. coroutine.resume(coroutine.create(function()
  2096. for i = 0,10,0.1 do
  2097. swait()
  2098. scaler2 = scaler2 + 0.1/2
  2099. rng.Transparency = rng.Transparency - 0.01
  2100. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2101. end
  2102. rng:Destroy()
  2103. end))
  2104. end
  2105.  
  2106. function groundringbb(pos)
  2107. local rng = Instance.new("Part", char)
  2108. rng.Anchored = true
  2109. rng.BrickColor = origcolor
  2110. rng.CanCollide = false
  2111. rng.FormFactor = 3
  2112. rng.Name = "Ring"
  2113. rng.Size = Vector3.new(1, 1, 1)
  2114. rng.Transparency = 0
  2115. rng.TopSurface = 0
  2116. rng.BottomSurface = 0
  2117. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2118. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2119. local rngm = Instance.new("SpecialMesh", rng)
  2120. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2121. rngm.Scale = Vector3.new(0,0,5)
  2122. local scaler2 = 10
  2123. coroutine.resume(coroutine.create(function()
  2124. for i = 0,10*2,0.1 do
  2125. swait()
  2126. scaler2 = scaler2 - 0.1/2
  2127. rng.Transparency = rng.Transparency + 0.005
  2128. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2129. end
  2130. rng:Destroy()
  2131. end))
  2132. end
  2133.  
  2134. function groundglowaa(pos)
  2135. local rng = Instance.new("Part", char)
  2136. rng.Anchored = true
  2137. rng.BrickColor = origcolor
  2138. rng.CanCollide = false
  2139. rng.FormFactor = 3
  2140. rng.Material = "Neon"
  2141. rng.Name = "Ring"
  2142. rng.Size = Vector3.new(1, 1, 1)
  2143. rng.Transparency = 0
  2144. rng.TopSurface = 0
  2145. rng.BottomSurface = 0
  2146. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2147. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2148. local rngm = Instance.new("SpecialMesh", rng)
  2149. rngm.MeshType = "Sphere"
  2150. rngm.Scale = Vector3.new(0,0,25)
  2151. local scaler2 = 10*2
  2152. coroutine.resume(coroutine.create(function()
  2153. for i = 0,10*2,0.1 do
  2154. swait()
  2155. scaler2 = scaler2 - 0.1*2/2
  2156. rng.Transparency = rng.Transparency + 0.005
  2157. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2158. end
  2159. rng:Destroy()
  2160. end))
  2161. end
  2162.  
  2163. function bemaa(pos)
  2164. local rng = Instance.new("Part", char)
  2165. rng.Anchored = true
  2166. rng.BrickColor = origcolor
  2167. rng.CanCollide = false
  2168. rng.FormFactor = 3
  2169. rng.Material = "Neon"
  2170. rng.Name = "Ring"
  2171. rng.Size = Vector3.new(1, 1, 1)
  2172. rng.Transparency = 0
  2173. rng.TopSurface = 0
  2174. rng.BottomSurface = 0
  2175. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2176. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2177. local rngm = Instance.new("SpecialMesh", rng)
  2178. rngm.MeshType = "Sphere"
  2179. rngm.Scale = Vector3.new(0,0,10000)
  2180. local scaler2 = 1
  2181. coroutine.resume(coroutine.create(function()
  2182. for i = 0,99,0.1 do
  2183. swait()
  2184. scaler2 = scaler2 - 0.0025
  2185. rng.Transparency = rng.Transparency + 0.0025
  2186. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2187. end
  2188. rng:Destroy()
  2189. end))
  2190. end
  2191.  
  2192. function bemaashake(pos)
  2193. local rng = Instance.new("Part", char)
  2194. rng.Anchored = true
  2195. rng.BrickColor = origcolor
  2196. rng.CanCollide = false
  2197. rng.FormFactor = 3
  2198. rng.Material = "Neon"
  2199. rng.Name = "Ring"
  2200. rng.Size = Vector3.new(1, 1, 1)
  2201. rng.Transparency = 0
  2202. rng.TopSurface = 0
  2203. rng.BottomSurface = 0
  2204. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2205. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2206. local rngm = Instance.new("SpecialMesh", rng)
  2207. rngm.MeshType = "Sphere"
  2208. local oof = Instance.new("Part",char)
  2209. oof.Parent = rng
  2210. oof.CFrame = rng.CFrame
  2211. oof.CanCollide = false
  2212. oof.Anchored = true
  2213. oof.Transparency = 1
  2214. rngm.Scale = Vector3.new(0,0,10000)
  2215. local scaler2 = 1*10
  2216. coroutine.resume(coroutine.create(function()
  2217. for i = 0,99,0.1 do
  2218. swait()
  2219. scaler2 = scaler2 - 0.0025*10
  2220. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2221. rng.Transparency = rng.Transparency + 0.0025
  2222. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2223. end
  2224. rng:Destroy()
  2225. end))
  2226. end
  2227.  
  2228. function groundringlarge(pos)
  2229. local rng = Instance.new("Part", char)
  2230. rng.Anchored = true
  2231. rng.BrickColor = origcolor
  2232. rng.CanCollide = false
  2233. rng.FormFactor = 3
  2234. rng.Name = "Ring"
  2235. rng.Size = Vector3.new(1, 1, 1)
  2236. rng.Transparency = 0
  2237. rng.TopSurface = 0
  2238. rng.BottomSurface = 0
  2239. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2240. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2241. local rngm = Instance.new("SpecialMesh", rng)
  2242. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2243. rngm.Scale = Vector3.new(0,0,5)
  2244. local scaler2 = 10*10
  2245. coroutine.resume(coroutine.create(function()
  2246. for i = 0,10*2,0.1 do
  2247. swait()
  2248. scaler2 = scaler2 - 0.1*10/2
  2249. rng.Transparency = rng.Transparency + 0.005
  2250. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2251. end
  2252. rng:Destroy()
  2253. end))
  2254. end
  2255.  
  2256. function sphere(bonuspeed,type,pos,scale,value,color)
  2257. local type = type
  2258. local rng = Instance.new("Part", char)
  2259. rng.Anchored = true
  2260. rng.BrickColor = color
  2261. rng.CanCollide = false
  2262. rng.FormFactor = 3
  2263. rng.Name = "Ring"
  2264. rng.Material = "Neon"
  2265. rng.Size = Vector3.new(1, 1, 1)
  2266. rng.Transparency = 0
  2267. rng.TopSurface = 0
  2268. rng.BottomSurface = 0
  2269. rng.CFrame = pos
  2270. local rngm = Instance.new("SpecialMesh", rng)
  2271. rngm.MeshType = "Sphere"
  2272. rngm.Scale = scale
  2273. local scaler2 = 1
  2274. if type == "Add" then
  2275. scaler2 = 1*value
  2276. elseif type == "Divide" then
  2277. scaler2 = 1/value
  2278. end
  2279. coroutine.resume(coroutine.create(function()
  2280. for i = 0,10/bonuspeed,0.1 do
  2281. swait()
  2282. if type == "Add" then
  2283. scaler2 = scaler2 - 0.01*value/bonuspeed
  2284. elseif type == "Divide" then
  2285. scaler2 = scaler2 - 0.01/value*bonuspeed
  2286. end
  2287. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2288. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2289. end
  2290. rng:Destroy()
  2291. end))
  2292. end
  2293. Humanoid.Animator.Parent = nil
  2294.  
  2295. function AppearMutatedLimbs()
  2296. hum.WalkSpeed = 0
  2297. hum.MaxHealth = math.huge
  2298. attack = true
  2299. for i = 0,14,0.1 do
  2300. swait()
  2301. 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)
  2302. 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)
  2303. 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)
  2304. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  2305. 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)
  2306. 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)
  2307. end
  2308. for i = 0,8,0.1 do
  2309. swait()
  2310. 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)
  2311. 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)
  2312. 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)
  2313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  2314. 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)
  2315. 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)
  2316. end
  2317. for i = 0,2,0.1 do
  2318. swait()
  2319. 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)
  2320. 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)
  2321. 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)
  2322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2323. 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)
  2324. 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)
  2325. end
  2326. for i, v in pairs(MutantParts:GetChildren()) do
  2327. if v:IsA("Part") then
  2328. v.Transparency = 0
  2329. end
  2330. end
  2331. local bld = Instance.new("ParticleEmitter",larm)
  2332. bld.LightEmission = 0.1
  2333. bld.Texture = "rbxassetid://284205403"
  2334. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2335. bld.Rate = 500
  2336. bld.Lifetime = NumberRange.new(1)
  2337. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2338. bld.Acceleration = vt(0,-25,0)
  2339. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2340. bld.Speed = NumberRange.new(10,25)
  2341. bld.EmissionDirection = "Bottom"
  2342. bld.VelocitySpread = 100
  2343. bld.Rotation = NumberRange.new(-500,500)
  2344. bld.RotSpeed = NumberRange.new(-500,500)
  2345. local bldef = Instance.new("ParticleEmitter",larm)
  2346. bldef.LightEmission = 0.1
  2347. bldef.Texture = "rbxassetid://284205403"
  2348. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2349. bldef.Rate = 25
  2350. bldef.Lifetime = NumberRange.new(1)
  2351. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2352. bldef.Acceleration = vt(0,-5,0)
  2353. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2354. bldef.Speed = NumberRange.new(0,0,0)
  2355. bldef.EmissionDirection = "Bottom"
  2356. bldef.VelocitySpread = 150
  2357. bldef.Rotation = NumberRange.new(-500,500)
  2358. bldef.RotSpeed = NumberRange.new(-500,500)
  2359. game:GetService("Debris"):AddItem(bld,3)
  2360. CFuncs["Sound"].Create("rbxassetid://429400881", larm, 2.5, 1)
  2361. CFuncs["Sound"].Create("rbxassetid://206082327", larm, 0.75, 1)
  2362. for i = 0,1,0.1 do
  2363. swait()
  2364. 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)
  2365. 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)
  2366. 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)
  2367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  2368. 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)
  2369. 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)
  2370. end
  2371. bld.Enabled = false
  2372. attack = false
  2373. hum.WalkSpeed = 6
  2374. end
  2375.  
  2376. function AppearMutatedLimbs2()
  2377. hum.WalkSpeed = 0
  2378. attack = true
  2379. LeftModeUnlocked = true
  2380. for i = 0,8,0.1 do
  2381. swait()
  2382. 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)
  2383. 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)
  2384. 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)
  2385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  2386. 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)
  2387. 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)
  2388. end
  2389. for i = 0,2,0.1 do
  2390. swait()
  2391. 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)
  2392. 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)
  2393. 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)
  2394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  2395. 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)
  2396. 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)
  2397. end
  2398. for i, v in pairs(MutantParts2:GetChildren()) do
  2399. if v:IsA("Part") then
  2400. v.Transparency = 0
  2401. end
  2402. end
  2403. local bld = Instance.new("ParticleEmitter",rarm)
  2404. bld.LightEmission = 0.1
  2405. bld.Texture = "rbxassetid://284205403"
  2406. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2407. bld.Rate = 500
  2408. bld.Lifetime = NumberRange.new(1)
  2409. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2410. bld.Acceleration = vt(0,-25,0)
  2411. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2412. bld.Speed = NumberRange.new(10,25)
  2413. bld.EmissionDirection = "Bottom"
  2414. bld.VelocitySpread = 100
  2415. bld.Rotation = NumberRange.new(-500,500)
  2416. bld.RotSpeed = NumberRange.new(-500,500)
  2417. local bldef = Instance.new("ParticleEmitter",rarm)
  2418. bldef.LightEmission = 0.1
  2419. bldef.Texture = "rbxassetid://284205403"
  2420. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2421. bldef.Rate = 25
  2422. bldef.Lifetime = NumberRange.new(1)
  2423. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2424. bldef.Acceleration = vt(0,-5,0)
  2425. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2426. bldef.Speed = NumberRange.new(0,0,0)
  2427. bldef.EmissionDirection = "Bottom"
  2428. bldef.VelocitySpread = 150
  2429. bldef.Rotation = NumberRange.new(-500,500)
  2430. bldef.RotSpeed = NumberRange.new(-500,500)
  2431. game:GetService("Debris"):AddItem(bld,3)
  2432. CFuncs["Sound"].Create("rbxassetid://429400881", rarm, 2.5, 1)
  2433. CFuncs["Sound"].Create("rbxassetid://206082327", rarm, 0.75, 1)
  2434. for i = 0,1,0.1 do
  2435. swait()
  2436. 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)
  2437. 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)
  2438. 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)
  2439. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  2440. 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)
  2441. 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)
  2442. end
  2443. bld.Enabled = false
  2444. attack = false
  2445. hum.WalkSpeed = 6
  2446. end
  2447.  
  2448. function TargetSelect(person)
  2449. local dd=coroutine.wrap(function()
  2450. if targetted ~= person then
  2451. targetted = person
  2452. img2.Size = UDim2.new(1,0,1,0)
  2453. img2.ImageTransparency = 0
  2454. img2.Position = UDim2.new(0,0,0,0)
  2455. img2.ImageColor3 = Color3.new(0,0,0)
  2456. for i = 0, 2, 0.1 do
  2457. swait()
  2458. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  2459. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  2460. img2.ImageTransparency = img2.ImageTransparency + 0.05
  2461. end
  2462. end
  2463. end)
  2464. dd()
  2465. end
  2466.  
  2467. function FindNearestTorso(Position, Distance, SinglePlayer)
  2468. if SinglePlayer then
  2469. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2470. end
  2471. local List = {}
  2472. for i, v in pairs(workspace:GetChildren()) do
  2473. if v:IsA("Model") then
  2474. if v:findFirstChild("Torso") then
  2475. if v ~= Character then
  2476. if (v.Torso.Position - Position).magnitude <= Distance then
  2477. table.insert(List, v)
  2478. end
  2479. end
  2480. end
  2481. end
  2482. end
  2483. return List
  2484. end
  2485.  
  2486. function LockOn()
  2487. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2488. TargetSelect(Mouse.Target.Parent)
  2489. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  2490. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  2491. TargetSelect(Mouse.Target.Parent)
  2492. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  2493. targetted = nil
  2494. end
  2495. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  2496. end
  2497. end
  2498.  
  2499. function dmg(dude)
  2500. if dude.Name ~= Character then
  2501. local bgf = Instance.new("BodyGyro",dude.Head)
  2502. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2503. local val = Instance.new("BoolValue",dude)
  2504. val.Name = "IsHit"
  2505. local ds = coroutine.wrap(function()
  2506. if dude.Name ~= "isaacsantamaria01" then
  2507. killcount = killcount + 1
  2508. dude:WaitForChild("Torso"):BreakJoints()
  2509. wait(0.5)
  2510. targetted = nil
  2511. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2512. coroutine.resume(coroutine.create(function()
  2513. for i, v in pairs(dude:GetChildren()) do
  2514. if v:IsA("Accessory") then
  2515. v:Destroy()
  2516. end
  2517. if v:IsA("Humanoid") then
  2518. v:Destroy()
  2519. end
  2520. if v:IsA("CharacterMesh") then
  2521. v:Destroy()
  2522. end
  2523. if v:IsA("Model") then
  2524. v:Destroy()
  2525. end
  2526. if v:IsA("Part") then
  2527. for x, o in pairs(v:GetChildren()) do
  2528. if o:IsA("Decal") then
  2529. o:Destroy()
  2530. end
  2531. end
  2532. coroutine.resume(coroutine.create(function()
  2533. v.Material = "Neon"
  2534. v.CanCollide = false
  2535. local bld = Instance.new("ParticleEmitter",v)
  2536. bld.LightEmission = 1
  2537. bld.Texture = "rbxassetid://284205403"
  2538. bld.Color = ColorSequence.new(Color3.new(155,0,155))
  2539. bld.Rate = 50
  2540. bld.Lifetime = NumberRange.new(1)
  2541. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2542. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2543. bld.Speed = NumberRange.new(0,0,0)
  2544. bld.Rotation = NumberRange.new(-500,500)
  2545. bld.RotSpeed = NumberRange.new(-500,500)
  2546. local sbs = Instance.new("BodyPosition", v)
  2547. sbs.P = 3000
  2548. sbs.D = 1000
  2549. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2550. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2551. v.Color = Color3.new(85,0,85)
  2552. end))
  2553. coroutine.resume(coroutine.create(function()
  2554. for i = 0, 49 do
  2555. swait(1)
  2556. v.Transparency = v.Transparency + 0.02
  2557. end
  2558. v:Destroy()
  2559. dude:Destroy()
  2560. end))
  2561. end
  2562. end
  2563. end))
  2564. else
  2565. bgf:Destroy()
  2566. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  2567. end
  2568. end)
  2569. ds()
  2570. end
  2571. end
  2572.  
  2573.  
  2574. local Grabbed = false
  2575.  
  2576. function QuickStab()
  2577. attack = true
  2578. hum.WalkSpeed = 0
  2579. swait(1)
  2580. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  2581. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  2582. if targetted.Name ~= "isaacsantamaria01" then
  2583. local grab = nil
  2584. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  2585. if v:FindFirstChild('Head') then
  2586. Grabbed = true
  2587. grab = v
  2588. end
  2589. end
  2590. if Grabbed == true then
  2591. for i = 0,2,0.1 do
  2592. swait()
  2593. 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)
  2594. 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)
  2595. 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)
  2596. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2597. 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)
  2598. 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)
  2599. end
  2600. dmg(grab)
  2601. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2602. bld.LightEmission = 0.1
  2603. bld.Texture = "rbxassetid://284205403"
  2604. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2605. bld.Rate = 500
  2606. bld.Lifetime = NumberRange.new(1)
  2607. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2608. bld.Acceleration = vt(0,-25,0)
  2609. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2610. bld.Speed = NumberRange.new(10,50)
  2611. bld.EmissionDirection = "Front"
  2612. bld.VelocitySpread = 25
  2613. bld.Rotation = NumberRange.new(-500,500)
  2614. bld.RotSpeed = NumberRange.new(-500,500)
  2615. game:GetService("Debris"):AddItem(bld,3)
  2616. CFuncs["Sound"].Create("rbxassetid://206082327", targetted.Torso, 2.5, 0.9)
  2617. for i = 0,1,0.1 do
  2618. swait()
  2619. 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)
  2620. 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)
  2621. 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)
  2622. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2623. 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)
  2624. 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)
  2625. end
  2626. bld.Enabled = false
  2627. end
  2628. else
  2629. for i = 0,8,0.1 do
  2630. swait()
  2631. 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)
  2632. 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)
  2633. 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)
  2634. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  2635. 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)
  2636. 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)
  2637. end
  2638. local randomized = math.random(1,3)
  2639. if randomized == 1 then
  2640. chatfunc("No... i cant.",Color3.new(0.5,0,0))
  2641. elseif randomized == 2 then
  2642. chatfunc("Why would i do this...",Color3.new(0.5,0,0))
  2643. elseif randomized == 3 then
  2644. chatfunc("Oh... i thought you're my enemy...",Color3.new(0.5,0,0))
  2645. end
  2646. --[[for i = 0,3,0.1 do
  2647. swait()
  2648. 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)
  2649. 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)
  2650. 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)
  2651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  2652. 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)
  2653. 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)
  2654. end]]--
  2655. end
  2656. Grabbed = false
  2657. attack = false
  2658. hum.WalkSpeed = 6
  2659. end
  2660.  
  2661.  
  2662. function BlinkingStab()
  2663. attack = true
  2664. hum.WalkSpeed = 0
  2665. swait(1)
  2666. if targetted.Name ~= "isaacsantamaria01" then
  2667. for i = 0,2,0.1 do
  2668. swait()
  2669. 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)
  2670. 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)
  2671. 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)
  2672. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2673. 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)
  2674. 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)
  2675. end
  2676. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  2677. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  2678. dmg(targetted)
  2679. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2680. bld.LightEmission = 0.1
  2681. bld.Texture = "rbxassetid://284205403"
  2682. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2683. bld.Rate = 500
  2684. bld.Lifetime = NumberRange.new(1)
  2685. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2686. bld.Acceleration = vt(0,-25,0)
  2687. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2688. bld.Speed = NumberRange.new(10,50)
  2689. bld.EmissionDirection = "Front"
  2690. bld.VelocitySpread = 25
  2691. bld.Rotation = NumberRange.new(-500,500)
  2692. bld.RotSpeed = NumberRange.new(-500,500)
  2693. game:GetService("Debris"):AddItem(bld,3)
  2694. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Torso, 1,1)
  2695. for i = 0,1,0.1 do
  2696. swait()
  2697. 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)
  2698. 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)
  2699. 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)
  2700. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2701. 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)
  2702. 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)
  2703. end
  2704. bld.Enabled = false
  2705. else
  2706. for i = 0,8,0.1 do
  2707. swait()
  2708. 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)
  2709. 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)
  2710. 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)
  2711. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2712. 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)
  2713. 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)
  2714. end
  2715. local randomized = math.random(1,3)
  2716. if randomized == 1 then
  2717. chatfunc("Wait.. a minute... wrong guy...",Color3.new(0.5,0,0))
  2718. elseif randomized == 2 then
  2719. chatfunc("I forgot about you...",Color3.new(0.5,0,0))
  2720. elseif randomized == 3 then
  2721. chatfunc("Oh. sorry...",Color3.new(0.5,0,0))
  2722. end
  2723. --[[for i = 0,3,0.1 do
  2724. swait()
  2725. 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)
  2726. 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)
  2727. 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)
  2728. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  2729. 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)
  2730. 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)
  2731. end]]--
  2732. end
  2733. attack = false
  2734. hum.WalkSpeed = 6
  2735. end
  2736.  
  2737.  
  2738. function Tele()
  2739. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  2740. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  2741. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  2742. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  2743. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  2744. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  2745. end
  2746.  
  2747. function uhhnolikeokthen()
  2748. hum.WalkSpeed = 0
  2749. attack = true
  2750. CFuncs["Sound"].Create("rbxassetid://163315655", root, 1,1)
  2751. for i = 0,10,0.1 do
  2752. swait()
  2753. 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)
  2754. 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)
  2755. 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)
  2756. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  2757. 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)
  2758. 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)
  2759. end
  2760. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  2761. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  2762. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  2763. CFuncs["Sound"].Create("rbxassetid://1213175909", root, 3,1)
  2764. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2,1)
  2765. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2,0.9)
  2766. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  2767. if v:FindFirstChild('Torso') then
  2768. dmg(v)
  2769. CFuncs["Sound"].Create("rbxassetid://206082327", v.Torso, 1, 0.9)
  2770. local bld = Instance.new("ParticleEmitter",v.Torso)
  2771. bld.LightEmission = 0.1
  2772. bld.Texture = "rbxassetid://284205403"
  2773. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2774. bld.Rate = 500
  2775. bld.Lifetime = NumberRange.new(1)
  2776. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2777. bld.Acceleration = vt(0,-25,0)
  2778. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2779. bld.Speed = NumberRange.new(10,50)
  2780. bld.EmissionDirection = "Front"
  2781. bld.VelocitySpread = 2500
  2782. bld.Rotation = NumberRange.new(-500,500)
  2783. bld.RotSpeed = NumberRange.new(-500,500)
  2784. coroutine.resume(coroutine.create(function()
  2785. swait(4)
  2786. bld.Enabled = false
  2787. game:GetService("Debris"):AddItem(bld,3)
  2788. end))
  2789. end
  2790. end
  2791. for i = 0,28,0.1 do
  2792. swait()
  2793. 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)
  2794. 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)
  2795. 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)
  2796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  2797. 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)
  2798. 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)
  2799. end
  2800. attack = false
  2801. hum.WalkSpeed = 6
  2802. end
  2803.  
  2804. function deadworld()
  2805. hum.WalkSpeed = 0
  2806. attack = true
  2807. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  2808. for i = 0,10,0.1 do
  2809. swait()
  2810. 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)
  2811. 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)
  2812. 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)
  2813. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  2814. 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)
  2815. 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)
  2816. end
  2817. coroutine.resume(coroutine.create(function()
  2818. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  2819. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2820. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2821. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2822. coroutine.resume(coroutine.create(function()
  2823. for i = 0, 9 do
  2824. swait(3)
  2825. 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"))
  2826. end
  2827. end))
  2828. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  2829. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  2830. local blastpitch = 1
  2831. for i = 0,2 do
  2832. wait(1.5)
  2833. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2834. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2835. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2836. coroutine.resume(coroutine.create(function()
  2837. for i = 0, 9 do
  2838. swait(3)
  2839. 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"))
  2840. end
  2841. end))
  2842. blastpitch = blastpitch - 0.15
  2843. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  2844. end
  2845. wait(2)
  2846. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  2847. if v:FindFirstChild('Torso') then
  2848. dmg(v)
  2849. end
  2850. end
  2851. tors:Destroy()
  2852. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  2853. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  2854. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  2855. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  2856. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  2857. coroutine.resume(coroutine.create(function()
  2858. for i = 0, 49 do
  2859. swait(3)
  2860. 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"))
  2861. 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"))
  2862. end
  2863. end))
  2864. end))
  2865. for i = 0,280,0.1 do
  2866. swait()
  2867. 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)
  2868. 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)
  2869. 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)
  2870. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  2871. 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)
  2872. 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)
  2873. end
  2874. attack = false
  2875. hum.WalkSpeed = 6
  2876. end
  2877. coroutine.resume(coroutine.create(function()
  2878. AppearMutatedLimbs()
  2879. end))
  2880.  
  2881. mouse.Button1Down:connect(function()
  2882. if attack == false and targetted ~= nil then
  2883. BlinkingStab()
  2884. end
  2885. end)
  2886.  
  2887. mouse.KeyDown:connect(function(k)
  2888. if k == "q" and attack == false then
  2889. LockOn()
  2890. end
  2891. if k == "e" and attack == false and targetted ~= nil then
  2892. Tele()
  2893. end
  2894. if k == "z" and attack == false and targetted ~= nil then
  2895. QuickStab()
  2896. end
  2897. if k == "x" and attack == false then
  2898. uhhnolikeokthen()
  2899. end
  2900. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  2901. AppearMutatedLimbs2()
  2902. end
  2903. if k == "p" and attack == false and unlockedX == true then
  2904. deadworld()
  2905. end
  2906. if k == "t" and attack == false and plr.Name == "isaacsantamaria01" then
  2907. attack = true
  2908. chatfunc("HAH",Color3.new(0.5,0,0))
  2909. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  2910. for i = 0, 1, 0.1 do
  2911. swait()
  2912. 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)
  2913. 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)
  2914. 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)
  2915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  2916. 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)
  2917. 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)
  2918. end
  2919. attack = false
  2920. end
  2921. end)
  2922. idleanim=.4
  2923.  
  2924. swait()
  2925. imgl.Rotation = imgl.Rotation + 3
  2926. imgl2.Rotation = imgl2.Rotation - 3
  2927. img2.Rotation = img2.Rotation - 3
  2928. if targetted ~= nil then
  2929. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2930. abss.Enabled = true
  2931. elseif targetted == nil then
  2932. abss.Adornee = nil
  2933. abss.Enabled = false
  2934. end
  2935. while true and imgl.Rotation >= 360 do
  2936. imgl.Rotation = 0
  2937. imgl2.Rotation = 0
  2938. img2.Rotation = 0
  2939. end
  2940. uhh.Rotation = math.random(-1,1)
  2941. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  2942. uhh.Text = "Kills : " ..killcount
  2943. if killcount < maxA then
  2944. uhh2.Text = "Required kills for second mutated arm: " ..requirekillA-killcount
  2945. elseif killcount >= maxA then
  2946. unlockedA = true
  2947. uhh2.Text = "Second mutated arm unlocked. (L)"
  2948. end
  2949. if killcount < maxX then
  2950. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  2951. elseif killcount >= maxX then
  2952. unlockedX = true
  2953. uhh3.Text = "The end unlocked. (P to activate)"
  2954. end
  2955. sine = sine + change
  2956. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2957. local velderp=RootPart.Velocity.y
  2958. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2959. if equipped==true or equipped==false then
  2960. if attack==false then
  2961. idle=idle+1
  2962. else
  2963. idle=0
  2964. end
  2965. if idle>=500 then
  2966. if attack==false then
  2967. --Sheath()
  2968. end
  2969. end
  2970. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2971. Anim="Jump"
  2972. if attack==false then
  2973. 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)
  2974. 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)
  2975. 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)
  2976. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  2977. 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)
  2978. 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)
  2979. end
  2980. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2981. Anim="Fall"
  2982. if attack==false then
  2983. 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)
  2984. 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)
  2985. 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)
  2986. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2987. 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)
  2988. 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)
  2989. end
  2990. elseif torvel<1 and hitfloor~=nil then
  2991. Anim="Idle"
  2992. if attack==false then
  2993. 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)
  2994. 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)
  2995. 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)
  2996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  2997. if LeftModeUnlocked == false then
  2998. 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)
  2999. else
  3000. 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)
  3001. end
  3002. 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)
  3003. end
  3004. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3005. Anim="Walk"
  3006. if attack==false then
  3007. 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)
  3008. 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)
  3009. 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)
  3010. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  3011. if LeftModeUnlocked == false then
  3012. 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)
  3013. else
  3014. 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)
  3015. end
  3016. 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)
  3017. end
  3018. elseif torvel>=22 and hitfloor~=nil then
  3019. Anim="Run"
  3020. if attack==false then
  3021. 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)
  3022. 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)
  3023. 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)
  3024. 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)
  3025. 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)
  3026. 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)
  3027. end
  3028. end
  3029. end
  3030. endwarn'Mutant loaded'
  3031. ---- thanks to genocider and psychopath sources, this would be another one
  3032. ---- LockOnTargetNoWhiteListKThx
  3033. plr = game.Players.LocalPlayer
  3034. char = plr.Character
  3035. hum = char.Humanoid
  3036. local cam = game.Workspace.CurrentCamera
  3037. t = char.Torso
  3038. h = char.Head
  3039. ra = char["Right Arm"]
  3040. la = char["Left Arm"]
  3041. rl = char["Right Leg"]
  3042. ll = char["Left Leg"]
  3043. tors = char.Torso
  3044. lleg = char["Left Leg"]
  3045. root = char.HumanoidRootPart
  3046. hed = char.Head
  3047. rleg = char["Right Leg"]
  3048. rarm = char["Right Arm"]
  3049. larm = char["Left Arm"]
  3050. vt = Vector3.new
  3051. bc = BrickColor.new
  3052. br = BrickColor.random
  3053. it = Instance.new
  3054. cf = CFrame.new
  3055. local targetted = nil
  3056. local killcount = 50
  3057. local requirekillA = 15
  3058. local requirekillX = 50
  3059. local maxA = 15
  3060. local maxX = 50
  3061. if plr.Name == "soins1" then
  3062. maxX = 0
  3063. requirekillX = maxX
  3064. end
  3065. local unlockedA = true
  3066. local unlockedX = true
  3067. local LeftModeUnlocked = false
  3068.  
  3069. kan = Instance.new("Sound",char)
  3070. kan.Volume = 6
  3071. kan.Pitch = 1
  3072. kan.TimePosition = 1
  3073. kan.SoundId = "rbxassetid://534429024"
  3074. kan.Name = "kreepery"
  3075. kan.Looped = true
  3076. kan:Play()
  3077.  
  3078. abss = Instance.new("BillboardGui",char)
  3079. abss.Size = UDim2.new(10,0,10,0)
  3080. abss.Enabled = false
  3081. imgl = Instance.new("ImageLabel",abss)
  3082. imgl.Position = UDim2.new(0,0,0,0)
  3083. imgl.Size = UDim2.new(1,0,1,0)
  3084. imgl.Image = "http://www.roblox.com/asset/?id=118777235"
  3085. imgl.BackgroundTransparency = 1
  3086. imgl.ImageColor3 = Color3.new(0,0,0)
  3087. imgl2 = Instance.new("ImageLabel",abss)
  3088. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  3089. imgl2.Size = UDim2.new(2,0,2,0)
  3090. imgl2.Image = "http://www.roblox.com/asset/?id=135465292"
  3091. imgl2.BackgroundTransparency = 1
  3092. imgl2.ImageColor3 = Color3.new(0,0,0)
  3093. img2 = Instance.new("ImageLabel",abss)
  3094. img2.Position = UDim2.new(0,0,0,0)
  3095. img2.Size = UDim2.new(1,0,1,0)
  3096. img2.Image = "rbxassetid://118777235"
  3097. img2.BackgroundTransparency = 1
  3098. img2.ImageColor3 = Color3.new(0,0,0)
  3099.  
  3100. function CameraShake(Times, Power)
  3101. coroutine.resume(coroutine.create(function()
  3102. FV = Instance.new("BoolValue", Character)
  3103. FV.Name = "CameraShake"
  3104. for ShakeNum=1,Times do
  3105. swait()
  3106. local ef=Power
  3107. if ef>=1 then
  3108. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  3109. else
  3110. ef=Power*10
  3111. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  3112. end
  3113. end
  3114. Humanoid.CameraOffset = Vector3.new(0,0,0)
  3115. FV:Destroy()
  3116. end))
  3117. end
  3118.  
  3119. CamShake=function(Part,Distan,Power,Times)
  3120. local de=Part.Position
  3121. for i,v in pairs(workspace:children()) do
  3122. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  3123. for _,c in pairs(v:children()) do
  3124. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  3125. local Noob=v.Humanoid
  3126. if Noob~=nil then
  3127. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  3128. --[[local ss=script.CamShake:clone()
  3129. ss.Parent=Noob
  3130. ss.Power.Value=Power
  3131. ss.Times.Value=Times
  3132. ss.Disabled=false]]
  3133. CameraShake(Times, Power)
  3134. end
  3135. end
  3136. end
  3137. end
  3138. end
  3139. end
  3140. end
  3141.  
  3142. function chatfunc(text,color)
  3143. local chat = coroutine.wrap(function()
  3144. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3145. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3146. end
  3147. local naeeym2 = Instance.new("BillboardGui",Character)
  3148. naeeym2.Size = UDim2.new(0,100,0,40)
  3149. naeeym2.StudsOffset = Vector3.new(0,3,0)
  3150. naeeym2.Adornee = Character.Head
  3151. naeeym2.Name = "TalkingBillBoard"
  3152. local tecks2 = Instance.new("TextLabel",naeeym2)
  3153. tecks2.BackgroundTransparency = 1
  3154. tecks2.BorderSizePixel = 0
  3155. tecks2.Text = ""
  3156. tecks2.Font = "SciFi"
  3157. tecks2.TextSize = 30
  3158. tecks2.TextStrokeTransparency = 0
  3159. tecks2.TextColor3 = color
  3160. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  3161. tecks2.Size = UDim2.new(1,0,0.5,0)
  3162. local tecks3 = Instance.new("TextLabel",naeeym2)
  3163. tecks3.BackgroundTransparency = 1
  3164. tecks3.BorderSizePixel = 0
  3165. tecks3.Text = ""
  3166. tecks3.Font = "SciFi"
  3167. tecks3.TextSize = 30
  3168. tecks3.TextStrokeTransparency = 0
  3169. tecks3.TextColor3 = Color3.new(0,0,0)
  3170. tecks3.TextStrokeColor3 = color
  3171. tecks3.Size = UDim2.new(1,0,0.5,0)
  3172. coroutine.resume(coroutine.create(function()
  3173. swait(1)
  3174. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  3175. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  3176. tecks2.Rotation = math.random(-15,15)
  3177. tecks3.Rotation = math.random(-15,15)
  3178. end
  3179. end))
  3180. for i = 1,string.len(text),1 do
  3181. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  3182. tecks2.Text = string.sub(text,1,i)
  3183. tecks3.Text = string.sub(text,1,i)
  3184. swait(1)
  3185. end
  3186. wait(1)
  3187. local randomrot = math.random(1,2)
  3188. if randomrot == 1 then
  3189. for i = 1, 50 do
  3190. swait()
  3191. tecks2.Rotation = tecks2.Rotation - .75
  3192. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3193. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3194. tecks3.Rotation = tecks2.Rotation + .75
  3195. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3196. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3197. end
  3198. elseif randomrot == 2 then
  3199. for i = 1, 50 do
  3200. swait()
  3201. tecks2.Rotation = tecks2.Rotation + .75
  3202. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3203. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3204. tecks3.Rotation = tecks2.Rotation - .75
  3205. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3206. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3207. end
  3208. end
  3209. naeeym2:Destroy()
  3210. end)
  3211. chat()
  3212. end
  3213.  
  3214.  
  3215. local Create = LoadLibrary("RbxUtility").Create
  3216.  
  3217. CFuncs = {
  3218. ["Part"] = {
  3219. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3220. local Part = Create("Part"){
  3221. Parent = Parent,
  3222. Reflectance = Reflectance,
  3223. Transparency = Transparency,
  3224. CanCollide = false,
  3225. Locked = true,
  3226. BrickColor = BrickColor.new(tostring(BColor)),
  3227. Name = Name,
  3228. Size = Size,
  3229. Material = Material,
  3230. }
  3231. RemoveOutlines(Part)
  3232. return Part
  3233. end;
  3234. };
  3235.  
  3236. ["Mesh"] = {
  3237. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3238. local Msh = Create(Mesh){
  3239. Parent = Part,
  3240. Offset = OffSet,
  3241. Scale = Scale,
  3242. }
  3243. if Mesh == "SpecialMesh" then
  3244. Msh.MeshType = MeshType
  3245. Msh.MeshId = MeshId
  3246. end
  3247. return Msh
  3248. end;
  3249. };
  3250.  
  3251. ["Mesh"] = {
  3252. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3253. local Msh = Create(Mesh){
  3254. Parent = Part,
  3255. Offset = OffSet,
  3256. Scale = Scale,
  3257. }
  3258. if Mesh == "SpecialMesh" then
  3259. Msh.MeshType = MeshType
  3260. Msh.MeshId = MeshId
  3261. end
  3262. return Msh
  3263. end;
  3264. };
  3265.  
  3266. ["Weld"] = {
  3267. Create = function(Parent, Part0, Part1, C0, C1)
  3268. local Weld = Create("Weld"){
  3269. Parent = Parent,
  3270. Part0 = Part0,
  3271. Part1 = Part1,
  3272. C0 = C0,
  3273. C1 = C1,
  3274. }
  3275. return Weld
  3276. end;
  3277. };
  3278.  
  3279. ["Sound"] = {
  3280. Create = function(id, par, vol, pit)
  3281. coroutine.resume(coroutine.create(function()
  3282. local S = Create("Sound"){
  3283. Volume = vol,
  3284. Pitch = pit or 1,
  3285. SoundId = id,
  3286. Parent = par or workspace,
  3287. }
  3288. wait()
  3289. S:play()
  3290. game:GetService("Debris"):AddItem(S, 10)
  3291. end))
  3292. end;
  3293. };
  3294.  
  3295. ["LongSound"] = {
  3296. Create = function(id, par, vol, pit)
  3297. coroutine.resume(coroutine.create(function()
  3298. local S = Create("Sound"){
  3299. Volume = vol,
  3300. Pitch = pit or 1,
  3301. SoundId = id,
  3302. Parent = par or workspace,
  3303. }
  3304. wait()
  3305. S:play()
  3306. game:GetService("Debris"):AddItem(S, 30)
  3307. end))
  3308. end;
  3309. };
  3310.  
  3311. ["ParticleEmitter"] = {
  3312. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3313. local fp = Create("ParticleEmitter"){
  3314. Parent = Parent,
  3315. Color = ColorSequence.new(Color1, Color2),
  3316. LightEmission = LightEmission,
  3317. Size = Size,
  3318. Texture = Texture,
  3319. Transparency = Transparency,
  3320. ZOffset = ZOffset,
  3321. Acceleration = Accel,
  3322. Drag = Drag,
  3323. LockedToPart = LockedToPart,
  3324. VelocityInheritance = VelocityInheritance,
  3325. EmissionDirection = EmissionDirection,
  3326. Enabled = Enabled,
  3327. Lifetime = LifeTime,
  3328. Rate = Rate,
  3329. Rotation = Rotation,
  3330. RotSpeed = RotSpeed,
  3331. Speed = Speed,
  3332. VelocitySpread = VelocitySpread,
  3333. }
  3334. return fp
  3335. end;
  3336. };
  3337.  
  3338. CreateTemplate = {
  3339.  
  3340. };
  3341. }
  3342.  
  3343.  
  3344.  
  3345. New = function(Object, Parent, Name, Data)
  3346. local Object = Instance.new(Object)
  3347. for Index, Value in pairs(Data or {}) do
  3348. Object[Index] = Value
  3349. end
  3350. Object.Parent = Parent
  3351. Object.Name = Name
  3352. return Object
  3353. end
  3354. local halocolor = BrickColor.new("Dark indigo")
  3355. local wepcolor = BrickColor.new("Really black")
  3356. local MutantParts = Instance.new("Model",char)
  3357. local MutantParts2 = Instance.new("Model",char)
  3358.  
  3359. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  3360. local p = Instance.new("Part")
  3361. p.TopSurface = 0
  3362. p.BottomSurface = 0
  3363. p.Parent = parent
  3364. p.Size = Vector3.new(0.1,0.1,0.1)
  3365. p.Transparency = transparency
  3366. p.Reflectance = reflectance
  3367. p.CanCollide = false
  3368. p.Locked = true
  3369. p.BrickColor = brickcolor
  3370. p.Material = material
  3371. return p
  3372. end
  3373.  
  3374. function CreateMesh(parent,meshtype,x1,y1,z1)
  3375. local mesh = Instance.new("SpecialMesh",parent)
  3376. mesh.MeshType = meshtype
  3377. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  3378. return mesh
  3379. end
  3380.  
  3381. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  3382. local mesh = Instance.new("SpecialMesh",parent)
  3383. mesh.MeshType = "FileMesh"
  3384. mesh.MeshId = meshid
  3385. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  3386. mesh.Scale = Vector3.new(x1,y1,z1)
  3387. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  3388. return mesh
  3389. end
  3390.  
  3391. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  3392. local weld = Instance.new("Weld")
  3393. weld.Parent = parent
  3394. weld.Part0 = part0
  3395. weld.Part1 = part1
  3396. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  3397. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  3398. return weld
  3399. end
  3400.  
  3401. --larm.Name = "MutatedLeftArm"
  3402.  
  3403. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3404. CreateMesh(extend,"Brick",0.65,1,0.65)
  3405. CreateWeld(extend,larm,extend,0,0.25,0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3406. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3407. CreateMesh(extend,"Brick",0.65,1,0.65)
  3408. CreateWeld(extend,larm,extend,0.25,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3409. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3410. CreateMesh(extend,"Brick",0.65,1,0.65)
  3411. CreateWeld(extend,larm,extend,-0.275,-0.35,-0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3412. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3413. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3414. CreateWeld(extendblood,larm,extendblood,-0.15,0,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3415. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3416. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3417. CreateWeld(extendblood,larm,extendblood,-0.275,0.2,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3418. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3419. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3420. CreateWeld(extendblood,larm,extendblood,0.05,0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3421. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3422. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3423. CreateWeld(extendblood,larm,extendblood,0.15,-0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3424. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3425. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3426. CreateWeld(extendblood,larm,extendblood,-0.1,0,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3427. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3428. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3429. CreateWeld(extendblood,larm,extendblood,0.5,0.2,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3430. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3431. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  3432. CreateWeld(extendblood,larm,extendblood,0.5,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3433. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3434. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  3435. CreateWeld(extendsph,larm,extendsph,0.185,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3436. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3437. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3438. CreateWeld(extendsph,larm,extendsph,0.35,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3439. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3440. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3441. CreateWeld(extendsph,larm,extendsph,-0.35,-0.5,-0.35,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3442. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  3443. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  3444. CreateWeld(extendcl,larm,extendcl,0,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3445. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  3446. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  3447. CreateWeld(extendcl,larm,extendcl,0.25,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3448. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  3449. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  3450. CreateWeld(extendcl,larm,extendcl,-0.25,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3451.  
  3452. --- Secondary
  3453. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  3454. CreateMesh(extendcl,"Wedge",0.05,1,3)
  3455. CreateWeld(extendcl,rarm,extendcl,0,-0.75,1,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3456. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  3457. CreateMesh(extendcl,"Wedge",0.05,1,1)
  3458. CreateWeld(extendcl,rarm,extendcl,0,-0.75,1,math.rad(-90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3459. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3460. CreateMesh(extend,"Brick",0.65,1,0.65)
  3461. CreateWeld(extend,rarm,extend,-0.275,-0.35,-0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3462. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3463. CreateMesh(extend,"Brick",0.65,1,0.65)
  3464. CreateWeld(extend,rarm,extend,0.275,-0.15,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3465. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3466. CreateMesh(extend,"Brick",0.65,1,0.65)
  3467. CreateWeld(extend,rarm,extend,-0.205,0.15,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3468. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3469. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  3470. CreateWeld(extendsph,rarm,extendsph,0.125,0,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3471. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3472. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3473. CreateWeld(extendsph,rarm,extendsph,-0.35,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3474. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3475. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3476. CreateWeld(extendsph,rarm,extendsph,0.315,-0.5,-0.325,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3477. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3478. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3479. CreateWeld(extendsph,rarm,extendsph,-0.235,0.45,-0.3,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3480. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3481. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3482. CreateWeld(extendblood,rarm,extendblood,-0.15,0,0.525,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3483. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3484. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3485. CreateWeld(extendblood,rarm,extendblood,-0.275,0.2,0.525,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3486. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3487. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3488. CreateWeld(extendblood,rarm,extendblood,0.25,0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3489. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3490. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3491. CreateWeld(extendblood,rarm,extendblood,0.15,-0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3492. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3493. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3494. CreateWeld(extendblood,rarm,extendblood,-0.1,0,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3495. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3496. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3497. CreateWeld(extendblood,rarm,extendblood,-0.5,0.2,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3498. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3499. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  3500. CreateWeld(extendblood,rarm,extendblood,-0.5,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3501.  
  3502. for i, v in pairs(MutantParts:GetChildren()) do
  3503. if v:IsA("Part") then
  3504. v.Transparency = 1
  3505. end
  3506. end
  3507.  
  3508. for i, v in pairs(MutantParts2:GetChildren()) do
  3509. if v:IsA("Part") then
  3510. v.Transparency = 1
  3511. end
  3512. end
  3513. function RemoveOutlines(part)
  3514. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3515. end
  3516. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3517. local Part = Create("Part")({
  3518. Parent = Parent,
  3519. Reflectance = Reflectance,
  3520. Transparency = Transparency,
  3521. CanCollide = false,
  3522. Locked = true,
  3523. BrickColor = BrickColor.new(tostring(BColor)),
  3524. Name = Name,
  3525. Size = Size,
  3526. Material = Material
  3527. })
  3528. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  3529. RemoveOutlines(Part)
  3530. return Part
  3531. end
  3532. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3533. local Msh = Create(Mesh)({
  3534. Parent = Part,
  3535. Offset = OffSet,
  3536. Scale = Scale
  3537. })
  3538. if Mesh == "SpecialMesh" then
  3539. Msh.MeshType = MeshType
  3540. Msh.MeshId = MeshId
  3541. end
  3542. return Msh
  3543. end
  3544. function CreateWeld(Parent, Part0, Part1, C0, C1)
  3545. local Weld = Create("Weld")({
  3546. Parent = Parent,
  3547. Part0 = Part0,
  3548. Part1 = Part1,
  3549. C0 = C0,
  3550. C1 = C1
  3551. })
  3552. return Weld
  3553. end
  3554.  
  3555. local ff = Instance.new("ForceField",char)
  3556. ff.Visible = false
  3557.  
  3558. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  3559. local gui = it(GuiType)
  3560. gui.Parent = parent
  3561. gui.Text = text
  3562. gui.BackgroundTransparency = backtrans
  3563. gui.BackgroundColor3 = backcol
  3564. gui.SizeConstraint = "RelativeXY"
  3565. gui.TextXAlignment = "Center"
  3566. gui.TextYAlignment = "Center"
  3567. gui.Position = pos
  3568. gui.Size = size
  3569. gui.Font = "SourceSans"
  3570. gui.FontSize = "Size14"
  3571. gui.TextWrapped = false
  3572. gui.TextStrokeTransparency = 0
  3573. gui.TextColor = BrickColor.new("White")
  3574. return gui
  3575. end
  3576. ---- GUI set
  3577. local basgui = it("GuiMain")
  3578. basgui.Parent = plr.PlayerGui
  3579. basgui.Name = "Killcounter GUI"
  3580. local basframe = it("Frame")
  3581. basframe.Parent = basgui
  3582. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  3583. basframe.BackgroundTransparency = 1
  3584. basframe.BorderColor3 = Color3.new(17, 17, 17)
  3585. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  3586. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  3587.  
  3588. local basframelist = it("Frame")
  3589. basframelist.Parent = basgui
  3590. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  3591. basframelist.BackgroundTransparency = 1
  3592. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  3593. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  3594. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  3595.  
  3596. 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))
  3597. uhh.ZIndex = 2
  3598. uhh.Font = "Arcade"
  3599. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  3600. uhh.TextColor3 = Color3.new(0,0,0)
  3601. uhh.BackgroundTransparency = 1
  3602. uhh.BorderSizePixel = 0.65
  3603. uhh.TextScaled = false
  3604. uhh.TextXAlignment = "Left"
  3605. uhh.Text = "Kills : 0"
  3606. uhh.TextSize = 54
  3607.  
  3608.  
  3609. 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))
  3610. uhh2.ZIndex = 2
  3611. uhh2.Font = "Bodoni"
  3612. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  3613. uhh2.TextColor3 = Color3.new(0,0,0)
  3614. uhh2.BackgroundTransparency = 1
  3615. uhh2.BorderSizePixel = 0.65
  3616. uhh2.TextScaled = false
  3617. uhh2.TextXAlignment = "Left"
  3618. uhh2.Text = "Required kills for second mutated arm: 15"
  3619. uhh2.TextSize = 24
  3620. 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))
  3621. uhh3.ZIndex = 2
  3622. uhh3.Font = "Bodoni"
  3623. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  3624. uhh3.TextColor3 = Color3.new(0,0,0)
  3625. uhh3.BackgroundTransparency = 1
  3626. uhh3.BorderSizePixel = 0.65
  3627. uhh3.TextScaled = false
  3628. uhh3.TextXAlignment = "Left"
  3629. uhh3.Text = "Required kills for the end: 50"
  3630. uhh3.TextSize = 24
  3631.  
  3632.  
  3633. Player=game:GetService("Players").LocalPlayer
  3634. Character=Player.Character
  3635. local Mouse = Player:GetMouse()
  3636. PlayerGui=Player.PlayerGui
  3637. Backpack=Player.Backpack
  3638. Torso=Character.Torso
  3639. Head=Character.Head
  3640. Humanoid=Character.Humanoid
  3641. m=Instance.new('Model',Character)
  3642. LeftArm=Character["Left Arm"]
  3643. LeftLeg=Character["Left Leg"]
  3644. RightArm=Character["Right Arm"]
  3645. RightLeg=Character["Right Leg"]
  3646. LS=Torso["Left Shoulder"]
  3647. LH=Torso["Left Hip"]
  3648. RS=Torso["Right Shoulder"]
  3649. RH=Torso["Right Hip"]
  3650. Face = Head.face
  3651. Neck=Torso.Neck
  3652. it=Instance.new
  3653. attacktype=1
  3654. vt=Vector3.new
  3655. cf=CFrame.new
  3656. euler=CFrame.fromEulerAnglesXYZ
  3657. angles=CFrame.Angles
  3658. cloaked=false
  3659. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3660. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3661. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3662. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3663. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3664. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3665. RootPart=Character.HumanoidRootPart
  3666. RootJoint=RootPart.RootJoint
  3667. RootCF=euler(-1.57,0,3.14)
  3668. attack = false
  3669. attackdebounce = false
  3670. deb=false
  3671. equipped=true
  3672. hand=false
  3673. MMouse=nil
  3674. combo=0
  3675. mana=0
  3676. trispeed=.2
  3677. attackmode='none'
  3678. local idle=0
  3679. local Anim="Idle"
  3680. local Effects={}
  3681. local gun=false
  3682. local shoot=false
  3683. local sine = 0
  3684. local change = 1
  3685. player=nil
  3686.  
  3687. mouse=Player:GetMouse()
  3688. --save shoulders
  3689. RSH, LSH=nil, nil
  3690. --welds
  3691. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3692. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3693. LH=Torso["Left Hip"]
  3694. RH=Torso["Right Hip"]
  3695. TorsoColor=Torso.BrickColor
  3696. function NoOutline(Part)
  3697. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3698. end
  3699. player=Player
  3700. ch=Character
  3701. RSH=ch.Torso["Right Shoulder"]
  3702. LSH=ch.Torso["Left Shoulder"]
  3703. --
  3704. RSH.Parent=nil
  3705. LSH.Parent=nil
  3706. --
  3707. RW.Name="Right Shoulder"
  3708. RW.Part0=ch.Torso
  3709. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3710. RW.C1=cf(0, 0.5, 0)
  3711. RW.Part1=ch["Right Arm"]
  3712. RW.Parent=ch.Torso
  3713. --
  3714. LW.Name="Left Shoulder"
  3715. LW.Part0=ch.Torso
  3716. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3717. LW.C1=cf(0, 0.5, 0)
  3718. LW.Part1=ch["Left Arm"]
  3719. LW.Parent=ch.Torso
  3720.  
  3721. local Stats=Instance.new("BoolValue")
  3722. Stats.Name="Stats"
  3723. Stats.Parent=Character
  3724. local Atk=Instance.new("NumberValue")
  3725. Atk.Name="Damage"
  3726. Atk.Parent=Stats
  3727. Atk.Value=1
  3728. local Def=Instance.new("NumberValue")
  3729. Def.Name="Defense"
  3730. Def.Parent=Stats
  3731. Def.Value=1
  3732. local Speed=Instance.new("NumberValue")
  3733. Speed.Name="Speed"
  3734. Speed.Parent=Stats
  3735. Speed.Value=1
  3736. local Mvmt=Instance.new("NumberValue")
  3737. Mvmt.Name="Movement"
  3738. Mvmt.Parent=Stats
  3739. Mvmt.Value=1
  3740.  
  3741. local donum=0
  3742.  
  3743.  
  3744. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3745. local fp=it("Part")
  3746. fp.formFactor=formfactor
  3747. fp.Parent=parent
  3748. fp.Reflectance=reflectance
  3749. fp.Transparency=transparency
  3750. fp.CanCollide=false
  3751. fp.Locked=true
  3752. fp.BrickColor=brickcolor
  3753. fp.Name=name
  3754. fp.Size=size
  3755. fp.Position=Torso.Position
  3756. NoOutline(fp)
  3757. fp.Material="SmoothPlastic"
  3758. fp:BreakJoints()
  3759. return fp
  3760. end
  3761.  
  3762. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3763. local mesh=it(Mesh)
  3764. mesh.Parent=part
  3765. if Mesh=="SpecialMesh" then
  3766. mesh.MeshType=meshtype
  3767. if meshid~="nil" then
  3768. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3769. end
  3770. end
  3771. mesh.Offset=offset
  3772. mesh.Scale=scale
  3773. return mesh
  3774. end
  3775.  
  3776. function weld(parent,part0,part1,c0)
  3777. local weld=it("Weld")
  3778. weld.Parent=parent
  3779. weld.Part0=part0
  3780. weld.Part1=part1
  3781. weld.C0=c0
  3782. return weld
  3783. end
  3784.  
  3785. local Color1=Torso.BrickColor
  3786.  
  3787. local bodvel=Instance.new("BodyVelocity")
  3788. local bg=Instance.new("BodyGyro")
  3789.  
  3790. function swait(num)
  3791. if num==0 or num==nil then
  3792. game:service'RunService'.Stepped:wait(0)
  3793. else
  3794. for i=0,num do
  3795. game:service'RunService'.Stepped:wait(0)
  3796. end
  3797. end
  3798. end
  3799.  
  3800.  
  3801. so = function(id,par,vol,pit)
  3802. coroutine.resume(coroutine.create(function()
  3803. local sou = Instance.new("Sound",par or workspace)
  3804. sou.Volume=vol
  3805. sou.Pitch=pit or 1
  3806. sou.SoundId=id
  3807. swait()
  3808. sou:play()
  3809. game:GetService("Debris"):AddItem(sou,6)
  3810. end))
  3811. end
  3812.  
  3813. function clerp(a,b,t)
  3814. local qa = {QuaternionFromCFrame(a)}
  3815. local qb = {QuaternionFromCFrame(b)}
  3816. local ax, ay, az = a.x, a.y, a.z
  3817. local bx, by, bz = b.x, b.y, b.z
  3818. local _t = 1-t
  3819. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3820. end
  3821.  
  3822. function QuaternionFromCFrame(cf)
  3823. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3824. local trace = m00 + m11 + m22
  3825. if trace > 0 then
  3826. local s = math.sqrt(1 + trace)
  3827. local recip = 0.5/s
  3828. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3829. else
  3830. local i = 0
  3831. if m11 > m00 then
  3832. i = 1
  3833. end
  3834. if m22 > (i == 0 and m00 or m11) then
  3835. i = 2
  3836. end
  3837. if i == 0 then
  3838. local s = math.sqrt(m00-m11-m22+1)
  3839. local recip = 0.5/s
  3840. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3841. elseif i == 1 then
  3842. local s = math.sqrt(m11-m22-m00+1)
  3843. local recip = 0.5/s
  3844. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3845. elseif i == 2 then
  3846. local s = math.sqrt(m22-m00-m11+1)
  3847. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3848. end
  3849. end
  3850. end
  3851.  
  3852. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3853. local xs, ys, zs = x + x, y + y, z + z
  3854. local wx, wy, wz = w*xs, w*ys, w*zs
  3855. local xx = x*xs
  3856. local xy = x*ys
  3857. local xz = x*zs
  3858. local yy = y*ys
  3859. local yz = y*zs
  3860. local zz = z*zs
  3861. 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))
  3862. end
  3863.  
  3864. function QuaternionSlerp(a, b, t)
  3865. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3866. local startInterp, finishInterp;
  3867. if cosTheta >= 0.0001 then
  3868. if (1 - cosTheta) > 0.0001 then
  3869. local theta = math.acos(cosTheta)
  3870. local invSinTheta = 1/math.sin(theta)
  3871. startInterp = math.sin((1-t)*theta)*invSinTheta
  3872. finishInterp = math.sin(t*theta)*invSinTheta
  3873. else
  3874. startInterp = 1-t
  3875. finishInterp = t
  3876. end
  3877. else
  3878. if (1+cosTheta) > 0.0001 then
  3879. local theta = math.acos(-cosTheta)
  3880. local invSinTheta = 1/math.sin(theta)
  3881. startInterp = math.sin((t-1)*theta)*invSinTheta
  3882. finishInterp = math.sin(t*theta)*invSinTheta
  3883. else
  3884. startInterp = t-1
  3885. finishInterp = t
  3886. end
  3887. end
  3888. 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
  3889. end
  3890.  
  3891. local function CFrameFromTopBack(at, top, back)
  3892. local right = top:Cross(back)
  3893. return CFrame.new(at.x, at.y, at.z,
  3894. right.x, top.x, back.x,
  3895. right.y, top.y, back.y,
  3896. right.z, top.z, back.z)
  3897. end
  3898.  
  3899. function Triangle(a, b, c)
  3900. local edg1 = (c-a):Dot((b-a).unit)
  3901. local edg2 = (a-b):Dot((c-b).unit)
  3902. local edg3 = (b-c):Dot((a-c).unit)
  3903. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3904. a, b, c = a, b, c
  3905. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3906. a, b, c = b, c, a
  3907. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3908. a, b, c = c, a, b
  3909. else
  3910. assert(false, "unreachable")
  3911. end
  3912.  
  3913. local len1 = (c-a):Dot((b-a).unit)
  3914. local len2 = (b-a).magnitude - len1
  3915. local width = (a + (b-a).unit*len1 - c).magnitude
  3916.  
  3917. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3918.  
  3919. local list = {}
  3920.  
  3921. if len1 > 0.01 then
  3922. local w1 = Instance.new('WedgePart', m)
  3923. game:GetService("Debris"):AddItem(w1,5)
  3924. w1.Material = "SmoothPlastic"
  3925. w1.FormFactor = 'Custom'
  3926. w1.BrickColor = BrickColor.new("Really red")
  3927. w1.Transparency = 0
  3928. w1.Reflectance = 0
  3929. w1.Material = "SmoothPlastic"
  3930. w1.CanCollide = false
  3931. local l1 = Instance.new("PointLight",w1)
  3932. l1.Color = Color3.new(170,0,0)
  3933. NoOutline(w1)
  3934. local sz = Vector3.new(0.2, width, len1)
  3935. w1.Size = sz
  3936. local sp = Instance.new("SpecialMesh",w1)
  3937. sp.MeshType = "Wedge"
  3938. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3939. w1:BreakJoints()
  3940. w1.Anchored = true
  3941. w1.Parent = workspace
  3942. w1.Transparency = 0.7
  3943. table.insert(Effects,{w1,"Disappear",.01})
  3944. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3945. table.insert(list,w1)
  3946. end
  3947.  
  3948. if len2 > 0.01 then
  3949. local w2 = Instance.new('WedgePart', m)
  3950. game:GetService("Debris"):AddItem(w2,5)
  3951. w2.Material = "SmoothPlastic"
  3952. w2.FormFactor = 'Custom'
  3953. w2.BrickColor = BrickColor.new("Really red")
  3954. w2.Transparency = 0
  3955. w2.Reflectance = 0
  3956. w2.Material = "SmoothPlastic"
  3957. w2.CanCollide = false
  3958. local l2 = Instance.new("PointLight",w2)
  3959. l2.Color = Color3.new(170,0,0)
  3960. NoOutline(w2)
  3961. local sz = Vector3.new(0.2, width, len2)
  3962. w2.Size = sz
  3963. local sp = Instance.new("SpecialMesh",w2)
  3964. sp.MeshType = "Wedge"
  3965. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3966. w2:BreakJoints()
  3967. w2.Anchored = true
  3968. w2.Parent = workspace
  3969. w2.Transparency = 0.7
  3970. table.insert(Effects,{w2,"Disappear",.01})
  3971. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3972. table.insert(list,w2)
  3973. end
  3974. return unpack(list)
  3975. end
  3976.  
  3977.  
  3978. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3979. if hit.Parent == nil then
  3980. return
  3981. end
  3982. local h = hit.Parent:FindFirstChild("Humanoid")
  3983. for _, v in pairs(hit.Parent:children()) do
  3984. if v:IsA("Humanoid") then
  3985. h = v
  3986. end
  3987. end
  3988. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3989. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3990. return
  3991. end
  3992. local c = Create("ObjectValue")({
  3993. Name = "creator",
  3994. Value = game:service("Players").LocalPlayer,
  3995. Parent = h
  3996. })
  3997. game:GetService("Debris"):AddItem(c, 0.5)
  3998. if HitSound ~= nil and HitPitch ~= nil then
  3999. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  4000. end
  4001. local Damage = math.random(minim, maxim)
  4002. local blocked = false
  4003. local block = hit.Parent:findFirstChild("Block")
  4004. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  4005. blocked = true
  4006. block.Value = block.Value - 1
  4007. print(block.Value)
  4008. end
  4009. if blocked == false then
  4010. HitHealth = h.Health
  4011. h.Health = h.Health - Damage
  4012. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  4013. print("gained kill")
  4014. end
  4015. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4016. else
  4017. h.Health = h.Health - Damage / 2
  4018. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4019. end
  4020. if Type == "Knockdown" then
  4021. local hum = hit.Parent.Humanoid
  4022. hum.PlatformStand = true
  4023. coroutine.resume(coroutine.create(function(HHumanoid)
  4024. swait(1)
  4025. HHumanoid.PlatformStand = false
  4026. end), hum)
  4027. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  4028. local bodvol = Create("BodyVelocity")({
  4029. velocity = angle * knockback,
  4030. P = 5000,
  4031. maxForce = Vector3.new(8000, 8000, 8000),
  4032. Parent = hit
  4033. })
  4034. local rl = Create("BodyAngularVelocity")({
  4035. P = 3000,
  4036. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  4037. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  4038. Parent = hit
  4039. })
  4040. game:GetService("Debris"):AddItem(bodvol, 0.5)
  4041. game:GetService("Debris"):AddItem(rl, 0.5)
  4042. elseif Type == "Normal" then
  4043. local vp = Create("BodyVelocity")({
  4044. P = 500,
  4045. maxForce = Vector3.new(math.huge, 0, math.huge),
  4046. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  4047. })
  4048. if knockback > 0 then
  4049. vp.Parent = hit.Parent.Torso
  4050. end
  4051. game:GetService("Debris"):AddItem(vp, 0.5)
  4052. elseif Type == "Up" then
  4053. local bodyVelocity = Create("BodyVelocity")({
  4054. velocity = Vector3.new(0, 20, 0),
  4055. P = 5000,
  4056. maxForce = Vector3.new(8000, 8000, 8000),
  4057. Parent = hit
  4058. })
  4059. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4060. local bodyVelocity = Create("BodyVelocity")({
  4061. velocity = Vector3.new(0, 20, 0),
  4062. P = 5000,
  4063. maxForce = Vector3.new(8000, 8000, 8000),
  4064. Parent = hit
  4065. })
  4066. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4067. elseif Type == "Leech" then
  4068. local hum = hit.Parent.Humanoid
  4069. if hum ~= nil then
  4070. for i = 0, 2 do
  4071. 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)
  4072. end
  4073. Humanoid.Health = Humanoid.Health + 10
  4074. end
  4075. elseif Type == "UpKnock" then
  4076. local hum = hit.Parent.Humanoid
  4077. hum.PlatformStand = true
  4078. if hum ~= nil then
  4079. hitr = true
  4080. end
  4081. coroutine.resume(coroutine.create(function(HHumanoid)
  4082. swait(5)
  4083. HHumanoid.PlatformStand = false
  4084. hitr = false
  4085. end), hum)
  4086. local bodyVelocity = Create("BodyVelocity")({
  4087. velocity = Vector3.new(0, 20, 0),
  4088. P = 5000,
  4089. maxForce = Vector3.new(8000, 8000, 8000),
  4090. Parent = hit
  4091. })
  4092. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4093. local bodyVelocity = Create("BodyVelocity")({
  4094. velocity = Vector3.new(0, 20, 0),
  4095. P = 5000,
  4096. maxForce = Vector3.new(8000, 8000, 8000),
  4097. Parent = hit
  4098. })
  4099. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4100. elseif Type == "Snare" then
  4101. local bp = Create("BodyPosition")({
  4102. P = 2000,
  4103. D = 100,
  4104. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4105. position = hit.Parent.Torso.Position,
  4106. Parent = hit.Parent.Torso
  4107. })
  4108. game:GetService("Debris"):AddItem(bp, 1)
  4109. elseif Type == "Slashnare" then
  4110. 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)
  4111. for i = 1, math.random(4, 5) do
  4112. 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)
  4113. end
  4114. local bp = Create("BodyPosition")({
  4115. P = 2000,
  4116. D = 100,
  4117. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4118. position = hit.Parent.Torso.Position,
  4119. Parent = hit.Parent.Torso
  4120. })
  4121. game:GetService("Debris"):AddItem(bp, 1)
  4122. elseif Type == "Spike" then
  4123. CreateBigIceSword(hit.Parent.Torso.CFrame)
  4124. local bp = Create("BodyPosition")({
  4125. P = 2000,
  4126. D = 100,
  4127. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4128. position = hit.Parent.Torso.Position,
  4129. Parent = hit.Parent.Torso
  4130. })
  4131. game:GetService("Debris"):AddItem(bp, 1)
  4132. elseif Type == "Freeze" then
  4133. local BodPos = Create("BodyPosition")({
  4134. P = 50000,
  4135. D = 1000,
  4136. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4137. position = hit.Parent.Torso.Position,
  4138. Parent = hit.Parent.Torso
  4139. })
  4140. local BodGy = Create("BodyGyro")({
  4141. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  4142. P = 20000,
  4143. Parent = hit.Parent.Torso,
  4144. cframe = hit.Parent.Torso.CFrame
  4145. })
  4146. hit.Parent.Torso.Anchored = true
  4147. coroutine.resume(coroutine.create(function(Part)
  4148. swait(1.5)
  4149. Part.Anchored = false
  4150. end), hit.Parent.Torso)
  4151. game:GetService("Debris"):AddItem(BodPos, 3)
  4152. game:GetService("Debris"):AddItem(BodGy, 3)
  4153. end
  4154. local debounce = Create("BoolValue")({
  4155. Name = "DebounceHit",
  4156. Parent = hit.Parent,
  4157. Value = true
  4158. })
  4159. game:GetService("Debris"):AddItem(debounce, Delay)
  4160. c = Instance.new("ObjectValue")
  4161. c.Name = "creator"
  4162. c.Value = Player
  4163. c.Parent = h
  4164. game:GetService("Debris"):AddItem(c, 0.5)
  4165. end
  4166. end
  4167. function ShowDamage(Pos, Text, Time, Color)
  4168. local Rate = 0.03333333333333333
  4169. local Pos = Pos or Vector3.new(0, 0, 0)
  4170. local Text = Text or ""
  4171. local Time = Time or 2
  4172. local Color = Color or Color3.new(1, 0, 1)
  4173. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  4174. EffectPart.Anchored = true
  4175. local BillboardGui = Create("BillboardGui")({
  4176. Size = UDim2.new(3, 0, 3, 0),
  4177. Adornee = EffectPart,
  4178. Parent = EffectPart
  4179. })
  4180. local TextLabel = Create("TextLabel")({
  4181. BackgroundTransparency = 1,
  4182. Size = UDim2.new(1, 0, 1, 0),
  4183. Text = Text,
  4184. TextColor3 = Color,
  4185. TextScaled = true,
  4186. Font = Enum.Font.ArialBold,
  4187. Parent = BillboardGui
  4188. })
  4189. game.Debris:AddItem(EffectPart, Time + 0.1)
  4190. EffectPart.Parent = game:GetService("Workspace")
  4191. delay(0, function()
  4192. local Frames = Time / Rate
  4193. for Frame = 1, Frames do
  4194. wait(Rate)
  4195. local Percent = Frame / Frames
  4196. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4197. TextLabel.TextTransparency = Percent
  4198. end
  4199. if EffectPart and EffectPart.Parent then
  4200. EffectPart:Destroy()
  4201. end
  4202. end)
  4203. end
  4204. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  4205. for _, c in pairs(workspace:children()) do
  4206. local hum = c:findFirstChild("Humanoid")
  4207. if hum ~= nil then
  4208. local head = c:findFirstChild("Torso")
  4209. if head ~= nil then
  4210. local targ = head.Position - Part.Position
  4211. local mag = targ.magnitude
  4212. if magni >= mag and c.Name ~= Player.Name then
  4213. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4214. end
  4215. end
  4216. end
  4217. end
  4218. end
  4219.  
  4220. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  4221. for _, c in pairs(workspace:children()) do
  4222. local hum = c:findFirstChild("Humanoid")
  4223. if hum ~= nil then
  4224. local head = c:findFirstChild("Torso")
  4225. if head ~= nil then
  4226. local targ = head.Position - Part.Position
  4227. local mag = targ.magnitude
  4228. if magni >= mag and c.Name ~= Player.Name then
  4229. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  4230. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4231. end
  4232. end
  4233. end
  4234. end
  4235. end
  4236.  
  4237. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  4238. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4239. end
  4240.  
  4241. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  4242. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4243. prt.Anchored=true
  4244. prt.CFrame=cframe
  4245. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  4246. --http://www.roblox.com/asset/?id=4770560
  4247. game:GetService("Debris"):AddItem(prt,2)
  4248. CF=prt.CFrame
  4249. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  4250. for i=0,1,0.2 do
  4251. wait()
  4252. Part.CFrame=CF*cf(0,0,-0.4)
  4253. end
  4254. for i=0,1,delay do
  4255. wait()
  4256. --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)
  4257. Mesh.Scale=Mesh.Scale
  4258. end
  4259. for i=0,1,0.1 do
  4260. wait()
  4261. Part.Transparency=i
  4262. end
  4263. Part.Parent=nil
  4264. end),prt,msh,CF)
  4265. end
  4266.  
  4267. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4268. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4269. prt.Anchored=true
  4270. prt.Material = "Neon"
  4271. prt.CFrame=cframe
  4272. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4273. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4274. game:GetService("Debris"):AddItem(prt,5)
  4275. coroutine.resume(coroutine.create(function(Part,Mesh)
  4276. for i=0,1,delay do
  4277. swait()
  4278. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4279. Part.Transparency=i
  4280. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4281. end
  4282. Part.Parent=nil
  4283. end),prt,msh)
  4284. end
  4285.  
  4286. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4287. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4288. prt.Anchored=true
  4289. prt.Material = "Neon"
  4290. prt.CFrame=cframe
  4291. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4292. game:GetService("Debris"):AddItem(prt,5)
  4293. coroutine.resume(coroutine.create(function(Part,Mesh)
  4294. local rtype = rottype
  4295. for i=0,1,delay do
  4296. swait()
  4297. if rtype == 1 then
  4298. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4299. elseif rtype == 2 then
  4300. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4301. end
  4302. Part.Transparency=i
  4303. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4304. end
  4305. Part.Parent=nil
  4306. end),prt,msh)
  4307. end
  4308.  
  4309. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4310. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4311. prt.Anchored=true
  4312. prt.CFrame=cframe
  4313. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4314. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4315. game:GetService("Debris"):AddItem(prt,5)
  4316. coroutine.resume(coroutine.create(function(Part,Mesh)
  4317. for i=0,1,delay do
  4318. wait()
  4319. Part.Transparency=i
  4320. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4321. end
  4322. Part.Parent=nil
  4323. end),prt,msh)
  4324. end
  4325.  
  4326. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4327. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4328. prt.Anchored=true
  4329. prt.Material = "Neon"
  4330. prt.CFrame=cframe
  4331. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4332. game:GetService("Debris"):AddItem(prt,5)
  4333. coroutine.resume(coroutine.create(function(Part,Mesh)
  4334. local rtype = rottype
  4335. for i=0,1,delay do
  4336. swait()
  4337. if rtype == 1 then
  4338. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4339. elseif rtype == 2 then
  4340. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4341. end
  4342. Part.Transparency=i
  4343. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4344. end
  4345. Part.Parent=nil
  4346. end),prt,msh)
  4347. end
  4348.  
  4349. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4350. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4351. prt.Anchored=true
  4352. prt.Material = "Neon"
  4353. prt.CFrame=cframe
  4354. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4355. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4356. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4357. game:GetService("Debris"):AddItem(prt,5)
  4358. coroutine.resume(coroutine.create(function(Part,Mesh)
  4359. local rtype = rottype
  4360. for i=0,1,delay do
  4361. swait()
  4362. if rtype == 1 then
  4363. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4364. elseif rtype == 2 then
  4365. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4366. end
  4367. dec.Transparency=i
  4368. dec2.Transparency=i
  4369. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4370. end
  4371. Part.Parent=nil
  4372. end),prt,msh)
  4373. end
  4374.  
  4375. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4376. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4377. prt.Anchored=true
  4378. prt.Material = "Neon"
  4379. prt.CFrame=cframe
  4380. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4381. game:GetService("Debris"):AddItem(prt,5)
  4382. coroutine.resume(coroutine.create(function(Part,Mesh)
  4383. local rtype = rottype
  4384. for i=0,1,delay do
  4385. swait()
  4386. if rtype == 1 then
  4387. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4388. elseif rtype == 2 then
  4389. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4390. end
  4391. prt.Transparency=i
  4392. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4393. end
  4394. Part.Parent=nil
  4395. end),prt,msh)
  4396. end
  4397.  
  4398. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  4399. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4400. prt.Anchored=true
  4401. prt.Material = "Neon"
  4402. prt.CFrame=cframe
  4403. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  4404. game:GetService("Debris"):AddItem(prt,5)
  4405. coroutine.resume(coroutine.create(function(Part,Mesh)
  4406. local rtype = rottype
  4407. for i=0,1,delay do
  4408. swait()
  4409. if rtype == 1 then
  4410. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  4411. elseif rtype == 2 then
  4412. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  4413. end
  4414. prt.Transparency=i
  4415. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  4416. end
  4417. Part.Parent=nil
  4418. end),prt,msh)
  4419. end
  4420.  
  4421. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  4422. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4423. prt.Anchored=true
  4424. prt.Material = "Neon"
  4425. prt.CFrame=cframe
  4426. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4427. game:GetService("Debris"):AddItem(prt,5)
  4428. coroutine.resume(coroutine.create(function(Part,Mesh)
  4429. local rtype = rottype
  4430. for i=0,1,delay do
  4431. swait()
  4432. if rtype == 1 then
  4433. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4434. elseif rtype == 2 then
  4435. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4436. end
  4437. prt.Transparency=i
  4438. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4439. end
  4440. Part.Parent=nil
  4441. end),prt,msh)
  4442. end
  4443.  
  4444. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4445. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4446. prt.Anchored=true
  4447. prt.Material = "Neon"
  4448. prt.CFrame=cframe
  4449. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4450. game:GetService("Debris"):AddItem(prt,5)
  4451. coroutine.resume(coroutine.create(function(Part,Mesh)
  4452. local rtype = rottype
  4453. for i=0,1,delay do
  4454. swait()
  4455. if rtype == 1 then
  4456. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4457. elseif rtype == 2 then
  4458. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4459. end
  4460. prt.Transparency=i
  4461. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4462. end
  4463. Part.Parent=nil
  4464. end),prt,msh)
  4465. end
  4466.  
  4467. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4468. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4469. prt.Anchored=false
  4470. prt.CFrame=cframe
  4471. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4472. local wld=weld(prt,prt,Parent,cframe)
  4473. game:GetService("Debris"):AddItem(prt,5)
  4474. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4475. for i=0,1,delay do
  4476. wait()
  4477. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  4478. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4479. Part.Transparency=i
  4480. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4481. end
  4482. Part.Parent=nil
  4483. end),prt,msh,wld)
  4484. end
  4485.  
  4486. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4487. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4488. prt.Anchored=false
  4489. prt.CFrame=cframe
  4490. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4491. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  4492. game:GetService("Debris"):AddItem(prt,5)
  4493. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4494. for i=0,1,delay do
  4495. wait()
  4496. Weld.C0=euler(i*20,0,0)
  4497. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4498. Part.Transparency=i
  4499. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4500. end
  4501. Part.Parent=nil
  4502. end),prt,msh,wld)
  4503. end
  4504.  
  4505. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4506. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4507. prt.Anchored=true
  4508. prt.CFrame=cframe
  4509. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4510. game:GetService("Debris"):AddItem(prt,2)
  4511. coroutine.resume(coroutine.create(function(Part,Mesh)
  4512. for i=0,1,delay do
  4513. wait()
  4514. Part.CFrame=Part.CFrame
  4515. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4516. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4517. prt2.Anchored=true
  4518. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4519. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  4520. game:GetService("Debris"):AddItem(prt2,2)
  4521. coroutine.resume(coroutine.create(function(Part,Mesh)
  4522. for i=0,1,0.1 do
  4523. wait()
  4524. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  4525. end
  4526. Part.Parent=nil
  4527. end),prt2,msh2)
  4528. end
  4529. for i=0,1,delay*2 do
  4530. wait()
  4531. Part.CFrame=Part.CFrame
  4532. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  4533. end
  4534. Part.Parent=nil
  4535. end),prt,msh)
  4536. end
  4537.  
  4538. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4539. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4540. prt.Anchored=true
  4541. prt.CFrame=cframe
  4542. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4543. game:GetService("Debris"):AddItem(prt,2)
  4544. coroutine.resume(coroutine.create(function(Part,Mesh)
  4545. for i=0,1,delay do
  4546. wait()
  4547. Part.CFrame=Part.CFrame
  4548. Part.Transparency=i
  4549. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4550. end
  4551. Part.Parent=nil
  4552. end),prt,msh)
  4553. end
  4554.  
  4555. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  4556. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4557. prt.Anchored=true
  4558. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4559. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4560. game:GetService("Debris"):AddItem(prt,2)
  4561. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  4562. CF=Part.CFrame
  4563. Numbb=0
  4564. randnumb=math.random()/10
  4565. rand1=math.random()/10
  4566. for i=0,1,rand1 do
  4567. wait()
  4568. CF=CF*cf(0,math.random()/2,0)
  4569. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  4570. Part.CFrame=CF*euler(Numbb,0,0)
  4571. Part.Transparency=i
  4572. Numbb=Numbb+randnumb
  4573. end
  4574. Part.Parent=nil
  4575. end),prt,CF,Numbb,randnumb)
  4576. end
  4577.  
  4578. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4579. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4580. prt.Anchored=true
  4581. prt.CFrame=cframe
  4582. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  4583. game:GetService("Debris"):AddItem(prt,5)
  4584. coroutine.resume(coroutine.create(function(Part,Mesh)
  4585. for i=0,1,delay do
  4586. wait()
  4587. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  4588. Part.Transparency=i
  4589. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4590. end
  4591. Part.Parent=nil
  4592. end),prt,msh)
  4593. end
  4594.  
  4595. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4596. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4597. prt.Anchored=true
  4598. prt.CFrame=cframe
  4599. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4600. game:GetService("Debris"):AddItem(prt,2)
  4601. coroutine.resume(coroutine.create(function(Part,Mesh)
  4602. for i=0,1,delay do
  4603. wait()
  4604. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  4605. Part.Transparency=i
  4606. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4607. end
  4608. Part.Parent=nil
  4609. end),prt,msh)
  4610. end
  4611.  
  4612. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  4613. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4614. prt.Anchored=true
  4615. prt.CFrame=cframe*cf(x,y,z)
  4616. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  4617. game:GetService("Debris"):AddItem(prt,5)
  4618. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  4619. local num=math.random()
  4620. local num2=math.random(-3,2)+math.random()
  4621. local numm=0
  4622. for i=0,1,delay*2 do
  4623. swait()
  4624. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  4625. Part.Transparency=i
  4626. numm=numm+0.01
  4627. end
  4628. Part.Parent=nil
  4629. Mesh.Parent=nil
  4630. end),prt,msh,x,y,z)
  4631. end
  4632.  
  4633. function dmgstart(dmg,what)
  4634. hitcon = what.Touched:connect(function(hit)
  4635. local hum = hit.Parent:FindFirstChild("Humanoid")
  4636. if hum and not hum:IsDescendantOf(Character) then
  4637. hum:TakeDamage(dmg)
  4638. end
  4639. end)
  4640. end
  4641.  
  4642. function dmgstop()
  4643. hitcon:disconnect()
  4644. end
  4645.  
  4646. function Cloak()
  4647. Face.Parent=nil
  4648. cloaked=true
  4649. for _,v in pairs(Torso.Parent:children()) do
  4650. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4651. coroutine.resume(coroutine.create(function()
  4652. for i=0,1,0.2 do
  4653. wait()
  4654. v.Transparency=i
  4655. end
  4656. v.Transparency=1
  4657. end))
  4658. end
  4659. if v.className=="Hat" then
  4660. hatp=v.Handle
  4661. coroutine.resume(coroutine.create(function(derp)
  4662. for i=0,1,0.2 do
  4663. wait()
  4664. derp.Transparency=i
  4665. end
  4666. derp.Transparency=1
  4667. end),hatp)
  4668. end
  4669. end
  4670. for _,v in pairs(m:children()) do
  4671. if v.className=="Part" then
  4672. coroutine.resume(coroutine.create(function()
  4673. for i=0,1,0.2 do
  4674. wait()
  4675. v.Transparency=i
  4676. end
  4677. v.Transparency=1
  4678. end))
  4679. end
  4680. end
  4681. end
  4682.  
  4683. function UnCloak()
  4684. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  4685. Face.Parent=Head
  4686. cloaked=false
  4687. for _,v in pairs(Torso.Parent:children()) do
  4688. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4689. coroutine.resume(coroutine.create(function()
  4690. for i=0,1,0.1 do
  4691. wait()
  4692. v.Transparency=v.Transparency-0.1
  4693. end
  4694. v.Transparency=0
  4695. end))
  4696. end
  4697. if v.className=="Hat" then
  4698. hatp=v.Handle
  4699. coroutine.resume(coroutine.create(function(derp)
  4700. for i=0,1,0.1 do
  4701. wait()
  4702. derp.Transparency=derp.Transparency-0.1
  4703. end
  4704. derp.Transparency=0
  4705. end),hatp)
  4706. end
  4707. end
  4708. for _,v in pairs(m:children()) do
  4709. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  4710. coroutine.resume(coroutine.create(function()
  4711. for i=0,1,0.1 do
  4712. wait()
  4713. v.Transparency=v.Transparency-0.1
  4714. end
  4715. v.Transparency=0
  4716. end))
  4717. v.Transparency=0
  4718. end
  4719. end
  4720. end
  4721.  
  4722. local origcolor = BrickColor.new("Dark indigo")
  4723. ---- This section of explosions.
  4724. function Explode(rad,par,pitch,vol,mindam,maxdam)
  4725. local expart = Instance.new("Part",char)
  4726. local expart2 = Instance.new("Part",char)
  4727. local rin = Instance.new("Part",char)
  4728. local rin2 = Instance.new("Part",char)
  4729. local partMesh = Instance.new("SpecialMesh",expart)
  4730. partMesh.MeshType = "Sphere"
  4731. local partMesh2 = Instance.new("SpecialMesh",expart2)
  4732. partMesh2.MeshType = "Sphere"
  4733. local partMesh3 = Instance.new("SpecialMesh",rin)
  4734. partMesh3.MeshType = "Brick"
  4735. local partMesh4 = Instance.new("SpecialMesh",rin2)
  4736. partMesh4.MeshType = "Brick"
  4737. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  4738. partMesh.Scale = vt(rad,rad,rad)
  4739. expart.Size = vt(1,1,1)
  4740. expart.Transparency = 1
  4741. expart.Anchored = true
  4742. expart.Material = "Neon"
  4743. expart.BrickColor = bc("White")
  4744. expart.CFrame = par.CFrame
  4745. partMesh2.Scale = vt(rad,rad,rad)
  4746. expart2.Size = vt(1.15,1.15,1.15)
  4747. expart2.Transparency = 0.75
  4748. expart2.Anchored = true
  4749. expart2.Material = "Glass"
  4750. expart2.BrickColor = par.BrickColor
  4751. expart2.CFrame = par.CFrame
  4752. rin.Size = vt(1.15,1.15,1.15)
  4753. rin.Transparency = 1
  4754. rin.Anchored = true
  4755. rin.Material = "Neon"
  4756. rin.BrickColor = par.BrickColor
  4757. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4758. rin2.Size = vt(1.15,1.15,1.15)
  4759. rin2.Transparency = 1
  4760. rin2.Anchored = true
  4761. rin2.Material = "Neon"
  4762. rin2.BrickColor = par.BrickColor
  4763. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4764. partMesh3.Scale = vt(0,1,0)
  4765. partMesh4.Scale = vt(0,1,0)
  4766. local dec2 = Instance.new("Decal", rin)
  4767. dec2.Face = "Top"
  4768. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  4769. dec2.Parent = rin
  4770. local dec2b = dec2:Clone()
  4771. dec2b.Face = "Bottom"
  4772. dec2b.Parent = rin
  4773.  
  4774. local dec2a = Instance.new("Decal", rin2)
  4775. dec2a.Face = "Top"
  4776. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  4777. dec2a.Parent = rin2
  4778. local dec2ab = dec2a:Clone()
  4779. dec2ab.Face = "Bottom"
  4780. dec2ab.Parent = rin2
  4781. expart.CanCollide = false
  4782. expart2.CanCollide = false
  4783. rin.CanCollide = false
  4784. rin2.CanCollide = false
  4785. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  4786. local value = 1*rad/6.5
  4787. for i = 0, 199 do
  4788. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4789. expart.CFrame = expart.CFrame
  4790. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  4791. expart2.CFrame = expart.CFrame
  4792. value = value - 0.035*rad/30
  4793. if value < 7.5 then
  4794. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  4795. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  4796. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  4797. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  4798. end
  4799. if value < 0 then
  4800. dec2.Transparency = dec2.Transparency + 0.025
  4801. dec2a.Transparency = dec2a.Transparency + 0.025
  4802. dec2b.Transparency = dec2b.Transparency + 0.025
  4803. dec2ab.Transparency = dec2ab.Transparency + 0.025
  4804. expart.Transparency = expart.Transparency + 0.025
  4805. expart2.Transparency = expart2.Transparency + 0.025
  4806. rin.Transparency = rin.Transparency + 0.025
  4807. rin2.Transparency = rin2.Transparency + 0.025
  4808. end
  4809. swait()
  4810. end
  4811. game:GetService("Debris"):AddItem(expart, 1)
  4812. game:GetService("Debris"):AddItem(expart2, 1)
  4813. game:GetService("Debris"):AddItem(rin, 1)
  4814. game:GetService("Debris"):AddItem(rin2, 1)
  4815. end
  4816.  
  4817. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  4818. local expart = Instance.new("Part",char)
  4819. local expart2 = Instance.new("Part",char)
  4820. local partMesh = Instance.new("SpecialMesh",expart)
  4821. partMesh.MeshType = "Sphere"
  4822. local partMesh2 = Instance.new("SpecialMesh",expart2)
  4823. partMesh2.MeshType = "Sphere"
  4824. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  4825. partMesh.Scale = vt(rad,rad,rad)
  4826. expart.Size = vt(1,1,1)
  4827. expart.Transparency = 0
  4828. expart.Anchored = true
  4829. expart.Material = "Neon"
  4830. expart.BrickColor = bc("White")
  4831. expart.CFrame = par.CFrame
  4832. partMesh2.Scale = vt(rad,rad,rad)
  4833. expart2.Size = vt(1.15,1.15,1.15)
  4834. expart2.Transparency = 0.5
  4835. expart2.Anchored = true
  4836. expart2.Material = "Neon"
  4837. expart2.BrickColor = par.BrickColor
  4838. expart2.CFrame = par.CFrame
  4839. expart.CanCollide = false
  4840. expart2.CanCollide = false
  4841. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  4842. local value = 1*rad/6.5
  4843. for i = 0, 75 do
  4844. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4845. expart.CFrame = expart.CFrame
  4846. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  4847. expart2.CFrame = expart.CFrame
  4848. value = value - 0.035*rad/5
  4849. if value < 0 then
  4850. value = 0
  4851. expart.Transparency = expart.Transparency + 0.05
  4852. expart2.Transparency = expart2.Transparency + 0.05
  4853. end
  4854. swait()
  4855. end
  4856. game:GetService("Debris"):AddItem(expart, 1)
  4857. game:GetService("Debris"):AddItem(expart2, 1)
  4858. end
  4859.  
  4860. function AreaDanger(rad,par,mindam,maxdam)
  4861. local expart = Instance.new("Part",char)
  4862. local partMesh = Instance.new("SpecialMesh",expart)
  4863. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  4864. partMesh.MeshType = "Sphere"
  4865. partMesh.Scale = vt(rad,rad,rad)
  4866. expart.Size = vt(1,1,1)
  4867. expart.Transparency = 0.5
  4868. expart.Anchored = true
  4869. expart.Material = "Neon"
  4870. expart.CanCollide = false
  4871. expart.BrickColor = par.BrickColor
  4872. expart.CFrame = par.CFrame
  4873. local value = 1*rad/5
  4874. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  4875. for i = 0, 14 do
  4876. wait()
  4877. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4878. expart.CFrame = expart.CFrame
  4879. value = value - 0.035*rad
  4880. if value < 0 then
  4881. value = 0
  4882. end
  4883. end
  4884. wait(0.25)
  4885. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  4886. wait(0.5)
  4887. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  4888. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  4889. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  4890. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  4891. for i = 0, 14 do
  4892. wait()
  4893. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4894. expart.CFrame = expart.CFrame
  4895. value = value - 0.035*rad/2
  4896. end
  4897. expart.Transparency = 1
  4898. game:GetService("Debris"):AddItem(expart, 5)
  4899. end
  4900.  
  4901. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  4902. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  4903. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  4904. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  4905. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  4906. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  4907. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  4908. for i = 0, 24 do
  4909. 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))
  4910. end
  4911. for i = 0, 24 do
  4912. local expart = Instance.new("Part",char)
  4913. expart.Transparency = 1
  4914. expart.Anchored = true
  4915. expart.CanCollide = false
  4916. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  4917. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  4918. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  4919. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  4920. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  4921. for i = 0, 9 do
  4922. 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))
  4923. end
  4924. game:GetService("Debris"):AddItem(expart, 2)
  4925. wait(0.1)
  4926. end
  4927. end
  4928.  
  4929. function EXterPlosion(par)
  4930. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  4931. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  4932. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  4933. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  4934. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  4935. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  4936. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  4937. for i = 0, 24 do
  4938. 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))
  4939. end
  4940. for i = 0, 24 do
  4941. 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))
  4942. end
  4943. end
  4944. ----
  4945.  
  4946. local stackingpower = 1
  4947.  
  4948. function HellsCore()
  4949. attack = true
  4950. --[[for i = 0,1,0.1 do
  4951. swait()
  4952. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4953. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  4954. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  4955. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4956. end]]--
  4957.  
  4958. local rng = Instance.new("Part", char)
  4959. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  4960. rng.Anchored = true
  4961. rng.BrickColor = origcolor
  4962. rng.CanCollide = false
  4963. rng.FormFactor = 3
  4964. rng.Name = "Ring"
  4965. rng.Material = "Neon"
  4966. rng.Size = Vector3.new(1, 1, 1)
  4967. rng.Transparency = 1
  4968. rng.TopSurface = 0
  4969. rng.BottomSurface = 0
  4970. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  4971. local rngm = Instance.new("SpecialMesh", rng)
  4972. rngm.MeshType = "Brick"
  4973. local dec = Instance.new("Decal",rng)
  4974. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  4975. dec.Face = "Top"
  4976. local dec2 = dec:Clone()
  4977. dec2.Parent = rng
  4978. dec2.Face = "Bottom"
  4979.  
  4980. local scaler2 = 1
  4981. scaler2 = 1*3
  4982. for i = 0,10,0.1 do
  4983. swait()
  4984. scaler2 = scaler2 - 0.01*3
  4985. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  4986. end
  4987. wait(3)
  4988. for i = 0,10,0.1 do
  4989. swait()
  4990. scaler2 = scaler2 - 0.01*3
  4991. dec.Transparency = dec.Transparency + 0.01
  4992. dec2.Transparency = dec2.Transparency + 0.01
  4993. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  4994. end
  4995. rng:Destroy()
  4996. attack = false
  4997. end
  4998.  
  4999.  
  5000. function FaceMouse()
  5001. Cam = workspace.CurrentCamera
  5002. return {
  5003. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  5004. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5005. }
  5006. end
  5007.  
  5008. function FaceMouse2()
  5009. Cam = workspace.CurrentCamera
  5010. return {
  5011. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  5012. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5013. }
  5014. end
  5015.  
  5016.  
  5017. local HoldingZ = false
  5018. local HoldingX = false
  5019. local HoldingC = false
  5020. local HoldingV = false
  5021. local HoldingB = false
  5022.  
  5023.  
  5024. function RingEffect(pos,startsize,size,col)
  5025. local lb = Instance.new("Part")
  5026. lb.Parent = char
  5027. lb.BrickColor = col
  5028. lb.CanCollide = false
  5029. lb.Material = "Neon"
  5030. lb.Anchored = true
  5031. lb.TopSurface = 0
  5032. lb.BottomSurface = 0
  5033. lb.Transparency = 1
  5034. lb.Size = vt(1,1,1)
  5035. lb.CFrame = pos
  5036. local thingery = Instance.new("SpecialMesh",lb)
  5037. thingery.MeshType = "Brick"
  5038. thingery.Scale = vt(startsize,0.1,startsize)
  5039. local dec2 = Instance.new("Texture", lb)
  5040. dec2.Face = "Top"
  5041. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5042. dec2.Color3 = lb.Color
  5043. dec2.Parent = lb
  5044. dec2.StudsPerTileU = startsize
  5045. dec2.StudsPerTileV = startsize
  5046. local dec2b = dec2:Clone()
  5047. dec2b.Face = "Bottom"
  5048. dec2b.Parent = lb
  5049. local randomrot = math.random(1,2)
  5050. coroutine.resume(coroutine.create(function()
  5051. for i = 0, 19 do
  5052. swait()
  5053. if randomrot == 1 then
  5054. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  5055. elseif randomrot == 2 then
  5056. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  5057. end
  5058. dec2.Transparency = dec2.Transparency + 0.05
  5059. dec2b.Transparency = dec2b.Transparency + 0.05
  5060. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  5061. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  5062. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  5063. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  5064. thingery.Scale = thingery.Scale + vt(size,0,size)
  5065. end
  5066. lb:Destroy()
  5067. end))
  5068. end
  5069.  
  5070. function SlowRingEffect(pos,startsize,size,col)
  5071. local lb = Instance.new("Part")
  5072. lb.Parent = char
  5073. lb.BrickColor = col
  5074. lb.CanCollide = false
  5075. lb.Material = "Neon"
  5076. lb.Anchored = true
  5077. lb.TopSurface = 0
  5078. lb.BottomSurface = 0
  5079. lb.Transparency = 1
  5080. lb.Size = vt(1,1,1)
  5081. lb.CFrame = pos
  5082. local thingery = Instance.new("SpecialMesh",lb)
  5083. thingery.MeshType = "Brick"
  5084. thingery.Scale = vt(startsize,0.1,startsize)
  5085. local dec2 = Instance.new("Decal", lb)
  5086. dec2.Face = "Top"
  5087. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5088. dec2.Color3 = lb.Color
  5089. dec2.Parent = lb
  5090. local dec2b = dec2:Clone()
  5091. dec2b.Face = "Bottom"
  5092. dec2b.Parent = lb
  5093. local randomrot = math.random(1,2)
  5094. coroutine.resume(coroutine.create(function()
  5095. for i = 0, 49 do
  5096. swait()
  5097. if randomrot == 1 then
  5098. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  5099. elseif randomrot == 2 then
  5100. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  5101. end
  5102. dec2.Transparency = dec2.Transparency + 0.02
  5103. dec2b.Transparency = dec2b.Transparency + 0.02
  5104. thingery.Scale = thingery.Scale + vt(size,0,size)
  5105. end
  5106. lb:Destroy()
  5107. end))
  5108. end
  5109.  
  5110.  
  5111. function groundringaa(pos)
  5112. local rng = Instance.new("Part", char)
  5113. rng.Anchored = true
  5114. rng.BrickColor = origcolor
  5115. rng.CanCollide = false
  5116. rng.FormFactor = 3
  5117. rng.Name = "Ring"
  5118. rng.Size = Vector3.new(1, 1, 1)
  5119. rng.Transparency = 1
  5120. rng.TopSurface = 0
  5121. rng.BottomSurface = 0
  5122. rng.CFrame = pos
  5123. local rngm = Instance.new("SpecialMesh", rng)
  5124. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5125. rngm.Scale = Vector3.new(100,100,5)
  5126. local scaler2 = -10/2
  5127. coroutine.resume(coroutine.create(function()
  5128. for i = 0,10,0.1 do
  5129. swait()
  5130. scaler2 = scaler2 + 0.1/2
  5131. rng.Transparency = rng.Transparency - 0.01
  5132. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  5133. end
  5134. rng:Destroy()
  5135. end))
  5136. end
  5137.  
  5138. function groundringbb(pos)
  5139. local rng = Instance.new("Part", char)
  5140. rng.Anchored = true
  5141. rng.BrickColor = origcolor
  5142. rng.CanCollide = false
  5143. rng.FormFactor = 3
  5144. rng.Name = "Ring"
  5145. rng.Size = Vector3.new(1, 1, 1)
  5146. rng.Transparency = 0
  5147. rng.TopSurface = 0
  5148. rng.BottomSurface = 0
  5149. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5150. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5151. local rngm = Instance.new("SpecialMesh", rng)
  5152. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5153. rngm.Scale = Vector3.new(0,0,5)
  5154. local scaler2 = 10
  5155. coroutine.resume(coroutine.create(function()
  5156. for i = 0,10*2,0.1 do
  5157. swait()
  5158. scaler2 = scaler2 - 0.1/2
  5159. rng.Transparency = rng.Transparency + 0.005
  5160. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  5161. end
  5162. rng:Destroy()
  5163. end))
  5164. end
  5165.  
  5166. function groundglowaa(pos)
  5167. local rng = Instance.new("Part", char)
  5168. rng.Anchored = true
  5169. rng.BrickColor = origcolor
  5170. rng.CanCollide = false
  5171. rng.FormFactor = 3
  5172. rng.Material = "Neon"
  5173. rng.Name = "Ring"
  5174. rng.Size = Vector3.new(1, 1, 1)
  5175. rng.Transparency = 0
  5176. rng.TopSurface = 0
  5177. rng.BottomSurface = 0
  5178. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5179. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5180. local rngm = Instance.new("SpecialMesh", rng)
  5181. rngm.MeshType = "Sphere"
  5182. rngm.Scale = Vector3.new(0,0,25)
  5183. local scaler2 = 10*2
  5184. coroutine.resume(coroutine.create(function()
  5185. for i = 0,10*2,0.1 do
  5186. swait()
  5187. scaler2 = scaler2 - 0.1*2/2
  5188. rng.Transparency = rng.Transparency + 0.005
  5189. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  5190. end
  5191. rng:Destroy()
  5192. end))
  5193. end
  5194.  
  5195. function bemaa(pos)
  5196. local rng = Instance.new("Part", char)
  5197. rng.Anchored = true
  5198. rng.BrickColor = origcolor
  5199. rng.CanCollide = false
  5200. rng.FormFactor = 3
  5201. rng.Material = "Neon"
  5202. rng.Name = "Ring"
  5203. rng.Size = Vector3.new(1, 1, 1)
  5204. rng.Transparency = 0
  5205. rng.TopSurface = 0
  5206. rng.BottomSurface = 0
  5207. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5208. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5209. local rngm = Instance.new("SpecialMesh", rng)
  5210. rngm.MeshType = "Sphere"
  5211. rngm.Scale = Vector3.new(0,0,10000)
  5212. local scaler2 = 1
  5213. coroutine.resume(coroutine.create(function()
  5214. for i = 0,99,0.1 do
  5215. swait()
  5216. scaler2 = scaler2 - 0.0025
  5217. rng.Transparency = rng.Transparency + 0.0025
  5218. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  5219. end
  5220. rng:Destroy()
  5221. end))
  5222. end
  5223.  
  5224. function bemaashake(pos)
  5225. local rng = Instance.new("Part", char)
  5226. rng.Anchored = true
  5227. rng.BrickColor = origcolor
  5228. rng.CanCollide = false
  5229. rng.FormFactor = 3
  5230. rng.Material = "Neon"
  5231. rng.Name = "Ring"
  5232. rng.Size = Vector3.new(1, 1, 1)
  5233. rng.Transparency = 0
  5234. rng.TopSurface = 0
  5235. rng.BottomSurface = 0
  5236. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5237. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5238. local rngm = Instance.new("SpecialMesh", rng)
  5239. rngm.MeshType = "Sphere"
  5240. local oof = Instance.new("Part",char)
  5241. oof.Parent = rng
  5242. oof.CFrame = rng.CFrame
  5243. oof.CanCollide = false
  5244. oof.Anchored = true
  5245. oof.Transparency = 1
  5246. rngm.Scale = Vector3.new(0,0,10000)
  5247. local scaler2 = 1*10
  5248. coroutine.resume(coroutine.create(function()
  5249. for i = 0,99,0.1 do
  5250. swait()
  5251. scaler2 = scaler2 - 0.0025*10
  5252. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  5253. rng.Transparency = rng.Transparency + 0.0025
  5254. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  5255. end
  5256. rng:Destroy()
  5257. end))
  5258. end
  5259.  
  5260. function groundringlarge(pos)
  5261. local rng = Instance.new("Part", char)
  5262. rng.Anchored = true
  5263. rng.BrickColor = origcolor
  5264. rng.CanCollide = false
  5265. rng.FormFactor = 3
  5266. rng.Name = "Ring"
  5267. rng.Size = Vector3.new(1, 1, 1)
  5268. rng.Transparency = 0
  5269. rng.TopSurface = 0
  5270. rng.BottomSurface = 0
  5271. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5272. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5273. local rngm = Instance.new("SpecialMesh", rng)
  5274. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5275. rngm.Scale = Vector3.new(0,0,5)
  5276. local scaler2 = 10*10
  5277. coroutine.resume(coroutine.create(function()
  5278. for i = 0,10*2,0.1 do
  5279. swait()
  5280. scaler2 = scaler2 - 0.1*10/2
  5281. rng.Transparency = rng.Transparency + 0.005
  5282. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  5283. end
  5284. rng:Destroy()
  5285. end))
  5286. end
  5287.  
  5288. function sphere(bonuspeed,type,pos,scale,value,color)
  5289. local type = type
  5290. local rng = Instance.new("Part", char)
  5291. rng.Anchored = true
  5292. rng.BrickColor = color
  5293. rng.CanCollide = false
  5294. rng.FormFactor = 3
  5295. rng.Name = "Ring"
  5296. rng.Material = "Neon"
  5297. rng.Size = Vector3.new(1, 1, 1)
  5298. rng.Transparency = 0
  5299. rng.TopSurface = 0
  5300. rng.BottomSurface = 0
  5301. rng.CFrame = pos
  5302. local rngm = Instance.new("SpecialMesh", rng)
  5303. rngm.MeshType = "Sphere"
  5304. rngm.Scale = scale
  5305. local scaler2 = 1
  5306. if type == "Add" then
  5307. scaler2 = 1*value
  5308. elseif type == "Divide" then
  5309. scaler2 = 1/value
  5310. end
  5311. coroutine.resume(coroutine.create(function()
  5312. for i = 0,10/bonuspeed,0.1 do
  5313. swait()
  5314. if type == "Add" then
  5315. scaler2 = scaler2 - 0.01*value/bonuspeed
  5316. elseif type == "Divide" then
  5317. scaler2 = scaler2 - 0.01/value*bonuspeed
  5318. end
  5319. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5320. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5321. end
  5322. rng:Destroy()
  5323. end))
  5324. end
  5325. Humanoid.Animator.Parent = nil
  5326.  
  5327. function AppearMutatedLimbs()
  5328. hum.WalkSpeed = 0
  5329. hum.MaxHealth = math.huge
  5330. attack = true
  5331. for i = 0,14,0.1 do
  5332. swait()
  5333. 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)
  5334. 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)
  5335. 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)
  5336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  5337. 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)
  5338. 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)
  5339. end
  5340. for i = 0,8,0.1 do
  5341. swait()
  5342. 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)
  5343. 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)
  5344. 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)
  5345. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  5346. 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)
  5347. 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)
  5348. end
  5349. for i = 0,2,0.1 do
  5350. swait()
  5351. 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)
  5352. 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)
  5353. 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)
  5354. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5355. 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)
  5356. 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)
  5357. end
  5358. for i, v in pairs(MutantParts:GetChildren()) do
  5359. if v:IsA("Part") then
  5360. v.Transparency = 0
  5361. end
  5362. end
  5363. local bld = Instance.new("ParticleEmitter",larm)
  5364. bld.LightEmission = 0.1
  5365. bld.Texture = "rbxassetid://284205403"
  5366. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5367. bld.Rate = 500
  5368. bld.Lifetime = NumberRange.new(1)
  5369. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5370. bld.Acceleration = vt(0,-25,0)
  5371. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5372. bld.Speed = NumberRange.new(10,25)
  5373. bld.EmissionDirection = "Bottom"
  5374. bld.VelocitySpread = 100
  5375. bld.Rotation = NumberRange.new(-500,500)
  5376. bld.RotSpeed = NumberRange.new(-500,500)
  5377. local bldef = Instance.new("ParticleEmitter",larm)
  5378. bldef.LightEmission = 0.1
  5379. bldef.Texture = "rbxassetid://284205403"
  5380. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5381. bldef.Rate = 25
  5382. bldef.Lifetime = NumberRange.new(1)
  5383. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5384. bldef.Acceleration = vt(0,-5,0)
  5385. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5386. bldef.Speed = NumberRange.new(0,0,0)
  5387. bldef.EmissionDirection = "Bottom"
  5388. bldef.VelocitySpread = 150
  5389. bldef.Rotation = NumberRange.new(-500,500)
  5390. bldef.RotSpeed = NumberRange.new(-500,500)
  5391. game:GetService("Debris"):AddItem(bld,3)
  5392. CFuncs["Sound"].Create("rbxassetid://429400881", larm, 2.5, 1)
  5393. CFuncs["Sound"].Create("rbxassetid://206082327", larm, 0.75, 1)
  5394. for i = 0,1,0.1 do
  5395. swait()
  5396. 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)
  5397. 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)
  5398. 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)
  5399. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  5400. 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)
  5401. 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)
  5402. end
  5403. bld.Enabled = false
  5404. attack = false
  5405. hum.WalkSpeed = 6
  5406. end
  5407.  
  5408. function AppearMutatedLimbs2()
  5409. hum.WalkSpeed = 0
  5410. attack = true
  5411. LeftModeUnlocked = true
  5412. for i = 0,8,0.1 do
  5413. swait()
  5414. 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)
  5415. 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)
  5416. 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)
  5417. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  5418. 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)
  5419. 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)
  5420. end
  5421. for i = 0,2,0.1 do
  5422. swait()
  5423. 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)
  5424. 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)
  5425. 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)
  5426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  5427. 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)
  5428. 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)
  5429. end
  5430. for i, v in pairs(MutantParts2:GetChildren()) do
  5431. if v:IsA("Part") then
  5432. v.Transparency = 0
  5433. end
  5434. end
  5435. local bld = Instance.new("ParticleEmitter",rarm)
  5436. bld.LightEmission = 0.1
  5437. bld.Texture = "rbxassetid://284205403"
  5438. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5439. bld.Rate = 500
  5440. bld.Lifetime = NumberRange.new(1)
  5441. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5442. bld.Acceleration = vt(0,-25,0)
  5443. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5444. bld.Speed = NumberRange.new(10,25)
  5445. bld.EmissionDirection = "Bottom"
  5446. bld.VelocitySpread = 100
  5447. bld.Rotation = NumberRange.new(-500,500)
  5448. bld.RotSpeed = NumberRange.new(-500,500)
  5449. local bldef = Instance.new("ParticleEmitter",rarm)
  5450. bldef.LightEmission = 0.1
  5451. bldef.Texture = "rbxassetid://284205403"
  5452. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5453. bldef.Rate = 25
  5454. bldef.Lifetime = NumberRange.new(1)
  5455. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5456. bldef.Acceleration = vt(0,-5,0)
  5457. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5458. bldef.Speed = NumberRange.new(0,0,0)
  5459. bldef.EmissionDirection = "Bottom"
  5460. bldef.VelocitySpread = 150
  5461. bldef.Rotation = NumberRange.new(-500,500)
  5462. bldef.RotSpeed = NumberRange.new(-500,500)
  5463. game:GetService("Debris"):AddItem(bld,3)
  5464. CFuncs["Sound"].Create("rbxassetid://429400881", rarm, 2.5, 1)
  5465. CFuncs["Sound"].Create("rbxassetid://206082327", rarm, 0.75, 1)
  5466. for i = 0,1,0.1 do
  5467. swait()
  5468. 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)
  5469. 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)
  5470. 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)
  5471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  5472. 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)
  5473. 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)
  5474. end
  5475. bld.Enabled = false
  5476. attack = false
  5477. hum.WalkSpeed = 6
  5478. end
  5479.  
  5480. function TargetSelect(person)
  5481. local dd=coroutine.wrap(function()
  5482. if targetted ~= person then
  5483. targetted = person
  5484. img2.Size = UDim2.new(1,0,1,0)
  5485. img2.ImageTransparency = 0
  5486. img2.Position = UDim2.new(0,0,0,0)
  5487. img2.ImageColor3 = Color3.new(0,0,0)
  5488. for i = 0, 2, 0.1 do
  5489. swait()
  5490. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  5491. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  5492. img2.ImageTransparency = img2.ImageTransparency + 0.05
  5493. end
  5494. end
  5495. end)
  5496. dd()
  5497. end
  5498.  
  5499. function FindNearestTorso(Position, Distance, SinglePlayer)
  5500. if SinglePlayer then
  5501. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  5502. end
  5503. local List = {}
  5504. for i, v in pairs(workspace:GetChildren()) do
  5505. if v:IsA("Model") then
  5506. if v:findFirstChild("Torso") then
  5507. if v ~= Character then
  5508. if (v.Torso.Position - Position).magnitude <= Distance then
  5509. table.insert(List, v)
  5510. end
  5511. end
  5512. end
  5513. end
  5514. end
  5515. return List
  5516. end
  5517.  
  5518. function LockOn()
  5519. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5520. TargetSelect(Mouse.Target.Parent)
  5521. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  5522. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  5523. TargetSelect(Mouse.Target.Parent)
  5524. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  5525. targetted = nil
  5526. end
  5527. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  5528. end
  5529. end
  5530.  
  5531. function dmg(dude)
  5532. if dude.Name ~= Character then
  5533. local bgf = Instance.new("BodyGyro",dude.Head)
  5534. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  5535. local val = Instance.new("BoolValue",dude)
  5536. val.Name = "IsHit"
  5537. local ds = coroutine.wrap(function()
  5538. if dude.Name ~= "isaacsantamaria01" then
  5539. killcount = killcount + 1
  5540. dude:WaitForChild("Torso"):BreakJoints()
  5541. wait(0.5)
  5542. targetted = nil
  5543. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  5544. coroutine.resume(coroutine.create(function()
  5545. for i, v in pairs(dude:GetChildren()) do
  5546. if v:IsA("Accessory") then
  5547. v:Destroy()
  5548. end
  5549. if v:IsA("Humanoid") then
  5550. v:Destroy()
  5551. end
  5552. if v:IsA("CharacterMesh") then
  5553. v:Destroy()
  5554. end
  5555. if v:IsA("Model") then
  5556. v:Destroy()
  5557. end
  5558. if v:IsA("Part") then
  5559. for x, o in pairs(v:GetChildren()) do
  5560. if o:IsA("Decal") then
  5561. o:Destroy()
  5562. end
  5563. end
  5564. coroutine.resume(coroutine.create(function()
  5565. v.Material = "Neon"
  5566. v.CanCollide = false
  5567. local bld = Instance.new("ParticleEmitter",v)
  5568. bld.LightEmission = 1
  5569. bld.Texture = "rbxassetid://284205403"
  5570. bld.Color = ColorSequence.new(Color3.new(155,0,155))
  5571. bld.Rate = 50
  5572. bld.Lifetime = NumberRange.new(1)
  5573. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  5574. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5575. bld.Speed = NumberRange.new(0,0,0)
  5576. bld.Rotation = NumberRange.new(-500,500)
  5577. bld.RotSpeed = NumberRange.new(-500,500)
  5578. local sbs = Instance.new("BodyPosition", v)
  5579. sbs.P = 3000
  5580. sbs.D = 1000
  5581. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  5582. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  5583. v.Color = Color3.new(85,0,85)
  5584. end))
  5585. coroutine.resume(coroutine.create(function()
  5586. for i = 0, 49 do
  5587. swait(1)
  5588. v.Transparency = v.Transparency + 0.02
  5589. end
  5590. v:Destroy()
  5591. dude:Destroy()
  5592. end))
  5593. end
  5594. end
  5595. end))
  5596. else
  5597. bgf:Destroy()
  5598. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  5599. end
  5600. end)
  5601. ds()
  5602. end
  5603. end
  5604.  
  5605.  
  5606. local Grabbed = false
  5607.  
  5608. function QuickStab()
  5609. attack = true
  5610. hum.WalkSpeed = 0
  5611. swait(1)
  5612. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  5613. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  5614. if targetted.Name ~= "isaacsantamaria01" then
  5615. local grab = nil
  5616. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  5617. if v:FindFirstChild('Head') then
  5618. Grabbed = true
  5619. grab = v
  5620. end
  5621. end
  5622. if Grabbed == true then
  5623. for i = 0,2,0.1 do
  5624. swait()
  5625. 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)
  5626. 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)
  5627. 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)
  5628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5629. 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)
  5630. 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)
  5631. end
  5632. dmg(grab)
  5633. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  5634. bld.LightEmission = 0.1
  5635. bld.Texture = "rbxassetid://284205403"
  5636. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5637. bld.Rate = 500
  5638. bld.Lifetime = NumberRange.new(1)
  5639. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5640. bld.Acceleration = vt(0,-25,0)
  5641. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5642. bld.Speed = NumberRange.new(10,50)
  5643. bld.EmissionDirection = "Front"
  5644. bld.VelocitySpread = 25
  5645. bld.Rotation = NumberRange.new(-500,500)
  5646. bld.RotSpeed = NumberRange.new(-500,500)
  5647. game:GetService("Debris"):AddItem(bld,3)
  5648. CFuncs["Sound"].Create("rbxassetid://206082327", targetted.Torso, 2.5, 0.9)
  5649. for i = 0,1,0.1 do
  5650. swait()
  5651. 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)
  5652. 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)
  5653. 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)
  5654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5655. 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)
  5656. 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)
  5657. end
  5658. bld.Enabled = false
  5659. end
  5660. else
  5661. for i = 0,8,0.1 do
  5662. swait()
  5663. 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)
  5664. 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)
  5665. 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)
  5666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  5667. 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)
  5668. 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)
  5669. end
  5670. local randomized = math.random(1,3)
  5671. if randomized == 1 then
  5672. chatfunc("No... i cant.",Color3.new(0.5,0,0))
  5673. elseif randomized == 2 then
  5674. chatfunc("Why would i do this...",Color3.new(0.5,0,0))
  5675. elseif randomized == 3 then
  5676. chatfunc("Oh... i thought you're my enemy...",Color3.new(0.5,0,0))
  5677. end
  5678. --[[for i = 0,3,0.1 do
  5679. swait()
  5680. 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)
  5681. 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)
  5682. 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)
  5683. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  5684. 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)
  5685. 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)
  5686. end]]--
  5687. end
  5688. Grabbed = false
  5689. attack = false
  5690. hum.WalkSpeed = 6
  5691. end
  5692.  
  5693.  
  5694. function BlinkingStab()
  5695. attack = true
  5696. hum.WalkSpeed = 0
  5697. swait(1)
  5698. if targetted.Name ~= "isaacsantamaria01" then
  5699. for i = 0,2,0.1 do
  5700. swait()
  5701. 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)
  5702. 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)
  5703. 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)
  5704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5705. 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)
  5706. 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)
  5707. end
  5708. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  5709. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  5710. dmg(targetted)
  5711. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  5712. bld.LightEmission = 0.1
  5713. bld.Texture = "rbxassetid://284205403"
  5714. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5715. bld.Rate = 500
  5716. bld.Lifetime = NumberRange.new(1)
  5717. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5718. bld.Acceleration = vt(0,-25,0)
  5719. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5720. bld.Speed = NumberRange.new(10,50)
  5721. bld.EmissionDirection = "Front"
  5722. bld.VelocitySpread = 25
  5723. bld.Rotation = NumberRange.new(-500,500)
  5724. bld.RotSpeed = NumberRange.new(-500,500)
  5725. game:GetService("Debris"):AddItem(bld,3)
  5726. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Torso, 1,1)
  5727. for i = 0,1,0.1 do
  5728. swait()
  5729. 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)
  5730. 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)
  5731. 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)
  5732. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5733. 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)
  5734. 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)
  5735. end
  5736. bld.Enabled = false
  5737. else
  5738. for i = 0,8,0.1 do
  5739. swait()
  5740. 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)
  5741. 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)
  5742. 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)
  5743. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5744. 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)
  5745. 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)
  5746. end
  5747. local randomized = math.random(1,3)
  5748. if randomized == 1 then
  5749. chatfunc("Wait.. a minute... wrong guy...",Color3.new(0.5,0,0))
  5750. elseif randomized == 2 then
  5751. chatfunc("I forgot about you...",Color3.new(0.5,0,0))
  5752. elseif randomized == 3 then
  5753. chatfunc("Oh. sorry...",Color3.new(0.5,0,0))
  5754. end
  5755. --[[for i = 0,3,0.1 do
  5756. swait()
  5757. 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)
  5758. 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)
  5759. 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)
  5760. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  5761. 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)
  5762. 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)
  5763. end]]--
  5764. end
  5765. attack = false
  5766. hum.WalkSpeed = 6
  5767. end
  5768.  
  5769.  
  5770. function Tele()
  5771. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  5772. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  5773. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  5774. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  5775. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  5776. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  5777. end
  5778.  
  5779. function uhhnolikeokthen()
  5780. hum.WalkSpeed = 0
  5781. attack = true
  5782. CFuncs["Sound"].Create("rbxassetid://163315655", root, 1,1)
  5783. for i = 0,10,0.1 do
  5784. swait()
  5785. 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)
  5786. 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)
  5787. 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)
  5788. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  5789. 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)
  5790. 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)
  5791. end
  5792. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  5793. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  5794. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  5795. CFuncs["Sound"].Create("rbxassetid://1213175909", root, 3,1)
  5796. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2,1)
  5797. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2,0.9)
  5798. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  5799. if v:FindFirstChild('Torso') then
  5800. dmg(v)
  5801. CFuncs["Sound"].Create("rbxassetid://206082327", v.Torso, 1, 0.9)
  5802. local bld = Instance.new("ParticleEmitter",v.Torso)
  5803. bld.LightEmission = 0.1
  5804. bld.Texture = "rbxassetid://284205403"
  5805. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5806. bld.Rate = 500
  5807. bld.Lifetime = NumberRange.new(1)
  5808. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5809. bld.Acceleration = vt(0,-25,0)
  5810. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5811. bld.Speed = NumberRange.new(10,50)
  5812. bld.EmissionDirection = "Front"
  5813. bld.VelocitySpread = 2500
  5814. bld.Rotation = NumberRange.new(-500,500)
  5815. bld.RotSpeed = NumberRange.new(-500,500)
  5816. coroutine.resume(coroutine.create(function()
  5817. swait(4)
  5818. bld.Enabled = false
  5819. game:GetService("Debris"):AddItem(bld,3)
  5820. end))
  5821. end
  5822. end
  5823. for i = 0,28,0.1 do
  5824. swait()
  5825. 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)
  5826. 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)
  5827. 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)
  5828. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  5829. 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)
  5830. 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)
  5831. end
  5832. attack = false
  5833. hum.WalkSpeed = 6
  5834. end
  5835.  
  5836. function deadworld()
  5837. hum.WalkSpeed = 0
  5838. attack = true
  5839. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  5840. for i = 0,10,0.1 do
  5841. swait()
  5842. 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)
  5843. 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)
  5844. 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)
  5845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  5846. 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)
  5847. 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)
  5848. end
  5849. coroutine.resume(coroutine.create(function()
  5850. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  5851. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5852. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5853. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5854. coroutine.resume(coroutine.create(function()
  5855. for i = 0, 9 do
  5856. swait(3)
  5857. 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"))
  5858. end
  5859. end))
  5860. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  5861. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  5862. local blastpitch = 1
  5863. for i = 0,2 do
  5864. wait(1.5)
  5865. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5866. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5867. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5868. coroutine.resume(coroutine.create(function()
  5869. for i = 0, 9 do
  5870. swait(3)
  5871. 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"))
  5872. end
  5873. end))
  5874. blastpitch = blastpitch - 0.15
  5875. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  5876. end
  5877. wait(2)
  5878. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  5879. if v:FindFirstChild('Torso') then
  5880. dmg(v)
  5881. end
  5882. end
  5883. tors:Destroy()
  5884. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  5885. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  5886. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  5887. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  5888. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  5889. coroutine.resume(coroutine.create(function()
  5890. for i = 0, 49 do
  5891. swait(3)
  5892. 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"))
  5893. 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"))
  5894. end
  5895. end))
  5896. end))
  5897. for i = 0,280,0.1 do
  5898. swait()
  5899. 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)
  5900. 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)
  5901. 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)
  5902. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  5903. 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)
  5904. 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)
  5905. end
  5906. attack = false
  5907. hum.WalkSpeed = 6
  5908. end
  5909. coroutine.resume(coroutine.create(function()
  5910. AppearMutatedLimbs()
  5911. end))
  5912.  
  5913. mouse.Button1Down:connect(function()
  5914. if attack == false and targetted ~= nil then
  5915. BlinkingStab()
  5916. end
  5917. end)
  5918.  
  5919. mouse.KeyDown:connect(function(k)
  5920. if k == "q" and attack == false then
  5921. LockOn()
  5922. end
  5923. if k == "e" and attack == false and targetted ~= nil then
  5924. Tele()
  5925. end
  5926. if k == "z" and attack == false and targetted ~= nil then
  5927. QuickStab()
  5928. end
  5929. if k == "x" and attack == false then
  5930. uhhnolikeokthen()
  5931. end
  5932. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  5933. AppearMutatedLimbs2()
  5934. end
  5935. if k == "p" and attack == false and unlockedX == true then
  5936. deadworld()
  5937. end
  5938. if k == "t" and attack == false and plr.Name == "isaacsantamaria01" then
  5939. attack = true
  5940. chatfunc("HAH",Color3.new(0.5,0,0))
  5941. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  5942. for i = 0, 1, 0.1 do
  5943. swait()
  5944. 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)
  5945. 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)
  5946. 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)
  5947. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  5948. 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)
  5949. 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)
  5950. end
  5951. attack = false
  5952. end
  5953. end)
  5954. idleanim=.4
  5955. swait()
  5956. imgl.Rotation = imgl.Rotation + 3
  5957. imgl2.Rotation = imgl2.Rotation - 3
  5958. img2.Rotation = img2.Rotation - 3
  5959. if targetted ~= nil then
  5960. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  5961. abss.Enabled = true
  5962. elseif targetted == nil then
  5963. abss.Adornee = nil
  5964. abss.Enabled = false
  5965. end
  5966. while true and imgl.Rotation >= 360 do
  5967. imgl.Rotation = 0
  5968. imgl2.Rotation = 0
  5969. img2.Rotation = 0
  5970. end
  5971. uhh.Rotation = math.random(-1,1)
  5972. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  5973. uhh.Text = "Kills : " ..killcount
  5974. if killcount < maxA then
  5975. uhh2.Text = "Required kills for second mutated arm: " ..requirekillA-killcount
  5976. elseif killcount >= maxA then
  5977. unlockedA = true
  5978. uhh2.Text = "Second mutated arm unlocked. (L)"
  5979. end
  5980. if killcount < maxX then
  5981. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  5982. elseif killcount >= maxX then
  5983. unlockedX = true
  5984. uhh3.Text = "The end unlocked. (P to activate)"
  5985. end
  5986. sine = sine + change
  5987. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5988. local velderp=RootPart.Velocity.y
  5989. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5990. if equipped==true or equipped==false then
  5991. if attack==false then
  5992. idle=idle+1
  5993. else
  5994. idle=0
  5995. end
  5996. if idle>=500 then
  5997. if attack==false then
  5998. --Sheath()
  5999. end
  6000. end
  6001. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6002. Anim="Jump"
  6003. if attack==false then
  6004. 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)
  6005. 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)
  6006. 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)
  6007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6008. 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)
  6009. 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)
  6010. end
  6011. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6012. Anim="Fall"
  6013. if attack==false then
  6014. 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)
  6015. 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)
  6016. 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)
  6017. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6018. 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)
  6019. 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)
  6020. end
  6021. elseif torvel<1 and hitfloor~=nil then
  6022. Anim="Idle"
  6023. if attack==false then
  6024. 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)
  6025. 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)
  6026. 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)
  6027. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  6028. if LeftModeUnlocked == false then
  6029. 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)
  6030. else
  6031. 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)
  6032. end
  6033. 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)
  6034. end
  6035. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6036. Anim="Walk"
  6037. if attack==false then
  6038. 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)
  6039. 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)
  6040. 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)
  6041. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  6042. if LeftModeUnlocked == false then
  6043. 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)
  6044. else
  6045. 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)
  6046. end
  6047. 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)
  6048. end
  6049. elseif torvel>=22 and hitfloor~=nil then
  6050. Anim="Run"
  6051. if attack==false then
  6052. 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)
  6053. 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)
  6054. 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)
  6055. 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)
  6056. 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)
  6057. 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)
  6058. end
  6059. end
  6060. end
  6061. endwarn'Mutant loaded'
  6062. ---- thanks to genocider and psychopath sources, this would be another one
  6063. ---- LockOnTargetNoWhiteListKThx
  6064. plr = game.Players.LocalPlayer
  6065. char = plr.Character
  6066. hum = char.Humanoid
  6067. local cam = game.Workspace.CurrentCamera
  6068. t = char.Torso
  6069. h = char.Head
  6070. ra = char["Right Arm"]
  6071. la = char["Left Arm"]
  6072. rl = char["Right Leg"]
  6073. ll = char["Left Leg"]
  6074. tors = char.Torso
  6075. lleg = char["Left Leg"]
  6076. root = char.HumanoidRootPart
  6077. hed = char.Head
  6078. rleg = char["Right Leg"]
  6079. rarm = char["Right Arm"]
  6080. larm = char["Left Arm"]
  6081. vt = Vector3.new
  6082. bc = BrickColor.new
  6083. br = BrickColor.random
  6084. it = Instance.new
  6085. cf = CFrame.new
  6086. local targetted = nil
  6087. local killcount = 50
  6088. local requirekillA = 15
  6089. local requirekillX = 50
  6090. local maxA = 15
  6091. local maxX = 50
  6092. if plr.Name == "soins1" then
  6093. maxX = 0
  6094. requirekillX = maxX
  6095. end
  6096. local unlockedA = true
  6097. local unlockedX = true
  6098. local LeftModeUnlocked = false
  6099.  
  6100. kan = Instance.new("Sound",char)
  6101. kan.Volume = 6
  6102. kan.Pitch = 1
  6103. kan.TimePosition = 1
  6104. kan.SoundId = "rbxassetid://534429024"
  6105. kan.Name = "kreepery"
  6106. kan.Looped = true
  6107. kan:Play()
  6108.  
  6109. abss = Instance.new("BillboardGui",char)
  6110. abss.Size = UDim2.new(10,0,10,0)
  6111. abss.Enabled = false
  6112. imgl = Instance.new("ImageLabel",abss)
  6113. imgl.Position = UDim2.new(0,0,0,0)
  6114. imgl.Size = UDim2.new(1,0,1,0)
  6115. imgl.Image = "http://www.roblox.com/asset/?id=118777235"
  6116. imgl.BackgroundTransparency = 1
  6117. imgl.ImageColor3 = Color3.new(0,0,0)
  6118. imgl2 = Instance.new("ImageLabel",abss)
  6119. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  6120. imgl2.Size = UDim2.new(2,0,2,0)
  6121. imgl2.Image = "http://www.roblox.com/asset/?id=135465292"
  6122. imgl2.BackgroundTransparency = 1
  6123. imgl2.ImageColor3 = Color3.new(0,0,0)
  6124. img2 = Instance.new("ImageLabel",abss)
  6125. img2.Position = UDim2.new(0,0,0,0)
  6126. img2.Size = UDim2.new(1,0,1,0)
  6127. img2.Image = "rbxassetid://118777235"
  6128. img2.BackgroundTransparency = 1
  6129. img2.ImageColor3 = Color3.new(0,0,0)
  6130.  
  6131. function CameraShake(Times, Power)
  6132. coroutine.resume(coroutine.create(function()
  6133. FV = Instance.new("BoolValue", Character)
  6134. FV.Name = "CameraShake"
  6135. for ShakeNum=1,Times do
  6136. swait()
  6137. local ef=Power
  6138. if ef>=1 then
  6139. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  6140. else
  6141. ef=Power*10
  6142. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  6143. end
  6144. end
  6145. Humanoid.CameraOffset = Vector3.new(0,0,0)
  6146. FV:Destroy()
  6147. end))
  6148. end
  6149.  
  6150. CamShake=function(Part,Distan,Power,Times)
  6151. local de=Part.Position
  6152. for i,v in pairs(workspace:children()) do
  6153. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  6154. for _,c in pairs(v:children()) do
  6155. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  6156. local Noob=v.Humanoid
  6157. if Noob~=nil then
  6158. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  6159. --[[local ss=script.CamShake:clone()
  6160. ss.Parent=Noob
  6161. ss.Power.Value=Power
  6162. ss.Times.Value=Times
  6163. ss.Disabled=false]]
  6164. CameraShake(Times, Power)
  6165. end
  6166. end
  6167. end
  6168. end
  6169. end
  6170. end
  6171. end
  6172.  
  6173. function chatfunc(text,color)
  6174. local chat = coroutine.wrap(function()
  6175. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  6176. Character:FindFirstChild("TalkingBillBoard"):destroy()
  6177. end
  6178. local naeeym2 = Instance.new("BillboardGui",Character)
  6179. naeeym2.Size = UDim2.new(0,100,0,40)
  6180. naeeym2.StudsOffset = Vector3.new(0,3,0)
  6181. naeeym2.Adornee = Character.Head
  6182. naeeym2.Name = "TalkingBillBoard"
  6183. local tecks2 = Instance.new("TextLabel",naeeym2)
  6184. tecks2.BackgroundTransparency = 1
  6185. tecks2.BorderSizePixel = 0
  6186. tecks2.Text = ""
  6187. tecks2.Font = "SciFi"
  6188. tecks2.TextSize = 30
  6189. tecks2.TextStrokeTransparency = 0
  6190. tecks2.TextColor3 = color
  6191. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  6192. tecks2.Size = UDim2.new(1,0,0.5,0)
  6193. local tecks3 = Instance.new("TextLabel",naeeym2)
  6194. tecks3.BackgroundTransparency = 1
  6195. tecks3.BorderSizePixel = 0
  6196. tecks3.Text = ""
  6197. tecks3.Font = "SciFi"
  6198. tecks3.TextSize = 30
  6199. tecks3.TextStrokeTransparency = 0
  6200. tecks3.TextColor3 = Color3.new(0,0,0)
  6201. tecks3.TextStrokeColor3 = color
  6202. tecks3.Size = UDim2.new(1,0,0.5,0)
  6203. coroutine.resume(coroutine.create(function()
  6204. swait(1)
  6205. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  6206. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  6207. tecks2.Rotation = math.random(-15,15)
  6208. tecks3.Rotation = math.random(-15,15)
  6209. end
  6210. end))
  6211. for i = 1,string.len(text),1 do
  6212. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  6213. tecks2.Text = string.sub(text,1,i)
  6214. tecks3.Text = string.sub(text,1,i)
  6215. swait(1)
  6216. end
  6217. wait(1)
  6218. local randomrot = math.random(1,2)
  6219. if randomrot == 1 then
  6220. for i = 1, 50 do
  6221. swait()
  6222. tecks2.Rotation = tecks2.Rotation - .75
  6223. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6224. tecks2.TextTransparency = tecks2.TextTransparency + .04
  6225. tecks3.Rotation = tecks2.Rotation + .75
  6226. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6227. tecks3.TextTransparency = tecks2.TextTransparency + .04
  6228. end
  6229. elseif randomrot == 2 then
  6230. for i = 1, 50 do
  6231. swait()
  6232. tecks2.Rotation = tecks2.Rotation + .75
  6233. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6234. tecks2.TextTransparency = tecks2.TextTransparency + .04
  6235. tecks3.Rotation = tecks2.Rotation - .75
  6236. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6237. tecks3.TextTransparency = tecks2.TextTransparency + .04
  6238. end
  6239. end
  6240. naeeym2:Destroy()
  6241. end)
  6242. chat()
  6243. end
  6244.  
  6245.  
  6246. local Create = LoadLibrary("RbxUtility").Create
  6247.  
  6248. CFuncs = {
  6249. ["Part"] = {
  6250. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  6251. local Part = Create("Part"){
  6252. Parent = Parent,
  6253. Reflectance = Reflectance,
  6254. Transparency = Transparency,
  6255. CanCollide = false,
  6256. Locked = true,
  6257. BrickColor = BrickColor.new(tostring(BColor)),
  6258. Name = Name,
  6259. Size = Size,
  6260. Material = Material,
  6261. }
  6262. RemoveOutlines(Part)
  6263. return Part
  6264. end;
  6265. };
  6266.  
  6267. ["Mesh"] = {
  6268. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6269. local Msh = Create(Mesh){
  6270. Parent = Part,
  6271. Offset = OffSet,
  6272. Scale = Scale,
  6273. }
  6274. if Mesh == "SpecialMesh" then
  6275. Msh.MeshType = MeshType
  6276. Msh.MeshId = MeshId
  6277. end
  6278. return Msh
  6279. end;
  6280. };
  6281.  
  6282. ["Mesh"] = {
  6283. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6284. local Msh = Create(Mesh){
  6285. Parent = Part,
  6286. Offset = OffSet,
  6287. Scale = Scale,
  6288. }
  6289. if Mesh == "SpecialMesh" then
  6290. Msh.MeshType = MeshType
  6291. Msh.MeshId = MeshId
  6292. end
  6293. return Msh
  6294. end;
  6295. };
  6296.  
  6297. ["Weld"] = {
  6298. Create = function(Parent, Part0, Part1, C0, C1)
  6299. local Weld = Create("Weld"){
  6300. Parent = Parent,
  6301. Part0 = Part0,
  6302. Part1 = Part1,
  6303. C0 = C0,
  6304. C1 = C1,
  6305. }
  6306. return Weld
  6307. end;
  6308. };
  6309.  
  6310. ["Sound"] = {
  6311. Create = function(id, par, vol, pit)
  6312. coroutine.resume(coroutine.create(function()
  6313. local S = Create("Sound"){
  6314. Volume = vol,
  6315. Pitch = pit or 1,
  6316. SoundId = id,
  6317. Parent = par or workspace,
  6318. }
  6319. wait()
  6320. S:play()
  6321. game:GetService("Debris"):AddItem(S, 10)
  6322. end))
  6323. end;
  6324. };
  6325.  
  6326. ["LongSound"] = {
  6327. Create = function(id, par, vol, pit)
  6328. coroutine.resume(coroutine.create(function()
  6329. local S = Create("Sound"){
  6330. Volume = vol,
  6331. Pitch = pit or 1,
  6332. SoundId = id,
  6333. Parent = par or workspace,
  6334. }
  6335. wait()
  6336. S:play()
  6337. game:GetService("Debris"):AddItem(S, 30)
  6338. end))
  6339. end;
  6340. };
  6341.  
  6342. ["ParticleEmitter"] = {
  6343. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  6344. local fp = Create("ParticleEmitter"){
  6345. Parent = Parent,
  6346. Color = ColorSequence.new(Color1, Color2),
  6347. LightEmission = LightEmission,
  6348. Size = Size,
  6349. Texture = Texture,
  6350. Transparency = Transparency,
  6351. ZOffset = ZOffset,
  6352. Acceleration = Accel,
  6353. Drag = Drag,
  6354. LockedToPart = LockedToPart,
  6355. VelocityInheritance = VelocityInheritance,
  6356. EmissionDirection = EmissionDirection,
  6357. Enabled = Enabled,
  6358. Lifetime = LifeTime,
  6359. Rate = Rate,
  6360. Rotation = Rotation,
  6361. RotSpeed = RotSpeed,
  6362. Speed = Speed,
  6363. VelocitySpread = VelocitySpread,
  6364. }
  6365. return fp
  6366. end;
  6367. };
  6368.  
  6369. CreateTemplate = {
  6370.  
  6371. };
  6372. }
  6373.  
  6374.  
  6375.  
  6376. New = function(Object, Parent, Name, Data)
  6377. local Object = Instance.new(Object)
  6378. for Index, Value in pairs(Data or {}) do
  6379. Object[Index] = Value
  6380. end
  6381. Object.Parent = Parent
  6382. Object.Name = Name
  6383. return Object
  6384. end
  6385. local halocolor = BrickColor.new("Dark indigo")
  6386. local wepcolor = BrickColor.new("Really black")
  6387. local MutantParts = Instance.new("Model",char)
  6388. local MutantParts2 = Instance.new("Model",char)
  6389.  
  6390. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  6391. local p = Instance.new("Part")
  6392. p.TopSurface = 0
  6393. p.BottomSurface = 0
  6394. p.Parent = parent
  6395. p.Size = Vector3.new(0.1,0.1,0.1)
  6396. p.Transparency = transparency
  6397. p.Reflectance = reflectance
  6398. p.CanCollide = false
  6399. p.Locked = true
  6400. p.BrickColor = brickcolor
  6401. p.Material = material
  6402. return p
  6403. end
  6404.  
  6405. function CreateMesh(parent,meshtype,x1,y1,z1)
  6406. local mesh = Instance.new("SpecialMesh",parent)
  6407. mesh.MeshType = meshtype
  6408. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  6409. return mesh
  6410. end
  6411.  
  6412. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  6413. local mesh = Instance.new("SpecialMesh",parent)
  6414. mesh.MeshType = "FileMesh"
  6415. mesh.MeshId = meshid
  6416. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  6417. mesh.Scale = Vector3.new(x1,y1,z1)
  6418. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  6419. return mesh
  6420. end
  6421.  
  6422. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  6423. local weld = Instance.new("Weld")
  6424. weld.Parent = parent
  6425. weld.Part0 = part0
  6426. weld.Part1 = part1
  6427. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  6428. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  6429. return weld
  6430. end
  6431.  
  6432. --larm.Name = "MutatedLeftArm"
  6433.  
  6434. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6435. CreateMesh(extend,"Brick",0.65,1,0.65)
  6436. CreateWeld(extend,larm,extend,0,0.25,0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6437. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6438. CreateMesh(extend,"Brick",0.65,1,0.65)
  6439. CreateWeld(extend,larm,extend,0.25,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6440. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6441. CreateMesh(extend,"Brick",0.65,1,0.65)
  6442. CreateWeld(extend,larm,extend,-0.275,-0.35,-0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6443. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6444. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6445. CreateWeld(extendblood,larm,extendblood,-0.15,0,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6446. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6447. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6448. CreateWeld(extendblood,larm,extendblood,-0.275,0.2,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6449. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6450. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6451. CreateWeld(extendblood,larm,extendblood,0.05,0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6452. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6453. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6454. CreateWeld(extendblood,larm,extendblood,0.15,-0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6455. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6456. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6457. CreateWeld(extendblood,larm,extendblood,-0.1,0,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6458. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6459. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6460. CreateWeld(extendblood,larm,extendblood,0.5,0.2,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6461. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6462. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  6463. CreateWeld(extendblood,larm,extendblood,0.5,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6464. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6465. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  6466. CreateWeld(extendsph,larm,extendsph,0.185,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6467. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6468. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6469. CreateWeld(extendsph,larm,extendsph,0.35,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6470. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6471. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6472. CreateWeld(extendsph,larm,extendsph,-0.35,-0.5,-0.35,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6473. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  6474. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  6475. CreateWeld(extendcl,larm,extendcl,0,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6476. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  6477. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  6478. CreateWeld(extendcl,larm,extendcl,0.25,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6479. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  6480. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  6481. CreateWeld(extendcl,larm,extendcl,-0.25,-0.5,1,math.rad(90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6482.  
  6483. --- Secondary
  6484. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  6485. CreateMesh(extendcl,"Wedge",0.05,1,3)
  6486. CreateWeld(extendcl,rarm,extendcl,0,-0.75,1,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6487. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  6488. CreateMesh(extendcl,"Wedge",0.05,1,1)
  6489. CreateWeld(extendcl,rarm,extendcl,0,-0.75,1,math.rad(-90),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6490. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6491. CreateMesh(extend,"Brick",0.65,1,0.65)
  6492. CreateWeld(extend,rarm,extend,-0.275,-0.35,-0.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6493. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6494. CreateMesh(extend,"Brick",0.65,1,0.65)
  6495. CreateWeld(extend,rarm,extend,0.275,-0.15,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6496. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6497. CreateMesh(extend,"Brick",0.65,1,0.65)
  6498. CreateWeld(extend,rarm,extend,-0.205,0.15,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6499. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6500. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  6501. CreateWeld(extendsph,rarm,extendsph,0.125,0,0.2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6502. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6503. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6504. CreateWeld(extendsph,rarm,extendsph,-0.35,-0.25,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6505. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6506. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6507. CreateWeld(extendsph,rarm,extendsph,0.315,-0.5,-0.325,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6508. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6509. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6510. CreateWeld(extendsph,rarm,extendsph,-0.235,0.45,-0.3,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6511. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6512. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6513. CreateWeld(extendblood,rarm,extendblood,-0.15,0,0.525,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6514. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6515. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6516. CreateWeld(extendblood,rarm,extendblood,-0.275,0.2,0.525,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6517. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6518. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6519. CreateWeld(extendblood,rarm,extendblood,0.25,0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6520. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6521. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6522. CreateWeld(extendblood,rarm,extendblood,0.15,-0.1,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6523. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6524. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6525. CreateWeld(extendblood,rarm,extendblood,-0.1,0,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6526. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6527. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6528. CreateWeld(extendblood,rarm,extendblood,-0.5,0.2,0.275,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6529. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6530. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  6531. CreateWeld(extendblood,rarm,extendblood,-0.5,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  6532.  
  6533. for i, v in pairs(MutantParts:GetChildren()) do
  6534. if v:IsA("Part") then
  6535. v.Transparency = 1
  6536. end
  6537. end
  6538.  
  6539. for i, v in pairs(MutantParts2:GetChildren()) do
  6540. if v:IsA("Part") then
  6541. v.Transparency = 1
  6542. end
  6543. end
  6544. function RemoveOutlines(part)
  6545. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  6546. end
  6547. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  6548. local Part = Create("Part")({
  6549. Parent = Parent,
  6550. Reflectance = Reflectance,
  6551. Transparency = Transparency,
  6552. CanCollide = false,
  6553. Locked = true,
  6554. BrickColor = BrickColor.new(tostring(BColor)),
  6555. Name = Name,
  6556. Size = Size,
  6557. Material = Material
  6558. })
  6559. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  6560. RemoveOutlines(Part)
  6561. return Part
  6562. end
  6563. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6564. local Msh = Create(Mesh)({
  6565. Parent = Part,
  6566. Offset = OffSet,
  6567. Scale = Scale
  6568. })
  6569. if Mesh == "SpecialMesh" then
  6570. Msh.MeshType = MeshType
  6571. Msh.MeshId = MeshId
  6572. end
  6573. return Msh
  6574. end
  6575. function CreateWeld(Parent, Part0, Part1, C0, C1)
  6576. local Weld = Create("Weld")({
  6577. Parent = Parent,
  6578. Part0 = Part0,
  6579. Part1 = Part1,
  6580. C0 = C0,
  6581. C1 = C1
  6582. })
  6583. return Weld
  6584. end
  6585.  
  6586. local ff = Instance.new("ForceField",char)
  6587. ff.Visible = false
  6588.  
  6589. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  6590. local gui = it(GuiType)
  6591. gui.Parent = parent
  6592. gui.Text = text
  6593. gui.BackgroundTransparency = backtrans
  6594. gui.BackgroundColor3 = backcol
  6595. gui.SizeConstraint = "RelativeXY"
  6596. gui.TextXAlignment = "Center"
  6597. gui.TextYAlignment = "Center"
  6598. gui.Position = pos
  6599. gui.Size = size
  6600. gui.Font = "SourceSans"
  6601. gui.FontSize = "Size14"
  6602. gui.TextWrapped = false
  6603. gui.TextStrokeTransparency = 0
  6604. gui.TextColor = BrickColor.new("White")
  6605. return gui
  6606. end
  6607. ---- GUI set
  6608. local basgui = it("GuiMain")
  6609. basgui.Parent = plr.PlayerGui
  6610. basgui.Name = "Killcounter GUI"
  6611. local basframe = it("Frame")
  6612. basframe.Parent = basgui
  6613. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  6614. basframe.BackgroundTransparency = 1
  6615. basframe.BorderColor3 = Color3.new(17, 17, 17)
  6616. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  6617. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  6618.  
  6619. local basframelist = it("Frame")
  6620. basframelist.Parent = basgui
  6621. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  6622. basframelist.BackgroundTransparency = 1
  6623. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  6624. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  6625. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  6626.  
  6627. 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))
  6628. uhh.ZIndex = 2
  6629. uhh.Font = "Arcade"
  6630. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  6631. uhh.TextColor3 = Color3.new(0,0,0)
  6632. uhh.BackgroundTransparency = 1
  6633. uhh.BorderSizePixel = 0.65
  6634. uhh.TextScaled = false
  6635. uhh.TextXAlignment = "Left"
  6636. uhh.Text = "Kills : 0"
  6637. uhh.TextSize = 54
  6638.  
  6639.  
  6640. 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))
  6641. uhh2.ZIndex = 2
  6642. uhh2.Font = "Bodoni"
  6643. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  6644. uhh2.TextColor3 = Color3.new(0,0,0)
  6645. uhh2.BackgroundTransparency = 1
  6646. uhh2.BorderSizePixel = 0.65
  6647. uhh2.TextScaled = false
  6648. uhh2.TextXAlignment = "Left"
  6649. uhh2.Text = "Required kills for second mutated arm: 15"
  6650. uhh2.TextSize = 24
  6651. 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))
  6652. uhh3.ZIndex = 2
  6653. uhh3.Font = "Bodoni"
  6654. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  6655. uhh3.TextColor3 = Color3.new(0,0,0)
  6656. uhh3.BackgroundTransparency = 1
  6657. uhh3.BorderSizePixel = 0.65
  6658. uhh3.TextScaled = false
  6659. uhh3.TextXAlignment = "Left"
  6660. uhh3.Text = "Required kills for the end: 50"
  6661. uhh3.TextSize = 24
  6662.  
  6663.  
  6664. Player=game:GetService("Players").LocalPlayer
  6665. Character=Player.Character
  6666. local Mouse = Player:GetMouse()
  6667. PlayerGui=Player.PlayerGui
  6668. Backpack=Player.Backpack
  6669. Torso=Character.Torso
  6670. Head=Character.Head
  6671. Humanoid=Character.Humanoid
  6672. m=Instance.new('Model',Character)
  6673. LeftArm=Character["Left Arm"]
  6674. LeftLeg=Character["Left Leg"]
  6675. RightArm=Character["Right Arm"]
  6676. RightLeg=Character["Right Leg"]
  6677. LS=Torso["Left Shoulder"]
  6678. LH=Torso["Left Hip"]
  6679. RS=Torso["Right Shoulder"]
  6680. RH=Torso["Right Hip"]
  6681. Face = Head.face
  6682. Neck=Torso.Neck
  6683. it=Instance.new
  6684. attacktype=1
  6685. vt=Vector3.new
  6686. cf=CFrame.new
  6687. euler=CFrame.fromEulerAnglesXYZ
  6688. angles=CFrame.Angles
  6689. cloaked=false
  6690. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  6691. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  6692. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  6693. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  6694. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  6695. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  6696. RootPart=Character.HumanoidRootPart
  6697. RootJoint=RootPart.RootJoint
  6698. RootCF=euler(-1.57,0,3.14)
  6699. attack = false
  6700. attackdebounce = false
  6701. deb=false
  6702. equipped=true
  6703. hand=false
  6704. MMouse=nil
  6705. combo=0
  6706. mana=0
  6707. trispeed=.2
  6708. attackmode='none'
  6709. local idle=0
  6710. local Anim="Idle"
  6711. local Effects={}
  6712. local gun=false
  6713. local shoot=false
  6714. local sine = 0
  6715. local change = 1
  6716. player=nil
  6717.  
  6718. mouse=Player:GetMouse()
  6719. --save shoulders
  6720. RSH, LSH=nil, nil
  6721. --welds
  6722. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  6723. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  6724. LH=Torso["Left Hip"]
  6725. RH=Torso["Right Hip"]
  6726. TorsoColor=Torso.BrickColor
  6727. function NoOutline(Part)
  6728. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  6729. end
  6730. player=Player
  6731. ch=Character
  6732. RSH=ch.Torso["Right Shoulder"]
  6733. LSH=ch.Torso["Left Shoulder"]
  6734. --
  6735. RSH.Parent=nil
  6736. LSH.Parent=nil
  6737. --
  6738. RW.Name="Right Shoulder"
  6739. RW.Part0=ch.Torso
  6740. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  6741. RW.C1=cf(0, 0.5, 0)
  6742. RW.Part1=ch["Right Arm"]
  6743. RW.Parent=ch.Torso
  6744. --
  6745. LW.Name="Left Shoulder"
  6746. LW.Part0=ch.Torso
  6747. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  6748. LW.C1=cf(0, 0.5, 0)
  6749. LW.Part1=ch["Left Arm"]
  6750. LW.Parent=ch.Torso
  6751.  
  6752. local Stats=Instance.new("BoolValue")
  6753. Stats.Name="Stats"
  6754. Stats.Parent=Character
  6755. local Atk=Instance.new("NumberValue")
  6756. Atk.Name="Damage"
  6757. Atk.Parent=Stats
  6758. Atk.Value=1
  6759. local Def=Instance.new("NumberValue")
  6760. Def.Name="Defense"
  6761. Def.Parent=Stats
  6762. Def.Value=1
  6763. local Speed=Instance.new("NumberValue")
  6764. Speed.Name="Speed"
  6765. Speed.Parent=Stats
  6766. Speed.Value=1
  6767. local Mvmt=Instance.new("NumberValue")
  6768. Mvmt.Name="Movement"
  6769. Mvmt.Parent=Stats
  6770. Mvmt.Value=1
  6771.  
  6772. local donum=0
  6773.  
  6774.  
  6775. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  6776. local fp=it("Part")
  6777. fp.formFactor=formfactor
  6778. fp.Parent=parent
  6779. fp.Reflectance=reflectance
  6780. fp.Transparency=transparency
  6781. fp.CanCollide=false
  6782. fp.Locked=true
  6783. fp.BrickColor=brickcolor
  6784. fp.Name=name
  6785. fp.Size=size
  6786. fp.Position=Torso.Position
  6787. NoOutline(fp)
  6788. fp.Material="SmoothPlastic"
  6789. fp:BreakJoints()
  6790. return fp
  6791. end
  6792.  
  6793. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  6794. local mesh=it(Mesh)
  6795. mesh.Parent=part
  6796. if Mesh=="SpecialMesh" then
  6797. mesh.MeshType=meshtype
  6798. if meshid~="nil" then
  6799. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  6800. end
  6801. end
  6802. mesh.Offset=offset
  6803. mesh.Scale=scale
  6804. return mesh
  6805. end
  6806.  
  6807. function weld(parent,part0,part1,c0)
  6808. local weld=it("Weld")
  6809. weld.Parent=parent
  6810. weld.Part0=part0
  6811. weld.Part1=part1
  6812. weld.C0=c0
  6813. return weld
  6814. end
  6815.  
  6816. local Color1=Torso.BrickColor
  6817.  
  6818. local bodvel=Instance.new("BodyVelocity")
  6819. local bg=Instance.new("BodyGyro")
  6820.  
  6821. function swait(num)
  6822. if num==0 or num==nil then
  6823. game:service'RunService'.Stepped:wait(0)
  6824. else
  6825. for i=0,num do
  6826. game:service'RunService'.Stepped:wait(0)
  6827. end
  6828. end
  6829. end
  6830.  
  6831.  
  6832. so = function(id,par,vol,pit)
  6833. coroutine.resume(coroutine.create(function()
  6834. local sou = Instance.new("Sound",par or workspace)
  6835. sou.Volume=vol
  6836. sou.Pitch=pit or 1
  6837. sou.SoundId=id
  6838. swait()
  6839. sou:play()
  6840. game:GetService("Debris"):AddItem(sou,6)
  6841. end))
  6842. end
  6843.  
  6844. function clerp(a,b,t)
  6845. local qa = {QuaternionFromCFrame(a)}
  6846. local qb = {QuaternionFromCFrame(b)}
  6847. local ax, ay, az = a.x, a.y, a.z
  6848. local bx, by, bz = b.x, b.y, b.z
  6849. local _t = 1-t
  6850. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  6851. end
  6852.  
  6853. function QuaternionFromCFrame(cf)
  6854. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6855. local trace = m00 + m11 + m22
  6856. if trace > 0 then
  6857. local s = math.sqrt(1 + trace)
  6858. local recip = 0.5/s
  6859. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  6860. else
  6861. local i = 0
  6862. if m11 > m00 then
  6863. i = 1
  6864. end
  6865. if m22 > (i == 0 and m00 or m11) then
  6866. i = 2
  6867. end
  6868. if i == 0 then
  6869. local s = math.sqrt(m00-m11-m22+1)
  6870. local recip = 0.5/s
  6871. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  6872. elseif i == 1 then
  6873. local s = math.sqrt(m11-m22-m00+1)
  6874. local recip = 0.5/s
  6875. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  6876. elseif i == 2 then
  6877. local s = math.sqrt(m22-m00-m11+1)
  6878. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  6879. end
  6880. end
  6881. end
  6882.  
  6883. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6884. local xs, ys, zs = x + x, y + y, z + z
  6885. local wx, wy, wz = w*xs, w*ys, w*zs
  6886. local xx = x*xs
  6887. local xy = x*ys
  6888. local xz = x*zs
  6889. local yy = y*ys
  6890. local yz = y*zs
  6891. local zz = z*zs
  6892. 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))
  6893. end
  6894.  
  6895. function QuaternionSlerp(a, b, t)
  6896. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  6897. local startInterp, finishInterp;
  6898. if cosTheta >= 0.0001 then
  6899. if (1 - cosTheta) > 0.0001 then
  6900. local theta = math.acos(cosTheta)
  6901. local invSinTheta = 1/math.sin(theta)
  6902. startInterp = math.sin((1-t)*theta)*invSinTheta
  6903. finishInterp = math.sin(t*theta)*invSinTheta
  6904. else
  6905. startInterp = 1-t
  6906. finishInterp = t
  6907. end
  6908. else
  6909. if (1+cosTheta) > 0.0001 then
  6910. local theta = math.acos(-cosTheta)
  6911. local invSinTheta = 1/math.sin(theta)
  6912. startInterp = math.sin((t-1)*theta)*invSinTheta
  6913. finishInterp = math.sin(t*theta)*invSinTheta
  6914. else
  6915. startInterp = t-1
  6916. finishInterp = t
  6917. end
  6918. end
  6919. 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
  6920. end
  6921.  
  6922. local function CFrameFromTopBack(at, top, back)
  6923. local right = top:Cross(back)
  6924. return CFrame.new(at.x, at.y, at.z,
  6925. right.x, top.x, back.x,
  6926. right.y, top.y, back.y,
  6927. right.z, top.z, back.z)
  6928. end
  6929.  
  6930. function Triangle(a, b, c)
  6931. local edg1 = (c-a):Dot((b-a).unit)
  6932. local edg2 = (a-b):Dot((c-b).unit)
  6933. local edg3 = (b-c):Dot((a-c).unit)
  6934. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  6935. a, b, c = a, b, c
  6936. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  6937. a, b, c = b, c, a
  6938. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  6939. a, b, c = c, a, b
  6940. else
  6941. assert(false, "unreachable")
  6942. end
  6943.  
  6944. local len1 = (c-a):Dot((b-a).unit)
  6945. local len2 = (b-a).magnitude - len1
  6946. local width = (a + (b-a).unit*len1 - c).magnitude
  6947.  
  6948. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  6949.  
  6950. local list = {}
  6951.  
  6952. if len1 > 0.01 then
  6953. local w1 = Instance.new('WedgePart', m)
  6954. game:GetService("Debris"):AddItem(w1,5)
  6955. w1.Material = "SmoothPlastic"
  6956. w1.FormFactor = 'Custom'
  6957. w1.BrickColor = BrickColor.new("Really red")
  6958. w1.Transparency = 0
  6959. w1.Reflectance = 0
  6960. w1.Material = "SmoothPlastic"
  6961. w1.CanCollide = false
  6962. local l1 = Instance.new("PointLight",w1)
  6963. l1.Color = Color3.new(170,0,0)
  6964. NoOutline(w1)
  6965. local sz = Vector3.new(0.2, width, len1)
  6966. w1.Size = sz
  6967. local sp = Instance.new("SpecialMesh",w1)
  6968. sp.MeshType = "Wedge"
  6969. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  6970. w1:BreakJoints()
  6971. w1.Anchored = true
  6972. w1.Parent = workspace
  6973. w1.Transparency = 0.7
  6974. table.insert(Effects,{w1,"Disappear",.01})
  6975. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  6976. table.insert(list,w1)
  6977. end
  6978.  
  6979. if len2 > 0.01 then
  6980. local w2 = Instance.new('WedgePart', m)
  6981. game:GetService("Debris"):AddItem(w2,5)
  6982. w2.Material = "SmoothPlastic"
  6983. w2.FormFactor = 'Custom'
  6984. w2.BrickColor = BrickColor.new("Really red")
  6985. w2.Transparency = 0
  6986. w2.Reflectance = 0
  6987. w2.Material = "SmoothPlastic"
  6988. w2.CanCollide = false
  6989. local l2 = Instance.new("PointLight",w2)
  6990. l2.Color = Color3.new(170,0,0)
  6991. NoOutline(w2)
  6992. local sz = Vector3.new(0.2, width, len2)
  6993. w2.Size = sz
  6994. local sp = Instance.new("SpecialMesh",w2)
  6995. sp.MeshType = "Wedge"
  6996. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  6997. w2:BreakJoints()
  6998. w2.Anchored = true
  6999. w2.Parent = workspace
  7000. w2.Transparency = 0.7
  7001. table.insert(Effects,{w2,"Disappear",.01})
  7002. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  7003. table.insert(list,w2)
  7004. end
  7005. return unpack(list)
  7006. end
  7007.  
  7008.  
  7009. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  7010. if hit.Parent == nil then
  7011. return
  7012. end
  7013. local h = hit.Parent:FindFirstChild("Humanoid")
  7014. for _, v in pairs(hit.Parent:children()) do
  7015. if v:IsA("Humanoid") then
  7016. h = v
  7017. end
  7018. end
  7019. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  7020. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  7021. return
  7022. end
  7023. local c = Create("ObjectValue")({
  7024. Name = "creator",
  7025. Value = game:service("Players").LocalPlayer,
  7026. Parent = h
  7027. })
  7028. game:GetService("Debris"):AddItem(c, 0.5)
  7029. if HitSound ~= nil and HitPitch ~= nil then
  7030. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  7031. end
  7032. local Damage = math.random(minim, maxim)
  7033. local blocked = false
  7034. local block = hit.Parent:findFirstChild("Block")
  7035. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  7036. blocked = true
  7037. block.Value = block.Value - 1
  7038. print(block.Value)
  7039. end
  7040. if blocked == false then
  7041. HitHealth = h.Health
  7042. h.Health = h.Health - Damage
  7043. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  7044. print("gained kill")
  7045. end
  7046. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  7047. else
  7048. h.Health = h.Health - Damage / 2
  7049. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  7050. end
  7051. if Type == "Knockdown" then
  7052. local hum = hit.Parent.Humanoid
  7053. hum.PlatformStand = true
  7054. coroutine.resume(coroutine.create(function(HHumanoid)
  7055. swait(1)
  7056. HHumanoid.PlatformStand = false
  7057. end), hum)
  7058. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  7059. local bodvol = Create("BodyVelocity")({
  7060. velocity = angle * knockback,
  7061. P = 5000,
  7062. maxForce = Vector3.new(8000, 8000, 8000),
  7063. Parent = hit
  7064. })
  7065. local rl = Create("BodyAngularVelocity")({
  7066. P = 3000,
  7067. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  7068. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  7069. Parent = hit
  7070. })
  7071. game:GetService("Debris"):AddItem(bodvol, 0.5)
  7072. game:GetService("Debris"):AddItem(rl, 0.5)
  7073. elseif Type == "Normal" then
  7074. local vp = Create("BodyVelocity")({
  7075. P = 500,
  7076. maxForce = Vector3.new(math.huge, 0, math.huge),
  7077. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  7078. })
  7079. if knockback > 0 then
  7080. vp.Parent = hit.Parent.Torso
  7081. end
  7082. game:GetService("Debris"):AddItem(vp, 0.5)
  7083. elseif Type == "Up" then
  7084. local bodyVelocity = Create("BodyVelocity")({
  7085. velocity = Vector3.new(0, 20, 0),
  7086. P = 5000,
  7087. maxForce = Vector3.new(8000, 8000, 8000),
  7088. Parent = hit
  7089. })
  7090. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  7091. local bodyVelocity = Create("BodyVelocity")({
  7092. velocity = Vector3.new(0, 20, 0),
  7093. P = 5000,
  7094. maxForce = Vector3.new(8000, 8000, 8000),
  7095. Parent = hit
  7096. })
  7097. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  7098. elseif Type == "Leech" then
  7099. local hum = hit.Parent.Humanoid
  7100. if hum ~= nil then
  7101. for i = 0, 2 do
  7102. 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)
  7103. end
  7104. Humanoid.Health = Humanoid.Health + 10
  7105. end
  7106. elseif Type == "UpKnock" then
  7107. local hum = hit.Parent.Humanoid
  7108. hum.PlatformStand = true
  7109. if hum ~= nil then
  7110. hitr = true
  7111. end
  7112. coroutine.resume(coroutine.create(function(HHumanoid)
  7113. swait(5)
  7114. HHumanoid.PlatformStand = false
  7115. hitr = false
  7116. end), hum)
  7117. local bodyVelocity = Create("BodyVelocity")({
  7118. velocity = Vector3.new(0, 20, 0),
  7119. P = 5000,
  7120. maxForce = Vector3.new(8000, 8000, 8000),
  7121. Parent = hit
  7122. })
  7123. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  7124. local bodyVelocity = Create("BodyVelocity")({
  7125. velocity = Vector3.new(0, 20, 0),
  7126. P = 5000,
  7127. maxForce = Vector3.new(8000, 8000, 8000),
  7128. Parent = hit
  7129. })
  7130. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  7131. elseif Type == "Snare" then
  7132. local bp = Create("BodyPosition")({
  7133. P = 2000,
  7134. D = 100,
  7135. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7136. position = hit.Parent.Torso.Position,
  7137. Parent = hit.Parent.Torso
  7138. })
  7139. game:GetService("Debris"):AddItem(bp, 1)
  7140. elseif Type == "Slashnare" then
  7141. 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)
  7142. for i = 1, math.random(4, 5) do
  7143. 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)
  7144. end
  7145. local bp = Create("BodyPosition")({
  7146. P = 2000,
  7147. D = 100,
  7148. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7149. position = hit.Parent.Torso.Position,
  7150. Parent = hit.Parent.Torso
  7151. })
  7152. game:GetService("Debris"):AddItem(bp, 1)
  7153. elseif Type == "Spike" then
  7154. CreateBigIceSword(hit.Parent.Torso.CFrame)
  7155. local bp = Create("BodyPosition")({
  7156. P = 2000,
  7157. D = 100,
  7158. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7159. position = hit.Parent.Torso.Position,
  7160. Parent = hit.Parent.Torso
  7161. })
  7162. game:GetService("Debris"):AddItem(bp, 1)
  7163. elseif Type == "Freeze" then
  7164. local BodPos = Create("BodyPosition")({
  7165. P = 50000,
  7166. D = 1000,
  7167. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7168. position = hit.Parent.Torso.Position,
  7169. Parent = hit.Parent.Torso
  7170. })
  7171. local BodGy = Create("BodyGyro")({
  7172. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  7173. P = 20000,
  7174. Parent = hit.Parent.Torso,
  7175. cframe = hit.Parent.Torso.CFrame
  7176. })
  7177. hit.Parent.Torso.Anchored = true
  7178. coroutine.resume(coroutine.create(function(Part)
  7179. swait(1.5)
  7180. Part.Anchored = false
  7181. end), hit.Parent.Torso)
  7182. game:GetService("Debris"):AddItem(BodPos, 3)
  7183. game:GetService("Debris"):AddItem(BodGy, 3)
  7184. end
  7185. local debounce = Create("BoolValue")({
  7186. Name = "DebounceHit",
  7187. Parent = hit.Parent,
  7188. Value = true
  7189. })
  7190. game:GetService("Debris"):AddItem(debounce, Delay)
  7191. c = Instance.new("ObjectValue")
  7192. c.Name = "creator"
  7193. c.Value = Player
  7194. c.Parent = h
  7195. game:GetService("Debris"):AddItem(c, 0.5)
  7196. end
  7197. end
  7198. function ShowDamage(Pos, Text, Time, Color)
  7199. local Rate = 0.03333333333333333
  7200. local Pos = Pos or Vector3.new(0, 0, 0)
  7201. local Text = Text or ""
  7202. local Time = Time or 2
  7203. local Color = Color or Color3.new(1, 0, 1)
  7204. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  7205. EffectPart.Anchored = true
  7206. local BillboardGui = Create("BillboardGui")({
  7207. Size = UDim2.new(3, 0, 3, 0),
  7208. Adornee = EffectPart,
  7209. Parent = EffectPart
  7210. })
  7211. local TextLabel = Create("TextLabel")({
  7212. BackgroundTransparency = 1,
  7213. Size = UDim2.new(1, 0, 1, 0),
  7214. Text = Text,
  7215. TextColor3 = Color,
  7216. TextScaled = true,
  7217. Font = Enum.Font.ArialBold,
  7218. Parent = BillboardGui
  7219. })
  7220. game.Debris:AddItem(EffectPart, Time + 0.1)
  7221. EffectPart.Parent = game:GetService("Workspace")
  7222. delay(0, function()
  7223. local Frames = Time / Rate
  7224. for Frame = 1, Frames do
  7225. wait(Rate)
  7226. local Percent = Frame / Frames
  7227. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  7228. TextLabel.TextTransparency = Percent
  7229. end
  7230. if EffectPart and EffectPart.Parent then
  7231. EffectPart:Destroy()
  7232. end
  7233. end)
  7234. end
  7235. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  7236. for _, c in pairs(workspace:children()) do
  7237. local hum = c:findFirstChild("Humanoid")
  7238. if hum ~= nil then
  7239. local head = c:findFirstChild("Torso")
  7240. if head ~= nil then
  7241. local targ = head.Position - Part.Position
  7242. local mag = targ.magnitude
  7243. if magni >= mag and c.Name ~= Player.Name then
  7244. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  7245. end
  7246. end
  7247. end
  7248. end
  7249. end
  7250.  
  7251. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  7252. for _, c in pairs(workspace:children()) do
  7253. local hum = c:findFirstChild("Humanoid")
  7254. if hum ~= nil then
  7255. local head = c:findFirstChild("Torso")
  7256. if head ~= nil then
  7257. local targ = head.Position - Part.Position
  7258. local mag = targ.magnitude
  7259. if magni >= mag and c.Name ~= Player.Name then
  7260. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  7261. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  7262. end
  7263. end
  7264. end
  7265. end
  7266. end
  7267.  
  7268. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  7269. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  7270. end
  7271.  
  7272. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  7273. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7274. prt.Anchored=true
  7275. prt.CFrame=cframe
  7276. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  7277. --http://www.roblox.com/asset/?id=4770560
  7278. game:GetService("Debris"):AddItem(prt,2)
  7279. CF=prt.CFrame
  7280. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  7281. for i=0,1,0.2 do
  7282. wait()
  7283. Part.CFrame=CF*cf(0,0,-0.4)
  7284. end
  7285. for i=0,1,delay do
  7286. wait()
  7287. --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)
  7288. Mesh.Scale=Mesh.Scale
  7289. end
  7290. for i=0,1,0.1 do
  7291. wait()
  7292. Part.Transparency=i
  7293. end
  7294. Part.Parent=nil
  7295. end),prt,msh,CF)
  7296. end
  7297.  
  7298. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7299. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7300. prt.Anchored=true
  7301. prt.Material = "Neon"
  7302. prt.CFrame=cframe
  7303. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7304. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7305. game:GetService("Debris"):AddItem(prt,5)
  7306. coroutine.resume(coroutine.create(function(Part,Mesh)
  7307. for i=0,1,delay do
  7308. swait()
  7309. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7310. Part.Transparency=i
  7311. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7312. end
  7313. Part.Parent=nil
  7314. end),prt,msh)
  7315. end
  7316.  
  7317. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  7318. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7319. prt.Anchored=true
  7320. prt.Material = "Neon"
  7321. prt.CFrame=cframe
  7322. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7323. game:GetService("Debris"):AddItem(prt,5)
  7324. coroutine.resume(coroutine.create(function(Part,Mesh)
  7325. local rtype = rottype
  7326. for i=0,1,delay do
  7327. swait()
  7328. if rtype == 1 then
  7329. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7330. elseif rtype == 2 then
  7331. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7332. end
  7333. Part.Transparency=i
  7334. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7335. end
  7336. Part.Parent=nil
  7337. end),prt,msh)
  7338. end
  7339.  
  7340. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7341. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7342. prt.Anchored=true
  7343. prt.CFrame=cframe
  7344. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7345. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  7346. game:GetService("Debris"):AddItem(prt,5)
  7347. coroutine.resume(coroutine.create(function(Part,Mesh)
  7348. for i=0,1,delay do
  7349. wait()
  7350. Part.Transparency=i
  7351. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7352. end
  7353. Part.Parent=nil
  7354. end),prt,msh)
  7355. end
  7356.  
  7357. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  7358. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7359. prt.Anchored=true
  7360. prt.Material = "Neon"
  7361. prt.CFrame=cframe
  7362. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7363. game:GetService("Debris"):AddItem(prt,5)
  7364. coroutine.resume(coroutine.create(function(Part,Mesh)
  7365. local rtype = rottype
  7366. for i=0,1,delay do
  7367. swait()
  7368. if rtype == 1 then
  7369. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7370. elseif rtype == 2 then
  7371. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7372. end
  7373. Part.Transparency=i
  7374. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7375. end
  7376. Part.Parent=nil
  7377. end),prt,msh)
  7378. end
  7379.  
  7380. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  7381. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7382. prt.Anchored=true
  7383. prt.Material = "Neon"
  7384. prt.CFrame=cframe
  7385. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  7386. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  7387. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  7388. game:GetService("Debris"):AddItem(prt,5)
  7389. coroutine.resume(coroutine.create(function(Part,Mesh)
  7390. local rtype = rottype
  7391. for i=0,1,delay do
  7392. swait()
  7393. if rtype == 1 then
  7394. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7395. elseif rtype == 2 then
  7396. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7397. end
  7398. dec.Transparency=i
  7399. dec2.Transparency=i
  7400. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  7401. end
  7402. Part.Parent=nil
  7403. end),prt,msh)
  7404. end
  7405.  
  7406. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  7407. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7408. prt.Anchored=true
  7409. prt.Material = "Neon"
  7410. prt.CFrame=cframe
  7411. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  7412. game:GetService("Debris"):AddItem(prt,5)
  7413. coroutine.resume(coroutine.create(function(Part,Mesh)
  7414. local rtype = rottype
  7415. for i=0,1,delay do
  7416. swait()
  7417. if rtype == 1 then
  7418. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7419. elseif rtype == 2 then
  7420. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7421. end
  7422. prt.Transparency=i
  7423. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  7424. end
  7425. Part.Parent=nil
  7426. end),prt,msh)
  7427. end
  7428.  
  7429. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  7430. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7431. prt.Anchored=true
  7432. prt.Material = "Neon"
  7433. prt.CFrame=cframe
  7434. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  7435. game:GetService("Debris"):AddItem(prt,5)
  7436. coroutine.resume(coroutine.create(function(Part,Mesh)
  7437. local rtype = rottype
  7438. for i=0,1,delay do
  7439. swait()
  7440. if rtype == 1 then
  7441. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  7442. elseif rtype == 2 then
  7443. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  7444. end
  7445. prt.Transparency=i
  7446. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  7447. end
  7448. Part.Parent=nil
  7449. end),prt,msh)
  7450. end
  7451.  
  7452. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  7453. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7454. prt.Anchored=true
  7455. prt.Material = "Neon"
  7456. prt.CFrame=cframe
  7457. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7458. game:GetService("Debris"):AddItem(prt,5)
  7459. coroutine.resume(coroutine.create(function(Part,Mesh)
  7460. local rtype = rottype
  7461. for i=0,1,delay do
  7462. swait()
  7463. if rtype == 1 then
  7464. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7465. elseif rtype == 2 then
  7466. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7467. end
  7468. prt.Transparency=i
  7469. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  7470. end
  7471. Part.Parent=nil
  7472. end),prt,msh)
  7473. end
  7474.  
  7475. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  7476. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7477. prt.Anchored=true
  7478. prt.Material = "Neon"
  7479. prt.CFrame=cframe
  7480. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7481. game:GetService("Debris"):AddItem(prt,5)
  7482. coroutine.resume(coroutine.create(function(Part,Mesh)
  7483. local rtype = rottype
  7484. for i=0,1,delay do
  7485. swait()
  7486. if rtype == 1 then
  7487. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7488. elseif rtype == 2 then
  7489. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7490. end
  7491. prt.Transparency=i
  7492. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7493. end
  7494. Part.Parent=nil
  7495. end),prt,msh)
  7496. end
  7497.  
  7498. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  7499. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7500. prt.Anchored=false
  7501. prt.CFrame=cframe
  7502. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7503. local wld=weld(prt,prt,Parent,cframe)
  7504. game:GetService("Debris"):AddItem(prt,5)
  7505. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  7506. for i=0,1,delay do
  7507. wait()
  7508. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  7509. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7510. Part.Transparency=i
  7511. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7512. end
  7513. Part.Parent=nil
  7514. end),prt,msh,wld)
  7515. end
  7516.  
  7517. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  7518. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7519. prt.Anchored=false
  7520. prt.CFrame=cframe
  7521. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7522. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  7523. game:GetService("Debris"):AddItem(prt,5)
  7524. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  7525. for i=0,1,delay do
  7526. wait()
  7527. Weld.C0=euler(i*20,0,0)
  7528. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7529. Part.Transparency=i
  7530. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7531. end
  7532. Part.Parent=nil
  7533. end),prt,msh,wld)
  7534. end
  7535.  
  7536. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7537. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7538. prt.Anchored=true
  7539. prt.CFrame=cframe
  7540. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7541. game:GetService("Debris"):AddItem(prt,2)
  7542. coroutine.resume(coroutine.create(function(Part,Mesh)
  7543. for i=0,1,delay do
  7544. wait()
  7545. Part.CFrame=Part.CFrame
  7546. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7547. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7548. prt2.Anchored=true
  7549. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7550. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  7551. game:GetService("Debris"):AddItem(prt2,2)
  7552. coroutine.resume(coroutine.create(function(Part,Mesh)
  7553. for i=0,1,0.1 do
  7554. wait()
  7555. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  7556. end
  7557. Part.Parent=nil
  7558. end),prt2,msh2)
  7559. end
  7560. for i=0,1,delay*2 do
  7561. wait()
  7562. Part.CFrame=Part.CFrame
  7563. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  7564. end
  7565. Part.Parent=nil
  7566. end),prt,msh)
  7567. end
  7568.  
  7569. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7570. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7571. prt.Anchored=true
  7572. prt.CFrame=cframe
  7573. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  7574. game:GetService("Debris"):AddItem(prt,2)
  7575. coroutine.resume(coroutine.create(function(Part,Mesh)
  7576. for i=0,1,delay do
  7577. wait()
  7578. Part.CFrame=Part.CFrame
  7579. Part.Transparency=i
  7580. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7581. end
  7582. Part.Parent=nil
  7583. end),prt,msh)
  7584. end
  7585.  
  7586. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  7587. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7588. prt.Anchored=true
  7589. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7590. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  7591. game:GetService("Debris"):AddItem(prt,2)
  7592. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  7593. CF=Part.CFrame
  7594. Numbb=0
  7595. randnumb=math.random()/10
  7596. rand1=math.random()/10
  7597. for i=0,1,rand1 do
  7598. wait()
  7599. CF=CF*cf(0,math.random()/2,0)
  7600. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  7601. Part.CFrame=CF*euler(Numbb,0,0)
  7602. Part.Transparency=i
  7603. Numbb=Numbb+randnumb
  7604. end
  7605. Part.Parent=nil
  7606. end),prt,CF,Numbb,randnumb)
  7607. end
  7608.  
  7609. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7610. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7611. prt.Anchored=true
  7612. prt.CFrame=cframe
  7613. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  7614. game:GetService("Debris"):AddItem(prt,5)
  7615. coroutine.resume(coroutine.create(function(Part,Mesh)
  7616. for i=0,1,delay do
  7617. wait()
  7618. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  7619. Part.Transparency=i
  7620. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7621. end
  7622. Part.Parent=nil
  7623. end),prt,msh)
  7624. end
  7625.  
  7626. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7627. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7628. prt.Anchored=true
  7629. prt.CFrame=cframe
  7630. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  7631. game:GetService("Debris"):AddItem(prt,2)
  7632. coroutine.resume(coroutine.create(function(Part,Mesh)
  7633. for i=0,1,delay do
  7634. wait()
  7635. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  7636. Part.Transparency=i
  7637. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7638. end
  7639. Part.Parent=nil
  7640. end),prt,msh)
  7641. end
  7642.  
  7643. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  7644. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7645. prt.Anchored=true
  7646. prt.CFrame=cframe*cf(x,y,z)
  7647. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  7648. game:GetService("Debris"):AddItem(prt,5)
  7649. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  7650. local num=math.random()
  7651. local num2=math.random(-3,2)+math.random()
  7652. local numm=0
  7653. for i=0,1,delay*2 do
  7654. swait()
  7655. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  7656. Part.Transparency=i
  7657. numm=numm+0.01
  7658. end
  7659. Part.Parent=nil
  7660. Mesh.Parent=nil
  7661. end),prt,msh,x,y,z)
  7662. end
  7663.  
  7664. function dmgstart(dmg,what)
  7665. hitcon = what.Touched:connect(function(hit)
  7666. local hum = hit.Parent:FindFirstChild("Humanoid")
  7667. if hum and not hum:IsDescendantOf(Character) then
  7668. hum:TakeDamage(dmg)
  7669. end
  7670. end)
  7671. end
  7672.  
  7673. function dmgstop()
  7674. hitcon:disconnect()
  7675. end
  7676.  
  7677. function Cloak()
  7678. Face.Parent=nil
  7679. cloaked=true
  7680. for _,v in pairs(Torso.Parent:children()) do
  7681. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  7682. coroutine.resume(coroutine.create(function()
  7683. for i=0,1,0.2 do
  7684. wait()
  7685. v.Transparency=i
  7686. end
  7687. v.Transparency=1
  7688. end))
  7689. end
  7690. if v.className=="Hat" then
  7691. hatp=v.Handle
  7692. coroutine.resume(coroutine.create(function(derp)
  7693. for i=0,1,0.2 do
  7694. wait()
  7695. derp.Transparency=i
  7696. end
  7697. derp.Transparency=1
  7698. end),hatp)
  7699. end
  7700. end
  7701. for _,v in pairs(m:children()) do
  7702. if v.className=="Part" then
  7703. coroutine.resume(coroutine.create(function()
  7704. for i=0,1,0.2 do
  7705. wait()
  7706. v.Transparency=i
  7707. end
  7708. v.Transparency=1
  7709. end))
  7710. end
  7711. end
  7712. end
  7713.  
  7714. function UnCloak()
  7715. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  7716. Face.Parent=Head
  7717. cloaked=false
  7718. for _,v in pairs(Torso.Parent:children()) do
  7719. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  7720. coroutine.resume(coroutine.create(function()
  7721. for i=0,1,0.1 do
  7722. wait()
  7723. v.Transparency=v.Transparency-0.1
  7724. end
  7725. v.Transparency=0
  7726. end))
  7727. end
  7728. if v.className=="Hat" then
  7729. hatp=v.Handle
  7730. coroutine.resume(coroutine.create(function(derp)
  7731. for i=0,1,0.1 do
  7732. wait()
  7733. derp.Transparency=derp.Transparency-0.1
  7734. end
  7735. derp.Transparency=0
  7736. end),hatp)
  7737. end
  7738. end
  7739. for _,v in pairs(m:children()) do
  7740. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  7741. coroutine.resume(coroutine.create(function()
  7742. for i=0,1,0.1 do
  7743. wait()
  7744. v.Transparency=v.Transparency-0.1
  7745. end
  7746. v.Transparency=0
  7747. end))
  7748. v.Transparency=0
  7749. end
  7750. end
  7751. end
  7752.  
  7753. local origcolor = BrickColor.new("Dark indigo")
  7754. ---- This section of explosions.
  7755. function Explode(rad,par,pitch,vol,mindam,maxdam)
  7756. local expart = Instance.new("Part",char)
  7757. local expart2 = Instance.new("Part",char)
  7758. local rin = Instance.new("Part",char)
  7759. local rin2 = Instance.new("Part",char)
  7760. local partMesh = Instance.new("SpecialMesh",expart)
  7761. partMesh.MeshType = "Sphere"
  7762. local partMesh2 = Instance.new("SpecialMesh",expart2)
  7763. partMesh2.MeshType = "Sphere"
  7764. local partMesh3 = Instance.new("SpecialMesh",rin)
  7765. partMesh3.MeshType = "Brick"
  7766. local partMesh4 = Instance.new("SpecialMesh",rin2)
  7767. partMesh4.MeshType = "Brick"
  7768. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  7769. partMesh.Scale = vt(rad,rad,rad)
  7770. expart.Size = vt(1,1,1)
  7771. expart.Transparency = 1
  7772. expart.Anchored = true
  7773. expart.Material = "Neon"
  7774. expart.BrickColor = bc("White")
  7775. expart.CFrame = par.CFrame
  7776. partMesh2.Scale = vt(rad,rad,rad)
  7777. expart2.Size = vt(1.15,1.15,1.15)
  7778. expart2.Transparency = 0.75
  7779. expart2.Anchored = true
  7780. expart2.Material = "Glass"
  7781. expart2.BrickColor = par.BrickColor
  7782. expart2.CFrame = par.CFrame
  7783. rin.Size = vt(1.15,1.15,1.15)
  7784. rin.Transparency = 1
  7785. rin.Anchored = true
  7786. rin.Material = "Neon"
  7787. rin.BrickColor = par.BrickColor
  7788. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7789. rin2.Size = vt(1.15,1.15,1.15)
  7790. rin2.Transparency = 1
  7791. rin2.Anchored = true
  7792. rin2.Material = "Neon"
  7793. rin2.BrickColor = par.BrickColor
  7794. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7795. partMesh3.Scale = vt(0,1,0)
  7796. partMesh4.Scale = vt(0,1,0)
  7797. local dec2 = Instance.new("Decal", rin)
  7798. dec2.Face = "Top"
  7799. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  7800. dec2.Parent = rin
  7801. local dec2b = dec2:Clone()
  7802. dec2b.Face = "Bottom"
  7803. dec2b.Parent = rin
  7804.  
  7805. local dec2a = Instance.new("Decal", rin2)
  7806. dec2a.Face = "Top"
  7807. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  7808. dec2a.Parent = rin2
  7809. local dec2ab = dec2a:Clone()
  7810. dec2ab.Face = "Bottom"
  7811. dec2ab.Parent = rin2
  7812. expart.CanCollide = false
  7813. expart2.CanCollide = false
  7814. rin.CanCollide = false
  7815. rin2.CanCollide = false
  7816. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  7817. local value = 1*rad/6.5
  7818. for i = 0, 199 do
  7819. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7820. expart.CFrame = expart.CFrame
  7821. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  7822. expart2.CFrame = expart.CFrame
  7823. value = value - 0.035*rad/30
  7824. if value < 7.5 then
  7825. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  7826. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  7827. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  7828. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  7829. end
  7830. if value < 0 then
  7831. dec2.Transparency = dec2.Transparency + 0.025
  7832. dec2a.Transparency = dec2a.Transparency + 0.025
  7833. dec2b.Transparency = dec2b.Transparency + 0.025
  7834. dec2ab.Transparency = dec2ab.Transparency + 0.025
  7835. expart.Transparency = expart.Transparency + 0.025
  7836. expart2.Transparency = expart2.Transparency + 0.025
  7837. rin.Transparency = rin.Transparency + 0.025
  7838. rin2.Transparency = rin2.Transparency + 0.025
  7839. end
  7840. swait()
  7841. end
  7842. game:GetService("Debris"):AddItem(expart, 1)
  7843. game:GetService("Debris"):AddItem(expart2, 1)
  7844. game:GetService("Debris"):AddItem(rin, 1)
  7845. game:GetService("Debris"):AddItem(rin2, 1)
  7846. end
  7847.  
  7848. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  7849. local expart = Instance.new("Part",char)
  7850. local expart2 = Instance.new("Part",char)
  7851. local partMesh = Instance.new("SpecialMesh",expart)
  7852. partMesh.MeshType = "Sphere"
  7853. local partMesh2 = Instance.new("SpecialMesh",expart2)
  7854. partMesh2.MeshType = "Sphere"
  7855. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  7856. partMesh.Scale = vt(rad,rad,rad)
  7857. expart.Size = vt(1,1,1)
  7858. expart.Transparency = 0
  7859. expart.Anchored = true
  7860. expart.Material = "Neon"
  7861. expart.BrickColor = bc("White")
  7862. expart.CFrame = par.CFrame
  7863. partMesh2.Scale = vt(rad,rad,rad)
  7864. expart2.Size = vt(1.15,1.15,1.15)
  7865. expart2.Transparency = 0.5
  7866. expart2.Anchored = true
  7867. expart2.Material = "Neon"
  7868. expart2.BrickColor = par.BrickColor
  7869. expart2.CFrame = par.CFrame
  7870. expart.CanCollide = false
  7871. expart2.CanCollide = false
  7872. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  7873. local value = 1*rad/6.5
  7874. for i = 0, 75 do
  7875. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7876. expart.CFrame = expart.CFrame
  7877. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  7878. expart2.CFrame = expart.CFrame
  7879. value = value - 0.035*rad/5
  7880. if value < 0 then
  7881. value = 0
  7882. expart.Transparency = expart.Transparency + 0.05
  7883. expart2.Transparency = expart2.Transparency + 0.05
  7884. end
  7885. swait()
  7886. end
  7887. game:GetService("Debris"):AddItem(expart, 1)
  7888. game:GetService("Debris"):AddItem(expart2, 1)
  7889. end
  7890.  
  7891. function AreaDanger(rad,par,mindam,maxdam)
  7892. local expart = Instance.new("Part",char)
  7893. local partMesh = Instance.new("SpecialMesh",expart)
  7894. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  7895. partMesh.MeshType = "Sphere"
  7896. partMesh.Scale = vt(rad,rad,rad)
  7897. expart.Size = vt(1,1,1)
  7898. expart.Transparency = 0.5
  7899. expart.Anchored = true
  7900. expart.Material = "Neon"
  7901. expart.CanCollide = false
  7902. expart.BrickColor = par.BrickColor
  7903. expart.CFrame = par.CFrame
  7904. local value = 1*rad/5
  7905. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  7906. for i = 0, 14 do
  7907. wait()
  7908. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7909. expart.CFrame = expart.CFrame
  7910. value = value - 0.035*rad
  7911. if value < 0 then
  7912. value = 0
  7913. end
  7914. end
  7915. wait(0.25)
  7916. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  7917. wait(0.5)
  7918. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  7919. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  7920. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  7921. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  7922. for i = 0, 14 do
  7923. wait()
  7924. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7925. expart.CFrame = expart.CFrame
  7926. value = value - 0.035*rad/2
  7927. end
  7928. expart.Transparency = 1
  7929. game:GetService("Debris"):AddItem(expart, 5)
  7930. end
  7931.  
  7932. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  7933. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  7934. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  7935. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  7936. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  7937. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  7938. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  7939. for i = 0, 24 do
  7940. 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))
  7941. end
  7942. for i = 0, 24 do
  7943. local expart = Instance.new("Part",char)
  7944. expart.Transparency = 1
  7945. expart.Anchored = true
  7946. expart.CanCollide = false
  7947. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  7948. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  7949. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  7950. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  7951. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  7952. for i = 0, 9 do
  7953. 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))
  7954. end
  7955. game:GetService("Debris"):AddItem(expart, 2)
  7956. wait(0.1)
  7957. end
  7958. end
  7959.  
  7960. function EXterPlosion(par)
  7961. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  7962. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  7963. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  7964. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  7965. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  7966. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  7967. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  7968. for i = 0, 24 do
  7969. 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))
  7970. end
  7971. for i = 0, 24 do
  7972. 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))
  7973. end
  7974. end
  7975. ----
  7976.  
  7977. local stackingpower = 1
  7978.  
  7979. function HellsCore()
  7980. attack = true
  7981. --[[for i = 0,1,0.1 do
  7982. swait()
  7983. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  7984. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  7985. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  7986. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  7987. end]]--
  7988.  
  7989. local rng = Instance.new("Part", char)
  7990. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  7991. rng.Anchored = true
  7992. rng.BrickColor = origcolor
  7993. rng.CanCollide = false
  7994. rng.FormFactor = 3
  7995. rng.Name = "Ring"
  7996. rng.Material = "Neon"
  7997. rng.Size = Vector3.new(1, 1, 1)
  7998. rng.Transparency = 1
  7999. rng.TopSurface = 0
  8000. rng.BottomSurface = 0
  8001. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  8002. local rngm = Instance.new("SpecialMesh", rng)
  8003. rngm.MeshType = "Brick"
  8004. local dec = Instance.new("Decal",rng)
  8005. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  8006. dec.Face = "Top"
  8007. local dec2 = dec:Clone()
  8008. dec2.Parent = rng
  8009. dec2.Face = "Bottom"
  8010.  
  8011. local scaler2 = 1
  8012. scaler2 = 1*3
  8013. for i = 0,10,0.1 do
  8014. swait()
  8015. scaler2 = scaler2 - 0.01*3
  8016. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  8017. end
  8018. wait(3)
  8019. for i = 0,10,0.1 do
  8020. swait()
  8021. scaler2 = scaler2 - 0.01*3
  8022. dec.Transparency = dec.Transparency + 0.01
  8023. dec2.Transparency = dec2.Transparency + 0.01
  8024. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  8025. end
  8026. rng:Destroy()
  8027. attack = false
  8028. end
  8029.  
  8030.  
  8031. function FaceMouse()
  8032. Cam = workspace.CurrentCamera
  8033. return {
  8034. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  8035. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  8036. }
  8037. end
  8038.  
  8039. function FaceMouse2()
  8040. Cam = workspace.CurrentCamera
  8041. return {
  8042. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  8043. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  8044. }
  8045. end
  8046.  
  8047.  
  8048. local HoldingZ = false
  8049. local HoldingX = false
  8050. local HoldingC = false
  8051. local HoldingV = false
  8052. local HoldingB = false
  8053.  
  8054.  
  8055. function RingEffect(pos,startsize,size,col)
  8056. local lb = Instance.new("Part")
  8057. lb.Parent = char
  8058. lb.BrickColor = col
  8059. lb.CanCollide = false
  8060. lb.Material = "Neon"
  8061. lb.Anchored = true
  8062. lb.TopSurface = 0
  8063. lb.BottomSurface = 0
  8064. lb.Transparency = 1
  8065. lb.Size = vt(1,1,1)
  8066. lb.CFrame = pos
  8067. local thingery = Instance.new("SpecialMesh",lb)
  8068. thingery.MeshType = "Brick"
  8069. thingery.Scale = vt(startsize,0.1,startsize)
  8070. local dec2 = Instance.new("Texture", lb)
  8071. dec2.Face = "Top"
  8072. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  8073. dec2.Color3 = lb.Color
  8074. dec2.Parent = lb
  8075. dec2.StudsPerTileU = startsize
  8076. dec2.StudsPerTileV = startsize
  8077. local dec2b = dec2:Clone()
  8078. dec2b.Face = "Bottom"
  8079. dec2b.Parent = lb
  8080. local randomrot = math.random(1,2)
  8081. coroutine.resume(coroutine.create(function()
  8082. for i = 0, 19 do
  8083. swait()
  8084. if randomrot == 1 then
  8085. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  8086. elseif randomrot == 2 then
  8087. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  8088. end
  8089. dec2.Transparency = dec2.Transparency + 0.05
  8090. dec2b.Transparency = dec2b.Transparency + 0.05
  8091. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  8092. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  8093. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  8094. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  8095. thingery.Scale = thingery.Scale + vt(size,0,size)
  8096. end
  8097. lb:Destroy()
  8098. end))
  8099. end
  8100.  
  8101. function SlowRingEffect(pos,startsize,size,col)
  8102. local lb = Instance.new("Part")
  8103. lb.Parent = char
  8104. lb.BrickColor = col
  8105. lb.CanCollide = false
  8106. lb.Material = "Neon"
  8107. lb.Anchored = true
  8108. lb.TopSurface = 0
  8109. lb.BottomSurface = 0
  8110. lb.Transparency = 1
  8111. lb.Size = vt(1,1,1)
  8112. lb.CFrame = pos
  8113. local thingery = Instance.new("SpecialMesh",lb)
  8114. thingery.MeshType = "Brick"
  8115. thingery.Scale = vt(startsize,0.1,startsize)
  8116. local dec2 = Instance.new("Decal", lb)
  8117. dec2.Face = "Top"
  8118. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  8119. dec2.Color3 = lb.Color
  8120. dec2.Parent = lb
  8121. local dec2b = dec2:Clone()
  8122. dec2b.Face = "Bottom"
  8123. dec2b.Parent = lb
  8124. local randomrot = math.random(1,2)
  8125. coroutine.resume(coroutine.create(function()
  8126. for i = 0, 49 do
  8127. swait()
  8128. if randomrot == 1 then
  8129. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  8130. elseif randomrot == 2 then
  8131. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  8132. end
  8133. dec2.Transparency = dec2.Transparency + 0.02
  8134. dec2b.Transparency = dec2b.Transparency + 0.02
  8135. thingery.Scale = thingery.Scale + vt(size,0,size)
  8136. end
  8137. lb:Destroy()
  8138. end))
  8139. end
  8140.  
  8141.  
  8142. function groundringaa(pos)
  8143. local rng = Instance.new("Part", char)
  8144. rng.Anchored = true
  8145. rng.BrickColor = origcolor
  8146. rng.CanCollide = false
  8147. rng.FormFactor = 3
  8148. rng.Name = "Ring"
  8149. rng.Size = Vector3.new(1, 1, 1)
  8150. rng.Transparency = 1
  8151. rng.TopSurface = 0
  8152. rng.BottomSurface = 0
  8153. rng.CFrame = pos
  8154. local rngm = Instance.new("SpecialMesh", rng)
  8155. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  8156. rngm.Scale = Vector3.new(100,100,5)
  8157. local scaler2 = -10/2
  8158. coroutine.resume(coroutine.create(function()
  8159. for i = 0,10,0.1 do
  8160. swait()
  8161. scaler2 = scaler2 + 0.1/2
  8162. rng.Transparency = rng.Transparency - 0.01
  8163. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  8164. end
  8165. rng:Destroy()
  8166. end))
  8167. end
  8168.  
  8169. function groundringbb(pos)
  8170. local rng = Instance.new("Part", char)
  8171. rng.Anchored = true
  8172. rng.BrickColor = origcolor
  8173. rng.CanCollide = false
  8174. rng.FormFactor = 3
  8175. rng.Name = "Ring"
  8176. rng.Size = Vector3.new(1, 1, 1)
  8177. rng.Transparency = 0
  8178. rng.TopSurface = 0
  8179. rng.BottomSurface = 0
  8180. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8181. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8182. local rngm = Instance.new("SpecialMesh", rng)
  8183. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  8184. rngm.Scale = Vector3.new(0,0,5)
  8185. local scaler2 = 10
  8186. coroutine.resume(coroutine.create(function()
  8187. for i = 0,10*2,0.1 do
  8188. swait()
  8189. scaler2 = scaler2 - 0.1/2
  8190. rng.Transparency = rng.Transparency + 0.005
  8191. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  8192. end
  8193. rng:Destroy()
  8194. end))
  8195. end
  8196.  
  8197. function groundglowaa(pos)
  8198. local rng = Instance.new("Part", char)
  8199. rng.Anchored = true
  8200. rng.BrickColor = origcolor
  8201. rng.CanCollide = false
  8202. rng.FormFactor = 3
  8203. rng.Material = "Neon"
  8204. rng.Name = "Ring"
  8205. rng.Size = Vector3.new(1, 1, 1)
  8206. rng.Transparency = 0
  8207. rng.TopSurface = 0
  8208. rng.BottomSurface = 0
  8209. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8210. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8211. local rngm = Instance.new("SpecialMesh", rng)
  8212. rngm.MeshType = "Sphere"
  8213. rngm.Scale = Vector3.new(0,0,25)
  8214. local scaler2 = 10*2
  8215. coroutine.resume(coroutine.create(function()
  8216. for i = 0,10*2,0.1 do
  8217. swait()
  8218. scaler2 = scaler2 - 0.1*2/2
  8219. rng.Transparency = rng.Transparency + 0.005
  8220. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  8221. end
  8222. rng:Destroy()
  8223. end))
  8224. end
  8225.  
  8226. function bemaa(pos)
  8227. local rng = Instance.new("Part", char)
  8228. rng.Anchored = true
  8229. rng.BrickColor = origcolor
  8230. rng.CanCollide = false
  8231. rng.FormFactor = 3
  8232. rng.Material = "Neon"
  8233. rng.Name = "Ring"
  8234. rng.Size = Vector3.new(1, 1, 1)
  8235. rng.Transparency = 0
  8236. rng.TopSurface = 0
  8237. rng.BottomSurface = 0
  8238. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8239. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8240. local rngm = Instance.new("SpecialMesh", rng)
  8241. rngm.MeshType = "Sphere"
  8242. rngm.Scale = Vector3.new(0,0,10000)
  8243. local scaler2 = 1
  8244. coroutine.resume(coroutine.create(function()
  8245. for i = 0,99,0.1 do
  8246. swait()
  8247. scaler2 = scaler2 - 0.0025
  8248. rng.Transparency = rng.Transparency + 0.0025
  8249. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  8250. end
  8251. rng:Destroy()
  8252. end))
  8253. end
  8254.  
  8255. function bemaashake(pos)
  8256. local rng = Instance.new("Part", char)
  8257. rng.Anchored = true
  8258. rng.BrickColor = origcolor
  8259. rng.CanCollide = false
  8260. rng.FormFactor = 3
  8261. rng.Material = "Neon"
  8262. rng.Name = "Ring"
  8263. rng.Size = Vector3.new(1, 1, 1)
  8264. rng.Transparency = 0
  8265. rng.TopSurface = 0
  8266. rng.BottomSurface = 0
  8267. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8268. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8269. local rngm = Instance.new("SpecialMesh", rng)
  8270. rngm.MeshType = "Sphere"
  8271. local oof = Instance.new("Part",char)
  8272. oof.Parent = rng
  8273. oof.CFrame = rng.CFrame
  8274. oof.CanCollide = false
  8275. oof.Anchored = true
  8276. oof.Transparency = 1
  8277. rngm.Scale = Vector3.new(0,0,10000)
  8278. local scaler2 = 1*10
  8279. coroutine.resume(coroutine.create(function()
  8280. for i = 0,99,0.1 do
  8281. swait()
  8282. scaler2 = scaler2 - 0.0025*10
  8283. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  8284. rng.Transparency = rng.Transparency + 0.0025
  8285. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  8286. end
  8287. rng:Destroy()
  8288. end))
  8289. end
  8290.  
  8291. function groundringlarge(pos)
  8292. local rng = Instance.new("Part", char)
  8293. rng.Anchored = true
  8294. rng.BrickColor = origcolor
  8295. rng.CanCollide = false
  8296. rng.FormFactor = 3
  8297. rng.Name = "Ring"
  8298. rng.Size = Vector3.new(1, 1, 1)
  8299. rng.Transparency = 0
  8300. rng.TopSurface = 0
  8301. rng.BottomSurface = 0
  8302. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8303. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8304. local rngm = Instance.new("SpecialMesh", rng)
  8305. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  8306. rngm.Scale = Vector3.new(0,0,5)
  8307. local scaler2 = 10*10
  8308. coroutine.resume(coroutine.create(function()
  8309. for i = 0,10*2,0.1 do
  8310. swait()
  8311. scaler2 = scaler2 - 0.1*10/2
  8312. rng.Transparency = rng.Transparency + 0.005
  8313. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  8314. end
  8315. rng:Destroy()
  8316. end))
  8317. end
  8318.  
  8319. function sphere(bonuspeed,type,pos,scale,value,color)
  8320. local type = type
  8321. local rng = Instance.new("Part", char)
  8322. rng.Anchored = true
  8323. rng.BrickColor = color
  8324. rng.CanCollide = false
  8325. rng.FormFactor = 3
  8326. rng.Name = "Ring"
  8327. rng.Material = "Neon"
  8328. rng.Size = Vector3.new(1, 1, 1)
  8329. rng.Transparency = 0
  8330. rng.TopSurface = 0
  8331. rng.BottomSurface = 0
  8332. rng.CFrame = pos
  8333. local rngm = Instance.new("SpecialMesh", rng)
  8334. rngm.MeshType = "Sphere"
  8335. rngm.Scale = scale
  8336. local scaler2 = 1
  8337. if type == "Add" then
  8338. scaler2 = 1*value
  8339. elseif type == "Divide" then
  8340. scaler2 = 1/value
  8341. end
  8342. coroutine.resume(coroutine.create(function()
  8343. for i = 0,10/bonuspeed,0.1 do
  8344. swait()
  8345. if type == "Add" then
  8346. scaler2 = scaler2 - 0.01*value/bonuspeed
  8347. elseif type == "Divide" then
  8348. scaler2 = scaler2 - 0.01/value*bonuspeed
  8349. end
  8350. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  8351. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  8352. end
  8353. rng:Destroy()
  8354. end))
  8355. end
  8356. Humanoid.Animator.Parent = nil
  8357.  
  8358. function AppearMutatedLimbs()
  8359. hum.WalkSpeed = 0
  8360. hum.MaxHealth = math.huge
  8361. attack = true
  8362. for i = 0,14,0.1 do
  8363. swait()
  8364. 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)
  8365. 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)
  8366. 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)
  8367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  8368. 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)
  8369. 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)
  8370. end
  8371. for i = 0,8,0.1 do
  8372. swait()
  8373. 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)
  8374. 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)
  8375. 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)
  8376. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  8377. 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)
  8378. 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)
  8379. end
  8380. for i = 0,2,0.1 do
  8381. swait()
  8382. 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)
  8383. 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)
  8384. 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)
  8385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  8386. 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)
  8387. 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)
  8388. end
  8389. for i, v in pairs(MutantParts:GetChildren()) do
  8390. if v:IsA("Part") then
  8391. v.Transparency = 0
  8392. end
  8393. end
  8394. local bld = Instance.new("ParticleEmitter",larm)
  8395. bld.LightEmission = 0.1
  8396. bld.Texture = "rbxassetid://284205403"
  8397. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8398. bld.Rate = 500
  8399. bld.Lifetime = NumberRange.new(1)
  8400. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8401. bld.Acceleration = vt(0,-25,0)
  8402. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8403. bld.Speed = NumberRange.new(10,25)
  8404. bld.EmissionDirection = "Bottom"
  8405. bld.VelocitySpread = 100
  8406. bld.Rotation = NumberRange.new(-500,500)
  8407. bld.RotSpeed = NumberRange.new(-500,500)
  8408. local bldef = Instance.new("ParticleEmitter",larm)
  8409. bldef.LightEmission = 0.1
  8410. bldef.Texture = "rbxassetid://284205403"
  8411. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8412. bldef.Rate = 25
  8413. bldef.Lifetime = NumberRange.new(1)
  8414. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8415. bldef.Acceleration = vt(0,-5,0)
  8416. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8417. bldef.Speed = NumberRange.new(0,0,0)
  8418. bldef.EmissionDirection = "Bottom"
  8419. bldef.VelocitySpread = 150
  8420. bldef.Rotation = NumberRange.new(-500,500)
  8421. bldef.RotSpeed = NumberRange.new(-500,500)
  8422. game:GetService("Debris"):AddItem(bld,3)
  8423. CFuncs["Sound"].Create("rbxassetid://429400881", larm, 2.5, 1)
  8424. CFuncs["Sound"].Create("rbxassetid://206082327", larm, 0.75, 1)
  8425. for i = 0,1,0.1 do
  8426. swait()
  8427. 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)
  8428. 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)
  8429. 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)
  8430. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  8431. 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)
  8432. 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)
  8433. end
  8434. bld.Enabled = false
  8435. attack = false
  8436. hum.WalkSpeed = 6
  8437. end
  8438.  
  8439. function AppearMutatedLimbs2()
  8440. hum.WalkSpeed = 0
  8441. attack = true
  8442. LeftModeUnlocked = true
  8443. for i = 0,8,0.1 do
  8444. swait()
  8445. 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)
  8446. 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)
  8447. 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)
  8448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  8449. 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)
  8450. 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)
  8451. end
  8452. for i = 0,2,0.1 do
  8453. swait()
  8454. 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)
  8455. 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)
  8456. 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)
  8457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  8458. 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)
  8459. 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)
  8460. end
  8461. for i, v in pairs(MutantParts2:GetChildren()) do
  8462. if v:IsA("Part") then
  8463. v.Transparency = 0
  8464. end
  8465. end
  8466. local bld = Instance.new("ParticleEmitter",rarm)
  8467. bld.LightEmission = 0.1
  8468. bld.Texture = "rbxassetid://284205403"
  8469. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8470. bld.Rate = 500
  8471. bld.Lifetime = NumberRange.new(1)
  8472. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8473. bld.Acceleration = vt(0,-25,0)
  8474. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8475. bld.Speed = NumberRange.new(10,25)
  8476. bld.EmissionDirection = "Bottom"
  8477. bld.VelocitySpread = 100
  8478. bld.Rotation = NumberRange.new(-500,500)
  8479. bld.RotSpeed = NumberRange.new(-500,500)
  8480. local bldef = Instance.new("ParticleEmitter",rarm)
  8481. bldef.LightEmission = 0.1
  8482. bldef.Texture = "rbxassetid://284205403"
  8483. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8484. bldef.Rate = 25
  8485. bldef.Lifetime = NumberRange.new(1)
  8486. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8487. bldef.Acceleration = vt(0,-5,0)
  8488. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8489. bldef.Speed = NumberRange.new(0,0,0)
  8490. bldef.EmissionDirection = "Bottom"
  8491. bldef.VelocitySpread = 150
  8492. bldef.Rotation = NumberRange.new(-500,500)
  8493. bldef.RotSpeed = NumberRange.new(-500,500)
  8494. game:GetService("Debris"):AddItem(bld,3)
  8495. CFuncs["Sound"].Create("rbxassetid://429400881", rarm, 2.5, 1)
  8496. CFuncs["Sound"].Create("rbxassetid://206082327", rarm, 0.75, 1)
  8497. for i = 0,1,0.1 do
  8498. swait()
  8499. 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)
  8500. 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)
  8501. 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)
  8502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  8503. 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)
  8504. 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)
  8505. end
  8506. bld.Enabled = false
  8507. attack = false
  8508. hum.WalkSpeed = 6
  8509. end
  8510.  
  8511. function TargetSelect(person)
  8512. local dd=coroutine.wrap(function()
  8513. if targetted ~= person then
  8514. targetted = person
  8515. img2.Size = UDim2.new(1,0,1,0)
  8516. img2.ImageTransparency = 0
  8517. img2.Position = UDim2.new(0,0,0,0)
  8518. img2.ImageColor3 = Color3.new(0,0,0)
  8519. for i = 0, 2, 0.1 do
  8520. swait()
  8521. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  8522. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  8523. img2.ImageTransparency = img2.ImageTransparency + 0.05
  8524. end
  8525. end
  8526. end)
  8527. dd()
  8528. end
  8529.  
  8530. function FindNearestTorso(Position, Distance, SinglePlayer)
  8531. if SinglePlayer then
  8532. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  8533. end
  8534. local List = {}
  8535. for i, v in pairs(workspace:GetChildren()) do
  8536. if v:IsA("Model") then
  8537. if v:findFirstChild("Torso") then
  8538. if v ~= Character then
  8539. if (v.Torso.Position - Position).magnitude <= Distance then
  8540. table.insert(List, v)
  8541. end
  8542. end
  8543. end
  8544. end
  8545. end
  8546. return List
  8547. end
  8548.  
  8549. function LockOn()
  8550. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8551. TargetSelect(Mouse.Target.Parent)
  8552. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  8553. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  8554. TargetSelect(Mouse.Target.Parent)
  8555. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  8556. targetted = nil
  8557. end
  8558. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  8559. end
  8560. end
  8561.  
  8562. function dmg(dude)
  8563. if dude.Name ~= Character then
  8564. local bgf = Instance.new("BodyGyro",dude.Head)
  8565. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  8566. local val = Instance.new("BoolValue",dude)
  8567. val.Name = "IsHit"
  8568. local ds = coroutine.wrap(function()
  8569. if dude.Name ~= "isaacsantamaria01" then
  8570. killcount = killcount + 1
  8571. dude:WaitForChild("Torso"):BreakJoints()
  8572. wait(0.5)
  8573. targetted = nil
  8574. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  8575. coroutine.resume(coroutine.create(function()
  8576. for i, v in pairs(dude:GetChildren()) do
  8577. if v:IsA("Accessory") then
  8578. v:Destroy()
  8579. end
  8580. if v:IsA("Humanoid") then
  8581. v:Destroy()
  8582. end
  8583. if v:IsA("CharacterMesh") then
  8584. v:Destroy()
  8585. end
  8586. if v:IsA("Model") then
  8587. v:Destroy()
  8588. end
  8589. if v:IsA("Part") then
  8590. for x, o in pairs(v:GetChildren()) do
  8591. if o:IsA("Decal") then
  8592. o:Destroy()
  8593. end
  8594. end
  8595. coroutine.resume(coroutine.create(function()
  8596. v.Material = "Neon"
  8597. v.CanCollide = false
  8598. local bld = Instance.new("ParticleEmitter",v)
  8599. bld.LightEmission = 1
  8600. bld.Texture = "rbxassetid://284205403"
  8601. bld.Color = ColorSequence.new(Color3.new(155,0,155))
  8602. bld.Rate = 50
  8603. bld.Lifetime = NumberRange.new(1)
  8604. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  8605. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8606. bld.Speed = NumberRange.new(0,0,0)
  8607. bld.Rotation = NumberRange.new(-500,500)
  8608. bld.RotSpeed = NumberRange.new(-500,500)
  8609. local sbs = Instance.new("BodyPosition", v)
  8610. sbs.P = 3000
  8611. sbs.D = 1000
  8612. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  8613. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  8614. v.Color = Color3.new(85,0,85)
  8615. end))
  8616. coroutine.resume(coroutine.create(function()
  8617. for i = 0, 49 do
  8618. swait(1)
  8619. v.Transparency = v.Transparency + 0.02
  8620. end
  8621. v:Destroy()
  8622. dude:Destroy()
  8623. end))
  8624. end
  8625. end
  8626. end))
  8627. else
  8628. bgf:Destroy()
  8629. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  8630. end
  8631. end)
  8632. ds()
  8633. end
  8634. end
  8635.  
  8636.  
  8637. local Grabbed = false
  8638.  
  8639. function QuickStab()
  8640. attack = true
  8641. hum.WalkSpeed = 0
  8642. swait(1)
  8643. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  8644. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  8645. if targetted.Name ~= "isaacsantamaria01" then
  8646. local grab = nil
  8647. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  8648. if v:FindFirstChild('Head') then
  8649. Grabbed = true
  8650. grab = v
  8651. end
  8652. end
  8653. if Grabbed == true then
  8654. for i = 0,2,0.1 do
  8655. swait()
  8656. 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)
  8657. 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)
  8658. 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)
  8659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  8660. 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)
  8661. 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)
  8662. end
  8663. dmg(grab)
  8664. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  8665. bld.LightEmission = 0.1
  8666. bld.Texture = "rbxassetid://284205403"
  8667. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8668. bld.Rate = 500
  8669. bld.Lifetime = NumberRange.new(1)
  8670. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8671. bld.Acceleration = vt(0,-25,0)
  8672. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8673. bld.Speed = NumberRange.new(10,50)
  8674. bld.EmissionDirection = "Front"
  8675. bld.VelocitySpread = 25
  8676. bld.Rotation = NumberRange.new(-500,500)
  8677. bld.RotSpeed = NumberRange.new(-500,500)
  8678. game:GetService("Debris"):AddItem(bld,3)
  8679. CFuncs["Sound"].Create("rbxassetid://206082327", targetted.Torso, 2.5, 0.9)
  8680. for i = 0,1,0.1 do
  8681. swait()
  8682. 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)
  8683. 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)
  8684. 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)
  8685. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  8686. 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)
  8687. 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)
  8688. end
  8689. bld.Enabled = false
  8690. end
  8691. else
  8692. for i = 0,8,0.1 do
  8693. swait()
  8694. 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)
  8695. 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)
  8696. 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)
  8697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  8698. 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)
  8699. 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)
  8700. end
  8701. local randomized = math.random(1,3)
  8702. if randomized == 1 then
  8703. chatfunc("No... i cant.",Color3.new(0.5,0,0))
  8704. elseif randomized == 2 then
  8705. chatfunc("Why would i do this...",Color3.new(0.5,0,0))
  8706. elseif randomized == 3 then
  8707. chatfunc("Oh... i thought you're my enemy...",Color3.new(0.5,0,0))
  8708. end
  8709. --[[for i = 0,3,0.1 do
  8710. swait()
  8711. 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)
  8712. 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)
  8713. 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)
  8714. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  8715. 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)
  8716. 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)
  8717. end]]--
  8718. end
  8719. Grabbed = false
  8720. attack = false
  8721. hum.WalkSpeed = 6
  8722. end
  8723.  
  8724.  
  8725. function BlinkingStab()
  8726. attack = true
  8727. hum.WalkSpeed = 0
  8728. swait(1)
  8729. if targetted.Name ~= "isaacsantamaria01" then
  8730. for i = 0,2,0.1 do
  8731. swait()
  8732. 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)
  8733. 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)
  8734. 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)
  8735. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  8736. 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)
  8737. 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)
  8738. end
  8739. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  8740. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  8741. dmg(targetted)
  8742. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  8743. bld.LightEmission = 0.1
  8744. bld.Texture = "rbxassetid://284205403"
  8745. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8746. bld.Rate = 500
  8747. bld.Lifetime = NumberRange.new(1)
  8748. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8749. bld.Acceleration = vt(0,-25,0)
  8750. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8751. bld.Speed = NumberRange.new(10,50)
  8752. bld.EmissionDirection = "Front"
  8753. bld.VelocitySpread = 25
  8754. bld.Rotation = NumberRange.new(-500,500)
  8755. bld.RotSpeed = NumberRange.new(-500,500)
  8756. game:GetService("Debris"):AddItem(bld,3)
  8757. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Torso, 1,1)
  8758. for i = 0,1,0.1 do
  8759. swait()
  8760. 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)
  8761. 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)
  8762. 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)
  8763. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  8764. 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)
  8765. 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)
  8766. end
  8767. bld.Enabled = false
  8768. else
  8769. for i = 0,8,0.1 do
  8770. swait()
  8771. 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)
  8772. 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)
  8773. 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)
  8774. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  8775. 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)
  8776. 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)
  8777. end
  8778. local randomized = math.random(1,3)
  8779. if randomized == 1 then
  8780. chatfunc("Wait.. a minute... wrong guy...",Color3.new(0.5,0,0))
  8781. elseif randomized == 2 then
  8782. chatfunc("I forgot about you...",Color3.new(0.5,0,0))
  8783. elseif randomized == 3 then
  8784. chatfunc("Oh. sorry...",Color3.new(0.5,0,0))
  8785. end
  8786. --[[for i = 0,3,0.1 do
  8787. swait()
  8788. 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)
  8789. 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)
  8790. 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)
  8791. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  8792. 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)
  8793. 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)
  8794. end]]--
  8795. end
  8796. attack = false
  8797. hum.WalkSpeed = 6
  8798. end
  8799.  
  8800.  
  8801. function Tele()
  8802. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  8803. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  8804. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  8805. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  8806. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  8807. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  8808. end
  8809.  
  8810. function uhhnolikeokthen()
  8811. hum.WalkSpeed = 0
  8812. attack = true
  8813. CFuncs["Sound"].Create("rbxassetid://163315655", root, 1,1)
  8814. for i = 0,10,0.1 do
  8815. swait()
  8816. 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)
  8817. 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)
  8818. 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)
  8819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  8820. 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)
  8821. 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)
  8822. end
  8823. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  8824. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  8825. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  8826. CFuncs["Sound"].Create("rbxassetid://1213175909", root, 3,1)
  8827. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2,1)
  8828. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2,0.9)
  8829. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  8830. if v:FindFirstChild('Torso') then
  8831. dmg(v)
  8832. CFuncs["Sound"].Create("rbxassetid://206082327", v.Torso, 1, 0.9)
  8833. local bld = Instance.new("ParticleEmitter",v.Torso)
  8834. bld.LightEmission = 0.1
  8835. bld.Texture = "rbxassetid://284205403"
  8836. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8837. bld.Rate = 500
  8838. bld.Lifetime = NumberRange.new(1)
  8839. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8840. bld.Acceleration = vt(0,-25,0)
  8841. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8842. bld.Speed = NumberRange.new(10,50)
  8843. bld.EmissionDirection = "Front"
  8844. bld.VelocitySpread = 2500
  8845. bld.Rotation = NumberRange.new(-500,500)
  8846. bld.RotSpeed = NumberRange.new(-500,500)
  8847. coroutine.resume(coroutine.create(function()
  8848. swait(4)
  8849. bld.Enabled = false
  8850. game:GetService("Debris"):AddItem(bld,3)
  8851. end))
  8852. end
  8853. end
  8854. for i = 0,28,0.1 do
  8855. swait()
  8856. 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)
  8857. 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)
  8858. 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)
  8859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  8860. 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)
  8861. 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)
  8862. end
  8863. attack = false
  8864. hum.WalkSpeed = 6
  8865. end
  8866.  
  8867. function deadworld()
  8868. hum.WalkSpeed = 0
  8869. attack = true
  8870. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  8871. for i = 0,10,0.1 do
  8872. swait()
  8873. 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)
  8874. 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)
  8875. 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)
  8876. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  8877. 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)
  8878. 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)
  8879. end
  8880. coroutine.resume(coroutine.create(function()
  8881. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  8882. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8883. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8884. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8885. coroutine.resume(coroutine.create(function()
  8886. for i = 0, 9 do
  8887. swait(3)
  8888. 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"))
  8889. end
  8890. end))
  8891. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  8892. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  8893. local blastpitch = 1
  8894. for i = 0,2 do
  8895. wait(1.5)
  8896. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8897. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8898. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8899. coroutine.resume(coroutine.create(function()
  8900. for i = 0, 9 do
  8901. swait(3)
  8902. 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"))
  8903. end
  8904. end))
  8905. blastpitch = blastpitch - 0.15
  8906. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  8907. end
  8908. wait(2)
  8909. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  8910. if v:FindFirstChild('Torso') then
  8911. dmg(v)
  8912. end
  8913. end
  8914. tors:Destroy()
  8915. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  8916. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  8917. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  8918. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  8919. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  8920. coroutine.resume(coroutine.create(function()
  8921. for i = 0, 49 do
  8922. swait(3)
  8923. 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"))
  8924. 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"))
  8925. end
  8926. end))
  8927. end))
  8928. for i = 0,280,0.1 do
  8929. swait()
  8930. 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)
  8931. 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)
  8932. 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)
  8933. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  8934. 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)
  8935. 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)
  8936. end
  8937. attack = false
  8938. hum.WalkSpeed = 6
  8939. end
  8940. coroutine.resume(coroutine.create(function()
  8941. AppearMutatedLimbs()
  8942. end))
  8943.  
  8944. mouse.Button1Down:connect(function()
  8945. if attack == false and targetted ~= nil then
  8946. BlinkingStab()
  8947. end
  8948. end)
  8949.  
  8950. mouse.KeyDown:connect(function(k)
  8951. if k == "q" and attack == false then
  8952. LockOn()
  8953. end
  8954. if k == "e" and attack == false and targetted ~= nil then
  8955. Tele()
  8956. end
  8957. if k == "z" and attack == false and targetted ~= nil then
  8958. QuickStab()
  8959. end
  8960. if k == "x" and attack == false then
  8961. uhhnolikeokthen()
  8962. end
  8963. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  8964. AppearMutatedLimbs2()
  8965. end
  8966. if k == "p" and attack == false and unlockedX == true then
  8967. deadworld()
  8968. end
  8969. if k == "t" and attack == false and plr.Name == "isaacsantamaria01" then
  8970. attack = true
  8971. chatfunc("HAH",Color3.new(0.5,0,0))
  8972. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  8973. for i = 0, 1, 0.1 do
  8974. swait()
  8975. 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)
  8976. 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)
  8977. 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)
  8978. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  8979. 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)
  8980. 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)
  8981. end
  8982. attack = false
  8983. end
  8984. end)
  8985. idleanim=.4
  8986. while true do
  8987. swait()
  8988. imgl.Rotation = imgl.Rotation + 3
  8989. imgl2.Rotation = imgl2.Rotation - 3
  8990. img2.Rotation = img2.Rotation - 3
  8991. if targetted ~= nil then
  8992. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  8993. abss.Enabled = true
  8994. elseif targetted == nil then
  8995. abss.Adornee = nil
  8996. abss.Enabled = false
  8997. end
  8998. while true and imgl.Rotation >= 360 do
  8999. imgl.Rotation = 0
  9000. imgl2.Rotation = 0
  9001. img2.Rotation = 0
  9002. end
  9003. uhh.Rotation = math.random(-1,1)
  9004. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9005. uhh.Text = "Kills : " ..killcount
  9006. if killcount < maxA then
  9007. uhh2.Text = "Required kills for second mutated arm: " ..requirekillA-killcount
  9008. elseif killcount >= maxA then
  9009. unlockedA = true
  9010. uhh2.Text = "Second mutated arm unlocked. (L)"
  9011. end
  9012. if killcount < maxX then
  9013. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  9014. elseif killcount >= maxX then
  9015. unlockedX = true
  9016. uhh3.Text = "The end unlocked. (P to activate)"
  9017. end
  9018. sine = sine + change
  9019. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9020. local velderp=RootPart.Velocity.y
  9021. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9022. if equipped==true or equipped==false then
  9023. if attack==false then
  9024. idle=idle+1
  9025. else
  9026. idle=0
  9027. end
  9028. if idle>=500 then
  9029. if attack==false then
  9030. --Sheath()
  9031. end
  9032. end
  9033. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9034. Anim="Jump"
  9035. if attack==false then
  9036. 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)
  9037. 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)
  9038. 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)
  9039. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9040. 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)
  9041. 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)
  9042. end
  9043. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9044. Anim="Fall"
  9045. if attack==false then
  9046. 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)
  9047. 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)
  9048. 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)
  9049. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  9050. 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)
  9051. 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)
  9052. end
  9053. elseif torvel<1 and hitfloor~=nil then
  9054. Anim="Idle"
  9055. if attack==false then
  9056. 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)
  9057. 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)
  9058. 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)
  9059. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  9060. if LeftModeUnlocked == false then
  9061. 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)
  9062. else
  9063. 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)
  9064. end
  9065. 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)
  9066. end
  9067. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9068. Anim="Walk"
  9069. if attack==false then
  9070. 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)
  9071. 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)
  9072. 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)
  9073. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  9074. if LeftModeUnlocked == false then
  9075. 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)
  9076. else
  9077. 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)
  9078. end
  9079. 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)
  9080. end
  9081. elseif torvel>=22 and hitfloor~=nil then
  9082. Anim="Run"
  9083. if attack==false then
  9084. 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)
  9085. 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)
  9086. 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)
  9087. 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)
  9088. 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)
  9089. 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)
  9090. end
  9091. end
  9092. end
  9093. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement