Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ScreenGui0 = Instance.new("ScreenGui")
- Frame1 = Instance.new("Frame")
- ImageLabel2 = Instance.new("ImageLabel")
- TextLabel3 = Instance.new("TextLabel")
- LocalScript4 = Instance.new("LocalScript")
- Frame5 = Instance.new("Frame")
- ImageLabel6 = Instance.new("ImageLabel")
- TextButton7 = Instance.new("TextButton")
- LocalScript8 = Instance.new("LocalScript")
- TextButton9 = Instance.new("TextButton")
- LocalScript10 = Instance.new("LocalScript")
- TextButton11 = Instance.new("TextButton")
- LocalScript12 = Instance.new("LocalScript")
- TextButton13 = Instance.new("TextButton")
- LocalScript14 = Instance.new("LocalScript")
- TextButton15 = Instance.new("TextButton")
- LocalScript16 = Instance.new("LocalScript")
- TextButton17 = Instance.new("TextButton")
- LocalScript18 = Instance.new("LocalScript")
- TextButton19 = Instance.new("TextButton")
- LocalScript20 = Instance.new("LocalScript")
- TextButton21 = Instance.new("TextButton")
- LocalScript22 = Instance.new("LocalScript")
- ScreenGui0.Parent = mas
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame1.Parent = ScreenGui0
- Frame1.Position = UDim2.new(0.388281256, 0, 0.394444436, 0)
- Frame1.Size = UDim2.new(0, 260, 0, 132)
- Frame1.BackgroundColor = BrickColor.new("Institutional white")
- Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel2.Parent = Frame1
- ImageLabel2.Size = UDim2.new(0, 129, 0, 132)
- ImageLabel2.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel2.BackgroundTransparency = 1
- ImageLabel2.Image = "http://www.roblox.com/asset/?id=497962461"
- TextLabel3.Parent = Frame1
- TextLabel3.Position = UDim2.new(0.494820207, 0, 0, 0)
- TextLabel3.Size = UDim2.new(0, 131, 0, 132)
- TextLabel3.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel3.BackgroundTransparency = 1
- TextLabel3.Font = Enum.Font.Highway
- TextLabel3.FontSize = Enum.FontSize.Size14
- TextLabel3.Text = "Pandahub loaded. Have fun!"
- TextLabel3.TextColor = BrickColor.new("Really black")
- TextLabel3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel3.TextScaled = true
- TextLabel3.TextSize = 14
- TextLabel3.TextWrap = true
- TextLabel3.TextWrapped = true
- LocalScript4.Parent = Frame1
- table.insert(cors,sandbox(LocalScript4,function()
- wait (2)
- script.Parent.Visible = false
- script.Parent.Parent.menu.Visible = true
- end))
- Frame5.Name = "menu"
- Frame5.Parent = ScreenGui0
- Frame5.Position = UDim2.new(0.168750003, 0, 0.12083333, 0)
- Frame5.Visible = false
- Frame5.Size = UDim2.new(0, 290, 0, 171)
- Frame5.BackgroundColor = BrickColor.new("Sand violet metallic")
- Frame5.BackgroundColor3 = Color3.new(0.580392, 0.580392, 0.580392)
- ImageLabel6.Parent = Frame5
- ImageLabel6.Size = UDim2.new(0, 65, 0, 66)
- ImageLabel6.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel6.BackgroundTransparency = 1
- ImageLabel6.Image = "http://www.roblox.com/asset/?id=1530849993"
- TextButton7.Name = "Drag"
- TextButton7.Parent = Frame5
- TextButton7.Position = UDim2.new(0, 0, 0, -25)
- TextButton7.Size = UDim2.new(0, 290, 0, 25)
- TextButton7.BackgroundColor = BrickColor.new("Really black")
- TextButton7.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton7.BackgroundTransparency = -0.0099999997764826
- TextButton7.BorderColor = BrickColor.new("Institutional white")
- TextButton7.BorderColor3 = Color3.new(1, 1, 1)
- TextButton7.AutoButtonColor = false
- TextButton7.FontSize = Enum.FontSize.Size18
- TextButton7.Text = "Pandahub 1.0"
- TextButton7.TextColor = BrickColor.new("Institutional white")
- TextButton7.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- TextButton7.TextSize = 18
- TextButton7.TextWrap = true
- TextButton7.TextWrapped = true
- LocalScript8.Parent = TextButton7
- table.insert(cors,sandbox(LocalScript8,function()
- wanttobemoved=script.Parent.Parent
- X=wanttobemoved.Position.X.Offset
- Y=wanttobemoved.Position.Y.Offset
- XS=wanttobemoved.Position.X.Scale
- YS=wanttobemoved.Position.Y.Scale
- function down(posX,posY)--the positions of the mouse
- drag=true--activate the drag function
- X=wanttobemoved.Position.X.Offset--redefines the value "X"
- Y=wanttobemoved.Position.Y.Offset--redefines the value "Y"
- XS=wanttobemoved.Position.X.Scale
- YS=wanttobemoved.Position.Y.Scale
- DposX=posX-X--the mouse's X position offset by the frame's X position.
- DposY=posY-Y--the mouse's Y position offset by the frame's Y position.
- print(""..DposX..","..DposY.."")--remembers the values DposX and DposY in the output toolbar.
- end
- function up()
- drag=false--deactivate the drag
- end
- function move(posX,posY)--again, the positions of the mouse
- if drag then--if held down then
- wanttobemoved.Position=UDim2.new(XS,posX - DposX,YS,posY - DposY)
- end
- end
- script.Parent.MouseButton1Down:connect(down)
- script.Parent.MouseButton1Up:connect(up)
- script.Parent.MouseLeave:connect(up)
- script.Parent.MouseMoved:connect(move)
- end))
- TextButton9.Parent = Frame5
- TextButton9.Position = UDim2.new(-0.00183842098, 0, 0.3859649, 0)
- TextButton9.Size = UDim2.new(0, 72, 0, 40)
- TextButton9.BackgroundColor = BrickColor.new("Institutional white")
- TextButton9.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton9.BackgroundTransparency = 0.85000002384186
- TextButton9.Font = Enum.Font.SourceSansBold
- TextButton9.FontSize = Enum.FontSize.Size28
- TextButton9.Text = "FE Star glitcher"
- TextButton9.TextColor = BrickColor.new("Really black")
- TextButton9.TextColor3 = Color3.new(0, 0, 0)
- TextButton9.TextScaled = true
- TextButton9.TextSize = 28
- TextButton9.TextWrap = true
- TextButton9.TextWrapped = true
- LocalScript10.Parent = TextButton9
- table.insert(cors,sandbox(LocalScript10,function()
- function onClick()
- game:GetService("RunService").RenderStepped:Connect(function()
- setsimulationradius(math.huge)
- end)
- HumanDied = false
- local CountSCIFIMOVIELOL = 1
- function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
- local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
- AlignPos.ApplyAtCenterOfMass = true;
- AlignPos.MaxForce = 5772000--67752;
- AlignPos.MaxVelocity = math.huge/9e110;
- AlignPos.ReactionForceEnabled = false;
- AlignPos.Responsiveness = 200;
- AlignPos.RigidityEnabled = false;
- local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
- AlignOri.MaxAngularVelocity = math.huge/9e110;
- AlignOri.MaxTorque = 5772000
- AlignOri.PrimaryAxisOnly = false;
- AlignOri.ReactionTorqueEnabled = false;
- AlignOri.Responsiveness = 200;
- AlignOri.RigidityEnabled = false;
- local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
- local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
- AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
- AttachmentA.Position = Position or Vector3.new(0,0,0)
- AlignPos.Attachment1 = AttachmentA;
- AlignPos.Attachment0 = AttachmentB;
- AlignOri.Attachment1 = AttachmentA;
- AlignOri.Attachment0 = AttachmentB;
- CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
- return {AlignPos,AlignOri,AttachmentA,AttachmentB}
- end
- if _G.netted ~= true then
- _G.netted = true
- coroutine.wrap(function()
- settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
- settings().Physics.AllowSleep = false
- game:GetService("RunService").RenderStepped:Connect(function()
- game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
- sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
- end)
- end)()
- end
- game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
- local hatnameclone = {}
- for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
- if v:IsA("Accessory") then
- if hatnameclone[v.Name] then
- if hatnameclone[v.Name] == "s" then
- hatnameclone[v.Name] = {}
- end
- table.insert(hatnameclone[v.Name],v)
- else
- hatnameclone[v.Name] = "s"
- end
- end
- end
- for _,v in pairs(hatnameclone) do
- if type(v) == "table" then
- local num = 1
- for _,w in pairs(v) do
- w.Name = w.Name..num
- num = num + 1
- end
- end
- end
- hatnameclone = nil
- local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
- local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
- fldr.Name = "DMYF"
- local CloneChar = DeadChar:Clone()
- local ANIMATIONHERE
- if CloneChar:FindFirstChild("Animate") then
- ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
- CloneChar:FindFirstChild("Animate"):Destroy()
- end
- if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
- if CloneChar.Torso:FindFirstChild("Neck") then
- local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
- Clonessss.Part0 = nil
- Clonessss.Part1 = DeadChar.Head
- Clonessss.Parent = DeadChar.Torso
- end
- CloneChar.Parent = fldr
- CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
- CloneChar.Humanoid.BreakJointsOnDeath = false
- CloneChar.Name = "non"
- CloneChar.Humanoid.DisplayDistanceType = "None"
- for _,v in next, DeadChar:GetChildren() do
- if v:IsA("Accessory") then
- local topacc = false
- if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
- v.Handle.Massless = true
- v.Handle.CanCollide = false
- if v.Handle:FindFirstChildOfClass("Attachment") then
- local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
- if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
- topacc = ath__.Name
- end
- end
- local bv = Instance.new("BodyVelocity",v.Handle)
- bv.Velocity = Vector3.new(0,0,0)
- coroutine.wrap(function()
- if topacc then
- local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.Torso,Vector3.new(0,1.5,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
- local normaltop = allthings[1].Attachment1
- local alipos = allthings[1]
- local alirot = allthings[2]
- local p0 = v.Handle
- local p1 = DeadChar.Head
- alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
- alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
- while true do
- game:GetService("RunService").RenderStepped:wait()
- if HumanDied then break end
- coroutine.wrap(function()
- if alipos.Attachment1 == normaltop then
- p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
- else
- v.Handle.CFrame = v.Handle.CFrame:lerp(alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alipos.Attachment1.Rotation.X),math.rad(alipos.Attachment1.Rotation.Y),math.rad(alipos.Attachment1.Rotation.Z)),1)
- end
- end)()
- end
- else
- SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
- end
- end)()
- end
- end
- local a = DeadChar.Torso
- local b = DeadChar.HumanoidRootPart
- local c = DeadChar.Humanoid
- a.Parent = game:FindFirstChildOfClass("Workspace")
- c.Parent = game:FindFirstChildOfClass("Workspace")
- local told = a:Clone()
- local told1 = c:Clone()
- b["RootJoint"].Part0 = told
- b["RootJoint"].Part1 = DeadChar.Head
- a.Name = "torso"
- a.Neck:Destroy()
- c.Name = "Mizt Hub Best"
- told.Parent = DeadChar
- told1.Parent = DeadChar
- DeadChar.PrimaryPart = told
- told1.Health = 0
- b:Destroy()
- a.Parent = DeadChar
- c.Parent = DeadChar
- told:Destroy()
- told1:Destroy()
- a.Name = "Torso"
- if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
- if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
- local Collider
- function UnCollide()
- if HumanDied then Collider:Disconnect(); return end
- --[[for _,Parts in next, CloneChar:GetChildren() do
- if Parts:IsA("BasePart") then
- Parts.CanCollide = false
- end
- end]]
- for _,Parts in next, DeadChar:GetChildren() do
- if Parts:IsA("BasePart") then
- Parts.CanCollide = false
- end
- end
- end
- Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
- local resetBindable = Instance.new("BindableEvent")
- resetBindable.Event:connect(function()
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
- resetBindable:Destroy()
- HumanDied = true
- pcall(function()
- game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
- DeadChar.Head:Destroy()
- DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
- game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
- if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
- end)
- end)
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
- coroutine.wrap(function()
- while true do
- game:GetService("RunService").RenderStepped:wait()
- if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
- HumanDied = true
- pcall(function()
- game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
- DeadChar.Head:Destroy()
- DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
- game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
- if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
- end)
- if resetBindable then
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
- resetBindable:Destroy()
- end
- break
- end
- end
- end)()
- SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
- SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
- SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
- SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
- SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
- SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
- for _,v in pairs(DeadChar:GetChildren()) do
- if v:IsA("BasePart") and v.Name ~= "Head" then
- --[[local bv = Instance.new("BodyVelocity",v)
- bv.Velocity = Vector3.new(0,0,0)
- coroutine.wrap(function()
- while true do
- game:GetService("RunService").RenderStepped:wait()
- if HumanDied then break end
- v.CFrame = CloneChar[v.Name].CFrame
- end
- end)()]]
- elseif v:IsA("BasePart") and v.Name == "Head" then
- local bv = Instance.new("BodyVelocity",v)
- bv.Velocity = Vector3.new(0,0,0)
- coroutine.wrap(function()
- while true do
- game:GetService("RunService").RenderStepped:wait()
- if HumanDied then break end
- v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
- end
- end)()
- end
- end
- for _,BodyParts in next, CloneChar:GetDescendants() do
- if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
- BodyParts.Transparency = 1 end end
- game:GetService("RunService").RenderStepped:wait()
- game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
- game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
- for _,v in next, DeadChar:GetChildren() do
- if v:IsA("Accessory") then
- if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
- end
- end
- --if ANIMATIONHERE then ANIMATIONHERE.Parent = CloneChar end
- wait()
- local data = {}
- local script = game:GetObjects("rbxassetid://5446036971")[1]
- script.WingPiece.qPerfectionWeld:Destroy()
- do
- local NEVER_BREAK_JOINTS = false
- local function CallOnChildren(Instance, FunctionToCall)
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetBricks(StartInstance)
- local List = {}
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Parts = GetBricks(script.WingPiece)
- WeldParts(Parts, script.WingPiece.Main, "Weld", false)
- end
- PerfectionWeld()
- end
- --// Shortcut Variables \\--
- local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
- local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
- local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
- local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
- local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
- local R3 = {N=Region3.new}
- local De = S.Debris
- local WS = workspace
- local Lght = S.Lighting
- local RepS = S.ReplicatedStorage
- local IN = Instance.new
- local Plrs = S.Players
- local UIS = S.UserInputService
- local Player = game.Players.LocalPlayer
- data.User = Player
- data.Local = Player
- local Char = Player.Character
- local Mouse = Player:GetMouse()
- local Hum = Char:FindFirstChildOfClass'Humanoid'
- local Torso = Char.Torso
- local RArm = Char["Right Arm"]
- local LArm = Char["Left Arm"]
- local RLeg = Char["Right Leg"]
- local LLeg = Char["Left Leg"]
- local Root = Char:FindFirstChild'HumanoidRootPart'
- local Head = Char.Head
- local Sine = 0;
- local Change = 1
- local Attack=false
- local NeutralAnims=true
- local timePos=30;
- local walking=true;
- local legAnims=true;
- local movement = 8
- local footsound=0;
- local WalkSpeed=16;
- local Combo=0;
- local Mode='Achromatic'
- local vaporwaveMode=false;
- local WingAnim='NebG1'
- local music;
- local hue = 0;
- local WingSine=0;
- local MusicMode=1;
- local visSong = 1702473314;
- local EffectFolder = script:WaitForChild'FXFolder'
- local PrimaryColor = Color3.new(1,1,1)
- local ClickTimer = 0;
- local ClickAttack = 1;
- local camera = workspace.CurrentCamera
- local LastSphere = time();
- local Frame_Speed = 60
- local VaporwaveSongs={
- 2231500330;
- 654094806;
- 743334292;
- 334283059;
- 2082142910;
- }
- local WingPiece = script:WaitForChild'WingPiece'
- WingPiece.Parent=nil
- local WingAnims={}
- local Playlist={
- Default=1702473314;
- ScrapBoy=1215691669;
- Defeated=860594509;
- Annihilate=2116461106;
- DashAndDodge=2699922745;
- ZenWavy=2231500330;
- Beachwalk=334283059;
- Pyrowalk=2082142910;
- Vapor90s=654094806;
- }
- --[[
- Achromatic - The Big Black - Lost Soul
- Iniquitous
- Mythical - Legendary
- Ruined - Th1rt3en
- Atramentous - Vanta Black
- Subzero - Frostbite
- Troubadour
- Infectious - Radioactive
- Love - Lust
- ]]
- --2699922745
- local modeInfo={
- {Name="Achromatic",Walkspeed=16,moveVal=8,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=2533527428,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};WingAnim='NebG1'};
- {Name="Iniquitous",Walkspeed=16,moveVal=8,Font=Enum.Font.Garamond,StrokeColor=C3.N(.2,.2,.2);Music=2656505560,LeftWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};WingAnim='NebG1'};
- {Name="Mythical",Walkspeed=16,moveVal=8,Font=Enum.Font.Fantasy,StrokeColor=C3.N(.6,.0,.9);Music=556122490,LeftWing={0,BrickColor.new'Alder'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Alder'.Color,Enum.Material.Neon};WingAnim='StarG'};
- {Name="Ruined",Walkspeed=16,moveVal=8,Font=Enum.Font.Arcade,StrokeColor=C3.N(0,0,0);Music=2297862957,LeftWing={0,Color3.fromRGB(190,104,98),Enum.Material.Neon};RightWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};WingAnim='Aprins'};
- {Name="Atramentous",Walkspeed=14,moveVal=8,Font=Enum.Font.Garamond,StrokeColor=C3.N(.1,.1,.1);Music=924339757,LeftWing={0,BrickColor.new'Dark stone grey'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Really black'.Color,Enum.Material.Glass};WingAnim={'NebG3',2}};
- {Name="Subzero",Walkspeed=10,moveVal=6,Font=Enum.Font.Gotham,StrokeColor=C3.RGB(0,190,190);Music=144121562,LeftWing={0,BrickColor.new'Pastel light blue'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Pastel light blue'.Color,Enum.Material.Glass};WingAnim='NebG1'};
- {Name="Troubadour",Walkspeed=16,moveVal=8,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=visSong,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};WingAnim='StarG'};
- {Name="Infectious",Walkspeed=16,moveVal=8,Font=Enum.Font.Gotham,StrokeColor=C3.RGB(98,37,209);Music=603291385,LeftWing={0,BrickColor.new'Dark indigo'.Color,Enum.Material.DiamondPlate};RightWing={0,BrickColor.new'Dark indigo'.Color,Enum.Material.DiamondPlate};WingAnim='NebG1'};
- {Name="Love",Walkspeed=16,moveVal=8,Font=Enum.Font.Arcade,StrokeColor=C3.RGB(255,152,220);Music=1030177093,LeftWing={0,BrickColor.new'Pink'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Pink'.Color,Enum.Material.Neon};WingAnim='StarG'};
- --MAJORS--
- {Name="The Big Black",Walkspeed=64,moveVal=20,Font=Enum.Font.Arcade,StrokeColor=C3.N(.2,.2,.2);Music=183142252,LeftWing={0,BrickColor.new'Really black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Dark stone grey'.Color,Enum.Material.Glass};WingAnim={'NebG3',10}};
- {Name="Legendary",Walkspeed=64,moveVal=20,Font=Enum.Font.Gotham,StrokeColor=C3.N(.4,.4,0);Music=468018712,LeftWing={0,BrickColor.new'Gold'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Gold'.Color,Enum.Material.Glass};WingAnim={'NebG2',10}};
- {Name="Lust",Walkspeed=16,moveVal=8,Font=Enum.Font.Fantasy,StrokeColor=C3.N(1,0,1);Music=391089144,LeftWing={0,BrickColor.new'Hot pink'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Hot pink'.Color,Enum.Material.Neon};WingAnim='LustFrench'};
- }
- NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance)
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- function newMotor(P0,P1,C0,C1)
- return NewInstance('Motor',P0,{Part0=P0,Part1=P1,C0=C0,C1=C1})
- end
- local welds = {}
- local WeldDefaults = {}
- table.insert(welds,newMotor(Torso,Head,CF.N(0,1.5,0),CF.N()))
- table.insert(welds,newMotor(Root,Torso,CF.N(),CF.N()))
- table.insert(welds,newMotor(Torso,RLeg,CF.N(.5,-1,0),CF.N(0,1,0)))
- table.insert(welds,newMotor(Torso,RArm,CF.N(1.5,.5,0),CF.N(0,.5,0)))
- table.insert(welds,newMotor(Torso,LLeg,CF.N(-.5,-1,0),CF.N(0,1,0)))
- table.insert(welds,newMotor(Torso,LArm,CF.N(-1.5,.5,0),CF.N(0,.5,0)))
- WeldDefaults={}
- for i = 1,#welds do
- local v=welds[i]
- WeldDefaults[i]=v.C0
- end
- local NK,RJ,RH,RS,LH,LS=unpack(welds)
- local NKC0,RJC0,RHC0,RSC0,LHC0,LSC0=unpack(WeldDefaults)
- function makeMusic(id,pit,timePos)
- local sound = Torso:FindFirstChild(Player.Name.."song") or Char:FindFirstChild(Player.Name.."song")
- local parent = (MusicMode==2 and Char or Torso)
- if(not sound)then
- sound = NewInstance("Sound",parent,{Name=Player.Name.."song",Volume=(MusicMode==3 and 0 or 5),Pitch=(pit or 1),Looped=true})
- NewInstance("EqualizerSoundEffect",sound,{HighGain=0,MidGain=2,LowGain=10})
- end
- if(id=='stop')then
- if(sound)then
- sound:Stop()
- end
- else
- local timePos = typeof(timePos)=='number' and timePos or sound.TimePosition
- sound.Volume = (MusicMode==3 and 0 or 5)
- sound.Name = Player.Name.."song"
- sound.Looped=true
- sound.SoundId = "rbxassetid://"..id
- sound.Pitch=(pit or 1)
- sound:Play()
- sound.TimePosition = timePos
- end
- return sound;
- end
- function playMusic(id,pitch,timePos)
- return makeMusic(id,pitch,timePos)
- end
- for _,v in next, Hum:GetPlayingAnimationTracks() do
- v:Stop(0);
- end
- -- SCRIPT STUFF --
- function swait(num)
- if num == 0 or num == nil then
- game:GetService("RunService").RenderStepped:wait()
- else
- for i = 0, num do
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- --// Effects \\--
- function Tween(obj,props,time,easing,direction,repeats,backwards)
- local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
- local tween = S.TweenService:Create(obj, info, props)
- tween:Play()
- end
- function StartShake(Settings)
- return true
- end
- function Camshake(shakedata)
- StartShake(shakedata)
- end
- local Effects=NewInstance("Folder",Char)
- Effects.Name=Player.Name..'Effects'
- function ShowDamage(Pos, Text, Time, Color)
- local Pos = Pos or V3.N(0, 0, 0)
- local Text = tostring(Text or "")
- local Time = Time or 2
- local Color = Color or C3.N(1, 0, 1)
- local EffectPart = Part(Effects,Color,Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CFrame.new(Pos),true,false)
- EffectPart.Transparency=1
- local BillboardGui = NewInstance("BillboardGui",EffectPart,{
- Size = UDim2.new(3,0,3,0),
- Adornee = EffectPart,
- })
- local TextLabel = NewInstance("TextLabel",BillboardGui,{
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- TextColor3 = Color,
- TextScaled = true,
- Font = Enum.Font.ArialBold,
- })
- S.Debris:AddItem(EffectPart, Time+.5)
- delay(0, function()
- local rot=math.random(-10,10)/15
- local raise=.2
- local Frames = Time/Frame_Speed
- for i=0,1.1,.02 do
- swait()
- TextLabel.Rotation=TextLabel.Rotation+rot
- raise=raise-.008
- EffectPart.Position = EffectPart.Position + Vector3.new(0, raise, 0)
- TextLabel.TextTransparency=i
- TextLabel.TextStrokeTransparency=i
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- local baseSound = IN("Sound")
- function Soond(parent,id,pitch,volume,looped,effect,autoPlay)
- local Sound = baseSound:Clone()
- Sound.SoundId = "rbxassetid://".. tostring(id or 0)
- Sound.Pitch = pitch or 1
- Sound.Volume = volume or 1
- Sound.Looped = looped or false
- if(autoPlay)then
- coroutine.wrap(function()
- repeat wait() until Sound.IsLoaded
- Sound.Playing = autoPlay or false
- end)()
- end
- if(not looped and effect)then
- Sound.Stopped:connect(function()
- Sound.Volume = 0
- Sound:destroy()
- end)
- elseif(effect)then
- warn("Sound can't be looped and a sound effect!")
- end
- Sound.Parent =parent or Torso
- return Sound
- end
- function SoondPart(id,pitch,volume,looped,effect,autoPlay,cf)
- local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
- local Sound = IN("Sound")
- Sound.SoundId = "rbxassetid://".. tostring(id or 0)
- Sound.Pitch = pitch or 1
- Sound.Volume = volume or 1
- Sound.Looped = looped or false
- if(autoPlay)then
- coroutine.wrap(function()
- repeat wait() until Sound.IsLoaded
- Sound.Playing = autoPlay or false
- end)()
- end
- if(not looped and effect)then
- Sound.Stopped:connect(function()
- Sound.Volume = 0
- soundPart:destroy()
- end)
- elseif(effect)then
- warn("Sound can't be looped and a sound effect!")
- end
- Sound.Parent = soundPart
- return Sound,soundPart
- end
- function SoundPart(...)
- return SoondPart(...)
- end
- function Sound(...)
- return Soond(...)
- end
- function Part(parent,color,material,size,cframe,anchored,cancollide)
- local part = IN("Part")
- part.Parent = parent or Char
- part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
- part.Material = material or Enum.Material.SmoothPlastic
- part.TopSurface,part.BottomSurface=10,10
- part.Size = size or V3.N(1,1,1)
- part.CFrame = cframe or CF.N(0,0,0)
- part.CanCollide = cancollide or false
- part.Anchored = anchored or false
- return part
- end
- function Weld(part0,part1,c0,c1)
- local weld = IN("Weld")
- weld.Parent = part0
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0 or CF.N()
- weld.C1 = c1 or CF.N()
- return weld
- end
- function Mesh(parent,meshtype,meshid,textid,scale,offset)
- local part = IN("SpecialMesh")
- part.MeshId = meshid or ""
- part.TextureId = textid or ""
- part.Scale = scale or V3.N(1,1,1)
- part.Offset = offset or V3.N(0,0,0)
- part.MeshType = meshtype or Enum.MeshType.Sphere
- part.Parent = parent
- return part
- end
- function GotEffect(data)
- -- just for easy reference
- local color = data.Color or Color3.new(.7,.7,.7);
- local endcolor = data.EndColor or nil;
- local mat = data.Material or Enum.Material.SmoothPlastic;
- local cframe = data.CFrame or CFrame.new();
- local endpos = data.EndPos or nil;
- local meshdata = data.Mesh or {}
- local sounddata = data.Sound or {}
- local size = data.Size or Vector3.new(1,1,1)
- local endsize = data.EndSize or Vector3.new(6,6,6)
- local rotinc = data.RotInc or {0,0,0} -- ONLY FOR LEGACY SYSTEM
- local transparency = data.Transparency or NumberRange.new(0,1)
- local acceleration = data.Acceleration or nil; -- ONLY FOR LEGACY SYSTEM
- local endrot = data.EndRotation or {0,0,0} -- ONLY FOR EXPERIMENTAL SYSTEM
- local style = data.Style or false; -- ONLY FOR EXPERIMENTAL SYSTEM
- local lifetime = data.Lifetime or 1;
- local system = data.FXSystem;
- local setpart = typeof(data.Part)=='string' and EffectFolder:FindFirstChild(tostring(data.Part)):Clone() or typeof(data.Part)=='Instance' and data.Part or nil
- local S,PM;
- local P = setpart or Part(Effects,color,mat,Vector3.new(1,1,1),cframe,true,false)
- if(not P:IsA'MeshPart' and not P:IsA'UnionOperation')then
- if(meshdata == "Blast")then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://20329976','',size,Vector3.new(0,0,-size.X/8))
- elseif(meshdata == 'Ring')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://559831844','',size,Vector3.new(0,0,0))
- elseif(meshdata == 'Slash1')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://662586858','',Vector3.new(size.X/10,.001,size.Z/10),Vector3.new(0,0,0))
- elseif(meshdata == 'Slash2')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://448386996','',Vector3.new(size.X/1000,size.Y/100,size.Z/100),Vector3.new(0,0,0))
- elseif(meshdata == 'Tornado1')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://443529437','',size/10,Vector3.new(0,0,0))
- elseif(meshdata == 'Tornado2')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://168892432','',size/4,Vector3.new(0,0,0))
- elseif(meshdata == 'Skull')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',size*2,Vector3.new(0,0,0))
- elseif(meshdata == 'Crystal')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://9756362','',size,Vector3.new(0,0,0))
- elseif(meshdata == 'Cloud')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://1095708','',size,Vector3.new(0,0,0))
- elseif(typeof(meshdata) == 'table')then
- local Type = meshdata.Type or Enum.MeshType.Brick
- local ID = meshdata.ID or '';
- local Tex = meshdata.Texture or '';
- local Offset = meshdata.Offset or Vector3.new(0,0,0)
- PM = Mesh(P,Type,ID,Tex,size,Offset)
- else
- PM = Mesh(P,Enum.MeshType.Brick,'','',size)
- end
- end
- local startTrans = typeof(transparency) == 'number' and transparency or typeof(transparency) == 'NumberRange' and transparency.Min or typeof(transparency) == 'table' and transparency[1] or 0
- local endTrans = typeof(transparency) == 'NumberRange' and transparency.Max or typeof(transparency) == 'table' and transparency[2] or 1
- P.Material = mat
- P.CFrame = cframe
- P.Color = (typeof(color)=='BrickColor' and color.Color or color)
- P.Anchored = true
- P.CanCollide = false
- P.Transparency = startTrans
- P.Parent = Effects
- local random = Random.new();
- game:service'Debris':AddItem(P,lifetime+3)
- -- actual effect stuff
- local mult = 1;
- if(PM)then
- if(PM.MeshId == 'rbxassetid://20329976')then
- PM.Offset = Vector3.new(0,0,-PM.Scale.Z/8)
- elseif(PM.MeshId == 'rbxassetid://4770583')then
- mult = 2
- elseif(PM.MeshId == 'rbxassetid://168892432')then
- mult = .25
- elseif(PM.MeshId == 'rbxassetid://443529437')then
- mult = .1
- elseif(PM.MeshId == 'rbxassetid://443529437')then
- mult = .1
- end
- end
- coroutine.wrap(function()
- if(system == 'Legacy' or system == 1 or system == nil)then
- local frames = (typeof(lifetime) == 'NumberRange' and random:NextNumber(lifetime.Min,lifetime.Max) or typeof(lifetime) == 'number' and lifetime or 1)*Frame_Speed
- for i = 0, frames do
- local div = (i/frames)
- P.Transparency=(startTrans+(endTrans-startTrans)*div)
- if(PM)then PM.Scale = size:lerp(endsize*mult,div) else P.Size = size:lerp(endsize*mult,div) end
- local RotCF=CFrame.Angles(0,0,0)
- if(rotinc == 'random')then
- RotCF=CFrame.Angles(math.rad(random:NextNumber(-180,180)),math.rad(random:NextNumber(-180,180)),math.rad(random:NextNumber(-180,180)))
- elseif(typeof(rotinc) == 'table')then
- RotCF=CFrame.Angles(unpack(rotinc))
- end
- if(PM and PM.MeshId == 'rbxassetid://20329976')then
- PM.Offset = Vector3.new(0,0,-PM.Scale.Z/8)
- end
- if(endpos and typeof(endpos) == 'CFrame')then
- P.CFrame=cframe:lerp(endpos,div)*RotCF
- elseif(acceleration and typeof(acceleration) == 'table' and acceleration.Force)then
- local force = acceleration.Force;
- if(typeof(force)=='CFrame')then
- force=force.p;
- end
- if(typeof(force)=='Vector3')then
- if(acceleration.LookAt)then
- P.CFrame=(CFrame.new(P.Position,force)+force)*RotCF
- else
- P.CFrame=(P.CFrame+force)*RotCF
- end
- end
- else
- P.CFrame=P.CFrame*RotCF
- end
- if(endcolor and typeof(endcolor) == 'Color3')then
- P.Color = color:lerp(endcolor,div)
- end
- swait()
- end
- P:destroy()
- elseif(system == 'Experimental' or system == 2)then
- local info = TweenInfo.new(lifetime,style,Enum.EasingDirection.InOut,0,false,0)
- local info2 = TweenInfo.new(lifetime,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut,0,false,0)
- if(style == Enum.EasingStyle.Elastic)then
- info = TweenInfo.new(lifetime*2,style,Enum.EasingDirection.Out,0,false,0)
- elseif(style == Enum.EasingStyle.Bounce)then
- info = TweenInfo.new(lifetime,style,Enum.EasingDirection.Out,0,false,0)
- end
- local tweenPart = game:service'TweenService':Create(P,info2,{
- CFrame=(typeof(endpos) == 'CFrame' and endpos or P.CFrame)*CFrame.Angles(unpack(endrot)),
- Color=typeof(endcolor) == 'Color3' and endcolor or color,
- Transparency=endTrans,
- })
- local off = Vector3.new(0,0,0)
- if(PM.MeshId == 'rbxassetid://20329976')then off=Vector3.new(0,0,(endsize*mult).Z/8) end
- local tweenMesh = game:service'TweenService':Create(PM,info,{
- Scale=endsize*mult,
- Offset=off,
- })
- tweenPart:Play()
- tweenMesh:Play()
- end
- end)()
- end
- function Effect(edata)
- GotEffect(edata)
- end
- function Trail(data)
- coroutine.wrap(function()
- data.Frames = typeof(data.Frames)=='number' and data.Frames or 60
- data.CFrame = typeof(data.CFrame)=='CFrame' and data.CFrame or Root.CFrame
- local ep = typeof(data.EndPos)=='CFrame' and data.EndPos or data.CFrame*CFrame.new(0,5,0);
- data.EndPos=nil
- local trailPart = Part(Effects,BrickColor.new'White',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),data.CFrame,true,false)
- trailPart.Transparency=1
- local start = data.CFrame
- for i = 1, data.Frames do
- trailPart.CFrame = start:lerp(ep,i/data.Frames)
- data.CFrame = trailPart.CFrame
- Effect(data)
- swait()
- end
- end)()
- end
- function ClientTrail(data)
- coroutine.wrap(function()
- data.Frames = typeof(data.Frames)=='number' and data.Frames or 60
- data.CFrame = typeof(data.CFrame)=='CFrame' and data.CFrame or Root.CFrame
- local ep = typeof(data.EndPos)=='CFrame' and data.EndPos or data.CFrame*CFrame.new(0,5,0);
- data.EndPos=nil
- local trailPart = Part(Effects,BrickColor.new'White',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),data.CFrame,true,false)
- trailPart.Transparency=1
- local start = data.CFrame
- for i = 1, data.Frames do
- trailPart.CFrame = start:lerp(ep,i/data.Frames)
- data.CFrame = trailPart.CFrame
- GotEffect(data)
- swait()
- end
- end)()
- end
- if(Char:FindFirstChild('NGRWings'..Player.Name))then
- Char['NGRWings'..Player.Name]:destroy()
- end
- for _,v in next, Char:children() do
- if(v.Name:lower():find'wings')then
- v:destroy()
- end
- end
- local wingModel = Instance.new("Model",Char)
- wingModel.Name="NGRWings"..Player.Name
- local rightWing = NewInstance("Model",wingModel,{Name='Right'})
- local leftWing = NewInstance("Model",wingModel,{Name='Left'})
- local MPASword = {}
- for _,v in pairs(Char:GetChildren()) do
- if v:IsA("Accessory") and v.Name:find("MeshPartAccessory") and v.Handle.Size == Vector3.new(4,4,1) then
- table.insert(MPASword,v)
- end
- end
- local LWP1 = WingPiece:Clone();
- if MPASword[1] then
- for _,v in pairs(LWP1:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- end
- local athp = Instance.new("Attachment",LWP1.PrimaryPart)
- local atho = Instance.new("Attachment",LWP1.PrimaryPart)
- local HatChoice = MPASword[1]
- print(MPASword[1].Handle.Name)
- HatChoice.Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
- HatChoice.Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
- athp.Position = Vector3.new(0,-2,0)
- atho.Rotation = Vector3.new(0,0,45)
- table.remove(MPASword,1)
- end
- LWP1.Parent = leftWing
- local LWP2 = WingPiece:Clone();
- if MPASword[1] then
- for _,v in pairs(LWP2:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- end
- local athp = Instance.new("Attachment",LWP2.PrimaryPart)
- local atho = Instance.new("Attachment",LWP2.PrimaryPart)
- local HatChoice = MPASword[1]
- HatChoice.Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
- HatChoice.Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
- athp.Position = Vector3.new(0,-2,0)
- atho.Rotation = Vector3.new(0,0,45)
- table.remove(MPASword,1)
- end
- LWP2.Parent = leftWing
- local LWP3 = WingPiece:Clone();
- if Char:FindFirstChild("BladeMasterAccessory") then
- for _,v in pairs(LWP3:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- end
- local athp = Instance.new("Attachment",LWP3.PrimaryPart)
- local atho = Instance.new("Attachment",LWP3.PrimaryPart)
- local HatChoice = Char:FindFirstChild("BladeMasterAccessory")
- HatChoice.Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
- HatChoice.Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
- athp.Position = Vector3.new(0,-1.75,0)
- atho.Rotation = Vector3.new(0,0,48)
- end
- LWP3.Parent = leftWing
- local RWP1 = WingPiece:Clone();
- if MPASword[1] then
- for _,v in pairs(RWP1:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- end
- local athp = Instance.new("Attachment",RWP1.PrimaryPart)
- local atho = Instance.new("Attachment",RWP1.PrimaryPart)
- local HatChoice = MPASword[1]
- HatChoice.Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
- HatChoice.Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
- athp.Position = Vector3.new(0,-2,0)
- atho.Rotation = Vector3.new(0,0,45)
- table.remove(MPASword,1)
- end
- RWP1.Parent = rightWing
- local RWP2 = WingPiece:Clone();
- if MPASword[1] then
- for _,v in pairs(RWP2:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- end
- local athp = Instance.new("Attachment",RWP2.PrimaryPart)
- local atho = Instance.new("Attachment",RWP2.PrimaryPart)
- local HatChoice = MPASword[1]
- HatChoice.Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
- HatChoice.Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
- athp.Position = Vector3.new(0,-2,0)
- atho.Rotation = Vector3.new(0,0,45)
- table.remove(MPASword,1)
- end
- RWP2.Parent = rightWing
- local RWP3 = WingPiece:Clone();
- if Char:FindFirstChild("ShadowBladeMasterAccessory") then
- for _,v in pairs(RWP3:GetChildren()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- end
- end
- local athp = Instance.new("Attachment",RWP3.PrimaryPart)
- local atho = Instance.new("Attachment",RWP3.PrimaryPart)
- local HatChoice = Char:FindFirstChild("ShadowBladeMasterAccessory")
- HatChoice.Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
- HatChoice.Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
- athp.Position = Vector3.new(0,-1.75,0)
- atho.Rotation = Vector3.new(0,0,48)
- end
- RWP3.Parent = rightWing
- local LWP1W=Weld(LWP1.PrimaryPart,Torso,CF.N(2,-2,-1)*CF.A(0,0,0))
- local LWP2W=Weld(LWP2.PrimaryPart,Torso,CF.N(4.25,-1,-1)*CF.A(0,0,M.R(15)))
- local LWP3W=Weld(LWP3.PrimaryPart,Torso,CF.N(6.5,.5,-1)*CF.A(0,0,M.R(30)))
- local RWP1W=Weld(RWP1.PrimaryPart,Torso,CF.N(-2,-2,-1)*CF.A(0,0,0))
- local RWP2W=Weld(RWP2.PrimaryPart,Torso,CF.N(-4.25,-1,-1)*CF.A(0,0,M.R(-15)))
- local RWP3W=Weld(RWP3.PrimaryPart,Torso,CF.N(-6.5,.5,-1)*CF.A(0,0,M.R(-30)))
- local bbg=Head:FindFirstChild'Nametag' or NewInstance("BillboardGui",Head,{
- Adornee=Head;
- Name='Nametag';
- Size=UDim2.new(4,0,1.2,0);
- StudsOffset=V3.N(-8,5.3,0);
- })
- local text=bbg:FindFirstChild'TextLabel' or NewInstance("TextLabel",bbg,{
- Size=UDim2.new(5,0,3.5,0);
- TextScaled=true;
- BackgroundTransparency=1;
- TextStrokeTransparency=0;
- Font=Enum.Font.Arcade;
- TextColor3=C3.N(1,1,1);
- Text='Achromatic'
- })
- function getMode(modeName)
- for i,v in next, modeInfo do
- if(v.Name==modeName)then
- return v
- end
- end
- return modeInfo[1]
- end
- function IsVaporwave(song)
- for i = 1,#VaporwaveSongs do
- if(VaporwaveSongs[i]==song)then
- return true
- end
- end
- return false
- end
- local blush = NewInstance('Decal',Head,{Transparency=1,Texture='rbxassetid://0',Color3=(Player.UserId==5719877 and C3.N(.45,0,1) or C3.N(1,0,0))})
- function changeMudo(modeName)
- local info = getMode(modeName)
- Mode=info.Name
- WalkSpeed=info.Walkspeed
- movement=info.moveVal
- music=makeMusic(info.Music or 0,info.Pitch or 1,info.TimePos or music and music.TimePosition or 0)
- WingAnim=info.WingAnim or 'NebG1'
- text.Text = info.Name
- text.TextColor3 = info.LeftWing[2]
- text.TextStrokeColor3 = info.StrokeColor
- text.Font=info.Font;
- if(Mode=='Love' or Mode=='Lust')then
- blush.Transparency=0
- blush.Texture='rbxassetid://2664127437'
- else
- blush.Transparency=1
- blush.Texture='rbxassetid://0'
- end
- for _,v in next,leftWing:GetDescendants() do
- if(v:IsA'BasePart' and v.Name~='Main')then
- --v.Transparency=info.LeftWing[1]
- v.Color=info.LeftWing[2]
- v.Material=info.LeftWing[3]
- elseif(v:IsA'Trail')then
- --v.Transparency=NumberSequence.new(info.LeftWing[1],1)
- v.Color=ColorSequence.new(info.LeftWing[2])
- end
- end
- for _,v in next,rightWing:GetDescendants() do
- if(v:IsA'BasePart' and v.Name~='Main')then
- --v.Transparency=info.RightWing[1]
- v.Color=info.RightWing[2]
- v.Material=info.RightWing[3]
- elseif(v:IsA'Trail')then
- --v.Transparency=NumberSequence.new(info.RightWing[1],1)
- v.Color=ColorSequence.new(info.RightWing[2])
- end
- end
- PrimaryColor = info.PrimaryColor or info.LeftWing[2]
- end
- function changeMode(modeName)
- changeMudo(modeName)
- end
- function syncStuff(data)
- local neut,legwelds,c0s,c1s,sine,mov,walk,inc,musicmode,tpos,pit,wingsin,visSett,mode,newhue=unpack(data)
- local head0,torso0,rleg0,rarm0,lleg0,larm0=unpack(c0s)
- local head1,torso1,rleg1,rarm1,lleg1,larm1=unpack(c1s)
- legAnims=legwelds
- NeutralAnims=neut
- if(not neut)then
- NK.C0=head0
- RJ.C0=torso0
- RH.C0=rleg0
- RS.C0=rarm0
- LH.C0=lleg0
- LS.C0=larm0
- NK.C1=head1
- RJ.C1=torso1
- RH.C1=rleg1
- RS.C1=rarm1
- LH.C1=lleg1
- LS.C1=larm1
- end
- if(Mode~=mode)then
- changeMudo(mode)
- end
- movement=mov
- walking=walk
- Change=inc
- print(MusicMode,musicmode)
- if(musicmode~=MusicMode and music)then
- MusicMode=musicmode
- if(MusicMode==1)then
- music:Pause()
- music.Volume=5
- music.Parent=Torso
- music:Resume()
- elseif(MusicMode==2)then
- music:Pause()
- music.Volume=5
- music.Parent=Char
- music:Resume()
- elseif(MusicMode==3)then
- music.Volume = 0
- end
- end
- if(Sine-sine>.8 or Sine-sine<-.8)then
- Sine=sine
- end
- if(hue-newhue>.8 or hue-newhue<-.8)then
- hue=newhue
- end
- if(WingSine-wingsin>.8 or WingSine-wingsin<-.8)then
- WingSine=wingsin
- end
- if(music and (music.TimePosition-tpos>.8 or music.TimePosition-tpos<-.8))then
- music.TimePosition=tpos
- end
- if(music and pit)then
- music.Pitch = pit
- end
- if(Mode=='Troubadour' and music.SoundId~='rbxassetid://'..visSett.Music)then
- music.SoundId='rbxassetid://'..visSett.Music
- end
- getMode('Troubadour').Music = visSett.Music
- getMode('Troubadour').Pitch = visSett.Pitch
- end
- local footstepSounds = {
- [Enum.Material.Grass]=510933218;
- [Enum.Material.Metal]=1263161138;
- [Enum.Material.CorrodedMetal]=1263161138;
- [Enum.Material.DiamondPlate]=1263161138;
- [Enum.Material.Wood]=2452053757;
- [Enum.Material.WoodPlanks]=2452053757;
- [Enum.Material.Sand]=134456884;
- [Enum.Material.Snow]=2452051182;
- }
- function Vaporwaveify(s)
- local function wide(a)
- if a<'!' or a>'~' then return a end
- if a==' ' then return ' ' end
- a = a:byte()+160
- if a<256 then return string.char(239,188,a-64) end
- return string.char(239,189,a-128)
- end
- return(s:gsub(".",wide))
- end
- function Choot(text)
- --if(game.PlaceId ~= 843468296)then
- coroutine.wrap(function()
- if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
- local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,2,0),Adornee=Head})
- local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=PrimaryColor,BorderSizePixel=0,Font=Enum.Font.Antique,TextSize=50,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
- for i = 1, #text do
- --Txt.Text = Vaporwaveify(text:sub(1,i))
- Txt.TextColor3=(Mode=='Troubadour' and Color3.fromHSV(hue/360,1,math.clamp(music.PlaybackLoudness/475,0,1)) or PrimaryColor)
- if(vaporwaveMode and Mode=='Troubadour')then
- Txt.Text = Vaporwaveify(text:sub(1,i))
- else
- Txt.Text = text:sub(1,i)
- end
- wait((vaporwaveMode) and .1 or .025)
- end
- for i = 0, 60 do
- Txt.TextColor3=(Mode=='Troubadour' and Color3.fromHSV(hue/360,1,math.clamp(music.PlaybackLoudness/475,0,1)) or PrimaryColor)
- swait()
- end
- for i = 0, 1, .025 do
- Txt.TextTransparency=i
- swait()
- end
- BBG:destroy()
- end)()
- --else
- -- Chat2(text)
- --end
- end
- function Chat(text)
- Choot(text)
- end
- function DealDamage(...)
- return true
- end
- function getRegion(point,range,ignore)
- return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
- end
- function AOEDamage(where,range,options)
- local hit = {}
- for _,v in next, getRegion(where,range,{Char}) do
- if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent:FindFirstChildOfClass'Humanoid'])then
- local callTable = {Who=v.Parent}
- hit[v.Parent:FindFirstChildOfClass'Humanoid'] = true
- for _,v in next, options do callTable[_] = v end
- DealDamage(callTable)
- end
- end
- return hit
- end
- function Click1()
- Attack=true
- NeutralAnims=false
- legAnims=false
- local orig = WalkSpeed
- WalkSpeed=4
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .3
- RJ.C0 = RJ.C0:lerp(CF.N(0,0,0)*CF.A(M.R(0),M.R(-44.6),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.8,-1,-0.3)*CF.A(M.R(-17.4),M.R(44.4),M.R(7.1)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.4,-1,0)*CF.A(M.R(1.6),M.R(-13.1),M.R(7)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.3,0.5,-0.3)*CF.A(M.R(90),M.R(0),M.R(-44.6)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.4,0.5,-0.1)*CF.A(M.R(90),M.R(0),M.R(-44.6)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,0)*CF.A(M.R(0),M.R(44.6),M.R(0)),Alpha)
- end
- for i = 0, 1, 0.1 do
- swait()
- AOEDamage(RArm.CFrame.p,2,{
- DamageColor=(Mode=='Troubadour' and C3.HSV(hue/360,1,math.clamp(music.PlaybackLoudness/475,0,1)) or PrimaryColor);
- MinimumDamage=5;
- MaximumDamage=15;
- })
- local Alpha = .3
- RJ.C0 = RJ.C0:lerp(CF.N(0,0,-0.7)*CF.A(M.R(0),M.R(50.5),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.5,-0.7,-0.6)*CF.A(M.R(-26),M.R(0),M.R(0)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.6,-1.1,-0.1)*CF.A(M.R(20.2),M.R(-47.6),M.R(15.2)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.3,0.5,0)*CF.A(M.R(0),M.R(0),M.R(-20.4)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.4,0.5,-0.5)*CF.A(M.R(90),M.R(0),M.R(50.5)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,0)*CF.A(M.R(0),M.R(-50.5),M.R(0)),Alpha)
- end
- WalkSpeed=orig
- legAnims=true
- Attack=false
- NeutralAnims=true
- end
- function SwordSummon()
- Attack = true
- NeutralAnims = false
- local orig=WalkSpeed
- WalkSpeed=4
- legAnims=false
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .3
- Effect{
- Lifetime=.25;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- Color=PrimaryColor;
- Transparency={.5,1};
- Material=Enum.Material.Neon;
- Size=Vector3.new(.6,1,.6);
- EndSize=Vector3.new(.1,3,.1);
- }
- RJ.C0 = RJ.C0:lerp(CF.N(0,-0.2,-0.1)*CF.A(M.R(-12.4),M.R(-15.7),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.5,-0.7,-0.5)*CF.A(M.R(16.2),M.R(15.2),M.R(-0.8)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.5,-1,0)*CF.A(M.R(-28.5),M.R(0),M.R(0)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.4,0.5,0)*CF.A(M.R(27.2),M.R(-3.8),M.R(-5)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.3,0.6,0)*CF.A(M.R(-33.8),M.R(-18.1),M.R(24.8)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,0)*CF.A(M.R(13.4),M.R(15.3),M.R(-3.6)),Alpha)
- end
- for i = 0, 5 do
- delay(.05*i,function()
- local pos = Root.CFrame*CF.N(0,-2,-2-i*4)*CF.A(M.R(80),0,0)
- local pos2 = Root.CFrame*CF.N(0,-3,-2-i*4)
- Camshake({
- Duration=.2;
- FadeOut=.2;
- Intensity=1.5;
- Position=Vector3.new(.5,.5,.5);
- Rotation=Vector3.new(.5,.5,3);
- DropDist=15;
- IneffectiveDist=40;
- Origin=pos2;
- })
- AOEDamage(pos.p,5,{
- DamageColor=(Mode=='Troubadour' and C3.HSV(hue/360,1,math.clamp(music.PlaybackLoudness/475,0,1)) or PrimaryColor);
- MinimumDamage=(Mode=='Troubadour' and music.PlaybackLoudness/10 or 10);
- MaximumDamage=(Mode=='Troubadour' and music.PlaybackLoudness/8 or 35);
- })
- SoundPart(178452221,1,2,false,true,true,pos)
- Effect{
- Lifetime=.4;
- Part='Sword',
- --Mesh={Type=Enum.MeshType.Sphere};
- CFrame=pos;
- Color=PrimaryColor;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=V3.N(0.8,2.5,6.8);
- EndSize=V3.N(0.8,2.5,16);
- }
- Effect{
- Lifetime=.4;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=pos2;
- Color=PrimaryColor;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=V3.N(4,.1,4);
- EndSize=V3.N(6,.1,6);
- }
- Effect{
- Lifetime=.1;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=pos;
- Color=PrimaryColor;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=V3.N(7,7,7);
- EndSize=V3.N(12,12,12);
- }
- for i = 1, 5 do
- Effect{
- Lifetime=.5;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=pos;
- Color=PrimaryColor;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=V3.N(1,1,1);
- EndSize=V3.N(1,1,1);
- Acceleration={Force=V3.N(M.RNG(-75,75)/100,M.RNG(-75,75)/100,M.RNG(-75,75)/100)};
- }
- end
- end)
- end
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .3
- RJ.C0 = RJ.C0:lerp(CF.N(0,0,0)*CF.A(M.R(0),M.R(70.7),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.5,-1,0)*CF.A(M.R(0),M.R(0),M.R(-14.4)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.6,-1,0)*CF.A(M.R(15.1),M.R(-63.2),M.R(13.5)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.3,0.6,-0.1)*CF.A(M.R(0),M.R(15.9),M.R(-25.4)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.4,0.3,-0.2)*CF.A(M.R(0),M.R(19.3),M.R(157.1)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,0)*CF.A(M.R(0),M.R(-70.7),M.R(0)),Alpha)
- end
- legAnims=true
- WalkSpeed=orig
- Attack = false
- NeutralAnims = true
- end
- function Bombs()
- Attack=true
- NeutralAnims=false
- legAnims=false
- local orig = WalkSpeed
- WalkSpeed=0
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .3
- RJ.C0 = RJ.C0:lerp(CF.N(0,0,0)*CF.A(M.R(0),M.R(0),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.5,-1,0)*CF.A(M.R(0),M.R(0),M.R(0)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.5,-1,0)*CF.A(M.R(0),M.R(0),M.R(0)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.3,0.5,-0.5)*CF.A(M.R(90),M.R(0),M.R(19.1)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.3,0.5,-0.5)*CF.A(M.R(90),M.R(0),M.R(-21.3)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,0)*CF.A(M.R(0),M.R(0),M.R(0)),Alpha)
- end
- coroutine.wrap(function()
- for i = 0, 2 do
- Camshake({
- Duration=.2;
- FadeOut=.2;
- Intensity=1.5;
- Position=Vector3.new(.5,.5,.5);
- Rotation=Vector3.new(.5,.5,3);
- DropDist=15;
- IneffectiveDist=40;
- Origin=Root.CFrame*CF.N(0,0,-4-i*4);
- })
- SoundPart(206083252,.8,4,false,true,true,Root.CFrame*CF.N(0,0,-4-i*4))
- AOEDamage(Root.CFrame*CF.N(0,0,-4-i*4).p,5,{
- DamageColor=PrimaryColor;
- MinimumDamage=25;
- MaximumDamage=45;
- })
- Effect{
- Lifetime=.4;
- Mesh={Type=Enum.MeshType.Sphere};
- Color=PrimaryColor;
- Material=Enum.Material.Neon;
- CFrame=Root.CFrame*CF.N(0,0,-4-i*4);
- Size=V3.N(1,1,1);
- EndSize=V3.N(10,10,10);
- }
- Effect{
- Lifetime=.4;
- Part='Ring';
- Color=PrimaryColor;
- Material=Enum.Material.Neon;
- CFrame=Root.CFrame*CF.N(0,0,-4-i*4)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- RotInc={M.RNG(-25,25)/100,M.RNG(-25,25)/100,M.RNG(-25,25)/100};
- Size=V3.N(4,4,.2);
- EndSize=V3.N(13,13,.2);
- }
- Effect{
- Lifetime=.4;
- Part='Ring';
- Color=PrimaryColor;
- Material=Enum.Material.Neon;
- CFrame=Root.CFrame*CF.N(0,0,-4-i*4)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- RotInc={M.RNG(-25,25)/100,M.RNG(-25,25)/100,M.RNG(-25,25)/100};
- Size=V3.N(4,4,.2);
- EndSize=V3.N(13,13,.2);
- }
- swait(4)
- end
- end)()
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .3
- RJ.C0 = RJ.C0:lerp(CF.N(0,-0.2,0.7)*CF.A(M.R(18.2),M.R(0),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.5,-1.1,-0.4)*CF.A(M.R(-33.4),M.R(0),M.R(0)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.5,-0.9,-0.2)*CF.A(M.R(-6.7),M.R(0),M.R(0)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.4,0.4,0.1)*CF.A(M.R(90.7),M.R(-2.5),M.R(-50)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.4,0.5,0.2)*CF.A(M.R(89.5),M.R(2.6),M.R(50)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,0)*CF.A(M.R(0),M.R(0),M.R(0)),Alpha)
- end
- WalkSpeed=orig
- legAnims=true
- Attack=false
- NeutralAnims=true
- end
- function ClickCombo()
- ClickTimer=180
- if(Combo==1)then
- Click1()
- Combo=2
- elseif(Combo==2)then
- SwordSummon()
- Combo=3
- elseif(Combo==3)then
- Bombs()
- Combo=1
- end
- end
- function VaporTaunt()
- Attack = true
- NeutralAnims = false
- local orig=WalkSpeed
- WalkSpeed=0
- legAnims=false
- Chat"You need to chill out.."
- for i = 0, 14, 0.1 do
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CF.N(-0.1,-0.1-.1*M.S(Sine/36),0.6)*CF.A(M.R(55.3+2.5*M.C(Sine/36)),M.R(0),M.R(0)),Alpha)
- LH.C0 = LH.C0:lerp(CF.N(-0.6,-1.2,-0.1)*CF.A(M.R(56.3+10*M.C(Sine/36)),M.R(0),M.R(24)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.9,-1.2,-0.2)*CF.A(M.R(25+5*M.C(Sine/36)),M.R(3.5),M.R(-43.9)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1,0.8,0)*CF.A(M.R(11.4-5*M.C(Sine/42)),M.R(-3.3),M.R(137.5)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.4,0.5,-0.2)*CF.A(M.R(61-5*M.C(Sine/42)),M.R(0),M.R(0)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.4,-0.3)*CF.A(M.R(-38.9-5*M.C(Sine/42)),M.R(0),M.R(0)),Alpha)
- end
- legAnims=true
- WalkSpeed=orig
- Attack = false
- NeutralAnims = true
- end
- UIS.InputBegan:connect(function(io,gpe)
- if(gpe or Attack or data.User~=data.Local)then return end
- --MODES
- if(io.KeyCode == Enum.KeyCode.One and Mode~='Achromatic')then
- changeMode'Achromatic'
- elseif(io.KeyCode == Enum.KeyCode.Two and Mode~='Iniquitous')then
- changeMode'Iniquitous'
- elseif(io.KeyCode == Enum.KeyCode.Three and Mode~='Mythical')then
- changeMode'Mythical'
- elseif(io.KeyCode == Enum.KeyCode.Four and Mode~='Ruined')then
- changeMode'Ruined'
- elseif(io.KeyCode == Enum.KeyCode.Five and Mode~='Atramentous')then
- changeMode'Atramentous'
- elseif(io.KeyCode == Enum.KeyCode.Six and Mode~='Subzero')then
- changeMode'Subzero'
- elseif(io.KeyCode == Enum.KeyCode.Seven and Mode~='Troubadour')then
- changeMode'Troubadour'
- elseif(io.KeyCode == Enum.KeyCode.Eight and Mode~='Infectious')then
- changeMode'Infectious'
- elseif(io.KeyCode == Enum.KeyCode.Nine and Mode~='Love')then
- changeMode'Love'
- elseif(io.KeyCode == Enum.KeyCode.T and Mode=='Achromatic')then
- changeMode'The Big Black'
- elseif(io.KeyCode == Enum.KeyCode.T and Mode=='Mythical')then
- changeMode'Legendary'
- elseif(io.KeyCode == Enum.KeyCode.T and Mode=='Love')then
- changeMode'Lust'
- --TOGGLE MUSIC
- elseif(io.KeyCode == Enum.KeyCode.M and getMode(Mode))then
- MusicMode=MusicMode+1
- if(MusicMode>3)then MusicMode=1 end
- if(MusicMode==1)then
- music:Pause()
- music.Volume=5
- music.Parent=Torso
- music:Resume()
- elseif(MusicMode==2)then
- music:Pause()
- music.Volume=5
- music.Parent=Char
- music:Resume()
- elseif(MusicMode==3)then
- music.Volume = 0
- end
- elseif(io.KeyCode==Enum.KeyCode.B)then
- --TAUNTS
- if(vaporwaveMode and Mode=='Troubadour')then
- VaporTaunt()
- end
- end
- if(vaporwaveMode)then return end
- --ATTACKS
- if(io.UserInputType==Enum.UserInputType.MouseButton1)then
- ClickCombo()
- end
- end)
- WingAnims.StarG=function()
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(2,-2,-1)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(0+5*M.C(WingSine/32))),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(4.25,-1,-1)*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(15+7.5*M.C(WingSine/32))),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(6.5,.5,-1)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(30+9*M.C(WingSine/32))),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(-2,-2,-1)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(0-5*M.C(WingSine/32))),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(-4.25,-1,-1+.05*M.S(WingSine/35))*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(-15-7.5*M.C(WingSine/32))),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(-6.5,.5,-1)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(-30-9*M.C(WingSine/32))),.2)
- end
- WingAnims.Cytus=function()
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(.15*M.C(WingSine/32),1.5+.35*M.S(WingSine/32),-1)*CF.A(0,0,M.R(60+5*M.C(WingSine/32))),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(.1*M.C(WingSine/32),1.5+.25*M.C(WingSine/32),-1)*CF.A(0,0,M.R(90+2.5*M.C(WingSine/32))),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(.25*M.C(WingSine/32),1.5-.05*M.S(WingSine/32),-1)*CF.A(0,0,M.R(120-5*M.C(WingSine/32))),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(-.15*M.C(WingSine/32),1.5-.15*M.C(WingSine/32),-1)*CF.A(0,0,M.R(-60-5*M.C(WingSine/32))),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(-.1*M.C(WingSine/32),1.5+.3*M.S(WingSine/32),-1)*CF.A(0,0,M.R(-90-2.5*M.C(WingSine/32))),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(-.25*M.C(WingSine/32),1.5+.15*M.S(WingSine/32),-1)*CF.A(0,0,M.R(-120+5*M.C(WingSine/32))),.2)
- end
- WingAnims.Aprins=function()
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(60+5000*M.C(WingSine/400))),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(90+5000*M.C(WingSine/400))),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(120+5000*M.C(WingSine/400))),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(-60+5000*M.C(WingSine/400))),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(-90+5000*M.C(WingSine/400))),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(-120+5000*M.C(WingSine/400))),.2)
- end
- WingAnims.NebG1=function()
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(.15,1.5,-1)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(60)),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(.1,1.5,-1)*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(90)),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(.25,1.5,-1)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(120)),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(-.15,1.5,-1)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(-60)),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(-.1,1.5,-1)*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(-90)),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(-.25,1.5,-1)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(-120)),.2)
- end
- WingAnims.NebG2=function(div)
- div=div or 25
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(0+2000*M.R(WingSine/div))),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(120+2000*M.R(WingSine/div))),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(-120+2000*M.R(WingSine/div))),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(0,4.5,-1)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(0-2000*M.R(WingSine/div))),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(0,4.5,-1)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(120-2000*M.R(WingSine/div))),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(0,4.5,-1)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(-120-2000*M.R(WingSine/div))),.2)
- end
- WingAnims.NebG3=function(mult)
- mult=mult or 1
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(0+WingSine*mult)),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(135+WingSine*mult)),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(0,1.5,-1)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(225+WingSine*mult)),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(0,1.5,-1.5)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(0-WingSine*mult)),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(0,1.5,-1.5)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(135-WingSine*mult)),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(0,1.5,-1.5)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(225-WingSine*mult)),.2)
- end
- WingAnims.LustFrench=function()
- LWP1W.C0 = LWP1W.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(0+WingSine))*CF.A(0,M.R(90),0)*CF.N(-2,0,0),.2)
- LWP2W.C0 = LWP2W.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(135+WingSine))*CF.A(0,M.R(90),0)*CF.N(-2,0,0),.2)
- LWP3W.C0 = LWP3W.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(225+WingSine))*CF.A(0,M.R(90),0)*CF.N(-2,0,0),.2)
- RWP1W.C0 = RWP1W.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(0+2.5*M.C(WingSine/36)),M.R(0-WingSine))*CF.A(0,M.R(90),0)*CF.N(-2,0,0),.2)
- RWP2W.C0 = RWP2W.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(0+7.5*M.C(WingSine/32)),M.R(135-WingSine))*CF.A(0,M.R(90),0)*CF.N(-2,0,0),.2)
- RWP3W.C0 = RWP3W.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(0+5*M.C(WingSine/39)),M.R(225-WingSine))*CF.A(0,M.R(90),0)*CF.N(-2,0,0),.2)
- end
- if(data.User==data.Local)then
- Player.Chatted:connect(function(m)
- if(m:sub(1,3) == "/e")then m=m:sub(4) end
- if(m:sub(1,5) == "play/")then
- getMode('Troubadour').Music=Playlist[m:sub(6)] or tonumber(m:sub(6)) or 0
- music.SoundId="rbxassetid://"..getMode('Troubadour').Music;
- elseif(m:sub(1,5) == "tpos/")then
- music.TimePosition = tonumber(m:sub(6)) or 0
- elseif(m:sub(1,6) == "pitch/")then
- music.Pitch = tonumber(m:sub(7)) or 0
- getMode('Troubadour').Pitch=music.Pitch
- end
- end)
- end
- while true do
- swait()
- ClickTimer=math.max(ClickTimer-1,0)
- if(ClickTimer<=0 and Combo~=1)then
- print('reset')
- Combo=1
- end
- Sine=Sine+Change
- hue=hue+1
- if(hue>360)then hue=1 end
- local hitfloor,posfloor = workspace:FindPartOnRayWithIgnoreList(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4)), {Effects,Char,workspace[Player.Name]})
- local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
- local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or (not hitfloor or hitfloor.CanCollide==false) and Root.Velocity.y < -1 and "Fall" or (not hitfloor or hitfloor.CanCollide==false) and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
- Hum.WalkSpeed = WalkSpeed
- local sidevec = math.clamp((Torso.Velocity*Torso.CFrame.rightVector).X+(Torso.Velocity*Torso.CFrame.rightVector).Z,-Hum.WalkSpeed,Hum.WalkSpeed)
- local forwardvec = math.clamp((Torso.Velocity*Torso.CFrame.lookVector).X+(Torso.Velocity*Torso.CFrame.lookVector).Z,-Hum.WalkSpeed,Hum.WalkSpeed)
- local sidevelocity = sidevec/Hum.WalkSpeed
- local forwardvelocity = forwardvec/Hum.WalkSpeed
- local lhit,lpos = workspace:FindPartOnRayWithIgnoreList(Ray.new(LLeg.CFrame.p,((CFrame.new(LLeg.Position,LLeg.Position - Vector3.new(0,1,0))).lookVector).unit * (2)), {Effects,Char,workspace[Player.Name]})
- local rhit,rpos = workspace:FindPartOnRayWithIgnoreList(Ray.new(RLeg.CFrame.p,((CFrame.new(RLeg.Position,RLeg.Position - Vector3.new(0,1,0))).lookVector).unit * (2)), {Effects,Char,workspace[Player.Name]})
- if(Mode=='Troubadour' and IsVaporwave(getMode'Troubadour'.Music))then
- vaporwaveMode=true
- text.Text='Vaporwave'
- WingAnim='NebG3'
- else
- if(Mode=='Troubadour')then
- text.Text='Troubadour'
- WingAnim=getMode'Troubadour'.WingAnim
- end
- vaporwaveMode=false
- end
- if(Mode~='Lust' and WingAnim and WingAnims[WingAnim])then
- WingAnims[WingAnim]()
- elseif(Mode=='Lust')then
- if(State=='Idle')then
- WingAnims.LustFrench()
- else
- WingAnims.NebG3(1)
- end
- elseif(WingAnim and typeof(WingAnim)=='table' and WingAnims[WingAnim[1]])then
- local gay={unpack(WingAnim)};
- table.remove(gay,1)
- WingAnims[WingAnim[1]](unpack(gay))
- else
- WingAnims.NebG1()
- end
- if(Mode=='Troubadour' and NeutralAnims)then
- WingSine=WingSine+(0.1+music.PlaybackLoudness/300)
- else
- WingSine=WingSine+1
- end
- if(music)then
- if(Mode=='Troubadour')then
- local clr = Color3.fromHSV(hue/360,1,math.clamp(music.PlaybackLoudness/475,0,1))
- local clr2 = Color3.fromHSV(hue/360,1,math.clamp(music.PlaybackLoudness/950,0,1))
- text.TextColor3 = clr
- PrimaryColor = clr2
- for _,v in next, wingModel:GetDescendants() do
- if(v:IsA'BasePart')then
- v.Color = clr2
- elseif(v:IsA'Trail')then
- v.Color = ColorSequence.new(clr2)
- end
- end
- end
- end
- if(Mode=='The Big Black')then
- local pos = Head.Position
- local dist = (camera.CFrame.p-pos).magnitude
- local DropDist = 1
- local IneffectiveDist = 15
- local modifier = dist < DropDist and 1 or dist < IneffectiveDist and (0 - 1) / (IneffectiveDist - DropDist) * (dist - DropDist) + 1 or 0
- end
- if(Mode=='Troubadour' and data.User==data.Local)then
- Tween(camera,{FieldOfView=70-(music.PlaybackLoudness/20)},.2,Enum.EasingStyle.Linear,Enum.EasingDirection.Out)
- else
- Tween(camera,{FieldOfView=70},.2,Enum.EasingStyle.Linear,Enum.EasingDirection.Out)
- end
- if(State == 'Idle')then
- if(Mode=='Troubadour' and NeutralAnims and not vaporwaveMode)then Change = 0.1+music.PlaybackLoudness/200 else Change = 1 end
- if(Mode=='Achromatic')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(M.R(0+1*M.S(Sine/64)),M.R(5),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/32)),M.R(-5),0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(0,M.R(5+5*M.C(Sine/32)),M.R(-10-5*M.C(Sine/32))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(0,M.R(5-5*M.C(Sine/32)),M.R(10+5*M.C(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(0,M.R(-5),0),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(Mode=='Iniquitous')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(M.R(0+3*M.S(Sine/64)),0,0),Alpha)
- if(M.RNG(1,45)==1)then
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),.8)
- else
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/32)),0,0),Alpha)
- end
- LS.C0 = LS.C0:lerp(LSC0*CF.N(.3,0+.05*M.S(Sine/32),.1)*CF.A(M.R(-35),M.R(5+2.5*M.C(Sine/32)),M.R(35-1.5*M.C(Sine/32))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(-.3,0+.05*M.S(Sine/32),.1)*CF.A(M.R(-25),M.R(5-2.5*M.C(Sine/32)),M.R(-35+1.5*M.C(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(0,0,M.R(-2.5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(0,0,M.R(2.5)),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-2.5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(2.5)),Alpha)
- end
- end
- elseif(Mode=='Mythical')then
- local Alpha = .1
- if(NeutralAnims)then
- GotEffect{
- Lifetime=.5;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- Color=BrickColor.new'Alder'.Color;
- Transparency={.5,1};
- Material=Enum.Material.Neon;
- Size=Vector3.new(.3,2,.3);
- EndSize=Vector3.new(.1,1,.1);
- }
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(M.R(0+1*M.S(Sine/64)),M.R(-15),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/32)),M.R(15),0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(.5,0+.05*M.S(Sine/32),-.5)*CF.A(M.R(15+1.5*M.C(Sine/51)),M.R(5+5*M.C(Sine/57)),M.R(85-5*M.C(Sine/46))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(-.3,0+.05*M.S(Sine/32),.1)*CF.A(M.R(-25),M.R(5-2.5*M.C(Sine/32)),M.R(-35+1.5*M.C(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(0,M.R(15),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(Mode=='Ruined')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(M.R(-5+1*M.S(Sine/64)),M.R(-25),0),Alpha)
- if(M.RNG(1,25)==1)then
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),.8)
- else
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/32)),M.R(35),M.R(-10))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
- end
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(0,M.R(5+5*M.C(Sine/32)),M.R(-10-5*M.C(Sine/32))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(-.1,0+.05*M.S(Sine/32),0)*CF.A(M.R(175),M.R(5-2.5*M.C(Sine/32)),M.R(-25-1.5*M.C(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(M.R(-10),M.R(25),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(M.R(5),0,0),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- --[[elseif(Mode=='Atramentous')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(-.2+.4*M.C(Sine/39),.5+.2*M.C(Sine/32),0)*CF.A(M.R(-2+5*M.S(Sine/58)),M.R(-15+5*M.C(Sine/42)),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-7-2.5*M.S(Sine/32)),M.R(15),0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(0,0,M.R(-15+5*M.S(Sine/32))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(0,0,M.R(15-5*M.S(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.5,-.2)*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(5)),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end]]
- elseif(Mode=='Atramentous')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(M.R(-25+1*M.S(Sine/64)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/32)),M.R(-5),0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(M.R(25),M.R(5+5*M.C(Sine/32)),M.R(-10-5*M.C(Sine/32))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(M.R(25),M.R(5-5*M.C(Sine/32)),M.R(10+5*M.C(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(M.R(25),0,M.R(-3)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(M.R(25),0,M.R(3)),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(Mode=='Subzero')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(0,M.R(28),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-7-2.5*M.S(Sine/32)),M.R(-28),0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(.5,-.1+.05*M.S(Sine/32),-.8)*CF.A(M.R(13),M.R(-12),M.R(104-2*M.S(Sine/36))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(-.5,0+.05*M.S(Sine/32),-.6)*CF.A(M.R(-17),M.R(-20),M.R(-79+1*M.S(Sine/36))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(0,0,M.R(-1)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(M.R(4),M.R(-28),M.R(8)),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(Mode=='Troubadour')then
- if(vaporwaveMode)then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(CF.N(0,-0.2-.1*M.S(Sine/36),0.6)*CF.A(M.R(74.3+2.5*M.C(Sine/36)),M.R(0),M.R(0)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1,0.8,0)*CF.A(M.R(11.4-5*M.C(Sine/42)),M.R(-3.3),M.R(137.5)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1,0.9,-0.1)*CF.A(M.R(13.7-5*M.C(Sine/42)),M.R(7.7),M.R(-136.2)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.4,-0.3)*CF.A(M.R(-16.6-5*M.C(Sine/42)),M.R(0),M.R(0)),Alpha)
- if(legAnims)then
- LH.C0 = LH.C0:lerp(CF.N(-0.7,-1,0)*CF.A(M.R(37.2+10*M.C(Sine/36)),M.R(0),M.R(24)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.8,-1.1,-0.1)*CF.A(M.R(5.9+5*M.C(Sine/36)),M.R(3.5),M.R(-43.9)),Alpha)
- end
- elseif(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- else
- local Alpha = .3
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/20)+(music.PlaybackLoudness/5000),0)*CF.A(M.R(0+1*M.S(Sine/64)),M.R(35),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(0+1*M.S(Sine/24)),M.R(-35),0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-15+10*M.C(Sine/20))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(75-(music.PlaybackLoudness/7.5)),M.R(5),M.R(35)),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.05*M.C(Sine/20)-(music.PlaybackLoudness/5000),0)*CF.A(0,M.R(25),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.05*M.C(Sine/20)-(music.PlaybackLoudness/5000),0),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- end
- elseif(Mode=='Infectious')then
- local Alpha = .1
- if(NeutralAnims)then
- GotEffect{
- Lifetime=.2;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- Color=BrickColor.new'Dark indigo'.Color;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=Vector3.new(.5,1,.5);
- EndSize=Vector3.new(.1,3,.1);
- }
- GotEffect{
- Lifetime=.2;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- Color=BrickColor.new'Dark indigo'.Color;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=Vector3.new(.5,1,.5);
- EndSize=Vector3.new(.1,3,.1);
- }
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.05*M.C(Sine/32),0)*CF.A(M.R(0+1*M.S(Sine/64)),M.R(-15),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/32)),M.R(15),0),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(-.5,0+.05*M.S(Sine/32),-.4)*CF.A(M.R(25),M.R(5-2.5*M.C(Sine/32)),M.R(-65+1.5*M.C(Sine/32))),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.05*M.S(Sine/32),0)*CF.A(0,M.R(5-5*M.C(Sine/32)),M.R(-10-5*M.C(Sine/32))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/32),0)*CF.A(0,M.R(15),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/32),0),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(Mode=='Love')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(CF.N(0,0,0)*CF.A(0,0,M.R(0+5*M.C(Sine/16))),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(0,0,-M.R(0+5*M.C(Sine/16))),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,-.15,0)*CF.A(M.R(15),0,M.R(20)),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(5+5*M.S(Sine/16))),Alpha)
- end
- if(legAnims)then
- if(NeutralAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,-M.R(0+5*M.C(Sine/16)))*CF.A(M.R(-15),M.R(25),0),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,-M.R(0+5*M.C(Sine/16))),Alpha)
- else
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(Mode=='The Big Black')then
- local Alpha = .1
- if(NeutralAnims)then
- GotEffect{
- Lifetime=.5;
- Mesh={Type=Enum.MeshType.Sphere};
- CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360));
- Color=BrickColor.new'Black'.Color;
- Transparency={0,1};
- Material=Enum.Material.Neon;
- Size=Vector3.new(.5,1,.5);
- EndSize=Vector3.new(.1,3,.1);
- }
- RJ.C0 = RJ.C0:lerp(CF.N(0,0+.05*M.C(Sine/32),0.2)*CF.A(M.R(15.5),M.R(20.8),M.R(0)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-0.9,0.4,-0.7)*CF.A(M.R(121.8),M.R(14.6),M.R(84.8))*CF.A(M.R(0+3*M.S(Sine/32)),0,0),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(1.3,0.3,-0.1)*CF.A(M.R(40+5*M.C(Sine/44)),M.R(-11.6),M.R(65.5+2.5*M.C(Sine/36))),Alpha)
- if(M.RNG(1,45)==1)then
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),.8)
- else
- NK.C0 = NK.C0:lerp(CF.N(0,1.5,-0.2)*CF.A(M.R(-15.6),M.R(-20.1),M.R(-5.5))*CF.A(M.R(0+1.5*M.S(Sine/32)),0,0),Alpha)
- end
- if(legAnims)then
- LH.C0 = LH.C0:lerp(CF.N(-0.6,-1-.05*M.C(Sine/32),0.1)*CF.A(M.R(-27.6),M.R(0),M.R(13.8)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.6,-1.1-.05*M.C(Sine/32),-0.1)*CF.A(M.R(-16.5),M.R(-20),M.R(-5.8)),Alpha)
- end
- elseif(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- elseif(Mode=='Legendary')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(CF.N(0,4.8+.2*M.C(Sine/24),0)*CF.A(M.R(30+5*M.S(Sine/24)),M.R(16.7),M.R(-9.4)),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.1,1,0.2)*CF.A(M.R(173.3+1*M.S(Sine/28)),M.R(19.9+2*M.S(Sine/28)),M.R(38.7)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(0.7,0.3,-0.6)*CF.A(M.R(46.8+1*M.S(Sine/28)),M.R(6.4+2*M.S(Sine/28)),M.R(-79.6)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(0,1.4,-0.5)*CF.A(M.R(-40-5*M.S(Sine/24)),M.R(-18.7),M.R(-3.7)),Alpha)
- if(legAnims)then
- LH.C0 = LH.C0:lerp(CF.N(-0.5,-1,0)*CF.A(M.R(1.9+7.5*M.S(Sine/24)),M.R(19.2),M.R(-5.7)),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.4,-1,-0.8)*CF.A(M.R(-63.8+7.5*M.S(Sine/24)),M.R(-15),M.R(8.3)),Alpha)
- end
- elseif(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- elseif(Mode=='Lust')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(CF.N(0,0.7+.1*M.C(Sine/36),0)*CF.A(M.R(0),M.R(0),M.R(-90-2.5*M.S(Sine/36))),Alpha)
- LS.C0 = LS.C0:lerp(CF.N(-1.2,0.1,0.1)*CF.A(M.R(23),M.R(16.5),M.R(20.6)),Alpha)
- RS.C0 = RS.C0:lerp(CF.N(0.8,1,-0.4)*CF.A(M.R(-162),M.R(-11.2),M.R(-22.6)),Alpha)
- NK.C0 = NK.C0:lerp(CF.N(-0.2,1.4,0)*CF.A(M.R(0),M.R(0),M.R(48.9)),Alpha)
- if(legAnims)then
- LH.C0 = LH.C0:lerp(CF.N(-0.9,-1.1,-0.2)*CF.A(M.R(-19.3),M.R(6.5),M.R(54.3-7.5*M.S(Sine/36))),Alpha)
- RH.C0 = RH.C0:lerp(CF.N(0.4,-0.9,0)*CF.A(M.R(0),M.R(0),M.R(25.9-7.5*M.S(Sine/36))),Alpha)
- end
- elseif(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- end
- elseif(State == 'Walk')then
- --[[if(Mode=='Atramentous')then
- local Alpha = .1
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(-.2+.4*M.C(Sine/39),.5+.2*M.C(Sine/32),0)*CF.A(M.R(-85+5*M.S(Sine/58)),M.R(0+5*M.C(Sine/42)),0),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.50198829, 0.580981374, 0.000380858371, 0.963434994, 0.267942399, 1.75953949e-06, -0.267942399, 0.963434994, 5.1856041e-06, -3.05473804e-07, -5.48362732e-06, 1)*CF.A(0,0,M.R(0+5*M.S(Sine/32))),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.54895508, 0.519735038, 0.000380946265, 0.98034811, -0.197275475, -1.24170782e-07, 0.19727549, 0.980348051, 9.53674316e-07, -5.96046448e-08, -9.23871994e-07, 1)*CF.A(0,0,M.R(0-5*M.S(Sine/32))),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(65-5*M.S(Sine/58)),0,0),Alpha)
- end
- if(legAnims)then
- LH.C0 = LH.C0:lerp(CFrame.new(-0.49666214, -0.990924835, 0.00763010979, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498336792, -0.303280592, -0.883536756, 1, 0, 0, 0, 0.886996508, 0.461776346, 0, -0.461776316, 0.886996448),Alpha)
- end
- else]]
- local wsVal = 4
- local Alpha = .2
- if(Mode=='Subzero')then Change=.3 elseif(Mode=='The Big Black' or Mode=='Legendary')then Change=1 else Change=.5 end
- if(NeutralAnims)then
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,.05+Change/4*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-(Change*20)-movement/20*M.C(Sine/(wsVal/2)))*forwardvelocity,M.R(0+5*M.C(Sine/wsVal)),M.R(-(Change*20)-movement/20*M.C(Sine/(wsVal/2)))*sidevelocity+M.R(0-1*M.C(Sine/wsVal))),Alpha)
- NK.C0 = NK.C0:lerp(NKC0,Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0)*CF.A(M.R(0+55*(movement/8)*M.S(Sine/wsVal))*forwardvelocity,0,0),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0)*CF.A(M.R(0-55*(movement/8)*M.S(Sine/wsVal))*forwardvelocity,0,0),Alpha)
- end
- if(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-movement/15*M.C(Sine/wsVal)/2,(-.1+movement/15*M.C(Sine/wsVal))*(.5+.5*forwardvelocity))*CF.A((M.R(-10*forwardvelocity+Change*5-movement*M.C(Sine/wsVal))+-(movement/10)*M.S(Sine/wsVal))*forwardvelocity,0,(M.R(Change*5-movement*M.C(Sine/wsVal))+-(movement/10)*M.S(Sine/wsVal))*(sidevec/(Hum.WalkSpeed*2))),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+movement/15*M.C(Sine/wsVal)/2,(-.1-movement/15*M.C(Sine/wsVal))*(.5+.5*forwardvelocity))*CF.A((M.R(-10*forwardvelocity+Change*5+movement*M.C(Sine/wsVal))+(movement/10)*M.S(Sine/wsVal))*forwardvelocity,0,(M.R(Change*5+movement*M.C(Sine/wsVal))+(movement/10)*M.S(Sine/wsVal))*(sidevec/(Hum.WalkSpeed*2))),Alpha)
- local footstepIds = {141491460,141491460}
- if(lhit and lhit.CanCollide and footstepSounds[lhit.Material])then
- if(lhit.Material==Enum.Material.Sand and lhit.Color.r*255>=160 and lhit.Color.g*255>=160 and lhit.Color.b*255>=160)then
- footstepIds[1] = footstepSounds[Enum.Material.Snow]
- else
- footstepIds[1] = footstepSounds[lhit.Material]
- end
- end
- if(rhit and rhit.CanCollide and footstepSounds[rhit.Material])then
- if(rhit.Material==Enum.Material.Sand and rhit.Color.r*255>=160 and rhit.Color.g*255>=160 and rhit.Color.b*255>=160)then
- footstepIds[2] = footstepSounds[Enum.Material.Snow]
- else
- footstepIds[2] = footstepSounds[rhit.Material]
- end
- end
- if(M.C(Sine/wsVal)/2>=.2 and footsound==0 and lhit)then
- local step = Part(Effects,lhit.Color,lhit.Material,V3.N(1,.1,1),CF.N(lpos),true,false)
- step.Transparency=(footstepIds[1]==footstepSounds[Enum.Material.Snow] and 0 or 1)
- local snd = Soond(step,footstepIds[1],M.RNG(80,100)/100,3,false,true,true)
- footsound=1
- S.Debris:AddItem(step,snd.TimeLength+2)
- elseif(M.C(Sine/wsVal)/2<=-.2 and footsound==1 and rhit)then
- local step = Part(Effects,rhit.Color,rhit.Material,V3.N(1,.1,1),CF.N(rpos),true,false)
- step.Transparency=(footstepIds[2]==footstepSounds[Enum.Material.Snow] and 0 or 1)
- local snd = Soond(step,footstepIds[2],M.RNG(80,100)/100,3,false,true,true)
- footsound=0
- S.Debris:AddItem(step,snd.TimeLength+2)
- end
- end
- --end
- elseif(State == 'Jump')then
- local Alpha = .1
- local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
- if(NeutralAnims)then
- LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
- RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- end
- if(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
- end
- elseif(State == 'Fall')then
- local Alpha = .1
- local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
- if(NeutralAnims)then
- LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
- RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
- end
- if(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
- end
- elseif(State == 'Paralyzed')then
- local Alpha = .1
- if(NeutralAnims)then
- LS.C0 = LS.C0:lerp(LSC0,Alpha)
- RS.C0 = RS.C0:lerp(RSC0,Alpha)
- RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
- NK.C0 = NK.C0:lerp(NKC0,Alpha)
- end
- if(legAnims)then
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- end
- elseif(State == 'Sit')then
- end
- if(data.User==data.Local)then
- local syncStuff={
- NeutralAnims;
- legAnims;
- {NK.C0,RJ.C0,RH.C0,RS.C0,LH.C0,LS.C0};
- {NK.C1,RJ.C1,RH.C1,RS.C1,LH.C1,LS.C1};
- Sine;
- movement;
- walking;
- Change;
- --// OPTIONAL SYNC \\--
- MusicMode;
- (music and music.TimePosition or 0);
- (music and music.Pitch or 1);
- WingSine;
- getMode('Troubadour');
- Mode;
- hue;
- }
- end
- end
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton11.Parent = Frame5
- TextButton11.Position = UDim2.new(0.494713306, 0, 0.0701754391, 0)
- TextButton11.Size = UDim2.new(0, 72, 0, 40)
- TextButton11.BackgroundColor = BrickColor.new("Institutional white")
- TextButton11.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton11.BackgroundTransparency = 0.85000002384186
- TextButton11.Font = Enum.Font.SourceSansBold
- TextButton11.FontSize = Enum.FontSize.Size28
- TextButton11.Text = "Cat dance fe"
- TextButton11.TextColor = BrickColor.new("Really black")
- TextButton11.TextColor3 = Color3.new(0, 0, 0)
- TextButton11.TextScaled = true
- TextButton11.TextSize = 28
- TextButton11.TextWrap = true
- TextButton11.TextWrapped = true
- LocalScript12.Parent = TextButton11
- table.insert(cors,sandbox(LocalScript12,function()
- function onClick()
- function LoadLibrary(a)
- return loadstring(game:HttpGet("https://pastebin.com/raw/UfzKgS6T", true))()
- end
- loadstring(game:GetObjects("rbxassetid://4480871791")[1].Source)()
- -----------------------------------------------
- --DANCE TO THE BEAT, WAVE YOUR HANDS TOGETHER--
- ------------------------------------------------
- --I wanted to make something like Heavy Dance.--
- -- ~Sugarie --
- ------------------------------------------------
- wait(1/60)
- Effects = { }
- local Player = game:service'Players'.localPlayer
- local chara = workspace.CloneCharacter
- local Humanoid = chara:FindFirstChildOfClass("Humanoid")
- local Mouse = Player:GetMouse()
- local LeftArm = chara["Left Arm"]
- local RightArm = chara["Right Arm"]
- local LeftLeg = chara["Left Leg"]
- local RightLeg = chara["Right Leg"]
- local Head = chara.Head
- local Torso = chara.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = chara.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.WalkSpeed = 2
- Humanoid.Animator.Parent = nil
- chara.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.03333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- sndid = "rbxassetid://176322684"
- sndpi = .7
- saun = Instance.new("Sound",Head)
- saun.Volume = 1
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Name = "a"
- saun.Looped = true
- saun:Play()
- dant = 0
- Mouse.KeyDown:connect(function(key)
- key=key:lower()
- if key=="e" then
- if dant == 0 then
- dant = 1
- sndid = "rbxassetid://448668887"
- sndpi = 1
- elseif dant == 1 then
- dant = 0
- sndid = "rbxassetid://176322684"
- sndpi = .7
- end
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun:Play()
- end
- end)
- while true do
- if Head:FindFirstChild("a")==nil then
- saun = Instance.new("Sound",Head)
- saun.Volume = 1
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Name = "a"
- saun.Looped = true
- saun:Play()
- end
- if dant == 0 then
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
- CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
- CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .5, false)
- end
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.268402338, -0.187939167, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
- CFrame.new(-0.409892142, 1.36144388, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
- CFrame.new(0.535924554, 1.16478181, 3.87430191e-07, -0.431316972, 0.32139343, 0.843013644, 0.185034022, -0.883022308, 0.431316644, 0.883022249, 0.342020333, 0.321393758),
- CFrame.new(-1.03069234, 0.594579875, -2.38418579e-07, -0.211470842, 0.321393758, -0.923030972, -0.418988168, -0.883022726, -0.211470872, -0.883022726, 0.342019141, 0.321393728),
- CFrame.new(0.951213062, -1.54518354, 0, 0.866025686, -0.499999642, 0, 0.499999642, 0.866025686, 0, 0, 0, 1),
- CFrame.new(0.214191973, -1.8503952, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
- }, .5, false)
- end
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
- CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
- CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .5, false)
- end
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.268400908, -0.187940732, 0, 0.939692855, -0.342019945, 0, 0.342019975, 0.939692795, 0, 0, 0, 1),
- CFrame.new(0.409947664, 1.36144304, 0, 0.766039729, 0.642798781, 0, -0.642787337, 0.766043961, 0, 0, 0, 1),
- CFrame.new(1.03070939, 0.594575524, -2.2649765e-06, -0.21146287, -0.321413547, 0.923025966, 0.418989599, -0.883016884, -0.21149224, 0.883023918, 0.342015505, 0.321394145),
- CFrame.new(-0.535904408, 1.16477537, -3.27825546e-07, -0.431322306, -0.321409196, -0.843005002, -0.185032129, -0.883013964, 0.431334615, -0.883019984, 0.342027217, 0.321392536),
- CFrame.new(-0.214235365, -1.8503921, 0, 0.766041398, 0.64279145, 0, -0.64279151, 0.766041279, 0, 0, 0, 1),
- CFrame.new(-0.965987146, -1.57677674, 0, 0.866024733, 0.500001609, 0, -0.500001609, 0.866024613, 0, 0, 0, 1),
- }, .5, false)
- end
- elseif dant == 1 then
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
- CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
- CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .2, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0436433926, 0, -0.113613628, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
- CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(1.09998989, 1, -0.599998474, 0, 0, 1, 1, 0, 0, 0, 1, 0),
- CFrame.new(-1.10000229, 1, -0.599998474, 0, 0, -1, -1, 0, 0, 0, 1, 0),
- CFrame.new(0.499988556, -1.99999797, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.500012398, -1.78038144, -0.819608092, 1, 0, 1.49011612e-08, 0, 0.499999046, -0.866025984, 0, 0.866026044, 0.499999046),
- }, .2, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
- CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
- CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .2, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.261404335, 0, -0.167939946, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414),
- CFrame.new(0, 1.49999285, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
- CFrame.new(1.10000622, 0.999999046, -0.599996626, 0, 0, 1.00000012, 1, 0, 0, 0, 1.00000012, 0),
- CFrame.new(-1.09999859, 0.999999046, -0.59999758, 0, 0, -1.00000012, -1, 0, 0, 0, 1.00000012, 0),
- CFrame.new(0.500000179, -1.78038287, -0.81961149, 1.00000012, -2.98023224e-08, 2.98023224e-08, 0, 0.499999046, -0.866025925, 0, 0.866025984, 0.499999106),
- CFrame.new(-0.500003874, -1.99999893, 3.81469772e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
- }, .2, false)
- end
- end
- end
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton13.Parent = Frame5
- TextButton13.Position = UDim2.new(0.246437445, 0, 0.3859649, 0)
- TextButton13.Size = UDim2.new(0, 72, 0, 40)
- TextButton13.BackgroundColor = BrickColor.new("Institutional white")
- TextButton13.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton13.BackgroundTransparency = 0.85000002384186
- TextButton13.Font = Enum.Font.SourceSansBold
- TextButton13.FontSize = Enum.FontSize.Size28
- TextButton13.Text = "Fe punch"
- TextButton13.TextColor = BrickColor.new("Really black")
- TextButton13.TextColor3 = Color3.new(0, 0, 0)
- TextButton13.TextScaled = true
- TextButton13.TextSize = 28
- TextButton13.TextWrap = true
- TextButton13.TextWrapped = true
- LocalScript14.Parent = TextButton13
- table.insert(cors,sandbox(LocalScript14,function()
- function onClick()
- loadstring(game:HttpGet(('https://pastebin.com/raw/YPZ0wNaw'),true))()
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton15.Parent = Frame5
- TextButton15.Position = UDim2.new(0.742989182, 0, 0.0643274784, 0)
- TextButton15.Size = UDim2.new(0, 72, 0, 40)
- TextButton15.BackgroundColor = BrickColor.new("Institutional white")
- TextButton15.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton15.BackgroundTransparency = 0.85000002384186
- TextButton15.Font = Enum.Font.SourceSansBold
- TextButton15.FontSize = Enum.FontSize.Size28
- TextButton15.Text = "FE invisible fling"
- TextButton15.TextColor = BrickColor.new("Really black")
- TextButton15.TextColor3 = Color3.new(0, 0, 0)
- TextButton15.TextScaled = true
- TextButton15.TextSize = 28
- TextButton15.TextWrap = true
- TextButton15.TextWrapped = true
- LocalScript16.Parent = TextButton15
- table.insert(cors,sandbox(LocalScript16,function()
- function onClick()
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Loaded press z to execute inviseble , press x to respawn)"
- wait(0.5)
- message:Destroy()
- end)
- local mouse = game.Players.LocalPlayer:GetMouse()
- local groot = nil
- mouse.KeyDown:connect(function(k)
- if k == "z" then
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Fe Invisible Fling By Diemiers#4209 Loaded (wait 11 seconds to load)"
- wait(11)
- message:Destroy()
- end)
- local ch = game.Players.LocalPlayer.Character
- local prt=Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 =Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- z2.Position = Vector3.new(0,9991,0)
- game.Players.LocalPlayer.Character=prt
- wait(5)
- game.Players.LocalPlayer.Character=ch
- wait(6)
- local plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- local Hum = Instance.new("Humanoid")
- Hum.Parent = game.Players.LocalPlayer.Character
- local root = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i,v in pairs(plr.Character:GetChildren()) do
- if v ~= root and v.Name ~= "Humanoid" then
- v:Destroy()
- end
- end
- workspace.CurrentCamera.CameraSubject = root
- local se = Instance.new("SelectionBox",root)
- se.Adornee = root
- game:GetService('RunService').Stepped:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- end)
- power = 999999 -- change this to make it more or less powerful
- power = power*10
- ---
- wait(.1)
- local bambam = Instance.new("BodyThrust")
- bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- bambam.Force = Vector3.new(power,0,power)
- bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- local plr = game.Players.LocalPlayer
- local torso = root
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 120
- local speed = 15
- ---local bambam = Instance.new("BodyThrust")
- ---bambam.Parent = torso
- --bambam.Force = Vector3.new(9999999,0,9999999)
- --bambam.Location = torso.Position
- ---
- groot = root
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(0, 0, 0)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.2
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- elseif key:lower() == "r" then
- end
- end)
- Fly()
- elseif k == "x" then
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Respawning dont spam"
- wait(1)
- message:Destroy()
- end)
- local saved = groot.Position
- local ch = game.Players.LocalPlayer.Character
- local prt=Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 =Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- z2.Position = Vector3.new(0,9991,0)
- game.Players.LocalPlayer.Character=prt
- wait(5)
- game.Players.LocalPlayer.Character=ch
- local poop = nil
- repeat wait() poop = game.Players.LocalPlayer.Character:FindFirstChild("Head") until poop ~= nil
- wait(1)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(saved)
- end
- end)
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton17.Parent = Frame5
- TextButton17.Position = UDim2.new(0.494713306, 0, 0.3859649, 0)
- TextButton17.Size = UDim2.new(0, 72, 0, 40)
- TextButton17.BackgroundColor = BrickColor.new("Institutional white")
- TextButton17.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton17.BackgroundTransparency = 0.85000002384186
- TextButton17.Font = Enum.Font.SourceSansBold
- TextButton17.FontSize = Enum.FontSize.Size28
- TextButton17.Text = "FE JEVIL"
- TextButton17.TextColor = BrickColor.new("Really black")
- TextButton17.TextColor3 = Color3.new(0, 0, 0)
- TextButton17.TextScaled = true
- TextButton17.TextSize = 28
- TextButton17.TextWrap = true
- TextButton17.TextWrapped = true
- LocalScript18.Parent = TextButton17
- table.insert(cors,sandbox(LocalScript18,function()
- function onClick()
- function LoadLibrary(a)
- return loadstring(game:HttpGet("https://pastebin.com/raw/UfzKgS6T", true))()
- end
- loadstring(game:GetObjects("rbxassetid://4480871791")[1].Source)()
- -----------------------------------------------------
- ------------------------Jevil------------------------
- -----------------------------------------------------
- --Made by mrfunnylaughs4. I may not know everything about Jevil since I don't play DeltaRune, but I'll try
- --my best on keeping it as similar as possible.
- local plr = game:GetService("Players").LocalPlayer
- local mouse = plr:GetMouse()
- local char = workspace.CloneCharacter
- if char:FindFirstChild("Animate") then
- char.Animate:Destroy()
- end
- local hum = char:FindFirstChildOfClass("Humanoid")
- local tors = char.Torso
- local head = char.Head
- local rootpart = char.HumanoidRootPart
- local RS = tors["Right Shoulder"]
- local LS = tors["Left Shoulder"]
- local RH = tors["Right Hip"]
- local LH = tors["Left Hip"]
- local neck = tors.Neck
- local rootj = rootpart.RootJoint
- local RSnor = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- local LSnor = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- local RHnor = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- local LHnor = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- local necknor = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local rootjnor = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local sine = 0
- local rooted = false
- local attack = false
- local music = Instance.new("Sound")
- music.Parent = tors
- local timepos = 0
- local playing = true
- local volume = 2
- local song = "rbxassetid://2545298782"
- local JevilForm = false
- hum.WalkSpeed = 10
- -----------------------------------------------------
- ----------------------Functions----------------------
- -----------------------------------------------------
- local function SmoothPart(part)
- part.TopSurface = Enum.SurfaceType.Smooth
- part.BottomSurface = Enum.SurfaceType.Smooth
- part.LeftSurface = Enum.SurfaceType.Smooth
- part.RightSurface = Enum.SurfaceType.Smooth
- part.FrontSurface = Enum.SurfaceType.Smooth
- part.BackSurface = Enum.SurfaceType.Smooth
- end
- local function Effect(Length, Type, SizeStart, SizeEnd, Position, Colour, Parent, Material, CanCollide)
- local part = Instance.new("Part")
- part.Name = Type
- part.Material = Material or Enum.Material.Plastic
- part.CFrame = Position
- part.CanCollide = CanCollide or false
- part.Size = SizeStart
- part.Anchored = true
- part.BrickColor = BrickColor.new(tostring(Colour))
- part.Parent = Parent or workspace
- if Type == "Block" then
- SmoothPart(part)
- end
- if Type == "Sphere" then
- part.Shape = Enum.PartType.Ball
- SmoothPart(part)
- end
- if Type == "TwirlSwirl" or Type == "Swirl" then
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.MeshId = "rbxassetid://662585058"
- mesh.Name = "SwirlMesh"
- mesh.Scale = SizeStart / Vector3.new(500, 500, 500)
- mesh.Parent = part
- end
- if Type == "Wave" or Type == "SpiralWave" then
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.MeshId = "rbxassetid://20329976"
- mesh.Name = "WaveMesh"
- mesh.Scale = SizeStart / Vector3.new(4, 4, 4)
- mesh.Parent = part
- end
- if Type == "MeshSphere" then
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.Sphere
- mesh.Parent = part
- SmoothPart(part)
- end
- if Type == "Cylinder" then
- part.Shape = Enum.PartType.Cylinder
- SmoothPart(part)
- end
- if Type == "KillSphere" then
- part.Shape = Enum.PartType.Cylinder
- part.Transparency = 1
- part.Touched:Connect(function()
- end)
- end
- spawn(function()
- local TwirlAngle = math.random(-250, 250) / 1000
- local WaveAngle = math.random(-500, 500) / 1000
- for i = 1, Length do
- game:GetService("RunService").RenderStepped:Wait()
- part.Transparency = part.Transparency + 1 / Length
- part.Size = part.Size + SizeEnd / Vector3.new(Length, Length, Length)
- if Type == "TwirlSwirl" then
- part.CFrame = part.CFrame * CFrame.Angles(TwirlAngle, TwirlAngle, TwirlAngle)
- part.SwirlMesh.Scale = part.SwirlMesh.Scale + SizeEnd / Vector3.new(Length * 500, Length * 500, Length * 500)
- end
- if Type == "Swirl" then
- part.CFrame = part.CFrame * CFrame.Angles(0, TwirlAngle, 0)
- part.SwirlMesh.Scale = part.SwirlMesh.Scale + SizeEnd / Vector3.new(Length * 500, Length * 500, Length * 500)
- end
- if Type == "SpiralWave" then
- part.CFrame = part.CFrame * CFrame.Angles(WaveAngle, WaveAngle, WaveAngle)
- part.WaveMesh.Scale = part.WaveMesh.Scale + SizeEnd / Vector3.new(Length * 4, Length * 4, Length * 4)
- end
- if Type == "Wave" then
- part.CFrame = part.CFrame * CFrame.Angles(0, WaveAngle, 0)
- part.WaveMesh.Scale = part.WaveMesh.Scale + SizeEnd / Vector3.new(Length * 4, Length * 4, Length * 4)
- end
- if Type == "KillSphere" then
- for i,v in pairs(part:GetTouchingParts()) do
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") and not v:IsDescendantOf(char) then
- v.Parent:BreakJoints()
- end
- end
- end
- end
- part:Destroy()
- end)
- end
- -----------------------------------------------------
- ----------------------Creations----------------------
- -----------------------------------------------------
- local hat = Instance.new("Part")
- hat.Name = "JevilHat"
- hat.Size = Vector3.new(1, 1, 1)
- hat.CanCollide = false
- hat.Parent = char
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.MeshId = "rbxassetid://193760002"
- mesh.TextureId = "rbxassetid://193760041"
- mesh.VertexColor = Vector3.new(0.5, 0, 0.5)
- mesh.Parent = hat
- local weld = Instance.new("Weld")
- weld.Part0 = head
- weld.Part1 = hat
- weld.C0 = CFrame.new(0, 0.5, 0.31)
- weld.Parent = hat
- local shirt = Instance.new("Shirt")
- shirt.Name = "Cloth"
- shirt.ShirtTemplate = "rbxassetid://2544612637"
- shirt.Parent = char
- local pants = Instance.new("Pants")
- pants.Name = "Cloth"
- pants.PantsTemplate = "rbxassetid://2544611861"
- pants.Parent = char
- -----------------------------------------------------
- -----------------Attacking functions-----------------
- -----------------------------------------------------
- game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
- if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard and attack == false then
- if JevilForm == false then
- if input.KeyCode == Enum.KeyCode.T then
- attack = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545211765"
- sound.Volume = 5
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, -0.3, 2), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- attack = false
- end
- if input.KeyCode == Enum.KeyCode.F then
- attack = true
- rooted = true
- playing = false
- for i = 1, 90 do
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 16, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 16, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 2 + 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545010175"
- sound.Volume = 5
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 2 + 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- for i = 1, 30 do
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 2 + 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- if math.random(1, 100) == 1 then
- song = "rbxassetid://2582332053"
- else
- volume = 0.5
- song = "rbxassetid://2597271983"
- end
- music.TimePosition = 0
- hum.HipHeight = 2
- playing = true
- JevilForm = true
- attack = false
- rooted = false
- hum.WalkSpeed = 20
- hum.JumpPower = 50
- end
- end
- if JevilForm == true then
- if input.KeyCode == Enum.KeyCode.Z then
- attack = true
- rooted = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545008459"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- for i = 1, 10 do
- for i = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- for i,v in pairs(char:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = v.Transparency + 1 / 15
- end
- if v:IsA("Decal") then
- v.Transparency = v.Transparency + 1 / 15
- end
- end
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- local oldpos = rootpart.Position
- local dist = (rootpart.Position - mouse.Hit.Position).Magnitude
- if dist > 30 then
- dist = 30
- end
- rootpart.CFrame = CFrame.new(oldpos + CFrame.new(oldpos, mouse.Hit.Position).LookVector * dist + Vector3.new(0, 6, 0), Vector3.new(oldpos.X, rootpart.Position.Y, oldpos.Z)) * CFrame.Angles(0, math.pi, 0)
- for i = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- for i,v in pairs(char:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = v.Transparency - 1 / 15
- end
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- for i,v in pairs(char:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0
- end
- if v:IsA("Decal") then
- v.Transparency = 0
- end
- end
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545012765"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- for amount = 1, 5 do
- local spade = Instance.new("Part")
- spade.Name = "Spade"
- spade.Anchored = true
- spade.CanCollide = false
- spade.Size = Vector3.new(1, 0.05, 1)
- if amount == 1 then
- spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.pi / 2, 0)
- elseif amount == 2 then
- spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(100), 0)
- elseif amount == 3 then
- spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(80), 0)
- elseif amount == 4 then
- spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(110), 0)
- elseif amount == 5 then
- spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(70), 0)
- end
- spade.Parent = char
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2700856195"
- decal1.Face = Enum.NormalId.Top
- decal1.Parent = spade
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2700856195"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Parent = spade
- local debounce = false
- spade.Touched:Connect(function(hit)
- end)
- spawn(function()
- for i = 1, 180 do
- game:GetService("RunService").RenderStepped:Wait()
- for i,v in pairs(spade:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 20
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce = false
- end))
- end
- end
- end
- spade.Transparency = 1
- spade.CFrame = spade.CFrame * CFrame.new(0.5, 0, 0)
- end
- for i = 1, 10 do
- game:GetService("RunService").RenderStepped:Wait()
- spade.CFrame = spade.CFrame * CFrame.new(0.5, 0, 0)
- decal1.Transparency = decal1.Transparency + 0.1
- decal2.Transparency = decal2.Transparency + 0.1
- end
- spade:Destroy()
- end)
- end
- for i = 1, 10 do
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RSnor * CFrame.Angles(-2.5, 0, 0) * CFrame.new(0, 0, -1) + Vector3.new(0, 0.7, 0)
- LS.C0 = LSnor * CFrame.Angles(-2.5, 0, 0) * CFrame.new(0, 0, -1) + Vector3.new(0, 0.7, 0)
- RH.C0 = RHnor * CFrame.Angles(-1, 0, 0)
- LH.C0 = LHnor * CFrame.Angles(-1, 0, 0)
- rootj.C0 = rootjnor
- neck.C0 = necknor
- end
- end
- attack = false
- rooted = false
- hum.WalkSpeed = 20
- hum.JumpPower = 50
- end
- if input.KeyCode == Enum.KeyCode.X then
- attack = true
- for i = 1, 4 do
- local model = Instance.new("Model")
- model.Name = "Spades"
- model.Parent = char
- local mainpart = Instance.new("Part")
- mainpart.Transparency = 1
- mainpart.CanCollide = false
- mainpart.Anchored = true
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- mainpart.Parent = model
- model.PrimaryPart = mainpart
- local spades = {}
- for i = 1, 10 do
- local spade = Instance.new("Part")
- spade.Name = "Spade"
- spade.Transparency = 1
- spade.Anchored = true
- spade.CanCollide = false
- spade.Size = Vector3.new(2, 0.05, 2)
- spade.Parent = model
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2700856195"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = spade
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2700856195"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = spade
- local debounce = false
- spade.Touched:Connect(function(hit)
- end)
- table.insert(spades, spade)
- end
- for i = 1, #spades do
- spades[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-20, 0, 0)
- end
- for x = 20, 10, -0.5 do
- game:GetService("RunService").RenderStepped:Wait()
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- for i = 1, #spades do
- for i,v in pairs(spades[i]:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 0.05
- end
- end
- spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-x, 0, 0), 0.15)
- end
- end
- for i = 1, 35 do
- game:GetService("RunService").RenderStepped:Wait()
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- for i = 1, #spades do
- spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-10, 0, 0), 0.15)
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, #spades do
- coroutine.resume(coroutine.create(function()
- for x = 10, 13, 0.3 do
- game:GetService("RunService").RenderStepped:Wait()
- spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-x, 0, 0), 0.15)
- end
- for x = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-13, 0, 0), 0.15)
- end
- local debounce = false
- for x = 0, 0.5, 0.025 do
- game:GetService("RunService").RenderStepped:Wait()
- for i,v in pairs(spades[i]:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 20
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce = false
- end))
- end
- end
- end
- spades[i].CFrame = spades[i].CFrame * CFrame.new(x, 0, 0)
- end
- for x = 0.5, 1, 0.025 do
- game:GetService("RunService").RenderStepped:Wait()
- for i,v in pairs(spades[i]:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency + 0.05
- end
- end
- for i,v in pairs(spades[i]:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 5
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce = false
- end))
- end
- end
- end
- spades[i].CFrame = spades[i].CFrame * CFrame.new(x, 0, 0)
- end
- spades[i]:Destroy()
- end))
- wait(0.05)
- end
- end))
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1.4)
- model:Destroy()
- end))
- end
- attack = false
- end
- if input.KeyCode == Enum.KeyCode.C then
- attack = true
- rooted = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545011398"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- rooted = false
- hum.WalkSpeed = 20
- hum.JumpPower = 50
- local model = Instance.new("Model")
- model.Name = "Devs"
- model.Parent = char
- local mainpart = Instance.new("Part")
- mainpart.Transparency = 1
- mainpart.CanCollide = false
- mainpart.Anchored = true
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- mainpart.Parent = model
- model.PrimaryPart = mainpart
- local devs = {}
- local devsine = 0
- for i = 1, 4 do
- local dev = Instance.new("Part")
- dev.Name = "Devilsknife"
- dev.Transparency = 1
- dev.Anchored = true
- dev.CanCollide = false
- dev.Size = Vector3.new(4, 0.05, 4.6)
- dev.Parent = model
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2704176861"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = dev
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2704176861"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = dev
- dev.Touched:Connect(function(hit)
- end)
- table.insert(devs, dev)
- end
- local spin = 0
- for i = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- spin = spin + 12
- devsine = devsine + 1
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- for i = 1, #devs do
- for i,v in pairs(devs[i]:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- if i == 1 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- elseif i == 2 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 3 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 4 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- end
- end
- end
- local debounce = {}
- for i = 1, #devs do
- debounce[i] = false
- end
- for i = 1, 500 do
- game:GetService("RunService").RenderStepped:Wait()
- spin = spin + 12
- devsine = devsine + 1
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- for i = 1, #devs do
- for i,v in pairs(devs[i]:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce[i] == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce[i] = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 5
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce[i] = false
- end))
- end
- end
- end
- end
- for i = 1, #devs do
- if i == 1 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- elseif i == 2 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 3 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 4 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- end
- end
- end
- for i = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- for i = 1, #devs do
- for i,v in pairs(devs[i]:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency + 1 / 15
- end
- end
- if i == 1 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- elseif i == 2 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 3 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 4 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- end
- end
- end
- model:Destroy()
- attack = false
- end
- if input.KeyCode == Enum.KeyCode.V then
- attack = true
- rooted = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2544975373"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- rooted = false
- hum.WalkSpeed = 20
- hum.JumpPower = 50
- for i = 1, 60 do
- local diamond = Instance.new("Part")
- diamond.Name = "Devilsknife"
- diamond.Transparency = 1
- diamond.Anchored = true
- diamond.CanCollide = false
- diamond.Size = Vector3.new(3, 0.05, 2)
- diamond.Parent = char
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2707737978"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = diamond
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2707737978"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = diamond
- diamond.Touched:Connect(function(hit)
- end)
- diamond.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, math.random(-100, 100) / 25)
- coroutine.resume(coroutine.create(function()
- local movespeed = 0
- for i = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- for i,v in pairs(diamond:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- end
- local debounce = false
- for i = 1, 90 do
- game:GetService("RunService").RenderStepped:Wait()
- movespeed = movespeed + 0.01
- diamond.CFrame = diamond.CFrame * CFrame.new(movespeed, 0, 0)
- for i,v in pairs(diamond:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 10
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce = false
- end))
- end
- end
- end
- end
- for i = 1, 15 do
- game:GetService("RunService").RenderStepped:Wait()
- movespeed = movespeed + 0.01
- for i,v in pairs(diamond:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency + 1 / 15
- end
- end
- diamond.CFrame = diamond.CFrame * CFrame.new(movespeed, 0, 0)
- end
- diamond:Destroy()
- end))
- wait(0.1)
- end
- attack = false
- end
- if input.KeyCode == Enum.KeyCode.B and hum.Health <= 30 then
- attack = true
- rooted = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545011398"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- rooted = false
- hum.WalkSpeed = 20
- hum.JumpPower = 50
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545211516"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- until sound.Playing == false
- local ticking = 0.6
- for i = 1, 40 do
- local dev = Instance.new("Part")
- dev.Name = "Devilsknife"
- dev.Transparency = 1
- dev.Anchored = true
- dev.CanCollide = false
- dev.Size = Vector3.new(4, 0.05, 4.6)
- dev.Parent = char
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2704176861"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = dev
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2704176861"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = dev
- dev.Touched:Connect(function(hit)
- end)
- dev.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.Angles(0, 0, math.pi / 2) + Vector3.new(0, 50, 0)
- local spin = 0
- local fallspeed = 0
- coroutine.resume(coroutine.create(function()
- local debounce = false
- for i = 1, 60 do
- game:GetService("RunService").RenderStepped:Wait()
- if i <= 15 then
- for i,v in pairs(dev:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- end
- for i,v in pairs(dev:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 10
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce = false
- end))
- end
- end
- end
- spin = spin + 12
- fallspeed = fallspeed + 0.06
- dev.CFrame = dev.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(0, -fallspeed, 0)
- end
- dev:Destroy()
- end))
- wait(ticking)
- if ticking > 0.2 then
- ticking = ticking - 0.05
- end
- end
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545018472"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").RenderStepped:Wait()
- until sound.Playing == false
- for i = 1, 10 do
- local dev = Instance.new("Part")
- dev.Name = "Devilsknife"
- dev.Transparency = 1
- dev.Anchored = true
- dev.CanCollide = false
- dev.Size = Vector3.new(4, 0.05, 4.6)
- dev.Parent = char
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2704176861"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = dev
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2704176861"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = dev
- dev.Touched:Connect(function(hit)
- end)
- dev.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.Angles(0, 0, math.pi / 2) + Vector3.new(0, 50, 0)
- local spin = 0
- local fallspeed = 0
- coroutine.resume(coroutine.create(function()
- local debounce = false
- for i = 1, 60 do
- game:GetService("RunService").RenderStepped:Wait()
- if i <= 15 then
- for i,v in pairs(dev:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- end
- for i,v in pairs(dev:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 10
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce = false
- end))
- end
- end
- end
- spin = spin + 12
- fallspeed = fallspeed + 0.06
- dev.CFrame = dev.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(0, -fallspeed, 0)
- end
- dev:Destroy()
- end))
- wait(ticking)
- if ticking > 0.2 then
- ticking = ticking - 0.05
- end
- end
- local giantdev = Instance.new("Part")
- giantdev.Name = "Devilsknife"
- giantdev.Transparency = 1
- giantdev.Anchored = true
- giantdev.CanCollide = false
- giantdev.Size = Vector3.new(60, 0.05, 62)
- giantdev.Parent = char
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2704176861"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = giantdev
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2704176861"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = giantdev
- giantdev.Touched:Connect(function(hit)
- end)
- giantdev.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.Angles(math.rad(105), 0, math.pi / 2) + Vector3.new(0, 100, 0)
- for i = 1, 180 do
- game:GetService("RunService").RenderStepped:Wait()
- if i <= 15 then
- for i,v in pairs(giantdev:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- end
- giantdev.CFrame = giantdev.CFrame + Vector3.new(0, -0.7, 0, 0)
- end
- Effect(60, "Sphere", Vector3.new(30, 30, 30), Vector3.new(150, 150, 150), CFrame.new(giantdev.Position) + Vector3.new(0, -40, 0), BrickColor.new("Institutional white"), char)
- Effect(60, "KillSphere", Vector3.new(30, 30, 30), Vector3.new(150, 150, 150), CFrame.new(giantdev.Position) + Vector3.new(0, -40, 0), BrickColor.new("Institutional white"), char)
- for i = 1, 5 do
- Effect(60, "Wave", Vector3.new(90, 15, 90), Vector3.new(450, 75, 450), CFrame.new(giantdev.Position) + Vector3.new(0, 28, 0), BrickColor.new("Mid gray"), char)
- end
- giantdev:Destroy()
- wait(1)
- attack = false
- end
- end
- end
- end)
- -----------------------------------------------------
- ---------------------Wrapping up---------------------
- -----------------------------------------------------
- while game:GetService("RunService").RenderStepped:Wait() do
- sine = sine + 1
- for i,v in pairs(hum:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v.Name == "Head" then
- for i,v in pairs(v:GetChildren()) do
- if v:IsA("Decal") then
- v.Texture = "rbxassetid://241553801"
- end
- end
- v.Color = Color3.new(180 / 255, 180 / 255, 228 / 255)
- end
- if v.Name == "Left Leg" or v.Name == "Right Leg" then
- v.Color = Color3.new(180 / 255, 180 / 255, 228 / 255)
- end
- if (v:IsA("Shirt") or v:IsA("Pants")) and v.Name ~= "Cloth" then
- v:Destroy()
- end
- if v:IsA("BodyColors") then
- v:Destroy()
- end
- end
- if music.Parent == tors then
- music.SoundId = song
- music.Volume = volume
- music.Name = "JevilTheme"
- music.Looped = true
- music.PlaybackSpeed = 1
- music.Playing = playing
- timepos = music.TimePosition
- else
- music = Instance.new("Sound")
- music.TimePosition = timepos
- music.SoundId = song
- music.Volume = volume
- music.Name = "JevilTheme"
- music.Looped = true
- music.PlaybackSpeed = 1
- music.Parent = tors
- music.Playing = playing
- end
- if rooted then
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- end
- local torsvel = (tors.Velocity * Vector3.new(1, 0, 1)).Magnitude
- local hitfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
- if attack == false then
- if JevilForm == false then
- if torsvel < 1 and hitfloor then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.new(0, -0.2 * math.sin(sine / 20), 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.new(0, -0.2 * math.sin(sine / 20), 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.15)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- if torsvel > 1 and hitfloor then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.1, 0, math.sin(sine / 7)), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.1, 0, math.sin(sine / 7)), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 - 0.25) * CFrame.new(-math.cos(sine / 7) / 2, -math.cos(sine / 7) / 2, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 + 0.25) * CFrame.new(-math.cos(sine / 7) / 2, math.cos(sine / 7) / 2, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.1, rootpart.RotVelocity.Y / 70, math.sin(sine / 7) / 5) * CFrame.new(0, 0, math.sin(sine / 3.5) / 10), 0.15)
- neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(0, 0, -head.RotVelocity.Y / 15), 0.15)
- end
- if not hitfloor then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(math.clamp(tors.Velocity.Y / 200 - 0.3, -hum.JumpPower / 200 - 0.3, hum.JumpPower / 200 - 0.3), 0, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(math.clamp(tors.Velocity.Y / 200 - 0.3, -hum.JumpPower / 200 - 0.3, hum.JumpPower / 200 - 0.3), 0, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor + Vector3.new(0, 0.6, -0.4), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, 0.3) + Vector3.new(0, 0.1, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-math.clamp(tors.Velocity.Y / 100, -hum.JumpPower / 100, hum.JumpPower / 100), 0, 0), 0.15)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- end
- if JevilForm == true then
- if torsvel < 1 and hum.Health > 30 then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- if torsvel < 1 and hum.Health <= 30 then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, 0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, -0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, 0.5), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, -0.5), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0) + Vector3.new(0.1 * math.cos(sine / 40), 0.1 * math.sin(sine / 40), 0), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- if torsvel > 1 then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0.4, (-math.pi / 2 + 0.7) + math.sin(sine / 20) / 10), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, -0.4, (math.pi / 2 - 0.7) - math.sin(sine / 20) / 10), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.pi / 2 + 0.7), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.pi / 2 - 0.7), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.7 - math.cos(sine / 20) / 10, rootpart.RotVelocity.Y / 30, 0) + Vector3.new(0, 0.2 * math.sin(sine / 20), 0), 0.15)
- neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(-0.7, 0, -head.RotVelocity.Y / 10), 0.15)
- end
- end
- elseif rooted == false then
- if JevilForm == false then
- if torsvel < 1 and hitfloor then
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- end
- if torsvel > 1 and hitfloor then
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 - 0.25) * CFrame.new(-math.cos(sine / 7) / 2, -math.cos(sine / 7) / 2, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 + 0.25) * CFrame.new(-math.cos(sine / 7) / 2, math.cos(sine / 7) / 2, 0), 0.15)
- end
- if not hitfloor then
- RH.C0 = RH.C0:Lerp(RHnor + Vector3.new(0, 0.6, -0.4), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, 0.3) + Vector3.new(0, 0.1, 0), 0.15)
- end
- end
- if JevilForm == true then
- if torsvel < 1 and hum.Health > 30 then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- if torsvel < 1 and hum.Health <= 30 then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, 0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, -0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, 0.5), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, -0.5), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0) + Vector3.new(0.1 * math.cos(sine / 40), 0.1 * math.sin(sine / 40), 0), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- end
- if torsvel > 1 then
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0.4, (-math.pi / 2 + 0.7) + math.sin(sine / 20) / 10), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, -0.4, (math.pi / 2 - 0.7) - math.sin(sine / 20) / 10), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.pi / 2 + 0.7), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.pi / 2 - 0.7), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.7 - math.cos(sine / 20) / 10, rootpart.RotVelocity.Y / 30, 0) + Vector3.new(0, 0.2 * math.sin(sine / 20), 0), 0.15)
- neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(-0.7, 0, -head.RotVelocity.Y / 10), 0.15)
- end
- end
- end
- end
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- TextButton19.Parent = Frame5
- TextButton19.Position = UDim2.new(0.749885678, 0, 0.3859649, 0)
- TextButton19.Size = UDim2.new(0, 72, 0, 40)
- TextButton19.BackgroundColor = BrickColor.new("Institutional white")
- TextButton19.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton19.BackgroundTransparency = 0.85000002384186
- TextButton19.Font = Enum.Font.SourceSansBold
- TextButton19.FontSize = Enum.FontSize.Size28
- TextButton19.Text = "FE doggo"
- TextButton19.TextColor = BrickColor.new("Really black")
- TextButton19.TextColor3 = Color3.new(0, 0, 0)
- TextButton19.TextScaled = true
- TextButton19.TextSize = 28
- TextButton19.TextWrap = true
- TextButton19.TextWrapped = true
- LocalScript20.Parent = TextButton19
- TextButton21.Parent = Frame5
- TextButton21.Position = UDim2.new(-0.00183838606, 0, 0.695906401, 0)
- TextButton21.Size = UDim2.new(0, 72, 0, 40)
- TextButton21.BackgroundColor = BrickColor.new("Institutional white")
- TextButton21.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton21.BackgroundTransparency = 0.85000002384186
- TextButton21.Font = Enum.Font.SourceSansBold
- TextButton21.FontSize = Enum.FontSize.Size28
- TextButton21.Text = "FE joy"
- TextButton21.TextColor = BrickColor.new("Really black")
- TextButton21.TextColor3 = Color3.new(0, 0, 0)
- TextButton21.TextScaled = true
- TextButton21.TextSize = 28
- TextButton21.TextWrap = true
- TextButton21.TextWrapped = true
- LocalScript22.Parent = TextButton21
- table.insert(cors,sandbox(LocalScript22,function()
- function onClick()
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/0B76TD7N"))()
- end
- script.Parent.MouseButton1Up:connect(onClick)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment