Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Created by GuestBilmemKac --
  2.  
  3.  
  4.  
  5. local Root = Char:FindFirstChild'HumanoidRootPart'
  6. local Torso = Char.Torso
  7. local Head = Char.Head
  8. local NeutralAnims = true
  9. local Attack = false
  10. local BloodPuddles = {}
  11. local Effects = {}
  12. local Debounces = {Debounces={}}
  13. local Mouse = Plr:GetMouse()
  14. local Hit = {}
  15. local Sine = 0
  16. local Change = 1
  17. local Souls = 0
  18. --// Debounce System \\--
  19.  
  20.  
  21. function Debounces:New(name,cooldown)
  22. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  23. setmetatable(aaaaa,{__index = Debounces})
  24. Debounces.Debounces[name] = aaaaa
  25. return aaaaa
  26. end
  27.  
  28. function Debounces:Use(overrideUsable)
  29. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  30. if(self.Usable or overrideUsable)then
  31. self.Usable = false
  32. self.CoolingDown = true
  33. local LastUse = time()
  34. self.LastUse = LastUse
  35. delay(self.Cooldown or 2,function()
  36. if(self.LastUse == LastUse)then
  37. self.CoolingDown = false
  38. self.Usable = true
  39. end
  40. end)
  41. end
  42. end
  43.  
  44. function Debounces:Get(name)
  45. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  46. for i,v in next, Debounces.Debounces do
  47. if(i == name)then
  48. return v;
  49. end
  50. end
  51. end
  52.  
  53. function Debounces:GetProgressPercentage()
  54. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  55. if(self.CoolingDown and not self.Usable)then
  56. return math.max(
  57. math.floor(
  58. (
  59. (time()-self.LastUse)/self.Cooldown or 2
  60. )*100
  61. )
  62. )
  63. else
  64. return 100
  65. end
  66. end
  67.  
  68. --// Shortcut Variables \\--
  69. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  70. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  71. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  72. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  73. local R3 = {N=Region3.new}
  74. local De = S.Debris
  75. local WS = workspace
  76. local Lght = S.Lighting
  77. local RepS = S.ReplicatedStorage
  78. local IN = Instance.new
  79. local CSK = ColorSequenceKeypoint.new
  80. local CS = ColorSequence.new
  81. --// Instance Creation Functions \\--
  82.  
  83. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  84. local Sound = IN("Sound")
  85. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  86. Sound.Pitch = pitch or 1
  87. Sound.Volume = volume or 1
  88. Sound.Looped = looped or false
  89. if(autoPlay)then
  90. coroutine.wrap(function()
  91. repeat wait() until Sound.IsLoaded
  92. Sound.Playing = autoPlay or false
  93. end)()
  94. end
  95. if(not looped and effect)then
  96. Sound.Stopped:connect(function()
  97. Sound.Volume = 0
  98. Sound:destroy()
  99. end)
  100. elseif(effect)then
  101. warn("Sound can't be looped and a sound effect!")
  102. end
  103. Sound.Parent =parent or Torso
  104. return Sound
  105. end
  106. function Part(parent,color,material,size,cframe,anchored,cancollide)
  107. local part = IN("Part")
  108. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  109. part.Material = (material or Enum.Material.SmoothPlastic)
  110. part.TopSurface,part.BottomSurface=10,10
  111. part.Size = (size or V3.N(1,1,1))
  112. part.CFrame = (cframe or CF.N(0,0,0))
  113. part.Anchored = (anchored or false)
  114. part.CanCollide = (cancollide or false)
  115. part.Parent = (parent or Char)
  116. return part
  117. end
  118. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  119. local part = IN("SpecialMesh")
  120. part.MeshId = meshid or ""
  121. part.TextureId = textid or ""
  122. part.Scale = scale or V3.N(1,1,1)
  123. part.Offset = offset or V3.N(0,0,0)
  124. part.MeshType = meshtype or Enum.MeshType.Sphere
  125. part.Parent = parent
  126. return part
  127. end
  128.  
  129. NewInstance = function(instance,parent,properties)
  130. local inst = Instance.new(instance,parent)
  131. if(properties)then
  132. for i,v in next, properties do
  133. pcall(function() inst[i] = v end)
  134. end
  135. end
  136. return inst;
  137. end
  138.  
  139.  
  140.  
  141. --// Extended ROBLOX tables \\--
  142. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  143. --// Customization \\--
  144.  
  145. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  146. local Remove_Hats = false
  147. local Remove_Clothing = true
  148. local PlayerSize = 1
  149. local DamageColor = BrickColor.new'Really red'
  150. local MusicID = 250634910
  151. local WalkSpeed = 8
  152. local MaxSouls = 100
  153. local MaxHealth = 500
  154.  
  155.  
  156. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  157.  
  158. --// Weapon and GUI creation, and Character Customization \\--
  159.  
  160. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  161. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  162. local Effects = IN("Folder",Char)
  163. Effects.Name = "Effects"
  164.  
  165. Hum.MaxHealth = MaxHealth
  166. Hum.Health = MaxHealth
  167.  
  168. local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,3,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)})
  169. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://121944805",V3.N(1,1,1),V3.N())
  170. local AuraEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS{CSK(0,C3.N(1,0,0)),CSK(0.5,C3.N(1,1,0)),CSK(1,C3.RGB(255,191,0))},LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
  171. local FireEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  172.  
  173. local KTrail = NewInstance("Trail",Knife,{
  174. Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  175. Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  176. Color=CS(C3.N(1,0,0)),
  177. Enabled=false,
  178. Transparency=NumberSequence.new(0,1),
  179. Lifetime=1.25,
  180. })
  181. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  182. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://16627529","rbxassetid://16627494",V3.N(1.05,1.05,1.05),V3.N())
  183.  
  184. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  185.  
  186.  
  187. Hum.DisplayDistanceType = 'None'
  188.  
  189. local naeeym2 = IN("BillboardGui",Char)
  190. naeeym2.AlwaysOnTop = true
  191. naeeym2.Size = UDim2.new(5,35,2,15)
  192. naeeym2.StudsOffset = V3.N(0,2.5,0)
  193. naeeym2.Adornee = Char.Head
  194. naeeym2.Name = "Name"
  195. naeeym2.PlayerToHideFrom = Nobody
  196. local tecks2 = IN("TextLabel",naeeym2)
  197. tecks2.BackgroundTransparency = 1
  198. tecks2.TextScaled = true
  199. tecks2.BorderSizePixel = 0
  200. tecks2.Text = "Purple Guy"
  201. tecks2.Font = Enum.Font.Bodoni
  202. tecks2.TextSize = 30
  203. tecks2.TextStrokeTransparency = 0
  204. tecks2.TextColor3 = C3.N(0,0,0)
  205. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  206. tecks2.Size = UDim2.new(1,0,0.5,0)
  207. tecks2.Parent = naeeym2
  208.  
  209.  
  210. IN("Shirt",Char)
  211. IN("Pants",Char)
  212.  
  213. Hum.WalkSpeed = WalkSpeed
  214. if(PlayerSize ~= 1)then
  215. for _,v in next, Char:GetDescendats() do
  216. if(v:IsA'BasePart')then
  217. v.Size = v.Size * PlayerSize
  218. end
  219. end
  220. end
  221.  
  222.  
  223. for i = 1, 35 do
  224. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  225. FACE.Transparency = 0+(i-1)/35.2
  226. FACE.Name = 'ShadowFace'
  227. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  228. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  229. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  230. end
  231.  
  232. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  233. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  234. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  235.  
  236. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  237. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  238. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  239.  
  240.  
  241. pcall(function()
  242. Char.LeftWing:destroy()
  243. Char.ReaperShadowHead:destroy()
  244. end)
  245.  
  246.  
  247. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  248. Music.Name = 'Music'
  249.  
  250. --// Stop animations \\--
  251. for _,v in next, Hum:GetPlayingAnimationTracks() do
  252. v:Stop();
  253. end
  254.  
  255. pcall(game.Destroy,Char:FindFirstChild'Animate')
  256. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  257.  
  258. --// Joints \\--
  259.  
  260. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  261. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  262. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  263. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  264. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  265. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  266. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  267. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.44,0)})
  268.  
  269. local LSC0 = LS.C0
  270. local RSC0 = RS.C0
  271. local NKC0 = NK.C0
  272. local LHC0 = LH.C0
  273. local RHC0 = RH.C0
  274. local RJC0 = RJ.C0
  275.  
  276. --// Artificial HB \\--
  277.  
  278. local ArtificialHB = IN("BindableEvent", script)
  279. ArtificialHB.Name = "Heartbeat"
  280.  
  281. script:WaitForChild("Heartbeat")
  282.  
  283. local tf = 0
  284. local allowframeloss = false
  285. local tossremainder = false
  286. local lastframe = tick()
  287. local frame = 1/Frame_Speed
  288. ArtificialHB:Fire()
  289.  
  290. game:GetService("RunService").Heartbeat:connect(function(s, p)
  291. tf = tf + s
  292. if tf >= frame then
  293. if allowframeloss then
  294. script.Heartbeat:Fire()
  295. lastframe = tick()
  296. else
  297. for i = 1, math.floor(tf / frame) do
  298. ArtificialHB:Fire()
  299. end
  300. lastframe = tick()
  301. end
  302. if tossremainder then
  303. tf = 0
  304. else
  305. tf = tf - frame * math.floor(tf / frame)
  306. end
  307. end
  308. end)
  309.  
  310. function swait(num)
  311. if num == 0 or num == nil then
  312. ArtificialHB.Event:wait()
  313. else
  314. for i = 0, num do
  315. ArtificialHB.Event:wait()
  316. end
  317. end
  318. end
  319.  
  320.  
  321. --// Effect Function(s) \\--
  322.  
  323. function Bezier(startpos, pos2, pos3, endpos, t)
  324. local A = startpos:lerp(pos2, t)
  325. local B = pos2:lerp(pos3, t)
  326. local C = pos3:lerp(endpos, t)
  327. local lerp1 = A:lerp(B, t)
  328. local lerp2 = B:lerp(C, t)
  329. local cubic = lerp1:lerp(lerp2, t)
  330. return cubic
  331. end
  332.  
  333. function Tween(obj,props,time,easing,direction,repeats,backwards)
  334. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  335. local tween = S.TweenService:Create(obj, info, props)
  336.  
  337. tween:Play()
  338. end
  339.  
  340. local FXTable = {}
  341.  
  342. coroutine.resume(coroutine.create(function()
  343. while true do
  344. for i = 1, #FXTable do
  345. local data = FXTable[i]
  346. if(data)then
  347. local Frame = data.Frame
  348. local FX = data.Effect or 'ResizeAndFade'
  349. local Parent = data.Parent or Effects
  350. local Color = data.Color or C3.N(0,0,0)
  351. local Size = data.Size or V3.N(1,1,1)
  352. local MoveDir = data.MoveDirection or nil
  353. local MeshData = data.Mesh or nil
  354. local SndData = data.Sound or nil
  355. local Frames = data.Frames or 45
  356. local CFra = data.CFrame or Torso.CFrame
  357. local Settings = data.FXSettings or {}
  358. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  359. local grow = data.Grow
  360.  
  361. local MoveSpeed = nil;
  362. if(MoveDir)then
  363. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  364. end
  365. if(FX ~= 'Arc')then
  366. Frame = Frame + 1
  367. if(FX == "Fade")then
  368. Prt.Transparency = (Frame/Frames)
  369. elseif(FX == "Resize")then
  370. if(not Settings.EndSize)then
  371. Settings.EndSize = V3.N(0,0,0)
  372. end
  373. if(Settings.EndIsIncrement)then
  374. if(Msh)then
  375. Msh.Scale = Msh.Scale + Settings.EndSize
  376. else
  377. Prt.Size = Prt.Size + Settings.EndSize
  378. end
  379. else
  380. if(Msh)then
  381. Msh.Scale = Msh.Scale - grow/Frames
  382. else
  383. Prt.Size = Prt.Size - grow/Frames
  384. end
  385. end
  386. elseif(FX == "ResizeAndFade")then
  387. if(not Settings.EndSize)then
  388. Settings.EndSize = V3.N(0,0,0)
  389. end
  390. if(Settings.EndIsIncrement)then
  391. if(Msh)then
  392. Msh.Scale = Msh.Scale + Settings.EndSize
  393. else
  394. Prt.Size = Prt.Size + Settings.EndSize
  395. end
  396. else
  397. if(Msh)then
  398. Msh.Scale = Msh.Scale - grow/Frames
  399. else
  400. Prt.Size = Prt.Size - grow/Frames
  401. end
  402. end
  403. Prt.Transparency = (Frame/Frames)
  404. end
  405. if(Settings.RandomizeCFrame)then
  406. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  407. end
  408. if(MoveDir and MoveSpeed)then
  409. local Orientation = Prt.Orientation
  410. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  411. Prt.Orientation = Orientation
  412. end
  413. if(Prt.Transparency >= 1 or Frame >= Frames)then
  414. Prt:destroy()
  415. table.remove(FXTable,i)
  416. else
  417. data.Frame = Frame
  418. end
  419. else
  420. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  421. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  422. if(start and endP)then
  423. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  424. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  425. Frame = Frame + (Settings.Speed or 0.01)
  426. if(Settings.Home)then
  427. endP = Settings.Home.CFrame
  428. end
  429. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  430. if(Prt.Transparency >= 1 or Frame >= Frames)then
  431. if(Settings.RemoveOnGoal)then
  432. Prt:destroy()
  433. end
  434. end
  435. else
  436. Prt:destroy()
  437. end
  438. end
  439. end
  440. end
  441. swait()
  442. end
  443. end))
  444.  
  445. function Effect(data)
  446. local FX = data.Effect or 'ResizeAndFade'
  447. local Parent = data.Parent or Effects
  448. local Color = data.Color or C3.N(0,0,0)
  449. local Size = data.Size or V3.N(1,1,1)
  450. local MoveDir = data.MoveDirection or nil
  451. local MeshData = data.Mesh or nil
  452. local SndData = data.Sound or nil
  453. local Frames = data.Frames or 45
  454. local Manual = data.Manual or nil
  455. local Material = data.Material or nil
  456. local CFra = data.CFrame or Torso.CFrame
  457. local Settings = data.FXSettings or {}
  458. local Shape = data.Shape or Enum.PartType.Block
  459. local Snd,Prt,Msh;
  460. coroutine.wrap(function()
  461. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  462. Prt = Manual
  463. else
  464. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  465. Prt.Shape = Shape
  466. end
  467. if(typeof(MeshData) == 'table')then
  468. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  469. elseif(typeof(MeshData) == 'Instance')then
  470. Msh = MeshData:Clone()
  471. Msh.Parent = Prt
  472. elseif(Shape == Enum.PartType.Block)then
  473. Msh = Mesh(Prt,Enum.MeshType.Brick)
  474. end
  475. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  476. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  477. end
  478. if(Snd)then
  479. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  480. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  481. end
  482. Size = (Msh and Msh.Scale or Size)
  483. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  484.  
  485. local MoveSpeed = nil;
  486. if(MoveDir)then
  487. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  488. end
  489. if(FX ~= 'Arc')then
  490. for Frame = 1, Frames do
  491. if(FX == "Fade")then
  492. Prt.Transparency = (Frame/Frames)
  493. elseif(FX == "Resize")then
  494. if(not Settings.EndSize)then
  495. Settings.EndSize = V3.N(0,0,0)
  496. end
  497. if(Settings.EndIsIncrement)then
  498. if(Msh)then
  499. Msh.Scale = Msh.Scale + Settings.EndSize
  500. else
  501. Prt.Size = Prt.Size + Settings.EndSize
  502. end
  503. else
  504. if(Msh)then
  505. Msh.Scale = Msh.Scale - grow/Frames
  506. else
  507. Prt.Size = Prt.Size - grow/Frames
  508. end
  509. end
  510. elseif(FX == "ResizeAndFade")then
  511. if(not Settings.EndSize)then
  512. Settings.EndSize = V3.N(0,0,0)
  513. end
  514. if(Settings.EndIsIncrement)then
  515. if(Msh)then
  516. Msh.Scale = Msh.Scale + Settings.EndSize
  517. else
  518. Prt.Size = Prt.Size + Settings.EndSize
  519. end
  520. else
  521. if(Msh)then
  522. Msh.Scale = Msh.Scale - grow/Frames
  523. else
  524. Prt.Size = Prt.Size - grow/Frames
  525. end
  526. end
  527. Prt.Transparency = (Frame/Frames)
  528. end
  529. if(Settings.RandomizeCFrame)then
  530. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  531. end
  532. if(MoveDir and MoveSpeed)then
  533. local Orientation = Prt.Orientation
  534. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  535. Prt.Orientation = Orientation
  536. end
  537. swait()
  538. end
  539. Prt:destroy()
  540. else
  541. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  542. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  543. if(start and endP)then
  544. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  545. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  546. for Frame = 0, 1, (Settings.Speed or 0.01) do
  547. if(Settings.Home)then
  548. endP = Settings.Home.CFrame
  549. end
  550. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  551. end
  552. if(Settings.RemoveOnGoal)then
  553. Prt:destroy()
  554. end
  555. else
  556. Prt:destroy()
  557. assert(start,"You need a start position!")
  558. assert(endP,"You need a start position!")
  559. end
  560. end
  561. end)()
  562. return Prt,Msh,Snd
  563. end
  564.  
  565.  
  566.  
  567. function SoulSteal(whom,human)
  568. local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  569. local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  570. if(torso and torso:IsA'BasePart' and alive == true)then
  571. whom:FindFirstChildOfClass'Humanoid'.Health = 0
  572. whom:BreakJoints()
  573. local Model = IN("Model",Effects)
  574. warn('Soul stolen from '..whom.Name)
  575. Model.Name = whom.Name.."'s Soul"
  576. local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false)
  577. Soul.CanCollide=false
  578. Mesh(Soul,Enum.MeshType.Sphere)
  579. Soul.Name = 'Head'
  580. if(whom.Name == 'CKbackup')then
  581. Soul.Color = C3.N(1,1,1)
  582. local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)})
  583. end
  584. local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  585. local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  586. local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  587. local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0})
  588. NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  589.  
  590. local turdso = Soul:Clone()
  591. turdso.Name = "Torso"
  592. turdso.CanCollide = false
  593. turdso.Anchored = true
  594. turdso.CFrame = Soul.CFrame
  595. turdso.Parent = Model
  596. turdso.Size = V3.N()
  597. turdso.Transparency=1
  598. local Distance = math.huge
  599. repeat
  600. Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  601. turdso.CFrame = Soul.CFrame
  602. Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  603. swait()
  604. until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  605. if(Soul.Parent and Hoom.Health > 0)then
  606. Model:destroy()
  607. Effect{
  608. Effect="ResizeAndFade",
  609. Mesh={Enum.MeshType.Sphere},
  610. Color = Soul.Color,
  611. CFrame=Torso.CFrame,
  612. Size=V3.N(3,3,3),
  613. Material=Enum.Material.Neon,
  614. Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  615. FXSettings={
  616. EndSize=V3.N(6,6,6),
  617. }
  618. }
  619. Souls = Souls + (human and 1 or .1)
  620. warn("Souls: "..Souls)
  621. MaxHealth = MaxHealth + Hoom.Health
  622. Hum.Health = Hum.Health + Hoom.Health
  623. for i = 1, 5 do
  624. Effect{
  625. Effect="Fade",
  626. Color = Soul.Color,
  627. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  628. }
  629. end
  630. else
  631.  
  632. warn("Soul destroyed!")
  633. for i = 1, 5 do
  634. Effect{
  635. Effect="Fade",
  636. Color = Soul.Color,
  637. CFrame=Soul.CFrame,
  638. MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  639. }
  640. end
  641. Effect{
  642. Effect="ResizeAndFade",
  643. Mesh={Enum.MeshType.Sphere},
  644. Sound={SoundId=444667859,Pitch=1,Volume=5},
  645. Color = Soul.Color,
  646. CFrame=Soul.CFrame,
  647. Size=V3.N(3,3,3),
  648. Material=Enum.Material.Neon,
  649. FXSettings={
  650. EndSize=V3.N(6,6,6),
  651. }
  652. }
  653. Model:destroy()
  654. end
  655. end
  656. end
  657.  
  658. --// Other Functions \\ --
  659.  
  660. function getRegion(point,range,ignore)
  661. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  662. end
  663.  
  664. function clerp(startCF,endCF,alpha)
  665. return startCF:lerp(endCF, alpha)
  666. end
  667.  
  668. function GetTorso(char)
  669. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  670. end
  671.  
  672. function ShowDamage(Pos, Text, Time, Color)
  673. coroutine.wrap(function()
  674. local Rate = (1 / Frame_Speed)
  675. local Pos = (Pos or Vector3.new(0, 0, 0))
  676. local Text = (Text or "")
  677. local Time = (Time or 2)
  678. local Color = (Color or Color3.new(1, 0, 1))
  679. local EffectPart = NewInstance("Part",Effects,{
  680. Material=Enum.Material.SmoothPlastic,
  681. Reflectance = 0,
  682. Transparency = 1,
  683. BrickColor = BrickColor.new(Color),
  684. Name = "Effect",
  685. Size = Vector3.new(0,0,0),
  686. Anchored = true,
  687. CFrame = CF.N(Pos)
  688. })
  689. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  690. Size = UDim2.new(1.25, 0, 1.25, 0),
  691. Adornee = EffectPart,
  692. })
  693. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  694. BackgroundTransparency = 1,
  695. Size = UDim2.new(1, 0, 1, 0),
  696. Text = Text,
  697. Font = "Arcade",
  698. TextColor3 = Color,
  699. TextStrokeColor3 = Color3.new(0,0,0),
  700. TextStrokeTransparency=0,
  701. TextScaled = true,
  702. })
  703. S.Debris:AddItem(EffectPart, (Time))
  704. EffectPart.Parent = workspace
  705. delay(0, function()
  706. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  707. local Frames = (Time / Rate)
  708. for Frame = 1, Frames do
  709. swait()
  710. local Percent = (Frame / Frames)
  711. TextLabel.TextTransparency = Percent
  712. TextLabel.TextStrokeTransparency = Percent
  713. end
  714. if EffectPart and EffectPart.Parent then
  715. EffectPart:Destroy()
  716. end
  717. end) end)()
  718. end
  719.  
  720. function Kill(whom)
  721. if(whom.Name ~= 'Nebula_Zorua')then
  722. local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  723. coroutine.wrap(SoulSteal)(whom,isPlr)
  724. for _,v in next, whom:children() do
  725. if(v:IsA'BasePart')then
  726. v.Parent = Effects
  727. v:ClearAllChildren()
  728. v.Anchored = true
  729. v.CanCollide = false
  730. v.Transparency = 1
  731. local dust = NewInstance("ParticleEmitter",v,{
  732. Color = ColorSequence.new(C3.N(1,1,1)),
  733. LightEmission=0,
  734. LightInfluence=1,
  735. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  736. Texture="rbxassetid://284205403",
  737. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  738. Lifetime = NumberRange.new(1),
  739. Rate=150,
  740. Acceleration = V3.N(0,10,0),
  741. Speed = NumberRange.new(5),
  742. Enabled = true
  743. })
  744. delay(1, function()
  745. dust.Enabled = false
  746. S.Debris:AddItem(v,2)
  747. end)
  748. end
  749. end
  750. else
  751. warn"nope. nawt happenin'"
  752. end
  753. end
  754.  
  755. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  756. if(who)then
  757. local hum = who:FindFirstChildOfClass'Humanoid'
  758. local Damage = M.RNG(minDam,maxDam)
  759. local canHit = true
  760. if(hum)then
  761. for _, p in pairs(Hit) do
  762. if p[1] == hum then
  763. if(time() - p[2] < 0.4) then
  764. canHit = false
  765. else
  766. Hit[_] = nil
  767. end
  768. end
  769. end
  770. if(canHit)then
  771. table.insert(Hit,{hum,time()})
  772. if(GetTorso(who))then
  773. Sound(GetTorso(who),1219742600,1,10,false,true,true)
  774. end
  775. if(hum.Health >= math.huge)then
  776. Kill(who)
  777. if(who:FindFirstChild'Head' and hum.Health > 0)then
  778. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 3, DamageColor.Color)
  779. end
  780. else
  781. local player = S.Players:GetPlayerFromCharacter(who)
  782. if(Type == "Fire")then
  783. --idk..
  784. else
  785. local c = Instance.new("ObjectValue",hum)
  786. c.Name = "creator"
  787. c.Value = Plr
  788. game:service'Debris':AddItem(c,0.35)
  789. local Crit = false
  790. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  791. Crit = true
  792. Damage = Damage*(critMult or 2)
  793. end
  794. Damage = Damage*((Souls/5)+1)
  795. if(who:FindFirstChild'Head' and hum.Health > 0)then
  796. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), (Crit and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color))
  797. end
  798.  
  799. if(hum.Health - Damage <= 0)then
  800. Kill(who)
  801. else
  802. hum.Health = hum.Health - Damage
  803. if(Type == 'Knockback' and GetTorso(who))then
  804. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  805. local body = NewInstance('BodyVelocity',GetTorso(who),{
  806. P = 500,
  807. maxForce = V3.N(math.huge,0,math.huge),
  808. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  809. })
  810. game:service'Debris':AddItem(body,.5)
  811. elseif(Type == "Electric")then
  812. if(M.RNG(1,100) >= critChance)then
  813. if(who:FindFirstChild'Head' and hum.Health > 0)then
  814. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 3, BrickColor.new"New Yeller".Color)
  815. end
  816. local asd = hum.WalkSpeed/2
  817. hum.WalkSpeed = asd
  818. local paralyzed = true
  819. coroutine.wrap(function()
  820. while paralyzed do
  821. swait(25)
  822. if(M.RNG(1,25) == 1)then
  823. if(who:FindFirstChild'Head' and hum.Health > 0)then
  824. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 3, BrickColor.new"New Yeller".Color)
  825. end
  826. hum.PlatformStand = true
  827. end
  828. end
  829. end)()
  830. delay(4, function()
  831. paralyzed = false
  832. hum.WalkSpeed = hum.WalkSpeed + asd
  833. end)
  834. end
  835.  
  836. elseif(Type == 'Knockdown' and GetTorso(who))then
  837. local rek = GetTorso(who)
  838. hum.PlatformStand = true
  839. delay(1,function()
  840. hum.PlatformStand = false
  841. end)
  842. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  843. local bodvol = NewInstance("BodyVelocity",rek,{
  844. velocity = angle * Knock,
  845. P = 5000,
  846. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  847. })
  848. local rl = NewInstance("BodyAngularVelocity",rek,{
  849. P = 3000,
  850. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  851. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  852. })
  853. game:GetService("Debris"):AddItem(bodvol, .5)
  854. game:GetService("Debris"):AddItem(rl, .5)
  855. end
  856. end
  857. end
  858. end
  859. end
  860. end
  861. end
  862. end
  863.  
  864.  
  865. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  866. for _,v in next, getRegion(where,range,{Char}) do
  867. if(v.Name ~= 'Nebula_Zorua')then
  868. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  869. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  870. end
  871. end
  872. end
  873. end
  874.  
  875. function AOEKill(where,range)
  876. for _,v in next, getRegion(where,range,{Char,Effects}) do
  877. local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  878. if(v.Name ~= 'Nebula_Zorua')then
  879. if(v.Parent and alive == true)then
  880. coroutine.wrap(Kill)(v.Parent)
  881. end
  882. end
  883. end
  884. end
  885.  
  886. function AOEHeal(where,range,amount)
  887. local healed = {}
  888. for _,v in next, getRegion(where,range,{Char}) do
  889. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  890. if(hum and not healed[hum])then
  891. hum.Health = hum.Health + amount
  892. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  893. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  894. end
  895. end
  896. end
  897. end
  898.  
  899.  
  900. --// Attack Functions \\--
  901.  
  902.  
  903. function Slash()
  904. Attack = true
  905. NeutralAnims = false
  906. local sound = Sound(Knife,10209640,1,5,false,true,false)
  907. for i = 0, 2, 0.1 do
  908. swait()
  909. local Alpha = .2
  910. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0343287587, 0.00629056804, 0.0572580174, 0.943793893, 0.00207689893, 0.330528289, 1.0000764e-06, 0.99998033, -0.00628630351, -0.330534875, 0.00593330665, 0.943775296),Alpha)
  911. LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.021652732, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  912. RH.C0 = clerp(RH.C0,CFrame.new(0.498511612, -0.990985274, 0.0154910646, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  913. LS.C0 = clerp(LS.C0,CFrame.new(-1.32692134, 0.474511296, -0.0055731535, 0.934981823, 0.354351997, 0.0156129003, -0.354479939, 0.93504262, 0.00628374517, -0.0123721063, -0.0114096552, 0.999858379),Alpha)
  914. RS.C0 = clerp(RS.C0,CFrame.new(1.12629449, 0.369358033, -0.486052871, 0.490151912, 0.65154773, 0.57899636, 0.721657813, 0.0691910982, -0.688783586, -0.488836735, 0.755445719, -0.436280251),Alpha)
  915. NK.C0 = clerp(NK.C0,CFrame.new(-0.0118216109, 1.49854016, -0.0795068145, 0.943793833, 0.0190048125, -0.329988182, 0.00207654224, 0.997985244, 0.0634154305, 0.330528468, -0.0605363287, 0.94185257),Alpha)
  916. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  917. end
  918. KTrail.Enabled = true
  919. sound:Play()
  920. for i = 0, 2.5, 0.1 do
  921. swait()
  922. AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  923. local Alpha = .25
  924. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0352100767, 0.00629066909, -0.0097481478, 0.817972422, -0.00361463916, -0.575246274, -1.74103582e-06, 0.99998033, -0.00628598873, 0.575257719, 0.00514276745, 0.817956269),Alpha)
  925. LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.0216572341, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  926. RH.C0 = clerp(RH.C0,CFrame.new(0.498511702, -0.990985274, 0.0154905058, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  927. LS.C0 = clerp(LS.C0,CFrame.new(-1.32694602, 0.474510223, -0.00555660389, 0.934981823, 0.354351729, 0.0156157613, -0.354479671, 0.935042739, 0.00628153514, -0.012375474, -0.0114085823, 0.999858379),Alpha)
  928. RS.C0 = clerp(RS.C0,CFrame.new(1.23906493, 0.406229913, 0.00231830776, 0.49015066, -0.849889755, 0.193494052, 0.721655607, 0.520183682, 0.456752002, -0.488841236, -0.0842411816, 0.868295968),Alpha)
  929. NK.C0 = clerp(NK.C0,CFrame.new(0.0315471888, 1.49887729, -0.0257819965, 0.817972481, -0.0330747738, 0.574305832, -0.00361499586, 0.998030663, 0.0626262054, -0.575246155, -0.0533026271, 0.81624186),Alpha)
  930. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  931. end
  932. KTrail.Enabled = false
  933. Attack = false
  934. NeutralAnims = true
  935. end
  936.  
  937. Mouse.Button1Down:connect(function()
  938. if(Attack)then return end
  939. Slash()
  940. end)
  941.  
  942. Mouse.KeyDown:connect(function(k)
  943. if(Attack)then return end
  944. if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  945. if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end
  946. end)
  947.  
  948.  
  949. function Refuse()
  950. Attack = true
  951. warn("xd.")
  952. local oMH = MaxHealth
  953. MaxHealth = "inf"
  954. Hum.MaxHealth = "inf"
  955. Hum.Health = "inf"
  956. Char.Parent = nil
  957. Hum:destroy()
  958. if(not _G.RefusedAnimation)then
  959. _G.RefusedAnimation = true
  960.  
  961.  
  962. local Soul;
  963. function Soul(where,decalId)
  964. local destroy = false
  965. local soul = NewInstance("Part",workspace)
  966. soul.Name = "Soul"
  967. soul.Transparency=1
  968. soul.Size = V3.N(2,2,.05)
  969. soul.Anchored=true
  970. soul.CanCollide=false
  971. soul.CFrame = where
  972. local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  973. local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  974. return soul,heartF,heartB
  975. end
  976. local owo = Root.CFrame
  977. local s,f,b = Soul(owo,1569347904)
  978. swait(60)
  979. local snd = Sound(s,862552636,1,5,false,false,false)
  980. snd:Play()
  981. f.Texture = "rbxassetid://1569348344"
  982. b.Texture = "rbxassetid://1569348344"
  983. swait(15)
  984. snd:Stop()
  985. swait(60)
  986. print'lol'
  987. for i = 0, 6, .1 do
  988. swait()
  989. s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  990. end
  991. local snd = Sound(s,862552636,1,5,false,false,false)
  992. snd:Play()
  993. s.CFrame = owo
  994. f.Texture = "rbxassetid://1569347904"
  995. b.Texture = "rbxassetid://1569347904"
  996. swait(15)
  997. snd:Stop()
  998. swait(60)
  999.  
  1000. s:destroy()
  1001. end
  1002.  
  1003. RJ.Parent = Char
  1004. LS.Parent = Char
  1005. RS.Parent = Char
  1006. LH.Parent = Char
  1007. RH.Parent = Char
  1008. NK.Parent = Char
  1009.  
  1010. LArm.Parent = Char
  1011. RArm.Parent = Char
  1012. LLeg.Parent = Char
  1013. LArm.Parent = Char
  1014. Root.Parent = Char
  1015. Torso.Parent = Char
  1016. Head.Parent = Char
  1017.  
  1018. Knife.Parent = Char
  1019. Hair.Parent = Char
  1020.  
  1021. HW.Parent = Char
  1022. HW2.Parent = Char
  1023.  
  1024.  
  1025. REye:destroy()
  1026. LEye:destroy()
  1027.  
  1028. for _,v in next, Char:children() do
  1029. if(v.Name == 'ShadowFace')then v:destroy() end
  1030. end
  1031. LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1032. LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1033. LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1034.  
  1035. REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1036. REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1037. REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1038. for i = 1, 35 do
  1039. local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1040. FACE.Transparency = 0+(i-1)/35.2
  1041. FACE.Name = 'ShadowFace'
  1042. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1043. NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1044. --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1045. end
  1046. Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  1047. ConnectHum()
  1048. MaxHealth = oMH
  1049. Hum.MaxHealth = MaxHealth
  1050. Hum.Health = MaxHealth
  1051. swait(5)
  1052. Char.Parent = workspace
  1053.  
  1054. Attack = false
  1055. end
  1056.  
  1057. function ConnectHum()
  1058. Hum.Died:connect(Refuse)
  1059. end
  1060. ConnectHum()
  1061.  
  1062.  
  1063. --// Wrap it all up \\--
  1064. while true do
  1065. swait()
  1066. Sine = Sine + Change
  1067. if(not Music)then
  1068. Music = Sound(Torso,MusicID,1,3,true,false,true)
  1069. Music.Name = 'Music'
  1070. end
  1071. Music.Pitch = 1
  1072. Music.Volume = 5
  1073. Music.SoundId = "rbxassetid://"..MusicID
  1074. Music.Parent = Torso
  1075. Music:Resume()
  1076. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
  1077. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1078. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1079. if(not Effects or not Effects.Parent)then
  1080. Effects = IN("Model",Char)
  1081. Effects.Name = "Effects"
  1082. end
  1083. Hum.WalkSpeed = WalkSpeed
  1084. if(State == 'Walk')then
  1085. if(Hum.WalkSpeed >= 24)then
  1086. local wsVal = 22 / (Hum.WalkSpeed/16)
  1087. local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1088. Change = 2
  1089. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1090. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1091. else
  1092. Change = .9
  1093. local wsVal = 8 / (Hum.WalkSpeed/8)
  1094. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1095. LH.C1 = LH.C1:lerp(CF.N(0,1-.2*M.C(Sine/wsVal)/2,.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))-M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0-3*M.C(Sine/wsVal)),0,0),Alpha)
  1096. RH.C1 = RH.C1:lerp(CF.N(0,1+.2*M.C(Sine/wsVal)/2,-.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+3*M.C(Sine/wsVal)),0,0),Alpha)
  1097. end
  1098. else
  1099. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1100. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1101. end
  1102. for _,v in next, Char:children() do
  1103. if(v:IsA'Accessory')then
  1104. v:destroy()
  1105. elseif(v:IsA'Shirt')then
  1106. v.ShirtTemplate = "rbxassetid://271073761"
  1107. elseif(v:IsA'Pants')then
  1108. v.PantsTemplate = "rbxassetid://271073827"
  1109. elseif(v:IsA'CharacterMesh')then
  1110. v:destroy()
  1111. elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1112. v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1113. end
  1114. end
  1115. local face = Head:FindFirstChild'face'
  1116. if(not face)then
  1117. NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  1118. else
  1119. face.Texture = "rbxassetid://404306534"
  1120. end
  1121. RArm.BrickColor = BrickColor.new'Eggplant'
  1122. LArm.BrickColor = BrickColor.new'Eggplant'
  1123. RLeg.BrickColor = BrickColor.new'Eggplant'
  1124. LLeg.BrickColor = BrickColor.new'Eggplant'
  1125. Torso.BrickColor = BrickColor.new'Eggplant'
  1126. Head.BrickColor = BrickColor.new'Eggplant'
  1127. Hum.Name = 'Chara'
  1128. if(Hum.MaxHealth ~= MaxHealth)then
  1129. Hum.MaxHealth = MaxHealth
  1130. end
  1131. Hum.DisplayDistanceType='None'
  1132. if(NeutralAnims)then
  1133. if(State == 'Idle')then
  1134. Change = 1
  1135. local Alpha = .1
  1136. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0999571308, 0+.05*M.C(Sine/16), -0.237876296, 0.857335567, -0.00323621999, -0.514731407, 0, 0.99998033, -0.00628707698, 0.51474154, 0.00539013464, 0.85731858),Alpha)
  1137. LH.C0 = clerp(LH.C0,CFrame.new(-0.536091685, -0.991042495-.05*M.C(Sine/16), -0.0134909991, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1138. RH.C0 = clerp(RH.C0,CFrame.new(0.529067397, -0.991597891-.05*M.C(Sine/16), -0.0818087086, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1139. LS.C0 = clerp(LS.C0,CFrame.new(-1.32175505, 0.156236127+.15*M.C(Sine/16), 0.233877867, 0.877554953, -0.456876248, 0.145469457, 0.259513229, 0.707695842, 0.657129884, -0.403175086, -0.538916171, 0.739607573),Alpha)
  1140. RS.C0 = clerp(RS.C0,CFrame.new(1.2516855, 0.604915917+.15*M.C(Sine/16), -0.0189059302, 0.915104508, -0.287113011, -0.283108115, 0.301054537, 0.953587949, 0.00603589695, 0.268235415, -0.0907544345, 0.959069014),Alpha)
  1141. NK.C0 = clerp(NK.C0,CFrame.new(1.79447234e-05, 1.49895597, -0.0143749639, 0.769539058, -0.360377938, 0.527197778, 0.387706369, 0.919646919, 0.0627188534, -0.507438183, 0.156133309, 0.847424924),Alpha)
  1142. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1143. -- idle
  1144. elseif(State == 'Walk')then
  1145. if(Hum.WalkSpeed >= 24)then
  1146. local wsVal = 22 / (Hum.WalkSpeed/16)
  1147. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1148. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15),M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha)
  1149. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5+15*M.S(Sine/wsVal))),Alpha)
  1150. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5+15*M.S(Sine/wsVal))),Alpha)
  1151. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1152. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1153. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1154. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1155. else
  1156. local wsVal = 8 / (Hum.WalkSpeed/8)
  1157. local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1158. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.05*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha)
  1159. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-25*M.S(Sine/wsVal)),0,M.R(5-5*M.S(Sine/wsVal))),Alpha)
  1160. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+25*M.S(Sine/wsVal)),0,M.R(-5-5*M.S(Sine/wsVal))),Alpha)
  1161. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1162. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1163. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1164. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1165. end
  1166. elseif(State == 'Jump' or State == 'Fall')then
  1167. if(Walking)then
  1168. local Alpha = .2
  1169. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1170. LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
  1171. RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
  1172. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1173. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1174. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1175. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1176. else
  1177. local Alpha = .2
  1178. RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1179. LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
  1180. RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
  1181. LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1182. RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1183. NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1184. HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1185. end
  1186. elseif(State == 'Paralyzed')then
  1187. -- paralyzed
  1188. elseif(State == 'Sit')then
  1189. -- sit
  1190. end
  1191. end
  1192. end
  1193.  
  1194. wait()
  1195. LoudVolume = true
  1196. Submerged = false
  1197. Music = true
  1198. script.Name = "InkPerson" -- or Bendy.
  1199. Character = game.Players.LocalPlayer.Character
  1200. Head = Character.Head
  1201. anim = Character.Humanoid.Animator
  1202. b23 = Instance.new("BoolValue",Character)b23.Name = "InkPerson"
  1203. rage = false
  1204. CV="Blue"
  1205. p = game.Players.LocalPlayer
  1206. char = p.Character
  1207. local txt = Instance.new("BillboardGui", char)
  1208. txt.Adornee = char .Head
  1209. txt.Name = "_status"
  1210. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1211. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1212. local text = Instance.new("TextLabel", txt)
  1213. text.Size = UDim2.new(10, 0, 7, 0)
  1214. text.FontSize = "Size24"
  1215. text.TextScaled = true
  1216. text.TextTransparency = 0
  1217. text.BackgroundTransparency = 1
  1218. text.TextTransparency = 0
  1219. text.TextStrokeTransparency = 0
  1220. text.Font = "Arcade"
  1221. text.TextStrokeColor3 = Color3.new(0,0,0)
  1222.  
  1223. text.TextColor3 = Color3.new(0,1,0)
  1224. text.Text = ""
  1225. s = Instance.new("Sound",char.Head)
  1226. s.Name = "BendyMusic"
  1227. s.SoundId = "rbxassetid://746781548"
  1228. s.Pitch = 1
  1229. if LoudVolume == true then
  1230. s.Volume = 5
  1231. else
  1232. s.Volume = 1
  1233. end
  1234. s.Looped = true
  1235. wait(0.1)
  1236. s:play()
  1237. ds = Instance.new("ChorusSoundEffect",s)ds.Enabled = false
  1238. ds2 = Instance.new("TremoloSoundEffect",s)ds2.Frequency = 1.25 ds2.Depth = 0.75 ds2.Duty = 1.5 ds2.Enabled = false
  1239. Music = false
  1240. p = game.Players.LocalPlayer
  1241. char = p.Character
  1242. torso = char.Torso
  1243. neck = char.Torso.Neck
  1244. cos = math.cos
  1245. Player=game:GetService("Players").LocalPlayer
  1246. Character=Player.Character
  1247. PlayerGui=Player.PlayerGui
  1248. Backpack=Player.Backpack
  1249. Torso=Character.Torso
  1250. Head=Character.Head
  1251. Humanoid=Character.Humanoid Humanoid.Name = "Bendy"
  1252. LeftArm=Character["Left Arm"]
  1253. LeftLeg=Character["Left Leg"]
  1254. RightArm=Character["Right Arm"]
  1255. RightLeg=Character["Right Leg"]
  1256. cam=game.Workspace.CurrentCamera
  1257. LS=Torso["Left Shoulder"]
  1258. LH=Torso["Left Hip"]
  1259. RS=Torso["Right Shoulder"]
  1260. RH=Torso["Right Hip"]
  1261. Face = Head.face
  1262. Neck=Torso.Neck
  1263. it=Instance.new
  1264. attacktype=1
  1265. vt=Vector3.new
  1266. cf=CFrame.new
  1267. euler=CFrame.fromEulerAnglesXYZ
  1268. angles=CFrame.Angles
  1269. cloaked=false
  1270. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1271. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1272. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1273. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1274. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1275. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1276. RootPart=Character.HumanoidRootPart
  1277. RootJoint=RootPart.RootJoint
  1278. RootCF=euler(-1.57,0,3.14)
  1279. attack = false
  1280. bounce=false
  1281. cooldown=false
  1282. deeznuts=false
  1283. attackdebounce = false
  1284. deb=false
  1285. equipped=true
  1286. hand=false
  1287. MMouse=nil
  1288. combo=0
  1289. mana=0
  1290. trispeed=.2
  1291. attackmode='none'
  1292. local idle=0
  1293. local Anim="Idle"
  1294. local Effects={}
  1295. local gun=false
  1296. local shoot=false
  1297. player=nil
  1298. mana=0
  1299. cam = workspace.CurrentCamera
  1300. ZTarget = nil
  1301. RocketTarget = nil
  1302. local m = Instance.new("Model",Character)
  1303. m.Name = "WeaponModel"
  1304. Humanoid.MaxHealth = math.huge
  1305. Humanoid.Health = Humanoid.MaxHealth
  1306. mouse=Player:GetMouse()
  1307. --welds
  1308. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1309. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1310. LH=Torso["Left Hip"]
  1311. RH=Torso["Right Hip"]
  1312. TorsoColor=Torso.BrickColor
  1313. function NoOutline(Part)
  1314. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1315. end
  1316. player=Player
  1317. ch=Character
  1318. RSH=ch.Torso["Right Shoulder"]
  1319. LSH=ch.Torso["Left Shoulder"]
  1320. --
  1321.  
  1322. function swait(num)
  1323. if num==0 or num==nil then
  1324. game:service'RunService'.Heartbeat:wait(0)
  1325. else
  1326. for i=0,num do
  1327. game:service'RunService'.Heartbeat:wait(0)
  1328. end
  1329. end
  1330. end
  1331.  
  1332.  
  1333. local Player = game.Players.localPlayer
  1334. local Character = Player.Character
  1335. local red = 255
  1336. local green = 255
  1337. local blue = 255
  1338. local mouse = Player:GetMouse()
  1339. local m = Instance.new("Model", Character)
  1340. m.Name = "WeaponModel"
  1341. local Head = Character.Head
  1342. local Torso = Character.Torso
  1343. local cam = game.Workspace.CurrentCamera
  1344. local RootPart = Character.HumanoidRootPart
  1345. local RootJoint = RootPart.RootJoint
  1346. local equipped = false
  1347. local attack = false
  1348. local Anim = "Idle"
  1349. local idle = 0
  1350. local attacktype = 1
  1351. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1352. local velocity = RootPart.Velocity.y
  1353. local sine = 0
  1354. local change = 1
  1355. local charge = 1
  1356. local grabbed = false
  1357. local cn = CFrame.new
  1358. local mr = math.rad
  1359. local angles = CFrame.Angles
  1360. local ud = UDim2.new
  1361. local c3 = Color3.new
  1362. local lim = 0
  1363. local st = 0
  1364. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1365. local attacktype = 1
  1366. local ZTarget, RocketTarget = nil, nil
  1367. local euler = CFrame.fromEulerAnglesXYZ
  1368. local v = game.Players.localPlayer
  1369. local torso = v.Character.Torso
  1370. -- Bypass
  1371. local trazx = Instance.new("ParticleEmitter")
  1372. local soonds = Instance.new("Sound")
  1373. --
  1374. plr = game.Players.LocalPlayer
  1375. char = game.Players.LocalPlayer.Character
  1376. t = game.Players.LocalPlayer.Character.Torso
  1377. h = game.Players.LocalPlayer.Character.Head
  1378. ra = game.Players.LocalPlayer.Character["Right Arm"]
  1379. la = game.Players.LocalPlayer.Character["Left Arm"]
  1380. rl = game.Players.LocalPlayer.Character["Right Leg"]
  1381. ll = game.Players.LocalPlayer.Character["Left Leg"]
  1382. hrp = Character.HumanoidRootPart
  1383. tors = Character.Torso
  1384. lleg = Character["Left Leg"]
  1385. root = Character.HumanoidRootPart
  1386. hed = Character.Head
  1387. rleg = Character["Right Leg"]
  1388. rarm = Character["Right Arm"]
  1389. larm = Character["Left Arm"]
  1390. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1391. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1392. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1393. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1394. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1395. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1396. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1397. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1398. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1399. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1400. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1401. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1402. RS = tors:FindFirstChild("Right Shoulder")
  1403. LS = tors:FindFirstChild("Left Shoulder")
  1404. RH = tors:FindFirstChild("Right Hip")
  1405. LH = tors:FindFirstChild("Left Hip")
  1406. RJ = hrp:FindFirstChild("RootJoint")
  1407. N = tors:FindFirstChild("Neck")
  1408. cf = CFrame.new
  1409. ang = CFrame.Angles
  1410. rd = math.rad
  1411. rd2 = math.random
  1412. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  1413. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  1414. local Effects = {}
  1415. attack = false
  1416. local attacking = false
  1417. vt = Vector3.new
  1418. bc = BrickColor.new
  1419. br = BrickColor.random
  1420. it = Instance.new
  1421. cf = CFrame.new
  1422. euler = CFrame.fromEulerAnglesXYZ
  1423. angles = CFrame.Angles
  1424. matr = math.random
  1425. local colororg = BrickColor.new("Dark indigo") -- set color u like
  1426. local meshtype = "Sphere" -- only for specialmesh
  1427. mouse = plr:GetMouse()
  1428.  
  1429. function lerpz(joint, prop, cfrmz, alp)
  1430. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  1431. end
  1432. function resetlerp()
  1433. RJ.C0 = RJC0
  1434. RJ.C1 = RJC1
  1435. N.C0 = NC0
  1436. N.C1 = NC1
  1437. RS.C0 = RSC0
  1438. RS.C1 = RSC1
  1439. LS.C0 = LSC0
  1440. LS.C1 = LSC1
  1441. RH.C0 = RHC0
  1442. RH.C1 = RHC1
  1443. LH.C0 = LHC0
  1444. LH.C1 = LHC1
  1445. end
  1446. local S = Instance.new("Sound",hrp)S.SoundId = "rbxassetid://718967797" S:Play() S.Volume = 1
  1447. char.Head:FindFirstChild("face").Texture = "rbxassetid://258433204"
  1448. for i = 1,35,0.5 do
  1449. swait()
  1450. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  1451. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  1452. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-35), rd(0), rd(180)), 0.3)
  1453. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1454. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-35), rd(0), rd(-180)), 0.3)
  1455. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1456. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  1457. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1458. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  1459. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1460. end
  1461. char.Head:FindFirstChild("face").Texture = ""
  1462. char:findFirstChild("Body Colors"):remove()
  1463. for i,v in pairs (char:children()) do
  1464. if v.ClassName == "Part" then
  1465. if v.Name ~= "HumanoidRootPart" then
  1466. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  1467. local tra = trazx:clone()tra.Parent = v
  1468. tra.Texture = "rbxassetid://286708119"
  1469. tra.LightEmission = 0
  1470. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1471. tra.Rate = 200
  1472. tra.Lifetime = NumberRange.new(1)
  1473. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,3,0)})
  1474. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1475. tra.Speed = NumberRange.new(0) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1476. tra.VelocityInheritance = 0.5 tra.ZOffset = 3
  1477. if v.Name ~= "Head" then
  1478. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  1479. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  1480. end
  1481. end
  1482. end
  1483. end
  1484. char.Head.Transparency = 1
  1485. local P = Instance.new("Part",char)P.Size = Vector3.new(2,1,1)P.Anchored = false P.CanCollide = false P.Name = "HeadPart"
  1486. local W = Instance.new("Weld",P)W.Part0 = P W.Part1 = char.Head
  1487. local HM = Instance.new("SpecialMesh",P)HM.MeshId = "rbxassetid://539723444" HM.TextureId = "rbxassetid://64619306" HM.Scale = Vector3.new(0.97,0.97,0.97)
  1488. wait(3)
  1489. char.Head:FindFirstChild("face").Texture = ""
  1490. if char:findFirstChild("Shirt")~=nil then
  1491. char:findFirstChild("Shirt"):remove()
  1492. end
  1493. if char:findFirstChild("Pants")~=nil then
  1494. char:findFirstChild("Pants"):remove()
  1495. end
  1496. for i,v in pairs (char:children()) do
  1497. if v.ClassName == "Accessory" then
  1498. v.Handle.Mesh.TextureId = "rbxassetid://64619306"
  1499. v.Handle.Material = "Sand"
  1500. end
  1501. if v.ClassName == "Part" then
  1502. if v:findFirstChild("Ink")~=nil then
  1503. v:findFirstChild("Ink").Acceleration = Vector3.new(0,-10,0) v:findFirstChild("Ink").LockedToPart = false v:findFirstChild("Ink").ZOffset = 0
  1504. v:findFirstChild("Ink").Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.6,0.025),NumberSequenceKeypoint.new(1,0,0)})
  1505. end
  1506. end
  1507. end
  1508. local S2 = soonds:clone() S2.Parent = hrp S2.SoundId = "rbxassetid://137473066" S2:Play() S2.Volume = 1 S2.PlaybackSpeed = 1.75
  1509. New = function(Object, Parent, Name, Data)
  1510. local Object = Instance.new(Object)
  1511. for Index, Value in pairs(Data or {}) do
  1512. Object[Index] = Value
  1513. end
  1514. Object.Parent = Parent
  1515. Object.Name = Name
  1516. return Object
  1517. end
  1518.  
  1519. function InkPuddle(Size,CFramez)
  1520. local P4 = Instance.new("Part",game.Workspace)P4.BrickColor = BrickColor.new("Really black")P4.CanCollide = false P4.Name = "Ink"
  1521. P4.CFrame = CFramez P4.Anchored = true local M6 = Instance.new("SpecialMesh",P4) M6.MeshId = "rbxassetid://465435723" M6.TextureId = "rbxassetid://64619306"
  1522. M6.Scale = Vector3.new(Size/30,0.01,Size/30)game.Debris:AddItem(P4,15)
  1523. P4.Size = P4.Size + Vector3.new(0.2,0.2,0.2)
  1524. end
  1525.  
  1526. function Submerge()
  1527. if Submerged == false then
  1528. Submerged = true
  1529. attack = true
  1530. hrp.Anchored = true
  1531. Humanoid.WalkSpeed = 150 Humanoid.JumpPower = 250
  1532. local P = Instance.new("Part",game.Workspace)P.Transparency = 1 P.Anchored = true P.CanCollide = false P.Size = Vector3.new(0.2,0.2,0.2)
  1533. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  1534. local tra = trazx:clone()tra.Parent = P
  1535. tra.Texture = "rbxassetid://286708119"
  1536. tra.LightEmission = 0
  1537. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1538. tra.Rate = 400
  1539. tra.Lifetime = NumberRange.new(0.5) tra.Acceleration = Vector3.new(0,-125,0)
  1540. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1541. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1542. tra.Speed = NumberRange.new(25) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1543. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  1544. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://466869979" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  1545. for i = 1,1 do
  1546. swait()
  1547. lerpz(RJ, "C0", RJC0 * cf(0, 0, 5000) * ang(rd(0), rd(0), rd(0)), 1)
  1548. end
  1549. hrp.Anchored = false
  1550. tra.Enabled = false
  1551. game.Debris:AddItem(P,2)
  1552. InkPuddle(12,hrp.CFrame*CFrame.new(0,-2.5,0))
  1553. while Submerged == true do
  1554. wait()
  1555. end
  1556. InkPuddle(24,hrp.CFrame*CFrame.new(0,-2.5,0))
  1557. Humanoid.WalkSpeed = 16 Humanoid.JumpPower = 50
  1558. attack = false
  1559. else
  1560. Submerged = false
  1561. local P = Instance.new("Part",game.Workspace)P.Transparency = 1 P.Anchored = true P.CanCollide = false P.Size = Vector3.new(0.2,0.2,0.2)
  1562. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  1563. local tra = trazx:clone()tra.Parent = P
  1564. tra.Texture = "rbxassetid://286708119"
  1565. tra.LightEmission = 0
  1566. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1567. tra.Rate = 400
  1568. tra.Lifetime = NumberRange.new(1.5) tra.Acceleration = Vector3.new(0,-150,0)
  1569. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(1,0,0)})
  1570. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1571. tra.Speed = NumberRange.new(75) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1572. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  1573. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://130779572" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  1574. wait(0.25)
  1575. hrp.Anchored = false
  1576. tra.Enabled = false
  1577. game.Debris:AddItem(P,2)
  1578. end
  1579. end
  1580. CarriedPlayah = nil
  1581. function PullSubmerge()
  1582. if Submerged == false and CarriedPlayah == nil then
  1583. local hit = false
  1584. for i,v in pairs (game.Workspace:children()) do
  1585. if v ~= char and v:findFirstChild("Humanoid")~=nil and v:findFirstChild("HumanoidRootPart")~=nil then
  1586. if (v.HumanoidRootPart.Position-hrp.Position).magnitude <= 4 then
  1587. if hit == true then return end
  1588. InkPuddle(18,hrp.CFrame*CFrame.new(0,-2.5,0))
  1589. v.Parent = nil
  1590. CarriedPlayah = v
  1591. hrp.Anchored = true
  1592. Humanoid.WalkSpeed = 150
  1593. Submerged = true
  1594. attack = true
  1595. --
  1596. for i,v in pairs (v:children()) do
  1597. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1598. if v.Name ~= "HumanoidRootPart" then
  1599. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  1600. local tra = trazx:clone()tra.Parent = v
  1601. tra.Texture = "rbxassetid://286708119"
  1602. tra.LightEmission = 0
  1603. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1604. tra.Rate = 200
  1605. tra.Lifetime = NumberRange.new(1)
  1606. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,2,0)})
  1607. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1608. tra.Speed = NumberRange.new(0) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1609. tra.VelocityInheritance = 0.5 tra.ZOffset = 3
  1610. if v.Name ~= "Head" then
  1611. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  1612. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  1613. end
  1614. end
  1615. end
  1616. end
  1617. v.Head:FindFirstChild("face"):remove()
  1618. local HM = Instance.new("SpecialMesh",v.Head)HM.MeshId = "rbxassetid://539723444" HM.TextureId = "rbxassetid://64619306"
  1619. if v:findFirstChild("Shirt")~=nil then
  1620. v:findFirstChild("Shirt"):remove()
  1621. end
  1622. if v:findFirstChild("Pants")~=nil then
  1623. v:findFirstChild("Pants"):remove()
  1624. end
  1625. for i,v in pairs (v:children()) do
  1626. if v.ClassName == "Accessory" then
  1627. v.Handle.Mesh.TextureId = "rbxassetid://64619306"
  1628. v.Handle.Material = "Sand"
  1629. end
  1630. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1631. if v.Name ~= "HumanoidRootPart" then
  1632. if v:findFirstChild("Mesh")~= nil then
  1633. if v:findFirstChild("Mesh").ClassName == "SpecialMesh" then
  1634. v.Mesh.TextureId = "rbxassetid://64619306"
  1635. end
  1636. end
  1637. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  1638. v:findFirstChild("Ink").Acceleration = Vector3.new(0,-10,0) v:findFirstChild("Ink").LockedToPart = false v:findFirstChild("Ink").ZOffset = 0
  1639. v:findFirstChild("Ink").Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.2,0.025),NumberSequenceKeypoint.new(1,0,0)})
  1640. if v.Name ~= "Head" then
  1641. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  1642. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  1643. end
  1644. end
  1645. end
  1646. end
  1647. --
  1648. local P = Instance.new("Part",game.Workspace)P.Transparency = 1 P.Anchored = true P.CanCollide = false P.Size = Vector3.new(0.2,0.2,0.2)
  1649. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  1650. local tra = trazx:clone()tra.Parent = P
  1651. tra.Texture = "rbxassetid://286708119"
  1652. tra.LightEmission = 0
  1653. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1654. tra.Rate = 400
  1655. tra.Lifetime = NumberRange.new(0.5) tra.Acceleration = Vector3.new(0,-125,0)
  1656. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1657. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1658. tra.Speed = NumberRange.new(25) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1659. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  1660. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://466869979" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  1661. for i = 1,1 do
  1662. lerpz(RJ, "C0", RJC0 * cf(0, 0, 5000) * ang(rd(0), rd(0), rd(0)), 1)
  1663. end
  1664. hrp.Anchored = false
  1665. tra.Enabled = false
  1666. game.Debris:AddItem(P,2)
  1667. end
  1668. end
  1669. end
  1670. while Submerged == true do
  1671. wait()
  1672. end
  1673. Humanoid.WalkSpeed = 16
  1674. attack = false
  1675. elseif CarriedPlayah ~= nil then
  1676. Submerged = false
  1677. InkPuddle(30,hrp.CFrame*CFrame.new(0,-2.5,0))
  1678. local P = Instance.new("Part",game.Workspace)P.Transparency = 1 P.Anchored = true P.CanCollide = false P.Size = Vector3.new(0.2,0.2,0.2)
  1679. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  1680. local tra = trazx:clone()tra.Parent = P
  1681. tra.Texture = "rbxassetid://286708119"
  1682. tra.LightEmission = 0
  1683. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1684. tra.Rate = 400
  1685. tra.Lifetime = NumberRange.new(1.5) tra.Acceleration = Vector3.new(0,-150,0)
  1686. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(1,0,0)})
  1687. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1688. tra.Speed = NumberRange.new(75) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1689. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  1690. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://130779572" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  1691. CarriedPlayah.Parent = game.Workspace
  1692. CarriedPlayah.HumanoidRootPart.CFrame = hrp.CFrame
  1693. CarriedPlayah = nil
  1694. wait(0.25)
  1695. hrp.Anchored = false
  1696. tra.Enabled = false
  1697. game.Debris:AddItem(P,2)
  1698. end
  1699. end
  1700.  
  1701. function Whistle()
  1702. local Whis = Instance.new("Sound",game.Workspace) Whis.Volume = 2 Whis.SoundId = "rbxassetid://850062880" Whis:Play()
  1703. end
  1704.  
  1705. local Mosci = true
  1706. function Musicz()
  1707. if LoudVolume == true then
  1708. if Mosci == true then
  1709. Mosci = false
  1710. for i = 1,10 do
  1711. s.Volume = s.Volume - 5/10
  1712. wait()
  1713. end
  1714. else
  1715. Mosci = true
  1716. for i = 1,10 do
  1717. s.Volume = s.Volume + 5/10
  1718. wait()
  1719. end
  1720. end
  1721. else
  1722. if Mosci == true then
  1723. Mosci = false
  1724. for i = 1,10 do
  1725. s.Volume = s.Volume - 0.1
  1726. wait()
  1727. end
  1728. else
  1729. Mosci = true
  1730. for i = 1,10 do
  1731. s.Volume = s.Volume + 0.1
  1732. wait()
  1733. end
  1734. end
  1735. end
  1736. end
  1737.  
  1738. moosict = 1
  1739. function MusicSwitch()
  1740. if moosict == 1 then
  1741. moosict = 2
  1742. s.SoundId = "rbxassetid://742318689"
  1743. elseif moosict == 2 then
  1744. moosict = 3
  1745. s.SoundId = "rbxassetid://695408779"
  1746. elseif moosict == 3 then
  1747. moosict = 4
  1748. s.SoundId = "rbxassetid://914975605"
  1749. elseif moosict == 4 then
  1750. moosict = 1
  1751. s.SoundId = "rbxassetid://746781548"
  1752. end
  1753. end
  1754. Dance1 = false
  1755. Dance2 = false
  1756. function DanceOne()
  1757. if Dance1 == false then
  1758. Dance1 = true attack = true
  1759. anim.Parent = nil
  1760. local Cane = Instance.new("Part",char)Cane.Size = Vector3.new(4,0.2,0.2)Cane.CanCollide = false Cane.BrickColor = BrickColor.new("Pine Cone")
  1761. Cane.Anchored = false Cane.Material = "Wood"
  1762. local CW = Instance.new("Weld",RightArm)CW.Part0 = RightArm CW.Part1 = Cane CW.C0 = CFrame.new(-1.5,-1,0)
  1763. while Dance1 == true do
  1764. CW.C0 = CFrame.new(-0.5,-1,0)
  1765. for i = 1,3 do -- RIGHT
  1766. swait()
  1767. lerpz(RJ, "C0", RJC0 * cf(-0.5, 0, 0) * ang(rd(0), rd(-5), rd(0)), 0.3)
  1768. lerpz(N, "C0", NC0 * cf(0, 0, -0.35) * ang(rd(0), rd(-15), rd(0)), 0.3)
  1769. lerpz(RS, "C0", RSC0 * cf(0, -0.2, 0) * ang(rd(-5), rd(-45), rd(25)), 0.3)
  1770. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1771. lerpz(LS, "C0", LSC0 * cf(0, 0.2, -1) * ang(rd(75), rd(10), rd(-45)), 0.3)
  1772. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1773. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-50), rd(0), rd(0)), 0.3)
  1774. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1775. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1776. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1777. end
  1778. wait(0.3)
  1779. CW.C0 = CFrame.new(-1.5,-1,0)
  1780. for i = 1,3 do
  1781. swait()
  1782. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1783. lerpz(N, "C0", NC0 * cf(0, 0, 0.3) * ang(rd(0), rd(0), rd(0)), 0.3)
  1784. lerpz(RS, "C0", RSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(45)), 0.3)
  1785. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1786. lerpz(LS, "C0", LSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(-45)), 0.3)
  1787. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1788. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1789. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1790. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1791. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1792. end
  1793. wait(0.1)
  1794. CW.C0 = CFrame.new(-0.5,-1,0)
  1795. for i = 1,3 do -- LEFT
  1796. swait()
  1797. lerpz(RJ, "C0", RJC0 * cf(0.5, 0, 0) * ang(rd(0), rd(5), rd(0)), 0.3)
  1798. lerpz(N, "C0", NC0 * cf(0, 0, -0.35) * ang(rd(0), rd(15), rd(0)), 0.3)
  1799. lerpz(RS, "C0", RSC0 * cf(0, 0.2, -1) * ang(rd(75), rd(-10), rd(45)), 0.3)
  1800. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1801. lerpz(LS, "C0", LSC0 * cf(0, -0.2, 0) * ang(rd(-85), rd(-25), rd(-85)), 0.3)
  1802. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1803. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1804. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1805. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-50), rd(0), rd(0)), 0.3)
  1806. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1807. end
  1808. wait(0.3)
  1809. CW.C0 = CFrame.new(-1.5,-1,0)
  1810. for i = 1,3 do
  1811. swait()
  1812. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1813. lerpz(N, "C0", NC0 * cf(0, 0, 0.3) * ang(rd(0), rd(0), rd(0)), 0.3)
  1814. lerpz(RS, "C0", RSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(45)), 0.3)
  1815. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1816. lerpz(LS, "C0", LSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(-45)), 0.3)
  1817. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1818. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1819. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1820. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1821. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1822. end
  1823. wait(0.1)
  1824. end
  1825. Cane:remove()
  1826. anim.Parent = Humanoid
  1827. attack = false
  1828. else
  1829. Dance1 = false
  1830. end
  1831. end
  1832.  
  1833. function DanceTwo()
  1834. if Dance2 == false then
  1835. Dance2 = true attack = true
  1836. anim.Parent = nil
  1837. while Dance2 == true do
  1838. for i = 1,3 do
  1839. swait()
  1840. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1) * ang(rd(0), rd(0), rd(0)), 0.35)
  1841. lerpz(N, "C0", NC0 * cf(0, 0, 0.25) * ang(rd(0), rd(0), rd(0)), 0.35)
  1842. lerpz(RS, "C0", RSC0 * cf(0, -0.1, 0) * ang(rd(5), rd(0), rd(0)), 0.35)
  1843. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1844. lerpz(LS, "C0", LSC0 * cf(0, -0.1, 0) * ang(rd(5), rd(0), rd(0)), 0.35)
  1845. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1846. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1847. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1848. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1849. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1850. end
  1851. wait(0.415)
  1852. for i = 1,3 do
  1853. swait()
  1854. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(0), rd(0), rd(0)), 0.35)
  1855. lerpz(N, "C0", NC0 * cf(0.2, 0, -0.2) * ang(rd(0), rd(-20), rd(0)), 0.35)
  1856. lerpz(RS, "C0", RSC0 * cf(0, 0.3, 0) * ang(rd(-5), rd(0), rd(0)), 0.35)
  1857. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1858. lerpz(LS, "C0", LSC0 * cf(0, 0.3, 0) * ang(rd(-5), rd(0), rd(0)), 0.35)
  1859. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1860. lerpz(RH, "C0", RHC0 * cf(0, 0.35, 0) * ang(rd(-4), rd(0), rd(0)), 0.35)
  1861. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1862. lerpz(LH, "C0", LHC0 * cf(0, 0.35, 0) * ang(rd(-4), rd(0), rd(0)), 0.35)
  1863. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  1864. end
  1865. wait(0.415)
  1866. end
  1867. anim.Parent = Humanoid
  1868. attack = false
  1869. else
  1870. Dance2 = false
  1871. end
  1872. end
  1873.  
  1874. Smile = false
  1875. function BSmile()
  1876. if Smile == true then
  1877. char.Head:FindFirstChild("face").Texture = "rbxassetid://875244780"
  1878. Smile = false
  1879. else
  1880. Smile = true
  1881. char.Head:FindFirstChild("face").Texture = ""
  1882. end
  1883. end
  1884.  
  1885. function BFrown()
  1886. if Smile == true then
  1887. char.Head:FindFirstChild("face").Texture = "rbxassetid://876092595"
  1888. Smile = false
  1889. else
  1890. Smile = true
  1891. char.Head:FindFirstChild("face").Texture = ""
  1892. end
  1893. end
  1894.  
  1895. TimeFreeze = false
  1896. function TimeFresh()
  1897. if TimeFreeze == false then
  1898. TimeFreeze = true
  1899. for i,v in pairs (char:children()) do
  1900. if v.ClassName == "Accessory" then
  1901. for i,v2 in pairs (v:children()) do
  1902. if v2.ClassName == "Part" then
  1903. v2.Anchored = true
  1904. end
  1905. end
  1906. end
  1907. for i,v in pairs (char:children()) do
  1908. if v.ClassName == "Part" then
  1909. v.Anchored = true
  1910. end
  1911. end
  1912. end
  1913. else
  1914. TimeFreeze = false
  1915. end
  1916. end
  1917.  
  1918. function InkClone()
  1919. char.Archivable = true
  1920. local C = char:clone()C.Parent = game.Workspace
  1921. C.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame
  1922. C.HumanoidRootPart.Touched:connect(function(Part)
  1923. if Part.Parent ~= char and Part.Name ~= "Handle" and Part.Size.Z <= 150 and Part.Size.X <= 150 and Part.Size.Y <= 150 then
  1924. local P = Instance.new("Part",game.Workspace)P.Transparency = 1 P.Anchored = true P.CanCollide = false P.Size = Vector3.new(0.2,0.2,0.2)
  1925. P.CFrame = C.HumanoidRootPart.CFrame*CFrame.new(0,-2,0)
  1926. local tra = trazx:clone()tra.Parent = P
  1927. tra.Texture = "rbxassetid://286708119"
  1928. tra.LightEmission = 0
  1929. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  1930. tra.Rate = 400
  1931. tra.Lifetime = NumberRange.new(1.5) tra.Acceleration = Vector3.new(0,-150,0)
  1932. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,6,0),NumberSequenceKeypoint.new(1,0,0)})
  1933. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1934. tra.Speed = NumberRange.new(45) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  1935. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  1936. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://130779572" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  1937. InkPuddle(4,C.HumanoidRootPart.CFrame*CFrame.new(0,-2.5,0))
  1938. C:remove()
  1939. wait(0.1)
  1940. tra.Enabled = false game.Debris:AddItem(P,2)
  1941. end
  1942. end)
  1943. char.Archivable = false
  1944. end
  1945.  
  1946. mouse.KeyDown:connect(function(key)
  1947. if key == "z" then
  1948. Submerge()
  1949. end
  1950. if key == "x" then
  1951. PullSubmerge()
  1952. end
  1953. if key == "c" then
  1954. InkClone()
  1955. end
  1956. if key == "b" then
  1957. Whistle()
  1958. end
  1959. if key == "f" then
  1960. DanceOne()
  1961. end
  1962. if key == "g" then
  1963. DanceTwo()
  1964. end
  1965. if key == "j" then
  1966. TimeFresh()
  1967. end
  1968. if key == "l" then
  1969. BSmile()
  1970. end
  1971. if key == ";" then
  1972. BFrown()
  1973. end
  1974. if key == "n" then
  1975. MusicSwitch()
  1976. end
  1977. if key == "m" then
  1978. Musicz()
  1979. end
  1980. end)
  1981.  
  1982. game:GetService("RunService").RenderStepped:connect(function()
  1983.  
  1984. Humanoid.MaxHealth = Humanoid.MaxHealth*2
  1985. Humanoid.Health = Humanoid.MaxHealth*2
  1986. if TimeFreeze == false then
  1987. for i,v in pairs (char:children()) do
  1988. if v.ClassName == "Accessory" then
  1989. for i,v2 in pairs (v:children()) do
  1990. if v2.ClassName == "Part" then
  1991. v2.Anchored = false
  1992. for i,v3 in pairs (v2:children()) do
  1993. if v3.ClassName == "Fire" then
  1994. v3:remove()
  1995. end
  1996. if v3.ClassName == "ParticleEmitter" and v3.Name ~= "Ink" then
  1997. v3:remove()
  1998. end
  1999. end
  2000. end
  2001. end
  2002. end
  2003. end
  2004. for i,v in pairs (char:children()) do
  2005. if v.ClassName == "Part" then
  2006. v.Anchored = false
  2007. end
  2008. end
  2009. end
  2010. if attack == false and Dance1 == false and Dance2 == false then
  2011. if RootPart.Velocity.y > 1 then
  2012. Anim = "Jump"
  2013.  
  2014. else
  2015. if RootPart.Velocity.y < -1 then
  2016. Anim = "Fall"
  2017.  
  2018. else
  2019. if Torsovelocity < 1 then
  2020. Anim = "Idle"
  2021. local animsped = 1
  2022. sine = sine + 5
  2023. lerpz(RJ, "C0", RJC0 * cf(0, 0, ( 0.1 * cos(sine / 20))) * ang(rd(0), rd(0), rd(0)), animsped)
  2024. lerpz(N, "C0", NC0 * cf(0, 0, -(0.1 * cos(sine / 40))) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), animsped)
  2025. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), animsped)
  2026. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  2027. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), animsped)
  2028. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  2029. lerpz(RH, "C0", RHC0 * cf(0, (0.1 * cos(sine / 40)), 0) * ang(rd(-5), rd(-5), rd(1)), animsped)
  2030. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  2031. lerpz(LH, "C0", LHC0 * cf(0, (0.1 * cos(sine / 40)), 0) * ang(rd(-5), rd(5), rd(1)), animsped)
  2032. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  2033. else
  2034. if Torsovelocity > 2 then
  2035. Anim = "Walk"
  2036.  
  2037. end
  2038. end
  2039. end
  2040. end
  2041. end
  2042. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement