VoidScriptPlayer

Untitled

May 25th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --void Script bbuilder fe script converter V2
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7.  
  8. wait()
  9. LoudVolume = true
  10. Submerged = false
  11. Music = true
  12. script.Name = "InkPerson" -- or Bendy.
  13. Character = game.Players.LocalPlayer.Character
  14. Head = Character.Head
  15. anim = Character.Humanoid.Animator
  16. b23 = Instance.new("BoolValue",Character)b23.Name = "InkPerson"
  17. rage = false
  18. CV="Blue"
  19. p = game.Players.LocalPlayer
  20. char = p.Character
  21. local txt = Instance.new("BillboardGui", char)
  22. txt.Adornee = char .Head
  23. txt.Name = "_status"
  24. txt.Size = UDim2.new(2, 0, 1.2, 0)
  25. txt.StudsOffset = Vector3.new(-9, 8, 0)
  26. local text = Instance.new("TextLabel", txt)
  27. text.Size = UDim2.new(10, 0, 7, 0)
  28. text.FontSize = "Size24"
  29. text.TextScaled = true
  30. text.TextTransparency = 0
  31. text.BackgroundTransparency = 1
  32. text.TextTransparency = 0
  33. text.TextStrokeTransparency = 0
  34. text.Font = "Arcade"
  35. text.TextStrokeColor3 = Color3.new(0,0,0)
  36.  
  37. text.TextColor3 = Color3.new(0,1,0)
  38. text.Text = ""
  39. s = Instance.new("Sound",char.Head)
  40. s.Name = "BendyMusic"
  41. s.SoundId = "rbxassetid://746781548"
  42. s.Pitch = 1
  43. if LoudVolume == true then
  44. s.Volume = 5
  45. else
  46. s.Volume = 1
  47. end
  48. s.Looped = true
  49. wait(0.1)
  50. s:play()
  51. ds = Instance.new("ChorusSoundEffect",s)ds.Enabled = false
  52. ds2 = Instance.new("TremoloSoundEffect",s)ds2.Frequency = 1.25 ds2.Depth = 0.75 ds2.Duty = 1.5 ds2.Enabled = false
  53. Music = false
  54. p = game.Players.LocalPlayer
  55. char = p.Character
  56. torso = char.Torso
  57. neck = char.Torso.Neck
  58. cos = math.cos
  59. Player=game:GetService("Players").LocalPlayer
  60. Character=Player.Character
  61. PlayerGui=Player.PlayerGui
  62. Backpack=Player.Backpack
  63. Torso=Character.Torso
  64. Head=Character.Head
  65. Humanoid=Character.Humanoid Humanoid.Name = "Bendy"
  66. LeftArm=Character["Left Arm"]
  67. LeftLeg=Character["Left Leg"]
  68. RightArm=Character["Right Arm"]
  69. RightLeg=Character["Right Leg"]
  70. cam=game.Workspace.CurrentCamera
  71. LS=Torso["Left Shoulder"]
  72. LH=Torso["Left Hip"]
  73. RS=Torso["Right Shoulder"]
  74. RH=Torso["Right Hip"]
  75. Face = Head.face
  76. Neck=Torso.Neck
  77. it=Instance.new
  78. attacktype=1
  79. vt=Vector3.new
  80. cf=CFrame.new
  81. euler=CFrame.fromEulerAnglesXYZ
  82. angles=CFrame.Angles
  83. cloaked=false
  84. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  85. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  86. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  87. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  88. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  89. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  90. RootPart=Character.HumanoidRootPart
  91. RootJoint=RootPart.RootJoint
  92. RootCF=euler(-1.57,0,3.14)
  93. attack = false
  94. bounce=false
  95. cooldown=false
  96. deeznuts=false
  97. attackdebounce = false
  98. deb=false
  99. equipped=true
  100. hand=false
  101. MMouse=nil
  102. combo=0
  103. mana=0
  104. trispeed=.2
  105. attackmode='none'
  106. local idle=0
  107. local Anim="Idle"
  108. local Effects={}
  109. local gun=false
  110. local shoot=false
  111. player=nil
  112. mana=0
  113. cam = workspace.CurrentCamera
  114. ZTarget = nil
  115. RocketTarget = nil
  116. local m = Instance.new("Model",Character)
  117. m.Name = "WeaponModel"
  118. Humanoid.MaxHealth = math.huge
  119. Humanoid.Health = Humanoid.MaxHealth
  120. mouse=Player:GetMouse()
  121. --welds
  122. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  123. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  124. LH=Torso["Left Hip"]
  125. RH=Torso["Right Hip"]
  126. TorsoColor=Torso.BrickColor
  127. function NoOutline(Part)
  128. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  129. end
  130. player=Player
  131. ch=Character
  132. RSH=ch.Torso["Right Shoulder"]
  133. LSH=ch.Torso["Left Shoulder"]
  134. --
  135.  
  136. function swait(num)
  137. if num==0 or num==nil then
  138. game:service'RunService'.Heartbeat:wait(0)
  139. else
  140. for i=0,num do
  141. game:service'RunService'.Heartbeat:wait(0)
  142. end
  143. end
  144. end
  145.  
  146.  
  147. local Player = game.Players.localPlayer
  148. local Character = Player.Character
  149. local red = 255
  150. local green = 255
  151. local blue = 255
  152. local mouse = Player:GetMouse()
  153. local m = Instance.new("Model", Character)
  154. m.Name = "WeaponModel"
  155. local Head = Character.Head
  156. local Torso = Character.Torso
  157. local cam = game.Workspace.CurrentCamera
  158. local RootPart = Character.HumanoidRootPart
  159. local RootJoint = RootPart.RootJoint
  160. local equipped = false
  161. local attack = false
  162. local Anim = "Idle"
  163. local idle = 0
  164. local attacktype = 1
  165. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  166. local velocity = RootPart.Velocity.y
  167. local sine = 0
  168. local change = 1
  169. local charge = 1
  170. local grabbed = false
  171. local cn = CFrame.new
  172. local mr = math.rad
  173. local angles = CFrame.Angles
  174. local ud = UDim2.new
  175. local c3 = Color3.new
  176. local lim = 0
  177. local st = 0
  178. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  179. local attacktype = 1
  180. local ZTarget, RocketTarget = nil, nil
  181. local euler = CFrame.fromEulerAnglesXYZ
  182. local v = game.Players.localPlayer
  183. local torso = v.Character.Torso
  184. -- Bypass
  185. local trazx = Instance.new("ParticleEmitter")
  186. local soonds = Instance.new("Sound")
  187. --
  188. plr = game.Players.LocalPlayer
  189. char = game.Players.LocalPlayer.Character
  190. t = game.Players.LocalPlayer.Character.Torso
  191. h = game.Players.LocalPlayer.Character.Head
  192. ra = game.Players.LocalPlayer.Character["Right Arm"]
  193. la = game.Players.LocalPlayer.Character["Left Arm"]
  194. rl = game.Players.LocalPlayer.Character["Right Leg"]
  195. ll = game.Players.LocalPlayer.Character["Left Leg"]
  196. hrp = Character.HumanoidRootPart
  197. tors = Character.Torso
  198. lleg = Character["Left Leg"]
  199. root = Character.HumanoidRootPart
  200. hed = Character.Head
  201. rleg = Character["Right Leg"]
  202. rarm = Character["Right Arm"]
  203. larm = Character["Left Arm"]
  204. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  205. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  206. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  207. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  208. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  209. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  210. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  211. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  212. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  213. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  214. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  215. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  216. RS = tors:FindFirstChild("Right Shoulder")
  217. LS = tors:FindFirstChild("Left Shoulder")
  218. RH = tors:FindFirstChild("Right Hip")
  219. LH = tors:FindFirstChild("Left Hip")
  220. RJ = hrp:FindFirstChild("RootJoint")
  221. N = tors:FindFirstChild("Neck")
  222. cf = CFrame.new
  223. ang = CFrame.Angles
  224. rd = math.rad
  225. rd2 = math.random
  226. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  227. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  228. local Effects = {}
  229. attack = false
  230. local attacking = false
  231. vt = Vector3.new
  232. bc = BrickColor.new
  233. br = BrickColor.random
  234. it = Instance.new
  235. cf = CFrame.new
  236. euler = CFrame.fromEulerAnglesXYZ
  237. angles = CFrame.Angles
  238. matr = math.random
  239. local colororg = BrickColor.new("Dark indigo") -- set color u like
  240. local meshtype = "Sphere" -- only for specialmesh
  241. mouse = plr:GetMouse()
  242.  
  243. function lerpz(joint, prop, cfrmz, alp)
  244. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  245. end
  246. function resetlerp()
  247. RJ.C0 = RJC0
  248. RJ.C1 = RJC1
  249. N.C0 = NC0
  250. N.C1 = NC1
  251. RS.C0 = RSC0
  252. RS.C1 = RSC1
  253. LS.C0 = LSC0
  254. LS.C1 = LSC1
  255. RH.C0 = RHC0
  256. RH.C1 = RHC1
  257. LH.C0 = LHC0
  258. LH.C1 = LHC1
  259. end
  260. local S = Instance.new("Sound",hrp)S.SoundId = "rbxassetid://718967797" S:Play() S.Volume = 1
  261. char.Head:FindFirstChild("face").Texture = "rbxassetid://258433204"
  262. for i = 1,35,0.5 do
  263. swait()
  264. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  265. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  266. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-35), rd(0), rd(180)), 0.3)
  267. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  268. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-35), rd(0), rd(-180)), 0.3)
  269. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  270. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  271. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  272. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  273. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  274. end
  275. char.Head:FindFirstChild("face").Texture = ""
  276. char:findFirstChild("Body Colors"):remove()
  277. for i,v in pairs (char:children()) do
  278. if v.ClassName == "Part" then
  279. if v.Name ~= "HumanoidRootPart" then
  280. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  281. local tra = trazx:clone()tra.Parent = v
  282. tra.Texture = "rbxassetid://286708119"
  283. tra.LightEmission = 0
  284. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  285. tra.Rate = 200
  286. tra.Lifetime = NumberRange.new(1)
  287. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,3,0)})
  288. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  289. tra.Speed = NumberRange.new(0) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  290. tra.VelocityInheritance = 0.5 tra.ZOffset = 3
  291. if v.Name ~= "Head" then
  292. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  293. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  294. end
  295. end
  296. end
  297. end
  298. char.Head.Transparency = 1
  299. local P = Instance.new("Part",char)P.Size = Vector3.new(2,1,1)P.Anchored = false P.CanCollide = false P.Name = "HeadPart"
  300. local W = Instance.new("Weld",P)W.Part0 = P W.Part1 = char.Head
  301. local HM = Instance.new("SpecialMesh",P)HM.MeshId = "rbxassetid://539723444" HM.TextureId = "rbxassetid://64619306" HM.Scale = Vector3.new(0.97,0.97,0.97)
  302. wait(3)
  303. char.Head:FindFirstChild("face").Texture = ""
  304. if char:findFirstChild("Shirt")~=nil then
  305. char:findFirstChild("Shirt"):remove()
  306. end
  307. if char:findFirstChild("Pants")~=nil then
  308. char:findFirstChild("Pants"):remove()
  309. end
  310. for i,v in pairs (char:children()) do
  311. if v.ClassName == "Accessory" then
  312. v.Handle.Mesh.TextureId = "rbxassetid://64619306"
  313. v.Handle.Material = "Sand"
  314. end
  315. if v.ClassName == "Part" then
  316. if v:findFirstChild("Ink")~=nil then
  317. v:findFirstChild("Ink").Acceleration = Vector3.new(0,-10,0) v:findFirstChild("Ink").LockedToPart = false v:findFirstChild("Ink").ZOffset = 0
  318. v:findFirstChild("Ink").Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.6,0.025),NumberSequenceKeypoint.new(1,0,0)})
  319. end
  320. end
  321. end
  322. local S2 = soonds:clone() S2.Parent = hrp S2.SoundId = "rbxassetid://137473066" S2:Play() S2.Volume = 1 S2.PlaybackSpeed = 1.75
  323. New = function(Object, Parent, Name, Data)
  324. local Object = Instance.new(Object)
  325. for Index, Value in pairs(Data or {}) do
  326. Object[Index] = Value
  327. end
  328. Object.Parent = Parent
  329. Object.Name = Name
  330. return Object
  331. end
  332.  
  333. function InkPuddle(Size,CFramez)
  334. local P4 = Instance.new("Part",game.Workspace)P4.BrickColor = BrickColor.new("Really black")P4.CanCollide = false P4.Name = "Ink"
  335. P4.CFrame = CFramez P4.Anchored = true local M6 = Instance.new("SpecialMesh",P4) M6.MeshId = "rbxassetid://465435723" M6.TextureId = "rbxassetid://64619306"
  336. M6.Scale = Vector3.new(Size/30,0.01,Size/30)game.Debris:AddItem(P4,15)
  337. P4.Size = P4.Size + Vector3.new(0.2,0.2,0.2)
  338. end
  339.  
  340. function Submerge()
  341. if Submerged == false then
  342. Submerged = true
  343. attack = true
  344. hrp.Anchored = true
  345. Humanoid.WalkSpeed = 150 Humanoid.JumpPower = 250
  346. 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)
  347. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  348. local tra = trazx:clone()tra.Parent = P
  349. tra.Texture = "rbxassetid://286708119"
  350. tra.LightEmission = 0
  351. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  352. tra.Rate = 400
  353. tra.Lifetime = NumberRange.new(0.5) tra.Acceleration = Vector3.new(0,-125,0)
  354. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  355. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  356. tra.Speed = NumberRange.new(25) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  357. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  358. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://466869979" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  359. for i = 1,1 do
  360. swait()
  361. lerpz(RJ, "C0", RJC0 * cf(0, 0, 5000) * ang(rd(0), rd(0), rd(0)), 1)
  362. end
  363. hrp.Anchored = false
  364. tra.Enabled = false
  365. game.Debris:AddItem(P,2)
  366. InkPuddle(12,hrp.CFrame*CFrame.new(0,-2.5,0))
  367. while Submerged == true do
  368. wait()
  369. end
  370. InkPuddle(24,hrp.CFrame*CFrame.new(0,-2.5,0))
  371. Humanoid.WalkSpeed = 16 Humanoid.JumpPower = 50
  372. attack = false
  373. else
  374. Submerged = false
  375. 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)
  376. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  377. local tra = trazx:clone()tra.Parent = P
  378. tra.Texture = "rbxassetid://286708119"
  379. tra.LightEmission = 0
  380. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  381. tra.Rate = 400
  382. tra.Lifetime = NumberRange.new(1.5) tra.Acceleration = Vector3.new(0,-150,0)
  383. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(1,0,0)})
  384. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  385. tra.Speed = NumberRange.new(75) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  386. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  387. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://130779572" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  388. wait(0.25)
  389. hrp.Anchored = false
  390. tra.Enabled = false
  391. game.Debris:AddItem(P,2)
  392. end
  393. end
  394. CarriedPlayah = nil
  395. function PullSubmerge()
  396. if Submerged == false and CarriedPlayah == nil then
  397. local hit = false
  398. for i,v in pairs (game.Workspace:children()) do
  399. if v ~= char and v:findFirstChild("Humanoid")~=nil and v:findFirstChild("HumanoidRootPart")~=nil then
  400. if (v.HumanoidRootPart.Position-hrp.Position).magnitude <= 4 then
  401. if hit == true then return end
  402. InkPuddle(18,hrp.CFrame*CFrame.new(0,-2.5,0))
  403. v.Parent = nil
  404. CarriedPlayah = v
  405. hrp.Anchored = true
  406. Humanoid.WalkSpeed = 150
  407. Submerged = true
  408. attack = true
  409. --
  410. for i,v in pairs (v:children()) do
  411. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  412. if v.Name ~= "HumanoidRootPart" then
  413. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  414. local tra = trazx:clone()tra.Parent = v
  415. tra.Texture = "rbxassetid://286708119"
  416. tra.LightEmission = 0
  417. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  418. tra.Rate = 200
  419. tra.Lifetime = NumberRange.new(1)
  420. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,2,0)})
  421. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  422. tra.Speed = NumberRange.new(0) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  423. tra.VelocityInheritance = 0.5 tra.ZOffset = 3
  424. if v.Name ~= "Head" then
  425. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  426. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  427. end
  428. end
  429. end
  430. end
  431. v.Head:FindFirstChild("face"):remove()
  432. local HM = Instance.new("SpecialMesh",v.Head)HM.MeshId = "rbxassetid://539723444" HM.TextureId = "rbxassetid://64619306"
  433. if v:findFirstChild("Shirt")~=nil then
  434. v:findFirstChild("Shirt"):remove()
  435. end
  436. if v:findFirstChild("Pants")~=nil then
  437. v:findFirstChild("Pants"):remove()
  438. end
  439. for i,v in pairs (v:children()) do
  440. if v.ClassName == "Accessory" then
  441. v.Handle.Mesh.TextureId = "rbxassetid://64619306"
  442. v.Handle.Material = "Sand"
  443. end
  444. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  445. if v.Name ~= "HumanoidRootPart" then
  446. if v:findFirstChild("Mesh")~= nil then
  447. if v:findFirstChild("Mesh").ClassName == "SpecialMesh" then
  448. v.Mesh.TextureId = "rbxassetid://64619306"
  449. end
  450. end
  451. v.Material = "Sand" v.BrickColor = BrickColor.new("Really black")
  452. v:findFirstChild("Ink").Acceleration = Vector3.new(0,-10,0) v:findFirstChild("Ink").LockedToPart = false v:findFirstChild("Ink").ZOffset = 0
  453. v:findFirstChild("Ink").Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.2,0.025),NumberSequenceKeypoint.new(1,0,0)})
  454. if v.Name ~= "Head" then
  455. local M = Instance.new("SpecialMesh",v)M.MeshId = "rbxassetid://9856898" M.TextureId = "rbxassetid://64619306"
  456. M.Scale = Vector3.new(v.Size.X*2,v.Size.Y*2,v.Size.Z*2)
  457. end
  458. end
  459. end
  460. end
  461. --
  462. 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)
  463. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  464. local tra = trazx:clone()tra.Parent = P
  465. tra.Texture = "rbxassetid://286708119"
  466. tra.LightEmission = 0
  467. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  468. tra.Rate = 400
  469. tra.Lifetime = NumberRange.new(0.5) tra.Acceleration = Vector3.new(0,-125,0)
  470. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  471. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  472. tra.Speed = NumberRange.new(25) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  473. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  474. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://466869979" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  475. for i = 1,1 do
  476. lerpz(RJ, "C0", RJC0 * cf(0, 0, 5000) * ang(rd(0), rd(0), rd(0)), 1)
  477. end
  478. hrp.Anchored = false
  479. tra.Enabled = false
  480. game.Debris:AddItem(P,2)
  481. end
  482. end
  483. end
  484. while Submerged == true do
  485. wait()
  486. end
  487. Humanoid.WalkSpeed = 16
  488. attack = false
  489. elseif CarriedPlayah ~= nil then
  490. Submerged = false
  491. InkPuddle(30,hrp.CFrame*CFrame.new(0,-2.5,0))
  492. 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)
  493. P.CFrame = hrp.CFrame*CFrame.new(0,-2,0)
  494. local tra = trazx:clone()tra.Parent = P
  495. tra.Texture = "rbxassetid://286708119"
  496. tra.LightEmission = 0
  497. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  498. tra.Rate = 400
  499. tra.Lifetime = NumberRange.new(1.5) tra.Acceleration = Vector3.new(0,-150,0)
  500. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(1,0,0)})
  501. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  502. tra.Speed = NumberRange.new(75) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  503. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  504. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://130779572" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  505. CarriedPlayah.Parent = game.Workspace
  506. CarriedPlayah.HumanoidRootPart.CFrame = hrp.CFrame
  507. CarriedPlayah = nil
  508. wait(0.25)
  509. hrp.Anchored = false
  510. tra.Enabled = false
  511. game.Debris:AddItem(P,2)
  512. end
  513. end
  514.  
  515. function Whistle()
  516. local Whis = Instance.new("Sound",game.Workspace) Whis.Volume = 2 Whis.SoundId = "rbxassetid://850062880" Whis:Play()
  517. end
  518.  
  519. local Mosci = true
  520. function Musicz()
  521. if LoudVolume == true then
  522. if Mosci == true then
  523. Mosci = false
  524. for i = 1,10 do
  525. s.Volume = s.Volume - 5/10
  526. wait()
  527. end
  528. else
  529. Mosci = true
  530. for i = 1,10 do
  531. s.Volume = s.Volume + 5/10
  532. wait()
  533. end
  534. end
  535. else
  536. if Mosci == true then
  537. Mosci = false
  538. for i = 1,10 do
  539. s.Volume = s.Volume - 0.1
  540. wait()
  541. end
  542. else
  543. Mosci = true
  544. for i = 1,10 do
  545. s.Volume = s.Volume + 0.1
  546. wait()
  547. end
  548. end
  549. end
  550. end
  551.  
  552. moosict = 1
  553. function MusicSwitch()
  554. if moosict == 1 then
  555. moosict = 2
  556. s.SoundId = "rbxassetid://742318689"
  557. elseif moosict == 2 then
  558. moosict = 3
  559. s.SoundId = "rbxassetid://695408779"
  560. elseif moosict == 3 then
  561. moosict = 4
  562. s.SoundId = "rbxassetid://914975605"
  563. elseif moosict == 4 then
  564. moosict = 1
  565. s.SoundId = "rbxassetid://746781548"
  566. end
  567. end
  568. Dance1 = false
  569. Dance2 = false
  570. function DanceOne()
  571. if Dance1 == false then
  572. Dance1 = true attack = true
  573. anim.Parent = nil
  574. local Cane = Instance.new("Part",char)Cane.Size = Vector3.new(4,0.2,0.2)Cane.CanCollide = false Cane.BrickColor = BrickColor.new("Pine Cone")
  575. Cane.Anchored = false Cane.Material = "Wood"
  576. local CW = Instance.new("Weld",RightArm)CW.Part0 = RightArm CW.Part1 = Cane CW.C0 = CFrame.new(-1.5,-1,0)
  577. while Dance1 == true do
  578. CW.C0 = CFrame.new(-0.5,-1,0)
  579. for i = 1,3 do -- RIGHT
  580. swait()
  581. lerpz(RJ, "C0", RJC0 * cf(-0.5, 0, 0) * ang(rd(0), rd(-5), rd(0)), 0.3)
  582. lerpz(N, "C0", NC0 * cf(0, 0, -0.35) * ang(rd(0), rd(-15), rd(0)), 0.3)
  583. lerpz(RS, "C0", RSC0 * cf(0, -0.2, 0) * ang(rd(-5), rd(-45), rd(25)), 0.3)
  584. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  585. lerpz(LS, "C0", LSC0 * cf(0, 0.2, -1) * ang(rd(75), rd(10), rd(-45)), 0.3)
  586. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  587. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-50), rd(0), rd(0)), 0.3)
  588. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  589. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  590. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  591. end
  592. wait(0.3)
  593. CW.C0 = CFrame.new(-1.5,-1,0)
  594. for i = 1,3 do
  595. swait()
  596. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  597. lerpz(N, "C0", NC0 * cf(0, 0, 0.3) * ang(rd(0), rd(0), rd(0)), 0.3)
  598. lerpz(RS, "C0", RSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(45)), 0.3)
  599. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  600. lerpz(LS, "C0", LSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(-45)), 0.3)
  601. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  602. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  603. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  604. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  605. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  606. end
  607. wait(0.1)
  608. CW.C0 = CFrame.new(-0.5,-1,0)
  609. for i = 1,3 do -- LEFT
  610. swait()
  611. lerpz(RJ, "C0", RJC0 * cf(0.5, 0, 0) * ang(rd(0), rd(5), rd(0)), 0.3)
  612. lerpz(N, "C0", NC0 * cf(0, 0, -0.35) * ang(rd(0), rd(15), rd(0)), 0.3)
  613. lerpz(RS, "C0", RSC0 * cf(0, 0.2, -1) * ang(rd(75), rd(-10), rd(45)), 0.3)
  614. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  615. lerpz(LS, "C0", LSC0 * cf(0, -0.2, 0) * ang(rd(-85), rd(-25), rd(-85)), 0.3)
  616. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  617. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  618. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  619. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-50), rd(0), rd(0)), 0.3)
  620. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  621. end
  622. wait(0.3)
  623. CW.C0 = CFrame.new(-1.5,-1,0)
  624. for i = 1,3 do
  625. swait()
  626. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  627. lerpz(N, "C0", NC0 * cf(0, 0, 0.3) * ang(rd(0), rd(0), rd(0)), 0.3)
  628. lerpz(RS, "C0", RSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(45)), 0.3)
  629. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  630. lerpz(LS, "C0", LSC0 * cf(0, 0.6, 0) * ang(rd(0), rd(0), rd(-45)), 0.3)
  631. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  632. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  633. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  634. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  635. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  636. end
  637. wait(0.1)
  638. end
  639. Cane:remove()
  640. anim.Parent = Humanoid
  641. attack = false
  642. else
  643. Dance1 = false
  644. end
  645. end
  646.  
  647. function DanceTwo()
  648. if Dance2 == false then
  649. Dance2 = true attack = true
  650. anim.Parent = nil
  651. while Dance2 == true do
  652. for i = 1,3 do
  653. swait()
  654. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1) * ang(rd(0), rd(0), rd(0)), 0.35)
  655. lerpz(N, "C0", NC0 * cf(0, 0, 0.25) * ang(rd(0), rd(0), rd(0)), 0.35)
  656. lerpz(RS, "C0", RSC0 * cf(0, -0.1, 0) * ang(rd(5), rd(0), rd(0)), 0.35)
  657. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  658. lerpz(LS, "C0", LSC0 * cf(0, -0.1, 0) * ang(rd(5), rd(0), rd(0)), 0.35)
  659. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  660. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  661. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  662. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  663. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  664. end
  665. wait(0.415)
  666. for i = 1,3 do
  667. swait()
  668. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(0), rd(0), rd(0)), 0.35)
  669. lerpz(N, "C0", NC0 * cf(0.2, 0, -0.2) * ang(rd(0), rd(-20), rd(0)), 0.35)
  670. lerpz(RS, "C0", RSC0 * cf(0, 0.3, 0) * ang(rd(-5), rd(0), rd(0)), 0.35)
  671. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  672. lerpz(LS, "C0", LSC0 * cf(0, 0.3, 0) * ang(rd(-5), rd(0), rd(0)), 0.35)
  673. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  674. lerpz(RH, "C0", RHC0 * cf(0, 0.35, 0) * ang(rd(-4), rd(0), rd(0)), 0.35)
  675. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  676. lerpz(LH, "C0", LHC0 * cf(0, 0.35, 0) * ang(rd(-4), rd(0), rd(0)), 0.35)
  677. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.35)
  678. end
  679. wait(0.415)
  680. end
  681. anim.Parent = Humanoid
  682. attack = false
  683. else
  684. Dance2 = false
  685. end
  686. end
  687.  
  688. Smile = false
  689. function BSmile()
  690. if Smile == true then
  691. char.Head:FindFirstChild("face").Texture = "rbxassetid://875244780"
  692. Smile = false
  693. else
  694. Smile = true
  695. char.Head:FindFirstChild("face").Texture = ""
  696. end
  697. end
  698.  
  699. function BFrown()
  700. if Smile == true then
  701. char.Head:FindFirstChild("face").Texture = "rbxassetid://876092595"
  702. Smile = false
  703. else
  704. Smile = true
  705. char.Head:FindFirstChild("face").Texture = ""
  706. end
  707. end
  708.  
  709. TimeFreeze = false
  710. function TimeFresh()
  711. if TimeFreeze == false then
  712. TimeFreeze = true
  713. for i,v in pairs (char:children()) do
  714. if v.ClassName == "Accessory" then
  715. for i,v2 in pairs (v:children()) do
  716. if v2.ClassName == "Part" then
  717. v2.Anchored = true
  718. end
  719. end
  720. end
  721. for i,v in pairs (char:children()) do
  722. if v.ClassName == "Part" then
  723. v.Anchored = true
  724. end
  725. end
  726. end
  727. else
  728. TimeFreeze = false
  729. end
  730. end
  731.  
  732. function InkClone()
  733. char.Archivable = true
  734. local C = char:clone()C.Parent = game.Workspace
  735. C.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame
  736. C.HumanoidRootPart.Touched:connect(function(Part)
  737. if Part.Parent ~= char and Part.Name ~= "Handle" and Part.Size.Z <= 150 and Part.Size.X <= 150 and Part.Size.Y <= 150 then
  738. 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)
  739. P.CFrame = C.HumanoidRootPart.CFrame*CFrame.new(0,-2,0)
  740. local tra = trazx:clone()tra.Parent = P
  741. tra.Texture = "rbxassetid://286708119"
  742. tra.LightEmission = 0
  743. tra.Color = ColorSequence.new(Color3.new(0/255,0/255,0/255))
  744. tra.Rate = 400
  745. tra.Lifetime = NumberRange.new(1.5) tra.Acceleration = Vector3.new(0,-150,0)
  746. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,6,0),NumberSequenceKeypoint.new(1,0,0)})
  747. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  748. tra.Speed = NumberRange.new(45) tra.VelocitySpread = 360 tra.Name = "Ink" tra.LockedToPart = true
  749. tra.VelocityInheritance = 0.5 tra.ZOffset = 5
  750. local S4 = soonds:clone() S4.Parent = hrp S4.SoundId = "rbxassetid://130779572" S4.Volume = 10 S4:Play() game.Debris:AddItem(S4,5)
  751. InkPuddle(4,C.HumanoidRootPart.CFrame*CFrame.new(0,-2.5,0))
  752. C:remove()
  753. wait(0.1)
  754. tra.Enabled = false game.Debris:AddItem(P,2)
  755. end
  756. end)
  757. char.Archivable = false
  758. end
  759.  
  760. mouse.KeyDown:connect(function(key)
  761. if key == "z" then
  762. Submerge()
  763. end
  764. if key == "x" then
  765. PullSubmerge()
  766. end
  767. if key == "c" then
  768. InkClone()
  769. end
  770. if key == "b" then
  771. Whistle()
  772. end
  773. if key == "f" then
  774. DanceOne()
  775. end
  776. if key == "g" then
  777. DanceTwo()
  778. end
  779. if key == "j" then
  780. TimeFresh()
  781. end
  782. if key == "l" then
  783. BSmile()
  784. end
  785. if key == ";" then
  786. BFrown()
  787. end
  788. if key == "n" then
  789. MusicSwitch()
  790. end
  791. if key == "m" then
  792. Musicz()
  793. end
  794. end)
  795.  
  796. game:GetService("RunService").RenderStepped:connect(function()
  797.  
  798. Humanoid.MaxHealth = Humanoid.MaxHealth*2
  799. Humanoid.Health = Humanoid.MaxHealth*2
  800. if TimeFreeze == false then
  801. for i,v in pairs (char:children()) do
  802. if v.ClassName == "Accessory" then
  803. for i,v2 in pairs (v:children()) do
  804. if v2.ClassName == "Part" then
  805. v2.Anchored = false
  806. for i,v3 in pairs (v2:children()) do
  807. if v3.ClassName == "Fire" then
  808. v3:remove()
  809. end
  810. if v3.ClassName == "ParticleEmitter" and v3.Name ~= "Ink" then
  811. v3:remove()
  812. end
  813. end
  814. end
  815. end
  816. end
  817. end
  818. for i,v in pairs (char:children()) do
  819. if v.ClassName == "Part" then
  820. v.Anchored = false
  821. end
  822. end
  823. end
  824. if attack == false and Dance1 == false and Dance2 == false then
  825. if RootPart.Velocity.y > 1 then
  826. Anim = "Jump"
  827.  
  828. else
  829. if RootPart.Velocity.y < -1 then
  830. Anim = "Fall"
  831.  
  832. else
  833. if Torsovelocity < 1 then
  834. Anim = "Idle"
  835. local animsped = 1
  836. sine = sine + 5
  837. lerpz(RJ, "C0", RJC0 * cf(0, 0, ( 0.1 * cos(sine / 20))) * ang(rd(0), rd(0), rd(0)), animsped)
  838. lerpz(N, "C0", NC0 * cf(0, 0, -(0.1 * cos(sine / 40))) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), animsped)
  839. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), animsped)
  840. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  841. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), animsped)
  842. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  843. lerpz(RH, "C0", RHC0 * cf(0, (0.1 * cos(sine / 40)), 0) * ang(rd(-5), rd(-5), rd(1)), animsped)
  844. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  845. lerpz(LH, "C0", LHC0 * cf(0, (0.1 * cos(sine / 40)), 0) * ang(rd(-5), rd(5), rd(1)), animsped)
  846. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), animsped)
  847. else
  848. if Torsovelocity > 2 then
  849. Anim = "Walk"
  850.  
  851. end
  852. end
  853. end
  854. end
  855. end
  856. end)
Advertisement
Add Comment
Please, Sign In to add comment