Advertisement
StarzoZero

test

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