Advertisement
SansjustSans2

uh some FE attempt

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