StarzoZero

Roblox FE Bendy Script v3

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