Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn([[Betty
- FE'd by Colorblind Roblox
- Created by SincereProdeadZ and Emanuelecaja18
- --:eyes: i am funny sad the HealthBar dont work, i need to fix it :Sunglasses:
- ]])
- local scripts = game:GetObjects("rbxassetid://5666503799")[1]
- local Player = game:GetService("Players").LocalPlayer
- plr = game:GetService("Players").LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- workspace.CurrentCamera.Focus = Player.Character.Head.CFrame
- local cam = game.Workspace.CurrentCamera
- Cam = game.workspace.CurrentCamera
- Camera = cam
- Player_Size = .9
- local CamInterrupt = false
- local TwoD = false
- local TargetInfo = {nil, nil}
- cam.CameraType = "Custom"
- t = char.Torso
- Torso2 = char.Torso
- h = char.Head
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- tors = char.Torso
- lleg = char["Left Leg"]
- root = char.HumanoidRootPart
- hed = char.Head
- rleg = char["Right Leg"]
- rarm = char["Right Arm"]
- larm = char["Left Arm"]
- radian = math.rad
- Rad = math.rad
- vt = Vector3.new
- BRICKC = BrickColor.new
- random = math.random
- Vec3 = Vector3.new
- Inst = Instance.new
- cFrame = CFrame.new
- Euler = CFrame.fromEulerAnglesXYZ
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- c3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- ceuler = CFrame.fromEulerAnglesXYZ
- chr=plr.Character
- Head=chr.Head
- Root=chr.HumanoidRootPart
- Torso=chr.Torso
- RArm=chr["Right Arm"]
- LArm=chr["Left Arm"]
- RLeg=chr["Right Leg"]
- LLeg=chr["Left Leg"]
- RJ=Root.RootJoint
- Neck=Torso.Neck
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- modecolor={"Fossil","Bright red"}
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- mouse=Player:GetMouse()
- local Booleans = {
- CamFollow = true,
- GyroUse = true
- }
- local speed = 3
- local MRC_A = BrickColor.new("Hot pink")
- local MRC_B = BrickColor.new("Really black")
- 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
- B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
- local Sitt = false
- function lerp(object, newCFrame, alpha)
- return object:lerp(newCFrame, alpha)
- end
- local Directer = Inst("BodyGyro", root)
- Directer.MaxTorque = Vec3(0, 0, 0)
- Directer.P = 600000
- local CPart = Inst("Part")
- CPart.Anchored = true
- CPart.CanCollide = false
- CPart.Locked = true
- CPart.Transparency = 1
- local rainbowmode = false
- local chaosmode = false
- local ORGID = 1534973033
- local ORVOL = 7
- local ORPIT = 1
- local mode = 0
- -------------------------------------------------------
- --Start Anti Nosounds
- -------------------------------------------------------
- local GlitchS
- spawn(function()
- while wait() do
- if not root:FindFirstChild('GlitchS') then
- Theme = Instance.new("Sound")
- Theme.Parent = root
- Theme.SoundId = "rbxassetid://1881119483"
- Theme.Volume = 0
- Theme.Name = "GlitchS"
- Theme.Looped = true
- Theme.Pitch = 1
- Theme:Play()
- -----------------
- GlitchS = sound2
- end
- end
- end)
- function newTheme(ID,timepos,pitch,vol)
- local kmusicz = music
- --kmusicz:Stop()
- kmusicz.Volume = vol
- --kmusicz.TimePosition = timepos
- kmusicz.PlaybackSpeed = pitch
- kmusicz.Pitch = pitch
- kmusicz.SoundId = ID
- kmusicz.Name = "wrecked"
- kmusicz.Looped = true
- currentThemePlaying = kmusicz.SoundId
- currentVol = kmusicz.Volume
- currentPitch = kmusicz.Pitch
- --kmusicz:Play()
- --coroutine.resume(coroutine.create(function()
- --wait(0.05)
- --end))
- end
- function newThemeCust(ID,timepos,pitch,vol)
- local kmusicz = music
- kmusicz:Stop()
- kmusicz.Volume = vol
- kmusicz.TimePosition = timepos
- kmusicz.PlaybackSpeed = pitch
- kmusicz.Pitch = pitch
- kmusicz.SoundId = ID
- kmusicz.Name = "wrecked"
- kmusicz.Looped = true
- currentThemePlaying = kmusicz.SoundId
- currentVol = kmusicz.Volume
- currentPitch = kmusicz.Pitch
- kmusicz:Play()
- coroutine.resume(coroutine.create(function()
- wait(0.05)
- end))
- end
- local mutedtog = false
- function CameraEnshaking(Length,Intensity)
- coroutine.resume(coroutine.create(function()
- local intensity = 1*Intensity
- local rotM = 0.01*Intensity
- for i = 0, Length, 0.1 do
- swait()
- intensity = intensity - 0.05*Intensity/Length
- rotM = rotM - 0.0005*Intensity/Length
- hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
- cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
- end
- Humanoid.CameraOffset = Vec3(0, 0, 0)
- end))
- end
- function chatFunc(msg, timr, col, size)
- spawn(function()
- local namebillboard = Instance.new("BillboardGui")
- local textt = Instance.new("TextBox")
- namebillboard.Size = UDim2.new(6, 0, 1, 0)
- namebillboard.Name = "NameBillboard"
- namebillboard.StudsOffset = Vector3.new(0, 0.75, 2)
- namebillboard.Parent = hed
- textt.TextWrapped = true
- textt.BackgroundTransparency = 1
- textt.BackgroundColor3 = Color3.new(1, 1, 1)
- textt.TextSize = size or 14
- textt.TextScaled = true
- --textt.Font = Enum.Font.Arcade
- textt.Text = msg or ''
- textt.TextStrokeTransparency = 0
- textt.TextStrokeColor3 = Color3.new(1,1,1)
- textt.TextColor = col
- textt.Size = UDim2.new(1, 0, 1, 0)
- textt.Parent = namebillboard
- local RM = math.random(1,2)
- local DR = 0
- for i=1,timr do swait()
- if RM == 1 then
- DR = DR + 1
- namebillboard.StudsOffset = Vector3.new(0, 0.75+2.5*math.sin(DR/(timr/2.5)), 2)
- textt.TextStrokeTransparency = i/timr
- textt.TextTransparency = i/timr
- elseif RM == 2 then
- DR = DR + 1
- namebillboard.StudsOffset = Vector3.new(0, 0.75+2.5*math.sin(DR/(timr/2.5)), 2)
- textt.TextStrokeTransparency = i/timr
- textt.TextTransparency = i/timr
- end
- end
- namebillboard:Destroy()
- end)
- end
- function chatFunc2(msg, timr, size)
- spawn(function()
- local namebillboard = Instance.new("BillboardGui")
- local textt = Instance.new("TextBox")
- namebillboard.Size = UDim2.new(6, 0, 1, 0)
- namebillboard.Name = "NameBillboard"
- namebillboard.StudsOffset = Vector3.new(0, 0.75, 2)
- namebillboard.Parent = hed
- textt.TextWrapped = true
- textt.BackgroundTransparency = 1
- textt.BackgroundColor3 = Color3.new(1, 1, 1)
- textt.TextSize = size or 14
- textt.TextScaled = true
- textt.Font = Enum.Font.Arcade
- textt.Text = msg or ''
- textt.TextStrokeTransparency = 0
- textt.TextStrokeColor3 = MRC_B.Color
- textt.TextColor = MRC_A
- textt.Size = UDim2.new(1, 0, 1, 0)
- textt.Parent = namebillboard
- for i = 1,string.len(msg),1 do
- textt.Text = string.sub(msg,1,i)
- textt.Text = string.sub(msg,1,i)
- namebillboard.StudsOffset = Vector3.new(0, 2.5, 2)
- CFuncs["Sound"].Create("rbxassetid://434975206", Torso, 5,1)
- wait(0.01)
- end
- local RM = math.random(1,2)
- local DR = 0
- for i=1,timr do swait()
- if RM == 1 then
- DR = DR + 1
- namebillboard.StudsOffset = Vector3.new(0, 2.5, 2)
- textt.TextStrokeTransparency = i/timr
- textt.TextTransparency = i/timr
- elseif RM == 2 then
- DR = DR + 1
- namebillboard.StudsOffset = Vector3.new(0, 2.5, 2)
- textt.TextStrokeTransparency = i/timr
- textt.TextTransparency = i/timr
- end
- end
- namebillboard:Destroy()
- end)
- end
- function MegaBossChat(text,color,watval)
- coroutine.resume(coroutine.create(function()
- if plr.PlayerGui:FindFirstChild("Dialog")~= nil then
- plr.PlayerGui:FindFirstChild("Dialog"):destroy()
- end
- local scrg = Instance.new("ScreenGui",plr.PlayerGui)
- scrg.Name = "Dialog"
- local txtlb = Instance.new("TextLabel",scrg)
- txtlb.Text = ""
- txtlb.Font = "Bodoni"
- txtlb.TextColor3 = MRC_A.Color
- txtlb.TextStrokeTransparency = 0
- txtlb.BackgroundTransparency = 1
- txtlb.BackgroundColor3 = Color3.new(0,0,0)
- txtlb.TextStrokeColor3 = MRC_A.Color
- txtlb.TextScaled = true
- txtlb.Size = UDim2.new(1,0,0.25,0)
- txtlb.TextXAlignment = "Center"
- txtlb.Position = UDim2.new(0,0,0.75,0)
- local txtlb2 = Instance.new("TextLabel",scrg)
- txtlb2.Text = ""
- txtlb2.Font = "Arcade"
- txtlb2.TextColor3 = MRC_A.Color
- txtlb2.TextStrokeTransparency = 0
- txtlb2.BackgroundTransparency = 1
- txtlb2.TextStrokeColor3 = MRC_A.Color
- txtlb2.TextSize = 40
- txtlb2.Size = UDim2.new(1,0,0.25,0)
- txtlb2.TextXAlignment = "Left"
- txtlb2.Position = UDim2.new(0,0,1,0)
- local fvalen = 0.55
- local fval = -0.49
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if scrg.Parent ~= nil then
- fvalen = fvalen - 0.0001
- elseif scrg.Parent == nil then
- break
- end
- end
- end))
- local flol = 1.75
- local flil = 1.6
- coroutine.resume(coroutine.create(function()
- for i = 0, 9 do
- swait()
- fval = fval + 0.05
- flol = flol - 0.175
- flil = flil - 0.15
- txtlb.Text = ""
- -- txtlb.Position = UDim2.new(flol,0,0.3,0)
- -- txtlb2.Position = UDim2.new(flil,0,0.3,0)
- end
- txtlb.Text = text
- for i = 1,string.len(text),1 do
- --CFuncs["Sound"].Create("rbxassetid://565939471", char, .6, .8)
- txtlb.Text = string.sub(text,1,i)
- swait(1)
- end
- wait(watval)
- local valinc = 0
- for i = 0, 99 do
- swait()
- valinc = valinc + 0.0001
- flol = flol + valinc
- flil = flil + valinc
- --txtlb.Rotation = txtlb.Rotation + valinc*30
- --txtlb2.Rotation = txtlb2.Rotation - valinc*30
- --txtlb.Position = UDim2.new(0,0,0.3 + flol,0)
- --txtlb2.Position = UDim2.new(0,0,0.3 + flil,0)
- txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
- txtlb.TextTransparency = txtlb.TextTransparency + 0.01
- txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
- txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
- txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
- end
- scrg:Destroy()
- end))
- end))
- end
- local scrg = Instance.new("ScreenGui",plr.PlayerGui)
- scrg.Name = "Movers"
- local massv = Instance.new("ImageLabel",scrg)
- massv.BackgroundTransparency = 1
- massv.BackgroundColor3 = BrickColor.new("Brown").Color
- massv.Image = "rbxassetid://102396405"
- massv.Size = UDim2.new(1,0,1,0)
- massv.ImageTransparency = 1
- massv.ImageColor3 = BrickColor.new("Brown").Color
- massv.Position = UDim2.new(0,0,0,0)
- local Create = LoadLibrary("RbxUtility").Create
- create=LoadLibrary("RbxUtility").Create
- local NSn=NumberSequence.new
- local NSKp=NumberSequenceKeypoint.new
- local CSn=ColorSequence.new
- local NRn=NumberRange.new
- m2=create("Model"){
- Parent=chr,
- Name="WModel"}
- e=create("Model"){
- Parent=chr,
- Name="Effect"}
- function cwedges(Par,name,size,color,mat,ref,tra)
- local wedgez=create("CornerWedgePart"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=false,
- Anchored=false,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(wedgez)
- wedgez:BreakJoints()
- return wedgez
- end
- function parts(Par,name,size,color,mat,ref,tra)
- local part=create("Part"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=false,
- Anchored=false,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(part)
- part:BreakJoints()
- return part
- end
- function meshs(Par,name,scale,mtype,id)
- local mesh=create("SpecialMesh"){
- Parent=Par,
- Name=name,
- Scale=scale,
- MeshType=mtype}
- if id~="" then
- mesh.MeshId="rbxassetid://"..id
- end
- return meshs
- end
- function welds(Par,name,p0,p1,c0,c1)
- local weld=create("Weld"){
- Parent=Par,
- Name=name,
- Part0=p0,
- Part1=p1,
- C0=c0,
- C1=c1}
- return weld
- end
- function sounds(Par,id,vol,pit,emitter)
- local sound=create("Sound"){
- Parent=Par,
- SoundId="rbxassetid://"..id,
- Volume=vol,
- PlaybackSpeed=pit,
- MaxDistance=66666666}
- if emitter~=nil then
- sound.EmitterSize=emitter
- end
- sound:Play()
- game:GetService("Debris"):AddItem(sound,10)
- return sound
- end
- function Weld(part0,part1,c0,c1)
- local weld = Instance.new("Weld")
- weld.Parent = part0
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0 or cf()
- weld.C1 = c1 or cf()
- return weld
- end
- local emitters={}
- local emitterD = Instance.new("ParticleEmitter")
- emitterD.Name = "Dust"
- emitterD.LightEmission = 1
- emitterD.Transparency = NumberSequence.new(0,1)
- emitterD.Size = NumberSequence.new(0,0.2)
- emitterD.SpreadAngle = Vector2.new(360,360)
- emitterD.Speed = NumberRange.new(0.5)
- emitterD.Lifetime = NumberRange.new(0.75)
- emitterD.Texture = "rbxassetid://241812810"
- emitterD.Rate = 1000
- emitterD.Color = ColorSequence.new(Color3.new(1,1,1))
- emitterD.LockedToPart = false
- table.insert(emitters,emitterD)
- function particles(art)
- emitterD:Clone().Parent = art
- end
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end))
- end;
- };
- ["TimeSound"] = {
- Create = function(id, par, vol, pit, timepos)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- TimePosition = timepos,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end))
- end;
- };
- ["EchoSound"] = {
- Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
- coroutine.resume(coroutine.create(function()
- local Sas = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- TimePosition = timepos,
- Parent = par or workspace,
- }
- local E = Create("EchoSoundEffect"){
- Delay = echodelay,
- Name = "Echo",
- Feedback = fedb,
- DryLevel = dryl,
- Parent = Sas,
- }
- wait()
- Sas:play()
- game:GetService("Debris"):AddItem(Sas, delays)
- end))
- end;
- };
- ["LongSound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 60)
- end))
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- local halocolor = BrickColor.new("Pastel light blue")
- local halocolor2 = BrickColor.new("Cool yellow")
- local starcolor = BrickColor.new("Bright yellow")
- local lunacolor = BrickColor.new("Navy blue")
- local lunacolor2 = BrickColor.new("Bright blue")
- local wepcolor = BrickColor.new("Really black")
- local maincolor = BrickColor.new("Really black")
- local m = Instance.new("Model",char)
- local m2 = Instance.new("Model",char)
- local m3 = Instance.new("Model",char)
- local mw1 = Instance.new("Model",char)
- local mw2 = Instance.new("Model",char)
- local movelegs = false
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- local extrawingmod1 = Instance.new("Model",char)
- local extrawingmod2 = Instance.new("Model",char)
- function CreateParta(parent,transparency,reflectance,material,brickcolor)
- local p = Instance.new("Part")
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Parent = parent
- p.Size = Vector3.new(0.1,0.1,0.1)
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CanCollide = false
- p.Locked = true
- p.BrickColor = brickcolor
- p.Material = material
- return p
- end
- function CreateMesh(parent,meshtype,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = meshtype
- mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
- return mesh
- end
- function CreateSpecialMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.Scale = Vector3.new(x1,y1,z1)
- return mesh
- end
- function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
- mesh.Scale = Vector3.new(x1,y1,z1)
- mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
- return mesh
- end
- function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
- weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
- return weld
- end
- --------------
- --------------
- local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ------
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- local char = Player.Character
- local onPerson = false
- local host = nil
- function weldparts(part1,part2)
- local weldc = Instance.new("WeldConstraint",part1)
- weldc.Name = "weld12pts"
- weldc.Part0 = part1
- weldc.Part1 = part2
- end
- if char then
- wait(.1)
- local CCH = char:GetChildren()
- if char["Left Arm"].Size.Y == 2 then
- for i, v in pairs(CCH) do
- if v:IsA("Part") and v.Name~="Head" then
- v.Size = Vector3.new(v.Size.X*.9,v.Size.Y*.9,v.Size.Z*.9)
- end
- end
- end
- local torso = char:FindFirstChild("Torso")
- if char["Left Arm"].Size.Y == 1 then
- if torso then
- torso["Left Hip"].C1 = CFrame.new(-0.75,0,0) * CFrame.fromOrientation(0,math.rad(-90),0)
- torso["Right Hip"].C1 = CFrame.new(0.75,0,0) * CFrame.fromOrientation(0,math.rad(90),0)
- end
- end
- end
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- local Effects2 = Instance.new("Folder", Character)
- Effects2.Name = "Effects"
- attackdebounce = false
- deb=false
- equipped=false
- hand=false
- MMouse=nil
- local combo = 1
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- local sine = 0
- local doe = 0
- local SINE = 0
- local change = 1
- local S = it("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "rbxassetid://"..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function warnedpeople(text,represfont,color,color2)
- CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
- CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- coroutine.resume(coroutine.create(function()
- if v.PlayerGui:FindFirstChild("Spinny")~= nil then
- v.PlayerGui:FindFirstChild("Spinny"):destroy()
- end
- local scrg = Instance.new("ScreenGui",v.PlayerGui)
- scrg.Name = "Spinny"
- local frm = Instance.new("Frame",scrg)
- frm.BackgroundTransparency = 0.25
- frm.BackgroundColor3 = color
- frm.BorderSizePixel = 0
- frm.Rotation = 45
- frm.Size = UDim2.new(3,0,0,100)
- frm.Position = UDim2.new(-4,0,0,0)
- local frm2 = frm:Clone()
- frm2.Parent = scrg
- frm2.BackgroundColor3 = color2
- frm2.Position = UDim2.new(-4.05,0,0,0)
- local imlb = Instance.new("ImageLabel",scrg)
- imlb.BackgroundTransparency = 1
- imlb.BackgroundColor3 = Color3.new(0,0,0)
- imlb.Image = "rbxassetid://2344851144"
- imlb.Size = UDim2.new(0,750,0,750)
- imlb.ImageColor3 = color2
- imlb.ImageTransparency = 0.25
- imlb.Position = UDim2.new(-2.5,0,-2.5,0)
- local imlb2 = imlb:Clone()
- imlb2.Image = "rbxassetid://2325939897"
- imlb2.Size = UDim2.new(1,0,1,0)
- imlb2.ImageColor3 = color
- imlb2.ImageTransparency = 0
- imlb2.Position = UDim2.new(0,0,0,0)
- local imlb3 = imlb:Clone()
- imlb3.Image = "rbxassetid://2344830904"
- imlb3.Size = UDim2.new(1,0,1,0)
- imlb3.ImageColor3 = color2
- imlb3.ImageTransparency = 0
- imlb3.Position = UDim2.new(0,0,0,0)
- local imlb4 = imlb:Clone()
- imlb4.Image = "rbxassetid://2344870656"
- imlb4.Size = UDim2.new(1,0,1,0)
- imlb4.ImageColor3 = Color3.new(1,1,1)
- imlb4.ImageTransparency = 0
- imlb4.Position = UDim2.new(0,0,0,0)
- imlb2.Parent = imlb
- imlb3.Parent = imlb
- imlb4.Parent = imlb
- local txtlb2 = Instance.new("TextLabel",imlb)
- txtlb2.Text = text
- txtlb2.Font = represfont
- txtlb2.TextColor3 = color
- txtlb2.TextStrokeTransparency = 0
- txtlb2.BackgroundTransparency = 1
- txtlb2.TextStrokeColor3 = color2
- txtlb2.TextScaled = true
- txtlb2.Size = UDim2.new(1,0,1,0)
- txtlb2.Position = UDim2.new(0,0,0,0)
- local fvalen = 0.55
- local fval = -0.49
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if chaosmode == true then
- txtlb2.Rotation = math.random(-1,1)
- imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
- txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
- imlb.ImageColor3 = BrickColor.random().Color
- txtlb2.TextStrokeColor3 = BrickColor.random().Color
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if scrg.Parent ~= nil then
- fvalen = fvalen - 0.0001
- elseif scrg.Parent == nil then
- break
- end
- end
- end))
- local flol = -5
- local flil = 1.6
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait()
- flol = flol + 0.125
- flil = flil - 0.1
- frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
- frm.Rotation = frm.Rotation - 0.25
- frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
- frm2.Rotation = frm.Rotation + 0.325
- imlb3.Rotation = imlb3.Rotation - 10
- imlb2.Rotation = imlb.Rotation + 7.5
- imlb.Rotation = imlb.Rotation + 5
- txtlb2.Rotation = txtlb2.Rotation - 5.125
- imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
- end
- for i = 0, 99 do
- swait()
- fval = fval + 0.05
- flol = flol + 0.005
- frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
- frm.Rotation = frm.Rotation - 0.075
- frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
- frm2.Rotation = frm2.Rotation + 0.125
- imlb3.Rotation = imlb3.Rotation - 2
- imlb2.Rotation = imlb.Rotation + 1.5
- imlb.Rotation = imlb.Rotation + 1
- txtlb2.Rotation = txtlb2.Rotation - 1.125
- imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
- end
- local valinc = 0
- local vinc2 = 1
- for i = 0, 99 do
- swait()
- vinc2 = vinc2 + 0.25
- valinc = valinc + 0.0001
- flol = flol + valinc
- flil = flil + valinc
- txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
- imlb3.Rotation = imlb3.Rotation - 2*vinc2
- imlb.Rotation = imlb.Rotation + 1*vinc2
- imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
- frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
- frm.Rotation = frm.Rotation + 0.1*vinc2
- frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
- frm2.Rotation = frm2.Rotation + 0.225*vinc2
- frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
- frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
- imlb.ImageTransparency = imlb.ImageTransparency + 0.005
- imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
- imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
- imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
- txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
- txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
- end
- scrg:Destroy()
- end))
- end))
- end
- end
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- local Stats=Instance.new("BoolValue")
- Stats.Name="Stats"
- Stats.Parent=Character
- local Atk=Instance.new("NumberValue")
- Atk.Name="Damage"
- Atk.Parent=Stats
- Atk.Value=1
- local Def=Instance.new("NumberValue")
- Def.Name="Defense"
- Def.Parent=Stats
- Def.Value=1
- local Speed=Instance.new("NumberValue")
- Speed.Name="Speed"
- Speed.Parent=Stats
- Speed.Value=1
- local Mvmt=Instance.new("NumberValue")
- Mvmt.Name="Movement"
- Mvmt.Parent=Stats
- Mvmt.Value=1
- local donum=0
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NoOutline(fp)
- fp.Material="SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- if meshid~="nil" then
- mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local Color1=Torso.BrickColor
- local bodvel=Instance.new("BodyVelocity")
- local bg=Instance.new("BodyGyro")
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function Swait(num) if num==0 or num==nil then game:service'RunService'.Stepped:wait(0) else for i=0,num do game:service'RunService'.Stepped:wait(0) end end end
- -------- RAINBOW LEAVE IT TO ME
- local r = 255
- local g = 0
- local b = 0
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 0, 254/5 do
- swait()
- g = g + 5
- end
- for i = 0, 254/5 do
- swait()
- r = r - 5
- end
- for i = 0, 254/5 do
- swait()
- b = b + 5
- end
- for i = 0, 254/5 do
- swait()
- g = g - 5
- end
- for i = 0, 254/5 do
- swait()
- r = r + 5
- end
- for i = 0, 254/5 do
- swait()
- b = b - 5
- end
- end
- end))
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- w1.BrickColor = BrickColor.new("Really red")
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "SmoothPlastic"
- w1.CanCollide = false
- local l1 = Instance.new("PointLight",w1)
- l1.Color = Color3.new(170,0,0)
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.7
- table.insert(Effects,{w1,"Disappear",.01})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- w2.BrickColor = BrickColor.new("Really red")
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "SmoothPlastic"
- w2.CanCollide = false
- local l2 = Instance.new("PointLight",w2)
- l2.Color = Color3.new(170,0,0)
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.7
- table.insert(Effects,{w2,"Disappear",.01})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = Player,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- HitHealth = h.Health
- h.MaxHealth = 100
- h.Health = h.Health - Damage
- if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
- print("gained kill")
- dmg(h.Parent)
- end
- -- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- -- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- })
- if knockback > 0 then
- vp.Parent = hit.Parent.Head
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Leech" then
- local hum = hit.Parent.Humanoid
- if hum ~= nil then
- for i = 0, 2 do
- Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- Humanoid.Health = Humanoid.Health + 10
- end
- elseif Type == "UpKnock" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- if hum ~= nil then
- hitr = true
- end
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(5)
- HHumanoid.PlatformStand = false
- hitr = false
- end), hum)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Slashnare" then
- Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
- for i = 1, math.random(4, 5) do
- Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Spike" then
- CreateBigIceSword(hit.Parent.Torso.CFrame)
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Burn" then
- local humss = hit.Parent:findFirstChildOfClass("Humanoid")
- humss.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(60)
- HHumanoid.PlatformStand = false
- end), humss)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- local bld = Instance.new("ParticleEmitter",hit)
- bld.LightEmission = 1
- bld.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
- bld.Color = ColorSequence.new(bc("Deep orange").Color,bc("Really red").Color)
- bld.Rate = 999
- bld.Lifetime = NumberRange.new(1)
- bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
- bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- bld.Speed = NumberRange.new(0,0)
- bld.VelocitySpread = 50000
- bld.Rotation = NumberRange.new(-500,500)
- bld.RotSpeed = NumberRange.new(-500,500)
- bld.Speed = NumberRange.new(1,5)
- bld.Acceleration = vt(0,10,0)
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- game:GetService("Debris"):AddItem(bld, 20)
- coroutine.resume(coroutine.create(function()
- if hit.Parent:findFirstChild("Torso")then
- local hitoor=hit.Parent:findFirstChild("Torso")
- for i=1, 150 do
- swait(5)
- humss.Health = humss.Health - .4
- end
- end
- end))
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame
- })
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true
- })
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- function Damagefunc2(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = Player,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 4, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- HitHealth = h.Health
- h.MaxHealth = 100
- h.Health = h.Health - Damage
- if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
- print("gained kill")
- end
- -- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- -- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- })
- if knockback > 0 then
- vp.Parent = hit.Parent.Head
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Leech" then
- local hum = hit.Parent.Humanoid
- if hum ~= nil then
- for i = 0, 2 do
- Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- Humanoid.Health = Humanoid.Health + 10
- end
- elseif Type == "UpKnock" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- if hum ~= nil then
- hitr = true
- end
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(5)
- HHumanoid.PlatformStand = false
- hitr = false
- end), hum)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Slashnare" then
- Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
- for i = 1, math.random(4, 5) do
- Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Spike" then
- CreateBigIceSword(hit.Parent.Torso.CFrame)
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Burn" then
- local humss = hit.Parent:findFirstChildOfClass("Humanoid")
- humss.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(60)
- HHumanoid.PlatformStand = false
- end), humss)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- local bld = Instance.new("ParticleEmitter",hit)
- bld.LightEmission = 1
- bld.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
- bld.Color = ColorSequence.new(bc("Deep orange").Color,bc("Really red").Color)
- bld.Rate = 999
- bld.Lifetime = NumberRange.new(1)
- bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
- bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- bld.Speed = NumberRange.new(0,0)
- bld.VelocitySpread = 50000
- bld.Rotation = NumberRange.new(-500,500)
- bld.RotSpeed = NumberRange.new(-500,500)
- bld.Speed = NumberRange.new(1,5)
- bld.Acceleration = vt(0,10,0)
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- game:GetService("Debris"):AddItem(bld, 20)
- coroutine.resume(coroutine.create(function()
- if hit.Parent:findFirstChild("Torso")then
- local hitoor=hit.Parent:findFirstChild("Torso")
- for i=1, 150 do
- swait(5)
- humss.Health = humss.Health - .4
- end
- end
- end))
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame
- })
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true
- })
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type,Sound)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://406913243", 3)
- end
- end
- local head = c:findFirstChild("UpperTorso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://406913243", 3)
- end
- end
- end
- end
- end
- function MagniDamage2(Part, magni, mindam, maxdam, knock, Type,Sound)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://"..Sound, 1)
- end
- end
- local head = c:findFirstChild("UpperTorso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://"..Sound, 1)
- end
- end
- end
- end
- end
- function MagniDamage3(Part, magni, mindam, maxdam, knock, Type,Sound)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://0", 3)
- end
- end
- local head = c:findFirstChild("UpperTorso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://0", 3)
- end
- end
- end
- end
- end
- function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
- end
- end
- end
- end
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function CastRay(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- swait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
- local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
- local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- dec.Transparency=i
- dec2.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,cframe)
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(i*20,0,0)
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function waveEff(bonuspeed, type, pos, scale, value, color)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "FileMesh"
- rngm.MeshId = "rbxassetid://20329976"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- local randomrot = math.random(1, 2)
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- if randomrot == 1 then
- rng.CFrame = rng.CFrame * CFrame.Angles(0, math.rad(5 * bonuspeed / 2), 0)
- elseif randomrot == 2 then
- rng.CFrame = rng.CFrame * CFrame.Angles(0, math.rad(-5 * bonuspeed / 2), 0)
- end
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, 0, scaler2 * bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function dmgstart(dmg,what)
- hitcon = what.Touched:connect(function(hit)
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum and not hum:IsDescendantOf(Character) then
- hum:TakeDamage(dmg)
- end
- end)
- end
- function dmgstop()
- hitcon:disconnect()
- end
- function Cloak()
- Face.Parent=nil
- cloaked=true
- for _,v in pairs(Torso.Parent:children()) do
- if v.className=="Part" and v.Name~="HumanoidRootPart" then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.2 do
- wait()
- v.Transparency=i
- end
- v.Transparency=1
- end))
- end
- if v.className=="Hat" then
- hatp=v.Handle
- coroutine.resume(coroutine.create(function(derp)
- for i=0,1,0.2 do
- wait()
- derp.Transparency=i
- end
- derp.Transparency=1
- end),hatp)
- end
- end
- for _,v in pairs(m:children()) do
- if v.className=="Part" then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.2 do
- wait()
- v.Transparency=i
- end
- v.Transparency=1
- end))
- end
- end
- end
- function UnCloak()
- so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
- Face.Parent=Head
- cloaked=false
- for _,v in pairs(Torso.Parent:children()) do
- if v.className=="Part" and v.Name~="HumanoidRootPart" then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- v.Transparency=v.Transparency-0.1
- end
- v.Transparency=0
- end))
- end
- if v.className=="Hat" then
- hatp=v.Handle
- coroutine.resume(coroutine.create(function(derp)
- for i=0,1,0.1 do
- wait()
- derp.Transparency=derp.Transparency-0.1
- end
- derp.Transparency=0
- end),hatp)
- end
- end
- for _,v in pairs(m:children()) do
- if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- v.Transparency=v.Transparency-0.1
- end
- v.Transparency=0
- end))
- v.Transparency=0
- end
- end
- end
- local origcolor = BrickColor.new("Pastel light blue")
- ---- This section of explosions.
- ----
- function ring(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- end
- rng:Destroy()
- end))
- end
- function wave(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
- end
- rng:Destroy()
- end))
- end
- function wind(type,pos,scale,value,speed)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
- end
- rng:Destroy()
- end))
- end
- function CameraManager()
- if TwoD and not CamInterrupt then
- if Humanoid.Health > 0 then
- Camera.CameraSubject = Humanoid
- Camera.CameraType = "Scriptable"
- Humanoid.AutoRotate = false
- if Booleans.GyroUse then
- Directer.MaxTorque = Vec3(0, huge, 0)
- else
- Directer.MaxTorque = Vec3(0, 0, 0)
- end
- if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
- if Booleans.CamFollow then
- CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
- Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
- else
- CPart.Position = RootPart.Position
- end
- else
- local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
- CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
- end
- Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
- else
- Camera.CameraSubject = Humanoid
- Camera.CameraType = "Custom"
- end
- end
- end
- function ring(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- end
- rng:Destroy()
- end))
- end
- function wave(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
- end
- rng:Destroy()
- end))
- end
- function sphere(bonuspeed,type,pos,scale,value,color)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if idkmode == 9 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000,kmusic.PlaybackLoudness/1000)
- else
- break
- end
- end
- end))
- end
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function Effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id,posi)
- local ex=create("Part"){
- Size=Vector3.new(.2,.2,.2),
- BrickColor=BrickColor.new(color),
- CanCollide=false,
- Material="Neon",
- Anchored=true,
- Parent=par}
- NoOutline(ex)
- if posi==2 then
- ex.Position=(CF).p
- ex.CFrame=ex.CFrame*CFrame.Angles(-math.rad(90),0,0)
- else
- ex.CFrame=CF
- end
- local exe=create("SpecialMesh"){
- Scale=Vector3.new(x,y,z),
- MeshType=mtyp,
- Parent=ex}
- if mtyp=="FileMesh"and id~=""then
- exe.MeshId="rbxassetid://"..id
- end
- game:GetService("Debris"):AddItem(ex,10)
- local ez=ex.CFrame
- local nu=0
- local no=math.random()-math.random()
- coroutine.resume(coroutine.create(function()
- for i=0,1.01,de do
- swait()
- if typ~=5 then
- ex.Transparency=i
- end
- exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
- if typ==1 then
- ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- elseif typ==2 then
- ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0)
- elseif typ==3 then
- ex.CFrame=ex.CFrame*CFrame.new(0,0,rad)
- elseif typ==4 then
- nu=nu+no
- ez=ez*CFrame.new(0,rad,0)
- ex.CFrame=ez*CFrame.Angles(nu,0,0)
- --ex.CFrame=ex.CFrame
- end
- end
- ex:Remove()
- end))
- end
- function sphere1(par,anch,name,mat,si,cf,tr,ccol,bcol)
- local v3 = Vector3.new
- local ins = Instance.new
- local sp = ins('Part')
- sp.Size = si
- sp.Transparency = tr
- sp.Anchored = anch
- sp.CanCollide = ccol
- sp.Name = name
- sp.Material = mat
- sp.BrickColor = bcol
- sp.CFrame = cf
- local mesls = ins("SpecialMesh",sp)
- mesls.Scale = v3(0.8, 0.8, 0.8)
- mesls.MeshType = Enum.MeshType.Sphere
- sp.Parent = par
- return sp
- end
- function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- if ModeOfGlitch ~= 9 then
- rng.BrickColor = color
- elseif ModeOfGlitch == 9 then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
- end
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- local scaler2 = 1
- local scaler2b = 1
- local scaler2c = 1
- if type == "Add" then
- scaler2 = 1*value
- scaler2b = 1*value2
- scaler2c = 1*value3
- elseif type == "Divide" then
- scaler2 = 1/value
- scaler2b = 1/value2
- scaler2c = 1/value3
- end
- if ModeOfGlitch == 9 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
- else
- break
- end
- end
- end))
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- scaler2b = scaler2b - 0.01*value/bonuspeed
- scaler2c = scaler2c - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- scaler2b = scaler2b - 0.01/value*bonuspeed
- scaler2c = scaler2c - 0.01/value*bonuspeed
- end
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
- local type = type
- local rotenable = rotatingop
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- if typeoftrans == "In" then
- rng.Transparency = 1
- end
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "FileMesh"
- if typeofshape == "Normal" then
- rngm.MeshId = "rbxassetid://662586858"
- elseif typeofshape == "Round" then
- rngm.MeshId = "rbxassetid://662585058"
- end
- rngm.Scale = scale
- local scaler2 = 1/10
- if type == "Add" then
- scaler2 = 1*value/10
- elseif type == "Divide" then
- scaler2 = 1/value/10
- end
- local randomrot = math.random(1,2)
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed/10
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed/10
- end
- if rotenable == true then
- if randomrot == 1 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
- elseif randomrot == 2 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
- end
- end
- if typeoftrans == "Out" then
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- elseif typeoftrans == "In" then
- rng.Transparency = rng.Transparency - 0.01*bonuspeed
- end
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
- end
- rng:Destroy()
- end))
- end
- function dmg(dude)
- if dude.Name ~= Character then
- local keptcolor = modecol
- local bgf = Instance.new("BodyGyro",dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
- local val = Instance.new("BoolValue",dude)
- val.Name = "IsHit"
- local ds = coroutine.wrap(function()
- local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
- for i = 1, 10 do
- end
- dude:WaitForChild("Head"):BreakJoints()
- wait(0.5)
- targetted = nil
- CFuncs["Sound"].Create("rbxassetid://679372486", char, 2, 1)
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("MeshPart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = true
- local bld = Instance.new("ParticleEmitter",v)
- bld.LightEmission = 1
- bld.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
- bld.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- bld.Rate = 999
- bld.Lifetime = NumberRange.new(1)
- bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
- bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- bld.Speed = NumberRange.new(0,0)
- bld.VelocitySpread = 50000
- bld.Rotation = NumberRange.new(-500,500)
- bld.RotSpeed = NumberRange.new(-500,500)
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v.Transparency = v.Transparency + 0.02
- end
- --CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
- bld.Speed = NumberRange.new(1,5)
- bld.Acceleration = vt(0,10,0)
- wait(0.5)
- bld.Enabled = false
- wait(3)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function dmg2(dude)
- if dude.Name ~= Character then
- local keptcolor = BrickColor.new("Really red")
- local bgf = Instance.new("BodyGyro",dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
- --[[local val = Instance.new("BoolValue",dude)
- val.Name = "IsHit"]]--
- local ds = coroutine.wrap(function()
- dude:WaitForChild("Head"):BreakJoints()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Part") or v:IsA("MeshPart") then
- v.Name = "DEMINISHED"
- end
- end
- wait(0.5)
- targetted = nil
- --["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("MeshPart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = false
- v.Anchored = false
- local sbs = Instance.new("BodyPosition", v)
- sbs.P = 3000
- sbs.D = 1000
- sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
- v.Color = keptcolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v:BreakJoints()
- v.Transparency = v.Transparency + 0.02
- end
- v:BreakJoints()
- --sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
- CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
- wait(0.5)
- wait(8)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function FindNearestTorso(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Torso") or v:findFirstChild("UpperTorso") then
- if v ~= Character then
- if (v.Head.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Head") then
- if v ~= Character then
- if (v.Head.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- function FaceMouse()
- Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- function FaceMouse2()
- Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = it("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = it("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = it("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- function CreatePartD(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = it("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = cf(StartPos,EndPos).lookVector
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
- end
- -- Functions are ready.
- --local storehumanoidWS = 19
- function createBGCircle(size,parent,color)
- local bgui = Instance.new("BillboardGui",parent)
- bgui.Size = UDim2.new(size, 0, size, 0)
- local imgc = Instance.new("ImageLabel",bgui)
- imgc.BackgroundTransparency = 1
- imgc.ImageTransparency = 0
- imgc.Size = UDim2.new(1,0,1,0)
- imgc.Image = "rbxassetid://997291547" --997291547,521073910
- imgc.ImageColor3 = color
- return bgui,imgc
- end
- function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
- local bgui,imgc = createBGCircle(size,guipar,color)
- bgui.AlwaysOnTop = true
- imgc.Image = "rbxassetid://" ..img
- local rrot = math.random(1,2)
- CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
- coroutine.resume(coroutine.create(function()
- for i = 0, 24*delay do
- swait()
- if rotationenabled == true then
- if rrot == 1 then
- imgc.Rotation = imgc.Rotation + rotsp
- elseif rrot == 2 then
- imgc.Rotation = imgc.Rotation - rotsp
- end
- end
- bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
- imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
- end
- bgui:Destroy()
- end))
- end
- local ColorEx1 = BrickColor.new("Bright yellow")
- local ColorEx2 = BrickColor.new("Deep orange")
- --[[
- Thanks for using Build-To-Lua by jarredbcv.
- ]]--
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Akumu = New("Model",char,"Akumu",{})
- Handle = New("Part",Akumu,"Handle",{Material = Enum.Material.Ice,Shape = Enum.PartType.Ball,Size = Vector3.new(1.54000151, 1.54000151, 1.54000151),CFrame = CFrame.new(-6.13870573, 0.555011809, -11.6502533, -1, -5.52059864e-05, 2.34092458e-05, -5.52059028e-05, 1, 3.51152107e-06, -2.34094405e-05, 3.51022868e-06, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.00784314, 0.486275),})
- DecalA = New("Decal",Handle,"DecalA",{Texture = "http://www.roblox.com/asset/?id=4448610923",})
- --BrickColor = BrickColor.new("Hot pink")
- for _,v in pairs(Akumu:GetDescendants()) do
- if v:IsA("Part") then
- v.Anchored = false
- v.Locked = true
- v.CanCollide = false
- end
- end
- local NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance,parent)
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- local HW = NewInstance('Weld',char,{Part0 = root, Part1 = Handle, C0 = CFrame.new(3,1,2) * angles(Rad(0), Rad(90), Rad(0))})
- function Weld(part0,part1,c0,c1)
- local weld = Instance.new("Weld")
- weld.Parent = part0
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0 or cf()
- weld.C1 = c1 or cf()
- return weld
- end
- Heart = New("Model",char,"Heart",{})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.614993393, 0.204997972, 0.204997972),CFrame = CFrame.new(-33.7115364, 0.317516208, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(1.02498937, 0.204997972, 0.204997972),CFrame = CFrame.new(-33.7115364, 0.522514343, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(1.43498528, 0.204997972, 0.204997972),CFrame = CFrame.new(-33.7115364, 0.932508767, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(1.43498528, 0.204997972, 0.204997972),CFrame = CFrame.new(-33.7115364, 0.727515876, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.204997957, 0.204997972, 0.204997942),CFrame = CFrame.new(-33.7115364, 0.112511098, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.409995914, 0.204997972, 0.204997942),CFrame = CFrame.new(-33.4040375, 1.13750505, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- Part = New("Part",Heart,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.409995914, 0.204997972, 0.204997942),CFrame = CFrame.new(-34.0190353, 1.13750505, -32.8629723, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- HandleHeart = New("Part",Heart,"HandleHeart",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(0.744985759, 0.204997972, 0.204997972),CFrame = CFrame.new(-33.7170181, 0.727999985, -32.862999, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.4, 0.8),})
- for _,v in pairs(Heart:GetDescendants()) do
- if v:IsA("Part") then
- v.Anchored = false
- v.Locked = true
- v.CanCollide = false
- v.Transparency = 1
- Weld(HandleHeart,v,HandleHeart.CFrame:inverse()*v.CFrame)
- end
- end
- local NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance,parent)
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- local HEW = NewInstance('Weld',char,{Part0 = rarm, Part1 = HandleHeart, C0 = CFrame.new(0,-0.8,-1.3) * angles(Rad(-90), Rad(0), Rad(0))})
- idkthepart = New("Part",char,"idkthepart",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Size = Vector3.new(5.74000216, 0.170000002, 0.190000027),CFrame = CFrame.new(-33.2600136, 1.32501578, -36.5550003, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,CanCollide = false,Color = Color3.new(1, 0.4, 0.8),})
- Mesh = New("SpecialMesh",idkthepart,"Mesh",{MeshType = Enum.MeshType.Sphere,})
- idkthepart.Transparency = 1
- local SPW = NewInstance('Weld',char,{Part0 = rarm, Part1 = idkthepart, C0 = CFrame.new(0,-0.8,-0.5) * angles(Rad(0), Rad(0), Rad(90))})
- idkthepart2 = New("Part",char,"idkthepart2",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Size = Vector3.new(1.74000216, 0.170000002, 0.190000027),CFrame = CFrame.new(-33.2600136, 1.32501578, -36.5550003, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,CanCollide = false,})
- Mesh = New("SpecialMesh",idkthepart2,"Mesh",{MeshType = Enum.MeshType.Sphere,})
- idkthepart2.Transparency = 1
- local SPW2 = NewInstance('Weld',char,{Part0 = larm, Part1 = idkthepart2, C0 = CFrame.new(0,-0.8,-0.5) * angles(Rad(0), Rad(0), Rad(90))})
- AAAxd = New("Part",char,"AAAxd",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Glass,Size = Vector3.new(0.730000377, 1.4599998, 0.970001996),CFrame = CFrame.new(53.6050072, 0.730003893, 27.4349976, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- Mesh = New("SpecialMesh",AAAxd,"Mesh",{Scale = Vector3.new(2.29999995, 1.20000005, 8),MeshType = Enum.MeshType.Sphere,})
- AAAxd.Transparency = 1
- local AAAxdW = Instance.new("Weld",char)
- AAAxdW.Part0 = AAAxd
- AAAxdW.Part1 = Handle
- AAAxdW.C0 = CFrame.new(0,0,0)
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local ScytheW = scripts.Scythe.Scythe:WaitForChild'ScytheWeld'
- ScytheW.Transparency = 1
- local ScytheAura = scripts.Scythe.Scythe:WaitForChild'ScytheModelAura'
- ScytheAura.Transparency = 1
- for i,v in pairs(scripts.Scythe.Scythe:GetChildren()) do
- v.Anchored = false
- v.CanCollide = false
- v.Transparency = 1
- --Weld(ScytheW,v,ScytheW.CFrame:inverse()*v.CFrame)
- end
- local finalweld2 = Instance.new("Weld",ScytheW)
- finalweld2.Part0 = ScytheW
- finalweld2.Part1 = rarm
- --Scythe = New("Model",char,"Scythe",{})
- --Part = New("Part",Scythe,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.241309136, 2.29113269, 0.36078319),CFrame = CFrame.new(-6.13551283, 3.90353489, -9.62088394, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- --Part = New("Part",Scythe,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.404166907, 0.46771872, 0.428782314),CFrame = CFrame.new(-6.13551283, 5.1442852, -9.61462021, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- --Part = New("Part",Scythe,"Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.423067957, 4.87061787, 0.341980577),CFrame = CFrame.new(-6.1386261, 0.96459107, -9.6302824, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- --ScytheWeld = New("Part",Scythe,"ScytheWeld",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.508044779, 1.22561967, 0.41067031),CFrame = CFrame.new(-6.1386261, 1.33053696, -8.70692444, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- --Scythemesh = New("Part",Scythe,"Scythemesh",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(5.91800022, 2.03200006, 0.237000003),CFrame = CFrame.new(-6.13871717, 5.15998316, -11.4352522, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- --Mesh = New("SpecialMesh",Scythemesh,"Mesh",{Scale = Vector3.new(0.75999999, 0.75999999, 0.75999999),MeshId = "rbxassetid://2551872858",MeshType = Enum.MeshType.FileMesh,})
- --bruhbruh = New("Part",Scythe,"bruhbruh",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.671000004, 0.256999999, 0.588999987),CFrame = CFrame.new(-6.13571119, 4.24098206, -9.6102562, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0.74902),})
- --Mesh = New("SpecialMesh",bruhbruh,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024),MeshId = "rbxassetid://989468093",MeshType = Enum.MeshType.FileMesh,})
- --for _,v in pairs(Scythe:GetDescendants()) do
- --if v:IsA("Part") then
- -- v.Anchored = false
- -- v.Locked = true
- -- v.CanCollide = false
- -- v.Transparency = 1
- -- Weld(ScytheWeld,v,ScytheWeld.CFrame:inverse()*v.CFrame)
- -- end
- --end
- --local finalweld2 = Instance.new("Weld",ScytheWeld)
- --finalweld2.Part0 = ScytheWeld
- --finalweld2.Part1 = rarm
- function scythetrans(trans)
- for i,v in pairs(scripts.Scythe.Scythe:GetChildren()) do
- v.Transparency = trans
- end
- end
- local TorsHand = scripts.Torso.Torso:WaitForChild'TorsoExample'
- TorsHand.Transparency = 1
- for i,v in pairs(scripts.Torso.Torso:GetChildren()) do
- v.Anchored = false
- v.CanCollide = false
- end
- local TorsWeld = IT("Weld")
- TorsWeld.Parent = tors
- TorsWeld.Part0 = tors
- TorsWeld.Part1 = TorsHand
- TorsWeld.C1 = CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0))
- local HANDLEONE = scripts.LeftArm:WaitForChild'HANDLEONE'
- HANDLEONE.Transparency = 1
- local HandPart1 = scripts.LeftArm:WaitForChild'Handone'
- HandPart1.Transparency = 1
- for i,v in pairs(scripts.LeftArm:GetChildren()) do
- v.Anchored = false
- v.CanCollide = false
- v.Transparency = 1
- Weld(HANDLEONE,v,HANDLEONE.CFrame:inverse()*v.CFrame)
- end
- --for _,v in pairs(Handone:GetDescendants()) do
- -- if v:IsA("Part") then
- -- v.Anchored = false
- -- v.Locked = true
- -- v.CanCollide = false
- -- Weld(HandleHAND,v,HandleHAND.CFrame:inverse()*v.CFrame)
- -- end
- --end
- blackweld = Instance.new("Weld",HANDLEONE)
- blackweld.Part0 = larm
- blackweld.Part1 = HANDLEONE
- blackweld.C0 = CFrame.new(0,-0.2,0) * angles(math.rad(0),math.rad(0),math.rad(0))
- local HANDLETWO = scripts.RightArm:WaitForChild'HANDLETWO'
- HANDLETWO.Transparency = 1
- local HandPart2 = scripts.RightArm:WaitForChild'Handtwo'
- HandPart2.Transparency = 1
- for i,v in pairs(scripts.RightArm:GetChildren()) do
- v.Anchored = false
- v.CanCollide = false
- v.Transparency = 1
- Weld(HANDLETWO,v,HANDLETWO.CFrame:inverse()*v.CFrame)
- end
- blackweld2 = Instance.new("Weld",HANDLETWO)
- blackweld2.Part0 = rarm
- blackweld2.Part1 = HANDLETWO
- blackweld2.C0 = CFrame.new(0,-0.2,0) * angles(math.rad(0),math.rad(0),math.rad(0))
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- function circle(CFRAME, SIZE, TIME)
- coroutine.resume(coroutine.create(function()
- local PART = CreatePart(3, m3, "Neon", 0, 1, "Mid gray", "Clock", VT(0, 0, 0), true)
- PART.CFrame = CFRAME
- local GUI = IT("BillboardGui", PART)
- GUI.Size = UD2(0, 0, 0, 0)
- local GUI2 = IT("ImageLabel", GUI)
- GUI2.BackgroundTransparency = 1
- GUI2.ImageColor3 = Color3.new(1, 0.00784314, 0.486275)
- GUI2.BorderSizePixel = 0
- GUI2.Size = UDim2.new(1, 0, 1, 0)
- GUI2.SizeConstraint = "RelativeYY"
- GUI.AlwaysOnTop = true
- GUI2.Image = "http://www.roblox.com/asset/?id=2109052855"
- for i = 1, TIME do
- Swait()
- GUI.Size = GUI.Size + UD2(SIZE / TIME, 0, SIZE / TIME, 0)
- GUI2.ImageTransparency = GUI2.ImageTransparency + 1 / TIME
- PART.CFrame = PART.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.3, 0)
- end
- PART:Remove()
- end))
- end
- EffectModel = Instance.new("Model", char)
- local CD1 = false
- function VolcanicANim()
- Humanoid.WalkSpeed = 3
- local target = nil
- local targettorso = nil
- if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- CD1 = true
- target = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
- targettorso = target.Parent:FindFirstChild("Torso") or target.Parent:FindFirstChild("UpperTorso") or target.Parent:FindFirstChild("Left Arm") or target.Parent:FindFirstChild("Right Arm") or target.Parent:FindFirstChild("Left Leg") or target.Parent:FindFirstChild("Right Leg")
- targethead = mouse.Target.Parent:FindFirstChild("Head")
- attack = true
- for i = 0, 3, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- for i = 0, 1, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(17 + 1 * math.cos(sine / 58)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- targettorso.Anchored = true
- CFuncs["Sound"].Create("rbxassetid://4538338517", Torso, 7,1.1)
- circle(CF(Torso.Position), 20, 80)
- circle(CF(Torso.Position), 20, 99)
- for i = 0, 4, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(17 + 1 * math.cos(sine / 58)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- attack = false
- Humanoid.WalkSpeed = 16
- wait(5)
- CD1 = false
- targettorso.Anchored = false
- end
- end
- function getRegion(point,range,ignore)
- return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
- end
- function Cso(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- function Cso2(ID, PARENT, VOLUME, PITCH, TIMEPOSITION)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- NSound.TimePosition = TIMEPOSITION
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- function GetTorso(char)
- return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
- end
- function Part(parent,color,material,size,cframe,anchored,cancollide)
- local part = Instance.new("Part")
- part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
- part.Material = material or Enum.Material.SmoothPlastic
- part.TopSurface,part.BottomSurface=10,10
- part.Size = size or Vector3.new(1,1,1)
- part.CFrame = cframe or CF(0,0,0)
- part.Anchored = anchored or true
- part.CanCollide = cancollide or false
- part.Parent = parent or char
- return part
- end
- local CD4 = false
- function Grab()
- if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- CD4 = true
- local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
- local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") or HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("Left Leg") or HUM.Parent:FindFirstChild("Right Leg")
- local HEAD = HUM.Parent:FindFirstChild("Head")
- if HEAD and TORSO and HUM.Health > 0 then
- local GYRO = IT("BodyGyro",root)
- GYRO.D = 275
- GYRO.P = 20000
- GYRO.MaxTorque = Vector3.new(0,40000,0)
- attack = true
- hum.WalkSpeed = 0
- local hit,pos,hummie;
- local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
- Hook.Transparency = 1
- local A = NewInstance("Attachment",Hook)
- local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(255, 0, 191),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://0",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
- local POS = mouse.Hit.p
- local CHAINS = false
- local CHAINLINKS = {}
- local A = IT("Attachment",ra)
- A.Position = Vector3.new(1,-1,0)*Player_Size
- A.Orientation = Vector3.new(-90, -89.982, 0)
- local B = IT("Attachment",ra)
- B.Position = Vector3.new(-1,-1,0)*Player_Size
- B.Orientation = Vector3.new(-90, 89.988, 0)
- local C = IT("Attachment",ra)
- C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
- C.Orientation = Vector3.new(-90, -89.982, 0)
- local D = IT("Attachment",ra)
- D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
- D.Orientation = Vector3.new(-90, 89.988, 0)
- local LIGHT = IT("Attachment",ra)
- LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
- local particlemiter = Instance.new("ParticleEmitter",LIGHT)
- particlemiter.Texture = "rbxassetid://603193846"
- particlemiter.Size = NumberSequence.new(.8)
- particlemiter.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter.Transparency = NumberSequence.new(0,1)
- particlemiter.Enabled = true
- particlemiter.LockedToPart = false
- particlemiter.Speed = NumberRange.new(5)
- particlemiter.RotSpeed = NumberRange.new(210)
- particlemiter.Lifetime = NumberRange.new(1)
- particlemiter.SpreadAngle = Vector2.new(-100,100)
- particlemiter.Rate = 250
- for _,v in pairs(Akumu:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
- DecalA.Transparency = 1
- local LIGHT2 = IT("PointLight",LIGHT)
- LIGHT2.Range = 7
- LIGHT2.Brightness = 5
- LIGHT2.Color = Color3.new(0,0,0)
- for i = 1, 2 do
- local TWIST = -2
- local START = A
- local END = B
- if i == 1 then
- START = B
- END = A
- end
- local ChainLink = IT("Beam",tors)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
- ChainLink.TextureSpeed = 1
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 2.5
- ChainLink.Attachment0 = START
- ChainLink.Attachment1 = END
- ChainLink.CurveSize0 = TWIST
- ChainLink.CurveSize1 = TWIST
- --ChainLink.FaceCamera = true
- ChainLink.Segments = 45
- ChainLink.Transparency = NumberSequence.new(1)
- table.insert(CHAINLINKS,ChainLink)
- end
- for i = 1, 2 do
- local TWIST = -1
- local START = C
- local END = D
- if i == 1 then
- START = D
- END = C
- end
- Chain.Color = ColorSequence.new(Color3.fromRGB(255, 2, 124))
- local ChainLink = IT("Beam",tors)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
- ChainLink.TextureSpeed = 1
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 5
- ChainLink.Attachment0 = START
- ChainLink.Attachment1 = END
- ChainLink.CurveSize0 = TWIST
- ChainLink.CurveSize1 = TWIST
- --ChainLink.FaceCamera = true
- ChainLink.Segments = 25
- ChainLink.LightEmission = 0.5
- ChainLink.Transparency = NumberSequence.new(1)
- table.insert(CHAINLINKS,ChainLink)
- end
- for i = 0, 2.3, .1 do
- swait()
- GYRO.cframe = CF(root.Position,TORSO.Position)
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-26.9),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,0.1)*angles(math.rad(-38),math.rad(18.4),math.rad(1.3))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,-0.6)*angles(math.rad(-14.3),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.2,-0.2)*angles(math.rad(40.5),math.rad(0),math.rad(38.2)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.7,0.3)*angles(math.rad(92.8),math.rad(27.1),math.rad(111.6)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
- end
- Cso("367499850", ra, 1, 1.2)
- HUM.Health = HUM.Health - HUM.Health/10
- for i = 0, 4, .1 do
- if(hit)then break end
- swait()
- GYRO.cframe = CF(root.Position,TORSO.Position)
- Hook.CFrame = HEAD.CFrame
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(9.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.9,-1)*angles(math.rad(-21.4),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-17.8),math.rad(0),math.rad(13.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.4,0.3,-0.8)*angles(math.rad(78.1),math.rad(1.7),math.rad(74.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.5,-0.5)*angles(math.rad(87.1),math.rad(0),math.rad(14.8)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-13.7),math.rad(0))*necko,Alpha)
- end
- for _,v in next, getRegion(Hook.Position,1,{char}) do
- if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
- hit = GetTorso(v.Parent);
- hummie = v.Parent:FindFirstChildOfClass'Humanoid';
- break;
- end
- end
- particlemiter.Enabled = false
- GYRO:remove()
- for i = 0, 3, .1 do
- swait()
- HUM.PlatformStand = true
- Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
- if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
- end
- if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
- break
- end
- Chain.TextureLength = 4
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.6)*angles(math.rad(2.4),math.rad(-41.4),math.rad(0.3))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.5)*angles(math.rad(-29.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(3.8),math.rad(5.1),math.rad(12.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.1,0.2,-0.8)*angles(math.rad(72.7),math.rad(-10.6),math.rad(109.6)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1,0.6,0.4)*angles(math.rad(58.8),math.rad(-13.8),math.rad(23.9)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(24.9),math.rad(0))*necko,Alpha)
- end
- hum.WalkSpeed = 16
- HUM.PlatformStand = false
- attack = false
- Hook:Destroy()
- A:remove()
- B:remove()
- C:remove()
- D:remove()
- wait(1)
- particlemiter.Parent = Handle
- particlemiter.Enabled = true
- for _,v in pairs(Akumu:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end
- DecalA.Transparency = 0
- wait(.5)
- particlemiter.Enabled = false
- wait(1)
- particlemiter:Destroy()
- wait(3.5)
- CD4 = false
- end
- end
- end
- function idkgivemeurhumanity()
- Humanoid.WalkSpeed = 3
- attack = true
- CFuncs["Sound"].Create("rbxassetid://4538325094", Torso, 7,1.1)
- for i = 0, 3, 0.1 do
- swait()
- SPW.C0=clerp(SPW.C0,cf(0,-0.8,-0.5)*angles(math.rad(0),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- RW.C0 = clerp(RW.C0, cf(1.4, 0.5 + 0.1 * math.sin(sine / 20), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1,14 do
- for _,v in pairs(Heart:GetDescendants()) do
- if v:IsA("Part") then
- v.Transparency = v.Transparency - 0.07
- end
- end
- end
- end))
- local particlemiter = Instance.new("ParticleEmitter",rarm)
- particlemiter.Texture = "rbxassetid://241779220"
- particlemiter.Size = NumberSequence.new(1,.5)
- particlemiter.Transparency = NumberSequence.new(0,1)
- particlemiter.Enabled = true
- particlemiter.LockedToPart = false
- particlemiter.Speed = NumberRange.new(40)
- particlemiter.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter.RotSpeed = NumberRange.new(210)
- particlemiter.Lifetime = NumberRange.new(2)
- particlemiter.SpreadAngle = Vector2.new(-100,100)
- particlemiter.Rate = 500
- particlemiter.LightEmission = 1
- local particlemiter2 = Instance.new("ParticleEmitter",rarm)
- particlemiter2.Texture = "rbxassetid://241779220"
- particlemiter2.Size = NumberSequence.new(1,.5)
- particlemiter2.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter2.Transparency = NumberSequence.new(0,1)
- particlemiter2.Enabled = true
- particlemiter2.LockedToPart = false
- particlemiter2.Speed = NumberRange.new(40)
- particlemiter2.RotSpeed = NumberRange.new(210)
- particlemiter2.Lifetime = NumberRange.new(2)
- particlemiter2.SpreadAngle = Vector2.new(-100,100)
- particlemiter2.Rate = 500
- particlemiter2.LightEmission = 1
- local particlemiter3 = Instance.new("ParticleEmitter",rarm)
- particlemiter3.Texture = "rbxassetid://241779220"
- particlemiter3.Size = NumberSequence.new(1,.5)
- particlemiter3.Transparency = NumberSequence.new(0,1)
- particlemiter3.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter3.Enabled = true
- particlemiter3.LockedToPart = false
- particlemiter3.Speed = NumberRange.new(40)
- particlemiter3.RotSpeed = NumberRange.new(210)
- particlemiter3.Lifetime = NumberRange.new(2)
- particlemiter3.SpreadAngle = Vector2.new(-100,100)
- particlemiter3.Rate = 500
- particlemiter3.LightEmission = 1
- wait(.15)
- coroutine.wrap(function()
- particlemiter.Enabled = false
- particlemiter2.Enabled = false
- particlemiter3.Enabled = false
- wait(5)
- particlemiter3:Remove()
- particlemiter:Remove()
- particlemiter2:Remove()
- end)()
- for i = 0, 6, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- RW.C0 = clerp(RW.C0, cf(1.4, 0.5 + 0.1 * math.sin(sine / 20), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1,14 do
- for _,v in pairs(Heart:GetDescendants()) do
- if v:IsA("Part") then
- v.Transparency = v.Transparency + 0.07
- end
- end
- end
- end))
- idkthepart.Transparency = 0
- for i = 0, 3, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- RW.C0 = clerp(RW.C0, cf(1.4, 0.5 + 0.1 * math.sin(sine / 20), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- for i = 0, 6.2, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.1,0.1)*angles(math.rad(5),math.rad(-25),math.rad(0))*RootCF,.3)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,-0.4)*angles(math.rad(15),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- RH.C0 = RH.C0:lerp(cf(1,-0.9,-0.1)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.1)*angles(math.rad(-14.6),math.rad(8.2),math.rad(-5.8)),.3)
- RW.C0 = RW.C0:lerp(cf(1.2,0.7,0.2)*angles(math.rad(-151.5),math.rad(29.5),math.rad(5.7)),.3)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(25),math.rad(0))*necko,.3)
- -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.2)
- -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.2)
- --RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- --LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- -- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.1 * Sin(sine / 20), 0) * angles(Rad(180), Rad(0 + 5 * Sin(sine / 20)), Rad(25 + 5 * Sin(sine / 20))), 0.2)
- -- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.1 * Sin(sine / 20), 0) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.2)
- SPW.C0=clerp(SPW.C0,cf(0,-1,0)*angles(math.rad(90),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- end
- local SpiritBall = Instance.new("Part", char)
- local hitbox = Instance.new("Part",SpiritBall)
- hitbox.Size = Vector3.new(0.6, 0.6, 7.39999914)
- hitbox.Transparency = 1
- hitbox.CanCollide = false
- SpiritBall.Anchored = true
- SpiritBall.BrickColor = BrickColor.new("Pink")
- SpiritBall.CanCollide = false
- SpiritBall.FormFactor = 3
- SpiritBall.Name = "SpiritBall"
- SpiritBall.Material = "Neon"
- SpiritBall.Size = Vector3.new(0.29, 0.29, 7.39999914)
- SpiritBall.Transparency = 1
- SpiritBall.TopSurface = 0
- SpiritBall.BottomSurface = 0
- local weld = Instance.new("Weld",hitbox)
- weld.Part1 = hitbox
- weld.Part0 = SpiritBall
- --SpiritBall.Shape = Enum.PartType.Sphere
- SpiritBall.CFrame = root.CFrame*CFrame.new(0,3,-9)
- local orbm = Instance.new("SpecialMesh", SpiritBall)
- orbm.MeshType = "Sphere"
- local a = Instance.new("Part",workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- SpiritBall.CFrame.p, -- origin
- (mouse.Hit.p - SpiritBall.CFrame.p).unit * 500 -- direction
- )
- local ignore = SpiritBall
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (SpiritBall.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(SpiritBall.CFrame.p, position) * CFrame.new(0, 0, 0)
- SpiritBall.CFrame = a.CFrame
- CFuncs["Sound"].Create("rbxassetid://4538325325", Torso, 7,1.1)
- for i = 0, 1, 0.1 do
- swait()
- ray = Ray.new(
- SpiritBall.CFrame.p, -- origin
- (mouse.Hit.p - SpiritBall.CFrame.p).unit * 500 -- direction
- )
- hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- distance = (SpiritBall.CFrame.p - position).magnitude
- a.CFrame = CFrame.new(SpiritBall.CFrame.p, position) * CFrame.new(0, 0, 0)
- SpiritBall.CFrame = a.CFrame
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,-0.1)*angles(math.rad(-15),math.rad(0),math.rad(0))*RootCF,.3)
- LH.C0 = LH.C0:lerp(cf(-1,-1.1,-0.5)*angles(math.rad(-45),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- RH.C0 = RH.C0:lerp(cf(1,-0.8,-0.2)*angles(math.rad(20),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.5)*angles(math.rad(-55),math.rad(0),math.rad(0)),.3)
- RW.C0 = RW.C0:lerp(cf(1.5,0.3,-0.2)*angles(math.rad(55),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.1)*angles(math.rad(-10),math.rad(0),math.rad(0))*necko,.3)
- SPW.C0=clerp(SPW.C0,cf(0,-1,0)*angles(math.rad(90),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- end
- idkthepart.Transparency = 1
- SpiritBall.Transparency = 0
- SpiritBall.Anchored = false
- a:Destroy()
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = SpiritBall.CFrame.lookVector*150
- bv.Parent = SpiritBall
- local hitted = false
- CFuncs["Sound"].Create("rbxassetid://466493476", SpiritBall, 7.5, 0.7)
- coroutine.resume(coroutine.create(function()
- while true do
- swait(1)
- if hitted == false and SpiritBall.Parent ~= nil then
- --slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
- elseif hitted == true and SpiritBall.Parent == nil then
- break
- end
- end
- end))
- hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= char then
- SpiritBall.Anchored = true
- SpiritBall.Transparency = 1
- local A = Instance.new("Attachment",hit.Parent.Torso)
- local beam = NewInstance("Beam",Torso,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(255, 0, 191),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://0",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
- beam.Color = ColorSequence.new(Color3.fromRGB(255, 2, 124))
- for i = 0, 4, .1 do
- local Alpha = .3
- swait()
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(9.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.9,-1)*angles(math.rad(-21.4),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-17.8),math.rad(0),math.rad(13.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.4,0.3,-0.8)*angles(math.rad(78.1),math.rad(1.7),math.rad(74.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.5,-0.5)*angles(math.rad(87.1),math.rad(0),math.rad(14.8)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-13.7),math.rad(0))*necko,Alpha)
- end
- beam.Transparency = NumberSequence.new(1,0)
- for i = 0, 3, .1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.6)*angles(math.rad(2.4),math.rad(-41.4),math.rad(0.3))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.5)*angles(math.rad(-29.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(3.8),math.rad(5.1),math.rad(12.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.1,0.2,-0.8)*angles(math.rad(72.7),math.rad(-10.6),math.rad(109.6)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1,0.6,0.4)*angles(math.rad(58.8),math.rad(-13.8),math.rad(23.9)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(24.9),math.rad(0))*necko,Alpha)
- end
- beam.Transparency = NumberSequence.new(1,.5)
- beam:Destroy()
- MagniDamage(SpiritBall, 6, 999,999, 0, "Normal")
- wait(3)
- for i, v in pairs(FindNearestHead(SpiritBall.CFrame.p, 2)) do
- if v:FindFirstChild('Head') then
- dmg(v)
- end
- end
- SpiritBall:Destroy()
- end
- end)
- --game:GetService("Debris"):AddItem(SpiritBall, 10)
- attack = false
- Humanoid.MaxHealth = Humanoid.MaxHealth+20
- Humanoid.Health = Humanoid.Health+20
- Humanoid.WalkSpeed = 16
- end
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Shadow = New("Part",char,"Shadow",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",Shadow,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
- Weld = New("ManualWeld",Shadow,"Weld",{Part0 = Shadow,Part1 = Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Shadow.Transparency = 1
- --Healthbar.HealthLabel.Text = "".. hum.Health.. "/".. hum.MaxHealth
- Death = false
- function ChangeMode()
- attack = true
- ORGID = 0
- Death = true
- music.SoundId = "rbxassetid://"..ORGID
- musictime = 0
- root.Anchored = true
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- idkthepart2.Transparency = 1
- for i = 0, 10, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1.2+.2*math.cos(sine/30),0.1)*angles(math.rad(-22.5),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-1.3-.1*math.cos(sine/30),-0.1)*angles(math.rad(-68.7),math.rad(-3.7),math.rad(-9.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.1-.1*math.cos(sine/30),-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1,0.3,-0.4)*angles(math.rad(70.7),math.rad(0),math.rad(70.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.5,0)*angles(math.rad(23.6),math.rad(0),math.rad(0)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.6)*angles(math.rad(-35.2),math.rad(0),math.rad(0))*necko,Alpha)
- end
- for i = 0, .5, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1.2,0)*angles(math.rad(27.2),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,0)*angles(math.rad(25.3),math.rad(0),math.rad(-2.6))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.4,-0.7)*angles(math.rad(9.4),math.rad(-13.7),math.rad(7.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.3,0.6,-0.1)*angles(math.rad(-21.8),math.rad(0),math.rad(-18)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.6,0)*angles(math.rad(-20.8),math.rad(0),math.rad(14)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,-0.3)*angles(math.rad(20.2),math.rad(0),math.rad(0))*necko,Alpha)
- end
- for i = 0, 4, 0.1 do
- swait()
- local Alpha = .1
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- HW.C0=clerp(HW.C0,cf(1,-0.3 - 0.2 * math.cos(sine/45),-1)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-2.3,0)*angles(math.rad(87.8),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,0)*angles(math.rad(2.1),math.rad(1),math.rad(-19.8))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-0.9,0)*angles(math.rad(8.2),math.rad(-3.7),math.rad(23.6))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.8,-0.1)*angles(math.rad(-7.5),math.rad(-4.6),math.rad(-36.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.7,0)*angles(math.rad(-0.9),math.rad(4.9),math.rad(20.5)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,-0.2)*angles(math.rad(11.7),math.rad(-45.5),math.rad(0))*necko,Alpha)
- end
- ORGID = 4538576008
- music.SoundId = "rbxassetid://"..ORGID
- musictime = 0
- for i = 0, 4, 0.1 do
- swait()
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- local Alpha = .1
- HW.C0=clerp(HW.C0,cf(1,-1.2 - 0.2 * math.cos(sine/45),-1)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-2.3,0)*angles(math.rad(87.8),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,0)*angles(math.rad(2.1),math.rad(1),math.rad(-19.8))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-0.9,0)*angles(math.rad(8.2),math.rad(-3.7),math.rad(23.6))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.8,-0.1)*angles(math.rad(-7.5),math.rad(-4.6),math.rad(-36.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.7,0)*angles(math.rad(-0.9),math.rad(4.9),math.rad(20.5)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,-0.2)*angles(math.rad(11.7),math.rad(-45.5),math.rad(0))*necko,Alpha)
- end
- scripts.Torso.Torso.Liquid.Transparency = 1
- scripts.Torso.Torso.Cork.Transparency = 1
- deadii = false
- Humanoid.MaxHealth = "250"
- Humanoid.Health = "250"
- root.Anchored = false
- Shadow.Transparency = 0
- idkthepart2.Transparency = 1
- soul1d = Instance.new("Part",char)
- soul1d.Shape = "Ball"
- soul1d.Material = "Neon"
- soul1d.BrickColor = BrickColor.new("Really black")
- soul1d.Size = Vector3.new(1,1,1)
- soul1d.Transparency = 0.5
- soul1dweld = Instance.new("Weld",soul1d)
- soul1dweld.Part0 = root
- soul1dweld.Part1 = soul1d
- soul1dweld.C0 = CFrame.new(0,0,0)
- soul1mesh = Instance.new("SpecialMesh",soul1d)
- soul1mesh.MeshType = "Sphere"
- soul1sd = Instance.new("Part",char)
- soul1sd.Shape = "Ball"
- soul1sd.Material = "Neon"
- soul1sd.BrickColor = BrickColor.new("Hot pink")
- soul1sd.Size = Vector3.new(0.9,0.9,0.9)
- soul1sd.Transparency = 0.2
- soul1sdweld = Instance.new("Weld",soul1sd)
- soul1sdweld.Part0 = root
- soul1sdweld.Part1 = soul1sd
- soul1sdweld.C0 = CFrame.new(0,0,0)
- soul1smesh = Instance.new("SpecialMesh",soul1sd)
- soul1smesh.MeshType = "Sphere"
- coroutine.resume(coroutine.create(function()
- for i = 1,14 do
- soul1mesh.Scale = soul1mesh.Scale + Vector3.new(4,4,4)
- soul1smesh.Scale = soul1mesh.Scale + Vector3.new(4,4,4)
- waveEff(4, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(30, 1, 30), 0.15, BrickColor.new("White"))
- waveEff(8, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(30, 1, 30), 0.15, BrickColor.new("White"))
- wait()
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1,25 do
- waveEff(4, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(30, 1, 30), 0.15, BrickColor.new("White"))
- waveEff(8, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(30, 1, 30), 0.15, BrickColor.new("White"))
- waveEff(4, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(21, 51, 21), 0.15, BrickColor.new("Hot pink"))
- waveEff(8, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(21, 51, 21), 0.15, BrickColor.new("Really black"))
- wait()
- end
- end))
- mode=1
- CFuncs["Sound"].Create("rbxassetid://341301373", Torso, 2, 1)
- local hf,pf=rayCast(root.Position,(CFrame.new(root.Position,root.Position - vt(0,1,0))).lookVector,4,char)
- local rotation = 0
- for i = 0, 35 do
- rotation = rotation + 10
- local deb = Instance.new("Part", char)
- deb.Anchored = true
- deb.CanCollide = false
- deb.FormFactor = 3
- deb.Name = "Ring"
- deb.Material = hf.Material
- deb.Color = hf.Color
- deb.Size = vt(math.random(50,60)/4,math.random(25,35)/4,math.random(50,60)/4)
- deb.Transparency = 0
- deb.TopSurface = 0
- deb.BottomSurface = 0
- deb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-6,100/4)*CFrame.Angles(math.rad(math.random(20,30)),math.rad(0),math.rad(0))*CFrame.new(0,math.random(-5,5),0)
- local debb = Instance.new("Part", char)
- debb.Anchored = true
- debb.CanCollide = false
- debb.FormFactor = 3
- debb.Name = "Ring"
- debb.Material = hf.Material
- debb.Color = hf.Color
- debb.Size = vt(math.random(40,50)/4,math.random(19,25)/4,math.random(40,50)/4)
- debb.Transparency = 0
- debb.TopSurface = 0
- debb.BottomSurface = 0
- debb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-7,125/4)*CFrame.Angles(math.rad(math.random(10,20)),math.rad(0),math.rad(0))*CFrame.new(0,math.random(-5,5),0)
- local debc = Instance.new("Part", char)
- debc.Anchored = true
- debc.CanCollide = false
- debc.FormFactor = 3
- debc.Name = "Ring"
- debc.Material = hf.Material
- debc.Color = hf.Color
- debc.Size = vt(math.random(35,40)/4,math.random(14,18)/4,math.random(35,40)/4)
- debc.Transparency = 0
- debc.TopSurface = 0
- debc.BottomSurface = 0
- debc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-7,150/4)*CFrame.Angles(math.rad(math.random(5,10)),math.rad(0),math.rad(0))*CFrame.new(0,math.random(-5,5),0)
- local deb2 = Instance.new("Part", char)
- deb2.CanCollide = false
- deb2.FormFactor = 3
- deb2.Name = "Ring"
- deb2.Material = hf.Material
- deb2.Color = hf.Color
- deb2.Size = vt(math.random(50,60)/16,math.random(50,60)/16,math.random(50,60)/16)
- deb2.Transparency = 0
- deb2.TopSurface = 0
- deb2.BottomSurface = 0
- deb2.CFrame = root.CFrame
- deb2.Velocity = vt(math.random(-300,300)/4,math.random(250,500)/4,math.random(-300,300)/4)
- deb2.RotVelocity = vt(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- local Dip=Instance.new('Part',Character)
- Dip.Transparency=1
- Dip.Size=Vector3.new(30, 0.05, 30)
- Dip.Anchored=true
- Dip.CanCollide = false
- local deo=Instance.new('Decal',Dip)
- deo.Texture='http://www.roblox.com/asset/?id=4407116262'
- deo.Transparency=0
- deo.Face='Top'
- Dip.CFrame=Character.HumanoidRootPart.CFrame*CFrame.new(0,-2.6,0)
- game:GetService("Debris"):AddItem(Dip,9)
- game:GetService("Debris"):AddItem(deb,9)
- game:GetService("Debris"):AddItem(debb,9)
- game:GetService("Debris"):AddItem(debc,9)
- game:GetService("Debris"):AddItem(deb2,9)
- coroutine.resume(coroutine.create(function()
- wait(2)
- repeat
- wait(.05)
- deb.Transparency = deb.Transparency + 0.05
- debb.Transparency = debb.Transparency + 0.05
- debc.Transparency = debc.Transparency + 0.05
- for _,v in pairs(char:GetChildren()) do
- if v.Name == "Part" then
- v.Transparency = v.Transparency + 0.05
- end
- end
- until
- deb.Transparency == 1
- soul1d:Destroy()
- soul1sd:Destroy()
- Dip:Destroy()
- deb:Destroy()
- debb:Destroy()
- debc:Destroy()
- end))
- end
- attack = false
- end
- function Changemodefinal()
- attack = true
- scythebruh = false
- scythetrans(1)
- ORGID = 0
- Death = true
- music.SoundId = "rbxassetid://"..ORGID
- chatFunc2("i never got use to be split in two anyway", 150,14)
- for i = 0, 2, 0.1 do
- swait()
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- end
- idkthepart.Transparency = 0
- for i = 0, 3, 0.1 do
- swait()
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- SPW.C0=clerp(SPW.C0,cf(0,-1,0)*angles(math.rad(90),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- HW.C0=clerp(HW.C0,cf(0,1 + 0.6 * math.cos(sine/45),-5)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- end
- ORGID = 1591067191
- Death = true
- music.SoundId = "rbxassetid://"..ORGID
- for i = 0, 15, 0.1 do
- swait()
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- SPW.C0=clerp(SPW.C0,cf(0,-1,0)*angles(math.rad(90),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- HW.C0=clerp(HW.C0,cf(0,1 + 0.6 * math.cos(sine/45),-5)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
- RW.C0 = RW.C0:lerp(cf(1.2,0.7,0.2)*angles(math.rad(151.5),math.rad(0),math.rad(5.7)),.3)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- end
- chatFunc2("it was fun while it lasted", 150,14)
- for i = 0, 3, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(0,1 + 0.6 * math.cos(sine/45),-5)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.1,0.1)*angles(math.rad(5),math.rad(-25),math.rad(0))*RootCF,.3)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,-0.4)*angles(math.rad(15),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- RH.C0 = RH.C0:lerp(cf(1,-0.9,-0.1)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.1)*angles(math.rad(-14.6),math.rad(8.2),math.rad(-5.8)),.3)
- RW.C0 = RW.C0:lerp(cf(1.2,0.7,0.2)*angles(math.rad(-151.5),math.rad(29.5),math.rad(5.7)),.3)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(25),math.rad(0))*necko,.3)
- SPW.C0=clerp(SPW.C0,cf(0,-1,0)*angles(math.rad(90),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- end
- for i = 0, 4, 0.1 do
- swait()
- HW.C0=clerp(HW.C0,cf(0,1 + 0.6 * math.cos(sine/45),-5)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,-0.1)*angles(math.rad(-15),math.rad(0),math.rad(0))*RootCF,.3)
- LH.C0 = LH.C0:lerp(cf(-1,-1.1,-0.5)*angles(math.rad(-45),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- RH.C0 = RH.C0:lerp(cf(1,-0.8,-0.2)*angles(math.rad(20),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.5)*angles(math.rad(-55),math.rad(0),math.rad(0)),.3)
- RW.C0 = RW.C0:lerp(cf(1.5,0.3,-0.2)*angles(math.rad(55),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.1)*angles(math.rad(-10),math.rad(0),math.rad(0))*necko,.3)
- SPW.C0=clerp(SPW.C0,cf(0,-1,0)*angles(math.rad(90),math.rad(0),math.rad(90))*angles(0,0,0),.1)
- end
- idkthepart.Transparency = 1
- CFuncs["Sound"].Create("rbxassetid://785201669", char, 2, 0.9)
- AAAxd.Transparency = 0
- for _,v in pairs(Akumu:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
- DecalA.Texture = "http://www.roblox.com/asset/?id=0"
- for i = 0, 10, 0.1 do
- swait()
- local Alpha = .05
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- HW.C0=clerp(HW.C0,cf(0,1,-5)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1,0)*angles(math.rad(-16.4),math.rad(-17.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.2,0.1,-0.4)*angles(math.rad(0),math.rad(23),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-1.1,-0.9)*angles(math.rad(-63.8),math.rad(-8.4),math.rad(13.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,-0.3)*angles(math.rad(77.5),math.rad(-19.9),math.rad(39.3)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.3,-0.3)*angles(math.rad(7.1),math.rad(17.7),math.rad(-7)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0,-0.1)*angles(math.rad(11),math.rad(17.4),math.rad(-8.3))*necko,.3)
- end
- AAAxd.Size = Vector3.new(0.12, 0.33, 0.97)
- for i = 0, 5, 0.1 do
- swait()
- local Alpha = .05
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- HW.C0=clerp(HW.C0,cf(0,-0.1+ 0.2 * math.cos(sine/45),-5)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1,0)*angles(math.rad(-16.4),math.rad(-17.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.2,0.1,-0.4)*angles(math.rad(0),math.rad(23),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-1.1,-0.9)*angles(math.rad(-63.8),math.rad(-8.4),math.rad(13.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,-0.3)*angles(math.rad(77.5),math.rad(-19.9),math.rad(39.3)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.3,-0.3)*angles(math.rad(7.1),math.rad(17.7),math.rad(-7)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0,-0.1)*angles(math.rad(11),math.rad(17.4),math.rad(-8.3))*necko,.3)
- end
- local particlemiter = Instance.new("ParticleEmitter",root)
- particlemiter.Texture = "rbxassetid://603193846"
- particlemiter.Size = NumberSequence.new(2,.5)
- particlemiter.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter.Transparency = NumberSequence.new(0,1)
- particlemiter.Enabled = true
- particlemiter.LockedToPart = false
- particlemiter.Speed = NumberRange.new(20)
- particlemiter.RotSpeed = NumberRange.new(210)
- particlemiter.Lifetime = NumberRange.new(2)
- particlemiter.SpreadAngle = Vector2.new(-100,100)
- particlemiter.Rate = 500
- particlemiter.LightEmission = 1
- local particlemiter2 = Instance.new("ParticleEmitter",root)
- particlemiter2.Texture = "rbxassetid://603193846"
- particlemiter2.Size = NumberSequence.new(2,.5)
- particlemiter2.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter2.Transparency = NumberSequence.new(0,1)
- particlemiter2.Enabled = true
- particlemiter2.LockedToPart = false
- particlemiter2.Speed = NumberRange.new(20)
- particlemiter2.RotSpeed = NumberRange.new(210)
- particlemiter2.Lifetime = NumberRange.new(2)
- particlemiter2.SpreadAngle = Vector2.new(-100,100)
- particlemiter2.Rate = 500
- particlemiter2.LightEmission = 1
- local particlemiter3 = Instance.new("ParticleEmitter",root)
- particlemiter3.Texture = "rbxassetid://603193846"
- particlemiter3.Size = NumberSequence.new(2,.5)
- particlemiter3.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter3.Transparency = NumberSequence.new(0,1)
- particlemiter3.Enabled = true
- particlemiter3.LockedToPart = false
- particlemiter3.Speed = NumberRange.new(20)
- particlemiter3.RotSpeed = NumberRange.new(210)
- particlemiter3.Lifetime = NumberRange.new(2)
- particlemiter3.SpreadAngle = Vector2.new(-100,100)
- particlemiter3.Rate = 500
- particlemiter3.LightEmission = 1
- wait(.15)
- coroutine.wrap(function()
- particlemiter.Enabled = false
- particlemiter2.Enabled = false
- particlemiter3.Enabled = false
- wait(5)
- particlemiter3:Remove()
- particlemiter:Remove()
- particlemiter2:Remove()
- end)()
- sphere2(5,"Add",Handle.CFrame,vt(2.1,2.1,2),-0.02,-0.02,5,BrickColor.new("Hot pink"),"Glass")
- sphere2(5,"Add",Handle.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Hot pink"),"Glass")
- for i = 0, 24 do
- slash(math.random(20,100)/10,5,true,"Round","Add","Out",Handle.CFrame*CFrame.new(0,0,math.random(-60,60))*CFrame.Angles(math.rad(90),0,0),vt(0.01,0.01,0.01),math.random(10,100)/1000,BrickColor.new("White"))
- end
- for i = 0, 5, 0.1 do
- swait()
- local Alpha = .05
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- AAAxd.Transparency = AAAxd.Transparency + 0.09
- HW.C0=clerp(HW.C0,cf(0,-0.1+ 0.2 * math.cos(sine/45),0)*angles(math.rad(0),math.rad(-180),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1,0)*angles(math.rad(-16.4),math.rad(-17.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.2,0.1,-0.4)*angles(math.rad(0),math.rad(23),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-1.1,-0.9)*angles(math.rad(-63.8),math.rad(-8.4),math.rad(13.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,-0.3)*angles(math.rad(77.5),math.rad(-19.9),math.rad(39.3)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.3,-0.3)*angles(math.rad(7.1),math.rad(17.7),math.rad(-7)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0,-0.1)*angles(math.rad(11),math.rad(17.4),math.rad(-8.3))*necko,.3)
- end
- for _,v in pairs(scripts.LeftArm:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0.8 end end
- for _,v in pairs(scripts.RightArm:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0.8 end end
- AAAxd.Transparency = 1
- HandPart1.Transparency = 0
- HandPart2.Transparency = 0
- for i = 0, 15, 0.1 do
- swait()
- local Alpha = .05
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1,0)*angles(math.rad(-16.4),math.rad(-17.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.2,0.1,-0.4)*angles(math.rad(0),math.rad(23),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-1.1,-0.9)*angles(math.rad(-63.8),math.rad(-8.4),math.rad(13.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,-0.3)*angles(math.rad(77.5),math.rad(-19.9),math.rad(39.3)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.3,-0.3)*angles(math.rad(7.1),math.rad(17.7),math.rad(-7)),Alpha)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0.2)*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0)),.1)
- end
- for i = 0, 2, 0.1 do
- swait()
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.05 * math.cos(sine / 32),-0.65)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.06)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.75)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(57.5 + 2 * math.cos(sine / 32))),.06)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),-0.85 + 0.05 * math.cos(sine / 32))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(15),math.rad(0 - 1 * math.cos(sine / 44))),.06)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(27 - 8 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 15 * math.cos(sine / 58) - 7.5 * math.cos(sine / 43.5))),.06)
- RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.005 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-55)),.06)
- LW.C0=clerp(LW.C0,cf(-1.45,0.4 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 7 * math.cos(sine / 73)),math.rad(2 - 4 * math.cos(sine / 55)),math.rad(-55)),.06)
- end
- for i = 0, 2, 0.1 do
- swait()
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(45),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(45),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(45 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 15 * math.cos(sine / 58) - 7.5 * math.cos(sine / 43.5))),.1)
- RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.1,-0.4)*angles(math.rad(80),math.rad(0),math.rad(-40)),.1)
- LW.C0=clerp(LW.C0,cf(-1.1,0.5 + 0.1,-0.3)*angles(math.rad(70),math.rad(0),math.rad(50)),.1)
- end
- CFuncs["Sound"].Create("rbxassetid://814635481", char, 2, 1)
- local Dip=Instance.new('Part',Character)
- Dip.Transparency=1
- Dip.Size=Vector3.new(30, 0.05, 30)
- Dip.Anchored=true
- Dip.CanCollide = false
- local deo=Instance.new('Decal',Dip)
- deo.Texture='http://www.roblox.com/asset/?id=4407116262'
- deo.Transparency=0
- deo.Face='Top'
- Dip.CFrame=Character.HumanoidRootPart.CFrame*CFrame.new(0,-2.6,0)
- game:GetService("Debris"):AddItem(Dip,9)
- for i = 0, 5, 0.1 do
- swait()
- sphere2(1.5,"Add",root.CFrame,vt(12,12,12),1.1,1.1,1.1,BrickColor.new("Hot pink"),"Neon")
- sphere2(2,"Add",root.CFrame,vt(12,12,12),1.2,1.2,1.2,BrickColor.new("Really black"),"Neon")
- sphere2(2,"Add",root.CFrame,vt(13,13,13),1.2,1.2,1.2,BrickColor.new("Hot pink"),"Glass")
- waveEff(4, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(20, 1, 20), 0.15, BrickColor.new("White"))
- waveEff(8, "Add", root.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(20, 1, 20), 0.15, BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-30)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(30)),.5)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-32),math.rad(0),math.rad(0)),.5)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(50 + 3 * math.cos(sine / 15))),.5)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(-50 - 3 * math.cos(sine / 15))),.5)
- end
- mode = 2
- hum.MaxHealth = "430"
- hum.Health = "430"
- attack = false
- end
- scythebruh = false
- function scytheo()
- scythebruh = false
- for _,v in pairs(Akumu:GetDescendants()) do if v:IsA("Part") then v.Transparency = 0 end end DecalA.Texture = "http://www.roblox.com/asset/?id=4448610923"
- scythetrans(1)
- ScytheAura.Transparency = 1
- end
- function Rhabdophobia1()
- attack = true
- hum.WalkSpeed = 5
- CFuncs["Sound"].Create("rbxassetid://4560422325", char, 4, 1)
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .1
- RH.C0=clerp(RH.C0,cf(1,-0.1,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(60)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2)
- LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2)
- end
- local penta = Instance.new("Part", char)
- penta.Name = "penta"
- penta.CanCollide = true
- penta.Locked = true
- RootPart.Anchored = true
- penta.BrickColor = BrickColor.new("Persimmon")
- penta.Transparency = 1
- penta.Material = "Glass"
- penta.Size = Vector3.new(25,25,25)
- penta.TopSurface = Enum.SurfaceType.Smooth
- penta.BottomSurface = Enum.SurfaceType.Smooth
- local Healing_Area = Instance.new("Part", penta)
- Healing_Area.Name = "Healing_Area"
- Healing_Area.CanCollide = false
- Healing_Area.Locked = true
- Healing_Area.BrickColor = BrickColor.new("Persimmon")
- Healing_Area.Transparency = .7
- Healing_Area.Material = "Glass"
- Healing_Area.Size = Vector3.new(80,80,80)
- Healing_Area.TopSurface = Enum.SurfaceType.Smooth
- Healing_Area.BottomSurface = Enum.SurfaceType.Smooth
- Healing_Area.Shape = "Ball"
- local External = Instance.new("Part", penta)
- External.Name = "External"
- External.CanCollide = false
- External.Locked = true
- External.BrickColor = BrickColor.new("Hot pink")
- External.Transparency = .8
- External.Material = "Glass"
- External.Size = Vector3.new(83,83,83)
- External.TopSurface = Enum.SurfaceType.Smooth
- External.BottomSurface = Enum.SurfaceType.Smooth
- External.Shape = "Ball"
- local HealingWeld = Instance.new("Weld", Healing_Area)
- HealingWeld.Part0 = root
- HealingWeld.Part1 = Healing_Area
- HealingWeld.C1 = CFrame.new(0,-1,-.1)
- HealingWeld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- local External_Weld= Instance.new("Weld", External)
- External_Weld.Part0 = root
- External_Weld.Part1 = External
- External_Weld.C1 = CFrame.new(0,-1,-.1)
- External_Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- local pentaWeld = Instance.new("Weld", penta)
- pentaWeld.Part0 = root
- pentaWeld.Part1 = penta
- pentaWeld.C1 = CFrame.new(0,-1,-.1)
- pentaWeld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(FindNearestTorso(root.CFrame.p, 80)) do
- if v:FindFirstChild('Head') then
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(v:WaitForChild('Head'):GetChildren()) do
- if v:IsA("BodyPosition") then
- v:Destroy()
- end
- end
- v:FindFirstChildOfClass("Humanoid").WalkSpeed = .1
- v:FindFirstChildOfClass("Humanoid").JumpPower = 3
- if v:IsA("Part") then
- v.Anchored = true
- end
- wait(7)
- v:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
- v:FindFirstChildOfClass("Humanoid").JumpPower = 50
- end))
- end
- end
- end))
- sphere2(2,"Add",root.CFrame,vt(40,40,40),0.5,0.5,0.5,BrickColor.new("Hot pink"),"Glass")
- sphere2(3,"Add",root.CFrame,vt(40,40,40),0.75,0.75,0.75,BrickColor.new("Hot pink"),"Glass")
- sphere2(4,"Add",root.CFrame,vt(40,40,40),1,1,1,BrickColor.new("Persimmon"),"Glass")
- for i = 0, 17, 0.1 do
- swait()
- local Alpha = .1
- RH.C0=clerp(RH.C0,cf(1,-0.1,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(60)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, cf(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(76), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
- LW.C0 = clerp(LW.C0, cf(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(76), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
- pentaWeld.C0 = CFrame.Angles(math.rad(0),math.rad(math.random(-360,360)),0)
- end
- sphere2(2,"Add",root.CFrame,vt(40,40,40),0.5,0.5,0.5,BrickColor.new("Hot pink"),"Glass")
- sphere2(3,"Add",root.CFrame,vt(40,40,40),0.75,0.75,0.75,BrickColor.new("Hot pink"),"Glass")
- sphere2(4,"Add",root.CFrame,vt(40,40,40),1,1,1,BrickColor.new("Persimmon"),"Glass")
- penta:remove()
- pentaWeld:remove()
- hum.WalkSpeed = 17
- attack = false
- end
- function Rhabdophobia()
- attack = true
- CFuncs["Sound"].Create("rbxassetid://4560422325", char, 4, 1)
- local DamageVal = 0
- local KeyHolden = true
- local nig;
- nig=mouse.KeyUp:Connect(function(key)
- if key == "c" and scythebruh == false then
- KeyHolden = false
- --nig:disconnect()
- end
- end)
- hum.WalkSpeed = 0
- -- CFuncs.Sound.Create("rbxassetid://3355840382", Torso, 4, 1)
- -- Cso("3355840382", Head, 5, 1, false)
- for i = 0,1,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.1,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(60)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2)
- LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2)
- end
- sphere2(2,"Add",root.CFrame,vt(40,40,40),0.5,0.5,0.5,BrickColor.new("Hot pink"),"Glass")
- sphere2(3,"Add",root.CFrame,vt(40,40,40),0.75,0.75,0.75,BrickColor.new("Hot pink"),"Glass")
- sphere2(4,"Add",root.CFrame,vt(40,40,40),1,1,1,BrickColor.new("Persimmon"),"Glass")
- local penta = Instance.new("Part", char)
- penta.Name = "penta"
- penta.CanCollide = true
- penta.Locked = true
- RootPart.Anchored = true
- penta.BrickColor = BrickColor.new("Persimmon")
- penta.Transparency = 1
- penta.Material = "Glass"
- penta.Size = Vector3.new(25,25,25)
- penta.TopSurface = Enum.SurfaceType.Smooth
- penta.BottomSurface = Enum.SurfaceType.Smooth
- local Healing_Area = Instance.new("Part", penta)
- Healing_Area.Name = "Healing_Area"
- Healing_Area.CanCollide = false
- Healing_Area.Locked = true
- Healing_Area.BrickColor = BrickColor.new("Persimmon")
- Healing_Area.Transparency = .7
- Healing_Area.Material = "Glass"
- Healing_Area.Size = Vector3.new(80,80,80)
- Healing_Area.TopSurface = Enum.SurfaceType.Smooth
- Healing_Area.BottomSurface = Enum.SurfaceType.Smooth
- Healing_Area.Shape = "Ball"
- local External = Instance.new("Part", penta)
- External.Name = "External"
- External.CanCollide = false
- External.Locked = true
- External.BrickColor = BrickColor.new("Hot pink")
- External.Transparency = .8
- External.Material = "Glass"
- External.Size = Vector3.new(83,83,83)
- External.TopSurface = Enum.SurfaceType.Smooth
- External.BottomSurface = Enum.SurfaceType.Smooth
- External.Shape = "Ball"
- local HealingWeld = Instance.new("Weld", Healing_Area)
- HealingWeld.Part0 = root
- HealingWeld.Part1 = Healing_Area
- HealingWeld.C1 = CFrame.new(0,-1,-.1)
- HealingWeld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- local External_Weld= Instance.new("Weld", External)
- External_Weld.Part0 = root
- External_Weld.Part1 = External
- External_Weld.C1 = CFrame.new(0,-1,-.1)
- External_Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- local pentaWeld = Instance.new("Weld", penta)
- pentaWeld.Part0 = root
- pentaWeld.Part1 = penta
- pentaWeld.C1 = CFrame.new(0,-1,-.1)
- pentaWeld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
- local pentaMesh = Instance.new("SpecialMesh", penta)
- pentaMesh.MeshType = "Sphere"
- pentaMesh.Scale = Vector3.new(1.4, 1.4, 1.4)
- repeat
- for i = 0,2,0.05 do
- swait()
- DamageVal = DamageVal + 1.1
- RH.C0=clerp(RH.C0,cf(1,-0.1,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(60)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, cf(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(76), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
- LW.C0 = clerp(LW.C0, cf(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(76), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
- pentaWeld.C0 = CFrame.Angles(math.rad(0),math.rad(math.random(-360,360)),0)
- end
- until KeyHolden == false or DamageVal > 150
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(FindNearestTorso(root.CFrame.p, 80)) do
- if v:FindFirstChild('Head') then
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(v:WaitForChild('Head'):GetChildren()) do
- if v:IsA("BodyPosition") then
- v:Destroy()
- end
- end
- v:FindFirstChildOfClass("Humanoid").WalkSpeed = .1
- v:FindFirstChildOfClass("Humanoid").JumpPower = 3
- if v:IsA("Part") then
- v.Anchored = true
- end
- wait(7)
- v:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
- v:FindFirstChildOfClass("Humanoid").JumpPower = 50
- end))
- end
- end
- end))
- sphere2(2,"Add",root.CFrame,vt(40,40,40),0.5,0.5,0.5,BrickColor.new("Hot pink"),"Glass")
- sphere2(3,"Add",root.CFrame,vt(40,40,40),0.75,0.75,0.75,BrickColor.new("Hot pink"),"Glass")
- sphere2(4,"Add",root.CFrame,vt(40,40,40),1,1,1,BrickColor.new("Persimmon"),"Glass")
- penta:remove()
- pentaWeld:remove()
- penta.Transparency = penta.Transparency + 1
- penta:remove()
- pentaWeld:remove()
- pentaMesh:remove()
- hum.WalkSpeed = 16
- RootPart.Anchored = false
- attack = false
- end
- function scythe()
- attack = true
- hum.WalkSpeed = 0
- for i = 0, 4, 0.1 do
- swait()
- -- local Alpha = .05
- -- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(36.4),math.rad(0))*RootCF,Alpha)
- -- LH.C0 = LH.C0:lerp(cf(-1,-1.2,0)*angles(math.rad(-11.9),math.rad(11.3),math.rad(-6.1))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- -- RH.C0 = RH.C0:lerp(cf(1.1,-1.1,-0.2)*angles(math.rad(0),math.rad(-36.3),math.rad(10.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- -- LW.C0 = LW.C0:lerp(cf(-1.4,0.1,0)*angles(math.rad(15.5),math.rad(0),math.rad(0)),Alpha)
- -- RW.C0 = RW.C0:lerp(cf(0,-0.5,-0.4)*angles(math.rad(39.5),math.rad(-0.6),math.rad(-64.4)),Alpha)
- -- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.2,0.1,0.3)*angles(math.rad(-27.4),math.rad(-30.1),math.rad(-14.6))*necko,Alpha)
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 20), 0.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5+ 0.1 * math.cos(sine / 45),-0.2)*angles(math.rad(0),math.rad(150+ 2.5 * math.cos(sine / 45)),math.rad(80+ 10 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- CFuncs["Sound"].Create("rbxassetid://4538398959", Torso, 5,1)
- local particlemiter = Instance.new("ParticleEmitter",root)
- particlemiter.Texture = "rbxassetid://603193846"
- particlemiter.Size = NumberSequence.new(2,.5)
- particlemiter.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter.Transparency = NumberSequence.new(0,1)
- particlemiter.Enabled = true
- particlemiter.LockedToPart = false
- particlemiter.Speed = NumberRange.new(20)
- particlemiter.RotSpeed = NumberRange.new(210)
- particlemiter.Lifetime = NumberRange.new(2)
- particlemiter.SpreadAngle = Vector2.new(-100,100)
- particlemiter.Rate = 500
- particlemiter.LightEmission = 1
- local particlemiter2 = Instance.new("ParticleEmitter",root)
- particlemiter2.Texture = "rbxassetid://603193846"
- particlemiter2.Size = NumberSequence.new(2,.5)
- particlemiter2.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter2.Transparency = NumberSequence.new(0,1)
- particlemiter2.Enabled = true
- particlemiter2.LockedToPart = false
- particlemiter2.Speed = NumberRange.new(20)
- particlemiter2.RotSpeed = NumberRange.new(210)
- particlemiter2.Lifetime = NumberRange.new(2)
- particlemiter2.SpreadAngle = Vector2.new(-100,100)
- particlemiter2.Rate = 500
- particlemiter2.LightEmission = 1
- local particlemiter3 = Instance.new("ParticleEmitter",root)
- particlemiter3.Texture = "rbxassetid://603193846"
- particlemiter3.Size = NumberSequence.new(2,.5)
- particlemiter3.Color = ColorSequence.new(Color3.new(1, 0.00784314, 0.486275), Color3.new(1, 0.00784314, 0.486275))
- particlemiter3.Transparency = NumberSequence.new(0,1)
- particlemiter3.Enabled = true
- particlemiter3.LockedToPart = false
- particlemiter3.Speed = NumberRange.new(20)
- particlemiter3.RotSpeed = NumberRange.new(210)
- particlemiter3.Lifetime = NumberRange.new(2)
- particlemiter3.SpreadAngle = Vector2.new(-100,100)
- particlemiter3.Rate = 500
- particlemiter3.LightEmission = 1
- wait(.15)
- coroutine.wrap(function()
- particlemiter.Enabled = false
- particlemiter2.Enabled = false
- particlemiter3.Enabled = false
- wait(5)
- particlemiter3:Remove()
- particlemiter:Remove()
- particlemiter2:Remove()
- end)()
- for i = 0, 3, 0.1 do
- swait()
- -- local Alpha = .05
- -- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(36.4),math.rad(0))*RootCF,Alpha)
- -- LH.C0 = LH.C0:lerp(cf(-1,-1.2,0)*angles(math.rad(-11.9),math.rad(11.3),math.rad(-6.1))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- -- RH.C0 = RH.C0:lerp(cf(1.1,-1.1,-0.2)*angles(math.rad(0),math.rad(-36.3),math.rad(10.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- -- LW.C0 = LW.C0:lerp(cf(-1.4,0.1,0)*angles(math.rad(15.5),math.rad(0),math.rad(0)),Alpha)
- -- RW.C0 = RW.C0:lerp(cf(0,-0.5,-0.4)*angles(math.rad(39.5),math.rad(-0.6),math.rad(-64.4)),Alpha)
- -- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.2,0.1,0.3)*angles(math.rad(-27.4),math.rad(-30.1),math.rad(-14.6))*necko,Alpha)
- HW.C0=clerp(HW.C0,cf(3,0.5 + 0.4 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 20), 0.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- --RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.02 * math.cos(sine / 18), -0) * angles(math.rad(-10 + 3 * math.cos(sine/16)), math.rad(0), math.rad(90)),0.4)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0.78 - 2 * math.cos(sine / 51)),math.rad( 178.55 - 4 * math.cos(sine / 64)),math.rad(-27.63 + 2 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- for _,v in pairs(Akumu:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end DecalA.Texture = "http://www.roblox.com/asset/?id=0"
- scythetrans(0)
- ScytheAura.Transparency = 0.9
- for i = 0, 10, 0.1 do
- swait()
- -- local Alpha = .3
- -- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(21.2),math.rad(-37.1),math.rad(13.1))*RootCF,Alpha)
- -- LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(-28.1),math.rad(36.2),math.rad(3.6))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- -- RH.C0 = RH.C0:lerp(cf(1,-1,0)*angles(math.rad(-14.5),math.rad(-24.1),math.rad(11.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- -- LW.C0 = LW.C0:lerp(cf(-1.2,0.8,0.4)*angles(math.rad(47.4),math.rad(26.2),math.rad(-67.9)),Alpha)
- -- RW.C0 = RW.C0:lerp(cf(1.5,1.5,0)*angles(math.rad(131.9),math.rad(53.2),math.rad(30.2)),Alpha)
- -- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0,0.2)*angles(math.rad(-17.6),math.rad(36.5),math.rad(10.6))*necko,Alpha)
- HW.C0=clerp(HW.C0,cf(3,0.5 + 0.4 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 20), 0.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0.78 - 2 * math.cos(sine / 51)),math.rad( 178.55 - 4 * math.cos(sine / 64)),math.rad(-27.63 + 2 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- scythebruh = true
- hum.WalkSpeed = 16
- attack = false
- end
- ------------------------------------------------------
- --Start Music Option--
- -------------------------------------------------------
- -------------------------------------------------------
- --End Music Option--
- -------------------------------------------------------
- --music
- music = Instance.new("Sound")
- music.Parent = tors
- music.Volume = 3
- music.Looped = true
- music.Pitch = 1
- music.Name = "CustomMusic"
- music.SoundId = "rbxassetid://"..ORGID
- music:Play()
- musictime = 0
- volchoice = 3
- pitchchoice = 1
- es = 10
- tors.ChildRemoved:connect(function(removed)
- if removed.Name == "CustomMusic" then
- music = Instance.new("Sound")
- music.Parent = tors
- music.Volume = volchoice
- music.Looped = true
- music.Pitch = pitchchoice
- music.Name = "CustomMusic"
- music.TimePosition = musictime
- music.EmitterSize = es
- music.SoundId = "rbxassetid://"..ORGID
- music:Play()
- end
- end)
- -- music end
- local how_much = 13
- print(string.rep("I",how_much))
- plr.Chatted:connect(function(message)
- local filter = game:GetService("TextService"):FilterStringAsync(message, plr.UserId)
- local filteredTextResult = filter:GetNonChatStringForBroadcastAsync()
- if attack == false then
- chatFunc2(filteredTextResult, 150,14)
- end
- end)
- dmgcombo=1
- function Teleport()
- massv.ImageTransparency = 0.2
- --coroutine.resume(coroutine.create(function()
- RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
- --CameraEnshaking(2,10)
- wait(0.3)
- coroutine.resume(coroutine.create(function()
- for i = 1,14 do
- massv.ImageTransparency = massv.ImageTransparency + 0.07
- wait()
- end
- end))
- end
- function Attacks()
- attack = true
- if combo==1 then
- combo=2
- hum.WalkSpeed = 3
- for i = 0, 1.6 ,0.2 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-35),math.rad(-8),math.rad(-25)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(40),math.rad(-1)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.025,-0.5)*angles(math.rad(1),math.rad(-20),math.rad(-42)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(10),math.rad(-10)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-27)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(80),math.rad(0),math.rad(-36)),.3)
- end
- local hbax = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- hbax.CFrame = root.CFrame + root.CFrame.lookVector*1.5
- hbax.Anchored = true
- MagniDamage2(hbax, 3.5, 10,18, 0, "Normal", 3201554155)
- CFuncs["Sound"].Create("rbxassetid://2295409459", rarm, 2, 1)
- for i = 0, 1.6 ,0.2 do
- swait()
- RH.C0=clerp(RH.C0,cf(1.2,-1,-0.4)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-60),math.rad(-10)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(10)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.4,-0.4,-0.25)*angles(math.rad(0),math.rad(20),math.rad(82)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-20),math.rad(-82)),.4)
- RW.C0=clerp(RW.C0,cf(1.25,0.5,-1)*angles(math.rad(160),math.rad(20),math.rad(-20)),.4)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(80),math.rad(0),math.rad(-10)),.4)
- end
- hbax:Destroy()
- hum.WalkSpeed = 16
- elseif combo==2 then
- combo=1
- hum.WalkSpeed = 3
- for i = 0, 1.6 ,0.2 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(-8),math.rad(-25)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-0.4,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(20),math.rad(-5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.025,-0.5)*angles(math.rad(1),math.rad(20),math.rad(30)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-10),math.rad(-20)),.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(15)),.3)
- LW.C0=clerp(LW.C0,cf(-1.4,0,0)*angles(math.rad(140),math.rad(0),math.rad(10)),.3)
- end
- local hbax = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- hbax.CFrame = root.CFrame + root.CFrame.lookVector*1.5
- hbax.Anchored = true
- MagniDamage2(hbax, 3.5, 10,18, 0, "Normal", 3201554155)
- CFuncs["Sound"].Create("rbxassetid://2295409459", rarm, 2, 1)
- for i = 0, 1.6 ,0.2 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-25),math.rad(-8),math.rad(-15)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,-0.4)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(40),math.rad(-1)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(-0.4,-0.25,-0.25)*angles(math.rad(1),math.rad(-20),math.rad(-60)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(10),math.rad(50)),.4)
- RW.C0=clerp(RW.C0,cf(1.4,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(20)),.4)
- LW.C0=clerp(LW.C0,cf(-1.4,1,-0.4)*angles(math.rad(160),math.rad(0),math.rad(10)),.4)
- end
- hbax:Destroy()
- hum.WalkSpeed = 16
- end
- attack = false
- end
- function Attacks2()
- attack = true
- if combo==1 then
- combo=2
- hum.WalkSpeed = 6
- for i = 0, 0.6, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(-13.3),math.rad(62.4),math.rad(5.7))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(10.3),math.rad(-6.5),math.rad(-18.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-0.9,0)*angles(math.rad(2.3),math.rad(-35),math.rad(2.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(81.4),math.rad(10.1),math.rad(35.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.1,0.3,-0.4)*angles(math.rad(94.9),math.rad(47.5),math.rad(-41.1)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.2,0,0.1)*angles(math.rad(-21.1),math.rad(-61),math.rad(-20.5))*necko,Alpha)
- end
- MagniDamage2(tors,7,20,40,0.1,"Normal",0)
- CFuncs["Sound"].Create("rbxassetid://257001437", Torso, 3,math.random(1,1.3))
- for i = 0, 0.7, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.1,-0.5)*angles(math.rad(-6.6),math.rad(-32.2),math.rad(3.1))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.1,-0.8,-0.1)*angles(math.rad(-13.9),math.rad(25.6),math.rad(4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-1.1,0)*angles(math.rad(2.3),math.rad(-35),math.rad(2.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.1,0.1,-1.2)*angles(math.rad(110),math.rad(-15.3),math.rad(49.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.4,-0.4)*angles(math.rad(30.1),math.rad(38.6),math.rad(49.5)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0,0.1)*angles(math.rad(-9),math.rad(29.9),math.rad(9.6))*necko,Alpha)
- end
- hum.WalkSpeed = 50
- elseif combo==2 then
- combo=1
- hum.WalkSpeed = 6
- for i = 0, 0.8, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.1,-0.5)*angles(math.rad(-6.6),math.rad(-32.2),math.rad(3.1))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.1,-0.8,-0.1)*angles(math.rad(-13.9),math.rad(25.6),math.rad(4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-1.1,0)*angles(math.rad(2.3),math.rad(-35),math.rad(2.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(0.6,-0.2,-1.1)*angles(math.rad(148.8),math.rad(-16.5),math.rad(86.5)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.1,-0.2,-0.2)*angles(math.rad(155),math.rad(-53.5),math.rad(89)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0,0.1)*angles(math.rad(-9),math.rad(29.9),math.rad(9.6))*necko,Alpha)
- end
- MagniDamage2(tors,7,25,45,0.1,"Normal",0)
- CFuncs["Sound"].Create("rbxassetid://257001437", Torso, 3,math.random(1,1.3))
- for i = 0, 0.6, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.1,-0.5)*angles(math.rad(-10.3),math.rad(38.4),math.rad(-3.3))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1.2,0)*angles(math.rad(-13.9),math.rad(25.6),math.rad(4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-0.8,0)*angles(math.rad(2.3),math.rad(-35),math.rad(12.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.3,0.4,0.1)*angles(math.rad(-25.3),math.rad(-15.7),math.rad(-35.6)),Alpha)
- RW.C0 = RW.C0:lerp(cf(-0.6,-0.3,-0.7)*angles(math.rad(1.4),math.rad(0.5),math.rad(-70.6)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0.1,0.4)*angles(math.rad(-22.6),math.rad(-13.4),math.rad(-4))*necko,Alpha)
- end
- hum.WalkSpeed = 50
- end
- attack = false
- end
- hum.BreakJointsOnDeath = false
- function dead()
- attack = true
- root.Anchored = true
- ORGID = 0
- Death = true
- music.SoundId = "rbxassetid://"..ORGID
- musictime = 0
- local fall2 = Instance.new("Sound",workspace)
- fall2.SoundId = "rbxassetid://400905079"
- fall2.Volume = 4
- fall2:Play()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- if c.Transparency == 0 and c:FindFirstChild("Dust") == nil then
- particles(c)
- end
- end
- end
- for i = 0, 10, 0.1 do
- swait()
- local Alpha = .05
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1,0)*angles(math.rad(-16.4),math.rad(-17.1),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1.2,0.1,-0.4)*angles(math.rad(0),math.rad(23),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.8,-1.1,-0.9)*angles(math.rad(-63.8),math.rad(-8.4),math.rad(13.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,-0.3)*angles(math.rad(77.5),math.rad(-19.9),math.rad(39.3)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.3,-0.3)*angles(math.rad(7.1),math.rad(17.7),math.rad(-7)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0,-0.1)*angles(math.rad(11),math.rad(17.4),math.rad(-8.3))*necko,.3)
- end
- local fall = Instance.new("Sound",workspace)
- fall.SoundId = "rbxassetid://178646271"
- fall.Volume = 4
- fall:Play()
- hum.MaxHealth = "1"
- Humanoid.Health = "-1"
- for i = 0, 44, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-2.7,-1.5)*angles(math.rad(-86.8),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(-3),math.rad(-9.5),math.rad(1))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-1,0)*angles(math.rad(-8.7),math.rad(17.6),math.rad(26.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.2,-0.2)*angles(math.rad(-165),math.rad(19.9),math.rad(-39.4)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.8,-0.2)*angles(math.rad(-25.6),math.rad(8.3),math.rad(42.4)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-64.9),math.rad(0))*necko,1)
- end
- Death = false
- attack = false
- end
- function scytheslash3()
- attack = true
- hum.WalkSpeed = 5
- for i = 0, 7, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.1,-0.5)*angles(math.rad(17.4),math.rad(11),math.rad(-12.8))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1.2,0)*angles(math.rad(-13.9),math.rad(25.6),math.rad(4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-0.8,0)*angles(math.rad(2.3),math.rad(-35),math.rad(30.2))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.7,-0.3)*angles(math.rad(160.8+ math.random(-1,1)),math.rad(6.2+ math.random(-1,1)),math.rad(-16.6+ math.random(-1,1))),Alpha)
- RW.C0 = RW.C0:lerp(cf(-0.3,1.2,-1.3)*angles(math.rad(-176.7+ math.random(-1,1)),math.rad(1.8 + math.random(-1,1)),math.rad(-54.8+ math.random(-1,1))),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.2,0,0)*angles(math.rad(3.2),math.rad(-13.8),math.rad(13.4))*necko,Alpha)
- end
- MagniDamage(tors,10,30,50,0.1,"Normal",0)
- CFuncs["Sound"].Create("rbxassetid://3688155214", xa, 5,1)
- CFuncs["Sound"].Create("rbxassetid://935843979", xa, 5,1)
- local rrot = 0
- local xam = 1
- coroutine.resume(coroutine.create(function()
- for i = 0, 5 do
- --swait()
- rrot = rrot + 33*xam
- xam = xam + 0.25
- local bonus = xam
- local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
- xa.Anchored = true
- xa.Color = MRC_A.Color
- xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
- CreateMesh(xa,"Brick",20*bonus,1,20*bonus)
- local xc = 0
- coroutine.resume(coroutine.create(function()
- for i = 0, 99 do
- swait()
- xc = xc + 0.01
- xa.Color = MRC_A.Color
- end
- xa.Transparency = 1
- CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
- MagniDamage2(xa, 30*bonus, 16*bonus,25*bonus, 0, "Normal",0)
- sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,MRC_A,MRC_A.Color)
- sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
- game:GetService("Debris"):AddItem(xa, 5)
- coroutine.resume(coroutine.create(function()
- for i = 0, 19 do
- swait()
- hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
- end
- hum.CameraOffset = vt(0,0,0)
- end))
- end))
- end
- end))
- for i = 0, 10, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.1,-0.5)*angles(math.rad(-52.6),math.rad(15.8),math.rad(5.7))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.9,0.2)*angles(math.rad(-13.9),math.rad(25.6),math.rad(4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-1,-0.2)*angles(math.rad(47.6),math.rad(0.8),math.rad(7.2))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(0.2,0.2,-1.2)*angles(math.rad(73.8),math.rad(30.1),math.rad(37.7)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.2,-0.7)*angles(math.rad(60.7),math.rad(8),math.rad(-0.1)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.2,0,0)*angles(math.rad(3.2),math.rad(-13.8),math.rad(13.4))*necko,Alpha)
- end
- hum.WalkSpeed = 50
- attack = false
- end
- function FinalSlamp()
- attack = true
- hum.WalkSpeed = 5
- for i = 0,4,0.1 do
- swait()
- slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Hot pink"))
- slash(math.random(25,50)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Hot pink"))
- RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
- end
- CFuncs["Sound"].Create("rbxassetid://180199793", char, 5,1)
- local rrot = 0
- local xam = 1
- coroutine.resume(coroutine.create(function()
- for i = 0, 8 do
- --swait()
- rrot = rrot + 33*xam
- xam = xam + 0.25
- local bonus = xam
- local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
- xa.Anchored = true
- xa.Color = MRC_A.Color
- xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
- CreateMesh(xa,"Brick",20*bonus,1,20*bonus)
- local xc = 0
- coroutine.resume(coroutine.create(function()
- for i = 0, 99 do
- swait()
- xc = xc + 0.01
- xa.Color = MRC_A.Color
- end
- xa.Transparency = 1
- CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
- MagniDamage2(xa, 30*bonus, 16*bonus,25*bonus, 0, "Normal",0)
- waveEff(4, "Add", xa.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(20, 1, 20), 0.15, BrickColor.new("White"))
- waveEff(8, "Add", xa.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), vt(20, 1, 20), 0.15, BrickColor.new("White"))
- sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,MRC_A,MRC_A.Color)
- sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
- game:GetService("Debris"):AddItem(xa, 5)
- coroutine.resume(coroutine.create(function()
- for i = 0, 19 do
- swait()
- hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
- end
- hum.CameraOffset = vt(0,0,0)
- end))
- end))
- end
- end))
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
- RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(70 + 2.5 * Sin(sine / 20))), 0.12)
- LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-70 + 2.5 * Sin(sine / 20))), 0.12)
- end
- hum.WalkSpeed = 16
- attack = false
- end
- function Attackbig()
- attack = true
- if combo==1 then
- combo=2
- hum.WalkSpeed = 0
- for i = 0,3 do
- swait()
- local Alpha = .3
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RW.C0=clerp(RW.C0,cf(1.25,0.5+.1*math.cos(sine/20),-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- end
- --BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- --slash(3,3,true,"Round","Add","Out",hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),Vector3.new(.001,.001,.001),0.1,BrickColor.new("Royal purple"))
- for i = 0,3 do
- swait()
- local Alpha = .5
- RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- --BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- end
- local hite2 = Instance.new("Part", char)
- hite2.Anchored = true
- hite2.CanCollide = false
- hite2.FormFactor = 3
- hite2.Name = "Ring"
- hite2.Material = "Neon"
- hite2.Size = Vector3.new(1, 1, 1)
- hite2.Transparency = 1
- hite2.TopSurface = 0
- hite2.BottomSurface = 0
- hite2.CFrame = root.CFrame*CFrame.new(0,0,0) + root.CFrame.lookVector*3
- coroutine.resume(coroutine.create(function()
- CFuncs.Sound.Create("rbxassetid://2295409459", ra, 2, 1)
- MagniDamage2(hite2.CFrame, 4,32, 34, 1, "Normal",0)
- for i = 0,12 do
- -- PixelBlock(7,1,"Add",hitbox.CFrame*CFrame.new(0,math.random(-1,1),0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,.028,BrickColor.new("Dark indigo"),0,'Glass')
- end
- end))
- for i = 0, 15 do
- swait()
- local Alpha = .5
- RH.C0=clerp(RH.C0,cf(1,-1.1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(80)),.3)
- RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- --BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- end
- hite2:Destroy()
- elseif combo==2 then
- combo=1
- hum.WalkSpeed = 0
- for i = 0,3 do
- swait()
- local Alpha = .3
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(50)),.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(16 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- end
- --BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- --slash(3,3,true,"Round","Add","Out",hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),Vector3.new(.001,.001,.001),0.1,BrickColor.new("Royal purple"))
- for i = 0,3 do
- swait()
- local Alpha = .5
- RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(50)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(16 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
- --BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- end
- local hite2 = Instance.new("Part", char)
- hite2.Anchored = true
- hite2.CanCollide = false
- hite2.FormFactor = 3
- hite2.Name = "Ring"
- hite2.Material = "Neon"
- hite2.Size = Vector3.new(1, 1, 1)
- hite2.Transparency = 1
- hite2.TopSurface = 0
- hite2.BottomSurface = 0
- hite2.CFrame = root.CFrame*CFrame.new(0,0,0) + root.CFrame.lookVector*3
- coroutine.resume(coroutine.create(function()
- CFuncs.Sound.Create("rbxassetid://2295409459", ra, 2, 1)
- MagniDamage2(hite2.CFrame, 4,32, 34, 1, "Normal",0)
- for i = 0,12 do
- -- PixelBlock(7,1,"Add",hitbox.CFrame*CFrame.new(0,math.random(-1,1),0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,.028,BrickColor.new("Dark indigo"),0,'Glass')
- end
- end))
- for i = 0, 15 do
- swait()
- local Alpha = .5
- RH.C0=clerp(RH.C0,cf(1,-1.1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-80)),.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(16 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.6)*angles(math.rad(90),math.rad(0),math.rad(-15)),.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- --BladesWeld.C0 = BladesWeld.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- end
- hite2:Destroy()
- end
- hum.WalkSpeed = 16
- attack = false
- end
- function Scythe_Slash()
- local hitted = false
- attack = true
- Humanoid.WalkSpeed = 3
- Humanoid.JumpPower = 0
- for i = 0, 6, .1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(9.5),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.9)*angles(math.rad(-11.6),math.rad(0),math.rad(-8.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-36),math.rad(-20.8),math.rad(10.3))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(0.2,0.2,-0.7)*angles(math.rad(10*math.cos(sine/2)),math.rad(-5*math.cos(sine/2)),math.rad(91.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.8,0.5,0.9)*angles(math.rad(171.7+2*math.cos(sine/2)),math.rad(-37-2*math.cos(sine/2)),math.rad(100.7)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-11.7),math.rad(0))*necko,Alpha)
- end
- Cso("196981016",Torso,3.5,.6)
- local hbax = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- hbax.CFrame = root.CFrame + root.CFrame.lookVector*1.5
- hbax.Anchored = true
- MagniDamage2(hbax, 3.5, 40,80, 0, "Normal",0)
- for i = 0, 6, 0.1 do
- swait()
- local Alpha = .35
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(43.2),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.9)*angles(math.rad(-10.3),math.rad(11.5),math.rad(-8.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-33),math.rad(-34.6),math.rad(18.9))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.7,0.4,0.9)*angles(math.rad(78.2),math.rad(-12.6),math.rad(-37.2)),Alpha)
- RW.C0 = RW.C0:lerp(cf(-0.1,0.1,-0.7)*angles(math.rad(-13.7),math.rad(7.2),math.rad(-98.6)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-36.6),math.rad(0))*necko,Alpha)
- end
- for i = 0, 4, 0.1 do
- swait()
- local Alpha = .2
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.4,0)*angles(math.rad(-15.8),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.6,-0.7)*angles(math.rad(-0.1),math.rad(20.4),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.9,0)*angles(math.rad(-7.9),math.rad(-26.7),math.rad(13.8))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1,0.3,-0.6)*angles(math.rad(75.5),math.rad(0),math.rad(45.7)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.1,0.3,-0.5)*angles(math.rad(70.1),math.rad(-0.8),math.rad(-31.9)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.6)*angles(math.rad(-37.2),math.rad(0),math.rad(0))*necko,Alpha)
- end
- Cso("137463716",Torso,2,.7)
- for i = 0, 7, 0.1 do
- swait()
- local Alpha = .2
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,5+0.3*math.cos(sine/35),0)*angles(math.rad(18.7+2*math.cos(sine/10)),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,0)*angles(math.rad(-48.7),math.rad(13.5),math.rad(3*math.cos(sine/10)))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.5,-1.1)*angles(math.rad(-30.5),math.rad(-6.9),math.rad(-3*math.cos(sine/10)))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.8,0.2)*angles(math.rad(-132.5+2*math.cos(sine/2)),math.rad(14.6-2*math.cos(sine/2)),math.rad(41.5)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.7,0.2)*angles(math.rad(-134.9+2*math.cos(sine/2)),math.rad(-6.3-2*math.cos(sine/2)),math.rad(-41.2)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0.5)*angles(math.rad(-29.6),math.rad(0),math.rad(0))*necko,Alpha)
- end
- Cso("168586621",Torso,4,.6)
- CFuncs["Sound"].Create("rbxassetid://187137517", Torso, 2, 1)
- coroutine.resume(coroutine.create(function()
- local hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if hitfloor ~= nil then
- for i = 0, 24 do
- local deb2 = Instance.new("Part", char)
- deb2.CanCollide = false
- deb2.FormFactor = 3
- deb2.Name = "Ring"
- deb2.Material = hitfloor.Material
- deb2.Color = hitfloor.Color
- deb2.Size = vt(math.random(2,6),math.random(2,6),math.random(2,6))
- deb2.Transparency = 0
- deb2.TopSurface = 0
- deb2.BottomSurface = 0
- deb2.Velocity = vt(math.random(-30,30),math.random(50,200),math.random(-30,30))
- deb2.CFrame = root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local at1 = Instance.new('Attachment',deb2)
- at1.Position = vt(0,1,0)
- local at2 = Instance.new('Attachment',deb2)
- at2.Position = vt(0,-1,0)
- local tl = Instance.new('Trail',deb2)
- tl.Attachment0 = at1
- tl.Attachment1 = at2
- tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- tl.Color = ColorSequence.new(BrickColor.new('White').Color)
- tl.Lifetime = 1
- game:GetService("Debris"):AddItem(deb2,15)
- coroutine.resume(coroutine.create(function()
- wait(5)
- for i = 0, 24 do
- swait()
- end
- end))
- end
- end
- coroutine.resume(coroutine.create(function()
- end))
- coroutine.resume(coroutine.create(function()
- end))
- end))
- local hitbox = Instance.new("Part",char)
- hitbox.CanCollide = false
- hitbox.Anchored = true
- hitbox.Shape = "Ball"
- hitbox.Size = Vector3.new(40, 40, 40)
- hitbox.Transparency = 1
- hitbox.Position = RootPart.Position
- local hf,pf=rayCast(root.Position,(CFrame.new(root.Position,root.Position - vt(0,1,0))).lookVector,4,char)
- local rotation = 0
- for i = 0, 35 do
- rotation = rotation + 10
- local deb = Instance.new("Part", char)
- deb.Anchored = true
- deb.CanCollide = false
- deb.FormFactor = 3
- deb.Name = "Ring"
- deb.Material = hf.Material
- deb.Color = hf.Color
- deb.Size = vt(math.random(50,60)/4,math.random(25,35)/4,math.random(50,60)/4)
- deb.Transparency = 0
- deb.TopSurface = 0
- deb.BottomSurface = 0
- deb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-6,100/4)*CFrame.Angles(math.rad(math.random(20,30)),math.rad(0),math.rad(0))*CFrame.new(0,math.random(-5,5),0)
- local debb = Instance.new("Part", char)
- debb.Anchored = true
- debb.CanCollide = false
- debb.FormFactor = 3
- debb.Name = "Ring"
- debb.Material = hf.Material
- debb.Color = hf.Color
- debb.Size = vt(math.random(40,50)/4,math.random(19,25)/4,math.random(40,50)/4)
- debb.Transparency = 0
- debb.TopSurface = 0
- debb.BottomSurface = 0
- debb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-7,125/4)*CFrame.Angles(math.rad(math.random(10,20)),math.rad(0),math.rad(0))*CFrame.new(0,math.random(-5,5),0)
- local debc = Instance.new("Part", char)
- debc.Anchored = true
- debc.CanCollide = false
- debc.FormFactor = 3
- debc.Name = "Ring"
- debc.Material = hf.Material
- debc.Color = hf.Color
- debc.Size = vt(math.random(35,40)/4,math.random(14,18)/4,math.random(35,40)/4)
- debc.Transparency = 0
- debc.TopSurface = 0
- debc.BottomSurface = 0
- debc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-7,150/4)*CFrame.Angles(math.rad(math.random(5,10)),math.rad(0),math.rad(0))*CFrame.new(0,math.random(-5,5),0)
- local deb2 = Instance.new("Part", char)
- deb2.CanCollide = false
- deb2.FormFactor = 3
- deb2.Name = "Ring"
- deb2.Material = hf.Material
- deb2.Color = hf.Color
- deb2.Size = vt(math.random(50,60)/16,math.random(50,60)/16,math.random(50,60)/16)
- deb2.Transparency = 0
- deb2.TopSurface = 0
- deb2.BottomSurface = 0
- deb2.CFrame = root.CFrame
- deb2.Velocity = vt(math.random(-300,300)/4,math.random(250,500)/4,math.random(-300,300)/4)
- deb2.RotVelocity = vt(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- game:GetService("Debris"):AddItem(deb,9)
- game:GetService("Debris"):AddItem(debb,9)
- game:GetService("Debris"):AddItem(debc,9)
- game:GetService("Debris"):AddItem(deb2,9)
- hitbox.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= char then
- --MagniDamage3(hitbox, 3.5, 30,80, 5, "Normal")
- local HumE = hit.Parent:FindFirstChildOfClass("Humanoid")
- HumE.Health = HumE.Health - HumE.MaxHealth/5
- end
- end)
- coroutine.resume(coroutine.create(function()
- wait(1)
- hitbox:Destroy()
- wait(1)
- repeat
- wait(.05)
- deb.Transparency = deb.Transparency + 0.05
- debb.Transparency = debb.Transparency + 0.05
- debc.Transparency = debc.Transparency + 0.05
- until
- deb.Transparency == 1
- deb:Destroy()
- debb:Destroy()
- debc:Destroy()
- end))
- end
- for i = 0, 10, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.1,-0.5)*angles(math.rad(-52.6),math.rad(15.8),math.rad(5.7))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.9,0.2)*angles(math.rad(-13.9),math.rad(25.6),math.rad(4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-1,-0.2)*angles(math.rad(47.6),math.rad(0.8),math.rad(7.2))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(0.2,0.2,-1.2)*angles(math.rad(73.8),math.rad(30.1),math.rad(37.7)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.2,-0.7)*angles(math.rad(60.7),math.rad(8),math.rad(-0.1)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.2,0,0)*angles(math.rad(3.2),math.rad(-13.8),math.rad(13.4))*necko,Alpha)
- end
- Humanoid.WalkSpeed = 50
- Humanoid.JumpPower = 80
- attack = false
- end
- function Scythemovemodeone()
- attack = true
- Humanoid.WalkSpeed = 3
- Humanoid.JumpPower = 0
- for i = 0, 6, .1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(9.5),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.9)*angles(math.rad(-11.6),math.rad(0),math.rad(-8.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-36),math.rad(-20.8),math.rad(10.3))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(0.2,0.2,-0.7)*angles(math.rad(10*math.cos(sine/2)),math.rad(-5*math.cos(sine/2)),math.rad(91.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.8,0.5,0.9)*angles(math.rad(171.7+2*math.cos(sine/2)),math.rad(-37-2*math.cos(sine/2)),math.rad(100.7)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-11.7),math.rad(0))*necko,Alpha)
- end
- Cso("196981016",Torso,3.5,.6)
- for i = 0, 1, 0.1 do
- swait()
- local Alpha = .35
- root.CFrame = root.CFrame + root.CFrame.lookVector * 2
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(43.2),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.9)*angles(math.rad(-10.3),math.rad(11.5),math.rad(-8.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-33),math.rad(-34.6),math.rad(18.9))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.7,0.4,0.9)*angles(math.rad(78.2),math.rad(-12.6),math.rad(-37.2)),Alpha)
- RW.C0 = RW.C0:lerp(cf(-0.1,0.1,-0.7)*angles(math.rad(-13.7),math.rad(7.2),math.rad(-98.6)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-36.6),math.rad(0))*necko,Alpha)
- end
- local hbax = CreateParta(m,0,0,"SmoothPlastic",BrickColor.random())
- hbax.Size = Vector3.new(11.16, 1.19, 1.47)
- hbax.CFrame = root.CFrame + root.CFrame.lookVector*1.5
- hbax.Anchored = true
- --MagniDamage2(hbax, 3.5, 40,80, 0, "Normal")
- local effc = scripts.Energy:Clone()
- effc.Parent = hbax
- local effc2 = scripts.Glow:Clone()
- effc.Parent = hbax
- local effc3 = scripts.Sparks:Clone()
- effc.Parent = hbax
- for i = 0, 5, 0.1 do
- swait()
- local Alpha = .35
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(43.2),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-0.8,-0.9)*angles(math.rad(-10.3),math.rad(11.5),math.rad(-8.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.8,0)*angles(math.rad(-33),math.rad(-34.6),math.rad(18.9))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.7,0.4,0.9)*angles(math.rad(78.2),math.rad(-12.6),math.rad(-37.2)),Alpha)
- RW.C0 = RW.C0:lerp(cf(-0.1,0.1,-0.7)*angles(math.rad(-13.7),math.rad(7.2),math.rad(-98.6)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,-0.1,0)*angles(math.rad(0),math.rad(-36.6),math.rad(0))*necko,Alpha)
- end
- Humanoid.WalkSpeed = 50
- Humanoid.JumpPower = 80
- attack = false
- end
- -------------------------------------
- local CurId = 1
- Humanoid.Animator.Parent = nil
- char.Animate.Parent = nil
- hum.JumpPower = 80
- hum.WalkSpeed = 16
- local CD2=false
- local CD3=false
- local CD5=false
- local CD6=false
- -------------------------------------
- mouse.Button1Down:connect(function()
- if attack == false and scythebruh == false and mode == 0 and Humanoid.Sit == false then
- Attacks()
- end
- if attack == false and scythebruh == false and mode == 1 and Humanoid.Sit == false then
- Attacks()
- end
- if attack == false and scythebruh == false and mode == 2 and Humanoid.Sit == false then
- Attackbig()
- end
- if attack == false and scythebruh == true and Humanoid.Sit == false then
- Attacks2()
- end
- end)
- local SwimType = 1
- aerrtee = 0
- mouse.KeyDown:connect(function(k)
- if k == "c" and CD4 == false and mode == 0 and attack == false and scythebruh == false then
- Grab()
- end
- if k == "c" and mode == 1 and CD4 == false and attack == false and scythebruh == false then
- Grab()
- end
- if k == "x" and CD1==false and mode == 0 and attack == false and scythebruh == false then
- VolcanicANim()
- elseif k == "x" and CD1==true and attack == false and scythebruh == false then
- end
- if k == "x" and CD1==false and mode == 1 and attack == false and scythebruh == false then
- VolcanicANim()
- elseif k == "x" and CD1==true and attack == false and scythebruh == false then
- end
- if k == "z" and CD2==false and mode == 0 and attack == false and scythebruh == false then
- CD2=true
- idkgivemeurhumanity()
- wait(9)
- CD2=false
- elseif k == "z" and CD1==true and mode == 0 and attack == false and scythebruh == false then
- end
- if k == "z" and CD2==false and mode == 1 and attack == false and scythebruh == false then
- CD2=true
- idkgivemeurhumanity()
- wait(9)
- CD2=false
- elseif k == "z" and CD1==true and mode == 1 and attack == false and scythebruh == false then
- end
- if k == "c" and attack == false and scythebruh == true and CD3 == false then
- CD3 = true
- Scythe_Slash()
- wait(10)
- CD3 = false
- end
- if k == "c" and attack == false and scythebruh == false and CD6 == false and mode == 0 then
- CD3 = true
- Rhabdophobia()
- wait(10)
- CD6 = false
- end
- if k == "c" and attack == false and scythebruh == false and CD6 == false and mode == 1 then
- CD3 = true
- Rhabdophobia()
- wait(10)
- CD6 = false
- end
- if k == "z" and attack == false and scythebruh == true and CD5 == false and mode == 1 then
- CD5 = true
- Scythemovemodeone()
- wait(10)
- CD5 = false
- end
- if k == "p" and attack == false and mode == 0 then
- ChangeMode()
- end
- if k == "r" and attack == false and mode == 1 then
- Teleport()
- end
- if k == "x" and attack == false and mode == 1 and scythebruh == true then
- scytheslash3()
- end
- if k == "z" and attack == false and mode == 2 and scythebruh == false then
- --Bigblade()
- end
- if k == "x" and attack == false and mode == 2 and scythebruh == false then
- FinalSlamp()
- end
- if k == "e" and attack == false and scythebruh == false and mode == 0 then
- scythebruh = true
- scythe()
- Humanoid.WalkSpeed = 50
- elseif k == "e" and scythebruh==true and attack == false and mode == 0 then
- scythebruh = false
- scytheo()
- Humanoid.WalkSpeed = 16
- end
- if k == "e" and attack == false and scythebruh == false and mode == 1 then
- scythebruh = true
- scythe()
- Humanoid.WalkSpeed = 50
- elseif k == "e" and scythebruh==true and attack == false and mode == 1 then
- scythebruh = false
- scytheo()
- Humanoid.WalkSpeed = 16
- end
- if k == "m" and attack == false then
- -- dead() TEST THINK I USE TO MAKE THE ANIMS
- end
- if k == "k" and attack == false and mode == 1 then
- Changemodefinal()
- end
- end)
- local hh = (char['Right Leg'].Size.Y+char.HumanoidRootPart.Size.Y/2)
- local smokepart = Instance.new('Part',root)
- smokepart.Size = Vector3.new(0.5,0,1.5)
- smokepart.CanCollide = false
- smokepart.Transparency = 1
- local skpartweld = Instance.new('Weld',smokepart)
- skpartweld.Part0 = smokepart
- skpartweld.Part1 = root
- skpartweld.C0 = CFrame.new(0,hh,0)
- local smokt = Instance.new("ParticleEmitter")
- smokt.Acceleration = Vector3.new(0, 2.5, 0)
- smokt.Speed = NumberRange.new(1)
- smokt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 1.5)})
- smokt.SpreadAngle = Vector2.new(100, 100)
- smokt.Lifetime = NumberRange.new(1)
- smokt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.55), NumberSequenceKeypoint.new(0.429, 0.319), NumberSequenceKeypoint.new(0.749, 0.856), NumberSequenceKeypoint.new(1, 1)})
- smokt.Drag = 1
- smokt.Color = ColorSequence.new(Color3.new(0.737255, 0.737255, 0.737255), Color3.new(1, 1, 1))
- smokt.RotSpeed = NumberRange.new(10)
- smokt.Texture = "http://www.roblox.com/asset/?id=2263365802"
- smokt.Parent = smokepart
- smokt.Enabled = false
- --Humanoid.Name = "=)"
- Humanoid.MaxHealth = "250"
- Humanoid.Health = "250"
- Instance.new("ForceField",char).Visible = false
- deadii = false
- deadii2 = false
- freefall = 0
- idleanim=.4
- while true do
- if mutedtog == false then
- elseif mutedtog == true then
- end
- CameraManager()
- swait()
- doe=doe+1
- sine = sine + change
- musictime = music.TimePosition
- if music ~= nil then
- music.Parent = tors
- music.Volume = volchoice
- music.Looped = true
- music.Pitch = pitchchoice
- music.EmitterSize = es
- music.Name = "CustomMusic"
- if music.SoundId ~= "rbxassetid://"..ORGID then
- music.SoundId = "rbxassetid://"..ORGID
- end
- end
- local sidevec = math.clamp((root.Velocity*root.CFrame.rightVector).X+(root.Velocity*root.CFrame.rightVector).Z,-hum.WalkSpeed,hum.WalkSpeed)
- local forwardvec = math.clamp((root.Velocity*root.CFrame.lookVector).X+(root.Velocity*root.CFrame.lookVector).Z,-hum.WalkSpeed,hum.WalkSpeed)
- local sidevelocity = sidevec/hum.WalkSpeed local forwardvelocity = forwardvec/hum.WalkSpeed
- ---Yeaa, Emanuel i used your Footplant, its easy to use soo pls dont be angry with me.. Thx.
- if Humanoid.Health < 30 and deadii == false and Death == false and mode == 0 then
- deadii = true
- ChangeMode()
- end
- if Humanoid.Health < 30 and deadii == false and Death == true and mode == 1 then
- deadii2 = true
- ORGID = 0
- dead()
- end
- if deadii2 == true then
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- if c.Transparency == 0 and c:FindFirstChild("Dust") == nil then
- particles(c)
- end
- end
- end
- end
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- coroutine.resume(coroutine.create(function()
- if hitfloor ~= nil then
- --sphereMK(2,math.random(5,10)/45,"Add",root.CFrame*CFrame.new(math.random(-3,3),-10,math.random(-3,3))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.5,0.5,0.5,0,BrickColor.new("Really red"),0)
- --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(5,10)/250,BrickColor.new("White"))
- end
- end))
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- --Sheath()
- end
- end
- if Anim ~= "Idle" then
- change = 1
- else
- change = 0.90
- end
- if hum:GetState() == Enum.HumanoidStateType.Swimming and torvel<1 then
- Anim="SwimIdle"
- if attack == false then
- local Alpha = .3
- if SwimType == 1 then
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,-0.1)*angles(math.rad(11.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.5,-0.6)*angles(math.rad(-24.8),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,-0.1)*angles(math.rad(70.5),math.rad(-15.8),math.rad(-53.9 + 40 * math.cos(sine/30))),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.7,0.5,-0.1)*angles(math.rad(64.7),math.rad(19),math.rad(43.1 - 40 * math.cos(sine/30))),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,.1)
- end
- end
- elseif hum:GetState() == Enum.HumanoidStateType.Swimming and torvel>1 then
- Anim="Swim"
- if attack == false then
- local Alpha = .3
- if SwimType == 1 then
- --Front crawl
- aerrtee = aerrtee + 10
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1.1,0.2)*angles(math.rad(-5 - 20 * math.cos(sine/7)),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.8,-0.1)*angles(math.rad(5 + 20 * math.cos(sine/7)),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- RW.C0=clerp(RW.C0,cf(1.43,0.45 + 0.135 * math.cos(sine / 28),0)*angles(math.rad(0 + 6 * math.cos(sine / 22*-1.25)),math.rad(3 - 2 * math.cos(sine / 28*-1.25)),math.rad(90 + 90 * math.sin(sine / 14))),.1)
- LW.C0=clerp(LW.C0,cf(-1.43,0.6 + 0.135 * math.cos(sine / 28),0)*angles(math.rad(0 - 7 * math.cos(sine / 16*-1.25)),math.rad(4 - 3 * math.cos(sine / 29*-1.25)),math.rad(-90 - 90 * math.sin(sine / 14))),.1)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,-0.5)*angles(math.rad(28.4),math.rad(0),math.rad(0))*necko,.1)
- end
- end
- elseif RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- freefall = freefall + 0.77
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
- end
- elseif RootPart.Velocity.y < -1 and freefall > 300 and hitfloor==nil and hum:GetState() ~= Enum.HumanoidStateType.Swimming and hum:GetState() ~= Enum.HumanoidStateType.Climbing then
- Anim="FreeFall2"
- chaeng = 1
- if attack==false then
- local Alpha = .04
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.1,-0.3,-0.6)*angles(math.rad(-138.4),math.rad(-10.4),math.rad(-3.2))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,-0.1)*angles(math.rad(-10.3),math.rad(2.5),math.rad(-1.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.7,-0.3)*angles(math.rad(-12.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.6,0.1)*angles(math.rad(-5.8),math.rad(6.3),math.rad(-11.4)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.5,0)*angles(math.rad(-2.3),math.rad(22.7),math.rad(8.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.2,0.1,-0.7)*angles(math.rad(43.7),math.rad(13.8),math.rad(-12.8))*necko,Alpha)
- end
- elseif torvel<1 and hitfloor~=nil and Humanoid.Sit == false then
- Anim="Idle"
- if attack==false then
- if mode == 0 then
- if scythebruh == false then
- local Alpha = .3 smokt.Enabled = false
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.002 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(7 + 15 * math.cos(sine / 32)),math.rad(0 + 20 * math.cos(sine/77)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- elseif scythebruh == true then
- local Alpha = .1 smokt.Enabled = false
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0 + 0.1 * math.cos(sine/30),0)*angles(math.rad(-9.9),math.rad(32.7),math.rad(3.1))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1- 0.1 * math.cos(sine/30),0)*angles(math.rad(10.3),math.rad(-6.5),math.rad(-18.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-0.9- 0.1 * math.cos(sine/30),0)*angles(math.rad(2.3),math.rad(-35),math.rad(2.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.3 + 0.05 * math.cos(sine/50),-0.6)*angles(math.rad(81.4),math.rad(10.1),math.rad(73.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.4 + 0.1 * math.cos(sine/50),0.2)*angles(math.rad(79.6),math.rad(31.1),math.rad(-31.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.2,0,0.1)*angles(math.rad(-9.9),math.rad(-34.9),math.rad(-12))*necko,Alpha)
- end
- elseif mode == 1 then
- if scythebruh == false then
- smokt.Enabled = false
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- elseif scythebruh == true then
- local Alpha = .1 smokt.Enabled = false
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0 + 0.1 * math.cos(sine/30),0)*angles(math.rad(-9.9),math.rad(32.7),math.rad(3.1))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1- 0.1 * math.cos(sine/30),0)*angles(math.rad(10.3),math.rad(-6.5),math.rad(-18.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.1,-0.9- 0.1 * math.cos(sine/30),0)*angles(math.rad(2.3),math.rad(-35),math.rad(2.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.3 + 0.05 * math.cos(sine/50),-0.6)*angles(math.rad(81.4),math.rad(10.1),math.rad(73.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.4 + 0.1 * math.cos(sine/50),0.2)*angles(math.rad(79.6),math.rad(31.1),math.rad(-31.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.2,0,0.1)*angles(math.rad(-9.9),math.rad(-34.9),math.rad(-12))*necko,Alpha)
- end
- elseif mode == 2 then
- if scythebruh == false then
- smokt.Enabled = false
- RH.C0=clerp(RH.C0,cf(1,-1 ,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-15)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(20),math.rad(-5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(16 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-16 - 3 * math.cos(sine / 45))),.1)
- elseif scythebruh == true then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(-10), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RW.C0=clerp(RW.C0,cf(1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- end
- end
- end
- elseif torvel>2 and torvel<22 and hitfloor~=nil and Humanoid.Sit == false then
- Anim="Walk"
- if attack==false then
- if mode == 0 then
- if scythebruh == false then
- smokt.Enabled = true
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2.3)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.10 * math.cos(sine / 6) + -math.sin(sine / 6) / 7) * angles(math.rad(forwardvelocity*3 + 2.5 * math.cos(sine / 3.5)), math.rad(-sidevelocity*10) - root.RotVelocity.Y / 75, math.rad(4 * math.cos(sine / 7))), 0.15)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- --RH.C0 = clerp(RH.C0, cf(1, -0.8 - 0.5 * math.cos(sine / 7) / 2, 0.6 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 25 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
- --LH.C0 = clerp(LH.C0, cf(-1, -0.8 + 0.5 * math.cos(sine / 7) / 2, -0.6 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 25 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(10 / 10),0+ forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(10 / 10),0- forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- RW.C0=clerp(RW.C0,cf(1.4,0.5,0)*angles(math.rad(0-forwardvelocity*7+ forwardvelocity*70 * math.cos(sine / 10)),math.rad(0),math.rad(10)),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(0-forwardvelocity*7- forwardvelocity*70 * math.cos(sine / 10)),math.rad(0),math.rad(-10)),.1)
- elseif scythebruh == true then
- local Alpha = .1
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(10 / 10),0+ forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(10 / 10),0- forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.10 * math.cos(sine / 6) + -math.sin(sine / 6) / 7) * angles(math.rad(forwardvelocity*3 + 2.5 * math.cos(sine / 3.5)), math.rad(-sidevelocity*10) - root.RotVelocity.Y / 75, math.rad(4 * math.cos(sine / 7))), 0.15)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.3 + 0.05 * math.cos(sine/50),-0.6)*angles(math.rad(81.4),math.rad(10.1),math.rad(73.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.4 + 0.1 * math.cos(sine/50),0.2)*angles(math.rad(79.6),math.rad(31.1),math.rad(-31.3)),Alpha)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- end
- elseif mode == 1 then
- smokt.Enabled = true
- if scythebruh == false then
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2.3)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.10 * math.cos(sine / 6) + -math.sin(sine / 6) / 7) * angles(math.rad(forwardvelocity*10 + 2.5 * math.cos(sine / 3.5)), math.rad(-sidevelocity*10) - root.RotVelocity.Y / 75, math.rad(4 * math.cos(sine / 7))), 0.15)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- --RH.C0 = clerp(RH.C0, cf(1, -0.8 - 0.5 * math.cos(sine / 7) / 2, 0.6 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 25 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
- --LH.C0 = clerp(LH.C0, cf(-1, -0.8 + 0.5 * math.cos(sine / 7) / 2, -0.6 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 25 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(10 / 10),0+ forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(10 / 10),0- forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- RW.C0=clerp(RW.C0,cf(1.4,0.5,0)*angles(math.rad(0-forwardvelocity*7+ forwardvelocity*70 * math.cos(sine / 10)),math.rad(0),math.rad(10)),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(0-forwardvelocity*7- forwardvelocity*70 * math.cos(sine / 10)),math.rad(0),math.rad(-10)),.1)
- elseif scythebruh == true then
- local Alpha = .1
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(10 / 10),0+ forwardvelocity/2 * math.cos(50-sine / 9))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 9)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 9))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(10 / 10),0- forwardvelocity/2 * math.cos(50-sine / 9))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 9)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 9))),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.10 * math.cos(sine / 6) + -math.sin(sine / 6) / 7) * angles(math.rad(forwardvelocity*3 + 2.5 * math.cos(sine / 3.5)), math.rad(-sidevelocity*10) - root.RotVelocity.Y / 75, math.rad(4 * math.cos(sine / 7))), 0.15)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.3 + 0.05 * math.cos(sine/50),-0.6)*angles(math.rad(81.4),math.rad(10.1),math.rad(73.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.4 + 0.1 * math.cos(sine/50),0.2)*angles(math.rad(79.6),math.rad(31.1),math.rad(-31.3)),Alpha)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- end
- elseif mode == 2 then
- smokt.Enabled = true
- if scythebruh == false then
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2.3)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.10 * math.cos(sine / 6) + -math.sin(sine / 6) / 7) * angles(math.rad(forwardvelocity*19 + 2.5 * math.cos(sine / 3.5)), math.rad(-sidevelocity*10) - root.RotVelocity.Y / 75, math.rad(4 * math.cos(sine / 7))), 0.15)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- --RH.C0 = clerp(RH.C0, cf(1, -0.8 - 0.5 * math.cos(sine / 7) / 2, 0.6 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 25 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
- --LH.C0 = clerp(LH.C0, cf(-1, -0.8 + 0.5 * math.cos(sine / 7) / 2, -0.6 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 25 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(10 / 10),0+ forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(10 / 10),0- forwardvelocity/2 * math.cos(50-sine / 10))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 10)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 10))),.1)
- RW.C0=clerp(RW.C0,cf(1.4,0.5,0)*angles(math.rad(0-forwardvelocity*7+ forwardvelocity*70 * math.cos(sine / 10)),math.rad(0),math.rad(10)),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(0-forwardvelocity*7- forwardvelocity*70 * math.cos(sine / 10)),math.rad(0),math.rad(-10)),.1)
- elseif scythebruh == true then
- local Alpha = .1
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(10 / 10),0+ forwardvelocity/2 * math.cos(50-sine / 9))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 9)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 9))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(10 / 10),0- forwardvelocity/2 * math.cos(50-sine / 9))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*35 * math.cos(sine / 9)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 9))),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.10 * math.cos(sine / 6) + -math.sin(sine / 6) / 7) * angles(math.rad(forwardvelocity*3 + 2.5 * math.cos(sine / 3.5)), math.rad(-sidevelocity*10) - root.RotVelocity.Y / 75, math.rad(4 * math.cos(sine / 7))), 0.15)
- LW.C0 = LW.C0:lerp(cf(-1.2,0.3 + 0.05 * math.cos(sine/50),-0.6)*angles(math.rad(81.4),math.rad(10.1),math.rad(73.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.4 + 0.1 * math.cos(sine/50),0.2)*angles(math.rad(79.6),math.rad(31.1),math.rad(-31.3)),Alpha)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
- end
- end
- end
- elseif torvel>=22 and hitfloor~=nil and Humanoid.Sit == false then
- Anim="Run"
- if attack==false then
- smokt.Enabled = true
- HW.C0=clerp(HW.C0,cf(3,1 + 0.6 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0 + 0.75 * math.sin(sine / 2) + -math.sin(sine / 2) / 7) * angles(math.rad(forwardvelocity*15 - 3.5 * math.cos(sine / 2)), math.rad(-sidevelocity*10), math.rad(10 * math.cos(sine / 4))), 0.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(forwardvelocity*25),math.rad(-sidevelocity*20),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 20), 0.3)
- RW.C0 = RW.C0:lerp(cf(0.6,0.3,0.5)*angles(math.rad(157.2),math.rad(-36.5),math.rad(94.6)),.2)
- LW.C0 = LW.C0:lerp(cf(-0.2,0.1,-0.6)*angles(math.rad(65.1),math.rad(-9.8),math.rad(71.6)),.2)
- --RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.13*math.sin(sine/4)) * angles(math.rad(75 * math.cos(sine / 4)) + -math.sin(sine / 4) / 2.5, math.rad(0), math.rad(10)), 0.2)
- --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.13*math.sin(sine/4)) * angles(math.rad(-75 * math.cos(sine / 4)) + -math.sin(sine / 4) / 2.5, math.rad(0), math.rad(-10)), 0.2)
- --RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.13*math.sin(sine/4)) * angles(math.rad(75 * math.cos(sine / 4)) + -math.sin(sine / 4) / 2.5, math.rad(0), math.rad(10)), 0.2)
- --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.13*math.sin(sine/4)) * angles(math.rad(-75 * math.cos(sine / 4)) + -math.sin(sine / 4) / 2.5, math.rad(0), math.rad(-10)), 0.2)
- RH.C0=clerp(RH.C0,cf(1,-0.75 - 0/2 * math.cos(9 / 4),0+ forwardvelocity/2 * math.cos(50-sine / 2))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(sidevelocity*40 * math.cos(sine / 5)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 5))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0/2 * math.cos(9 / 4),0- forwardvelocity/2 * math.cos(50-sine / 2))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(sidevelocity*40 * math.cos(sine / 5)),math.rad(0),math.rad(0 - forwardvelocity*70 * math.cos(sine / 5))),.3)
- end
- elseif hitfloor ~= nil and Humanoid.Sit == true then
- Anim = "Sit"
- if attack == false then
- HW.C0=clerp(HW.C0,cf(3,1 + 2.3 * math.cos(sine/45),2)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(0,0,0),.1)
- RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * angles(math.rad(85), math.rad(90), math.rad(0)) * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.08)
- LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * angles(math.rad(85), math.rad(-90), math.rad(0)) * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.08)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.01 * math.cos(sine / 32),-0.3)*angles(math.rad(0 - 2 * math.cos(sine / 88)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 88))),.1)
- --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
- end
- end
- end
- end
- --The end of the story bruh.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement