Advertisement
SATB_NTTLNCIR

Fe Ink Monster V2

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