Advertisement
antgame11

Untitled

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