Advertisement
Guest User

mutant arm

a guest
Apr 29th, 2018
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 339.72 KB | None | 0 0
  1. warn'Mutant loaded'
  2. ---- thanks to genocider and psychopath sources, this would be another one
  3. ---- LockOnTargetNoWhiteListKThx
  4. plr = game.Players.LocalPlayer
  5. char = plr.Character
  6. hum = char.Humanoid
  7. local cam = game.Workspace.CurrentCamera
  8. t = char.Torso
  9. h = char.Head
  10. ra = char["Right Arm"]
  11. la = char["Left Arm"]
  12. rl = char["Right Leg"]
  13. ll = char["Left Leg"]
  14. tors = char.Torso
  15. lleg = char["Left Leg"]
  16. root = char.HumanoidRootPart
  17. hed = char.Head
  18. rleg = char["Right Leg"]
  19. rarm = char["Right Arm"]
  20. larm = char["Left Arm"]
  21. vt = Vector3.new
  22. bc = BrickColor.new
  23. br = BrickColor.random
  24. it = Instance.new
  25. cf = CFrame.new
  26. local targetted = nil
  27. local killcount = 50
  28. local requirekillA = 15
  29. local requirekillX = 50
  30. local maxA = 15
  31. local maxX = 50
  32. if plr.Name == "soins1" then
  33. maxX = 0
  34. requirekillX = maxX
  35. end
  36. local unlockedA = true
  37. local unlockedX = true
  38. local LeftModeUnlocked = false
  39.  
  40. kan = Instance.new("Sound",char)
  41. kan.Volume = 6
  42. kan.Pitch = 1
  43. kan.TimePosition = 1
  44. kan.SoundId = "rbxassetid://358388868"
  45. kan.Name = "kreepery"
  46. kan.Looped = true
  47. kan:Play()
  48.  
  49. abss = Instance.new("BillboardGui",char)
  50. abss.Size = UDim2.new(10,0,10,0)
  51. abss.Enabled = false
  52. imgl = Instance.new("ImageLabel",abss)
  53. imgl.Position = UDim2.new(0,0,0,0)
  54. imgl.Size = UDim2.new(1,0,1,0)
  55. imgl.Image = "http://www.roblox.com/asset/?id=118777235"
  56. imgl.BackgroundTransparency = 1
  57. imgl.ImageColor3 = Color3.new(0,0,0)
  58. imgl2 = Instance.new("ImageLabel",abss)
  59. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  60. imgl2.Size = UDim2.new(2,0,2,0)
  61. imgl2.Image = "http://www.roblox.com/asset/?id=135465292"
  62. imgl2.BackgroundTransparency = 1
  63. imgl2.ImageColor3 = Color3.new(0,0,0)
  64. img2 = Instance.new("ImageLabel",abss)
  65. img2.Position = UDim2.new(0,0,0,0)
  66. img2.Size = UDim2.new(1,0,1,0)
  67. img2.Image = "rbxassetid://118777235"
  68. img2.BackgroundTransparency = 1
  69. img2.ImageColor3 = Color3.new(0,0,0)
  70.  
  71. function CameraShake(Times, Power)
  72. coroutine.resume(coroutine.create(function()
  73. FV = Instance.new("BoolValue", Character)
  74. FV.Name = "CameraShake"
  75. for ShakeNum=1,Times do
  76. swait()
  77. local ef=Power
  78. if ef>=1 then
  79. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  80. else
  81. ef=Power*10
  82. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  83. end
  84. end
  85. Humanoid.CameraOffset = Vector3.new(0,0,0)
  86. FV:Destroy()
  87. end))
  88. end
  89.  
  90. CamShake=function(Part,Distan,Power,Times)
  91. local de=Part.Position
  92. for i,v in pairs(workspace:children()) do
  93. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  94. for _,c in pairs(v:children()) do
  95. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  96. local Noob=v.Humanoid
  97. if Noob~=nil then
  98. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  99. --[[local ss=script.CamShake:clone()
  100. ss.Parent=Noob
  101. ss.Power.Value=Power
  102. ss.Times.Value=Times
  103. ss.Disabled=false]]
  104. CameraShake(Times, Power)
  105. end
  106. end
  107. end
  108. end
  109. end
  110. end
  111. end
  112.  
  113. function chatfunc(text,color)
  114. local chat = coroutine.wrap(function()
  115. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  116. Character:FindFirstChild("TalkingBillBoard"):destroy()
  117. end
  118. local naeeym2 = Instance.new("BillboardGui",Character)
  119. naeeym2.Size = UDim2.new(0,100,0,40)
  120. naeeym2.StudsOffset = Vector3.new(0,3,0)
  121. naeeym2.Adornee = Character.Head
  122. naeeym2.Name = "TalkingBillBoard"
  123. local tecks2 = Instance.new("TextLabel",naeeym2)
  124. tecks2.BackgroundTransparency = 1
  125. tecks2.BorderSizePixel = 0
  126. tecks2.Text = ""
  127. tecks2.Font = "SciFi"
  128. tecks2.TextSize = 30
  129. tecks2.TextStrokeTransparency = 0
  130. tecks2.TextColor3 = color
  131. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  132. tecks2.Size = UDim2.new(1,0,0.5,0)
  133. local tecks3 = Instance.new("TextLabel",naeeym2)
  134. tecks3.BackgroundTransparency = 1
  135. tecks3.BorderSizePixel = 0
  136. tecks3.Text = ""
  137. tecks3.Font = "SciFi"
  138. tecks3.TextSize = 30
  139. tecks3.TextStrokeTransparency = 0
  140. tecks3.TextColor3 = Color3.new(0,0,0)
  141. tecks3.TextStrokeColor3 = color
  142. tecks3.Size = UDim2.new(1,0,0.5,0)
  143. coroutine.resume(coroutine.create(function()
  144. while true do
  145. swait(1)
  146. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  147. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  148. tecks2.Rotation = math.random(-15,15)
  149. tecks3.Rotation = math.random(-15,15)
  150. end
  151. end))
  152. for i = 1,string.len(text),1 do
  153. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  154. tecks2.Text = string.sub(text,1,i)
  155. tecks3.Text = string.sub(text,1,i)
  156. swait(1)
  157. end
  158. wait(1)
  159. local randomrot = math.random(1,2)
  160. if randomrot == 1 then
  161. for i = 1, 50 do
  162. swait()
  163. tecks2.Rotation = tecks2.Rotation - .75
  164. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  165. tecks2.TextTransparency = tecks2.TextTransparency + .04
  166. tecks3.Rotation = tecks2.Rotation + .75
  167. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  168. tecks3.TextTransparency = tecks2.TextTransparency + .04
  169. end
  170. elseif randomrot == 2 then
  171. for i = 1, 50 do
  172. swait()
  173. tecks2.Rotation = tecks2.Rotation + .75
  174. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  175. tecks2.TextTransparency = tecks2.TextTransparency + .04
  176. tecks3.Rotation = tecks2.Rotation - .75
  177. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  178. tecks3.TextTransparency = tecks2.TextTransparency + .04
  179. end
  180. end
  181. naeeym2:Destroy()
  182. end)
  183. chat()
  184. end
  185.  
  186.  
  187. local Create = LoadLibrary("RbxUtility").Create
  188.  
  189. CFuncs = {
  190. ["Part"] = {
  191. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  192. local Part = Create("Part"){
  193. Parent = Parent,
  194. Reflectance = Reflectance,
  195. Transparency = Transparency,
  196. CanCollide = false,
  197. Locked = true,
  198. BrickColor = BrickColor.new(tostring(BColor)),
  199. Name = Name,
  200. Size = Size,
  201. Material = Material,
  202. }
  203. RemoveOutlines(Part)
  204. return Part
  205. end;
  206. };
  207.  
  208. ["Mesh"] = {
  209. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  210. local Msh = Create(Mesh){
  211. Parent = Part,
  212. Offset = OffSet,
  213. Scale = Scale,
  214. }
  215. if Mesh == "SpecialMesh" then
  216. Msh.MeshType = MeshType
  217. Msh.MeshId = MeshId
  218. end
  219. return Msh
  220. end;
  221. };
  222.  
  223. ["Mesh"] = {
  224. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  225. local Msh = Create(Mesh){
  226. Parent = Part,
  227. Offset = OffSet,
  228. Scale = Scale,
  229. }
  230. if Mesh == "SpecialMesh" then
  231. Msh.MeshType = MeshType
  232. Msh.MeshId = MeshId
  233. end
  234. return Msh
  235. end;
  236. };
  237.  
  238. ["Weld"] = {
  239. Create = function(Parent, Part0, Part1, C0, C1)
  240. local Weld = Create("Weld"){
  241. Parent = Parent,
  242. Part0 = Part0,
  243. Part1 = Part1,
  244. C0 = C0,
  245. C1 = C1,
  246. }
  247. return Weld
  248. end;
  249. };
  250.  
  251. ["Sound"] = {
  252. Create = function(id, par, vol, pit)
  253. coroutine.resume(coroutine.create(function()
  254. local S = Create("Sound"){
  255. Volume = vol,
  256. Pitch = pit or 1,
  257. SoundId = id,
  258. Parent = par or workspace,
  259. }
  260. wait()
  261. S:play()
  262. game:GetService("Debris"):AddItem(S, 10)
  263. end))
  264. end;
  265. };
  266.  
  267. ["LongSound"] = {
  268. Create = function(id, par, vol, pit)
  269. coroutine.resume(coroutine.create(function()
  270. local S = Create("Sound"){
  271. Volume = vol,
  272. Pitch = pit or 1,
  273. SoundId = id,
  274. Parent = par or workspace,
  275. }
  276. wait()
  277. S:play()
  278. game:GetService("Debris"):AddItem(S, 30)
  279. end))
  280. end;
  281. };
  282.  
  283. ["ParticleEmitter"] = {
  284. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  285. local fp = Create("ParticleEmitter"){
  286. Parent = Parent,
  287. Color = ColorSequence.new(Color1, Color2),
  288. LightEmission = LightEmission,
  289. Size = Size,
  290. Texture = Texture,
  291. Transparency = Transparency,
  292. ZOffset = ZOffset,
  293. Acceleration = Accel,
  294. Drag = Drag,
  295. LockedToPart = LockedToPart,
  296. VelocityInheritance = VelocityInheritance,
  297. EmissionDirection = EmissionDirection,
  298. Enabled = Enabled,
  299. Lifetime = LifeTime,
  300. Rate = Rate,
  301. Rotation = Rotation,
  302. RotSpeed = RotSpeed,
  303. Speed = Speed,
  304. VelocitySpread = VelocitySpread,
  305. }
  306. return fp
  307. end;
  308. };
  309.  
  310. CreateTemplate = {
  311.  
  312. };
  313. }
  314.  
  315.  
  316.  
  317. New = function(Object, Parent, Name, Data)
  318. local Object = Instance.new(Object)
  319. for Index, Value in pairs(Data or {}) do
  320. Object[Index] = Value
  321. end
  322. Object.Parent = Parent
  323. Object.Name = Name
  324. return Object
  325. end
  326. local halocolor = BrickColor.new("Dark indigo")
  327. local wepcolor = BrickColor.new("Really black")
  328. local MutantParts = Instance.new("Model",char)
  329. local MutantParts2 = Instance.new("Model",char)
  330.  
  331. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  332. local p = Instance.new("Part")
  333. p.TopSurface = 0
  334. p.BottomSurface = 0
  335. p.Parent = parent
  336. p.Size = Vector3.new(0.1,0.1,0.1)
  337. p.Transparency = transparency
  338. p.Reflectance = reflectance
  339. p.CanCollide = false
  340. p.Locked = true
  341. p.BrickColor = brickcolor
  342. p.Material = material
  343. return p
  344. end
  345.  
  346. function CreateMesh(parent,meshtype,x1,y1,z1)
  347. local mesh = Instance.new("SpecialMesh",parent)
  348. mesh.MeshType = meshtype
  349. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  350. return mesh
  351. end
  352.  
  353. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  354. local mesh = Instance.new("SpecialMesh",parent)
  355. mesh.MeshType = "FileMesh"
  356. mesh.MeshId = meshid
  357. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  358. mesh.Scale = Vector3.new(x1,y1,z1)
  359. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  360. return mesh
  361. end
  362.  
  363. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  364. local weld = Instance.new("Weld")
  365. weld.Parent = parent
  366. weld.Part0 = part0
  367. weld.Part1 = part1
  368. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  369. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  370. return weld
  371. end
  372.  
  373. --larm.Name = "MutatedLeftArm"
  374.  
  375. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  376. CreateMesh(extend,"Brick",0.65,1,0.65)
  377. 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))
  378. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  379. CreateMesh(extend,"Brick",0.65,1,0.65)
  380. 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))
  381. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  382. CreateMesh(extend,"Brick",0.65,1,0.65)
  383. 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))
  384. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  385. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  386. 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))
  387. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  388. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  389. 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))
  390. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  391. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  392. 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))
  393. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  394. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  395. 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))
  396. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  397. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  398. 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))
  399. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  400. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  401. 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))
  402. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  403. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  404. 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))
  405. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  406. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  407. 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))
  408. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  409. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  410. 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))
  411. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  412. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  413. 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))
  414. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  415. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  416. 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))
  417. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  418. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  419. 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))
  420. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  421. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  422. 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))
  423.  
  424. --- Secondary
  425. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  426. CreateMesh(extendcl,"Wedge",0.05,1,3)
  427. 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))
  428. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  429. CreateMesh(extendcl,"Wedge",0.05,1,1)
  430. 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))
  431. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  432. CreateMesh(extend,"Brick",0.65,1,0.65)
  433. 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))
  434. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  435. CreateMesh(extend,"Brick",0.65,1,0.65)
  436. 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))
  437. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  438. CreateMesh(extend,"Brick",0.65,1,0.65)
  439. 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))
  440. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  441. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  442. 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))
  443. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  444. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  445. 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))
  446. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  447. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  448. 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))
  449. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  450. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  451. 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))
  452. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  453. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  454. 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))
  455. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  456. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  457. 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))
  458. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  459. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  460. 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))
  461. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  462. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  463. 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))
  464. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  465. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  466. 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))
  467. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  468. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  469. 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))
  470. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  471. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  472. 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))
  473.  
  474. for i, v in pairs(MutantParts:GetChildren()) do
  475. if v:IsA("Part") then
  476. v.Transparency = 1
  477. end
  478. end
  479.  
  480. for i, v in pairs(MutantParts2:GetChildren()) do
  481. if v:IsA("Part") then
  482. v.Transparency = 1
  483. end
  484. end
  485. function RemoveOutlines(part)
  486. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  487. end
  488. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  489. local Part = Create("Part")({
  490. Parent = Parent,
  491. Reflectance = Reflectance,
  492. Transparency = Transparency,
  493. CanCollide = false,
  494. Locked = true,
  495. BrickColor = BrickColor.new(tostring(BColor)),
  496. Name = Name,
  497. Size = Size,
  498. Material = Material
  499. })
  500. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  501. RemoveOutlines(Part)
  502. return Part
  503. end
  504. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  505. local Msh = Create(Mesh)({
  506. Parent = Part,
  507. Offset = OffSet,
  508. Scale = Scale
  509. })
  510. if Mesh == "SpecialMesh" then
  511. Msh.MeshType = MeshType
  512. Msh.MeshId = MeshId
  513. end
  514. return Msh
  515. end
  516. function CreateWeld(Parent, Part0, Part1, C0, C1)
  517. local Weld = Create("Weld")({
  518. Parent = Parent,
  519. Part0 = Part0,
  520. Part1 = Part1,
  521. C0 = C0,
  522. C1 = C1
  523. })
  524. return Weld
  525. end
  526.  
  527. local ff = Instance.new("ForceField",char)
  528. ff.Visible = false
  529.  
  530. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  531. local gui = it(GuiType)
  532. gui.Parent = parent
  533. gui.Text = text
  534. gui.BackgroundTransparency = backtrans
  535. gui.BackgroundColor3 = backcol
  536. gui.SizeConstraint = "RelativeXY"
  537. gui.TextXAlignment = "Center"
  538. gui.TextYAlignment = "Center"
  539. gui.Position = pos
  540. gui.Size = size
  541. gui.Font = "SourceSans"
  542. gui.FontSize = "Size14"
  543. gui.TextWrapped = false
  544. gui.TextStrokeTransparency = 0
  545. gui.TextColor = BrickColor.new("White")
  546. return gui
  547. end
  548. ---- GUI set
  549. local basgui = it("GuiMain")
  550. basgui.Parent = plr.PlayerGui
  551. basgui.Name = "Killcounter GUI"
  552. local basframe = it("Frame")
  553. basframe.Parent = basgui
  554. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  555. basframe.BackgroundTransparency = 1
  556. basframe.BorderColor3 = Color3.new(17, 17, 17)
  557. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  558. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  559.  
  560. local basframelist = it("Frame")
  561. basframelist.Parent = basgui
  562. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  563. basframelist.BackgroundTransparency = 1
  564. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  565. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  566. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  567.  
  568. 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))
  569. uhh.ZIndex = 2
  570. uhh.Font = "Arcade"
  571. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  572. uhh.TextColor3 = Color3.new(0,0,0)
  573. uhh.BackgroundTransparency = 1
  574. uhh.BorderSizePixel = 0.65
  575. uhh.TextScaled = false
  576. uhh.TextXAlignment = "Left"
  577. uhh.Text = "Kills : 0"
  578. uhh.TextSize = 54
  579.  
  580.  
  581. 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))
  582. uhh2.ZIndex = 2
  583. uhh2.Font = "Bodoni"
  584. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  585. uhh2.TextColor3 = Color3.new(0,0,0)
  586. uhh2.BackgroundTransparency = 1
  587. uhh2.BorderSizePixel = 0.65
  588. uhh2.TextScaled = false
  589. uhh2.TextXAlignment = "Left"
  590. uhh2.Text = "Required kills for second mutated arm: 15"
  591. uhh2.TextSize = 24
  592. 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))
  593. uhh3.ZIndex = 2
  594. uhh3.Font = "Bodoni"
  595. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  596. uhh3.TextColor3 = Color3.new(0,0,0)
  597. uhh3.BackgroundTransparency = 1
  598. uhh3.BorderSizePixel = 0.65
  599. uhh3.TextScaled = false
  600. uhh3.TextXAlignment = "Left"
  601. uhh3.Text = "Required kills for the end: 50"
  602. uhh3.TextSize = 24
  603.  
  604.  
  605. Player=game:GetService("Players").LocalPlayer
  606. Character=Player.Character
  607. local Mouse = Player:GetMouse()
  608. PlayerGui=Player.PlayerGui
  609. Backpack=Player.Backpack
  610. Torso=Character.Torso
  611. Head=Character.Head
  612. Humanoid=Character.Humanoid
  613. m=Instance.new('Model',Character)
  614. LeftArm=Character["Left Arm"]
  615. LeftLeg=Character["Left Leg"]
  616. RightArm=Character["Right Arm"]
  617. RightLeg=Character["Right Leg"]
  618. LS=Torso["Left Shoulder"]
  619. LH=Torso["Left Hip"]
  620. RS=Torso["Right Shoulder"]
  621. RH=Torso["Right Hip"]
  622. Face = Head.face
  623. Neck=Torso.Neck
  624. it=Instance.new
  625. attacktype=1
  626. vt=Vector3.new
  627. cf=CFrame.new
  628. euler=CFrame.fromEulerAnglesXYZ
  629. angles=CFrame.Angles
  630. cloaked=false
  631. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  632. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  633. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  634. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  635. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  636. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  637. RootPart=Character.HumanoidRootPart
  638. RootJoint=RootPart.RootJoint
  639. RootCF=euler(-1.57,0,3.14)
  640. attack = false
  641. attackdebounce = false
  642. deb=false
  643. equipped=true
  644. hand=false
  645. MMouse=nil
  646. combo=0
  647. mana=0
  648. trispeed=.2
  649. attackmode='none'
  650. local idle=0
  651. local Anim="Idle"
  652. local Effects={}
  653. local gun=false
  654. local shoot=false
  655. local sine = 0
  656. local change = 1
  657. player=nil
  658.  
  659. mouse=Player:GetMouse()
  660. --save shoulders
  661. RSH, LSH=nil, nil
  662. --welds
  663. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  664. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  665. LH=Torso["Left Hip"]
  666. RH=Torso["Right Hip"]
  667. TorsoColor=Torso.BrickColor
  668. function NoOutline(Part)
  669. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  670. end
  671. player=Player
  672. ch=Character
  673. RSH=ch.Torso["Right Shoulder"]
  674. LSH=ch.Torso["Left Shoulder"]
  675. --
  676. RSH.Parent=nil
  677. LSH.Parent=nil
  678. --
  679. RW.Name="Right Shoulder"
  680. RW.Part0=ch.Torso
  681. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  682. RW.C1=cf(0, 0.5, 0)
  683. RW.Part1=ch["Right Arm"]
  684. RW.Parent=ch.Torso
  685. --
  686. LW.Name="Left Shoulder"
  687. LW.Part0=ch.Torso
  688. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  689. LW.C1=cf(0, 0.5, 0)
  690. LW.Part1=ch["Left Arm"]
  691. LW.Parent=ch.Torso
  692.  
  693. local Stats=Instance.new("BoolValue")
  694. Stats.Name="Stats"
  695. Stats.Parent=Character
  696. local Atk=Instance.new("NumberValue")
  697. Atk.Name="Damage"
  698. Atk.Parent=Stats
  699. Atk.Value=1
  700. local Def=Instance.new("NumberValue")
  701. Def.Name="Defense"
  702. Def.Parent=Stats
  703. Def.Value=1
  704. local Speed=Instance.new("NumberValue")
  705. Speed.Name="Speed"
  706. Speed.Parent=Stats
  707. Speed.Value=1
  708. local Mvmt=Instance.new("NumberValue")
  709. Mvmt.Name="Movement"
  710. Mvmt.Parent=Stats
  711. Mvmt.Value=1
  712.  
  713. local donum=0
  714.  
  715.  
  716. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  717. local fp=it("Part")
  718. fp.formFactor=formfactor
  719. fp.Parent=parent
  720. fp.Reflectance=reflectance
  721. fp.Transparency=transparency
  722. fp.CanCollide=false
  723. fp.Locked=true
  724. fp.BrickColor=brickcolor
  725. fp.Name=name
  726. fp.Size=size
  727. fp.Position=Torso.Position
  728. NoOutline(fp)
  729. fp.Material="SmoothPlastic"
  730. fp:BreakJoints()
  731. return fp
  732. end
  733.  
  734. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  735. local mesh=it(Mesh)
  736. mesh.Parent=part
  737. if Mesh=="SpecialMesh" then
  738. mesh.MeshType=meshtype
  739. if meshid~="nil" then
  740. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  741. end
  742. end
  743. mesh.Offset=offset
  744. mesh.Scale=scale
  745. return mesh
  746. end
  747.  
  748. function weld(parent,part0,part1,c0)
  749. local weld=it("Weld")
  750. weld.Parent=parent
  751. weld.Part0=part0
  752. weld.Part1=part1
  753. weld.C0=c0
  754. return weld
  755. end
  756.  
  757. local Color1=Torso.BrickColor
  758.  
  759. local bodvel=Instance.new("BodyVelocity")
  760. local bg=Instance.new("BodyGyro")
  761.  
  762. function swait(num)
  763. if num==0 or num==nil then
  764. game:service'RunService'.Stepped:wait(0)
  765. else
  766. for i=0,num do
  767. game:service'RunService'.Stepped:wait(0)
  768. end
  769. end
  770. end
  771.  
  772.  
  773. so = function(id,par,vol,pit)
  774. coroutine.resume(coroutine.create(function()
  775. local sou = Instance.new("Sound",par or workspace)
  776. sou.Volume=vol
  777. sou.Pitch=pit or 1
  778. sou.SoundId=id
  779. swait()
  780. sou:play()
  781. game:GetService("Debris"):AddItem(sou,6)
  782. end))
  783. end
  784.  
  785. function clerp(a,b,t)
  786. local qa = {QuaternionFromCFrame(a)}
  787. local qb = {QuaternionFromCFrame(b)}
  788. local ax, ay, az = a.x, a.y, a.z
  789. local bx, by, bz = b.x, b.y, b.z
  790. local _t = 1-t
  791. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  792. end
  793.  
  794. function QuaternionFromCFrame(cf)
  795. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  796. local trace = m00 + m11 + m22
  797. if trace > 0 then
  798. local s = math.sqrt(1 + trace)
  799. local recip = 0.5/s
  800. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  801. else
  802. local i = 0
  803. if m11 > m00 then
  804. i = 1
  805. end
  806. if m22 > (i == 0 and m00 or m11) then
  807. i = 2
  808. end
  809. if i == 0 then
  810. local s = math.sqrt(m00-m11-m22+1)
  811. local recip = 0.5/s
  812. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  813. elseif i == 1 then
  814. local s = math.sqrt(m11-m22-m00+1)
  815. local recip = 0.5/s
  816. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  817. elseif i == 2 then
  818. local s = math.sqrt(m22-m00-m11+1)
  819. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  820. end
  821. end
  822. end
  823.  
  824. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  825. local xs, ys, zs = x + x, y + y, z + z
  826. local wx, wy, wz = w*xs, w*ys, w*zs
  827. local xx = x*xs
  828. local xy = x*ys
  829. local xz = x*zs
  830. local yy = y*ys
  831. local yz = y*zs
  832. local zz = z*zs
  833. 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))
  834. end
  835.  
  836. function QuaternionSlerp(a, b, t)
  837. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  838. local startInterp, finishInterp;
  839. if cosTheta >= 0.0001 then
  840. if (1 - cosTheta) > 0.0001 then
  841. local theta = math.acos(cosTheta)
  842. local invSinTheta = 1/math.sin(theta)
  843. startInterp = math.sin((1-t)*theta)*invSinTheta
  844. finishInterp = math.sin(t*theta)*invSinTheta
  845. else
  846. startInterp = 1-t
  847. finishInterp = t
  848. end
  849. else
  850. if (1+cosTheta) > 0.0001 then
  851. local theta = math.acos(-cosTheta)
  852. local invSinTheta = 1/math.sin(theta)
  853. startInterp = math.sin((t-1)*theta)*invSinTheta
  854. finishInterp = math.sin(t*theta)*invSinTheta
  855. else
  856. startInterp = t-1
  857. finishInterp = t
  858. end
  859. end
  860. 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
  861. end
  862.  
  863. local function CFrameFromTopBack(at, top, back)
  864. local right = top:Cross(back)
  865. return CFrame.new(at.x, at.y, at.z,
  866. right.x, top.x, back.x,
  867. right.y, top.y, back.y,
  868. right.z, top.z, back.z)
  869. end
  870.  
  871. function Triangle(a, b, c)
  872. local edg1 = (c-a):Dot((b-a).unit)
  873. local edg2 = (a-b):Dot((c-b).unit)
  874. local edg3 = (b-c):Dot((a-c).unit)
  875. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  876. a, b, c = a, b, c
  877. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  878. a, b, c = b, c, a
  879. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  880. a, b, c = c, a, b
  881. else
  882. assert(false, "unreachable")
  883. end
  884.  
  885. local len1 = (c-a):Dot((b-a).unit)
  886. local len2 = (b-a).magnitude - len1
  887. local width = (a + (b-a).unit*len1 - c).magnitude
  888.  
  889. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  890.  
  891. local list = {}
  892.  
  893. if len1 > 0.01 then
  894. local w1 = Instance.new('WedgePart', m)
  895. game:GetService("Debris"):AddItem(w1,5)
  896. w1.Material = "SmoothPlastic"
  897. w1.FormFactor = 'Custom'
  898. w1.BrickColor = BrickColor.new("Really red")
  899. w1.Transparency = 0
  900. w1.Reflectance = 0
  901. w1.Material = "SmoothPlastic"
  902. w1.CanCollide = false
  903. local l1 = Instance.new("PointLight",w1)
  904. l1.Color = Color3.new(170,0,0)
  905. NoOutline(w1)
  906. local sz = Vector3.new(0.2, width, len1)
  907. w1.Size = sz
  908. local sp = Instance.new("SpecialMesh",w1)
  909. sp.MeshType = "Wedge"
  910. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  911. w1:BreakJoints()
  912. w1.Anchored = true
  913. w1.Parent = workspace
  914. w1.Transparency = 0.7
  915. table.insert(Effects,{w1,"Disappear",.01})
  916. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  917. table.insert(list,w1)
  918. end
  919.  
  920. if len2 > 0.01 then
  921. local w2 = Instance.new('WedgePart', m)
  922. game:GetService("Debris"):AddItem(w2,5)
  923. w2.Material = "SmoothPlastic"
  924. w2.FormFactor = 'Custom'
  925. w2.BrickColor = BrickColor.new("Really red")
  926. w2.Transparency = 0
  927. w2.Reflectance = 0
  928. w2.Material = "SmoothPlastic"
  929. w2.CanCollide = false
  930. local l2 = Instance.new("PointLight",w2)
  931. l2.Color = Color3.new(170,0,0)
  932. NoOutline(w2)
  933. local sz = Vector3.new(0.2, width, len2)
  934. w2.Size = sz
  935. local sp = Instance.new("SpecialMesh",w2)
  936. sp.MeshType = "Wedge"
  937. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  938. w2:BreakJoints()
  939. w2.Anchored = true
  940. w2.Parent = workspace
  941. w2.Transparency = 0.7
  942. table.insert(Effects,{w2,"Disappear",.01})
  943. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  944. table.insert(list,w2)
  945. end
  946. return unpack(list)
  947. end
  948.  
  949.  
  950. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  951. if hit.Parent == nil then
  952. return
  953. end
  954. local h = hit.Parent:FindFirstChild("Humanoid")
  955. for _, v in pairs(hit.Parent:children()) do
  956. if v:IsA("Humanoid") then
  957. h = v
  958. end
  959. end
  960. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  961. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  962. return
  963. end
  964. local c = Create("ObjectValue")({
  965. Name = "creator",
  966. Value = game:service("Players").LocalPlayer,
  967. Parent = h
  968. })
  969. game:GetService("Debris"):AddItem(c, 0.5)
  970. if HitSound ~= nil and HitPitch ~= nil then
  971. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  972. end
  973. local Damage = math.random(minim, maxim)
  974. local blocked = false
  975. local block = hit.Parent:findFirstChild("Block")
  976. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  977. blocked = true
  978. block.Value = block.Value - 1
  979. print(block.Value)
  980. end
  981. if blocked == false then
  982. HitHealth = h.Health
  983. h.Health = h.Health - Damage
  984. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  985. print("gained kill")
  986. end
  987. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  988. else
  989. h.Health = h.Health - Damage / 2
  990. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  991. end
  992. if Type == "Knockdown" then
  993. local hum = hit.Parent.Humanoid
  994. hum.PlatformStand = true
  995. coroutine.resume(coroutine.create(function(HHumanoid)
  996. swait(1)
  997. HHumanoid.PlatformStand = false
  998. end), hum)
  999. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1000. local bodvol = Create("BodyVelocity")({
  1001. velocity = angle * knockback,
  1002. P = 5000,
  1003. maxForce = Vector3.new(8000, 8000, 8000),
  1004. Parent = hit
  1005. })
  1006. local rl = Create("BodyAngularVelocity")({
  1007. P = 3000,
  1008. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1009. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1010. Parent = hit
  1011. })
  1012. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1013. game:GetService("Debris"):AddItem(rl, 0.5)
  1014. elseif Type == "Normal" then
  1015. local vp = Create("BodyVelocity")({
  1016. P = 500,
  1017. maxForce = Vector3.new(math.huge, 0, math.huge),
  1018. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1019. })
  1020. if knockback > 0 then
  1021. vp.Parent = hit.Parent.Torso
  1022. end
  1023. game:GetService("Debris"):AddItem(vp, 0.5)
  1024. elseif Type == "Up" then
  1025. local bodyVelocity = Create("BodyVelocity")({
  1026. velocity = Vector3.new(0, 20, 0),
  1027. P = 5000,
  1028. maxForce = Vector3.new(8000, 8000, 8000),
  1029. Parent = hit
  1030. })
  1031. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1032. local bodyVelocity = Create("BodyVelocity")({
  1033. velocity = Vector3.new(0, 20, 0),
  1034. P = 5000,
  1035. maxForce = Vector3.new(8000, 8000, 8000),
  1036. Parent = hit
  1037. })
  1038. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1039. elseif Type == "Leech" then
  1040. local hum = hit.Parent.Humanoid
  1041. if hum ~= nil then
  1042. for i = 0, 2 do
  1043. 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)
  1044. end
  1045. Humanoid.Health = Humanoid.Health + 10
  1046. end
  1047. elseif Type == "UpKnock" then
  1048. local hum = hit.Parent.Humanoid
  1049. hum.PlatformStand = true
  1050. if hum ~= nil then
  1051. hitr = true
  1052. end
  1053. coroutine.resume(coroutine.create(function(HHumanoid)
  1054. swait(5)
  1055. HHumanoid.PlatformStand = false
  1056. hitr = false
  1057. end), hum)
  1058. local bodyVelocity = Create("BodyVelocity")({
  1059. velocity = Vector3.new(0, 20, 0),
  1060. P = 5000,
  1061. maxForce = Vector3.new(8000, 8000, 8000),
  1062. Parent = hit
  1063. })
  1064. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1065. local bodyVelocity = Create("BodyVelocity")({
  1066. velocity = Vector3.new(0, 20, 0),
  1067. P = 5000,
  1068. maxForce = Vector3.new(8000, 8000, 8000),
  1069. Parent = hit
  1070. })
  1071. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1072. elseif Type == "Snare" then
  1073. local bp = Create("BodyPosition")({
  1074. P = 2000,
  1075. D = 100,
  1076. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1077. position = hit.Parent.Torso.Position,
  1078. Parent = hit.Parent.Torso
  1079. })
  1080. game:GetService("Debris"):AddItem(bp, 1)
  1081. elseif Type == "Slashnare" then
  1082. 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)
  1083. for i = 1, math.random(4, 5) do
  1084. 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)
  1085. end
  1086. local bp = Create("BodyPosition")({
  1087. P = 2000,
  1088. D = 100,
  1089. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1090. position = hit.Parent.Torso.Position,
  1091. Parent = hit.Parent.Torso
  1092. })
  1093. game:GetService("Debris"):AddItem(bp, 1)
  1094. elseif Type == "Spike" then
  1095. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1096. local bp = Create("BodyPosition")({
  1097. P = 2000,
  1098. D = 100,
  1099. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1100. position = hit.Parent.Torso.Position,
  1101. Parent = hit.Parent.Torso
  1102. })
  1103. game:GetService("Debris"):AddItem(bp, 1)
  1104. elseif Type == "Freeze" then
  1105. local BodPos = Create("BodyPosition")({
  1106. P = 50000,
  1107. D = 1000,
  1108. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1109. position = hit.Parent.Torso.Position,
  1110. Parent = hit.Parent.Torso
  1111. })
  1112. local BodGy = Create("BodyGyro")({
  1113. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1114. P = 20000,
  1115. Parent = hit.Parent.Torso,
  1116. cframe = hit.Parent.Torso.CFrame
  1117. })
  1118. hit.Parent.Torso.Anchored = true
  1119. coroutine.resume(coroutine.create(function(Part)
  1120. swait(1.5)
  1121. Part.Anchored = false
  1122. end), hit.Parent.Torso)
  1123. game:GetService("Debris"):AddItem(BodPos, 3)
  1124. game:GetService("Debris"):AddItem(BodGy, 3)
  1125. end
  1126. local debounce = Create("BoolValue")({
  1127. Name = "DebounceHit",
  1128. Parent = hit.Parent,
  1129. Value = true
  1130. })
  1131. game:GetService("Debris"):AddItem(debounce, Delay)
  1132. c = Instance.new("ObjectValue")
  1133. c.Name = "creator"
  1134. c.Value = Player
  1135. c.Parent = h
  1136. game:GetService("Debris"):AddItem(c, 0.5)
  1137. end
  1138. end
  1139. function ShowDamage(Pos, Text, Time, Color)
  1140. local Rate = 0.03333333333333333
  1141. local Pos = Pos or Vector3.new(0, 0, 0)
  1142. local Text = Text or ""
  1143. local Time = Time or 2
  1144. local Color = Color or Color3.new(1, 0, 1)
  1145. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1146. EffectPart.Anchored = true
  1147. local BillboardGui = Create("BillboardGui")({
  1148. Size = UDim2.new(3, 0, 3, 0),
  1149. Adornee = EffectPart,
  1150. Parent = EffectPart
  1151. })
  1152. local TextLabel = Create("TextLabel")({
  1153. BackgroundTransparency = 1,
  1154. Size = UDim2.new(1, 0, 1, 0),
  1155. Text = Text,
  1156. TextColor3 = Color,
  1157. TextScaled = true,
  1158. Font = Enum.Font.ArialBold,
  1159. Parent = BillboardGui
  1160. })
  1161. game.Debris:AddItem(EffectPart, Time + 0.1)
  1162. EffectPart.Parent = game:GetService("Workspace")
  1163. delay(0, function()
  1164. local Frames = Time / Rate
  1165. for Frame = 1, Frames do
  1166. wait(Rate)
  1167. local Percent = Frame / Frames
  1168. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1169. TextLabel.TextTransparency = Percent
  1170. end
  1171. if EffectPart and EffectPart.Parent then
  1172. EffectPart:Destroy()
  1173. end
  1174. end)
  1175. end
  1176. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1177. for _, c in pairs(workspace:children()) do
  1178. local hum = c:findFirstChild("Humanoid")
  1179. if hum ~= nil then
  1180. local head = c:findFirstChild("Torso")
  1181. if head ~= nil then
  1182. local targ = head.Position - Part.Position
  1183. local mag = targ.magnitude
  1184. if magni >= mag and c.Name ~= Player.Name then
  1185. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1186. end
  1187. end
  1188. end
  1189. end
  1190. end
  1191.  
  1192. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1193. for _, c in pairs(workspace:children()) do
  1194. local hum = c:findFirstChild("Humanoid")
  1195. if hum ~= nil then
  1196. local head = c:findFirstChild("Torso")
  1197. if head ~= nil then
  1198. local targ = head.Position - Part.Position
  1199. local mag = targ.magnitude
  1200. if magni >= mag and c.Name ~= Player.Name then
  1201. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  1202. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1203. end
  1204. end
  1205. end
  1206. end
  1207. end
  1208.  
  1209. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1210. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1211. end
  1212.  
  1213. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1214. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1215. prt.Anchored=true
  1216. prt.CFrame=cframe
  1217. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1218. --http://www.roblox.com/asset/?id=4770560
  1219. game:GetService("Debris"):AddItem(prt,2)
  1220. CF=prt.CFrame
  1221. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1222. for i=0,1,0.2 do
  1223. wait()
  1224. Part.CFrame=CF*cf(0,0,-0.4)
  1225. end
  1226. for i=0,1,delay do
  1227. wait()
  1228. --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)
  1229. Mesh.Scale=Mesh.Scale
  1230. end
  1231. for i=0,1,0.1 do
  1232. wait()
  1233. Part.Transparency=i
  1234. end
  1235. Part.Parent=nil
  1236. end),prt,msh,CF)
  1237. end
  1238.  
  1239. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1240. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1241. prt.Anchored=true
  1242. prt.Material = "Neon"
  1243. prt.CFrame=cframe
  1244. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1245. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1246. game:GetService("Debris"):AddItem(prt,5)
  1247. coroutine.resume(coroutine.create(function(Part,Mesh)
  1248. for i=0,1,delay do
  1249. swait()
  1250. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1251. Part.Transparency=i
  1252. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1253. end
  1254. Part.Parent=nil
  1255. end),prt,msh)
  1256. end
  1257.  
  1258. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1259. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1260. prt.Anchored=true
  1261. prt.Material = "Neon"
  1262. prt.CFrame=cframe
  1263. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1264. game:GetService("Debris"):AddItem(prt,5)
  1265. coroutine.resume(coroutine.create(function(Part,Mesh)
  1266. local rtype = rottype
  1267. for i=0,1,delay do
  1268. swait()
  1269. if rtype == 1 then
  1270. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1271. elseif rtype == 2 then
  1272. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1273. end
  1274. Part.Transparency=i
  1275. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1276. end
  1277. Part.Parent=nil
  1278. end),prt,msh)
  1279. end
  1280.  
  1281. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1282. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1283. prt.Anchored=true
  1284. prt.CFrame=cframe
  1285. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1286. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1287. game:GetService("Debris"):AddItem(prt,5)
  1288. coroutine.resume(coroutine.create(function(Part,Mesh)
  1289. for i=0,1,delay do
  1290. wait()
  1291. Part.Transparency=i
  1292. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1293. end
  1294. Part.Parent=nil
  1295. end),prt,msh)
  1296. end
  1297.  
  1298. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1299. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1300. prt.Anchored=true
  1301. prt.Material = "Neon"
  1302. prt.CFrame=cframe
  1303. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1304. game:GetService("Debris"):AddItem(prt,5)
  1305. coroutine.resume(coroutine.create(function(Part,Mesh)
  1306. local rtype = rottype
  1307. for i=0,1,delay do
  1308. swait()
  1309. if rtype == 1 then
  1310. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1311. elseif rtype == 2 then
  1312. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1313. end
  1314. Part.Transparency=i
  1315. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1316. end
  1317. Part.Parent=nil
  1318. end),prt,msh)
  1319. end
  1320.  
  1321. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1322. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1323. prt.Anchored=true
  1324. prt.Material = "Neon"
  1325. prt.CFrame=cframe
  1326. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1327. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1328. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1329. game:GetService("Debris"):AddItem(prt,5)
  1330. coroutine.resume(coroutine.create(function(Part,Mesh)
  1331. local rtype = rottype
  1332. for i=0,1,delay do
  1333. swait()
  1334. if rtype == 1 then
  1335. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1336. elseif rtype == 2 then
  1337. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1338. end
  1339. dec.Transparency=i
  1340. dec2.Transparency=i
  1341. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1342. end
  1343. Part.Parent=nil
  1344. end),prt,msh)
  1345. end
  1346.  
  1347. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1348. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1349. prt.Anchored=true
  1350. prt.Material = "Neon"
  1351. prt.CFrame=cframe
  1352. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1353. game:GetService("Debris"):AddItem(prt,5)
  1354. coroutine.resume(coroutine.create(function(Part,Mesh)
  1355. local rtype = rottype
  1356. for i=0,1,delay do
  1357. swait()
  1358. if rtype == 1 then
  1359. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1360. elseif rtype == 2 then
  1361. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1362. end
  1363. prt.Transparency=i
  1364. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1365. end
  1366. Part.Parent=nil
  1367. end),prt,msh)
  1368. end
  1369.  
  1370. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1371. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1372. prt.Anchored=true
  1373. prt.Material = "Neon"
  1374. prt.CFrame=cframe
  1375. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1376. game:GetService("Debris"):AddItem(prt,5)
  1377. coroutine.resume(coroutine.create(function(Part,Mesh)
  1378. local rtype = rottype
  1379. for i=0,1,delay do
  1380. swait()
  1381. if rtype == 1 then
  1382. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1383. elseif rtype == 2 then
  1384. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1385. end
  1386. prt.Transparency=i
  1387. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1388. end
  1389. Part.Parent=nil
  1390. end),prt,msh)
  1391. end
  1392.  
  1393. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1394. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1395. prt.Anchored=true
  1396. prt.Material = "Neon"
  1397. prt.CFrame=cframe
  1398. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1399. game:GetService("Debris"):AddItem(prt,5)
  1400. coroutine.resume(coroutine.create(function(Part,Mesh)
  1401. local rtype = rottype
  1402. for i=0,1,delay do
  1403. swait()
  1404. if rtype == 1 then
  1405. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1406. elseif rtype == 2 then
  1407. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1408. end
  1409. prt.Transparency=i
  1410. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1411. end
  1412. Part.Parent=nil
  1413. end),prt,msh)
  1414. end
  1415.  
  1416. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1417. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1418. prt.Anchored=true
  1419. prt.Material = "Neon"
  1420. prt.CFrame=cframe
  1421. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1422. game:GetService("Debris"):AddItem(prt,5)
  1423. coroutine.resume(coroutine.create(function(Part,Mesh)
  1424. local rtype = rottype
  1425. for i=0,1,delay do
  1426. swait()
  1427. if rtype == 1 then
  1428. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1429. elseif rtype == 2 then
  1430. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1431. end
  1432. prt.Transparency=i
  1433. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1434. end
  1435. Part.Parent=nil
  1436. end),prt,msh)
  1437. end
  1438.  
  1439. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1440. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1441. prt.Anchored=false
  1442. prt.CFrame=cframe
  1443. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1444. local wld=weld(prt,prt,Parent,cframe)
  1445. game:GetService("Debris"):AddItem(prt,5)
  1446. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1447. for i=0,1,delay do
  1448. wait()
  1449. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1450. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1451. Part.Transparency=i
  1452. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1453. end
  1454. Part.Parent=nil
  1455. end),prt,msh,wld)
  1456. end
  1457.  
  1458. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1459. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1460. prt.Anchored=false
  1461. prt.CFrame=cframe
  1462. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1463. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1464. game:GetService("Debris"):AddItem(prt,5)
  1465. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1466. for i=0,1,delay do
  1467. wait()
  1468. Weld.C0=euler(i*20,0,0)
  1469. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1470. Part.Transparency=i
  1471. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1472. end
  1473. Part.Parent=nil
  1474. end),prt,msh,wld)
  1475. end
  1476.  
  1477. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1478. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1479. prt.Anchored=true
  1480. prt.CFrame=cframe
  1481. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1482. game:GetService("Debris"):AddItem(prt,2)
  1483. coroutine.resume(coroutine.create(function(Part,Mesh)
  1484. for i=0,1,delay do
  1485. wait()
  1486. Part.CFrame=Part.CFrame
  1487. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1488. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1489. prt2.Anchored=true
  1490. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1491. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1492. game:GetService("Debris"):AddItem(prt2,2)
  1493. coroutine.resume(coroutine.create(function(Part,Mesh)
  1494. for i=0,1,0.1 do
  1495. wait()
  1496. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1497. end
  1498. Part.Parent=nil
  1499. end),prt2,msh2)
  1500. end
  1501. for i=0,1,delay*2 do
  1502. wait()
  1503. Part.CFrame=Part.CFrame
  1504. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1505. end
  1506. Part.Parent=nil
  1507. end),prt,msh)
  1508. end
  1509.  
  1510. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1511. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1512. prt.Anchored=true
  1513. prt.CFrame=cframe
  1514. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1515. game:GetService("Debris"):AddItem(prt,2)
  1516. coroutine.resume(coroutine.create(function(Part,Mesh)
  1517. for i=0,1,delay do
  1518. wait()
  1519. Part.CFrame=Part.CFrame
  1520. Part.Transparency=i
  1521. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1522. end
  1523. Part.Parent=nil
  1524. end),prt,msh)
  1525. end
  1526.  
  1527. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1528. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1529. prt.Anchored=true
  1530. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1531. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1532. game:GetService("Debris"):AddItem(prt,2)
  1533. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1534. CF=Part.CFrame
  1535. Numbb=0
  1536. randnumb=math.random()/10
  1537. rand1=math.random()/10
  1538. for i=0,1,rand1 do
  1539. wait()
  1540. CF=CF*cf(0,math.random()/2,0)
  1541. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1542. Part.CFrame=CF*euler(Numbb,0,0)
  1543. Part.Transparency=i
  1544. Numbb=Numbb+randnumb
  1545. end
  1546. Part.Parent=nil
  1547. end),prt,CF,Numbb,randnumb)
  1548. end
  1549.  
  1550. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1551. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1552. prt.Anchored=true
  1553. prt.CFrame=cframe
  1554. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1555. game:GetService("Debris"):AddItem(prt,5)
  1556. coroutine.resume(coroutine.create(function(Part,Mesh)
  1557. for i=0,1,delay do
  1558. wait()
  1559. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1560. Part.Transparency=i
  1561. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1562. end
  1563. Part.Parent=nil
  1564. end),prt,msh)
  1565. end
  1566.  
  1567. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1568. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1569. prt.Anchored=true
  1570. prt.CFrame=cframe
  1571. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1572. game:GetService("Debris"):AddItem(prt,2)
  1573. coroutine.resume(coroutine.create(function(Part,Mesh)
  1574. for i=0,1,delay do
  1575. wait()
  1576. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1577. Part.Transparency=i
  1578. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1579. end
  1580. Part.Parent=nil
  1581. end),prt,msh)
  1582. end
  1583.  
  1584. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1585. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1586. prt.Anchored=true
  1587. prt.CFrame=cframe*cf(x,y,z)
  1588. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1589. game:GetService("Debris"):AddItem(prt,5)
  1590. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1591. local num=math.random()
  1592. local num2=math.random(-3,2)+math.random()
  1593. local numm=0
  1594. for i=0,1,delay*2 do
  1595. swait()
  1596. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1597. Part.Transparency=i
  1598. numm=numm+0.01
  1599. end
  1600. Part.Parent=nil
  1601. Mesh.Parent=nil
  1602. end),prt,msh,x,y,z)
  1603. end
  1604.  
  1605. function dmgstart(dmg,what)
  1606. hitcon = what.Touched:connect(function(hit)
  1607. local hum = hit.Parent:FindFirstChild("Humanoid")
  1608. if hum and not hum:IsDescendantOf(Character) then
  1609. hum:TakeDamage(dmg)
  1610. end
  1611. end)
  1612. end
  1613.  
  1614. function dmgstop()
  1615. hitcon:disconnect()
  1616. end
  1617.  
  1618. function Cloak()
  1619. Face.Parent=nil
  1620. cloaked=true
  1621. for _,v in pairs(Torso.Parent:children()) do
  1622. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1623. coroutine.resume(coroutine.create(function()
  1624. for i=0,1,0.2 do
  1625. wait()
  1626. v.Transparency=i
  1627. end
  1628. v.Transparency=1
  1629. end))
  1630. end
  1631. if v.className=="Hat" then
  1632. hatp=v.Handle
  1633. coroutine.resume(coroutine.create(function(derp)
  1634. for i=0,1,0.2 do
  1635. wait()
  1636. derp.Transparency=i
  1637. end
  1638. derp.Transparency=1
  1639. end),hatp)
  1640. end
  1641. end
  1642. for _,v in pairs(m:children()) do
  1643. if v.className=="Part" then
  1644. coroutine.resume(coroutine.create(function()
  1645. for i=0,1,0.2 do
  1646. wait()
  1647. v.Transparency=i
  1648. end
  1649. v.Transparency=1
  1650. end))
  1651. end
  1652. end
  1653. end
  1654.  
  1655. function UnCloak()
  1656. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1657. Face.Parent=Head
  1658. cloaked=false
  1659. for _,v in pairs(Torso.Parent:children()) do
  1660. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1661. coroutine.resume(coroutine.create(function()
  1662. for i=0,1,0.1 do
  1663. wait()
  1664. v.Transparency=v.Transparency-0.1
  1665. end
  1666. v.Transparency=0
  1667. end))
  1668. end
  1669. if v.className=="Hat" then
  1670. hatp=v.Handle
  1671. coroutine.resume(coroutine.create(function(derp)
  1672. for i=0,1,0.1 do
  1673. wait()
  1674. derp.Transparency=derp.Transparency-0.1
  1675. end
  1676. derp.Transparency=0
  1677. end),hatp)
  1678. end
  1679. end
  1680. for _,v in pairs(m:children()) do
  1681. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1682. coroutine.resume(coroutine.create(function()
  1683. for i=0,1,0.1 do
  1684. wait()
  1685. v.Transparency=v.Transparency-0.1
  1686. end
  1687. v.Transparency=0
  1688. end))
  1689. v.Transparency=0
  1690. end
  1691. end
  1692. end
  1693.  
  1694. local origcolor = BrickColor.new("Dark indigo")
  1695. ---- This section of explosions.
  1696. function Explode(rad,par,pitch,vol,mindam,maxdam)
  1697. local expart = Instance.new("Part",char)
  1698. local expart2 = Instance.new("Part",char)
  1699. local rin = Instance.new("Part",char)
  1700. local rin2 = Instance.new("Part",char)
  1701. local partMesh = Instance.new("SpecialMesh",expart)
  1702. partMesh.MeshType = "Sphere"
  1703. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1704. partMesh2.MeshType = "Sphere"
  1705. local partMesh3 = Instance.new("SpecialMesh",rin)
  1706. partMesh3.MeshType = "Brick"
  1707. local partMesh4 = Instance.new("SpecialMesh",rin2)
  1708. partMesh4.MeshType = "Brick"
  1709. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  1710. partMesh.Scale = vt(rad,rad,rad)
  1711. expart.Size = vt(1,1,1)
  1712. expart.Transparency = 1
  1713. expart.Anchored = true
  1714. expart.Material = "Neon"
  1715. expart.BrickColor = bc("White")
  1716. expart.CFrame = par.CFrame
  1717. partMesh2.Scale = vt(rad,rad,rad)
  1718. expart2.Size = vt(1.15,1.15,1.15)
  1719. expart2.Transparency = 0.75
  1720. expart2.Anchored = true
  1721. expart2.Material = "Glass"
  1722. expart2.BrickColor = par.BrickColor
  1723. expart2.CFrame = par.CFrame
  1724. rin.Size = vt(1.15,1.15,1.15)
  1725. rin.Transparency = 1
  1726. rin.Anchored = true
  1727. rin.Material = "Neon"
  1728. rin.BrickColor = par.BrickColor
  1729. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1730. rin2.Size = vt(1.15,1.15,1.15)
  1731. rin2.Transparency = 1
  1732. rin2.Anchored = true
  1733. rin2.Material = "Neon"
  1734. rin2.BrickColor = par.BrickColor
  1735. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1736. partMesh3.Scale = vt(0,1,0)
  1737. partMesh4.Scale = vt(0,1,0)
  1738. local dec2 = Instance.new("Decal", rin)
  1739. dec2.Face = "Top"
  1740. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1741. dec2.Parent = rin
  1742. local dec2b = dec2:Clone()
  1743. dec2b.Face = "Bottom"
  1744. dec2b.Parent = rin
  1745.  
  1746. local dec2a = Instance.new("Decal", rin2)
  1747. dec2a.Face = "Top"
  1748. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  1749. dec2a.Parent = rin2
  1750. local dec2ab = dec2a:Clone()
  1751. dec2ab.Face = "Bottom"
  1752. dec2ab.Parent = rin2
  1753. expart.CanCollide = false
  1754. expart2.CanCollide = false
  1755. rin.CanCollide = false
  1756. rin2.CanCollide = false
  1757. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  1758. local value = 1*rad/6.5
  1759. for i = 0, 199 do
  1760. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1761. expart.CFrame = expart.CFrame
  1762. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1763. expart2.CFrame = expart.CFrame
  1764. value = value - 0.035*rad/30
  1765. if value < 7.5 then
  1766. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  1767. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  1768. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  1769. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  1770. end
  1771. if value < 0 then
  1772. dec2.Transparency = dec2.Transparency + 0.025
  1773. dec2a.Transparency = dec2a.Transparency + 0.025
  1774. dec2b.Transparency = dec2b.Transparency + 0.025
  1775. dec2ab.Transparency = dec2ab.Transparency + 0.025
  1776. expart.Transparency = expart.Transparency + 0.025
  1777. expart2.Transparency = expart2.Transparency + 0.025
  1778. rin.Transparency = rin.Transparency + 0.025
  1779. rin2.Transparency = rin2.Transparency + 0.025
  1780. end
  1781. swait()
  1782. end
  1783. game:GetService("Debris"):AddItem(expart, 1)
  1784. game:GetService("Debris"):AddItem(expart2, 1)
  1785. game:GetService("Debris"):AddItem(rin, 1)
  1786. game:GetService("Debris"):AddItem(rin2, 1)
  1787. end
  1788.  
  1789. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  1790. local expart = Instance.new("Part",char)
  1791. local expart2 = Instance.new("Part",char)
  1792. local partMesh = Instance.new("SpecialMesh",expart)
  1793. partMesh.MeshType = "Sphere"
  1794. local partMesh2 = Instance.new("SpecialMesh",expart2)
  1795. partMesh2.MeshType = "Sphere"
  1796. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  1797. partMesh.Scale = vt(rad,rad,rad)
  1798. expart.Size = vt(1,1,1)
  1799. expart.Transparency = 0
  1800. expart.Anchored = true
  1801. expart.Material = "Neon"
  1802. expart.BrickColor = bc("White")
  1803. expart.CFrame = par.CFrame
  1804. partMesh2.Scale = vt(rad,rad,rad)
  1805. expart2.Size = vt(1.15,1.15,1.15)
  1806. expart2.Transparency = 0.5
  1807. expart2.Anchored = true
  1808. expart2.Material = "Neon"
  1809. expart2.BrickColor = par.BrickColor
  1810. expart2.CFrame = par.CFrame
  1811. expart.CanCollide = false
  1812. expart2.CanCollide = false
  1813. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  1814. local value = 1*rad/6.5
  1815. for i = 0, 75 do
  1816. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1817. expart.CFrame = expart.CFrame
  1818. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1819. expart2.CFrame = expart.CFrame
  1820. value = value - 0.035*rad/5
  1821. if value < 0 then
  1822. value = 0
  1823. expart.Transparency = expart.Transparency + 0.05
  1824. expart2.Transparency = expart2.Transparency + 0.05
  1825. end
  1826. swait()
  1827. end
  1828. game:GetService("Debris"):AddItem(expart, 1)
  1829. game:GetService("Debris"):AddItem(expart2, 1)
  1830. end
  1831.  
  1832. function AreaDanger(rad,par,mindam,maxdam)
  1833. local expart = Instance.new("Part",char)
  1834. local partMesh = Instance.new("SpecialMesh",expart)
  1835. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1836. partMesh.MeshType = "Sphere"
  1837. partMesh.Scale = vt(rad,rad,rad)
  1838. expart.Size = vt(1,1,1)
  1839. expart.Transparency = 0.5
  1840. expart.Anchored = true
  1841. expart.Material = "Neon"
  1842. expart.CanCollide = false
  1843. expart.BrickColor = par.BrickColor
  1844. expart.CFrame = par.CFrame
  1845. local value = 1*rad/5
  1846. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  1847. for i = 0, 14 do
  1848. wait()
  1849. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1850. expart.CFrame = expart.CFrame
  1851. value = value - 0.035*rad
  1852. if value < 0 then
  1853. value = 0
  1854. end
  1855. end
  1856. wait(0.25)
  1857. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  1858. wait(0.5)
  1859. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  1860. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  1861. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  1862. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  1863. for i = 0, 14 do
  1864. wait()
  1865. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1866. expart.CFrame = expart.CFrame
  1867. value = value - 0.035*rad/2
  1868. end
  1869. expart.Transparency = 1
  1870. game:GetService("Debris"):AddItem(expart, 5)
  1871. end
  1872.  
  1873. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  1874. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  1875. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  1876. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  1877. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1878. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  1879. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  1880. for i = 0, 24 do
  1881. 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))
  1882. end
  1883. for i = 0, 24 do
  1884. local expart = Instance.new("Part",char)
  1885. expart.Transparency = 1
  1886. expart.Anchored = true
  1887. expart.CanCollide = false
  1888. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  1889. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  1890. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1891. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  1892. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  1893. for i = 0, 9 do
  1894. 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))
  1895. end
  1896. game:GetService("Debris"):AddItem(expart, 2)
  1897. wait(0.1)
  1898. end
  1899. end
  1900.  
  1901. function EXterPlosion(par)
  1902. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  1903. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  1904. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  1905. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1906. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  1907. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  1908. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  1909. for i = 0, 24 do
  1910. 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))
  1911. end
  1912. for i = 0, 24 do
  1913. 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))
  1914. end
  1915. end
  1916. ----
  1917.  
  1918. local stackingpower = 1
  1919.  
  1920. function HellsCore()
  1921. attack = true
  1922. --[[for i = 0,1,0.1 do
  1923. swait()
  1924. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  1925. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1926. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1927. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1928. end]]--
  1929.  
  1930. local rng = Instance.new("Part", char)
  1931. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  1932. rng.Anchored = true
  1933. rng.BrickColor = origcolor
  1934. rng.CanCollide = false
  1935. rng.FormFactor = 3
  1936. rng.Name = "Ring"
  1937. rng.Material = "Neon"
  1938. rng.Size = Vector3.new(1, 1, 1)
  1939. rng.Transparency = 1
  1940. rng.TopSurface = 0
  1941. rng.BottomSurface = 0
  1942. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  1943. local rngm = Instance.new("SpecialMesh", rng)
  1944. rngm.MeshType = "Brick"
  1945. local dec = Instance.new("Decal",rng)
  1946. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  1947. dec.Face = "Top"
  1948. local dec2 = dec:Clone()
  1949. dec2.Parent = rng
  1950. dec2.Face = "Bottom"
  1951.  
  1952. local scaler2 = 1
  1953. scaler2 = 1*3
  1954. for i = 0,10,0.1 do
  1955. swait()
  1956. scaler2 = scaler2 - 0.01*3
  1957. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1958. end
  1959. wait(3)
  1960. for i = 0,10,0.1 do
  1961. swait()
  1962. scaler2 = scaler2 - 0.01*3
  1963. dec.Transparency = dec.Transparency + 0.01
  1964. dec2.Transparency = dec2.Transparency + 0.01
  1965. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1966. end
  1967. rng:Destroy()
  1968. attack = false
  1969. end
  1970.  
  1971.  
  1972. function FaceMouse()
  1973. Cam = workspace.CurrentCamera
  1974. return {
  1975. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1976. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1977. }
  1978. end
  1979.  
  1980. function FaceMouse2()
  1981. Cam = workspace.CurrentCamera
  1982. return {
  1983. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  1984. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1985. }
  1986. end
  1987.  
  1988.  
  1989. local HoldingZ = false
  1990. local HoldingX = false
  1991. local HoldingC = false
  1992. local HoldingV = false
  1993. local HoldingB = false
  1994.  
  1995.  
  1996. function RingEffect(pos,startsize,size,col)
  1997. local lb = Instance.new("Part")
  1998. lb.Parent = char
  1999. lb.BrickColor = col
  2000. lb.CanCollide = false
  2001. lb.Material = "Neon"
  2002. lb.Anchored = true
  2003. lb.TopSurface = 0
  2004. lb.BottomSurface = 0
  2005. lb.Transparency = 1
  2006. lb.Size = vt(1,1,1)
  2007. lb.CFrame = pos
  2008. local thingery = Instance.new("SpecialMesh",lb)
  2009. thingery.MeshType = "Brick"
  2010. thingery.Scale = vt(startsize,0.1,startsize)
  2011. local dec2 = Instance.new("Texture", lb)
  2012. dec2.Face = "Top"
  2013. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2014. dec2.Color3 = lb.Color
  2015. dec2.Parent = lb
  2016. dec2.StudsPerTileU = startsize
  2017. dec2.StudsPerTileV = startsize
  2018. local dec2b = dec2:Clone()
  2019. dec2b.Face = "Bottom"
  2020. dec2b.Parent = lb
  2021. local randomrot = math.random(1,2)
  2022. coroutine.resume(coroutine.create(function()
  2023. for i = 0, 19 do
  2024. swait()
  2025. if randomrot == 1 then
  2026. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  2027. elseif randomrot == 2 then
  2028. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  2029. end
  2030. dec2.Transparency = dec2.Transparency + 0.05
  2031. dec2b.Transparency = dec2b.Transparency + 0.05
  2032. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  2033. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  2034. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  2035. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  2036. thingery.Scale = thingery.Scale + vt(size,0,size)
  2037. end
  2038. lb:Destroy()
  2039. end))
  2040. end
  2041.  
  2042. function SlowRingEffect(pos,startsize,size,col)
  2043. local lb = Instance.new("Part")
  2044. lb.Parent = char
  2045. lb.BrickColor = col
  2046. lb.CanCollide = false
  2047. lb.Material = "Neon"
  2048. lb.Anchored = true
  2049. lb.TopSurface = 0
  2050. lb.BottomSurface = 0
  2051. lb.Transparency = 1
  2052. lb.Size = vt(1,1,1)
  2053. lb.CFrame = pos
  2054. local thingery = Instance.new("SpecialMesh",lb)
  2055. thingery.MeshType = "Brick"
  2056. thingery.Scale = vt(startsize,0.1,startsize)
  2057. local dec2 = Instance.new("Decal", lb)
  2058. dec2.Face = "Top"
  2059. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2060. dec2.Color3 = lb.Color
  2061. dec2.Parent = lb
  2062. local dec2b = dec2:Clone()
  2063. dec2b.Face = "Bottom"
  2064. dec2b.Parent = lb
  2065. local randomrot = math.random(1,2)
  2066. coroutine.resume(coroutine.create(function()
  2067. for i = 0, 49 do
  2068. swait()
  2069. if randomrot == 1 then
  2070. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  2071. elseif randomrot == 2 then
  2072. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  2073. end
  2074. dec2.Transparency = dec2.Transparency + 0.02
  2075. dec2b.Transparency = dec2b.Transparency + 0.02
  2076. thingery.Scale = thingery.Scale + vt(size,0,size)
  2077. end
  2078. lb:Destroy()
  2079. end))
  2080. end
  2081.  
  2082.  
  2083. function groundringaa(pos)
  2084. local rng = Instance.new("Part", char)
  2085. rng.Anchored = true
  2086. rng.BrickColor = origcolor
  2087. rng.CanCollide = false
  2088. rng.FormFactor = 3
  2089. rng.Name = "Ring"
  2090. rng.Size = Vector3.new(1, 1, 1)
  2091. rng.Transparency = 1
  2092. rng.TopSurface = 0
  2093. rng.BottomSurface = 0
  2094. rng.CFrame = pos
  2095. local rngm = Instance.new("SpecialMesh", rng)
  2096. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2097. rngm.Scale = Vector3.new(100,100,5)
  2098. local scaler2 = -10/2
  2099. coroutine.resume(coroutine.create(function()
  2100. for i = 0,10,0.1 do
  2101. swait()
  2102. scaler2 = scaler2 + 0.1/2
  2103. rng.Transparency = rng.Transparency - 0.01
  2104. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2105. end
  2106. rng:Destroy()
  2107. end))
  2108. end
  2109.  
  2110. function groundringbb(pos)
  2111. local rng = Instance.new("Part", char)
  2112. rng.Anchored = true
  2113. rng.BrickColor = origcolor
  2114. rng.CanCollide = false
  2115. rng.FormFactor = 3
  2116. rng.Name = "Ring"
  2117. rng.Size = Vector3.new(1, 1, 1)
  2118. rng.Transparency = 0
  2119. rng.TopSurface = 0
  2120. rng.BottomSurface = 0
  2121. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2122. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2123. local rngm = Instance.new("SpecialMesh", rng)
  2124. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2125. rngm.Scale = Vector3.new(0,0,5)
  2126. local scaler2 = 10
  2127. coroutine.resume(coroutine.create(function()
  2128. for i = 0,10*2,0.1 do
  2129. swait()
  2130. scaler2 = scaler2 - 0.1/2
  2131. rng.Transparency = rng.Transparency + 0.005
  2132. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2133. end
  2134. rng:Destroy()
  2135. end))
  2136. end
  2137.  
  2138. function groundglowaa(pos)
  2139. local rng = Instance.new("Part", char)
  2140. rng.Anchored = true
  2141. rng.BrickColor = origcolor
  2142. rng.CanCollide = false
  2143. rng.FormFactor = 3
  2144. rng.Material = "Neon"
  2145. rng.Name = "Ring"
  2146. rng.Size = Vector3.new(1, 1, 1)
  2147. rng.Transparency = 0
  2148. rng.TopSurface = 0
  2149. rng.BottomSurface = 0
  2150. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2151. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2152. local rngm = Instance.new("SpecialMesh", rng)
  2153. rngm.MeshType = "Sphere"
  2154. rngm.Scale = Vector3.new(0,0,25)
  2155. local scaler2 = 10*2
  2156. coroutine.resume(coroutine.create(function()
  2157. for i = 0,10*2,0.1 do
  2158. swait()
  2159. scaler2 = scaler2 - 0.1*2/2
  2160. rng.Transparency = rng.Transparency + 0.005
  2161. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2162. end
  2163. rng:Destroy()
  2164. end))
  2165. end
  2166.  
  2167. function bemaa(pos)
  2168. local rng = Instance.new("Part", char)
  2169. rng.Anchored = true
  2170. rng.BrickColor = origcolor
  2171. rng.CanCollide = false
  2172. rng.FormFactor = 3
  2173. rng.Material = "Neon"
  2174. rng.Name = "Ring"
  2175. rng.Size = Vector3.new(1, 1, 1)
  2176. rng.Transparency = 0
  2177. rng.TopSurface = 0
  2178. rng.BottomSurface = 0
  2179. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2180. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2181. local rngm = Instance.new("SpecialMesh", rng)
  2182. rngm.MeshType = "Sphere"
  2183. rngm.Scale = Vector3.new(0,0,10000)
  2184. local scaler2 = 1
  2185. coroutine.resume(coroutine.create(function()
  2186. for i = 0,99,0.1 do
  2187. swait()
  2188. scaler2 = scaler2 - 0.0025
  2189. rng.Transparency = rng.Transparency + 0.0025
  2190. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2191. end
  2192. rng:Destroy()
  2193. end))
  2194. end
  2195.  
  2196. function bemaashake(pos)
  2197. local rng = Instance.new("Part", char)
  2198. rng.Anchored = true
  2199. rng.BrickColor = origcolor
  2200. rng.CanCollide = false
  2201. rng.FormFactor = 3
  2202. rng.Material = "Neon"
  2203. rng.Name = "Ring"
  2204. rng.Size = Vector3.new(1, 1, 1)
  2205. rng.Transparency = 0
  2206. rng.TopSurface = 0
  2207. rng.BottomSurface = 0
  2208. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2209. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2210. local rngm = Instance.new("SpecialMesh", rng)
  2211. rngm.MeshType = "Sphere"
  2212. local oof = Instance.new("Part",char)
  2213. oof.Parent = rng
  2214. oof.CFrame = rng.CFrame
  2215. oof.CanCollide = false
  2216. oof.Anchored = true
  2217. oof.Transparency = 1
  2218. rngm.Scale = Vector3.new(0,0,10000)
  2219. local scaler2 = 1*10
  2220. coroutine.resume(coroutine.create(function()
  2221. for i = 0,99,0.1 do
  2222. swait()
  2223. scaler2 = scaler2 - 0.0025*10
  2224. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2225. rng.Transparency = rng.Transparency + 0.0025
  2226. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2227. end
  2228. rng:Destroy()
  2229. end))
  2230. end
  2231.  
  2232. function groundringlarge(pos)
  2233. local rng = Instance.new("Part", char)
  2234. rng.Anchored = true
  2235. rng.BrickColor = origcolor
  2236. rng.CanCollide = false
  2237. rng.FormFactor = 3
  2238. rng.Name = "Ring"
  2239. rng.Size = Vector3.new(1, 1, 1)
  2240. rng.Transparency = 0
  2241. rng.TopSurface = 0
  2242. rng.BottomSurface = 0
  2243. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2244. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2245. local rngm = Instance.new("SpecialMesh", rng)
  2246. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2247. rngm.Scale = Vector3.new(0,0,5)
  2248. local scaler2 = 10*10
  2249. coroutine.resume(coroutine.create(function()
  2250. for i = 0,10*2,0.1 do
  2251. swait()
  2252. scaler2 = scaler2 - 0.1*10/2
  2253. rng.Transparency = rng.Transparency + 0.005
  2254. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2255. end
  2256. rng:Destroy()
  2257. end))
  2258. end
  2259.  
  2260. function sphere(bonuspeed,type,pos,scale,value,color)
  2261. local type = type
  2262. local rng = Instance.new("Part", char)
  2263. rng.Anchored = true
  2264. rng.BrickColor = color
  2265. rng.CanCollide = false
  2266. rng.FormFactor = 3
  2267. rng.Name = "Ring"
  2268. rng.Material = "Neon"
  2269. rng.Size = Vector3.new(1, 1, 1)
  2270. rng.Transparency = 0
  2271. rng.TopSurface = 0
  2272. rng.BottomSurface = 0
  2273. rng.CFrame = pos
  2274. local rngm = Instance.new("SpecialMesh", rng)
  2275. rngm.MeshType = "Sphere"
  2276. rngm.Scale = scale
  2277. local scaler2 = 1
  2278. if type == "Add" then
  2279. scaler2 = 1*value
  2280. elseif type == "Divide" then
  2281. scaler2 = 1/value
  2282. end
  2283. coroutine.resume(coroutine.create(function()
  2284. for i = 0,10/bonuspeed,0.1 do
  2285. swait()
  2286. if type == "Add" then
  2287. scaler2 = scaler2 - 0.01*value/bonuspeed
  2288. elseif type == "Divide" then
  2289. scaler2 = scaler2 - 0.01/value*bonuspeed
  2290. end
  2291. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2292. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2293. end
  2294. rng:Destroy()
  2295. end))
  2296. end
  2297. Humanoid.Animator.Parent = nil
  2298.  
  2299. function AppearMutatedLimbs()
  2300. hum.WalkSpeed = 0
  2301. hum.MaxHealth = math.huge
  2302. attack = true
  2303. for i = 0,14,0.1 do
  2304. swait()
  2305. 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)
  2306. 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)
  2307. 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)
  2308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  2309. 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)
  2310. 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)
  2311. end
  2312. for i = 0,8,0.1 do
  2313. swait()
  2314. 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)
  2315. 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)
  2316. 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)
  2317. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  2318. 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)
  2319. 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)
  2320. end
  2321. for i = 0,2,0.1 do
  2322. swait()
  2323. 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)
  2324. 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)
  2325. 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)
  2326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2327. 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)
  2328. 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)
  2329. end
  2330. for i, v in pairs(MutantParts:GetChildren()) do
  2331. if v:IsA("Part") then
  2332. v.Transparency = 0
  2333. end
  2334. end
  2335. local bld = Instance.new("ParticleEmitter",larm)
  2336. bld.LightEmission = 0.1
  2337. bld.Texture = "rbxassetid://284205403"
  2338. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2339. bld.Rate = 500
  2340. bld.Lifetime = NumberRange.new(1)
  2341. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2342. bld.Acceleration = vt(0,-25,0)
  2343. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2344. bld.Speed = NumberRange.new(10,25)
  2345. bld.EmissionDirection = "Bottom"
  2346. bld.VelocitySpread = 100
  2347. bld.Rotation = NumberRange.new(-500,500)
  2348. bld.RotSpeed = NumberRange.new(-500,500)
  2349. local bldef = Instance.new("ParticleEmitter",larm)
  2350. bldef.LightEmission = 0.1
  2351. bldef.Texture = "rbxassetid://284205403"
  2352. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2353. bldef.Rate = 25
  2354. bldef.Lifetime = NumberRange.new(1)
  2355. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2356. bldef.Acceleration = vt(0,-5,0)
  2357. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2358. bldef.Speed = NumberRange.new(0,0,0)
  2359. bldef.EmissionDirection = "Bottom"
  2360. bldef.VelocitySpread = 150
  2361. bldef.Rotation = NumberRange.new(-500,500)
  2362. bldef.RotSpeed = NumberRange.new(-500,500)
  2363. game:GetService("Debris"):AddItem(bld,3)
  2364. CFuncs["Sound"].Create("rbxassetid://429400881", larm, 2.5, 1)
  2365. CFuncs["Sound"].Create("rbxassetid://206082327", larm, 0.75, 1)
  2366. for i = 0,1,0.1 do
  2367. swait()
  2368. 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)
  2369. 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)
  2370. 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)
  2371. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  2372. 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)
  2373. 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)
  2374. end
  2375. bld.Enabled = false
  2376. attack = false
  2377. hum.WalkSpeed = 6
  2378. end
  2379.  
  2380. function AppearMutatedLimbs2()
  2381. hum.WalkSpeed = 0
  2382. attack = true
  2383. LeftModeUnlocked = true
  2384. for i = 0,8,0.1 do
  2385. swait()
  2386. 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)
  2387. 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)
  2388. 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)
  2389. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  2390. 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)
  2391. 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)
  2392. end
  2393. for i = 0,2,0.1 do
  2394. swait()
  2395. 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)
  2396. 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)
  2397. 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)
  2398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  2399. 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)
  2400. 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)
  2401. end
  2402. for i, v in pairs(MutantParts2:GetChildren()) do
  2403. if v:IsA("Part") then
  2404. v.Transparency = 0
  2405. end
  2406. end
  2407. local bld = Instance.new("ParticleEmitter",rarm)
  2408. bld.LightEmission = 0.1
  2409. bld.Texture = "rbxassetid://284205403"
  2410. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2411. bld.Rate = 500
  2412. bld.Lifetime = NumberRange.new(1)
  2413. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2414. bld.Acceleration = vt(0,-25,0)
  2415. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2416. bld.Speed = NumberRange.new(10,25)
  2417. bld.EmissionDirection = "Bottom"
  2418. bld.VelocitySpread = 100
  2419. bld.Rotation = NumberRange.new(-500,500)
  2420. bld.RotSpeed = NumberRange.new(-500,500)
  2421. local bldef = Instance.new("ParticleEmitter",rarm)
  2422. bldef.LightEmission = 0.1
  2423. bldef.Texture = "rbxassetid://284205403"
  2424. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2425. bldef.Rate = 25
  2426. bldef.Lifetime = NumberRange.new(1)
  2427. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2428. bldef.Acceleration = vt(0,-5,0)
  2429. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2430. bldef.Speed = NumberRange.new(0,0,0)
  2431. bldef.EmissionDirection = "Bottom"
  2432. bldef.VelocitySpread = 150
  2433. bldef.Rotation = NumberRange.new(-500,500)
  2434. bldef.RotSpeed = NumberRange.new(-500,500)
  2435. game:GetService("Debris"):AddItem(bld,3)
  2436. CFuncs["Sound"].Create("rbxassetid://429400881", rarm, 2.5, 1)
  2437. CFuncs["Sound"].Create("rbxassetid://206082327", rarm, 0.75, 1)
  2438. for i = 0,1,0.1 do
  2439. swait()
  2440. 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)
  2441. 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)
  2442. 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)
  2443. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  2444. 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)
  2445. 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)
  2446. end
  2447. bld.Enabled = false
  2448. attack = false
  2449. hum.WalkSpeed = 6
  2450. end
  2451.  
  2452. function TargetSelect(person)
  2453. local dd=coroutine.wrap(function()
  2454. if targetted ~= person then
  2455. targetted = person
  2456. img2.Size = UDim2.new(1,0,1,0)
  2457. img2.ImageTransparency = 0
  2458. img2.Position = UDim2.new(0,0,0,0)
  2459. img2.ImageColor3 = Color3.new(0,0,0)
  2460. for i = 0, 2, 0.1 do
  2461. swait()
  2462. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  2463. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  2464. img2.ImageTransparency = img2.ImageTransparency + 0.05
  2465. end
  2466. end
  2467. end)
  2468. dd()
  2469. end
  2470.  
  2471. function FindNearestTorso(Position, Distance, SinglePlayer)
  2472. if SinglePlayer then
  2473. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2474. end
  2475. local List = {}
  2476. for i, v in pairs(workspace:GetChildren()) do
  2477. if v:IsA("Model") then
  2478. if v:findFirstChild("Torso") then
  2479. if v ~= Character then
  2480. if (v.Torso.Position - Position).magnitude <= Distance then
  2481. table.insert(List, v)
  2482. end
  2483. end
  2484. end
  2485. end
  2486. end
  2487. return List
  2488. end
  2489.  
  2490. function LockOn()
  2491. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2492. TargetSelect(Mouse.Target.Parent)
  2493. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  2494. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  2495. TargetSelect(Mouse.Target.Parent)
  2496. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  2497. targetted = nil
  2498. end
  2499. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  2500. end
  2501. end
  2502.  
  2503. function dmg(dude)
  2504. if dude.Name ~= Character then
  2505. local bgf = Instance.new("BodyGyro",dude.Head)
  2506. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2507. local val = Instance.new("BoolValue",dude)
  2508. val.Name = "IsHit"
  2509. local ds = coroutine.wrap(function()
  2510. if dude.Name ~= "isaacsantamaria01" then
  2511. killcount = killcount + 1
  2512. dude:WaitForChild("Torso"):BreakJoints()
  2513. wait(0.5)
  2514. targetted = nil
  2515. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2516. coroutine.resume(coroutine.create(function()
  2517. for i, v in pairs(dude:GetChildren()) do
  2518. if v:IsA("Accessory") then
  2519. v:Destroy()
  2520. end
  2521. if v:IsA("Humanoid") then
  2522. v:Destroy()
  2523. end
  2524. if v:IsA("CharacterMesh") then
  2525. v:Destroy()
  2526. end
  2527. if v:IsA("Model") then
  2528. v:Destroy()
  2529. end
  2530. if v:IsA("Part") then
  2531. for x, o in pairs(v:GetChildren()) do
  2532. if o:IsA("Decal") then
  2533. o:Destroy()
  2534. end
  2535. end
  2536. coroutine.resume(coroutine.create(function()
  2537. v.Material = "Neon"
  2538. v.CanCollide = false
  2539. local bld = Instance.new("ParticleEmitter",v)
  2540. bld.LightEmission = 1
  2541. bld.Texture = "rbxassetid://284205403"
  2542. bld.Color = ColorSequence.new(Color3.new(155,0,155))
  2543. bld.Rate = 50
  2544. bld.Lifetime = NumberRange.new(1)
  2545. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2546. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2547. bld.Speed = NumberRange.new(0,0,0)
  2548. bld.Rotation = NumberRange.new(-500,500)
  2549. bld.RotSpeed = NumberRange.new(-500,500)
  2550. local sbs = Instance.new("BodyPosition", v)
  2551. sbs.P = 3000
  2552. sbs.D = 1000
  2553. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2554. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2555. v.Color = Color3.new(85,0,85)
  2556. end))
  2557. coroutine.resume(coroutine.create(function()
  2558. for i = 0, 49 do
  2559. swait(1)
  2560. v.Transparency = v.Transparency + 0.02
  2561. end
  2562. v:Destroy()
  2563. dude:Destroy()
  2564. end))
  2565. end
  2566. end
  2567. end))
  2568. else
  2569. bgf:Destroy()
  2570. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  2571. end
  2572. end)
  2573. ds()
  2574. end
  2575. end
  2576.  
  2577.  
  2578. local Grabbed = false
  2579.  
  2580. function QuickStab()
  2581. attack = true
  2582. hum.WalkSpeed = 0
  2583. swait(1)
  2584. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  2585. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  2586. if targetted.Name ~= "isaacsantamaria01" then
  2587. local grab = nil
  2588. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  2589. if v:FindFirstChild('Head') then
  2590. Grabbed = true
  2591. grab = v
  2592. end
  2593. end
  2594. if Grabbed == true then
  2595. for i = 0,2,0.1 do
  2596. swait()
  2597. 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)
  2598. 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)
  2599. 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)
  2600. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2601. 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)
  2602. 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)
  2603. end
  2604. dmg(grab)
  2605. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2606. bld.LightEmission = 0.1
  2607. bld.Texture = "rbxassetid://284205403"
  2608. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2609. bld.Rate = 500
  2610. bld.Lifetime = NumberRange.new(1)
  2611. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2612. bld.Acceleration = vt(0,-25,0)
  2613. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2614. bld.Speed = NumberRange.new(10,50)
  2615. bld.EmissionDirection = "Front"
  2616. bld.VelocitySpread = 25
  2617. bld.Rotation = NumberRange.new(-500,500)
  2618. bld.RotSpeed = NumberRange.new(-500,500)
  2619. game:GetService("Debris"):AddItem(bld,3)
  2620. CFuncs["Sound"].Create("rbxassetid://206082327", targetted.Torso, 2.5, 0.9)
  2621. for i = 0,1,0.1 do
  2622. swait()
  2623. 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)
  2624. 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)
  2625. 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)
  2626. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2627. 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)
  2628. 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)
  2629. end
  2630. bld.Enabled = false
  2631. end
  2632. else
  2633. for i = 0,8,0.1 do
  2634. swait()
  2635. 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)
  2636. 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)
  2637. 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)
  2638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  2639. 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)
  2640. 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)
  2641. end
  2642. local randomized = math.random(1,3)
  2643. if randomized == 1 then
  2644. chatfunc("No... i cant.",Color3.new(0.5,0,0))
  2645. elseif randomized == 2 then
  2646. chatfunc("Why would i do this...",Color3.new(0.5,0,0))
  2647. elseif randomized == 3 then
  2648. chatfunc("Oh... i thought you're my enemy...",Color3.new(0.5,0,0))
  2649. end
  2650. --[[for i = 0,3,0.1 do
  2651. swait()
  2652. 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)
  2653. 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)
  2654. 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)
  2655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  2656. 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)
  2657. 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)
  2658. end]]--
  2659. end
  2660. Grabbed = false
  2661. attack = false
  2662. hum.WalkSpeed = 6
  2663. end
  2664.  
  2665.  
  2666. function BlinkingStab()
  2667. attack = true
  2668. hum.WalkSpeed = 0
  2669. swait(1)
  2670. if targetted.Name ~= "isaacsantamaria01" then
  2671. for i = 0,2,0.1 do
  2672. swait()
  2673. 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)
  2674. 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)
  2675. 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)
  2676. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2677. 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)
  2678. 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)
  2679. end
  2680. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  2681. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  2682. dmg(targetted)
  2683. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2684. bld.LightEmission = 0.1
  2685. bld.Texture = "rbxassetid://284205403"
  2686. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2687. bld.Rate = 500
  2688. bld.Lifetime = NumberRange.new(1)
  2689. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2690. bld.Acceleration = vt(0,-25,0)
  2691. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2692. bld.Speed = NumberRange.new(10,50)
  2693. bld.EmissionDirection = "Front"
  2694. bld.VelocitySpread = 25
  2695. bld.Rotation = NumberRange.new(-500,500)
  2696. bld.RotSpeed = NumberRange.new(-500,500)
  2697. game:GetService("Debris"):AddItem(bld,3)
  2698. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Torso, 1,1)
  2699. for i = 0,1,0.1 do
  2700. swait()
  2701. 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)
  2702. 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)
  2703. 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)
  2704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2705. 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)
  2706. 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)
  2707. end
  2708. bld.Enabled = false
  2709. else
  2710. for i = 0,8,0.1 do
  2711. swait()
  2712. 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)
  2713. 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)
  2714. 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)
  2715. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  2716. 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)
  2717. 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)
  2718. end
  2719. local randomized = math.random(1,3)
  2720. if randomized == 1 then
  2721. chatfunc("Wait.. a minute... wrong guy...",Color3.new(0.5,0,0))
  2722. elseif randomized == 2 then
  2723. chatfunc("I forgot about you...",Color3.new(0.5,0,0))
  2724. elseif randomized == 3 then
  2725. chatfunc("Oh. sorry...",Color3.new(0.5,0,0))
  2726. end
  2727. --[[for i = 0,3,0.1 do
  2728. swait()
  2729. 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)
  2730. 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)
  2731. 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)
  2732. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  2733. 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)
  2734. 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)
  2735. end]]--
  2736. end
  2737. attack = false
  2738. hum.WalkSpeed = 6
  2739. end
  2740.  
  2741.  
  2742. function Tele()
  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. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  2746. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  2747. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  2748. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  2749. end
  2750.  
  2751. function uhhnolikeokthen()
  2752. hum.WalkSpeed = 0
  2753. attack = true
  2754. CFuncs["Sound"].Create("rbxassetid://163315655", root, 1,1)
  2755. for i = 0,10,0.1 do
  2756. swait()
  2757. 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)
  2758. 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)
  2759. 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)
  2760. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  2761. 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)
  2762. 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)
  2763. end
  2764. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  2765. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  2766. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  2767. CFuncs["Sound"].Create("rbxassetid://1213175909", root, 3,1)
  2768. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2,1)
  2769. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2,0.9)
  2770. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  2771. if v:FindFirstChild('Torso') then
  2772. dmg(v)
  2773. CFuncs["Sound"].Create("rbxassetid://206082327", v.Torso, 1, 0.9)
  2774. local bld = Instance.new("ParticleEmitter",v.Torso)
  2775. bld.LightEmission = 0.1
  2776. bld.Texture = "rbxassetid://284205403"
  2777. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2778. bld.Rate = 500
  2779. bld.Lifetime = NumberRange.new(1)
  2780. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2781. bld.Acceleration = vt(0,-25,0)
  2782. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2783. bld.Speed = NumberRange.new(10,50)
  2784. bld.EmissionDirection = "Front"
  2785. bld.VelocitySpread = 2500
  2786. bld.Rotation = NumberRange.new(-500,500)
  2787. bld.RotSpeed = NumberRange.new(-500,500)
  2788. coroutine.resume(coroutine.create(function()
  2789. swait(4)
  2790. bld.Enabled = false
  2791. game:GetService("Debris"):AddItem(bld,3)
  2792. end))
  2793. end
  2794. end
  2795. for i = 0,28,0.1 do
  2796. swait()
  2797. 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)
  2798. 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)
  2799. 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)
  2800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  2801. 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)
  2802. 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)
  2803. end
  2804. attack = false
  2805. hum.WalkSpeed = 6
  2806. end
  2807.  
  2808. function deadworld()
  2809. hum.WalkSpeed = 0
  2810. attack = true
  2811. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  2812. for i = 0,10,0.1 do
  2813. swait()
  2814. 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)
  2815. 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)
  2816. 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)
  2817. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  2818. 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)
  2819. 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)
  2820. end
  2821. coroutine.resume(coroutine.create(function()
  2822. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  2823. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2824. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2825. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2826. coroutine.resume(coroutine.create(function()
  2827. for i = 0, 9 do
  2828. swait(3)
  2829. 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"))
  2830. end
  2831. end))
  2832. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  2833. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  2834. local blastpitch = 1
  2835. for i = 0,2 do
  2836. wait(1.5)
  2837. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2838. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2839. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  2840. coroutine.resume(coroutine.create(function()
  2841. for i = 0, 9 do
  2842. swait(3)
  2843. 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"))
  2844. end
  2845. end))
  2846. blastpitch = blastpitch - 0.15
  2847. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  2848. end
  2849. wait(2)
  2850. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  2851. if v:FindFirstChild('Torso') then
  2852. dmg(v)
  2853. end
  2854. end
  2855. tors:Destroy()
  2856. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  2857. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  2858. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  2859. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  2860. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  2861. coroutine.resume(coroutine.create(function()
  2862. for i = 0, 49 do
  2863. swait(3)
  2864. 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"))
  2865. 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"))
  2866. end
  2867. end))
  2868. end))
  2869. for i = 0,280,0.1 do
  2870. swait()
  2871. 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)
  2872. 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)
  2873. 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)
  2874. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  2875. 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)
  2876. 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)
  2877. end
  2878. attack = false
  2879. hum.WalkSpeed = 6
  2880. end
  2881. coroutine.resume(coroutine.create(function()
  2882. AppearMutatedLimbs()
  2883. end))
  2884.  
  2885. mouse.Button1Down:connect(function()
  2886. if attack == false and targetted ~= nil then
  2887. BlinkingStab()
  2888. end
  2889. end)
  2890.  
  2891. mouse.KeyDown:connect(function(k)
  2892. if k == "q" and attack == false then
  2893. LockOn()
  2894. end
  2895. if k == "e" and attack == false and targetted ~= nil then
  2896. Tele()
  2897. end
  2898. if k == "z" and attack == false and targetted ~= nil then
  2899. QuickStab()
  2900. end
  2901. if k == "x" and attack == false then
  2902. uhhnolikeokthen()
  2903. end
  2904. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  2905. AppearMutatedLimbs2()
  2906. end
  2907. if k == "p" and attack == false and unlockedX == true then
  2908. deadworld()
  2909. end
  2910. if k == "t" and attack == false and plr.Name == "isaacsantamaria01" then
  2911. attack = true
  2912. chatfunc("HAH",Color3.new(0.5,0,0))
  2913. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  2914. for i = 0, 1, 0.1 do
  2915. swait()
  2916. 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)
  2917. 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)
  2918. 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)
  2919. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  2920. 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)
  2921. 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)
  2922. end
  2923. attack = false
  2924. end
  2925. end)
  2926. idleanim=.4
  2927. while true do
  2928. swait()
  2929. imgl.Rotation = imgl.Rotation + 3
  2930. imgl2.Rotation = imgl2.Rotation - 3
  2931. img2.Rotation = img2.Rotation - 3
  2932. if targetted ~= nil then
  2933. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2934. abss.Enabled = true
  2935. elseif targetted == nil then
  2936. abss.Adornee = nil
  2937. abss.Enabled = false
  2938. end
  2939. while true and imgl.Rotation >= 360 do
  2940. imgl.Rotation = 0
  2941. imgl2.Rotation = 0
  2942. img2.Rotation = 0
  2943. end
  2944. uhh.Rotation = math.random(-1,1)
  2945. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  2946. uhh.Text = "Kills : " ..killcount
  2947. if killcount < maxA then
  2948. uhh2.Text = "Required kills for second mutated arm: " ..requirekillA-killcount
  2949. elseif killcount >= maxA then
  2950. unlockedA = true
  2951. uhh2.Text = "Second mutated arm unlocked. (L)"
  2952. end
  2953. if killcount < maxX then
  2954. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  2955. elseif killcount >= maxX then
  2956. unlockedX = true
  2957. uhh3.Text = "The end unlocked. (P to activate)"
  2958. end
  2959. sine = sine + change
  2960. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2961. local velderp=RootPart.Velocity.y
  2962. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2963. if equipped==true or equipped==false then
  2964. if attack==false then
  2965. idle=idle+1
  2966. else
  2967. idle=0
  2968. end
  2969. if idle>=500 then
  2970. if attack==false then
  2971. --Sheath()
  2972. end
  2973. end
  2974. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2975. Anim="Jump"
  2976. if attack==false then
  2977. 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)
  2978. 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)
  2979. 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)
  2980. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  2981. 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)
  2982. 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)
  2983. end
  2984. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2985. Anim="Fall"
  2986. if attack==false then
  2987. 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)
  2988. 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)
  2989. 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)
  2990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2991. 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)
  2992. 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)
  2993. end
  2994. elseif torvel<1 and hitfloor~=nil then
  2995. Anim="Idle"
  2996. if attack==false then
  2997. 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)
  2998. 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)
  2999. 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)
  3000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  3001. if LeftModeUnlocked == false then
  3002. 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)
  3003. else
  3004. 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)
  3005. end
  3006. 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)
  3007. end
  3008. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3009. Anim="Walk"
  3010. if attack==false then
  3011. 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)
  3012. 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)
  3013. 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)
  3014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  3015. if LeftModeUnlocked == false then
  3016. 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)
  3017. else
  3018. 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)
  3019. end
  3020. 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)
  3021. end
  3022. elseif torvel>=22 and hitfloor~=nil then
  3023. Anim="Run"
  3024. if attack==false then
  3025. 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)
  3026. 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)
  3027. 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)
  3028. 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)
  3029. 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)
  3030. 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)
  3031. end
  3032. end
  3033. end
  3034. endwarn'Mutant loaded'
  3035. ---- thanks to genocider and psychopath sources, this would be another one
  3036. ---- LockOnTargetNoWhiteListKThx
  3037. plr = game.Players.LocalPlayer
  3038. char = plr.Character
  3039. hum = char.Humanoid
  3040. local cam = game.Workspace.CurrentCamera
  3041. t = char.Torso
  3042. h = char.Head
  3043. ra = char["Right Arm"]
  3044. la = char["Left Arm"]
  3045. rl = char["Right Leg"]
  3046. ll = char["Left Leg"]
  3047. tors = char.Torso
  3048. lleg = char["Left Leg"]
  3049. root = char.HumanoidRootPart
  3050. hed = char.Head
  3051. rleg = char["Right Leg"]
  3052. rarm = char["Right Arm"]
  3053. larm = char["Left Arm"]
  3054. vt = Vector3.new
  3055. bc = BrickColor.new
  3056. br = BrickColor.random
  3057. it = Instance.new
  3058. cf = CFrame.new
  3059. local targetted = nil
  3060. local killcount = 50
  3061. local requirekillA = 15
  3062. local requirekillX = 50
  3063. local maxA = 15
  3064. local maxX = 50
  3065. if plr.Name == "soins1" then
  3066. maxX = 0
  3067. requirekillX = maxX
  3068. end
  3069. local unlockedA = true
  3070. local unlockedX = true
  3071. local LeftModeUnlocked = false
  3072.  
  3073. kan = Instance.new("Sound",char)
  3074. kan.Volume = 6
  3075. kan.Pitch = 1
  3076. kan.TimePosition = 1
  3077. kan.SoundId = "rbxassetid://534429024"
  3078. kan.Name = "kreepery"
  3079. kan.Looped = true
  3080. kan:Play()
  3081.  
  3082. abss = Instance.new("BillboardGui",char)
  3083. abss.Size = UDim2.new(10,0,10,0)
  3084. abss.Enabled = false
  3085. imgl = Instance.new("ImageLabel",abss)
  3086. imgl.Position = UDim2.new(0,0,0,0)
  3087. imgl.Size = UDim2.new(1,0,1,0)
  3088. imgl.Image = "http://www.roblox.com/asset/?id=118777235"
  3089. imgl.BackgroundTransparency = 1
  3090. imgl.ImageColor3 = Color3.new(0,0,0)
  3091. imgl2 = Instance.new("ImageLabel",abss)
  3092. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  3093. imgl2.Size = UDim2.new(2,0,2,0)
  3094. imgl2.Image = "http://www.roblox.com/asset/?id=135465292"
  3095. imgl2.BackgroundTransparency = 1
  3096. imgl2.ImageColor3 = Color3.new(0,0,0)
  3097. img2 = Instance.new("ImageLabel",abss)
  3098. img2.Position = UDim2.new(0,0,0,0)
  3099. img2.Size = UDim2.new(1,0,1,0)
  3100. img2.Image = "rbxassetid://118777235"
  3101. img2.BackgroundTransparency = 1
  3102. img2.ImageColor3 = Color3.new(0,0,0)
  3103.  
  3104. function CameraShake(Times, Power)
  3105. coroutine.resume(coroutine.create(function()
  3106. FV = Instance.new("BoolValue", Character)
  3107. FV.Name = "CameraShake"
  3108. for ShakeNum=1,Times do
  3109. swait()
  3110. local ef=Power
  3111. if ef>=1 then
  3112. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  3113. else
  3114. ef=Power*10
  3115. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  3116. end
  3117. end
  3118. Humanoid.CameraOffset = Vector3.new(0,0,0)
  3119. FV:Destroy()
  3120. end))
  3121. end
  3122.  
  3123. CamShake=function(Part,Distan,Power,Times)
  3124. local de=Part.Position
  3125. for i,v in pairs(workspace:children()) do
  3126. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  3127. for _,c in pairs(v:children()) do
  3128. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  3129. local Noob=v.Humanoid
  3130. if Noob~=nil then
  3131. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  3132. --[[local ss=script.CamShake:clone()
  3133. ss.Parent=Noob
  3134. ss.Power.Value=Power
  3135. ss.Times.Value=Times
  3136. ss.Disabled=false]]
  3137. CameraShake(Times, Power)
  3138. end
  3139. end
  3140. end
  3141. end
  3142. end
  3143. end
  3144. end
  3145.  
  3146. function chatfunc(text,color)
  3147. local chat = coroutine.wrap(function()
  3148. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3149. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3150. end
  3151. local naeeym2 = Instance.new("BillboardGui",Character)
  3152. naeeym2.Size = UDim2.new(0,100,0,40)
  3153. naeeym2.StudsOffset = Vector3.new(0,3,0)
  3154. naeeym2.Adornee = Character.Head
  3155. naeeym2.Name = "TalkingBillBoard"
  3156. local tecks2 = Instance.new("TextLabel",naeeym2)
  3157. tecks2.BackgroundTransparency = 1
  3158. tecks2.BorderSizePixel = 0
  3159. tecks2.Text = ""
  3160. tecks2.Font = "SciFi"
  3161. tecks2.TextSize = 30
  3162. tecks2.TextStrokeTransparency = 0
  3163. tecks2.TextColor3 = color
  3164. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  3165. tecks2.Size = UDim2.new(1,0,0.5,0)
  3166. local tecks3 = Instance.new("TextLabel",naeeym2)
  3167. tecks3.BackgroundTransparency = 1
  3168. tecks3.BorderSizePixel = 0
  3169. tecks3.Text = ""
  3170. tecks3.Font = "SciFi"
  3171. tecks3.TextSize = 30
  3172. tecks3.TextStrokeTransparency = 0
  3173. tecks3.TextColor3 = Color3.new(0,0,0)
  3174. tecks3.TextStrokeColor3 = color
  3175. tecks3.Size = UDim2.new(1,0,0.5,0)
  3176. coroutine.resume(coroutine.create(function()
  3177. while true do
  3178. swait(1)
  3179. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  3180. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  3181. tecks2.Rotation = math.random(-15,15)
  3182. tecks3.Rotation = math.random(-15,15)
  3183. end
  3184. end))
  3185. for i = 1,string.len(text),1 do
  3186. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  3187. tecks2.Text = string.sub(text,1,i)
  3188. tecks3.Text = string.sub(text,1,i)
  3189. swait(1)
  3190. end
  3191. wait(1)
  3192. local randomrot = math.random(1,2)
  3193. if randomrot == 1 then
  3194. for i = 1, 50 do
  3195. swait()
  3196. tecks2.Rotation = tecks2.Rotation - .75
  3197. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3198. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3199. tecks3.Rotation = tecks2.Rotation + .75
  3200. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3201. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3202. end
  3203. elseif randomrot == 2 then
  3204. for i = 1, 50 do
  3205. swait()
  3206. tecks2.Rotation = tecks2.Rotation + .75
  3207. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3208. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3209. tecks3.Rotation = tecks2.Rotation - .75
  3210. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3211. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3212. end
  3213. end
  3214. naeeym2:Destroy()
  3215. end)
  3216. chat()
  3217. end
  3218.  
  3219.  
  3220. local Create = LoadLibrary("RbxUtility").Create
  3221.  
  3222. CFuncs = {
  3223. ["Part"] = {
  3224. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3225. local Part = Create("Part"){
  3226. Parent = Parent,
  3227. Reflectance = Reflectance,
  3228. Transparency = Transparency,
  3229. CanCollide = false,
  3230. Locked = true,
  3231. BrickColor = BrickColor.new(tostring(BColor)),
  3232. Name = Name,
  3233. Size = Size,
  3234. Material = Material,
  3235. }
  3236. RemoveOutlines(Part)
  3237. return Part
  3238. end;
  3239. };
  3240.  
  3241. ["Mesh"] = {
  3242. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3243. local Msh = Create(Mesh){
  3244. Parent = Part,
  3245. Offset = OffSet,
  3246. Scale = Scale,
  3247. }
  3248. if Mesh == "SpecialMesh" then
  3249. Msh.MeshType = MeshType
  3250. Msh.MeshId = MeshId
  3251. end
  3252. return Msh
  3253. end;
  3254. };
  3255.  
  3256. ["Mesh"] = {
  3257. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3258. local Msh = Create(Mesh){
  3259. Parent = Part,
  3260. Offset = OffSet,
  3261. Scale = Scale,
  3262. }
  3263. if Mesh == "SpecialMesh" then
  3264. Msh.MeshType = MeshType
  3265. Msh.MeshId = MeshId
  3266. end
  3267. return Msh
  3268. end;
  3269. };
  3270.  
  3271. ["Weld"] = {
  3272. Create = function(Parent, Part0, Part1, C0, C1)
  3273. local Weld = Create("Weld"){
  3274. Parent = Parent,
  3275. Part0 = Part0,
  3276. Part1 = Part1,
  3277. C0 = C0,
  3278. C1 = C1,
  3279. }
  3280. return Weld
  3281. end;
  3282. };
  3283.  
  3284. ["Sound"] = {
  3285. Create = function(id, par, vol, pit)
  3286. coroutine.resume(coroutine.create(function()
  3287. local S = Create("Sound"){
  3288. Volume = vol,
  3289. Pitch = pit or 1,
  3290. SoundId = id,
  3291. Parent = par or workspace,
  3292. }
  3293. wait()
  3294. S:play()
  3295. game:GetService("Debris"):AddItem(S, 10)
  3296. end))
  3297. end;
  3298. };
  3299.  
  3300. ["LongSound"] = {
  3301. Create = function(id, par, vol, pit)
  3302. coroutine.resume(coroutine.create(function()
  3303. local S = Create("Sound"){
  3304. Volume = vol,
  3305. Pitch = pit or 1,
  3306. SoundId = id,
  3307. Parent = par or workspace,
  3308. }
  3309. wait()
  3310. S:play()
  3311. game:GetService("Debris"):AddItem(S, 30)
  3312. end))
  3313. end;
  3314. };
  3315.  
  3316. ["ParticleEmitter"] = {
  3317. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3318. local fp = Create("ParticleEmitter"){
  3319. Parent = Parent,
  3320. Color = ColorSequence.new(Color1, Color2),
  3321. LightEmission = LightEmission,
  3322. Size = Size,
  3323. Texture = Texture,
  3324. Transparency = Transparency,
  3325. ZOffset = ZOffset,
  3326. Acceleration = Accel,
  3327. Drag = Drag,
  3328. LockedToPart = LockedToPart,
  3329. VelocityInheritance = VelocityInheritance,
  3330. EmissionDirection = EmissionDirection,
  3331. Enabled = Enabled,
  3332. Lifetime = LifeTime,
  3333. Rate = Rate,
  3334. Rotation = Rotation,
  3335. RotSpeed = RotSpeed,
  3336. Speed = Speed,
  3337. VelocitySpread = VelocitySpread,
  3338. }
  3339. return fp
  3340. end;
  3341. };
  3342.  
  3343. CreateTemplate = {
  3344.  
  3345. };
  3346. }
  3347.  
  3348.  
  3349.  
  3350. New = function(Object, Parent, Name, Data)
  3351. local Object = Instance.new(Object)
  3352. for Index, Value in pairs(Data or {}) do
  3353. Object[Index] = Value
  3354. end
  3355. Object.Parent = Parent
  3356. Object.Name = Name
  3357. return Object
  3358. end
  3359. local halocolor = BrickColor.new("Dark indigo")
  3360. local wepcolor = BrickColor.new("Really black")
  3361. local MutantParts = Instance.new("Model",char)
  3362. local MutantParts2 = Instance.new("Model",char)
  3363.  
  3364. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  3365. local p = Instance.new("Part")
  3366. p.TopSurface = 0
  3367. p.BottomSurface = 0
  3368. p.Parent = parent
  3369. p.Size = Vector3.new(0.1,0.1,0.1)
  3370. p.Transparency = transparency
  3371. p.Reflectance = reflectance
  3372. p.CanCollide = false
  3373. p.Locked = true
  3374. p.BrickColor = brickcolor
  3375. p.Material = material
  3376. return p
  3377. end
  3378.  
  3379. function CreateMesh(parent,meshtype,x1,y1,z1)
  3380. local mesh = Instance.new("SpecialMesh",parent)
  3381. mesh.MeshType = meshtype
  3382. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  3383. return mesh
  3384. end
  3385.  
  3386. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  3387. local mesh = Instance.new("SpecialMesh",parent)
  3388. mesh.MeshType = "FileMesh"
  3389. mesh.MeshId = meshid
  3390. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  3391. mesh.Scale = Vector3.new(x1,y1,z1)
  3392. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  3393. return mesh
  3394. end
  3395.  
  3396. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  3397. local weld = Instance.new("Weld")
  3398. weld.Parent = parent
  3399. weld.Part0 = part0
  3400. weld.Part1 = part1
  3401. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  3402. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  3403. return weld
  3404. end
  3405.  
  3406. --larm.Name = "MutatedLeftArm"
  3407.  
  3408. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3409. CreateMesh(extend,"Brick",0.65,1,0.65)
  3410. 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))
  3411. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3412. CreateMesh(extend,"Brick",0.65,1,0.65)
  3413. 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))
  3414. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3415. CreateMesh(extend,"Brick",0.65,1,0.65)
  3416. 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))
  3417. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3418. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3419. 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))
  3420. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3421. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3422. 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))
  3423. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3424. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3425. 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))
  3426. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3427. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3428. 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))
  3429. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3430. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3431. 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))
  3432. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3433. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3434. 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))
  3435. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3436. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  3437. 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))
  3438. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3439. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  3440. 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))
  3441. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3442. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3443. 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))
  3444. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  3445. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3446. 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))
  3447. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  3448. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  3449. 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))
  3450. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  3451. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  3452. 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))
  3453. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  3454. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  3455. 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))
  3456.  
  3457. --- Secondary
  3458. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  3459. CreateMesh(extendcl,"Wedge",0.05,1,3)
  3460. 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))
  3461. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  3462. CreateMesh(extendcl,"Wedge",0.05,1,1)
  3463. 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))
  3464. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3465. CreateMesh(extend,"Brick",0.65,1,0.65)
  3466. 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))
  3467. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3468. CreateMesh(extend,"Brick",0.65,1,0.65)
  3469. 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))
  3470. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3471. CreateMesh(extend,"Brick",0.65,1,0.65)
  3472. 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))
  3473. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3474. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  3475. 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))
  3476. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3477. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3478. 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))
  3479. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3480. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3481. 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))
  3482. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  3483. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  3484. 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))
  3485. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3486. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3487. 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))
  3488. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3489. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3490. 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))
  3491. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3492. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3493. 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))
  3494. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3495. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3496. 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))
  3497. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3498. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3499. 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))
  3500. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3501. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  3502. 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))
  3503. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  3504. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  3505. 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))
  3506.  
  3507. for i, v in pairs(MutantParts:GetChildren()) do
  3508. if v:IsA("Part") then
  3509. v.Transparency = 1
  3510. end
  3511. end
  3512.  
  3513. for i, v in pairs(MutantParts2:GetChildren()) do
  3514. if v:IsA("Part") then
  3515. v.Transparency = 1
  3516. end
  3517. end
  3518. function RemoveOutlines(part)
  3519. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3520. end
  3521. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3522. local Part = Create("Part")({
  3523. Parent = Parent,
  3524. Reflectance = Reflectance,
  3525. Transparency = Transparency,
  3526. CanCollide = false,
  3527. Locked = true,
  3528. BrickColor = BrickColor.new(tostring(BColor)),
  3529. Name = Name,
  3530. Size = Size,
  3531. Material = Material
  3532. })
  3533. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  3534. RemoveOutlines(Part)
  3535. return Part
  3536. end
  3537. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3538. local Msh = Create(Mesh)({
  3539. Parent = Part,
  3540. Offset = OffSet,
  3541. Scale = Scale
  3542. })
  3543. if Mesh == "SpecialMesh" then
  3544. Msh.MeshType = MeshType
  3545. Msh.MeshId = MeshId
  3546. end
  3547. return Msh
  3548. end
  3549. function CreateWeld(Parent, Part0, Part1, C0, C1)
  3550. local Weld = Create("Weld")({
  3551. Parent = Parent,
  3552. Part0 = Part0,
  3553. Part1 = Part1,
  3554. C0 = C0,
  3555. C1 = C1
  3556. })
  3557. return Weld
  3558. end
  3559.  
  3560. local ff = Instance.new("ForceField",char)
  3561. ff.Visible = false
  3562.  
  3563. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  3564. local gui = it(GuiType)
  3565. gui.Parent = parent
  3566. gui.Text = text
  3567. gui.BackgroundTransparency = backtrans
  3568. gui.BackgroundColor3 = backcol
  3569. gui.SizeConstraint = "RelativeXY"
  3570. gui.TextXAlignment = "Center"
  3571. gui.TextYAlignment = "Center"
  3572. gui.Position = pos
  3573. gui.Size = size
  3574. gui.Font = "SourceSans"
  3575. gui.FontSize = "Size14"
  3576. gui.TextWrapped = false
  3577. gui.TextStrokeTransparency = 0
  3578. gui.TextColor = BrickColor.new("White")
  3579. return gui
  3580. end
  3581. ---- GUI set
  3582. local basgui = it("GuiMain")
  3583. basgui.Parent = plr.PlayerGui
  3584. basgui.Name = "Killcounter GUI"
  3585. local basframe = it("Frame")
  3586. basframe.Parent = basgui
  3587. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  3588. basframe.BackgroundTransparency = 1
  3589. basframe.BorderColor3 = Color3.new(17, 17, 17)
  3590. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  3591. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  3592.  
  3593. local basframelist = it("Frame")
  3594. basframelist.Parent = basgui
  3595. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  3596. basframelist.BackgroundTransparency = 1
  3597. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  3598. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  3599. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  3600.  
  3601. 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))
  3602. uhh.ZIndex = 2
  3603. uhh.Font = "Arcade"
  3604. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  3605. uhh.TextColor3 = Color3.new(0,0,0)
  3606. uhh.BackgroundTransparency = 1
  3607. uhh.BorderSizePixel = 0.65
  3608. uhh.TextScaled = false
  3609. uhh.TextXAlignment = "Left"
  3610. uhh.Text = "Kills : 0"
  3611. uhh.TextSize = 54
  3612.  
  3613.  
  3614. 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))
  3615. uhh2.ZIndex = 2
  3616. uhh2.Font = "Bodoni"
  3617. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  3618. uhh2.TextColor3 = Color3.new(0,0,0)
  3619. uhh2.BackgroundTransparency = 1
  3620. uhh2.BorderSizePixel = 0.65
  3621. uhh2.TextScaled = false
  3622. uhh2.TextXAlignment = "Left"
  3623. uhh2.Text = "Required kills for second mutated arm: 15"
  3624. uhh2.TextSize = 24
  3625. 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))
  3626. uhh3.ZIndex = 2
  3627. uhh3.Font = "Bodoni"
  3628. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  3629. uhh3.TextColor3 = Color3.new(0,0,0)
  3630. uhh3.BackgroundTransparency = 1
  3631. uhh3.BorderSizePixel = 0.65
  3632. uhh3.TextScaled = false
  3633. uhh3.TextXAlignment = "Left"
  3634. uhh3.Text = "Required kills for the end: 50"
  3635. uhh3.TextSize = 24
  3636.  
  3637.  
  3638. Player=game:GetService("Players").LocalPlayer
  3639. Character=Player.Character
  3640. local Mouse = Player:GetMouse()
  3641. PlayerGui=Player.PlayerGui
  3642. Backpack=Player.Backpack
  3643. Torso=Character.Torso
  3644. Head=Character.Head
  3645. Humanoid=Character.Humanoid
  3646. m=Instance.new('Model',Character)
  3647. LeftArm=Character["Left Arm"]
  3648. LeftLeg=Character["Left Leg"]
  3649. RightArm=Character["Right Arm"]
  3650. RightLeg=Character["Right Leg"]
  3651. LS=Torso["Left Shoulder"]
  3652. LH=Torso["Left Hip"]
  3653. RS=Torso["Right Shoulder"]
  3654. RH=Torso["Right Hip"]
  3655. Face = Head.face
  3656. Neck=Torso.Neck
  3657. it=Instance.new
  3658. attacktype=1
  3659. vt=Vector3.new
  3660. cf=CFrame.new
  3661. euler=CFrame.fromEulerAnglesXYZ
  3662. angles=CFrame.Angles
  3663. cloaked=false
  3664. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3665. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3666. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3667. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3668. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3669. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3670. RootPart=Character.HumanoidRootPart
  3671. RootJoint=RootPart.RootJoint
  3672. RootCF=euler(-1.57,0,3.14)
  3673. attack = false
  3674. attackdebounce = false
  3675. deb=false
  3676. equipped=true
  3677. hand=false
  3678. MMouse=nil
  3679. combo=0
  3680. mana=0
  3681. trispeed=.2
  3682. attackmode='none'
  3683. local idle=0
  3684. local Anim="Idle"
  3685. local Effects={}
  3686. local gun=false
  3687. local shoot=false
  3688. local sine = 0
  3689. local change = 1
  3690. player=nil
  3691.  
  3692. mouse=Player:GetMouse()
  3693. --save shoulders
  3694. RSH, LSH=nil, nil
  3695. --welds
  3696. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3697. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3698. LH=Torso["Left Hip"]
  3699. RH=Torso["Right Hip"]
  3700. TorsoColor=Torso.BrickColor
  3701. function NoOutline(Part)
  3702. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3703. end
  3704. player=Player
  3705. ch=Character
  3706. RSH=ch.Torso["Right Shoulder"]
  3707. LSH=ch.Torso["Left Shoulder"]
  3708. --
  3709. RSH.Parent=nil
  3710. LSH.Parent=nil
  3711. --
  3712. RW.Name="Right Shoulder"
  3713. RW.Part0=ch.Torso
  3714. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3715. RW.C1=cf(0, 0.5, 0)
  3716. RW.Part1=ch["Right Arm"]
  3717. RW.Parent=ch.Torso
  3718. --
  3719. LW.Name="Left Shoulder"
  3720. LW.Part0=ch.Torso
  3721. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3722. LW.C1=cf(0, 0.5, 0)
  3723. LW.Part1=ch["Left Arm"]
  3724. LW.Parent=ch.Torso
  3725.  
  3726. local Stats=Instance.new("BoolValue")
  3727. Stats.Name="Stats"
  3728. Stats.Parent=Character
  3729. local Atk=Instance.new("NumberValue")
  3730. Atk.Name="Damage"
  3731. Atk.Parent=Stats
  3732. Atk.Value=1
  3733. local Def=Instance.new("NumberValue")
  3734. Def.Name="Defense"
  3735. Def.Parent=Stats
  3736. Def.Value=1
  3737. local Speed=Instance.new("NumberValue")
  3738. Speed.Name="Speed"
  3739. Speed.Parent=Stats
  3740. Speed.Value=1
  3741. local Mvmt=Instance.new("NumberValue")
  3742. Mvmt.Name="Movement"
  3743. Mvmt.Parent=Stats
  3744. Mvmt.Value=1
  3745.  
  3746. local donum=0
  3747.  
  3748.  
  3749. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3750. local fp=it("Part")
  3751. fp.formFactor=formfactor
  3752. fp.Parent=parent
  3753. fp.Reflectance=reflectance
  3754. fp.Transparency=transparency
  3755. fp.CanCollide=false
  3756. fp.Locked=true
  3757. fp.BrickColor=brickcolor
  3758. fp.Name=name
  3759. fp.Size=size
  3760. fp.Position=Torso.Position
  3761. NoOutline(fp)
  3762. fp.Material="SmoothPlastic"
  3763. fp:BreakJoints()
  3764. return fp
  3765. end
  3766.  
  3767. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3768. local mesh=it(Mesh)
  3769. mesh.Parent=part
  3770. if Mesh=="SpecialMesh" then
  3771. mesh.MeshType=meshtype
  3772. if meshid~="nil" then
  3773. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3774. end
  3775. end
  3776. mesh.Offset=offset
  3777. mesh.Scale=scale
  3778. return mesh
  3779. end
  3780.  
  3781. function weld(parent,part0,part1,c0)
  3782. local weld=it("Weld")
  3783. weld.Parent=parent
  3784. weld.Part0=part0
  3785. weld.Part1=part1
  3786. weld.C0=c0
  3787. return weld
  3788. end
  3789.  
  3790. local Color1=Torso.BrickColor
  3791.  
  3792. local bodvel=Instance.new("BodyVelocity")
  3793. local bg=Instance.new("BodyGyro")
  3794.  
  3795. function swait(num)
  3796. if num==0 or num==nil then
  3797. game:service'RunService'.Stepped:wait(0)
  3798. else
  3799. for i=0,num do
  3800. game:service'RunService'.Stepped:wait(0)
  3801. end
  3802. end
  3803. end
  3804.  
  3805.  
  3806. so = function(id,par,vol,pit)
  3807. coroutine.resume(coroutine.create(function()
  3808. local sou = Instance.new("Sound",par or workspace)
  3809. sou.Volume=vol
  3810. sou.Pitch=pit or 1
  3811. sou.SoundId=id
  3812. swait()
  3813. sou:play()
  3814. game:GetService("Debris"):AddItem(sou,6)
  3815. end))
  3816. end
  3817.  
  3818. function clerp(a,b,t)
  3819. local qa = {QuaternionFromCFrame(a)}
  3820. local qb = {QuaternionFromCFrame(b)}
  3821. local ax, ay, az = a.x, a.y, a.z
  3822. local bx, by, bz = b.x, b.y, b.z
  3823. local _t = 1-t
  3824. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3825. end
  3826.  
  3827. function QuaternionFromCFrame(cf)
  3828. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3829. local trace = m00 + m11 + m22
  3830. if trace > 0 then
  3831. local s = math.sqrt(1 + trace)
  3832. local recip = 0.5/s
  3833. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3834. else
  3835. local i = 0
  3836. if m11 > m00 then
  3837. i = 1
  3838. end
  3839. if m22 > (i == 0 and m00 or m11) then
  3840. i = 2
  3841. end
  3842. if i == 0 then
  3843. local s = math.sqrt(m00-m11-m22+1)
  3844. local recip = 0.5/s
  3845. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3846. elseif i == 1 then
  3847. local s = math.sqrt(m11-m22-m00+1)
  3848. local recip = 0.5/s
  3849. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3850. elseif i == 2 then
  3851. local s = math.sqrt(m22-m00-m11+1)
  3852. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3853. end
  3854. end
  3855. end
  3856.  
  3857. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3858. local xs, ys, zs = x + x, y + y, z + z
  3859. local wx, wy, wz = w*xs, w*ys, w*zs
  3860. local xx = x*xs
  3861. local xy = x*ys
  3862. local xz = x*zs
  3863. local yy = y*ys
  3864. local yz = y*zs
  3865. local zz = z*zs
  3866. 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))
  3867. end
  3868.  
  3869. function QuaternionSlerp(a, b, t)
  3870. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3871. local startInterp, finishInterp;
  3872. if cosTheta >= 0.0001 then
  3873. if (1 - cosTheta) > 0.0001 then
  3874. local theta = math.acos(cosTheta)
  3875. local invSinTheta = 1/math.sin(theta)
  3876. startInterp = math.sin((1-t)*theta)*invSinTheta
  3877. finishInterp = math.sin(t*theta)*invSinTheta
  3878. else
  3879. startInterp = 1-t
  3880. finishInterp = t
  3881. end
  3882. else
  3883. if (1+cosTheta) > 0.0001 then
  3884. local theta = math.acos(-cosTheta)
  3885. local invSinTheta = 1/math.sin(theta)
  3886. startInterp = math.sin((t-1)*theta)*invSinTheta
  3887. finishInterp = math.sin(t*theta)*invSinTheta
  3888. else
  3889. startInterp = t-1
  3890. finishInterp = t
  3891. end
  3892. end
  3893. 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
  3894. end
  3895.  
  3896. local function CFrameFromTopBack(at, top, back)
  3897. local right = top:Cross(back)
  3898. return CFrame.new(at.x, at.y, at.z,
  3899. right.x, top.x, back.x,
  3900. right.y, top.y, back.y,
  3901. right.z, top.z, back.z)
  3902. end
  3903.  
  3904. function Triangle(a, b, c)
  3905. local edg1 = (c-a):Dot((b-a).unit)
  3906. local edg2 = (a-b):Dot((c-b).unit)
  3907. local edg3 = (b-c):Dot((a-c).unit)
  3908. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3909. a, b, c = a, b, c
  3910. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3911. a, b, c = b, c, a
  3912. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3913. a, b, c = c, a, b
  3914. else
  3915. assert(false, "unreachable")
  3916. end
  3917.  
  3918. local len1 = (c-a):Dot((b-a).unit)
  3919. local len2 = (b-a).magnitude - len1
  3920. local width = (a + (b-a).unit*len1 - c).magnitude
  3921.  
  3922. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3923.  
  3924. local list = {}
  3925.  
  3926. if len1 > 0.01 then
  3927. local w1 = Instance.new('WedgePart', m)
  3928. game:GetService("Debris"):AddItem(w1,5)
  3929. w1.Material = "SmoothPlastic"
  3930. w1.FormFactor = 'Custom'
  3931. w1.BrickColor = BrickColor.new("Really red")
  3932. w1.Transparency = 0
  3933. w1.Reflectance = 0
  3934. w1.Material = "SmoothPlastic"
  3935. w1.CanCollide = false
  3936. local l1 = Instance.new("PointLight",w1)
  3937. l1.Color = Color3.new(170,0,0)
  3938. NoOutline(w1)
  3939. local sz = Vector3.new(0.2, width, len1)
  3940. w1.Size = sz
  3941. local sp = Instance.new("SpecialMesh",w1)
  3942. sp.MeshType = "Wedge"
  3943. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3944. w1:BreakJoints()
  3945. w1.Anchored = true
  3946. w1.Parent = workspace
  3947. w1.Transparency = 0.7
  3948. table.insert(Effects,{w1,"Disappear",.01})
  3949. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3950. table.insert(list,w1)
  3951. end
  3952.  
  3953. if len2 > 0.01 then
  3954. local w2 = Instance.new('WedgePart', m)
  3955. game:GetService("Debris"):AddItem(w2,5)
  3956. w2.Material = "SmoothPlastic"
  3957. w2.FormFactor = 'Custom'
  3958. w2.BrickColor = BrickColor.new("Really red")
  3959. w2.Transparency = 0
  3960. w2.Reflectance = 0
  3961. w2.Material = "SmoothPlastic"
  3962. w2.CanCollide = false
  3963. local l2 = Instance.new("PointLight",w2)
  3964. l2.Color = Color3.new(170,0,0)
  3965. NoOutline(w2)
  3966. local sz = Vector3.new(0.2, width, len2)
  3967. w2.Size = sz
  3968. local sp = Instance.new("SpecialMesh",w2)
  3969. sp.MeshType = "Wedge"
  3970. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3971. w2:BreakJoints()
  3972. w2.Anchored = true
  3973. w2.Parent = workspace
  3974. w2.Transparency = 0.7
  3975. table.insert(Effects,{w2,"Disappear",.01})
  3976. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3977. table.insert(list,w2)
  3978. end
  3979. return unpack(list)
  3980. end
  3981.  
  3982.  
  3983. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3984. if hit.Parent == nil then
  3985. return
  3986. end
  3987. local h = hit.Parent:FindFirstChild("Humanoid")
  3988. for _, v in pairs(hit.Parent:children()) do
  3989. if v:IsA("Humanoid") then
  3990. h = v
  3991. end
  3992. end
  3993. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3994. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3995. return
  3996. end
  3997. local c = Create("ObjectValue")({
  3998. Name = "creator",
  3999. Value = game:service("Players").LocalPlayer,
  4000. Parent = h
  4001. })
  4002. game:GetService("Debris"):AddItem(c, 0.5)
  4003. if HitSound ~= nil and HitPitch ~= nil then
  4004. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  4005. end
  4006. local Damage = math.random(minim, maxim)
  4007. local blocked = false
  4008. local block = hit.Parent:findFirstChild("Block")
  4009. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  4010. blocked = true
  4011. block.Value = block.Value - 1
  4012. print(block.Value)
  4013. end
  4014. if blocked == false then
  4015. HitHealth = h.Health
  4016. h.Health = h.Health - Damage
  4017. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  4018. print("gained kill")
  4019. end
  4020. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4021. else
  4022. h.Health = h.Health - Damage / 2
  4023. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4024. end
  4025. if Type == "Knockdown" then
  4026. local hum = hit.Parent.Humanoid
  4027. hum.PlatformStand = true
  4028. coroutine.resume(coroutine.create(function(HHumanoid)
  4029. swait(1)
  4030. HHumanoid.PlatformStand = false
  4031. end), hum)
  4032. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  4033. local bodvol = Create("BodyVelocity")({
  4034. velocity = angle * knockback,
  4035. P = 5000,
  4036. maxForce = Vector3.new(8000, 8000, 8000),
  4037. Parent = hit
  4038. })
  4039. local rl = Create("BodyAngularVelocity")({
  4040. P = 3000,
  4041. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  4042. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  4043. Parent = hit
  4044. })
  4045. game:GetService("Debris"):AddItem(bodvol, 0.5)
  4046. game:GetService("Debris"):AddItem(rl, 0.5)
  4047. elseif Type == "Normal" then
  4048. local vp = Create("BodyVelocity")({
  4049. P = 500,
  4050. maxForce = Vector3.new(math.huge, 0, math.huge),
  4051. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  4052. })
  4053. if knockback > 0 then
  4054. vp.Parent = hit.Parent.Torso
  4055. end
  4056. game:GetService("Debris"):AddItem(vp, 0.5)
  4057. elseif Type == "Up" then
  4058. local bodyVelocity = Create("BodyVelocity")({
  4059. velocity = Vector3.new(0, 20, 0),
  4060. P = 5000,
  4061. maxForce = Vector3.new(8000, 8000, 8000),
  4062. Parent = hit
  4063. })
  4064. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4065. local bodyVelocity = Create("BodyVelocity")({
  4066. velocity = Vector3.new(0, 20, 0),
  4067. P = 5000,
  4068. maxForce = Vector3.new(8000, 8000, 8000),
  4069. Parent = hit
  4070. })
  4071. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4072. elseif Type == "Leech" then
  4073. local hum = hit.Parent.Humanoid
  4074. if hum ~= nil then
  4075. for i = 0, 2 do
  4076. 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)
  4077. end
  4078. Humanoid.Health = Humanoid.Health + 10
  4079. end
  4080. elseif Type == "UpKnock" then
  4081. local hum = hit.Parent.Humanoid
  4082. hum.PlatformStand = true
  4083. if hum ~= nil then
  4084. hitr = true
  4085. end
  4086. coroutine.resume(coroutine.create(function(HHumanoid)
  4087. swait(5)
  4088. HHumanoid.PlatformStand = false
  4089. hitr = false
  4090. end), hum)
  4091. local bodyVelocity = Create("BodyVelocity")({
  4092. velocity = Vector3.new(0, 20, 0),
  4093. P = 5000,
  4094. maxForce = Vector3.new(8000, 8000, 8000),
  4095. Parent = hit
  4096. })
  4097. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4098. local bodyVelocity = Create("BodyVelocity")({
  4099. velocity = Vector3.new(0, 20, 0),
  4100. P = 5000,
  4101. maxForce = Vector3.new(8000, 8000, 8000),
  4102. Parent = hit
  4103. })
  4104. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4105. elseif Type == "Snare" then
  4106. local bp = Create("BodyPosition")({
  4107. P = 2000,
  4108. D = 100,
  4109. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4110. position = hit.Parent.Torso.Position,
  4111. Parent = hit.Parent.Torso
  4112. })
  4113. game:GetService("Debris"):AddItem(bp, 1)
  4114. elseif Type == "Slashnare" then
  4115. 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)
  4116. for i = 1, math.random(4, 5) do
  4117. 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)
  4118. end
  4119. local bp = Create("BodyPosition")({
  4120. P = 2000,
  4121. D = 100,
  4122. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4123. position = hit.Parent.Torso.Position,
  4124. Parent = hit.Parent.Torso
  4125. })
  4126. game:GetService("Debris"):AddItem(bp, 1)
  4127. elseif Type == "Spike" then
  4128. CreateBigIceSword(hit.Parent.Torso.CFrame)
  4129. local bp = Create("BodyPosition")({
  4130. P = 2000,
  4131. D = 100,
  4132. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4133. position = hit.Parent.Torso.Position,
  4134. Parent = hit.Parent.Torso
  4135. })
  4136. game:GetService("Debris"):AddItem(bp, 1)
  4137. elseif Type == "Freeze" then
  4138. local BodPos = Create("BodyPosition")({
  4139. P = 50000,
  4140. D = 1000,
  4141. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4142. position = hit.Parent.Torso.Position,
  4143. Parent = hit.Parent.Torso
  4144. })
  4145. local BodGy = Create("BodyGyro")({
  4146. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  4147. P = 20000,
  4148. Parent = hit.Parent.Torso,
  4149. cframe = hit.Parent.Torso.CFrame
  4150. })
  4151. hit.Parent.Torso.Anchored = true
  4152. coroutine.resume(coroutine.create(function(Part)
  4153. swait(1.5)
  4154. Part.Anchored = false
  4155. end), hit.Parent.Torso)
  4156. game:GetService("Debris"):AddItem(BodPos, 3)
  4157. game:GetService("Debris"):AddItem(BodGy, 3)
  4158. end
  4159. local debounce = Create("BoolValue")({
  4160. Name = "DebounceHit",
  4161. Parent = hit.Parent,
  4162. Value = true
  4163. })
  4164. game:GetService("Debris"):AddItem(debounce, Delay)
  4165. c = Instance.new("ObjectValue")
  4166. c.Name = "creator"
  4167. c.Value = Player
  4168. c.Parent = h
  4169. game:GetService("Debris"):AddItem(c, 0.5)
  4170. end
  4171. end
  4172. function ShowDamage(Pos, Text, Time, Color)
  4173. local Rate = 0.03333333333333333
  4174. local Pos = Pos or Vector3.new(0, 0, 0)
  4175. local Text = Text or ""
  4176. local Time = Time or 2
  4177. local Color = Color or Color3.new(1, 0, 1)
  4178. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  4179. EffectPart.Anchored = true
  4180. local BillboardGui = Create("BillboardGui")({
  4181. Size = UDim2.new(3, 0, 3, 0),
  4182. Adornee = EffectPart,
  4183. Parent = EffectPart
  4184. })
  4185. local TextLabel = Create("TextLabel")({
  4186. BackgroundTransparency = 1,
  4187. Size = UDim2.new(1, 0, 1, 0),
  4188. Text = Text,
  4189. TextColor3 = Color,
  4190. TextScaled = true,
  4191. Font = Enum.Font.ArialBold,
  4192. Parent = BillboardGui
  4193. })
  4194. game.Debris:AddItem(EffectPart, Time + 0.1)
  4195. EffectPart.Parent = game:GetService("Workspace")
  4196. delay(0, function()
  4197. local Frames = Time / Rate
  4198. for Frame = 1, Frames do
  4199. wait(Rate)
  4200. local Percent = Frame / Frames
  4201. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4202. TextLabel.TextTransparency = Percent
  4203. end
  4204. if EffectPart and EffectPart.Parent then
  4205. EffectPart:Destroy()
  4206. end
  4207. end)
  4208. end
  4209. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  4210. for _, c in pairs(workspace:children()) do
  4211. local hum = c:findFirstChild("Humanoid")
  4212. if hum ~= nil then
  4213. local head = c:findFirstChild("Torso")
  4214. if head ~= nil then
  4215. local targ = head.Position - Part.Position
  4216. local mag = targ.magnitude
  4217. if magni >= mag and c.Name ~= Player.Name then
  4218. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4219. end
  4220. end
  4221. end
  4222. end
  4223. end
  4224.  
  4225. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  4226. for _, c in pairs(workspace:children()) do
  4227. local hum = c:findFirstChild("Humanoid")
  4228. if hum ~= nil then
  4229. local head = c:findFirstChild("Torso")
  4230. if head ~= nil then
  4231. local targ = head.Position - Part.Position
  4232. local mag = targ.magnitude
  4233. if magni >= mag and c.Name ~= Player.Name then
  4234. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  4235. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4236. end
  4237. end
  4238. end
  4239. end
  4240. end
  4241.  
  4242. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  4243. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4244. end
  4245.  
  4246. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  4247. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4248. prt.Anchored=true
  4249. prt.CFrame=cframe
  4250. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  4251. --http://www.roblox.com/asset/?id=4770560
  4252. game:GetService("Debris"):AddItem(prt,2)
  4253. CF=prt.CFrame
  4254. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  4255. for i=0,1,0.2 do
  4256. wait()
  4257. Part.CFrame=CF*cf(0,0,-0.4)
  4258. end
  4259. for i=0,1,delay do
  4260. wait()
  4261. --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)
  4262. Mesh.Scale=Mesh.Scale
  4263. end
  4264. for i=0,1,0.1 do
  4265. wait()
  4266. Part.Transparency=i
  4267. end
  4268. Part.Parent=nil
  4269. end),prt,msh,CF)
  4270. end
  4271.  
  4272. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4273. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4274. prt.Anchored=true
  4275. prt.Material = "Neon"
  4276. prt.CFrame=cframe
  4277. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4278. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4279. game:GetService("Debris"):AddItem(prt,5)
  4280. coroutine.resume(coroutine.create(function(Part,Mesh)
  4281. for i=0,1,delay do
  4282. swait()
  4283. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4284. Part.Transparency=i
  4285. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4286. end
  4287. Part.Parent=nil
  4288. end),prt,msh)
  4289. end
  4290.  
  4291. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4292. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4293. prt.Anchored=true
  4294. prt.Material = "Neon"
  4295. prt.CFrame=cframe
  4296. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4297. game:GetService("Debris"):AddItem(prt,5)
  4298. coroutine.resume(coroutine.create(function(Part,Mesh)
  4299. local rtype = rottype
  4300. for i=0,1,delay do
  4301. swait()
  4302. if rtype == 1 then
  4303. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4304. elseif rtype == 2 then
  4305. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4306. end
  4307. Part.Transparency=i
  4308. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4309. end
  4310. Part.Parent=nil
  4311. end),prt,msh)
  4312. end
  4313.  
  4314. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4315. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4316. prt.Anchored=true
  4317. prt.CFrame=cframe
  4318. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4319. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4320. game:GetService("Debris"):AddItem(prt,5)
  4321. coroutine.resume(coroutine.create(function(Part,Mesh)
  4322. for i=0,1,delay do
  4323. wait()
  4324. Part.Transparency=i
  4325. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4326. end
  4327. Part.Parent=nil
  4328. end),prt,msh)
  4329. end
  4330.  
  4331. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4332. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4333. prt.Anchored=true
  4334. prt.Material = "Neon"
  4335. prt.CFrame=cframe
  4336. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4337. game:GetService("Debris"):AddItem(prt,5)
  4338. coroutine.resume(coroutine.create(function(Part,Mesh)
  4339. local rtype = rottype
  4340. for i=0,1,delay do
  4341. swait()
  4342. if rtype == 1 then
  4343. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4344. elseif rtype == 2 then
  4345. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4346. end
  4347. Part.Transparency=i
  4348. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4349. end
  4350. Part.Parent=nil
  4351. end),prt,msh)
  4352. end
  4353.  
  4354. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4355. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4356. prt.Anchored=true
  4357. prt.Material = "Neon"
  4358. prt.CFrame=cframe
  4359. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4360. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4361. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4362. game:GetService("Debris"):AddItem(prt,5)
  4363. coroutine.resume(coroutine.create(function(Part,Mesh)
  4364. local rtype = rottype
  4365. for i=0,1,delay do
  4366. swait()
  4367. if rtype == 1 then
  4368. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4369. elseif rtype == 2 then
  4370. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4371. end
  4372. dec.Transparency=i
  4373. dec2.Transparency=i
  4374. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4375. end
  4376. Part.Parent=nil
  4377. end),prt,msh)
  4378. end
  4379.  
  4380. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4381. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4382. prt.Anchored=true
  4383. prt.Material = "Neon"
  4384. prt.CFrame=cframe
  4385. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4386. game:GetService("Debris"):AddItem(prt,5)
  4387. coroutine.resume(coroutine.create(function(Part,Mesh)
  4388. local rtype = rottype
  4389. for i=0,1,delay do
  4390. swait()
  4391. if rtype == 1 then
  4392. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4393. elseif rtype == 2 then
  4394. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4395. end
  4396. prt.Transparency=i
  4397. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4398. end
  4399. Part.Parent=nil
  4400. end),prt,msh)
  4401. end
  4402.  
  4403. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  4404. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4405. prt.Anchored=true
  4406. prt.Material = "Neon"
  4407. prt.CFrame=cframe
  4408. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  4409. game:GetService("Debris"):AddItem(prt,5)
  4410. coroutine.resume(coroutine.create(function(Part,Mesh)
  4411. local rtype = rottype
  4412. for i=0,1,delay do
  4413. swait()
  4414. if rtype == 1 then
  4415. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  4416. elseif rtype == 2 then
  4417. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  4418. end
  4419. prt.Transparency=i
  4420. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  4421. end
  4422. Part.Parent=nil
  4423. end),prt,msh)
  4424. end
  4425.  
  4426. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  4427. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4428. prt.Anchored=true
  4429. prt.Material = "Neon"
  4430. prt.CFrame=cframe
  4431. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4432. game:GetService("Debris"):AddItem(prt,5)
  4433. coroutine.resume(coroutine.create(function(Part,Mesh)
  4434. local rtype = rottype
  4435. for i=0,1,delay do
  4436. swait()
  4437. if rtype == 1 then
  4438. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4439. elseif rtype == 2 then
  4440. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4441. end
  4442. prt.Transparency=i
  4443. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4444. end
  4445. Part.Parent=nil
  4446. end),prt,msh)
  4447. end
  4448.  
  4449. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4450. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4451. prt.Anchored=true
  4452. prt.Material = "Neon"
  4453. prt.CFrame=cframe
  4454. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4455. game:GetService("Debris"):AddItem(prt,5)
  4456. coroutine.resume(coroutine.create(function(Part,Mesh)
  4457. local rtype = rottype
  4458. for i=0,1,delay do
  4459. swait()
  4460. if rtype == 1 then
  4461. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4462. elseif rtype == 2 then
  4463. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4464. end
  4465. prt.Transparency=i
  4466. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4467. end
  4468. Part.Parent=nil
  4469. end),prt,msh)
  4470. end
  4471.  
  4472. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4473. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4474. prt.Anchored=false
  4475. prt.CFrame=cframe
  4476. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4477. local wld=weld(prt,prt,Parent,cframe)
  4478. game:GetService("Debris"):AddItem(prt,5)
  4479. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4480. for i=0,1,delay do
  4481. wait()
  4482. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  4483. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4484. Part.Transparency=i
  4485. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4486. end
  4487. Part.Parent=nil
  4488. end),prt,msh,wld)
  4489. end
  4490.  
  4491. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4492. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4493. prt.Anchored=false
  4494. prt.CFrame=cframe
  4495. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4496. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  4497. game:GetService("Debris"):AddItem(prt,5)
  4498. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4499. for i=0,1,delay do
  4500. wait()
  4501. Weld.C0=euler(i*20,0,0)
  4502. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4503. Part.Transparency=i
  4504. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4505. end
  4506. Part.Parent=nil
  4507. end),prt,msh,wld)
  4508. end
  4509.  
  4510. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4511. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4512. prt.Anchored=true
  4513. prt.CFrame=cframe
  4514. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4515. game:GetService("Debris"):AddItem(prt,2)
  4516. coroutine.resume(coroutine.create(function(Part,Mesh)
  4517. for i=0,1,delay do
  4518. wait()
  4519. Part.CFrame=Part.CFrame
  4520. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4521. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4522. prt2.Anchored=true
  4523. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4524. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  4525. game:GetService("Debris"):AddItem(prt2,2)
  4526. coroutine.resume(coroutine.create(function(Part,Mesh)
  4527. for i=0,1,0.1 do
  4528. wait()
  4529. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  4530. end
  4531. Part.Parent=nil
  4532. end),prt2,msh2)
  4533. end
  4534. for i=0,1,delay*2 do
  4535. wait()
  4536. Part.CFrame=Part.CFrame
  4537. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  4538. end
  4539. Part.Parent=nil
  4540. end),prt,msh)
  4541. end
  4542.  
  4543. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4544. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4545. prt.Anchored=true
  4546. prt.CFrame=cframe
  4547. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4548. game:GetService("Debris"):AddItem(prt,2)
  4549. coroutine.resume(coroutine.create(function(Part,Mesh)
  4550. for i=0,1,delay do
  4551. wait()
  4552. Part.CFrame=Part.CFrame
  4553. Part.Transparency=i
  4554. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4555. end
  4556. Part.Parent=nil
  4557. end),prt,msh)
  4558. end
  4559.  
  4560. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  4561. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4562. prt.Anchored=true
  4563. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4564. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4565. game:GetService("Debris"):AddItem(prt,2)
  4566. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  4567. CF=Part.CFrame
  4568. Numbb=0
  4569. randnumb=math.random()/10
  4570. rand1=math.random()/10
  4571. for i=0,1,rand1 do
  4572. wait()
  4573. CF=CF*cf(0,math.random()/2,0)
  4574. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  4575. Part.CFrame=CF*euler(Numbb,0,0)
  4576. Part.Transparency=i
  4577. Numbb=Numbb+randnumb
  4578. end
  4579. Part.Parent=nil
  4580. end),prt,CF,Numbb,randnumb)
  4581. end
  4582.  
  4583. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4584. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4585. prt.Anchored=true
  4586. prt.CFrame=cframe
  4587. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  4588. game:GetService("Debris"):AddItem(prt,5)
  4589. coroutine.resume(coroutine.create(function(Part,Mesh)
  4590. for i=0,1,delay do
  4591. wait()
  4592. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  4593. Part.Transparency=i
  4594. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4595. end
  4596. Part.Parent=nil
  4597. end),prt,msh)
  4598. end
  4599.  
  4600. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4601. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4602. prt.Anchored=true
  4603. prt.CFrame=cframe
  4604. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4605. game:GetService("Debris"):AddItem(prt,2)
  4606. coroutine.resume(coroutine.create(function(Part,Mesh)
  4607. for i=0,1,delay do
  4608. wait()
  4609. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  4610. Part.Transparency=i
  4611. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4612. end
  4613. Part.Parent=nil
  4614. end),prt,msh)
  4615. end
  4616.  
  4617. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  4618. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4619. prt.Anchored=true
  4620. prt.CFrame=cframe*cf(x,y,z)
  4621. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  4622. game:GetService("Debris"):AddItem(prt,5)
  4623. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  4624. local num=math.random()
  4625. local num2=math.random(-3,2)+math.random()
  4626. local numm=0
  4627. for i=0,1,delay*2 do
  4628. swait()
  4629. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  4630. Part.Transparency=i
  4631. numm=numm+0.01
  4632. end
  4633. Part.Parent=nil
  4634. Mesh.Parent=nil
  4635. end),prt,msh,x,y,z)
  4636. end
  4637.  
  4638. function dmgstart(dmg,what)
  4639. hitcon = what.Touched:connect(function(hit)
  4640. local hum = hit.Parent:FindFirstChild("Humanoid")
  4641. if hum and not hum:IsDescendantOf(Character) then
  4642. hum:TakeDamage(dmg)
  4643. end
  4644. end)
  4645. end
  4646.  
  4647. function dmgstop()
  4648. hitcon:disconnect()
  4649. end
  4650.  
  4651. function Cloak()
  4652. Face.Parent=nil
  4653. cloaked=true
  4654. for _,v in pairs(Torso.Parent:children()) do
  4655. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4656. coroutine.resume(coroutine.create(function()
  4657. for i=0,1,0.2 do
  4658. wait()
  4659. v.Transparency=i
  4660. end
  4661. v.Transparency=1
  4662. end))
  4663. end
  4664. if v.className=="Hat" then
  4665. hatp=v.Handle
  4666. coroutine.resume(coroutine.create(function(derp)
  4667. for i=0,1,0.2 do
  4668. wait()
  4669. derp.Transparency=i
  4670. end
  4671. derp.Transparency=1
  4672. end),hatp)
  4673. end
  4674. end
  4675. for _,v in pairs(m:children()) do
  4676. if v.className=="Part" then
  4677. coroutine.resume(coroutine.create(function()
  4678. for i=0,1,0.2 do
  4679. wait()
  4680. v.Transparency=i
  4681. end
  4682. v.Transparency=1
  4683. end))
  4684. end
  4685. end
  4686. end
  4687.  
  4688. function UnCloak()
  4689. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  4690. Face.Parent=Head
  4691. cloaked=false
  4692. for _,v in pairs(Torso.Parent:children()) do
  4693. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4694. coroutine.resume(coroutine.create(function()
  4695. for i=0,1,0.1 do
  4696. wait()
  4697. v.Transparency=v.Transparency-0.1
  4698. end
  4699. v.Transparency=0
  4700. end))
  4701. end
  4702. if v.className=="Hat" then
  4703. hatp=v.Handle
  4704. coroutine.resume(coroutine.create(function(derp)
  4705. for i=0,1,0.1 do
  4706. wait()
  4707. derp.Transparency=derp.Transparency-0.1
  4708. end
  4709. derp.Transparency=0
  4710. end),hatp)
  4711. end
  4712. end
  4713. for _,v in pairs(m:children()) do
  4714. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  4715. coroutine.resume(coroutine.create(function()
  4716. for i=0,1,0.1 do
  4717. wait()
  4718. v.Transparency=v.Transparency-0.1
  4719. end
  4720. v.Transparency=0
  4721. end))
  4722. v.Transparency=0
  4723. end
  4724. end
  4725. end
  4726.  
  4727. local origcolor = BrickColor.new("Dark indigo")
  4728. ---- This section of explosions.
  4729. function Explode(rad,par,pitch,vol,mindam,maxdam)
  4730. local expart = Instance.new("Part",char)
  4731. local expart2 = Instance.new("Part",char)
  4732. local rin = Instance.new("Part",char)
  4733. local rin2 = Instance.new("Part",char)
  4734. local partMesh = Instance.new("SpecialMesh",expart)
  4735. partMesh.MeshType = "Sphere"
  4736. local partMesh2 = Instance.new("SpecialMesh",expart2)
  4737. partMesh2.MeshType = "Sphere"
  4738. local partMesh3 = Instance.new("SpecialMesh",rin)
  4739. partMesh3.MeshType = "Brick"
  4740. local partMesh4 = Instance.new("SpecialMesh",rin2)
  4741. partMesh4.MeshType = "Brick"
  4742. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  4743. partMesh.Scale = vt(rad,rad,rad)
  4744. expart.Size = vt(1,1,1)
  4745. expart.Transparency = 1
  4746. expart.Anchored = true
  4747. expart.Material = "Neon"
  4748. expart.BrickColor = bc("White")
  4749. expart.CFrame = par.CFrame
  4750. partMesh2.Scale = vt(rad,rad,rad)
  4751. expart2.Size = vt(1.15,1.15,1.15)
  4752. expart2.Transparency = 0.75
  4753. expart2.Anchored = true
  4754. expart2.Material = "Glass"
  4755. expart2.BrickColor = par.BrickColor
  4756. expart2.CFrame = par.CFrame
  4757. rin.Size = vt(1.15,1.15,1.15)
  4758. rin.Transparency = 1
  4759. rin.Anchored = true
  4760. rin.Material = "Neon"
  4761. rin.BrickColor = par.BrickColor
  4762. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4763. rin2.Size = vt(1.15,1.15,1.15)
  4764. rin2.Transparency = 1
  4765. rin2.Anchored = true
  4766. rin2.Material = "Neon"
  4767. rin2.BrickColor = par.BrickColor
  4768. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4769. partMesh3.Scale = vt(0,1,0)
  4770. partMesh4.Scale = vt(0,1,0)
  4771. local dec2 = Instance.new("Decal", rin)
  4772. dec2.Face = "Top"
  4773. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  4774. dec2.Parent = rin
  4775. local dec2b = dec2:Clone()
  4776. dec2b.Face = "Bottom"
  4777. dec2b.Parent = rin
  4778.  
  4779. local dec2a = Instance.new("Decal", rin2)
  4780. dec2a.Face = "Top"
  4781. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  4782. dec2a.Parent = rin2
  4783. local dec2ab = dec2a:Clone()
  4784. dec2ab.Face = "Bottom"
  4785. dec2ab.Parent = rin2
  4786. expart.CanCollide = false
  4787. expart2.CanCollide = false
  4788. rin.CanCollide = false
  4789. rin2.CanCollide = false
  4790. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  4791. local value = 1*rad/6.5
  4792. for i = 0, 199 do
  4793. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4794. expart.CFrame = expart.CFrame
  4795. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  4796. expart2.CFrame = expart.CFrame
  4797. value = value - 0.035*rad/30
  4798. if value < 7.5 then
  4799. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  4800. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  4801. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  4802. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  4803. end
  4804. if value < 0 then
  4805. dec2.Transparency = dec2.Transparency + 0.025
  4806. dec2a.Transparency = dec2a.Transparency + 0.025
  4807. dec2b.Transparency = dec2b.Transparency + 0.025
  4808. dec2ab.Transparency = dec2ab.Transparency + 0.025
  4809. expart.Transparency = expart.Transparency + 0.025
  4810. expart2.Transparency = expart2.Transparency + 0.025
  4811. rin.Transparency = rin.Transparency + 0.025
  4812. rin2.Transparency = rin2.Transparency + 0.025
  4813. end
  4814. swait()
  4815. end
  4816. game:GetService("Debris"):AddItem(expart, 1)
  4817. game:GetService("Debris"):AddItem(expart2, 1)
  4818. game:GetService("Debris"):AddItem(rin, 1)
  4819. game:GetService("Debris"):AddItem(rin2, 1)
  4820. end
  4821.  
  4822. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  4823. local expart = Instance.new("Part",char)
  4824. local expart2 = Instance.new("Part",char)
  4825. local partMesh = Instance.new("SpecialMesh",expart)
  4826. partMesh.MeshType = "Sphere"
  4827. local partMesh2 = Instance.new("SpecialMesh",expart2)
  4828. partMesh2.MeshType = "Sphere"
  4829. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  4830. partMesh.Scale = vt(rad,rad,rad)
  4831. expart.Size = vt(1,1,1)
  4832. expart.Transparency = 0
  4833. expart.Anchored = true
  4834. expart.Material = "Neon"
  4835. expart.BrickColor = bc("White")
  4836. expart.CFrame = par.CFrame
  4837. partMesh2.Scale = vt(rad,rad,rad)
  4838. expart2.Size = vt(1.15,1.15,1.15)
  4839. expart2.Transparency = 0.5
  4840. expart2.Anchored = true
  4841. expart2.Material = "Neon"
  4842. expart2.BrickColor = par.BrickColor
  4843. expart2.CFrame = par.CFrame
  4844. expart.CanCollide = false
  4845. expart2.CanCollide = false
  4846. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  4847. local value = 1*rad/6.5
  4848. for i = 0, 75 do
  4849. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4850. expart.CFrame = expart.CFrame
  4851. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  4852. expart2.CFrame = expart.CFrame
  4853. value = value - 0.035*rad/5
  4854. if value < 0 then
  4855. value = 0
  4856. expart.Transparency = expart.Transparency + 0.05
  4857. expart2.Transparency = expart2.Transparency + 0.05
  4858. end
  4859. swait()
  4860. end
  4861. game:GetService("Debris"):AddItem(expart, 1)
  4862. game:GetService("Debris"):AddItem(expart2, 1)
  4863. end
  4864.  
  4865. function AreaDanger(rad,par,mindam,maxdam)
  4866. local expart = Instance.new("Part",char)
  4867. local partMesh = Instance.new("SpecialMesh",expart)
  4868. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  4869. partMesh.MeshType = "Sphere"
  4870. partMesh.Scale = vt(rad,rad,rad)
  4871. expart.Size = vt(1,1,1)
  4872. expart.Transparency = 0.5
  4873. expart.Anchored = true
  4874. expart.Material = "Neon"
  4875. expart.CanCollide = false
  4876. expart.BrickColor = par.BrickColor
  4877. expart.CFrame = par.CFrame
  4878. local value = 1*rad/5
  4879. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  4880. for i = 0, 14 do
  4881. wait()
  4882. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4883. expart.CFrame = expart.CFrame
  4884. value = value - 0.035*rad
  4885. if value < 0 then
  4886. value = 0
  4887. end
  4888. end
  4889. wait(0.25)
  4890. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  4891. wait(0.5)
  4892. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  4893. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  4894. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  4895. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  4896. for i = 0, 14 do
  4897. wait()
  4898. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  4899. expart.CFrame = expart.CFrame
  4900. value = value - 0.035*rad/2
  4901. end
  4902. expart.Transparency = 1
  4903. game:GetService("Debris"):AddItem(expart, 5)
  4904. end
  4905.  
  4906. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  4907. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  4908. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  4909. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  4910. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  4911. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  4912. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  4913. for i = 0, 24 do
  4914. 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))
  4915. end
  4916. for i = 0, 24 do
  4917. local expart = Instance.new("Part",char)
  4918. expart.Transparency = 1
  4919. expart.Anchored = true
  4920. expart.CanCollide = false
  4921. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  4922. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  4923. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  4924. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  4925. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  4926. for i = 0, 9 do
  4927. 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))
  4928. end
  4929. game:GetService("Debris"):AddItem(expart, 2)
  4930. wait(0.1)
  4931. end
  4932. end
  4933.  
  4934. function EXterPlosion(par)
  4935. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  4936. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  4937. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  4938. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  4939. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  4940. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  4941. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  4942. for i = 0, 24 do
  4943. 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))
  4944. end
  4945. for i = 0, 24 do
  4946. 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))
  4947. end
  4948. end
  4949. ----
  4950.  
  4951. local stackingpower = 1
  4952.  
  4953. function HellsCore()
  4954. attack = true
  4955. --[[for i = 0,1,0.1 do
  4956. swait()
  4957. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  4958. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  4959. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  4960. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4961. end]]--
  4962.  
  4963. local rng = Instance.new("Part", char)
  4964. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  4965. rng.Anchored = true
  4966. rng.BrickColor = origcolor
  4967. rng.CanCollide = false
  4968. rng.FormFactor = 3
  4969. rng.Name = "Ring"
  4970. rng.Material = "Neon"
  4971. rng.Size = Vector3.new(1, 1, 1)
  4972. rng.Transparency = 1
  4973. rng.TopSurface = 0
  4974. rng.BottomSurface = 0
  4975. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  4976. local rngm = Instance.new("SpecialMesh", rng)
  4977. rngm.MeshType = "Brick"
  4978. local dec = Instance.new("Decal",rng)
  4979. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  4980. dec.Face = "Top"
  4981. local dec2 = dec:Clone()
  4982. dec2.Parent = rng
  4983. dec2.Face = "Bottom"
  4984.  
  4985. local scaler2 = 1
  4986. scaler2 = 1*3
  4987. for i = 0,10,0.1 do
  4988. swait()
  4989. scaler2 = scaler2 - 0.01*3
  4990. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  4991. end
  4992. wait(3)
  4993. for i = 0,10,0.1 do
  4994. swait()
  4995. scaler2 = scaler2 - 0.01*3
  4996. dec.Transparency = dec.Transparency + 0.01
  4997. dec2.Transparency = dec2.Transparency + 0.01
  4998. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  4999. end
  5000. rng:Destroy()
  5001. attack = false
  5002. end
  5003.  
  5004.  
  5005. function FaceMouse()
  5006. Cam = workspace.CurrentCamera
  5007. return {
  5008. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  5009. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5010. }
  5011. end
  5012.  
  5013. function FaceMouse2()
  5014. Cam = workspace.CurrentCamera
  5015. return {
  5016. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  5017. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5018. }
  5019. end
  5020.  
  5021.  
  5022. local HoldingZ = false
  5023. local HoldingX = false
  5024. local HoldingC = false
  5025. local HoldingV = false
  5026. local HoldingB = false
  5027.  
  5028.  
  5029. function RingEffect(pos,startsize,size,col)
  5030. local lb = Instance.new("Part")
  5031. lb.Parent = char
  5032. lb.BrickColor = col
  5033. lb.CanCollide = false
  5034. lb.Material = "Neon"
  5035. lb.Anchored = true
  5036. lb.TopSurface = 0
  5037. lb.BottomSurface = 0
  5038. lb.Transparency = 1
  5039. lb.Size = vt(1,1,1)
  5040. lb.CFrame = pos
  5041. local thingery = Instance.new("SpecialMesh",lb)
  5042. thingery.MeshType = "Brick"
  5043. thingery.Scale = vt(startsize,0.1,startsize)
  5044. local dec2 = Instance.new("Texture", lb)
  5045. dec2.Face = "Top"
  5046. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5047. dec2.Color3 = lb.Color
  5048. dec2.Parent = lb
  5049. dec2.StudsPerTileU = startsize
  5050. dec2.StudsPerTileV = startsize
  5051. local dec2b = dec2:Clone()
  5052. dec2b.Face = "Bottom"
  5053. dec2b.Parent = lb
  5054. local randomrot = math.random(1,2)
  5055. coroutine.resume(coroutine.create(function()
  5056. for i = 0, 19 do
  5057. swait()
  5058. if randomrot == 1 then
  5059. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  5060. elseif randomrot == 2 then
  5061. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  5062. end
  5063. dec2.Transparency = dec2.Transparency + 0.05
  5064. dec2b.Transparency = dec2b.Transparency + 0.05
  5065. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  5066. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  5067. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  5068. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  5069. thingery.Scale = thingery.Scale + vt(size,0,size)
  5070. end
  5071. lb:Destroy()
  5072. end))
  5073. end
  5074.  
  5075. function SlowRingEffect(pos,startsize,size,col)
  5076. local lb = Instance.new("Part")
  5077. lb.Parent = char
  5078. lb.BrickColor = col
  5079. lb.CanCollide = false
  5080. lb.Material = "Neon"
  5081. lb.Anchored = true
  5082. lb.TopSurface = 0
  5083. lb.BottomSurface = 0
  5084. lb.Transparency = 1
  5085. lb.Size = vt(1,1,1)
  5086. lb.CFrame = pos
  5087. local thingery = Instance.new("SpecialMesh",lb)
  5088. thingery.MeshType = "Brick"
  5089. thingery.Scale = vt(startsize,0.1,startsize)
  5090. local dec2 = Instance.new("Decal", lb)
  5091. dec2.Face = "Top"
  5092. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5093. dec2.Color3 = lb.Color
  5094. dec2.Parent = lb
  5095. local dec2b = dec2:Clone()
  5096. dec2b.Face = "Bottom"
  5097. dec2b.Parent = lb
  5098. local randomrot = math.random(1,2)
  5099. coroutine.resume(coroutine.create(function()
  5100. for i = 0, 49 do
  5101. swait()
  5102. if randomrot == 1 then
  5103. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  5104. elseif randomrot == 2 then
  5105. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  5106. end
  5107. dec2.Transparency = dec2.Transparency + 0.02
  5108. dec2b.Transparency = dec2b.Transparency + 0.02
  5109. thingery.Scale = thingery.Scale + vt(size,0,size)
  5110. end
  5111. lb:Destroy()
  5112. end))
  5113. end
  5114.  
  5115.  
  5116. function groundringaa(pos)
  5117. local rng = Instance.new("Part", char)
  5118. rng.Anchored = true
  5119. rng.BrickColor = origcolor
  5120. rng.CanCollide = false
  5121. rng.FormFactor = 3
  5122. rng.Name = "Ring"
  5123. rng.Size = Vector3.new(1, 1, 1)
  5124. rng.Transparency = 1
  5125. rng.TopSurface = 0
  5126. rng.BottomSurface = 0
  5127. rng.CFrame = pos
  5128. local rngm = Instance.new("SpecialMesh", rng)
  5129. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5130. rngm.Scale = Vector3.new(100,100,5)
  5131. local scaler2 = -10/2
  5132. coroutine.resume(coroutine.create(function()
  5133. for i = 0,10,0.1 do
  5134. swait()
  5135. scaler2 = scaler2 + 0.1/2
  5136. rng.Transparency = rng.Transparency - 0.01
  5137. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  5138. end
  5139. rng:Destroy()
  5140. end))
  5141. end
  5142.  
  5143. function groundringbb(pos)
  5144. local rng = Instance.new("Part", char)
  5145. rng.Anchored = true
  5146. rng.BrickColor = origcolor
  5147. rng.CanCollide = false
  5148. rng.FormFactor = 3
  5149. rng.Name = "Ring"
  5150. rng.Size = Vector3.new(1, 1, 1)
  5151. rng.Transparency = 0
  5152. rng.TopSurface = 0
  5153. rng.BottomSurface = 0
  5154. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5155. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5156. local rngm = Instance.new("SpecialMesh", rng)
  5157. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5158. rngm.Scale = Vector3.new(0,0,5)
  5159. local scaler2 = 10
  5160. coroutine.resume(coroutine.create(function()
  5161. for i = 0,10*2,0.1 do
  5162. swait()
  5163. scaler2 = scaler2 - 0.1/2
  5164. rng.Transparency = rng.Transparency + 0.005
  5165. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  5166. end
  5167. rng:Destroy()
  5168. end))
  5169. end
  5170.  
  5171. function groundglowaa(pos)
  5172. local rng = Instance.new("Part", char)
  5173. rng.Anchored = true
  5174. rng.BrickColor = origcolor
  5175. rng.CanCollide = false
  5176. rng.FormFactor = 3
  5177. rng.Material = "Neon"
  5178. rng.Name = "Ring"
  5179. rng.Size = Vector3.new(1, 1, 1)
  5180. rng.Transparency = 0
  5181. rng.TopSurface = 0
  5182. rng.BottomSurface = 0
  5183. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5184. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5185. local rngm = Instance.new("SpecialMesh", rng)
  5186. rngm.MeshType = "Sphere"
  5187. rngm.Scale = Vector3.new(0,0,25)
  5188. local scaler2 = 10*2
  5189. coroutine.resume(coroutine.create(function()
  5190. for i = 0,10*2,0.1 do
  5191. swait()
  5192. scaler2 = scaler2 - 0.1*2/2
  5193. rng.Transparency = rng.Transparency + 0.005
  5194. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  5195. end
  5196. rng:Destroy()
  5197. end))
  5198. end
  5199.  
  5200. function bemaa(pos)
  5201. local rng = Instance.new("Part", char)
  5202. rng.Anchored = true
  5203. rng.BrickColor = origcolor
  5204. rng.CanCollide = false
  5205. rng.FormFactor = 3
  5206. rng.Material = "Neon"
  5207. rng.Name = "Ring"
  5208. rng.Size = Vector3.new(1, 1, 1)
  5209. rng.Transparency = 0
  5210. rng.TopSurface = 0
  5211. rng.BottomSurface = 0
  5212. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5213. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5214. local rngm = Instance.new("SpecialMesh", rng)
  5215. rngm.MeshType = "Sphere"
  5216. rngm.Scale = Vector3.new(0,0,10000)
  5217. local scaler2 = 1
  5218. coroutine.resume(coroutine.create(function()
  5219. for i = 0,99,0.1 do
  5220. swait()
  5221. scaler2 = scaler2 - 0.0025
  5222. rng.Transparency = rng.Transparency + 0.0025
  5223. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  5224. end
  5225. rng:Destroy()
  5226. end))
  5227. end
  5228.  
  5229. function bemaashake(pos)
  5230. local rng = Instance.new("Part", char)
  5231. rng.Anchored = true
  5232. rng.BrickColor = origcolor
  5233. rng.CanCollide = false
  5234. rng.FormFactor = 3
  5235. rng.Material = "Neon"
  5236. rng.Name = "Ring"
  5237. rng.Size = Vector3.new(1, 1, 1)
  5238. rng.Transparency = 0
  5239. rng.TopSurface = 0
  5240. rng.BottomSurface = 0
  5241. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5242. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5243. local rngm = Instance.new("SpecialMesh", rng)
  5244. rngm.MeshType = "Sphere"
  5245. local oof = Instance.new("Part",char)
  5246. oof.Parent = rng
  5247. oof.CFrame = rng.CFrame
  5248. oof.CanCollide = false
  5249. oof.Anchored = true
  5250. oof.Transparency = 1
  5251. rngm.Scale = Vector3.new(0,0,10000)
  5252. local scaler2 = 1*10
  5253. coroutine.resume(coroutine.create(function()
  5254. for i = 0,99,0.1 do
  5255. swait()
  5256. scaler2 = scaler2 - 0.0025*10
  5257. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  5258. rng.Transparency = rng.Transparency + 0.0025
  5259. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  5260. end
  5261. rng:Destroy()
  5262. end))
  5263. end
  5264.  
  5265. function groundringlarge(pos)
  5266. local rng = Instance.new("Part", char)
  5267. rng.Anchored = true
  5268. rng.BrickColor = origcolor
  5269. rng.CanCollide = false
  5270. rng.FormFactor = 3
  5271. rng.Name = "Ring"
  5272. rng.Size = Vector3.new(1, 1, 1)
  5273. rng.Transparency = 0
  5274. rng.TopSurface = 0
  5275. rng.BottomSurface = 0
  5276. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  5277. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  5278. local rngm = Instance.new("SpecialMesh", rng)
  5279. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5280. rngm.Scale = Vector3.new(0,0,5)
  5281. local scaler2 = 10*10
  5282. coroutine.resume(coroutine.create(function()
  5283. for i = 0,10*2,0.1 do
  5284. swait()
  5285. scaler2 = scaler2 - 0.1*10/2
  5286. rng.Transparency = rng.Transparency + 0.005
  5287. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  5288. end
  5289. rng:Destroy()
  5290. end))
  5291. end
  5292.  
  5293. function sphere(bonuspeed,type,pos,scale,value,color)
  5294. local type = type
  5295. local rng = Instance.new("Part", char)
  5296. rng.Anchored = true
  5297. rng.BrickColor = color
  5298. rng.CanCollide = false
  5299. rng.FormFactor = 3
  5300. rng.Name = "Ring"
  5301. rng.Material = "Neon"
  5302. rng.Size = Vector3.new(1, 1, 1)
  5303. rng.Transparency = 0
  5304. rng.TopSurface = 0
  5305. rng.BottomSurface = 0
  5306. rng.CFrame = pos
  5307. local rngm = Instance.new("SpecialMesh", rng)
  5308. rngm.MeshType = "Sphere"
  5309. rngm.Scale = scale
  5310. local scaler2 = 1
  5311. if type == "Add" then
  5312. scaler2 = 1*value
  5313. elseif type == "Divide" then
  5314. scaler2 = 1/value
  5315. end
  5316. coroutine.resume(coroutine.create(function()
  5317. for i = 0,10/bonuspeed,0.1 do
  5318. swait()
  5319. if type == "Add" then
  5320. scaler2 = scaler2 - 0.01*value/bonuspeed
  5321. elseif type == "Divide" then
  5322. scaler2 = scaler2 - 0.01/value*bonuspeed
  5323. end
  5324. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5325. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5326. end
  5327. rng:Destroy()
  5328. end))
  5329. end
  5330. Humanoid.Animator.Parent = nil
  5331.  
  5332. function AppearMutatedLimbs()
  5333. hum.WalkSpeed = 0
  5334. hum.MaxHealth = math.huge
  5335. attack = true
  5336. for i = 0,14,0.1 do
  5337. swait()
  5338. 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)
  5339. 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)
  5340. 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)
  5341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  5342. 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)
  5343. 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)
  5344. end
  5345. for i = 0,8,0.1 do
  5346. swait()
  5347. 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)
  5348. 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)
  5349. 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)
  5350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  5351. 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)
  5352. 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)
  5353. end
  5354. for i = 0,2,0.1 do
  5355. swait()
  5356. 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)
  5357. 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)
  5358. 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)
  5359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5360. 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)
  5361. 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)
  5362. end
  5363. for i, v in pairs(MutantParts:GetChildren()) do
  5364. if v:IsA("Part") then
  5365. v.Transparency = 0
  5366. end
  5367. end
  5368. local bld = Instance.new("ParticleEmitter",larm)
  5369. bld.LightEmission = 0.1
  5370. bld.Texture = "rbxassetid://284205403"
  5371. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5372. bld.Rate = 500
  5373. bld.Lifetime = NumberRange.new(1)
  5374. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5375. bld.Acceleration = vt(0,-25,0)
  5376. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5377. bld.Speed = NumberRange.new(10,25)
  5378. bld.EmissionDirection = "Bottom"
  5379. bld.VelocitySpread = 100
  5380. bld.Rotation = NumberRange.new(-500,500)
  5381. bld.RotSpeed = NumberRange.new(-500,500)
  5382. local bldef = Instance.new("ParticleEmitter",larm)
  5383. bldef.LightEmission = 0.1
  5384. bldef.Texture = "rbxassetid://284205403"
  5385. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5386. bldef.Rate = 25
  5387. bldef.Lifetime = NumberRange.new(1)
  5388. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5389. bldef.Acceleration = vt(0,-5,0)
  5390. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5391. bldef.Speed = NumberRange.new(0,0,0)
  5392. bldef.EmissionDirection = "Bottom"
  5393. bldef.VelocitySpread = 150
  5394. bldef.Rotation = NumberRange.new(-500,500)
  5395. bldef.RotSpeed = NumberRange.new(-500,500)
  5396. game:GetService("Debris"):AddItem(bld,3)
  5397. CFuncs["Sound"].Create("rbxassetid://429400881", larm, 2.5, 1)
  5398. CFuncs["Sound"].Create("rbxassetid://206082327", larm, 0.75, 1)
  5399. for i = 0,1,0.1 do
  5400. swait()
  5401. 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)
  5402. 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)
  5403. 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)
  5404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  5405. 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)
  5406. 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)
  5407. end
  5408. bld.Enabled = false
  5409. attack = false
  5410. hum.WalkSpeed = 6
  5411. end
  5412.  
  5413. function AppearMutatedLimbs2()
  5414. hum.WalkSpeed = 0
  5415. attack = true
  5416. LeftModeUnlocked = true
  5417. for i = 0,8,0.1 do
  5418. swait()
  5419. 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)
  5420. 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)
  5421. 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)
  5422. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  5423. 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)
  5424. 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)
  5425. end
  5426. for i = 0,2,0.1 do
  5427. swait()
  5428. 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)
  5429. 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)
  5430. 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)
  5431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  5432. 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)
  5433. 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)
  5434. end
  5435. for i, v in pairs(MutantParts2:GetChildren()) do
  5436. if v:IsA("Part") then
  5437. v.Transparency = 0
  5438. end
  5439. end
  5440. local bld = Instance.new("ParticleEmitter",rarm)
  5441. bld.LightEmission = 0.1
  5442. bld.Texture = "rbxassetid://284205403"
  5443. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5444. bld.Rate = 500
  5445. bld.Lifetime = NumberRange.new(1)
  5446. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5447. bld.Acceleration = vt(0,-25,0)
  5448. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5449. bld.Speed = NumberRange.new(10,25)
  5450. bld.EmissionDirection = "Bottom"
  5451. bld.VelocitySpread = 100
  5452. bld.Rotation = NumberRange.new(-500,500)
  5453. bld.RotSpeed = NumberRange.new(-500,500)
  5454. local bldef = Instance.new("ParticleEmitter",rarm)
  5455. bldef.LightEmission = 0.1
  5456. bldef.Texture = "rbxassetid://284205403"
  5457. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5458. bldef.Rate = 25
  5459. bldef.Lifetime = NumberRange.new(1)
  5460. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5461. bldef.Acceleration = vt(0,-5,0)
  5462. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5463. bldef.Speed = NumberRange.new(0,0,0)
  5464. bldef.EmissionDirection = "Bottom"
  5465. bldef.VelocitySpread = 150
  5466. bldef.Rotation = NumberRange.new(-500,500)
  5467. bldef.RotSpeed = NumberRange.new(-500,500)
  5468. game:GetService("Debris"):AddItem(bld,3)
  5469. CFuncs["Sound"].Create("rbxassetid://429400881", rarm, 2.5, 1)
  5470. CFuncs["Sound"].Create("rbxassetid://206082327", rarm, 0.75, 1)
  5471. for i = 0,1,0.1 do
  5472. swait()
  5473. 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)
  5474. 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)
  5475. 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)
  5476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  5477. 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)
  5478. 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)
  5479. end
  5480. bld.Enabled = false
  5481. attack = false
  5482. hum.WalkSpeed = 6
  5483. end
  5484.  
  5485. function TargetSelect(person)
  5486. local dd=coroutine.wrap(function()
  5487. if targetted ~= person then
  5488. targetted = person
  5489. img2.Size = UDim2.new(1,0,1,0)
  5490. img2.ImageTransparency = 0
  5491. img2.Position = UDim2.new(0,0,0,0)
  5492. img2.ImageColor3 = Color3.new(0,0,0)
  5493. for i = 0, 2, 0.1 do
  5494. swait()
  5495. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  5496. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  5497. img2.ImageTransparency = img2.ImageTransparency + 0.05
  5498. end
  5499. end
  5500. end)
  5501. dd()
  5502. end
  5503.  
  5504. function FindNearestTorso(Position, Distance, SinglePlayer)
  5505. if SinglePlayer then
  5506. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  5507. end
  5508. local List = {}
  5509. for i, v in pairs(workspace:GetChildren()) do
  5510. if v:IsA("Model") then
  5511. if v:findFirstChild("Torso") then
  5512. if v ~= Character then
  5513. if (v.Torso.Position - Position).magnitude <= Distance then
  5514. table.insert(List, v)
  5515. end
  5516. end
  5517. end
  5518. end
  5519. end
  5520. return List
  5521. end
  5522.  
  5523. function LockOn()
  5524. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5525. TargetSelect(Mouse.Target.Parent)
  5526. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  5527. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  5528. TargetSelect(Mouse.Target.Parent)
  5529. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  5530. targetted = nil
  5531. end
  5532. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  5533. end
  5534. end
  5535.  
  5536. function dmg(dude)
  5537. if dude.Name ~= Character then
  5538. local bgf = Instance.new("BodyGyro",dude.Head)
  5539. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  5540. local val = Instance.new("BoolValue",dude)
  5541. val.Name = "IsHit"
  5542. local ds = coroutine.wrap(function()
  5543. if dude.Name ~= "isaacsantamaria01" then
  5544. killcount = killcount + 1
  5545. dude:WaitForChild("Torso"):BreakJoints()
  5546. wait(0.5)
  5547. targetted = nil
  5548. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  5549. coroutine.resume(coroutine.create(function()
  5550. for i, v in pairs(dude:GetChildren()) do
  5551. if v:IsA("Accessory") then
  5552. v:Destroy()
  5553. end
  5554. if v:IsA("Humanoid") then
  5555. v:Destroy()
  5556. end
  5557. if v:IsA("CharacterMesh") then
  5558. v:Destroy()
  5559. end
  5560. if v:IsA("Model") then
  5561. v:Destroy()
  5562. end
  5563. if v:IsA("Part") then
  5564. for x, o in pairs(v:GetChildren()) do
  5565. if o:IsA("Decal") then
  5566. o:Destroy()
  5567. end
  5568. end
  5569. coroutine.resume(coroutine.create(function()
  5570. v.Material = "Neon"
  5571. v.CanCollide = false
  5572. local bld = Instance.new("ParticleEmitter",v)
  5573. bld.LightEmission = 1
  5574. bld.Texture = "rbxassetid://284205403"
  5575. bld.Color = ColorSequence.new(Color3.new(155,0,155))
  5576. bld.Rate = 50
  5577. bld.Lifetime = NumberRange.new(1)
  5578. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  5579. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5580. bld.Speed = NumberRange.new(0,0,0)
  5581. bld.Rotation = NumberRange.new(-500,500)
  5582. bld.RotSpeed = NumberRange.new(-500,500)
  5583. local sbs = Instance.new("BodyPosition", v)
  5584. sbs.P = 3000
  5585. sbs.D = 1000
  5586. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  5587. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  5588. v.Color = Color3.new(85,0,85)
  5589. end))
  5590. coroutine.resume(coroutine.create(function()
  5591. for i = 0, 49 do
  5592. swait(1)
  5593. v.Transparency = v.Transparency + 0.02
  5594. end
  5595. v:Destroy()
  5596. dude:Destroy()
  5597. end))
  5598. end
  5599. end
  5600. end))
  5601. else
  5602. bgf:Destroy()
  5603. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  5604. end
  5605. end)
  5606. ds()
  5607. end
  5608. end
  5609.  
  5610.  
  5611. local Grabbed = false
  5612.  
  5613. function QuickStab()
  5614. attack = true
  5615. hum.WalkSpeed = 0
  5616. swait(1)
  5617. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  5618. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  5619. if targetted.Name ~= "isaacsantamaria01" then
  5620. local grab = nil
  5621. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  5622. if v:FindFirstChild('Head') then
  5623. Grabbed = true
  5624. grab = v
  5625. end
  5626. end
  5627. if Grabbed == true then
  5628. for i = 0,2,0.1 do
  5629. swait()
  5630. 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)
  5631. 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)
  5632. 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)
  5633. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5634. 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)
  5635. 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)
  5636. end
  5637. dmg(grab)
  5638. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  5639. bld.LightEmission = 0.1
  5640. bld.Texture = "rbxassetid://284205403"
  5641. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5642. bld.Rate = 500
  5643. bld.Lifetime = NumberRange.new(1)
  5644. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5645. bld.Acceleration = vt(0,-25,0)
  5646. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5647. bld.Speed = NumberRange.new(10,50)
  5648. bld.EmissionDirection = "Front"
  5649. bld.VelocitySpread = 25
  5650. bld.Rotation = NumberRange.new(-500,500)
  5651. bld.RotSpeed = NumberRange.new(-500,500)
  5652. game:GetService("Debris"):AddItem(bld,3)
  5653. CFuncs["Sound"].Create("rbxassetid://206082327", targetted.Torso, 2.5, 0.9)
  5654. for i = 0,1,0.1 do
  5655. swait()
  5656. 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)
  5657. 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)
  5658. 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)
  5659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5660. 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)
  5661. 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)
  5662. end
  5663. bld.Enabled = false
  5664. end
  5665. else
  5666. for i = 0,8,0.1 do
  5667. swait()
  5668. 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)
  5669. 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)
  5670. 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)
  5671. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  5672. 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)
  5673. 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)
  5674. end
  5675. local randomized = math.random(1,3)
  5676. if randomized == 1 then
  5677. chatfunc("No... i cant.",Color3.new(0.5,0,0))
  5678. elseif randomized == 2 then
  5679. chatfunc("Why would i do this...",Color3.new(0.5,0,0))
  5680. elseif randomized == 3 then
  5681. chatfunc("Oh... i thought you're my enemy...",Color3.new(0.5,0,0))
  5682. end
  5683. --[[for i = 0,3,0.1 do
  5684. swait()
  5685. 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)
  5686. 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)
  5687. 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)
  5688. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  5689. 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)
  5690. 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)
  5691. end]]--
  5692. end
  5693. Grabbed = false
  5694. attack = false
  5695. hum.WalkSpeed = 6
  5696. end
  5697.  
  5698.  
  5699. function BlinkingStab()
  5700. attack = true
  5701. hum.WalkSpeed = 0
  5702. swait(1)
  5703. if targetted.Name ~= "isaacsantamaria01" then
  5704. for i = 0,2,0.1 do
  5705. swait()
  5706. 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)
  5707. 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)
  5708. 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)
  5709. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5710. 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)
  5711. 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)
  5712. end
  5713. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  5714. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  5715. dmg(targetted)
  5716. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  5717. bld.LightEmission = 0.1
  5718. bld.Texture = "rbxassetid://284205403"
  5719. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5720. bld.Rate = 500
  5721. bld.Lifetime = NumberRange.new(1)
  5722. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5723. bld.Acceleration = vt(0,-25,0)
  5724. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5725. bld.Speed = NumberRange.new(10,50)
  5726. bld.EmissionDirection = "Front"
  5727. bld.VelocitySpread = 25
  5728. bld.Rotation = NumberRange.new(-500,500)
  5729. bld.RotSpeed = NumberRange.new(-500,500)
  5730. game:GetService("Debris"):AddItem(bld,3)
  5731. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Torso, 1,1)
  5732. for i = 0,1,0.1 do
  5733. swait()
  5734. 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)
  5735. 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)
  5736. 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)
  5737. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5738. 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)
  5739. 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)
  5740. end
  5741. bld.Enabled = false
  5742. else
  5743. for i = 0,8,0.1 do
  5744. swait()
  5745. 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)
  5746. 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)
  5747. 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)
  5748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5749. 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)
  5750. 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)
  5751. end
  5752. local randomized = math.random(1,3)
  5753. if randomized == 1 then
  5754. chatfunc("Wait.. a minute... wrong guy...",Color3.new(0.5,0,0))
  5755. elseif randomized == 2 then
  5756. chatfunc("I forgot about you...",Color3.new(0.5,0,0))
  5757. elseif randomized == 3 then
  5758. chatfunc("Oh. sorry...",Color3.new(0.5,0,0))
  5759. end
  5760. --[[for i = 0,3,0.1 do
  5761. swait()
  5762. 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)
  5763. 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)
  5764. 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)
  5765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  5766. 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)
  5767. 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)
  5768. end]]--
  5769. end
  5770. attack = false
  5771. hum.WalkSpeed = 6
  5772. end
  5773.  
  5774.  
  5775. function Tele()
  5776. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  5777. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  5778. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  5779. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  5780. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  5781. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  5782. end
  5783.  
  5784. function uhhnolikeokthen()
  5785. hum.WalkSpeed = 0
  5786. attack = true
  5787. CFuncs["Sound"].Create("rbxassetid://163315655", root, 1,1)
  5788. for i = 0,10,0.1 do
  5789. swait()
  5790. 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)
  5791. 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)
  5792. 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)
  5793. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  5794. 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)
  5795. 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)
  5796. end
  5797. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  5798. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  5799. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  5800. CFuncs["Sound"].Create("rbxassetid://1213175909", root, 3,1)
  5801. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2,1)
  5802. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2,0.9)
  5803. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  5804. if v:FindFirstChild('Torso') then
  5805. dmg(v)
  5806. CFuncs["Sound"].Create("rbxassetid://206082327", v.Torso, 1, 0.9)
  5807. local bld = Instance.new("ParticleEmitter",v.Torso)
  5808. bld.LightEmission = 0.1
  5809. bld.Texture = "rbxassetid://284205403"
  5810. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5811. bld.Rate = 500
  5812. bld.Lifetime = NumberRange.new(1)
  5813. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5814. bld.Acceleration = vt(0,-25,0)
  5815. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5816. bld.Speed = NumberRange.new(10,50)
  5817. bld.EmissionDirection = "Front"
  5818. bld.VelocitySpread = 2500
  5819. bld.Rotation = NumberRange.new(-500,500)
  5820. bld.RotSpeed = NumberRange.new(-500,500)
  5821. coroutine.resume(coroutine.create(function()
  5822. swait(4)
  5823. bld.Enabled = false
  5824. game:GetService("Debris"):AddItem(bld,3)
  5825. end))
  5826. end
  5827. end
  5828. for i = 0,28,0.1 do
  5829. swait()
  5830. 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)
  5831. 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)
  5832. 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)
  5833. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  5834. 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)
  5835. 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)
  5836. end
  5837. attack = false
  5838. hum.WalkSpeed = 6
  5839. end
  5840.  
  5841. function deadworld()
  5842. hum.WalkSpeed = 0
  5843. attack = true
  5844. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  5845. for i = 0,10,0.1 do
  5846. swait()
  5847. 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)
  5848. 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)
  5849. 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)
  5850. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  5851. 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)
  5852. 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)
  5853. end
  5854. coroutine.resume(coroutine.create(function()
  5855. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  5856. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5857. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5858. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5859. coroutine.resume(coroutine.create(function()
  5860. for i = 0, 9 do
  5861. swait(3)
  5862. 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"))
  5863. end
  5864. end))
  5865. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  5866. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  5867. local blastpitch = 1
  5868. for i = 0,2 do
  5869. wait(1.5)
  5870. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5871. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5872. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  5873. coroutine.resume(coroutine.create(function()
  5874. for i = 0, 9 do
  5875. swait(3)
  5876. 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"))
  5877. end
  5878. end))
  5879. blastpitch = blastpitch - 0.15
  5880. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  5881. end
  5882. wait(2)
  5883. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  5884. if v:FindFirstChild('Torso') then
  5885. dmg(v)
  5886. end
  5887. end
  5888. tors:Destroy()
  5889. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  5890. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  5891. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  5892. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  5893. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  5894. coroutine.resume(coroutine.create(function()
  5895. for i = 0, 49 do
  5896. swait(3)
  5897. 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"))
  5898. 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"))
  5899. end
  5900. end))
  5901. end))
  5902. for i = 0,280,0.1 do
  5903. swait()
  5904. 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)
  5905. 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)
  5906. 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)
  5907. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  5908. 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)
  5909. 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)
  5910. end
  5911. attack = false
  5912. hum.WalkSpeed = 6
  5913. end
  5914. coroutine.resume(coroutine.create(function()
  5915. AppearMutatedLimbs()
  5916. end))
  5917.  
  5918. mouse.Button1Down:connect(function()
  5919. if attack == false and targetted ~= nil then
  5920. BlinkingStab()
  5921. end
  5922. end)
  5923.  
  5924. mouse.KeyDown:connect(function(k)
  5925. if k == "q" and attack == false then
  5926. LockOn()
  5927. end
  5928. if k == "e" and attack == false and targetted ~= nil then
  5929. Tele()
  5930. end
  5931. if k == "z" and attack == false and targetted ~= nil then
  5932. QuickStab()
  5933. end
  5934. if k == "x" and attack == false then
  5935. uhhnolikeokthen()
  5936. end
  5937. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  5938. AppearMutatedLimbs2()
  5939. end
  5940. if k == "p" and attack == false and unlockedX == true then
  5941. deadworld()
  5942. end
  5943. if k == "t" and attack == false and plr.Name == "isaacsantamaria01" then
  5944. attack = true
  5945. chatfunc("HAH",Color3.new(0.5,0,0))
  5946. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  5947. for i = 0, 1, 0.1 do
  5948. swait()
  5949. 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)
  5950. 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)
  5951. 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)
  5952. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  5953. 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)
  5954. 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)
  5955. end
  5956. attack = false
  5957. end
  5958. end)
  5959. idleanim=.4
  5960. while true do
  5961. swait()
  5962. imgl.Rotation = imgl.Rotation + 3
  5963. imgl2.Rotation = imgl2.Rotation - 3
  5964. img2.Rotation = img2.Rotation - 3
  5965. if targetted ~= nil then
  5966. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  5967. abss.Enabled = true
  5968. elseif targetted == nil then
  5969. abss.Adornee = nil
  5970. abss.Enabled = false
  5971. end
  5972. while true and imgl.Rotation >= 360 do
  5973. imgl.Rotation = 0
  5974. imgl2.Rotation = 0
  5975. img2.Rotation = 0
  5976. end
  5977. uhh.Rotation = math.random(-1,1)
  5978. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  5979. uhh.Text = "Kills : " ..killcount
  5980. if killcount < maxA then
  5981. uhh2.Text = "Required kills for second mutated arm: " ..requirekillA-killcount
  5982. elseif killcount >= maxA then
  5983. unlockedA = true
  5984. uhh2.Text = "Second mutated arm unlocked. (L)"
  5985. end
  5986. if killcount < maxX then
  5987. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  5988. elseif killcount >= maxX then
  5989. unlockedX = true
  5990. uhh3.Text = "The end unlocked. (P to activate)"
  5991. end
  5992. sine = sine + change
  5993. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5994. local velderp=RootPart.Velocity.y
  5995. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5996. if equipped==true or equipped==false then
  5997. if attack==false then
  5998. idle=idle+1
  5999. else
  6000. idle=0
  6001. end
  6002. if idle>=500 then
  6003. if attack==false then
  6004. --Sheath()
  6005. end
  6006. end
  6007. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6008. Anim="Jump"
  6009. if attack==false then
  6010. 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)
  6011. 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)
  6012. 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)
  6013. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6014. 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)
  6015. 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)
  6016. end
  6017. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6018. Anim="Fall"
  6019. if attack==false then
  6020. 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)
  6021. 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)
  6022. 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)
  6023. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6024. 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)
  6025. 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)
  6026. end
  6027. elseif torvel<1 and hitfloor~=nil then
  6028. Anim="Idle"
  6029. if attack==false then
  6030. 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)
  6031. 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)
  6032. 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)
  6033. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  6034. if LeftModeUnlocked == false then
  6035. 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)
  6036. else
  6037. 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)
  6038. end
  6039. 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)
  6040. end
  6041. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6042. Anim="Walk"
  6043. if attack==false then
  6044. 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)
  6045. 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)
  6046. 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)
  6047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  6048. if LeftModeUnlocked == false then
  6049. 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)
  6050. else
  6051. 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)
  6052. end
  6053. 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)
  6054. end
  6055. elseif torvel>=22 and hitfloor~=nil then
  6056. Anim="Run"
  6057. if attack==false then
  6058. 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)
  6059. 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)
  6060. 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)
  6061. 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)
  6062. 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)
  6063. 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)
  6064. end
  6065. end
  6066. end
  6067. endwarn'Mutant loaded'
  6068. ---- thanks to genocider and psychopath sources, this would be another one
  6069. ---- LockOnTargetNoWhiteListKThx
  6070. plr = game.Players.LocalPlayer
  6071. char = plr.Character
  6072. hum = char.Humanoid
  6073. local cam = game.Workspace.CurrentCamera
  6074. t = char.Torso
  6075. h = char.Head
  6076. ra = char["Right Arm"]
  6077. la = char["Left Arm"]
  6078. rl = char["Right Leg"]
  6079. ll = char["Left Leg"]
  6080. tors = char.Torso
  6081. lleg = char["Left Leg"]
  6082. root = char.HumanoidRootPart
  6083. hed = char.Head
  6084. rleg = char["Right Leg"]
  6085. rarm = char["Right Arm"]
  6086. larm = char["Left Arm"]
  6087. vt = Vector3.new
  6088. bc = BrickColor.new
  6089. br = BrickColor.random
  6090. it = Instance.new
  6091. cf = CFrame.new
  6092. local targetted = nil
  6093. local killcount = 50
  6094. local requirekillA = 15
  6095. local requirekillX = 50
  6096. local maxA = 15
  6097. local maxX = 50
  6098. if plr.Name == "soins1" then
  6099. maxX = 0
  6100. requirekillX = maxX
  6101. end
  6102. local unlockedA = true
  6103. local unlockedX = true
  6104. local LeftModeUnlocked = false
  6105.  
  6106. kan = Instance.new("Sound",char)
  6107. kan.Volume = 6
  6108. kan.Pitch = 1
  6109. kan.TimePosition = 1
  6110. kan.SoundId = "rbxassetid://534429024"
  6111. kan.Name = "kreepery"
  6112. kan.Looped = true
  6113. kan:Play()
  6114.  
  6115. abss = Instance.new("BillboardGui",char)
  6116. abss.Size = UDim2.new(10,0,10,0)
  6117. abss.Enabled = false
  6118. imgl = Instance.new("ImageLabel",abss)
  6119. imgl.Position = UDim2.new(0,0,0,0)
  6120. imgl.Size = UDim2.new(1,0,1,0)
  6121. imgl.Image = "http://www.roblox.com/asset/?id=118777235"
  6122. imgl.BackgroundTransparency = 1
  6123. imgl.ImageColor3 = Color3.new(0,0,0)
  6124. imgl2 = Instance.new("ImageLabel",abss)
  6125. imgl2.Position = UDim2.new(-0.5,0,-0.5,0)
  6126. imgl2.Size = UDim2.new(2,0,2,0)
  6127. imgl2.Image = "http://www.roblox.com/asset/?id=135465292"
  6128. imgl2.BackgroundTransparency = 1
  6129. imgl2.ImageColor3 = Color3.new(0,0,0)
  6130. img2 = Instance.new("ImageLabel",abss)
  6131. img2.Position = UDim2.new(0,0,0,0)
  6132. img2.Size = UDim2.new(1,0,1,0)
  6133. img2.Image = "rbxassetid://118777235"
  6134. img2.BackgroundTransparency = 1
  6135. img2.ImageColor3 = Color3.new(0,0,0)
  6136.  
  6137. function CameraShake(Times, Power)
  6138. coroutine.resume(coroutine.create(function()
  6139. FV = Instance.new("BoolValue", Character)
  6140. FV.Name = "CameraShake"
  6141. for ShakeNum=1,Times do
  6142. swait()
  6143. local ef=Power
  6144. if ef>=1 then
  6145. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  6146. else
  6147. ef=Power*10
  6148. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  6149. end
  6150. end
  6151. Humanoid.CameraOffset = Vector3.new(0,0,0)
  6152. FV:Destroy()
  6153. end))
  6154. end
  6155.  
  6156. CamShake=function(Part,Distan,Power,Times)
  6157. local de=Part.Position
  6158. for i,v in pairs(workspace:children()) do
  6159. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  6160. for _,c in pairs(v:children()) do
  6161. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  6162. local Noob=v.Humanoid
  6163. if Noob~=nil then
  6164. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  6165. --[[local ss=script.CamShake:clone()
  6166. ss.Parent=Noob
  6167. ss.Power.Value=Power
  6168. ss.Times.Value=Times
  6169. ss.Disabled=false]]
  6170. CameraShake(Times, Power)
  6171. end
  6172. end
  6173. end
  6174. end
  6175. end
  6176. end
  6177. end
  6178.  
  6179. function chatfunc(text,color)
  6180. local chat = coroutine.wrap(function()
  6181. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  6182. Character:FindFirstChild("TalkingBillBoard"):destroy()
  6183. end
  6184. local naeeym2 = Instance.new("BillboardGui",Character)
  6185. naeeym2.Size = UDim2.new(0,100,0,40)
  6186. naeeym2.StudsOffset = Vector3.new(0,3,0)
  6187. naeeym2.Adornee = Character.Head
  6188. naeeym2.Name = "TalkingBillBoard"
  6189. local tecks2 = Instance.new("TextLabel",naeeym2)
  6190. tecks2.BackgroundTransparency = 1
  6191. tecks2.BorderSizePixel = 0
  6192. tecks2.Text = ""
  6193. tecks2.Font = "SciFi"
  6194. tecks2.TextSize = 30
  6195. tecks2.TextStrokeTransparency = 0
  6196. tecks2.TextColor3 = color
  6197. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  6198. tecks2.Size = UDim2.new(1,0,0.5,0)
  6199. local tecks3 = Instance.new("TextLabel",naeeym2)
  6200. tecks3.BackgroundTransparency = 1
  6201. tecks3.BorderSizePixel = 0
  6202. tecks3.Text = ""
  6203. tecks3.Font = "SciFi"
  6204. tecks3.TextSize = 30
  6205. tecks3.TextStrokeTransparency = 0
  6206. tecks3.TextColor3 = Color3.new(0,0,0)
  6207. tecks3.TextStrokeColor3 = color
  6208. tecks3.Size = UDim2.new(1,0,0.5,0)
  6209. coroutine.resume(coroutine.create(function()
  6210. while true do
  6211. swait(1)
  6212. tecks2.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  6213. tecks3.Position = UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  6214. tecks2.Rotation = math.random(-15,15)
  6215. tecks3.Rotation = math.random(-15,15)
  6216. end
  6217. end))
  6218. for i = 1,string.len(text),1 do
  6219. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  6220. tecks2.Text = string.sub(text,1,i)
  6221. tecks3.Text = string.sub(text,1,i)
  6222. swait(1)
  6223. end
  6224. wait(1)
  6225. local randomrot = math.random(1,2)
  6226. if randomrot == 1 then
  6227. for i = 1, 50 do
  6228. swait()
  6229. tecks2.Rotation = tecks2.Rotation - .75
  6230. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6231. tecks2.TextTransparency = tecks2.TextTransparency + .04
  6232. tecks3.Rotation = tecks2.Rotation + .75
  6233. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6234. tecks3.TextTransparency = tecks2.TextTransparency + .04
  6235. end
  6236. elseif randomrot == 2 then
  6237. for i = 1, 50 do
  6238. swait()
  6239. tecks2.Rotation = tecks2.Rotation + .75
  6240. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6241. tecks2.TextTransparency = tecks2.TextTransparency + .04
  6242. tecks3.Rotation = tecks2.Rotation - .75
  6243. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  6244. tecks3.TextTransparency = tecks2.TextTransparency + .04
  6245. end
  6246. end
  6247. naeeym2:Destroy()
  6248. end)
  6249. chat()
  6250. end
  6251.  
  6252.  
  6253. local Create = LoadLibrary("RbxUtility").Create
  6254.  
  6255. CFuncs = {
  6256. ["Part"] = {
  6257. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  6258. local Part = Create("Part"){
  6259. Parent = Parent,
  6260. Reflectance = Reflectance,
  6261. Transparency = Transparency,
  6262. CanCollide = false,
  6263. Locked = true,
  6264. BrickColor = BrickColor.new(tostring(BColor)),
  6265. Name = Name,
  6266. Size = Size,
  6267. Material = Material,
  6268. }
  6269. RemoveOutlines(Part)
  6270. return Part
  6271. end;
  6272. };
  6273.  
  6274. ["Mesh"] = {
  6275. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6276. local Msh = Create(Mesh){
  6277. Parent = Part,
  6278. Offset = OffSet,
  6279. Scale = Scale,
  6280. }
  6281. if Mesh == "SpecialMesh" then
  6282. Msh.MeshType = MeshType
  6283. Msh.MeshId = MeshId
  6284. end
  6285. return Msh
  6286. end;
  6287. };
  6288.  
  6289. ["Mesh"] = {
  6290. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6291. local Msh = Create(Mesh){
  6292. Parent = Part,
  6293. Offset = OffSet,
  6294. Scale = Scale,
  6295. }
  6296. if Mesh == "SpecialMesh" then
  6297. Msh.MeshType = MeshType
  6298. Msh.MeshId = MeshId
  6299. end
  6300. return Msh
  6301. end;
  6302. };
  6303.  
  6304. ["Weld"] = {
  6305. Create = function(Parent, Part0, Part1, C0, C1)
  6306. local Weld = Create("Weld"){
  6307. Parent = Parent,
  6308. Part0 = Part0,
  6309. Part1 = Part1,
  6310. C0 = C0,
  6311. C1 = C1,
  6312. }
  6313. return Weld
  6314. end;
  6315. };
  6316.  
  6317. ["Sound"] = {
  6318. Create = function(id, par, vol, pit)
  6319. coroutine.resume(coroutine.create(function()
  6320. local S = Create("Sound"){
  6321. Volume = vol,
  6322. Pitch = pit or 1,
  6323. SoundId = id,
  6324. Parent = par or workspace,
  6325. }
  6326. wait()
  6327. S:play()
  6328. game:GetService("Debris"):AddItem(S, 10)
  6329. end))
  6330. end;
  6331. };
  6332.  
  6333. ["LongSound"] = {
  6334. Create = function(id, par, vol, pit)
  6335. coroutine.resume(coroutine.create(function()
  6336. local S = Create("Sound"){
  6337. Volume = vol,
  6338. Pitch = pit or 1,
  6339. SoundId = id,
  6340. Parent = par or workspace,
  6341. }
  6342. wait()
  6343. S:play()
  6344. game:GetService("Debris"):AddItem(S, 30)
  6345. end))
  6346. end;
  6347. };
  6348.  
  6349. ["ParticleEmitter"] = {
  6350. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  6351. local fp = Create("ParticleEmitter"){
  6352. Parent = Parent,
  6353. Color = ColorSequence.new(Color1, Color2),
  6354. LightEmission = LightEmission,
  6355. Size = Size,
  6356. Texture = Texture,
  6357. Transparency = Transparency,
  6358. ZOffset = ZOffset,
  6359. Acceleration = Accel,
  6360. Drag = Drag,
  6361. LockedToPart = LockedToPart,
  6362. VelocityInheritance = VelocityInheritance,
  6363. EmissionDirection = EmissionDirection,
  6364. Enabled = Enabled,
  6365. Lifetime = LifeTime,
  6366. Rate = Rate,
  6367. Rotation = Rotation,
  6368. RotSpeed = RotSpeed,
  6369. Speed = Speed,
  6370. VelocitySpread = VelocitySpread,
  6371. }
  6372. return fp
  6373. end;
  6374. };
  6375.  
  6376. CreateTemplate = {
  6377.  
  6378. };
  6379. }
  6380.  
  6381.  
  6382.  
  6383. New = function(Object, Parent, Name, Data)
  6384. local Object = Instance.new(Object)
  6385. for Index, Value in pairs(Data or {}) do
  6386. Object[Index] = Value
  6387. end
  6388. Object.Parent = Parent
  6389. Object.Name = Name
  6390. return Object
  6391. end
  6392. local halocolor = BrickColor.new("Dark indigo")
  6393. local wepcolor = BrickColor.new("Really black")
  6394. local MutantParts = Instance.new("Model",char)
  6395. local MutantParts2 = Instance.new("Model",char)
  6396.  
  6397. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  6398. local p = Instance.new("Part")
  6399. p.TopSurface = 0
  6400. p.BottomSurface = 0
  6401. p.Parent = parent
  6402. p.Size = Vector3.new(0.1,0.1,0.1)
  6403. p.Transparency = transparency
  6404. p.Reflectance = reflectance
  6405. p.CanCollide = false
  6406. p.Locked = true
  6407. p.BrickColor = brickcolor
  6408. p.Material = material
  6409. return p
  6410. end
  6411.  
  6412. function CreateMesh(parent,meshtype,x1,y1,z1)
  6413. local mesh = Instance.new("SpecialMesh",parent)
  6414. mesh.MeshType = meshtype
  6415. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  6416. return mesh
  6417. end
  6418.  
  6419. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  6420. local mesh = Instance.new("SpecialMesh",parent)
  6421. mesh.MeshType = "FileMesh"
  6422. mesh.MeshId = meshid
  6423. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  6424. mesh.Scale = Vector3.new(x1,y1,z1)
  6425. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  6426. return mesh
  6427. end
  6428.  
  6429. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  6430. local weld = Instance.new("Weld")
  6431. weld.Parent = parent
  6432. weld.Part0 = part0
  6433. weld.Part1 = part1
  6434. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  6435. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  6436. return weld
  6437. end
  6438.  
  6439. --larm.Name = "MutatedLeftArm"
  6440.  
  6441. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6442. CreateMesh(extend,"Brick",0.65,1,0.65)
  6443. 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))
  6444. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6445. CreateMesh(extend,"Brick",0.65,1,0.65)
  6446. 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))
  6447. extend = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6448. CreateMesh(extend,"Brick",0.65,1,0.65)
  6449. 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))
  6450. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6451. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6452. 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))
  6453. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6454. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6455. 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))
  6456. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6457. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6458. 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))
  6459. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6460. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6461. 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))
  6462. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6463. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6464. 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))
  6465. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6466. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6467. 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))
  6468. extendblood = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6469. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  6470. 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))
  6471. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6472. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  6473. 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))
  6474. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6475. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6476. 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))
  6477. extendsph = CreateParta(MutantParts,0,0,"SmoothPlastic",larm.BrickColor)
  6478. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6479. 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))
  6480. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  6481. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  6482. 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))
  6483. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  6484. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  6485. 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))
  6486. extendcl = CreateParta(MutantParts,0,0,"SmoothPlastic",BrickColor.new("White"))
  6487. CreateMesh(extendcl,"Wedge",0.05,0.5,2)
  6488. 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))
  6489.  
  6490. --- Secondary
  6491. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  6492. CreateMesh(extendcl,"Wedge",0.05,1,3)
  6493. 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))
  6494. extendcl = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("White"))
  6495. CreateMesh(extendcl,"Wedge",0.05,1,1)
  6496. 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))
  6497. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6498. CreateMesh(extend,"Brick",0.65,1,0.65)
  6499. 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))
  6500. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6501. CreateMesh(extend,"Brick",0.65,1,0.65)
  6502. 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))
  6503. extend = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6504. CreateMesh(extend,"Brick",0.65,1,0.65)
  6505. 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))
  6506. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6507. CreateMesh(extendsph,"Sphere",1.25,1.25,1.25)
  6508. 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))
  6509. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6510. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6511. 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))
  6512. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6513. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6514. 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))
  6515. extendsph = CreateParta(MutantParts2,0,0,"SmoothPlastic",rarm.BrickColor)
  6516. CreateMesh(extendsph,"Sphere",0.75,0.75,0.75)
  6517. 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))
  6518. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6519. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6520. 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))
  6521. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6522. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6523. 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))
  6524. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6525. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6526. 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))
  6527. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6528. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6529. 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))
  6530. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6531. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6532. 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))
  6533. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6534. CreateMesh(extendblood,"Brick",0.05,1.25,0.05)
  6535. 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))
  6536. extendblood = CreateParta(MutantParts2,0,0,"SmoothPlastic",BrickColor.new("Bright red"))
  6537. CreateMesh(extendblood,"Brick",0.05,1.5,0.05)
  6538. 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))
  6539.  
  6540. for i, v in pairs(MutantParts:GetChildren()) do
  6541. if v:IsA("Part") then
  6542. v.Transparency = 1
  6543. end
  6544. end
  6545.  
  6546. for i, v in pairs(MutantParts2:GetChildren()) do
  6547. if v:IsA("Part") then
  6548. v.Transparency = 1
  6549. end
  6550. end
  6551. function RemoveOutlines(part)
  6552. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  6553. end
  6554. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  6555. local Part = Create("Part")({
  6556. Parent = Parent,
  6557. Reflectance = Reflectance,
  6558. Transparency = Transparency,
  6559. CanCollide = false,
  6560. Locked = true,
  6561. BrickColor = BrickColor.new(tostring(BColor)),
  6562. Name = Name,
  6563. Size = Size,
  6564. Material = Material
  6565. })
  6566. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  6567. RemoveOutlines(Part)
  6568. return Part
  6569. end
  6570. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6571. local Msh = Create(Mesh)({
  6572. Parent = Part,
  6573. Offset = OffSet,
  6574. Scale = Scale
  6575. })
  6576. if Mesh == "SpecialMesh" then
  6577. Msh.MeshType = MeshType
  6578. Msh.MeshId = MeshId
  6579. end
  6580. return Msh
  6581. end
  6582. function CreateWeld(Parent, Part0, Part1, C0, C1)
  6583. local Weld = Create("Weld")({
  6584. Parent = Parent,
  6585. Part0 = Part0,
  6586. Part1 = Part1,
  6587. C0 = C0,
  6588. C1 = C1
  6589. })
  6590. return Weld
  6591. end
  6592.  
  6593. local ff = Instance.new("ForceField",char)
  6594. ff.Visible = false
  6595.  
  6596. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  6597. local gui = it(GuiType)
  6598. gui.Parent = parent
  6599. gui.Text = text
  6600. gui.BackgroundTransparency = backtrans
  6601. gui.BackgroundColor3 = backcol
  6602. gui.SizeConstraint = "RelativeXY"
  6603. gui.TextXAlignment = "Center"
  6604. gui.TextYAlignment = "Center"
  6605. gui.Position = pos
  6606. gui.Size = size
  6607. gui.Font = "SourceSans"
  6608. gui.FontSize = "Size14"
  6609. gui.TextWrapped = false
  6610. gui.TextStrokeTransparency = 0
  6611. gui.TextColor = BrickColor.new("White")
  6612. return gui
  6613. end
  6614. ---- GUI set
  6615. local basgui = it("GuiMain")
  6616. basgui.Parent = plr.PlayerGui
  6617. basgui.Name = "Killcounter GUI"
  6618. local basframe = it("Frame")
  6619. basframe.Parent = basgui
  6620. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  6621. basframe.BackgroundTransparency = 1
  6622. basframe.BorderColor3 = Color3.new(17, 17, 17)
  6623. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  6624. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  6625.  
  6626. local basframelist = it("Frame")
  6627. basframelist.Parent = basgui
  6628. basframelist.BackgroundColor3 = Color3.new(255, 255, 255)
  6629. basframelist.BackgroundTransparency = 1
  6630. basframelist.BorderColor3 = Color3.new(17, 17, 17)
  6631. basframelist.Size = UDim2.new(0.2, 0, 0.2, 0)
  6632. basframelist.Position = UDim2.new(0.8, 0, 0.8, 0)
  6633.  
  6634. 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))
  6635. uhh.ZIndex = 2
  6636. uhh.Font = "Arcade"
  6637. uhh.TextStrokeColor3 = Color3.new(180,180,0)
  6638. uhh.TextColor3 = Color3.new(0,0,0)
  6639. uhh.BackgroundTransparency = 1
  6640. uhh.BorderSizePixel = 0.65
  6641. uhh.TextScaled = false
  6642. uhh.TextXAlignment = "Left"
  6643. uhh.Text = "Kills : 0"
  6644. uhh.TextSize = 54
  6645.  
  6646.  
  6647. 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))
  6648. uhh2.ZIndex = 2
  6649. uhh2.Font = "Bodoni"
  6650. uhh2.TextStrokeColor3 = Color3.new(1,0,0)
  6651. uhh2.TextColor3 = Color3.new(0,0,0)
  6652. uhh2.BackgroundTransparency = 1
  6653. uhh2.BorderSizePixel = 0.65
  6654. uhh2.TextScaled = false
  6655. uhh2.TextXAlignment = "Left"
  6656. uhh2.Text = "Required kills for second mutated arm: 15"
  6657. uhh2.TextSize = 24
  6658. 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))
  6659. uhh3.ZIndex = 2
  6660. uhh3.Font = "Bodoni"
  6661. uhh3.TextStrokeColor3 = Color3.new(1,0,0)
  6662. uhh3.TextColor3 = Color3.new(0,0,0)
  6663. uhh3.BackgroundTransparency = 1
  6664. uhh3.BorderSizePixel = 0.65
  6665. uhh3.TextScaled = false
  6666. uhh3.TextXAlignment = "Left"
  6667. uhh3.Text = "Required kills for the end: 50"
  6668. uhh3.TextSize = 24
  6669.  
  6670.  
  6671. Player=game:GetService("Players").LocalPlayer
  6672. Character=Player.Character
  6673. local Mouse = Player:GetMouse()
  6674. PlayerGui=Player.PlayerGui
  6675. Backpack=Player.Backpack
  6676. Torso=Character.Torso
  6677. Head=Character.Head
  6678. Humanoid=Character.Humanoid
  6679. m=Instance.new('Model',Character)
  6680. LeftArm=Character["Left Arm"]
  6681. LeftLeg=Character["Left Leg"]
  6682. RightArm=Character["Right Arm"]
  6683. RightLeg=Character["Right Leg"]
  6684. LS=Torso["Left Shoulder"]
  6685. LH=Torso["Left Hip"]
  6686. RS=Torso["Right Shoulder"]
  6687. RH=Torso["Right Hip"]
  6688. Face = Head.face
  6689. Neck=Torso.Neck
  6690. it=Instance.new
  6691. attacktype=1
  6692. vt=Vector3.new
  6693. cf=CFrame.new
  6694. euler=CFrame.fromEulerAnglesXYZ
  6695. angles=CFrame.Angles
  6696. cloaked=false
  6697. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  6698. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  6699. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  6700. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  6701. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  6702. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  6703. RootPart=Character.HumanoidRootPart
  6704. RootJoint=RootPart.RootJoint
  6705. RootCF=euler(-1.57,0,3.14)
  6706. attack = false
  6707. attackdebounce = false
  6708. deb=false
  6709. equipped=true
  6710. hand=false
  6711. MMouse=nil
  6712. combo=0
  6713. mana=0
  6714. trispeed=.2
  6715. attackmode='none'
  6716. local idle=0
  6717. local Anim="Idle"
  6718. local Effects={}
  6719. local gun=false
  6720. local shoot=false
  6721. local sine = 0
  6722. local change = 1
  6723. player=nil
  6724.  
  6725. mouse=Player:GetMouse()
  6726. --save shoulders
  6727. RSH, LSH=nil, nil
  6728. --welds
  6729. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  6730. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  6731. LH=Torso["Left Hip"]
  6732. RH=Torso["Right Hip"]
  6733. TorsoColor=Torso.BrickColor
  6734. function NoOutline(Part)
  6735. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  6736. end
  6737. player=Player
  6738. ch=Character
  6739. RSH=ch.Torso["Right Shoulder"]
  6740. LSH=ch.Torso["Left Shoulder"]
  6741. --
  6742. RSH.Parent=nil
  6743. LSH.Parent=nil
  6744. --
  6745. RW.Name="Right Shoulder"
  6746. RW.Part0=ch.Torso
  6747. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  6748. RW.C1=cf(0, 0.5, 0)
  6749. RW.Part1=ch["Right Arm"]
  6750. RW.Parent=ch.Torso
  6751. --
  6752. LW.Name="Left Shoulder"
  6753. LW.Part0=ch.Torso
  6754. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  6755. LW.C1=cf(0, 0.5, 0)
  6756. LW.Part1=ch["Left Arm"]
  6757. LW.Parent=ch.Torso
  6758.  
  6759. local Stats=Instance.new("BoolValue")
  6760. Stats.Name="Stats"
  6761. Stats.Parent=Character
  6762. local Atk=Instance.new("NumberValue")
  6763. Atk.Name="Damage"
  6764. Atk.Parent=Stats
  6765. Atk.Value=1
  6766. local Def=Instance.new("NumberValue")
  6767. Def.Name="Defense"
  6768. Def.Parent=Stats
  6769. Def.Value=1
  6770. local Speed=Instance.new("NumberValue")
  6771. Speed.Name="Speed"
  6772. Speed.Parent=Stats
  6773. Speed.Value=1
  6774. local Mvmt=Instance.new("NumberValue")
  6775. Mvmt.Name="Movement"
  6776. Mvmt.Parent=Stats
  6777. Mvmt.Value=1
  6778.  
  6779. local donum=0
  6780.  
  6781.  
  6782. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  6783. local fp=it("Part")
  6784. fp.formFactor=formfactor
  6785. fp.Parent=parent
  6786. fp.Reflectance=reflectance
  6787. fp.Transparency=transparency
  6788. fp.CanCollide=false
  6789. fp.Locked=true
  6790. fp.BrickColor=brickcolor
  6791. fp.Name=name
  6792. fp.Size=size
  6793. fp.Position=Torso.Position
  6794. NoOutline(fp)
  6795. fp.Material="SmoothPlastic"
  6796. fp:BreakJoints()
  6797. return fp
  6798. end
  6799.  
  6800. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  6801. local mesh=it(Mesh)
  6802. mesh.Parent=part
  6803. if Mesh=="SpecialMesh" then
  6804. mesh.MeshType=meshtype
  6805. if meshid~="nil" then
  6806. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  6807. end
  6808. end
  6809. mesh.Offset=offset
  6810. mesh.Scale=scale
  6811. return mesh
  6812. end
  6813.  
  6814. function weld(parent,part0,part1,c0)
  6815. local weld=it("Weld")
  6816. weld.Parent=parent
  6817. weld.Part0=part0
  6818. weld.Part1=part1
  6819. weld.C0=c0
  6820. return weld
  6821. end
  6822.  
  6823. local Color1=Torso.BrickColor
  6824.  
  6825. local bodvel=Instance.new("BodyVelocity")
  6826. local bg=Instance.new("BodyGyro")
  6827.  
  6828. function swait(num)
  6829. if num==0 or num==nil then
  6830. game:service'RunService'.Stepped:wait(0)
  6831. else
  6832. for i=0,num do
  6833. game:service'RunService'.Stepped:wait(0)
  6834. end
  6835. end
  6836. end
  6837.  
  6838.  
  6839. so = function(id,par,vol,pit)
  6840. coroutine.resume(coroutine.create(function()
  6841. local sou = Instance.new("Sound",par or workspace)
  6842. sou.Volume=vol
  6843. sou.Pitch=pit or 1
  6844. sou.SoundId=id
  6845. swait()
  6846. sou:play()
  6847. game:GetService("Debris"):AddItem(sou,6)
  6848. end))
  6849. end
  6850.  
  6851. function clerp(a,b,t)
  6852. local qa = {QuaternionFromCFrame(a)}
  6853. local qb = {QuaternionFromCFrame(b)}
  6854. local ax, ay, az = a.x, a.y, a.z
  6855. local bx, by, bz = b.x, b.y, b.z
  6856. local _t = 1-t
  6857. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  6858. end
  6859.  
  6860. function QuaternionFromCFrame(cf)
  6861. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6862. local trace = m00 + m11 + m22
  6863. if trace > 0 then
  6864. local s = math.sqrt(1 + trace)
  6865. local recip = 0.5/s
  6866. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  6867. else
  6868. local i = 0
  6869. if m11 > m00 then
  6870. i = 1
  6871. end
  6872. if m22 > (i == 0 and m00 or m11) then
  6873. i = 2
  6874. end
  6875. if i == 0 then
  6876. local s = math.sqrt(m00-m11-m22+1)
  6877. local recip = 0.5/s
  6878. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  6879. elseif i == 1 then
  6880. local s = math.sqrt(m11-m22-m00+1)
  6881. local recip = 0.5/s
  6882. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  6883. elseif i == 2 then
  6884. local s = math.sqrt(m22-m00-m11+1)
  6885. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  6886. end
  6887. end
  6888. end
  6889.  
  6890. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6891. local xs, ys, zs = x + x, y + y, z + z
  6892. local wx, wy, wz = w*xs, w*ys, w*zs
  6893. local xx = x*xs
  6894. local xy = x*ys
  6895. local xz = x*zs
  6896. local yy = y*ys
  6897. local yz = y*zs
  6898. local zz = z*zs
  6899. 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))
  6900. end
  6901.  
  6902. function QuaternionSlerp(a, b, t)
  6903. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  6904. local startInterp, finishInterp;
  6905. if cosTheta >= 0.0001 then
  6906. if (1 - cosTheta) > 0.0001 then
  6907. local theta = math.acos(cosTheta)
  6908. local invSinTheta = 1/math.sin(theta)
  6909. startInterp = math.sin((1-t)*theta)*invSinTheta
  6910. finishInterp = math.sin(t*theta)*invSinTheta
  6911. else
  6912. startInterp = 1-t
  6913. finishInterp = t
  6914. end
  6915. else
  6916. if (1+cosTheta) > 0.0001 then
  6917. local theta = math.acos(-cosTheta)
  6918. local invSinTheta = 1/math.sin(theta)
  6919. startInterp = math.sin((t-1)*theta)*invSinTheta
  6920. finishInterp = math.sin(t*theta)*invSinTheta
  6921. else
  6922. startInterp = t-1
  6923. finishInterp = t
  6924. end
  6925. end
  6926. 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
  6927. end
  6928.  
  6929. local function CFrameFromTopBack(at, top, back)
  6930. local right = top:Cross(back)
  6931. return CFrame.new(at.x, at.y, at.z,
  6932. right.x, top.x, back.x,
  6933. right.y, top.y, back.y,
  6934. right.z, top.z, back.z)
  6935. end
  6936.  
  6937. function Triangle(a, b, c)
  6938. local edg1 = (c-a):Dot((b-a).unit)
  6939. local edg2 = (a-b):Dot((c-b).unit)
  6940. local edg3 = (b-c):Dot((a-c).unit)
  6941. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  6942. a, b, c = a, b, c
  6943. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  6944. a, b, c = b, c, a
  6945. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  6946. a, b, c = c, a, b
  6947. else
  6948. assert(false, "unreachable")
  6949. end
  6950.  
  6951. local len1 = (c-a):Dot((b-a).unit)
  6952. local len2 = (b-a).magnitude - len1
  6953. local width = (a + (b-a).unit*len1 - c).magnitude
  6954.  
  6955. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  6956.  
  6957. local list = {}
  6958.  
  6959. if len1 > 0.01 then
  6960. local w1 = Instance.new('WedgePart', m)
  6961. game:GetService("Debris"):AddItem(w1,5)
  6962. w1.Material = "SmoothPlastic"
  6963. w1.FormFactor = 'Custom'
  6964. w1.BrickColor = BrickColor.new("Really red")
  6965. w1.Transparency = 0
  6966. w1.Reflectance = 0
  6967. w1.Material = "SmoothPlastic"
  6968. w1.CanCollide = false
  6969. local l1 = Instance.new("PointLight",w1)
  6970. l1.Color = Color3.new(170,0,0)
  6971. NoOutline(w1)
  6972. local sz = Vector3.new(0.2, width, len1)
  6973. w1.Size = sz
  6974. local sp = Instance.new("SpecialMesh",w1)
  6975. sp.MeshType = "Wedge"
  6976. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  6977. w1:BreakJoints()
  6978. w1.Anchored = true
  6979. w1.Parent = workspace
  6980. w1.Transparency = 0.7
  6981. table.insert(Effects,{w1,"Disappear",.01})
  6982. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  6983. table.insert(list,w1)
  6984. end
  6985.  
  6986. if len2 > 0.01 then
  6987. local w2 = Instance.new('WedgePart', m)
  6988. game:GetService("Debris"):AddItem(w2,5)
  6989. w2.Material = "SmoothPlastic"
  6990. w2.FormFactor = 'Custom'
  6991. w2.BrickColor = BrickColor.new("Really red")
  6992. w2.Transparency = 0
  6993. w2.Reflectance = 0
  6994. w2.Material = "SmoothPlastic"
  6995. w2.CanCollide = false
  6996. local l2 = Instance.new("PointLight",w2)
  6997. l2.Color = Color3.new(170,0,0)
  6998. NoOutline(w2)
  6999. local sz = Vector3.new(0.2, width, len2)
  7000. w2.Size = sz
  7001. local sp = Instance.new("SpecialMesh",w2)
  7002. sp.MeshType = "Wedge"
  7003. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  7004. w2:BreakJoints()
  7005. w2.Anchored = true
  7006. w2.Parent = workspace
  7007. w2.Transparency = 0.7
  7008. table.insert(Effects,{w2,"Disappear",.01})
  7009. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  7010. table.insert(list,w2)
  7011. end
  7012. return unpack(list)
  7013. end
  7014.  
  7015.  
  7016. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  7017. if hit.Parent == nil then
  7018. return
  7019. end
  7020. local h = hit.Parent:FindFirstChild("Humanoid")
  7021. for _, v in pairs(hit.Parent:children()) do
  7022. if v:IsA("Humanoid") then
  7023. h = v
  7024. end
  7025. end
  7026. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  7027. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  7028. return
  7029. end
  7030. local c = Create("ObjectValue")({
  7031. Name = "creator",
  7032. Value = game:service("Players").LocalPlayer,
  7033. Parent = h
  7034. })
  7035. game:GetService("Debris"):AddItem(c, 0.5)
  7036. if HitSound ~= nil and HitPitch ~= nil then
  7037. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  7038. end
  7039. local Damage = math.random(minim, maxim)
  7040. local blocked = false
  7041. local block = hit.Parent:findFirstChild("Block")
  7042. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  7043. blocked = true
  7044. block.Value = block.Value - 1
  7045. print(block.Value)
  7046. end
  7047. if blocked == false then
  7048. HitHealth = h.Health
  7049. h.Health = h.Health - Damage
  7050. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  7051. print("gained kill")
  7052. end
  7053. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  7054. else
  7055. h.Health = h.Health - Damage / 2
  7056. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  7057. end
  7058. if Type == "Knockdown" then
  7059. local hum = hit.Parent.Humanoid
  7060. hum.PlatformStand = true
  7061. coroutine.resume(coroutine.create(function(HHumanoid)
  7062. swait(1)
  7063. HHumanoid.PlatformStand = false
  7064. end), hum)
  7065. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  7066. local bodvol = Create("BodyVelocity")({
  7067. velocity = angle * knockback,
  7068. P = 5000,
  7069. maxForce = Vector3.new(8000, 8000, 8000),
  7070. Parent = hit
  7071. })
  7072. local rl = Create("BodyAngularVelocity")({
  7073. P = 3000,
  7074. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  7075. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  7076. Parent = hit
  7077. })
  7078. game:GetService("Debris"):AddItem(bodvol, 0.5)
  7079. game:GetService("Debris"):AddItem(rl, 0.5)
  7080. elseif Type == "Normal" then
  7081. local vp = Create("BodyVelocity")({
  7082. P = 500,
  7083. maxForce = Vector3.new(math.huge, 0, math.huge),
  7084. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  7085. })
  7086. if knockback > 0 then
  7087. vp.Parent = hit.Parent.Torso
  7088. end
  7089. game:GetService("Debris"):AddItem(vp, 0.5)
  7090. elseif Type == "Up" then
  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, 0.5)
  7098. local bodyVelocity = Create("BodyVelocity")({
  7099. velocity = Vector3.new(0, 20, 0),
  7100. P = 5000,
  7101. maxForce = Vector3.new(8000, 8000, 8000),
  7102. Parent = hit
  7103. })
  7104. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  7105. elseif Type == "Leech" then
  7106. local hum = hit.Parent.Humanoid
  7107. if hum ~= nil then
  7108. for i = 0, 2 do
  7109. 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)
  7110. end
  7111. Humanoid.Health = Humanoid.Health + 10
  7112. end
  7113. elseif Type == "UpKnock" then
  7114. local hum = hit.Parent.Humanoid
  7115. hum.PlatformStand = true
  7116. if hum ~= nil then
  7117. hitr = true
  7118. end
  7119. coroutine.resume(coroutine.create(function(HHumanoid)
  7120. swait(5)
  7121. HHumanoid.PlatformStand = false
  7122. hitr = false
  7123. end), hum)
  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, 0.5)
  7131. local bodyVelocity = Create("BodyVelocity")({
  7132. velocity = Vector3.new(0, 20, 0),
  7133. P = 5000,
  7134. maxForce = Vector3.new(8000, 8000, 8000),
  7135. Parent = hit
  7136. })
  7137. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  7138. elseif Type == "Snare" then
  7139. local bp = Create("BodyPosition")({
  7140. P = 2000,
  7141. D = 100,
  7142. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7143. position = hit.Parent.Torso.Position,
  7144. Parent = hit.Parent.Torso
  7145. })
  7146. game:GetService("Debris"):AddItem(bp, 1)
  7147. elseif Type == "Slashnare" then
  7148. 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)
  7149. for i = 1, math.random(4, 5) do
  7150. 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)
  7151. end
  7152. local bp = Create("BodyPosition")({
  7153. P = 2000,
  7154. D = 100,
  7155. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7156. position = hit.Parent.Torso.Position,
  7157. Parent = hit.Parent.Torso
  7158. })
  7159. game:GetService("Debris"):AddItem(bp, 1)
  7160. elseif Type == "Spike" then
  7161. CreateBigIceSword(hit.Parent.Torso.CFrame)
  7162. local bp = Create("BodyPosition")({
  7163. P = 2000,
  7164. D = 100,
  7165. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7166. position = hit.Parent.Torso.Position,
  7167. Parent = hit.Parent.Torso
  7168. })
  7169. game:GetService("Debris"):AddItem(bp, 1)
  7170. elseif Type == "Freeze" then
  7171. local BodPos = Create("BodyPosition")({
  7172. P = 50000,
  7173. D = 1000,
  7174. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  7175. position = hit.Parent.Torso.Position,
  7176. Parent = hit.Parent.Torso
  7177. })
  7178. local BodGy = Create("BodyGyro")({
  7179. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  7180. P = 20000,
  7181. Parent = hit.Parent.Torso,
  7182. cframe = hit.Parent.Torso.CFrame
  7183. })
  7184. hit.Parent.Torso.Anchored = true
  7185. coroutine.resume(coroutine.create(function(Part)
  7186. swait(1.5)
  7187. Part.Anchored = false
  7188. end), hit.Parent.Torso)
  7189. game:GetService("Debris"):AddItem(BodPos, 3)
  7190. game:GetService("Debris"):AddItem(BodGy, 3)
  7191. end
  7192. local debounce = Create("BoolValue")({
  7193. Name = "DebounceHit",
  7194. Parent = hit.Parent,
  7195. Value = true
  7196. })
  7197. game:GetService("Debris"):AddItem(debounce, Delay)
  7198. c = Instance.new("ObjectValue")
  7199. c.Name = "creator"
  7200. c.Value = Player
  7201. c.Parent = h
  7202. game:GetService("Debris"):AddItem(c, 0.5)
  7203. end
  7204. end
  7205. function ShowDamage(Pos, Text, Time, Color)
  7206. local Rate = 0.03333333333333333
  7207. local Pos = Pos or Vector3.new(0, 0, 0)
  7208. local Text = Text or ""
  7209. local Time = Time or 2
  7210. local Color = Color or Color3.new(1, 0, 1)
  7211. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  7212. EffectPart.Anchored = true
  7213. local BillboardGui = Create("BillboardGui")({
  7214. Size = UDim2.new(3, 0, 3, 0),
  7215. Adornee = EffectPart,
  7216. Parent = EffectPart
  7217. })
  7218. local TextLabel = Create("TextLabel")({
  7219. BackgroundTransparency = 1,
  7220. Size = UDim2.new(1, 0, 1, 0),
  7221. Text = Text,
  7222. TextColor3 = Color,
  7223. TextScaled = true,
  7224. Font = Enum.Font.ArialBold,
  7225. Parent = BillboardGui
  7226. })
  7227. game.Debris:AddItem(EffectPart, Time + 0.1)
  7228. EffectPart.Parent = game:GetService("Workspace")
  7229. delay(0, function()
  7230. local Frames = Time / Rate
  7231. for Frame = 1, Frames do
  7232. wait(Rate)
  7233. local Percent = Frame / Frames
  7234. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  7235. TextLabel.TextTransparency = Percent
  7236. end
  7237. if EffectPart and EffectPart.Parent then
  7238. EffectPart:Destroy()
  7239. end
  7240. end)
  7241. end
  7242. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  7243. for _, c in pairs(workspace:children()) do
  7244. local hum = c:findFirstChild("Humanoid")
  7245. if hum ~= nil then
  7246. local head = c:findFirstChild("Torso")
  7247. if head ~= nil then
  7248. local targ = head.Position - Part.Position
  7249. local mag = targ.magnitude
  7250. if magni >= mag and c.Name ~= Player.Name then
  7251. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  7252. end
  7253. end
  7254. end
  7255. end
  7256. end
  7257.  
  7258. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  7259. for _, c in pairs(workspace:children()) do
  7260. local hum = c:findFirstChild("Humanoid")
  7261. if hum ~= nil then
  7262. local head = c:findFirstChild("Torso")
  7263. if head ~= nil then
  7264. local targ = head.Position - Part.Position
  7265. local mag = targ.magnitude
  7266. if magni >= mag and c.Name ~= Player.Name then
  7267. MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  7268. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  7269. end
  7270. end
  7271. end
  7272. end
  7273. end
  7274.  
  7275. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  7276. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  7277. end
  7278.  
  7279. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  7280. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7281. prt.Anchored=true
  7282. prt.CFrame=cframe
  7283. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  7284. --http://www.roblox.com/asset/?id=4770560
  7285. game:GetService("Debris"):AddItem(prt,2)
  7286. CF=prt.CFrame
  7287. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  7288. for i=0,1,0.2 do
  7289. wait()
  7290. Part.CFrame=CF*cf(0,0,-0.4)
  7291. end
  7292. for i=0,1,delay do
  7293. wait()
  7294. --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)
  7295. Mesh.Scale=Mesh.Scale
  7296. end
  7297. for i=0,1,0.1 do
  7298. wait()
  7299. Part.Transparency=i
  7300. end
  7301. Part.Parent=nil
  7302. end),prt,msh,CF)
  7303. end
  7304.  
  7305. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7306. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7307. prt.Anchored=true
  7308. prt.Material = "Neon"
  7309. prt.CFrame=cframe
  7310. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7311. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7312. game:GetService("Debris"):AddItem(prt,5)
  7313. coroutine.resume(coroutine.create(function(Part,Mesh)
  7314. for i=0,1,delay do
  7315. swait()
  7316. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7317. Part.Transparency=i
  7318. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7319. end
  7320. Part.Parent=nil
  7321. end),prt,msh)
  7322. end
  7323.  
  7324. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  7325. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7326. prt.Anchored=true
  7327. prt.Material = "Neon"
  7328. prt.CFrame=cframe
  7329. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7330. game:GetService("Debris"):AddItem(prt,5)
  7331. coroutine.resume(coroutine.create(function(Part,Mesh)
  7332. local rtype = rottype
  7333. for i=0,1,delay do
  7334. swait()
  7335. if rtype == 1 then
  7336. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7337. elseif rtype == 2 then
  7338. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7339. end
  7340. Part.Transparency=i
  7341. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7342. end
  7343. Part.Parent=nil
  7344. end),prt,msh)
  7345. end
  7346.  
  7347. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7348. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7349. prt.Anchored=true
  7350. prt.CFrame=cframe
  7351. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7352. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  7353. game:GetService("Debris"):AddItem(prt,5)
  7354. coroutine.resume(coroutine.create(function(Part,Mesh)
  7355. for i=0,1,delay do
  7356. wait()
  7357. Part.Transparency=i
  7358. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7359. end
  7360. Part.Parent=nil
  7361. end),prt,msh)
  7362. end
  7363.  
  7364. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  7365. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7366. prt.Anchored=true
  7367. prt.Material = "Neon"
  7368. prt.CFrame=cframe
  7369. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7370. game:GetService("Debris"):AddItem(prt,5)
  7371. coroutine.resume(coroutine.create(function(Part,Mesh)
  7372. local rtype = rottype
  7373. for i=0,1,delay do
  7374. swait()
  7375. if rtype == 1 then
  7376. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7377. elseif rtype == 2 then
  7378. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7379. end
  7380. Part.Transparency=i
  7381. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7382. end
  7383. Part.Parent=nil
  7384. end),prt,msh)
  7385. end
  7386.  
  7387. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  7388. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7389. prt.Anchored=true
  7390. prt.Material = "Neon"
  7391. prt.CFrame=cframe
  7392. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  7393. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  7394. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  7395. game:GetService("Debris"):AddItem(prt,5)
  7396. coroutine.resume(coroutine.create(function(Part,Mesh)
  7397. local rtype = rottype
  7398. for i=0,1,delay do
  7399. swait()
  7400. if rtype == 1 then
  7401. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7402. elseif rtype == 2 then
  7403. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7404. end
  7405. dec.Transparency=i
  7406. dec2.Transparency=i
  7407. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  7408. end
  7409. Part.Parent=nil
  7410. end),prt,msh)
  7411. end
  7412.  
  7413. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  7414. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7415. prt.Anchored=true
  7416. prt.Material = "Neon"
  7417. prt.CFrame=cframe
  7418. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  7419. game:GetService("Debris"):AddItem(prt,5)
  7420. coroutine.resume(coroutine.create(function(Part,Mesh)
  7421. local rtype = rottype
  7422. for i=0,1,delay do
  7423. swait()
  7424. if rtype == 1 then
  7425. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7426. elseif rtype == 2 then
  7427. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7428. end
  7429. prt.Transparency=i
  7430. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  7431. end
  7432. Part.Parent=nil
  7433. end),prt,msh)
  7434. end
  7435.  
  7436. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  7437. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7438. prt.Anchored=true
  7439. prt.Material = "Neon"
  7440. prt.CFrame=cframe
  7441. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  7442. game:GetService("Debris"):AddItem(prt,5)
  7443. coroutine.resume(coroutine.create(function(Part,Mesh)
  7444. local rtype = rottype
  7445. for i=0,1,delay do
  7446. swait()
  7447. if rtype == 1 then
  7448. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  7449. elseif rtype == 2 then
  7450. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  7451. end
  7452. prt.Transparency=i
  7453. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  7454. end
  7455. Part.Parent=nil
  7456. end),prt,msh)
  7457. end
  7458.  
  7459. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  7460. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7461. prt.Anchored=true
  7462. prt.Material = "Neon"
  7463. prt.CFrame=cframe
  7464. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7465. game:GetService("Debris"):AddItem(prt,5)
  7466. coroutine.resume(coroutine.create(function(Part,Mesh)
  7467. local rtype = rottype
  7468. for i=0,1,delay do
  7469. swait()
  7470. if rtype == 1 then
  7471. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7472. elseif rtype == 2 then
  7473. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7474. end
  7475. prt.Transparency=i
  7476. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  7477. end
  7478. Part.Parent=nil
  7479. end),prt,msh)
  7480. end
  7481.  
  7482. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  7483. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7484. prt.Anchored=true
  7485. prt.Material = "Neon"
  7486. prt.CFrame=cframe
  7487. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7488. game:GetService("Debris"):AddItem(prt,5)
  7489. coroutine.resume(coroutine.create(function(Part,Mesh)
  7490. local rtype = rottype
  7491. for i=0,1,delay do
  7492. swait()
  7493. if rtype == 1 then
  7494. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  7495. elseif rtype == 2 then
  7496. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  7497. end
  7498. prt.Transparency=i
  7499. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7500. end
  7501. Part.Parent=nil
  7502. end),prt,msh)
  7503. end
  7504.  
  7505. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  7506. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7507. prt.Anchored=false
  7508. prt.CFrame=cframe
  7509. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7510. local wld=weld(prt,prt,Parent,cframe)
  7511. game:GetService("Debris"):AddItem(prt,5)
  7512. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  7513. for i=0,1,delay do
  7514. wait()
  7515. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  7516. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7517. Part.Transparency=i
  7518. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7519. end
  7520. Part.Parent=nil
  7521. end),prt,msh,wld)
  7522. end
  7523.  
  7524. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  7525. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7526. prt.Anchored=false
  7527. prt.CFrame=cframe
  7528. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7529. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  7530. game:GetService("Debris"):AddItem(prt,5)
  7531. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  7532. for i=0,1,delay do
  7533. wait()
  7534. Weld.C0=euler(i*20,0,0)
  7535. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7536. Part.Transparency=i
  7537. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7538. end
  7539. Part.Parent=nil
  7540. end),prt,msh,wld)
  7541. end
  7542.  
  7543. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7544. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7545. prt.Anchored=true
  7546. prt.CFrame=cframe
  7547. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  7548. game:GetService("Debris"):AddItem(prt,2)
  7549. coroutine.resume(coroutine.create(function(Part,Mesh)
  7550. for i=0,1,delay do
  7551. wait()
  7552. Part.CFrame=Part.CFrame
  7553. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7554. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7555. prt2.Anchored=true
  7556. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7557. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  7558. game:GetService("Debris"):AddItem(prt2,2)
  7559. coroutine.resume(coroutine.create(function(Part,Mesh)
  7560. for i=0,1,0.1 do
  7561. wait()
  7562. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  7563. end
  7564. Part.Parent=nil
  7565. end),prt2,msh2)
  7566. end
  7567. for i=0,1,delay*2 do
  7568. wait()
  7569. Part.CFrame=Part.CFrame
  7570. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  7571. end
  7572. Part.Parent=nil
  7573. end),prt,msh)
  7574. end
  7575.  
  7576. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7577. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7578. prt.Anchored=true
  7579. prt.CFrame=cframe
  7580. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  7581. game:GetService("Debris"):AddItem(prt,2)
  7582. coroutine.resume(coroutine.create(function(Part,Mesh)
  7583. for i=0,1,delay do
  7584. wait()
  7585. Part.CFrame=Part.CFrame
  7586. Part.Transparency=i
  7587. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7588. end
  7589. Part.Parent=nil
  7590. end),prt,msh)
  7591. end
  7592.  
  7593. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  7594. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7595. prt.Anchored=true
  7596. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  7597. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  7598. game:GetService("Debris"):AddItem(prt,2)
  7599. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  7600. CF=Part.CFrame
  7601. Numbb=0
  7602. randnumb=math.random()/10
  7603. rand1=math.random()/10
  7604. for i=0,1,rand1 do
  7605. wait()
  7606. CF=CF*cf(0,math.random()/2,0)
  7607. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  7608. Part.CFrame=CF*euler(Numbb,0,0)
  7609. Part.Transparency=i
  7610. Numbb=Numbb+randnumb
  7611. end
  7612. Part.Parent=nil
  7613. end),prt,CF,Numbb,randnumb)
  7614. end
  7615.  
  7616. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7617. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7618. prt.Anchored=true
  7619. prt.CFrame=cframe
  7620. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  7621. game:GetService("Debris"):AddItem(prt,5)
  7622. coroutine.resume(coroutine.create(function(Part,Mesh)
  7623. for i=0,1,delay do
  7624. wait()
  7625. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  7626. Part.Transparency=i
  7627. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7628. end
  7629. Part.Parent=nil
  7630. end),prt,msh)
  7631. end
  7632.  
  7633. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  7634. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7635. prt.Anchored=true
  7636. prt.CFrame=cframe
  7637. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  7638. game:GetService("Debris"):AddItem(prt,2)
  7639. coroutine.resume(coroutine.create(function(Part,Mesh)
  7640. for i=0,1,delay do
  7641. wait()
  7642. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  7643. Part.Transparency=i
  7644. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  7645. end
  7646. Part.Parent=nil
  7647. end),prt,msh)
  7648. end
  7649.  
  7650. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  7651. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  7652. prt.Anchored=true
  7653. prt.CFrame=cframe*cf(x,y,z)
  7654. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  7655. game:GetService("Debris"):AddItem(prt,5)
  7656. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  7657. local num=math.random()
  7658. local num2=math.random(-3,2)+math.random()
  7659. local numm=0
  7660. for i=0,1,delay*2 do
  7661. swait()
  7662. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  7663. Part.Transparency=i
  7664. numm=numm+0.01
  7665. end
  7666. Part.Parent=nil
  7667. Mesh.Parent=nil
  7668. end),prt,msh,x,y,z)
  7669. end
  7670.  
  7671. function dmgstart(dmg,what)
  7672. hitcon = what.Touched:connect(function(hit)
  7673. local hum = hit.Parent:FindFirstChild("Humanoid")
  7674. if hum and not hum:IsDescendantOf(Character) then
  7675. hum:TakeDamage(dmg)
  7676. end
  7677. end)
  7678. end
  7679.  
  7680. function dmgstop()
  7681. hitcon:disconnect()
  7682. end
  7683.  
  7684. function Cloak()
  7685. Face.Parent=nil
  7686. cloaked=true
  7687. for _,v in pairs(Torso.Parent:children()) do
  7688. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  7689. coroutine.resume(coroutine.create(function()
  7690. for i=0,1,0.2 do
  7691. wait()
  7692. v.Transparency=i
  7693. end
  7694. v.Transparency=1
  7695. end))
  7696. end
  7697. if v.className=="Hat" then
  7698. hatp=v.Handle
  7699. coroutine.resume(coroutine.create(function(derp)
  7700. for i=0,1,0.2 do
  7701. wait()
  7702. derp.Transparency=i
  7703. end
  7704. derp.Transparency=1
  7705. end),hatp)
  7706. end
  7707. end
  7708. for _,v in pairs(m:children()) do
  7709. if v.className=="Part" then
  7710. coroutine.resume(coroutine.create(function()
  7711. for i=0,1,0.2 do
  7712. wait()
  7713. v.Transparency=i
  7714. end
  7715. v.Transparency=1
  7716. end))
  7717. end
  7718. end
  7719. end
  7720.  
  7721. function UnCloak()
  7722. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  7723. Face.Parent=Head
  7724. cloaked=false
  7725. for _,v in pairs(Torso.Parent:children()) do
  7726. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  7727. coroutine.resume(coroutine.create(function()
  7728. for i=0,1,0.1 do
  7729. wait()
  7730. v.Transparency=v.Transparency-0.1
  7731. end
  7732. v.Transparency=0
  7733. end))
  7734. end
  7735. if v.className=="Hat" then
  7736. hatp=v.Handle
  7737. coroutine.resume(coroutine.create(function(derp)
  7738. for i=0,1,0.1 do
  7739. wait()
  7740. derp.Transparency=derp.Transparency-0.1
  7741. end
  7742. derp.Transparency=0
  7743. end),hatp)
  7744. end
  7745. end
  7746. for _,v in pairs(m:children()) do
  7747. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  7748. coroutine.resume(coroutine.create(function()
  7749. for i=0,1,0.1 do
  7750. wait()
  7751. v.Transparency=v.Transparency-0.1
  7752. end
  7753. v.Transparency=0
  7754. end))
  7755. v.Transparency=0
  7756. end
  7757. end
  7758. end
  7759.  
  7760. local origcolor = BrickColor.new("Dark indigo")
  7761. ---- This section of explosions.
  7762. function Explode(rad,par,pitch,vol,mindam,maxdam)
  7763. local expart = Instance.new("Part",char)
  7764. local expart2 = Instance.new("Part",char)
  7765. local rin = Instance.new("Part",char)
  7766. local rin2 = Instance.new("Part",char)
  7767. local partMesh = Instance.new("SpecialMesh",expart)
  7768. partMesh.MeshType = "Sphere"
  7769. local partMesh2 = Instance.new("SpecialMesh",expart2)
  7770. partMesh2.MeshType = "Sphere"
  7771. local partMesh3 = Instance.new("SpecialMesh",rin)
  7772. partMesh3.MeshType = "Brick"
  7773. local partMesh4 = Instance.new("SpecialMesh",rin2)
  7774. partMesh4.MeshType = "Brick"
  7775. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  7776. partMesh.Scale = vt(rad,rad,rad)
  7777. expart.Size = vt(1,1,1)
  7778. expart.Transparency = 1
  7779. expart.Anchored = true
  7780. expart.Material = "Neon"
  7781. expart.BrickColor = bc("White")
  7782. expart.CFrame = par.CFrame
  7783. partMesh2.Scale = vt(rad,rad,rad)
  7784. expart2.Size = vt(1.15,1.15,1.15)
  7785. expart2.Transparency = 0.75
  7786. expart2.Anchored = true
  7787. expart2.Material = "Glass"
  7788. expart2.BrickColor = par.BrickColor
  7789. expart2.CFrame = par.CFrame
  7790. rin.Size = vt(1.15,1.15,1.15)
  7791. rin.Transparency = 1
  7792. rin.Anchored = true
  7793. rin.Material = "Neon"
  7794. rin.BrickColor = par.BrickColor
  7795. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7796. rin2.Size = vt(1.15,1.15,1.15)
  7797. rin2.Transparency = 1
  7798. rin2.Anchored = true
  7799. rin2.Material = "Neon"
  7800. rin2.BrickColor = par.BrickColor
  7801. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7802. partMesh3.Scale = vt(0,1,0)
  7803. partMesh4.Scale = vt(0,1,0)
  7804. local dec2 = Instance.new("Decal", rin)
  7805. dec2.Face = "Top"
  7806. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  7807. dec2.Parent = rin
  7808. local dec2b = dec2:Clone()
  7809. dec2b.Face = "Bottom"
  7810. dec2b.Parent = rin
  7811.  
  7812. local dec2a = Instance.new("Decal", rin2)
  7813. dec2a.Face = "Top"
  7814. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  7815. dec2a.Parent = rin2
  7816. local dec2ab = dec2a:Clone()
  7817. dec2ab.Face = "Bottom"
  7818. dec2ab.Parent = rin2
  7819. expart.CanCollide = false
  7820. expart2.CanCollide = false
  7821. rin.CanCollide = false
  7822. rin2.CanCollide = false
  7823. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  7824. local value = 1*rad/6.5
  7825. for i = 0, 199 do
  7826. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7827. expart.CFrame = expart.CFrame
  7828. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  7829. expart2.CFrame = expart.CFrame
  7830. value = value - 0.035*rad/30
  7831. if value < 7.5 then
  7832. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  7833. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  7834. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  7835. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  7836. end
  7837. if value < 0 then
  7838. dec2.Transparency = dec2.Transparency + 0.025
  7839. dec2a.Transparency = dec2a.Transparency + 0.025
  7840. dec2b.Transparency = dec2b.Transparency + 0.025
  7841. dec2ab.Transparency = dec2ab.Transparency + 0.025
  7842. expart.Transparency = expart.Transparency + 0.025
  7843. expart2.Transparency = expart2.Transparency + 0.025
  7844. rin.Transparency = rin.Transparency + 0.025
  7845. rin2.Transparency = rin2.Transparency + 0.025
  7846. end
  7847. swait()
  7848. end
  7849. game:GetService("Debris"):AddItem(expart, 1)
  7850. game:GetService("Debris"):AddItem(expart2, 1)
  7851. game:GetService("Debris"):AddItem(rin, 1)
  7852. game:GetService("Debris"):AddItem(rin2, 1)
  7853. end
  7854.  
  7855. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  7856. local expart = Instance.new("Part",char)
  7857. local expart2 = Instance.new("Part",char)
  7858. local partMesh = Instance.new("SpecialMesh",expart)
  7859. partMesh.MeshType = "Sphere"
  7860. local partMesh2 = Instance.new("SpecialMesh",expart2)
  7861. partMesh2.MeshType = "Sphere"
  7862. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  7863. partMesh.Scale = vt(rad,rad,rad)
  7864. expart.Size = vt(1,1,1)
  7865. expart.Transparency = 0
  7866. expart.Anchored = true
  7867. expart.Material = "Neon"
  7868. expart.BrickColor = bc("White")
  7869. expart.CFrame = par.CFrame
  7870. partMesh2.Scale = vt(rad,rad,rad)
  7871. expart2.Size = vt(1.15,1.15,1.15)
  7872. expart2.Transparency = 0.5
  7873. expart2.Anchored = true
  7874. expart2.Material = "Neon"
  7875. expart2.BrickColor = par.BrickColor
  7876. expart2.CFrame = par.CFrame
  7877. expart.CanCollide = false
  7878. expart2.CanCollide = false
  7879. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  7880. local value = 1*rad/6.5
  7881. for i = 0, 75 do
  7882. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7883. expart.CFrame = expart.CFrame
  7884. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  7885. expart2.CFrame = expart.CFrame
  7886. value = value - 0.035*rad/5
  7887. if value < 0 then
  7888. value = 0
  7889. expart.Transparency = expart.Transparency + 0.05
  7890. expart2.Transparency = expart2.Transparency + 0.05
  7891. end
  7892. swait()
  7893. end
  7894. game:GetService("Debris"):AddItem(expart, 1)
  7895. game:GetService("Debris"):AddItem(expart2, 1)
  7896. end
  7897.  
  7898. function AreaDanger(rad,par,mindam,maxdam)
  7899. local expart = Instance.new("Part",char)
  7900. local partMesh = Instance.new("SpecialMesh",expart)
  7901. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  7902. partMesh.MeshType = "Sphere"
  7903. partMesh.Scale = vt(rad,rad,rad)
  7904. expart.Size = vt(1,1,1)
  7905. expart.Transparency = 0.5
  7906. expart.Anchored = true
  7907. expart.Material = "Neon"
  7908. expart.CanCollide = false
  7909. expart.BrickColor = par.BrickColor
  7910. expart.CFrame = par.CFrame
  7911. local value = 1*rad/5
  7912. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  7913. for i = 0, 14 do
  7914. wait()
  7915. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7916. expart.CFrame = expart.CFrame
  7917. value = value - 0.035*rad
  7918. if value < 0 then
  7919. value = 0
  7920. end
  7921. end
  7922. wait(0.25)
  7923. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  7924. wait(0.5)
  7925. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  7926. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  7927. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  7928. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  7929. for i = 0, 14 do
  7930. wait()
  7931. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  7932. expart.CFrame = expart.CFrame
  7933. value = value - 0.035*rad/2
  7934. end
  7935. expart.Transparency = 1
  7936. game:GetService("Debris"):AddItem(expart, 5)
  7937. end
  7938.  
  7939. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  7940. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  7941. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  7942. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  7943. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  7944. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  7945. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  7946. for i = 0, 24 do
  7947. 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))
  7948. end
  7949. for i = 0, 24 do
  7950. local expart = Instance.new("Part",char)
  7951. expart.Transparency = 1
  7952. expart.Anchored = true
  7953. expart.CanCollide = false
  7954. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  7955. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  7956. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  7957. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  7958. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  7959. for i = 0, 9 do
  7960. 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))
  7961. end
  7962. game:GetService("Debris"):AddItem(expart, 2)
  7963. wait(0.1)
  7964. end
  7965. end
  7966.  
  7967. function EXterPlosion(par)
  7968. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  7969. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  7970. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  7971. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  7972. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  7973. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  7974. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  7975. for i = 0, 24 do
  7976. 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))
  7977. end
  7978. for i = 0, 24 do
  7979. 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))
  7980. end
  7981. end
  7982. ----
  7983.  
  7984. local stackingpower = 1
  7985.  
  7986. function HellsCore()
  7987. attack = true
  7988. --[[for i = 0,1,0.1 do
  7989. swait()
  7990. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  7991. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  7992. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  7993. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  7994. end]]--
  7995.  
  7996. local rng = Instance.new("Part", char)
  7997. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  7998. rng.Anchored = true
  7999. rng.BrickColor = origcolor
  8000. rng.CanCollide = false
  8001. rng.FormFactor = 3
  8002. rng.Name = "Ring"
  8003. rng.Material = "Neon"
  8004. rng.Size = Vector3.new(1, 1, 1)
  8005. rng.Transparency = 1
  8006. rng.TopSurface = 0
  8007. rng.BottomSurface = 0
  8008. rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  8009. local rngm = Instance.new("SpecialMesh", rng)
  8010. rngm.MeshType = "Brick"
  8011. local dec = Instance.new("Decal",rng)
  8012. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  8013. dec.Face = "Top"
  8014. local dec2 = dec:Clone()
  8015. dec2.Parent = rng
  8016. dec2.Face = "Bottom"
  8017.  
  8018. local scaler2 = 1
  8019. scaler2 = 1*3
  8020. for i = 0,10,0.1 do
  8021. swait()
  8022. scaler2 = scaler2 - 0.01*3
  8023. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  8024. end
  8025. wait(3)
  8026. for i = 0,10,0.1 do
  8027. swait()
  8028. scaler2 = scaler2 - 0.01*3
  8029. dec.Transparency = dec.Transparency + 0.01
  8030. dec2.Transparency = dec2.Transparency + 0.01
  8031. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  8032. end
  8033. rng:Destroy()
  8034. attack = false
  8035. end
  8036.  
  8037.  
  8038. function FaceMouse()
  8039. Cam = workspace.CurrentCamera
  8040. return {
  8041. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  8042. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  8043. }
  8044. end
  8045.  
  8046. function FaceMouse2()
  8047. Cam = workspace.CurrentCamera
  8048. return {
  8049. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  8050. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  8051. }
  8052. end
  8053.  
  8054.  
  8055. local HoldingZ = false
  8056. local HoldingX = false
  8057. local HoldingC = false
  8058. local HoldingV = false
  8059. local HoldingB = false
  8060.  
  8061.  
  8062. function RingEffect(pos,startsize,size,col)
  8063. local lb = Instance.new("Part")
  8064. lb.Parent = char
  8065. lb.BrickColor = col
  8066. lb.CanCollide = false
  8067. lb.Material = "Neon"
  8068. lb.Anchored = true
  8069. lb.TopSurface = 0
  8070. lb.BottomSurface = 0
  8071. lb.Transparency = 1
  8072. lb.Size = vt(1,1,1)
  8073. lb.CFrame = pos
  8074. local thingery = Instance.new("SpecialMesh",lb)
  8075. thingery.MeshType = "Brick"
  8076. thingery.Scale = vt(startsize,0.1,startsize)
  8077. local dec2 = Instance.new("Texture", lb)
  8078. dec2.Face = "Top"
  8079. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  8080. dec2.Color3 = lb.Color
  8081. dec2.Parent = lb
  8082. dec2.StudsPerTileU = startsize
  8083. dec2.StudsPerTileV = startsize
  8084. local dec2b = dec2:Clone()
  8085. dec2b.Face = "Bottom"
  8086. dec2b.Parent = lb
  8087. local randomrot = math.random(1,2)
  8088. coroutine.resume(coroutine.create(function()
  8089. for i = 0, 19 do
  8090. swait()
  8091. if randomrot == 1 then
  8092. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  8093. elseif randomrot == 2 then
  8094. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  8095. end
  8096. dec2.Transparency = dec2.Transparency + 0.05
  8097. dec2b.Transparency = dec2b.Transparency + 0.05
  8098. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  8099. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  8100. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  8101. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  8102. thingery.Scale = thingery.Scale + vt(size,0,size)
  8103. end
  8104. lb:Destroy()
  8105. end))
  8106. end
  8107.  
  8108. function SlowRingEffect(pos,startsize,size,col)
  8109. local lb = Instance.new("Part")
  8110. lb.Parent = char
  8111. lb.BrickColor = col
  8112. lb.CanCollide = false
  8113. lb.Material = "Neon"
  8114. lb.Anchored = true
  8115. lb.TopSurface = 0
  8116. lb.BottomSurface = 0
  8117. lb.Transparency = 1
  8118. lb.Size = vt(1,1,1)
  8119. lb.CFrame = pos
  8120. local thingery = Instance.new("SpecialMesh",lb)
  8121. thingery.MeshType = "Brick"
  8122. thingery.Scale = vt(startsize,0.1,startsize)
  8123. local dec2 = Instance.new("Decal", lb)
  8124. dec2.Face = "Top"
  8125. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  8126. dec2.Color3 = lb.Color
  8127. dec2.Parent = lb
  8128. local dec2b = dec2:Clone()
  8129. dec2b.Face = "Bottom"
  8130. dec2b.Parent = lb
  8131. local randomrot = math.random(1,2)
  8132. coroutine.resume(coroutine.create(function()
  8133. for i = 0, 49 do
  8134. swait()
  8135. if randomrot == 1 then
  8136. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  8137. elseif randomrot == 2 then
  8138. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  8139. end
  8140. dec2.Transparency = dec2.Transparency + 0.02
  8141. dec2b.Transparency = dec2b.Transparency + 0.02
  8142. thingery.Scale = thingery.Scale + vt(size,0,size)
  8143. end
  8144. lb:Destroy()
  8145. end))
  8146. end
  8147.  
  8148.  
  8149. function groundringaa(pos)
  8150. local rng = Instance.new("Part", char)
  8151. rng.Anchored = true
  8152. rng.BrickColor = origcolor
  8153. rng.CanCollide = false
  8154. rng.FormFactor = 3
  8155. rng.Name = "Ring"
  8156. rng.Size = Vector3.new(1, 1, 1)
  8157. rng.Transparency = 1
  8158. rng.TopSurface = 0
  8159. rng.BottomSurface = 0
  8160. rng.CFrame = pos
  8161. local rngm = Instance.new("SpecialMesh", rng)
  8162. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  8163. rngm.Scale = Vector3.new(100,100,5)
  8164. local scaler2 = -10/2
  8165. coroutine.resume(coroutine.create(function()
  8166. for i = 0,10,0.1 do
  8167. swait()
  8168. scaler2 = scaler2 + 0.1/2
  8169. rng.Transparency = rng.Transparency - 0.01
  8170. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  8171. end
  8172. rng:Destroy()
  8173. end))
  8174. end
  8175.  
  8176. function groundringbb(pos)
  8177. local rng = Instance.new("Part", char)
  8178. rng.Anchored = true
  8179. rng.BrickColor = origcolor
  8180. rng.CanCollide = false
  8181. rng.FormFactor = 3
  8182. rng.Name = "Ring"
  8183. rng.Size = Vector3.new(1, 1, 1)
  8184. rng.Transparency = 0
  8185. rng.TopSurface = 0
  8186. rng.BottomSurface = 0
  8187. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8188. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8189. local rngm = Instance.new("SpecialMesh", rng)
  8190. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  8191. rngm.Scale = Vector3.new(0,0,5)
  8192. local scaler2 = 10
  8193. coroutine.resume(coroutine.create(function()
  8194. for i = 0,10*2,0.1 do
  8195. swait()
  8196. scaler2 = scaler2 - 0.1/2
  8197. rng.Transparency = rng.Transparency + 0.005
  8198. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  8199. end
  8200. rng:Destroy()
  8201. end))
  8202. end
  8203.  
  8204. function groundglowaa(pos)
  8205. local rng = Instance.new("Part", char)
  8206. rng.Anchored = true
  8207. rng.BrickColor = origcolor
  8208. rng.CanCollide = false
  8209. rng.FormFactor = 3
  8210. rng.Material = "Neon"
  8211. rng.Name = "Ring"
  8212. rng.Size = Vector3.new(1, 1, 1)
  8213. rng.Transparency = 0
  8214. rng.TopSurface = 0
  8215. rng.BottomSurface = 0
  8216. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8217. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8218. local rngm = Instance.new("SpecialMesh", rng)
  8219. rngm.MeshType = "Sphere"
  8220. rngm.Scale = Vector3.new(0,0,25)
  8221. local scaler2 = 10*2
  8222. coroutine.resume(coroutine.create(function()
  8223. for i = 0,10*2,0.1 do
  8224. swait()
  8225. scaler2 = scaler2 - 0.1*2/2
  8226. rng.Transparency = rng.Transparency + 0.005
  8227. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  8228. end
  8229. rng:Destroy()
  8230. end))
  8231. end
  8232.  
  8233. function bemaa(pos)
  8234. local rng = Instance.new("Part", char)
  8235. rng.Anchored = true
  8236. rng.BrickColor = origcolor
  8237. rng.CanCollide = false
  8238. rng.FormFactor = 3
  8239. rng.Material = "Neon"
  8240. rng.Name = "Ring"
  8241. rng.Size = Vector3.new(1, 1, 1)
  8242. rng.Transparency = 0
  8243. rng.TopSurface = 0
  8244. rng.BottomSurface = 0
  8245. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8246. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8247. local rngm = Instance.new("SpecialMesh", rng)
  8248. rngm.MeshType = "Sphere"
  8249. rngm.Scale = Vector3.new(0,0,10000)
  8250. local scaler2 = 1
  8251. coroutine.resume(coroutine.create(function()
  8252. for i = 0,99,0.1 do
  8253. swait()
  8254. scaler2 = scaler2 - 0.0025
  8255. rng.Transparency = rng.Transparency + 0.0025
  8256. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  8257. end
  8258. rng:Destroy()
  8259. end))
  8260. end
  8261.  
  8262. function bemaashake(pos)
  8263. local rng = Instance.new("Part", char)
  8264. rng.Anchored = true
  8265. rng.BrickColor = origcolor
  8266. rng.CanCollide = false
  8267. rng.FormFactor = 3
  8268. rng.Material = "Neon"
  8269. rng.Name = "Ring"
  8270. rng.Size = Vector3.new(1, 1, 1)
  8271. rng.Transparency = 0
  8272. rng.TopSurface = 0
  8273. rng.BottomSurface = 0
  8274. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8275. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8276. local rngm = Instance.new("SpecialMesh", rng)
  8277. rngm.MeshType = "Sphere"
  8278. local oof = Instance.new("Part",char)
  8279. oof.Parent = rng
  8280. oof.CFrame = rng.CFrame
  8281. oof.CanCollide = false
  8282. oof.Anchored = true
  8283. oof.Transparency = 1
  8284. rngm.Scale = Vector3.new(0,0,10000)
  8285. local scaler2 = 1*10
  8286. coroutine.resume(coroutine.create(function()
  8287. for i = 0,99,0.1 do
  8288. swait()
  8289. scaler2 = scaler2 - 0.0025*10
  8290. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  8291. rng.Transparency = rng.Transparency + 0.0025
  8292. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  8293. end
  8294. rng:Destroy()
  8295. end))
  8296. end
  8297.  
  8298. function groundringlarge(pos)
  8299. local rng = Instance.new("Part", char)
  8300. rng.Anchored = true
  8301. rng.BrickColor = origcolor
  8302. rng.CanCollide = false
  8303. rng.FormFactor = 3
  8304. rng.Name = "Ring"
  8305. rng.Size = Vector3.new(1, 1, 1)
  8306. rng.Transparency = 0
  8307. rng.TopSurface = 0
  8308. rng.BottomSurface = 0
  8309. rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  8310. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  8311. local rngm = Instance.new("SpecialMesh", rng)
  8312. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  8313. rngm.Scale = Vector3.new(0,0,5)
  8314. local scaler2 = 10*10
  8315. coroutine.resume(coroutine.create(function()
  8316. for i = 0,10*2,0.1 do
  8317. swait()
  8318. scaler2 = scaler2 - 0.1*10/2
  8319. rng.Transparency = rng.Transparency + 0.005
  8320. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  8321. end
  8322. rng:Destroy()
  8323. end))
  8324. end
  8325.  
  8326. function sphere(bonuspeed,type,pos,scale,value,color)
  8327. local type = type
  8328. local rng = Instance.new("Part", char)
  8329. rng.Anchored = true
  8330. rng.BrickColor = color
  8331. rng.CanCollide = false
  8332. rng.FormFactor = 3
  8333. rng.Name = "Ring"
  8334. rng.Material = "Neon"
  8335. rng.Size = Vector3.new(1, 1, 1)
  8336. rng.Transparency = 0
  8337. rng.TopSurface = 0
  8338. rng.BottomSurface = 0
  8339. rng.CFrame = pos
  8340. local rngm = Instance.new("SpecialMesh", rng)
  8341. rngm.MeshType = "Sphere"
  8342. rngm.Scale = scale
  8343. local scaler2 = 1
  8344. if type == "Add" then
  8345. scaler2 = 1*value
  8346. elseif type == "Divide" then
  8347. scaler2 = 1/value
  8348. end
  8349. coroutine.resume(coroutine.create(function()
  8350. for i = 0,10/bonuspeed,0.1 do
  8351. swait()
  8352. if type == "Add" then
  8353. scaler2 = scaler2 - 0.01*value/bonuspeed
  8354. elseif type == "Divide" then
  8355. scaler2 = scaler2 - 0.01/value*bonuspeed
  8356. end
  8357. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  8358. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  8359. end
  8360. rng:Destroy()
  8361. end))
  8362. end
  8363. Humanoid.Animator.Parent = nil
  8364.  
  8365. function AppearMutatedLimbs()
  8366. hum.WalkSpeed = 0
  8367. hum.MaxHealth = math.huge
  8368. attack = true
  8369. for i = 0,14,0.1 do
  8370. swait()
  8371. 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)
  8372. 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)
  8373. 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)
  8374. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  8375. 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)
  8376. 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)
  8377. end
  8378. for i = 0,8,0.1 do
  8379. swait()
  8380. 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)
  8381. 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)
  8382. 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)
  8383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(20)),.1)
  8384. 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)
  8385. 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)
  8386. end
  8387. for i = 0,2,0.1 do
  8388. swait()
  8389. 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)
  8390. 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)
  8391. 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)
  8392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  8393. 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)
  8394. 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)
  8395. end
  8396. for i, v in pairs(MutantParts:GetChildren()) do
  8397. if v:IsA("Part") then
  8398. v.Transparency = 0
  8399. end
  8400. end
  8401. local bld = Instance.new("ParticleEmitter",larm)
  8402. bld.LightEmission = 0.1
  8403. bld.Texture = "rbxassetid://284205403"
  8404. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8405. bld.Rate = 500
  8406. bld.Lifetime = NumberRange.new(1)
  8407. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8408. bld.Acceleration = vt(0,-25,0)
  8409. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8410. bld.Speed = NumberRange.new(10,25)
  8411. bld.EmissionDirection = "Bottom"
  8412. bld.VelocitySpread = 100
  8413. bld.Rotation = NumberRange.new(-500,500)
  8414. bld.RotSpeed = NumberRange.new(-500,500)
  8415. local bldef = Instance.new("ParticleEmitter",larm)
  8416. bldef.LightEmission = 0.1
  8417. bldef.Texture = "rbxassetid://284205403"
  8418. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8419. bldef.Rate = 25
  8420. bldef.Lifetime = NumberRange.new(1)
  8421. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8422. bldef.Acceleration = vt(0,-5,0)
  8423. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8424. bldef.Speed = NumberRange.new(0,0,0)
  8425. bldef.EmissionDirection = "Bottom"
  8426. bldef.VelocitySpread = 150
  8427. bldef.Rotation = NumberRange.new(-500,500)
  8428. bldef.RotSpeed = NumberRange.new(-500,500)
  8429. game:GetService("Debris"):AddItem(bld,3)
  8430. CFuncs["Sound"].Create("rbxassetid://429400881", larm, 2.5, 1)
  8431. CFuncs["Sound"].Create("rbxassetid://206082327", larm, 0.75, 1)
  8432. for i = 0,1,0.1 do
  8433. swait()
  8434. 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)
  8435. 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)
  8436. 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)
  8437. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(60)),.8)
  8438. 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)
  8439. 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)
  8440. end
  8441. bld.Enabled = false
  8442. attack = false
  8443. hum.WalkSpeed = 6
  8444. end
  8445.  
  8446. function AppearMutatedLimbs2()
  8447. hum.WalkSpeed = 0
  8448. attack = true
  8449. LeftModeUnlocked = true
  8450. for i = 0,8,0.1 do
  8451. swait()
  8452. 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)
  8453. 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)
  8454. 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)
  8455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.1)
  8456. 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)
  8457. 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)
  8458. end
  8459. for i = 0,2,0.1 do
  8460. swait()
  8461. 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)
  8462. 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)
  8463. 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)
  8464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  8465. 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)
  8466. 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)
  8467. end
  8468. for i, v in pairs(MutantParts2:GetChildren()) do
  8469. if v:IsA("Part") then
  8470. v.Transparency = 0
  8471. end
  8472. end
  8473. local bld = Instance.new("ParticleEmitter",rarm)
  8474. bld.LightEmission = 0.1
  8475. bld.Texture = "rbxassetid://284205403"
  8476. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8477. bld.Rate = 500
  8478. bld.Lifetime = NumberRange.new(1)
  8479. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8480. bld.Acceleration = vt(0,-25,0)
  8481. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8482. bld.Speed = NumberRange.new(10,25)
  8483. bld.EmissionDirection = "Bottom"
  8484. bld.VelocitySpread = 100
  8485. bld.Rotation = NumberRange.new(-500,500)
  8486. bld.RotSpeed = NumberRange.new(-500,500)
  8487. local bldef = Instance.new("ParticleEmitter",rarm)
  8488. bldef.LightEmission = 0.1
  8489. bldef.Texture = "rbxassetid://284205403"
  8490. bldef.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8491. bldef.Rate = 25
  8492. bldef.Lifetime = NumberRange.new(1)
  8493. bldef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8494. bldef.Acceleration = vt(0,-5,0)
  8495. bldef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8496. bldef.Speed = NumberRange.new(0,0,0)
  8497. bldef.EmissionDirection = "Bottom"
  8498. bldef.VelocitySpread = 150
  8499. bldef.Rotation = NumberRange.new(-500,500)
  8500. bldef.RotSpeed = NumberRange.new(-500,500)
  8501. game:GetService("Debris"):AddItem(bld,3)
  8502. CFuncs["Sound"].Create("rbxassetid://429400881", rarm, 2.5, 1)
  8503. CFuncs["Sound"].Create("rbxassetid://206082327", rarm, 0.75, 1)
  8504. for i = 0,1,0.1 do
  8505. swait()
  8506. 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)
  8507. 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)
  8508. 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)
  8509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-20)),.8)
  8510. 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)
  8511. 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)
  8512. end
  8513. bld.Enabled = false
  8514. attack = false
  8515. hum.WalkSpeed = 6
  8516. end
  8517.  
  8518. function TargetSelect(person)
  8519. local dd=coroutine.wrap(function()
  8520. if targetted ~= person then
  8521. targetted = person
  8522. img2.Size = UDim2.new(1,0,1,0)
  8523. img2.ImageTransparency = 0
  8524. img2.Position = UDim2.new(0,0,0,0)
  8525. img2.ImageColor3 = Color3.new(0,0,0)
  8526. for i = 0, 2, 0.1 do
  8527. swait()
  8528. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  8529. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  8530. img2.ImageTransparency = img2.ImageTransparency + 0.05
  8531. end
  8532. end
  8533. end)
  8534. dd()
  8535. end
  8536.  
  8537. function FindNearestTorso(Position, Distance, SinglePlayer)
  8538. if SinglePlayer then
  8539. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  8540. end
  8541. local List = {}
  8542. for i, v in pairs(workspace:GetChildren()) do
  8543. if v:IsA("Model") then
  8544. if v:findFirstChild("Torso") then
  8545. if v ~= Character then
  8546. if (v.Torso.Position - Position).magnitude <= Distance then
  8547. table.insert(List, v)
  8548. end
  8549. end
  8550. end
  8551. end
  8552. end
  8553. return List
  8554. end
  8555.  
  8556. function LockOn()
  8557. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8558. TargetSelect(Mouse.Target.Parent)
  8559. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  8560. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  8561. TargetSelect(Mouse.Target.Parent)
  8562. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  8563. targetted = nil
  8564. end
  8565. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  8566. end
  8567. end
  8568.  
  8569. function dmg(dude)
  8570. if dude.Name ~= Character then
  8571. local bgf = Instance.new("BodyGyro",dude.Head)
  8572. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  8573. local val = Instance.new("BoolValue",dude)
  8574. val.Name = "IsHit"
  8575. local ds = coroutine.wrap(function()
  8576. if dude.Name ~= "isaacsantamaria01" then
  8577. killcount = killcount + 1
  8578. dude:WaitForChild("Torso"):BreakJoints()
  8579. wait(0.5)
  8580. targetted = nil
  8581. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  8582. coroutine.resume(coroutine.create(function()
  8583. for i, v in pairs(dude:GetChildren()) do
  8584. if v:IsA("Accessory") then
  8585. v:Destroy()
  8586. end
  8587. if v:IsA("Humanoid") then
  8588. v:Destroy()
  8589. end
  8590. if v:IsA("CharacterMesh") then
  8591. v:Destroy()
  8592. end
  8593. if v:IsA("Model") then
  8594. v:Destroy()
  8595. end
  8596. if v:IsA("Part") then
  8597. for x, o in pairs(v:GetChildren()) do
  8598. if o:IsA("Decal") then
  8599. o:Destroy()
  8600. end
  8601. end
  8602. coroutine.resume(coroutine.create(function()
  8603. v.Material = "Neon"
  8604. v.CanCollide = false
  8605. local bld = Instance.new("ParticleEmitter",v)
  8606. bld.LightEmission = 1
  8607. bld.Texture = "rbxassetid://284205403"
  8608. bld.Color = ColorSequence.new(Color3.new(155,0,155))
  8609. bld.Rate = 50
  8610. bld.Lifetime = NumberRange.new(1)
  8611. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  8612. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8613. bld.Speed = NumberRange.new(0,0,0)
  8614. bld.Rotation = NumberRange.new(-500,500)
  8615. bld.RotSpeed = NumberRange.new(-500,500)
  8616. local sbs = Instance.new("BodyPosition", v)
  8617. sbs.P = 3000
  8618. sbs.D = 1000
  8619. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  8620. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  8621. v.Color = Color3.new(85,0,85)
  8622. end))
  8623. coroutine.resume(coroutine.create(function()
  8624. for i = 0, 49 do
  8625. swait(1)
  8626. v.Transparency = v.Transparency + 0.02
  8627. end
  8628. v:Destroy()
  8629. dude:Destroy()
  8630. end))
  8631. end
  8632. end
  8633. end))
  8634. else
  8635. bgf:Destroy()
  8636. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  8637. end
  8638. end)
  8639. ds()
  8640. end
  8641. end
  8642.  
  8643.  
  8644. local Grabbed = false
  8645.  
  8646. function QuickStab()
  8647. attack = true
  8648. hum.WalkSpeed = 0
  8649. swait(1)
  8650. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  8651. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  8652. if targetted.Name ~= "isaacsantamaria01" then
  8653. local grab = nil
  8654. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 5)) do
  8655. if v:FindFirstChild('Head') then
  8656. Grabbed = true
  8657. grab = v
  8658. end
  8659. end
  8660. if Grabbed == true then
  8661. for i = 0,2,0.1 do
  8662. swait()
  8663. 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)
  8664. 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)
  8665. 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)
  8666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  8667. 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)
  8668. 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)
  8669. end
  8670. dmg(grab)
  8671. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  8672. bld.LightEmission = 0.1
  8673. bld.Texture = "rbxassetid://284205403"
  8674. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8675. bld.Rate = 500
  8676. bld.Lifetime = NumberRange.new(1)
  8677. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8678. bld.Acceleration = vt(0,-25,0)
  8679. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8680. bld.Speed = NumberRange.new(10,50)
  8681. bld.EmissionDirection = "Front"
  8682. bld.VelocitySpread = 25
  8683. bld.Rotation = NumberRange.new(-500,500)
  8684. bld.RotSpeed = NumberRange.new(-500,500)
  8685. game:GetService("Debris"):AddItem(bld,3)
  8686. CFuncs["Sound"].Create("rbxassetid://206082327", targetted.Torso, 2.5, 0.9)
  8687. for i = 0,1,0.1 do
  8688. swait()
  8689. 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)
  8690. 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)
  8691. 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)
  8692. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  8693. 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)
  8694. 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)
  8695. end
  8696. bld.Enabled = false
  8697. end
  8698. else
  8699. for i = 0,8,0.1 do
  8700. swait()
  8701. 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)
  8702. 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)
  8703. 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)
  8704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.8)
  8705. 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)
  8706. 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)
  8707. end
  8708. local randomized = math.random(1,3)
  8709. if randomized == 1 then
  8710. chatfunc("No... i cant.",Color3.new(0.5,0,0))
  8711. elseif randomized == 2 then
  8712. chatfunc("Why would i do this...",Color3.new(0.5,0,0))
  8713. elseif randomized == 3 then
  8714. chatfunc("Oh... i thought you're my enemy...",Color3.new(0.5,0,0))
  8715. end
  8716. --[[for i = 0,3,0.1 do
  8717. swait()
  8718. 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)
  8719. 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)
  8720. 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)
  8721. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  8722. 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)
  8723. 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)
  8724. end]]--
  8725. end
  8726. Grabbed = false
  8727. attack = false
  8728. hum.WalkSpeed = 6
  8729. end
  8730.  
  8731.  
  8732. function BlinkingStab()
  8733. attack = true
  8734. hum.WalkSpeed = 0
  8735. swait(1)
  8736. if targetted.Name ~= "isaacsantamaria01" then
  8737. for i = 0,2,0.1 do
  8738. swait()
  8739. 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)
  8740. 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)
  8741. 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)
  8742. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  8743. 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)
  8744. 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)
  8745. end
  8746. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,2)
  8747. CFuncs["Sound"].Create("rbxassetid://743521497", char, 1, 1)
  8748. dmg(targetted)
  8749. local bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  8750. bld.LightEmission = 0.1
  8751. bld.Texture = "rbxassetid://284205403"
  8752. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8753. bld.Rate = 500
  8754. bld.Lifetime = NumberRange.new(1)
  8755. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8756. bld.Acceleration = vt(0,-25,0)
  8757. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8758. bld.Speed = NumberRange.new(10,50)
  8759. bld.EmissionDirection = "Front"
  8760. bld.VelocitySpread = 25
  8761. bld.Rotation = NumberRange.new(-500,500)
  8762. bld.RotSpeed = NumberRange.new(-500,500)
  8763. game:GetService("Debris"):AddItem(bld,3)
  8764. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Torso, 1,1)
  8765. for i = 0,1,0.1 do
  8766. swait()
  8767. 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)
  8768. 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)
  8769. 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)
  8770. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  8771. 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)
  8772. 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)
  8773. end
  8774. bld.Enabled = false
  8775. else
  8776. for i = 0,8,0.1 do
  8777. swait()
  8778. 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)
  8779. 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)
  8780. 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)
  8781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  8782. 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)
  8783. 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)
  8784. end
  8785. local randomized = math.random(1,3)
  8786. if randomized == 1 then
  8787. chatfunc("Wait.. a minute... wrong guy...",Color3.new(0.5,0,0))
  8788. elseif randomized == 2 then
  8789. chatfunc("I forgot about you...",Color3.new(0.5,0,0))
  8790. elseif randomized == 3 then
  8791. chatfunc("Oh. sorry...",Color3.new(0.5,0,0))
  8792. end
  8793. --[[for i = 0,3,0.1 do
  8794. swait()
  8795. 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)
  8796. 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)
  8797. 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)
  8798. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.8)
  8799. 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)
  8800. 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)
  8801. end]]--
  8802. end
  8803. attack = false
  8804. hum.WalkSpeed = 6
  8805. end
  8806.  
  8807.  
  8808. function Tele()
  8809. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  8810. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  8811. CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, 0.8)
  8812. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,3)
  8813. sphere(3,"Add",root.CFrame,vt(10,10,10),-0.1,BrickColor.new("White"))
  8814. sphere(10,"Add",root.CFrame,vt(10,10,10),0.1,BrickColor.new("White"))
  8815. end
  8816.  
  8817. function uhhnolikeokthen()
  8818. hum.WalkSpeed = 0
  8819. attack = true
  8820. CFuncs["Sound"].Create("rbxassetid://163315655", root, 1,1)
  8821. for i = 0,10,0.1 do
  8822. swait()
  8823. 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)
  8824. 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)
  8825. 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)
  8826. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  8827. 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)
  8828. 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)
  8829. end
  8830. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("White"))
  8831. sphere(6,"Add",root.CFrame,vt(0,0,0),0.5,BrickColor.new("White"))
  8832. sphere(9,"Add",root.CFrame,vt(0,0,0),0.75,BrickColor.new("White"))
  8833. CFuncs["Sound"].Create("rbxassetid://1213175909", root, 3,1)
  8834. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2,1)
  8835. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2,0.9)
  8836. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 25)) do
  8837. if v:FindFirstChild('Torso') then
  8838. dmg(v)
  8839. CFuncs["Sound"].Create("rbxassetid://206082327", v.Torso, 1, 0.9)
  8840. local bld = Instance.new("ParticleEmitter",v.Torso)
  8841. bld.LightEmission = 0.1
  8842. bld.Texture = "rbxassetid://284205403"
  8843. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  8844. bld.Rate = 500
  8845. bld.Lifetime = NumberRange.new(1)
  8846. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8847. bld.Acceleration = vt(0,-25,0)
  8848. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  8849. bld.Speed = NumberRange.new(10,50)
  8850. bld.EmissionDirection = "Front"
  8851. bld.VelocitySpread = 2500
  8852. bld.Rotation = NumberRange.new(-500,500)
  8853. bld.RotSpeed = NumberRange.new(-500,500)
  8854. coroutine.resume(coroutine.create(function()
  8855. swait(4)
  8856. bld.Enabled = false
  8857. game:GetService("Debris"):AddItem(bld,3)
  8858. end))
  8859. end
  8860. end
  8861. for i = 0,28,0.1 do
  8862. swait()
  8863. 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)
  8864. 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)
  8865. 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)
  8866. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  8867. 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)
  8868. 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)
  8869. end
  8870. attack = false
  8871. hum.WalkSpeed = 6
  8872. end
  8873.  
  8874. function deadworld()
  8875. hum.WalkSpeed = 0
  8876. attack = true
  8877. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  8878. for i = 0,10,0.1 do
  8879. swait()
  8880. 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)
  8881. 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)
  8882. 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)
  8883. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  8884. 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)
  8885. 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)
  8886. end
  8887. coroutine.resume(coroutine.create(function()
  8888. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  8889. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8890. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8891. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8892. coroutine.resume(coroutine.create(function()
  8893. for i = 0, 9 do
  8894. swait(3)
  8895. 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"))
  8896. end
  8897. end))
  8898. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  8899. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  8900. local blastpitch = 1
  8901. for i = 0,2 do
  8902. wait(1.5)
  8903. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8904. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8905. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  8906. coroutine.resume(coroutine.create(function()
  8907. for i = 0, 9 do
  8908. swait(3)
  8909. 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"))
  8910. end
  8911. end))
  8912. blastpitch = blastpitch - 0.15
  8913. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  8914. end
  8915. wait(2)
  8916. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  8917. if v:FindFirstChild('Torso') then
  8918. dmg(v)
  8919. end
  8920. end
  8921. tors:Destroy()
  8922. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  8923. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  8924. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  8925. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  8926. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  8927. coroutine.resume(coroutine.create(function()
  8928. for i = 0, 49 do
  8929. swait(3)
  8930. 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"))
  8931. 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"))
  8932. end
  8933. end))
  8934. end))
  8935. for i = 0,280,0.1 do
  8936. swait()
  8937. 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)
  8938. 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)
  8939. 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)
  8940. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 1))),.5)
  8941. 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)
  8942. 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)
  8943. end
  8944. attack = false
  8945. hum.WalkSpeed = 6
  8946. end
  8947. coroutine.resume(coroutine.create(function()
  8948. AppearMutatedLimbs()
  8949. end))
  8950.  
  8951. mouse.Button1Down:connect(function()
  8952. if attack == false and targetted ~= nil then
  8953. BlinkingStab()
  8954. end
  8955. end)
  8956.  
  8957. mouse.KeyDown:connect(function(k)
  8958. if k == "q" and attack == false then
  8959. LockOn()
  8960. end
  8961. if k == "e" and attack == false and targetted ~= nil then
  8962. Tele()
  8963. end
  8964. if k == "z" and attack == false and targetted ~= nil then
  8965. QuickStab()
  8966. end
  8967. if k == "x" and attack == false then
  8968. uhhnolikeokthen()
  8969. end
  8970. if k == "l" and attack == false and unlockedA == true and LeftModeUnlocked == false then
  8971. AppearMutatedLimbs2()
  8972. end
  8973. if k == "p" and attack == false and unlockedX == true then
  8974. deadworld()
  8975. end
  8976. if k == "t" and attack == false and plr.Name == "isaacsantamaria01" then
  8977. attack = true
  8978. chatfunc("HAH",Color3.new(0.5,0,0))
  8979. CFuncs["Sound"].Create("rbxassetid://695281161", root, 5,1.4)
  8980. for i = 0, 1, 0.1 do
  8981. swait()
  8982. 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)
  8983. 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)
  8984. 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)
  8985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-40),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.9)
  8986. 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)
  8987. 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)
  8988. end
  8989. attack = false
  8990. end
  8991. end)
  8992. idleanim=.4
  8993. while true do
  8994. swait()
  8995. imgl.Rotation = imgl.Rotation + 3
  8996. imgl2.Rotation = imgl2.Rotation - 3
  8997. img2.Rotation = img2.Rotation - 3
  8998. if targetted ~= nil then
  8999. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  9000. abss.Enabled = true
  9001. elseif targetted == nil then
  9002. abss.Adornee = nil
  9003. abss.Enabled = false
  9004. end
  9005. while true and imgl.Rotation >= 360 do
  9006. imgl.Rotation = 0
  9007. imgl2.Rotation = 0
  9008. img2.Rotation = 0
  9009. end
  9010. uhh.Rotation = math.random(-1,1)
  9011. uhh.Position = UDim2.new(-0.15, 0, 0.35, 0) + UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9012. uhh.Text = "Kills : " ..killcount
  9013. if killcount < maxA then
  9014. uhh2.Text = "Required kills for second mutated arm: " ..requirekillA-killcount
  9015. elseif killcount >= maxA then
  9016. unlockedA = true
  9017. uhh2.Text = "Second mutated arm unlocked. (L)"
  9018. end
  9019. if killcount < maxX then
  9020. uhh3.Text = "Required kills for the end: " ..requirekillX-killcount
  9021. elseif killcount >= maxX then
  9022. unlockedX = true
  9023. uhh3.Text = "The end unlocked. (P to activate)"
  9024. end
  9025. sine = sine + change
  9026. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9027. local velderp=RootPart.Velocity.y
  9028. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9029. if equipped==true or equipped==false then
  9030. if attack==false then
  9031. idle=idle+1
  9032. else
  9033. idle=0
  9034. end
  9035. if idle>=500 then
  9036. if attack==false then
  9037. --Sheath()
  9038. end
  9039. end
  9040. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9041. Anim="Jump"
  9042. if attack==false then
  9043. 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)
  9044. 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)
  9045. 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)
  9046. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9047. 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)
  9048. 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)
  9049. end
  9050. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9051. Anim="Fall"
  9052. if attack==false then
  9053. 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)
  9054. 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)
  9055. 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)
  9056. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  9057. 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)
  9058. 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)
  9059. end
  9060. elseif torvel<1 and hitfloor~=nil then
  9061. Anim="Idle"
  9062. if attack==false then
  9063. 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)
  9064. 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)
  9065. 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)
  9066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  9067. if LeftModeUnlocked == false then
  9068. 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)
  9069. else
  9070. 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)
  9071. end
  9072. 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)
  9073. end
  9074. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9075. Anim="Walk"
  9076. if attack==false then
  9077. 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)
  9078. 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)
  9079. 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)
  9080. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  9081. if LeftModeUnlocked == false then
  9082. 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)
  9083. else
  9084. 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)
  9085. end
  9086. 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)
  9087. end
  9088. elseif torvel>=22 and hitfloor~=nil then
  9089. Anim="Run"
  9090. if attack==false then
  9091. 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)
  9092. 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)
  9093. 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)
  9094. 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)
  9095. 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)
  9096. 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)
  9097. end
  9098. end
  9099. end
  9100. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement