Advertisement
StarzoZero

Roblox FE bendy who knows

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