SansjustSans2

testing something

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