Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
--//====================================================\\-- --|| CREATED BY SHACKLUSTER --\\====================================================//-- wait(0.2) local plr = game:service'Players'.LocalPlayer local char = plr.Character IT = Instance.new local HBill = Instance.new("BillboardGui", char.Head) local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") HBill.Size = UDim2.new(15,0,2.2,0) HBill.Name = "Display" HBill.StudsOffset = Vector3.new(0,3.5,0) HBill.AlwaysOnTop = false HBill.MaxDistance = 50 HBill.Enabled = true HMain.BackgroundColor3 = BrickColor.new("Really black").Color HMain.BackgroundTransparency = 1 HMain.Size = UDim2.new(1,0,1,0) HBarBack.Parent = HMain HBarBack.BackgroundColor3 = Color3.new(255,0,0) HBarBack.BorderColor3 = Color3.new(0,0,0) HBarBack.BorderSizePixel = .25 HBarBack.BackgroundTransparency = 0 HBarBack.Position = UDim2.new(.025, 0, .55, 0) HBarBack.Size = UDim2.new(.95, 0, .3, 0) HName.Parent = HMain HName.BackgroundTransparency = 1 HName.Size = UDim2.new(1,0,.7,0) HName.Font = "Antique" HName.Text = "The Unknown" HName.TextScaled = true HName.TextColor3 = BrickColor.new("Really black").Color HName.TextStrokeTransparency = 1 HName.TextYAlignment = "Top" lig = Instance.new("PointLight",Player.Character.Torso) lig.Color=Color3.new(0,0,0) lig.Range = 7 Player = game:GetService("Players").LocalPlayer PlayerGui = Player.PlayerGui Cam = workspace.CurrentCamera Backpack = Player.Backpack Character = Player.Character Humanoid = Character.Humanoid Mouse = Player:GetMouse() RootPart = Character["HumanoidRootPart"] Torso = Character["Torso"] Head = Character["Head"] RightArm = Character["Right Arm"] LeftArm = Character["Left Arm"] RightLeg = Character["Right Leg"] LeftLeg = Character["Left Leg"] RootJoint = RootPart["RootJoint"] Neck = Torso["Neck"] RightShoulder = Torso["Right Shoulder"] LeftShoulder = Torso["Left Shoulder"] RightHip = Torso["Right Hip"] LeftHip = Torso["Left Hip"] local sick = Instance.new("Sound",Torso) sick.SoundId = "rbxassetid://1197429205" sick.Looped = true sick.Pitch = 1 sick.Volume = 4 sick:Play() CF = CFrame.new VT = Vector3.new RAD = math.rad 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 Character["Body Colors"].HeadColor = BrickColor.new("Really black") Character["Body Colors"].TorsoColor = BrickColor.new("Really black") Character["Body Colors"].LeftArmColor = BrickColor.new("Really black") Character["Body Colors"].RightArmColor = BrickColor.new("Really black") Character["Body Colors"].LeftLegColor = BrickColor.new("Really black") Character["Body Colors"].RightLegColor = BrickColor.new("Really black") --//=================================\\ --|| USEFUL VALUES --\\=================================// Animation_Speed = 3 Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 12 local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) local DAMAGEMULTIPLIER = 1 local ANIM = "Idle" local ATTACK = false local EQUIPPED = false local HOLD = false local COMBO = 1 local Rooted = false local SINE = 0 local KEYHOLD = false local CHANGE = 2 / Animation_Speed local WALKINGANIM = false local VALUE1 = false local VALUE2 = false local ROBLOXIDLEANIMATION = IT("Animation") ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" --ROBLOXIDLEANIMATION.Parent = Humanoid local WEAPONGUI = IT("ScreenGui", PlayerGui) WEAPONGUI.Name = "Weapon GUI" local Effects = IT("Folder", Character) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character.Animate local UNANCHOR = true local WHITELIST = {} local TAUNT = false local OFFSET = 0 local FULL = false local SIZE = 1 local Weapon = IT("Model") Mrandom = math.random local maincolor = BrickColor.new("Bright violet") local ra = char["Right Arm"] local la= char["Left Arm"] local rl= char["Right Leg"] local ll = char["Left Leg"] local root = char.HumanoidRootPart local mouse = Player:GetMouse() local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) angles = CFrame.Angles Rad = math.rad local hed = char.Head local rootj = root.RootJoint local tors = char.Torso Mrandom = math.random Cos = math.cos Acos = math.acos necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) Sin = math.sin Asin = math.asin local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) RW = Instance.new("Weld") LW = Instance.new("Weld") RH = tors["Right Hip"] LH = tors["Left Hip"] BrickC = BrickColor.new local hum = char.Humanoid local PlayerSize = 1 local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh") FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) EffectModel = Instance.new("Model", char) local LAUGHS = {834001699,834001752,834001797,834001828} boom = true local PLAYMAINANIM = true local EXTRATRANS = 0 --//=================================\\ --\\=================================// --//=================================\\ --|| SAZERENOS' ARTIFICIAL HEARTBEAT --\\=================================// ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "ArtificialHB" script:WaitForChild("ArtificialHB") frame = Frame_Speed tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.ArtificialHB:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.ArtificialHB:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.ArtificialHB:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) --//=================================\\ --\\=================================// --//=================================\\ --|| SOME FUNCTIONS --\\=================================// local HATWELD = nil function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors) PLAYMAINANIM = false if WhichPose == "Cast1" then for i=0, Time, 0.1 / Animation_Speed do Swait() if Magic == true then WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end if Gyro ~= nil and Gyro ~= false then Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end elseif WhichPose == "Cast2" then for i=0, Time, 0.1 / Animation_Speed do Swait() if Magic == true then WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end if Gyro ~= nil and Gyro ~= false then Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end elseif WhichPose == "RightArmUp" then for i=0, Time, 0.1 / Animation_Speed do Swait() if Magic == true then WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end if Gyro ~= nil and Gyro ~= false then Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end elseif WhichPose == "Taunt" then for i=0, Time, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end HATWELD.Part0 = RightArm HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0)) CreateSound(221057812,Torso,10,1,false) for i=0, Time*2, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end for i=0, Time, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed) end HATWELD.Part0 = Head HATWELD.C0 = CF(0,0.35,0) elseif WhichPose == "Prepare key" then for i=0, Time, 0.1 / Animation_Speed do Swait() if Gyro ~= nil and Gyro ~= false then Gyro.cframe = CF(RootPart.Position,Tors.Position) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end elseif WhichPose == "Turn key" then for i=0, Time, 0.1 / Animation_Speed do Swait() if Gyro ~= nil and Gyro ~= false then Gyro.cframe = CF(RootPart.Position,Tors.Position) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed) end end PLAYMAINANIM = true end --Lightning({Material = "Neon", FadeIn = false, Color = C3(204,0,204), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false}) function Lightning(Table) local Color = Table.Color or C3(204,0,204) local StartPos = Table.Start or Torso.Position local EndPos = Table.End or Mouse.Hit.p local SegmentLength = Table.SegmentL or 2 local Thickness = Table.Thickness or 0.1 local Dissapear = Table.DoesFade or false local Parent = Table.Ignore or Character local MaxDist = Table.MaxDist or 400 local Branches = Table.Branches or false local Thicken = Table.Thicken or false local FadeTime = Table.FadeTime or 15 local FadeIn = Table.FadeIn or false local Material = Table.Material or "Neon" local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5)) local LIGHTNINGMODEL = IT("Model",Effects) LIGHTNINGMODEL.Name = "Lightning" local LastBolt = nil for E = 1, DISTANCE do local ExtraSize = 0 if Thicken == true then ExtraSize = (DISTANCE-E)/15 end local TRANSPARENCY = 0 if FadeIn == true then TRANSPARENCY = 1-(E/(DISTANCE/1.5)) if TRANSPARENCY < 0 then TRANSPARENCY = 0 end end local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize)) PART.Color = Color MakeForm(PART,"Cyl") if LastBolt == nil then PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) else PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) end LastBolt = PART if Branches == true and E < (DISTANCE-5) then local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) if CHOICE == 1 then local LASTBRANCH = nil for i = 1, MRANDOM(2,5) do local ExtraSize2 = 0 if Thicken == true then ExtraSize = ((DISTANCE-E)/25)/i end local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2)) PART.Color = Color MakeForm(PART,"Cyl") if LASTBRANCH == nil then PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) else PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) end LASTBRANCH = PART end end end end if Dissapear == true then coroutine.resume(coroutine.create(function() for i = 1, FadeTime do Swait() for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do if c.ClassName == "Part" then c.Transparency = c.Transparency + (i/FadeTime)/10 end end end LIGHTNINGMODEL:remove() end)) elseif Dissapear == false then Debris:AddItem(LIGHTNINGMODEL,0.1) end return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL} end local function weldBetween(a, b) local weldd = Instance.new("ManualWeld") weldd.Part0 = a weldd.Part1 = b weldd.C0 = CFrame.new() weldd.C1 = b.CFrame:inverse() * a.CFrame weldd.Parent = a return weldd end for _, c in pairs(Character:GetChildren()) do if script:FindFirstChild(c.Name) then local Part = script[c.Name] Part.Parent = Character Part.Base.Anchored = false Part:SetPrimaryPartCFrame(c.CFrame) weldBetween(c,Part.Base) c.Transparency = 1 for _, e in pairs(Part:GetChildren()) do if e:IsA("BasePart") then e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end end end function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) 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 rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = MType rngm.Scale = Vector3.new(x1, y1, z1) local scaler2 = 1 local speeder = FastSpeed 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 type == "Add" then scaler2 = scaler2 - 0.01 * value / bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01 / value * bonuspeed end speeder = speeder - 0.01 * FastSpeed * bonuspeed rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed rng.Transparency = rng.Transparency + 0.01 * bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) end rng:Destroy() 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 Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() 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 function FindNearestHead(Position, Distance, SinglePlayer) if SinglePlayer then return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude end local List = {} for i, v in pairs(workspace:GetChildren()) do if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then table.insert(List, v) end end return List end function FaceMouse() local Cam = workspace.CurrentCamera return { CF(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 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 Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) end function PositiveAngle(NUMBER) if NUMBER >= 0 then NUMBER = 0 end return NUMBER end function NegativeAngle(NUMBER) if NUMBER <= 0 then NUMBER = 0 end return NUMBER end function Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() end end end function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) local NEWMESH = IT(MESH) if MESH == "SpecialMesh" then NEWMESH.MeshType = MESHTYPE if MESHID ~= "nil" and MESHID ~= "" then NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID end if TEXTUREID ~= "nil" and TEXTUREID ~= "" then NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID end end NEWMESH.Offset = OFFSET or VT(0, 0, 0) NEWMESH.Scale = SCALE NEWMESH.Parent = PARENT return NEWMESH end 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 local function weldBetween(a, b) local weldd = Instance.new("ManualWeld") weldd.Part0 = a weldd.Part1 = b weldd.C0 = CFrame.new() weldd.C1 = b.CFrame:inverse() * a.CFrame weldd.Parent = a return weldd 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 = ACOS(cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((1 - t) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = 1 - t finishInterp = t end else if (1 + cosTheta) > 0.0001 then local theta = ACOS(-cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((t - 1) * theta) * invSinTheta finishInterp = 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 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 CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) local frame = IT("Frame") frame.BackgroundTransparency = TRANSPARENCY frame.BorderSizePixel = BORDERSIZEPIXEL frame.Position = POSITION frame.Size = SIZE frame.BackgroundColor3 = COLOR frame.BorderColor3 = BORDERCOLOR frame.Name = NAME frame.Parent = PARENT return frame end function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) local label = IT("TextLabel") label.BackgroundTransparency = 1 label.Size = UD2(1, 0, 1, 0) label.Position = UD2(0, 0, 0, 0) label.TextColor3 = TEXTCOLOR label.TextStrokeTransparency = STROKETRANSPARENCY label.TextTransparency = TRANSPARENCY label.FontSize = TEXTFONTSIZE label.Font = TEXTFONT label.BorderSizePixel = BORDERSIZEPIXEL label.TextScaled = false label.Text = TEXT label.Name = NAME label.Parent = PARENT return label end function NoOutlines(PART) PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 end function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) local NEWWELD = IT(TYPE) NEWWELD.Part0 = PART0 NEWWELD.Part1 = PART1 NEWWELD.C0 = C0 NEWWELD.C1 = C1 NEWWELD.Parent = PARENT return NEWWELD end 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 = "http://www.roblox.com/asset/?id="..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 CFrameFromTopBack(at, top, back) local right = top:Cross(back) return CF(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 --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) function WACKYEFFECT(Table) local TYPE = (Table.EffectType or "Sphere") local SIZE = (Table.Size or VT(1,1,1)) local ENDSIZE = (Table.Size2 or VT(0,0,0)) local TRANSPARENCY = (Table.Transparency or 0) local ENDTRANSPARENCY = (Table.Transparency2 or 1) local CFRAME = (Table.CFrame or Torso.CFrame) local MOVEDIRECTION = (Table.MoveToPos or nil) local ROTATION1 = (Table.RotationX or 0) local ROTATION2 = (Table.RotationY or 0) local ROTATION3 = (Table.RotationZ or 0) local MATERIAL = (Table.Material or "Neon") local COLOR = (Table.Color or C3(1,1,1)) local TIME = (Table.Time or 45) local SOUNDID = (Table.SoundID or nil) local SOUNDPITCH = (Table.SoundPitch or nil) local SOUNDVOLUME = (Table.SoundVolume or nil) coroutine.resume(coroutine.create(function() local PLAYSSOUND = false local SOUND = nil local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then PLAYSSOUND = true SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) end EFFECT.Color = COLOR local MSH = nil if TYPE == "Sphere" then MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) elseif TYPE == "Block" then MSH = IT("BlockMesh",EFFECT) MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) elseif TYPE == "Wave" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) elseif TYPE == "Ring" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) elseif TYPE == "Slash" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) elseif TYPE == "Round Slash" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) elseif TYPE == "Swirl" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) elseif TYPE == "Skull" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) elseif TYPE == "Crystal" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) end if MSH ~= nil then local MOVESPEED = nil if MOVEDIRECTION ~= nil then MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME end local GROWTH = SIZE - ENDSIZE local TRANS = TRANSPARENCY - ENDTRANSPARENCY if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = CFRAME end for LOOP = 1, TIME+1 do Swait() MSH.Scale = MSH.Scale - GROWTH/TIME if TYPE == "Wave" then MSH.Offset = VT(0,0,-MSH.Scale.X/8) end EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) end if MOVEDIRECTION ~= nil then local ORI = EFFECT.Orientation EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) EFFECT.Orientation = ORI end end if PLAYSSOUND == false then EFFECT:remove() else SOUND.Stopped:Connect(function() EFFECT:remove() end) end else if PLAYSSOUND == false then EFFECT:remove() else repeat Swait() until SOUND.Playing == false EFFECT:remove() end end end)) 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 Debris = game:GetService("Debris") function CastProperRay(StartPos, EndPos, Distance, Ignore) local DIRECTION = CF(StartPos,EndPos).lookVector return Raycast(StartPos, DIRECTION, Distance, Ignore) end local EyeSizes={ NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(1,0,0) } local EyeTrans={ NumberSequenceKeypoint.new(0,0.8,0), NumberSequenceKeypoint.new(1,1,0) } local PE=Instance.new("ParticleEmitter",nil) PE.LightEmission=.8 PE.Color = ColorSequence.new(BRICKC("Really red").Color) PE.Size=NumberSequence.new(EyeSizes) PE.Transparency=NumberSequence.new(EyeTrans) PE.Lifetime=NumberRange.new(0.35,1.5) PE.Rotation=NumberRange.new(0,360) PE.Rate=999 PE.VelocitySpread = 10000 PE.Acceleration = Vector3.new(0,0,0) PE.Drag = 5 PE.Speed = NumberRange.new(0,0,0) PE.Texture="http://www.roblox.com/asset/?id=1351966707" PE.ZOffset = -0 PE.Name = "PE" PE.Enabled = false function particles(art) local PARTICLES = PE:Clone() PARTICLES.Parent = art end function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) if FLOOR ~= nil then coroutine.resume(coroutine.create(function() local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) PART.CFrame = CF(POSITION) for i = 1, 45 do local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) RingPiece.Material = FLOOR.Material RingPiece.Color = FLOOR.Color RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) Debris:AddItem(RingPiece,SWAIT) end PART:remove() end)) end end function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) if FLOOR ~= nil then for i = 1, AMOUNT do local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false) DEBREE.Material = FLOOR.Material DEBREE.Color = FLOOR.Color DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) coroutine.resume(coroutine.create(function() Swait(15) DEBREE.Parent = workspace DEBREE.CanCollide = true Debris:AddItem(DEBREE,SWAIT) end)) end end end local asd = Instance.new("ParticleEmitter") asd.Color = ColorSequence.new(Color3.new(204, 0, 204), Color3.new(204, 0, 204)) asd.LightEmission = .1 asd.Texture = "http://www.roblox.com/asset/?ID=291880914" aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) asd.Transparency = bbb asd.Size = aaa asd.ZOffset = .9 asd.Acceleration = Vector3.new(0, -15, 0) asd.LockedToPart = false asd.EmissionDirection = "Back" asd.Lifetime = NumberRange.new(1, 2) asd.Rotation = NumberRange.new(-100, 100) asd.RotSpeed = NumberRange.new(-100, 100) asd.Speed = NumberRange.new(10) asd.Enabled = false asd.VelocitySpread = 999 local Particle = IT("ParticleEmitter",nil) Particle.Enabled = false Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) Particle.LightEmission = 0.5 Particle.Rate = 150 Particle.ZOffset = 1 Particle.Rotation = NumberRange.new(-180, 180) Particle.RotSpeed = NumberRange.new(-180, 180) Particle.Texture = "http://www.roblox.com/asset/?id=304437537" Particle.Color = ColorSequence.new(C3(204,0,204),C3(204,0,204)) --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) function ParticleEmitter(Table) local PRTCL = Particle:Clone() local Speed = Table.Speed or 5 local Drag = Table.Drag or 0 local Size1 = Table.Size1 or 1 local Size2 = Table.Size2 or 5 local Lifetime1 = Table.Lifetime1 or 1 local Lifetime2 = Table.Lifetime2 or 1.5 local Parent = Table.Parent or Torso local Emit = Table.Emit or 100 local Offset = Table.Offset or 360 local Acel = Table.Acel or VT(0,0,0) local Enabled = Table.Enabled or false PRTCL.Parent = Parent PRTCL.Size = NumberSequence.new(Size1,Size2) PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) PRTCL.Speed = NumberRange.new(Speed) PRTCL.VelocitySpread = Offset PRTCL.Drag = Drag PRTCL.Acceleration = Acel if Enabled == false then PRTCL:Emit(Emit) Debris:AddItem(PRTCL,Lifetime2) else PRTCL.Enabled = true end return PRTCL end --//=================================\\ --|| WEAPON CREATION --\\=================================// local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) PRT.Color = C3(0,0,0) local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true}) PRT.LockedToPart = true local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true}) PRT.LockedToPart = true local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true}) PRT.LockedToPart = true local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true}) PRT.LockedToPart = true local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true}) PRT.LockedToPart = true for _, c in pairs(Character:GetDescendants()) do if c and c.Parent then if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then local ACCESSORY = c.Parent c.Parent = Character if c then if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then weldBetween(Head,c) else weldBetween(Torso,c) end end ACCESSORY:remove() elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then c.Material = "Neon" c.Color = C3(0,0,0) if c:FindFirstChildOfClass("SpecialMesh") then c:FindFirstChildOfClass("SpecialMesh").TextureId = "" end if c == Head then if c:FindFirstChild("face") then c.face:remove() end end elseif c.ClassName == "Part" and c.Name == "Eye" then c.Color = C3(204,0,204) c.Material = "Neon" elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then c:remove() elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then c:remove() end end end local Eye = CreatePart(3, Character, "Neon", 0, 0, "Bright violet", "Eye", VT(0.6,0.1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) local Eye = CreatePart(3, Character, "Neon", 0, 0, "Bright violet", "Eye", VT(0.6,0.1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) local Eye = CreatePart(3, Character, "Neon", 0, 0, "Bright violet", "Eye", VT(0.1,1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) local Eye = CreatePart(3, Character, "Neon", 0, 0, "Bright violet", "Eye", VT(0.1,1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) local BODY = {} for _, c in pairs(Character:GetDescendants()) do if c:IsA("BasePart") and c.Name ~= "Handle" then if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) elseif c:IsA("JointInstance") then table.insert(BODY,{c,c.Parent,nil,nil,nil}) end end for e = 1, #BODY do if BODY[e] ~= nil then local STUFF = BODY[e] local PART = STUFF[1] local PARENT = STUFF[2] local MATERIAL = STUFF[3] local COLOR = STUFF[4] local TRANSPARENCY = STUFF[5] if PART.ClassName == "Part" and PART ~= RootPart then PART.Material = MATERIAL PART.Color = COLOR PART.Transparency = TRANSPARENCY end PART.AncestryChanged:Connect(function() PART.Parent = PARENT end) end end function refit() Character.Parent = workspace for e = 1, #BODY do if BODY[e] ~= nil then local STUFF = BODY[e] local PART = STUFF[1] local PARENT = STUFF[2] local MATERIAL = STUFF[3] local COLOR = STUFF[4] local TRANSPARENCY = STUFF[5] if PART:IsA("BasePart") and PART ~= RootPart then PART.Material = MATERIAL PART.Color = COLOR PART.Transparency = TRANSPARENCY+EXTRATRANS end if PART.Parent ~= PARENT then Humanoid:remove() PART.Parent = PARENT Humanoid = IT("Humanoid",Character) end end end end Humanoid.Died:connect(function() refit() end) local SKILLTEXTCOLOR = C3(0,0,0) local SKILLFONT = "Antique" local SKILLTEXTSIZE = 7 local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[F] Prison Key", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1") local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[T] Corrupt Explosion", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Smite", SKILLTEXTCOLOR, 8, SKILLFONT, 0, 2, 1, "Text 3") local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Implosion", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 4") local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Warp", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 5") local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[V] Dark Beam", SKILLTEXTCOLOR, 12, SKILLFONT, 0, 2, 1, "Text 6") --//=================================\\ --|| DAMAGE FUNCTIONS --\\=================================// function StatLabel(CFRAME, TEXT, COLOR) local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) local BODYGYRO = IT("BodyGyro", STATPART) game:GetService("Debris"):AddItem(STATPART ,5) local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) BILLBOARDGUI.Adornee = STATPART BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) BILLBOARDGUI.AlwaysOnTop = false local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) TEXTLABEL.BackgroundTransparency = 1 TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) TEXTLABEL.Text = TEXT TEXTLABEL.Font = SKILLFONT TEXTLABEL.FontSize="Size42" TEXTLABEL.TextColor3 = COLOR TEXTLABEL.TextStrokeTransparency = 0 TEXTLABEL.TextScaled = true TEXTLABEL.TextWrapped = true coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) for i = 1, 50 do Swait() STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency end THEPART.Parent = nil end),STATPART, TEXTLABEL) end --//=================================\\ --|| DAMAGING --\\=================================// function Kill(Char) local NewCharacter = IT("Model",Effects) NewCharacter.Name = "Ow im ded ;-;" for _, c in pairs(Char:GetDescendants()) do if c:IsA("BasePart") and c.Transparency == 0 then if c.Parent == Char then end c:BreakJoints() c.Material = "Glass" c.Color = C3(2.4,0,2.4) c.CanCollide = true c.Transparency = 0.3 if c:FindFirstChildOfClass("SpecialMesh") then c:FindFirstChildOfClass("SpecialMesh").TextureId = "" end if c.Name == "Head" then c:ClearAllChildren() c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) end if c.ClassName == "MeshPart" then c.TextureID = "" end if c:FindFirstChildOfClass("BodyPosition") then c:FindFirstChildOfClass("BodyPosition"):remove() end if c:FindFirstChildOfClass("ParticleEmitter") then c:FindFirstChildOfClass("ParticleEmitter"):remove() end c.Parent = NewCharacter c.Name = "DeadPart" c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) end end Char:remove() Debris:AddItem(NewCharacter,5) end function KillChildren(v) v:BreakJoints() for _, c in pairs(v:GetChildren()) do if c:IsA("BasePart") then if c.Transparency < 1 then if c:FindFirstChildOfClass("Decal") then c:FindFirstChildOfClass("Decal"):remove() end particles(c) c.PE.Enabled = true c.Parent = Effects c.CanCollide = false c.Material = "Neon" c.Color = C3(2.4,0,2.4) c.Transparency = 1 local grav = Instance.new("BodyPosition",c) grav.P = 20000 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) grav.Name = "GravityForce" coroutine.resume(coroutine.create(function() for i = 1, 20 do Swait() c.Transparency = c.Transparency + 1/20 end c.PE.Enabled = false Debris:AddItem(c,2) end)) end end end end function ApplyAoE(POSITION,RANGE) local CHILDREN = workspace:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD.ClassName == "Model" and CHILD ~= Character then local LISTED = false for LIST = 1, #WHITELIST do if WHITELIST[LIST] ~= nil then if CHILD.Name == WHITELIST[LIST] then LISTED = true end end end if LISTED == false then local HUM = CHILD:FindFirstChildOfClass("Humanoid") if HUM then local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") if TORSO then if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then Kill(CHILD) KillChildren(CHILD) end end end end end end end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// local sine=0 function SpawnSmite(POS) local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character) local EMITPOS = HITPOS if HITFLOOR ~= nil then if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent) EMITPOS = HITPOS elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent) EMITPOS = HITPOS end end if HITFLOOR ~= nil then ApplyAoE(EMITPOS,10) WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5}) WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(15,15,15)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(15,15,15)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) for i = 1, 5 do local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12) WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.5,0,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5}) end end end function Smite() ATTACK = true Rooted = false CreateSound(1368573150, RightArm, 3, 1.5) for i=0, 0.6, 0.1 / Animation_Speed do Swait() WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) end local POWER = 0 repeat Swait() WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) POWER = POWER + 0.5 if POWER >= 85 then POWER = 85 end until KEYHOLD == false if POWER < 0.6 then SpawnSmite(Mouse.Hit.p) else end ATTACK = false Rooted = false end function FingerMagic() ATTACK = true Rooted = false for i=0, 0.1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) end for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) end WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) for i = 1, 5 do WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 2, SoundVolume = 1}) end CreateSound(217767125, LeftArm, 10, 1, false) coroutine.resume(coroutine.create(function() local EXPLODED = false for i = 1, 3 do coroutine.resume(coroutine.create(function() local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) if HITFLOOR then local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0)) for i = 1, 35 do wait() for _, c in pairs(workspace:GetChildren()) do if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then local HUM = c:FindFirstChildOfClass("Humanoid") local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") if TORSO and HUM.Health > 0 then if (TORSO.Position - CFRAME.p).Magnitude < 10 then EXPLODED = true coroutine.resume(coroutine.create(function() for i = 1, 15 do ApplyAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false) wait(0.2) WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Bright violet".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 1, SoundVolume = 1}) end WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1}) wait(1) WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10}) local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true) PART.CFrame = CFRAME*CF(0,10,0) Debris:AddItem(PART,10) local PARTICLES = script.Explode:Clone() PARTICLES.Parent = PART PARTICLES:Emit(500) ApplyAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = 1, SoundVolume = 3}) WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(204,0,204), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end)) end end end end if EXPLODED == true then break end CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3) WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Bright violet".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Bright violet".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7}) end end end)) end end)) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) end ATTACK = false Rooted = false end function Beamo() ATTACK = true Humanoid.WalkSpeed = 0 local Ring1 = Instance.new("Part", char) Ring1.Anchored = true Ring1.BrickColor = maincolor Ring1.CanCollide = false Ring1.FormFactor = 3 Ring1.Name = "Ring" Ring1.Material = "Neon" Ring1.Size = Vector3.new(1, 0.05, 1) Ring1.Transparency = 1 Ring1.TopSurface = 0 Ring1.BottomSurface = 0 local Ring1Mesh = Instance.new("SpecialMesh", Ring1) Ring1Mesh.MeshType = "Brick" Ring1Mesh.Name = "SizeMesh" Ring1Mesh.Scale = Vector3.new(0, 1, 0) local InnerRing1 = Ring1:Clone() InnerRing1.Parent = char InnerRing1.Transparency = 0 InnerRing1.BrickColor = BrickColor.new("New Yeller") InnerRing1.Size = Vector3.new(1, 1, 1) local InnerRing1Mesh = InnerRing1.SizeMesh InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) InnerRing1Mesh.MeshType = "Sphere" Ring1:Destroy() for i = 0, 8, 0.1 do swait() Aura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere") rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 - 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-3 + 2.5 * Sin(sine / 20))), 0.1) end InnerRing1.Transparency = 1 InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5 Cso("294188875", char, 2.3, 1) local a = IT("Part", char) a.Name = "Direction" a.Anchored = true a.BrickColor = BrickC("Bright violet") a.Material = "Neon" a.Transparency = 0 a.Shape = "Cylinder" a.CanCollide = false local a2 = IT("Part", char) a2.Name = "Direction" a2.Anchored = true a2.BrickColor = BrickC("Bright violet") a2.Color = maincolor.Color a2.Material = "Neon" a2.Transparency = 0.2 a2.Shape = "Cylinder" a2.CanCollide = false local ba = IT("Part", char) ba.Name = "HitDirect" ba.Anchored = true ba.BrickColor = BrickC("Bright violet") ba.Material = "Neon" ba.Transparency = 1 ba.CanCollide = false local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) local ignore = char local hit, position, normal = workspace:FindPartOnRay(ray, ignore) a.BottomSurface = 9.9 a.TopSurface = 9.9 a2.BottomSurface = 10 a2.TopSurface = 10 local distance = (InnerRing1.CFrame.p - position).magnitude a.Size = Vector3.new(distance, 1, 1) a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) a2.Size = Vector3.new(distance, 1, 1) a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) a.CFrame = a.CFrame * angles(0, Rad(90), 0) a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) game:GetService("Debris"):AddItem(a, 20) game:GetService("Debris"):AddItem(a2, 20) game:GetService("Debris"):AddItem(ba, 20) local msh = Instance.new("SpecialMesh", a) msh.MeshType = "Cylinder" msh.Scale = Vector3.new(1, 15, 15) local msh2 = Instance.new("SpecialMesh", a2) msh2.MeshType = "Cylinder" msh2.Scale = Vector3.new(1, 25, 25) for z = 0, 1 do for i = 0, 4, 0.1 do swait() hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) a2.Color = maincolor.Color root.CFrame = FaceMouse()[1] InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) hit, position, normal = workspace:FindPartOnRay(ray, ignore) distance = (InnerRing1.CFrame.p - position).magnitude a.Size = Vector3.new(distance, 1, 1) a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) a2.Size = Vector3.new(distance, 1, 1) a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) a.CFrame = a.CFrame * angles(0, Rad(90), 0) a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25) msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3) Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere") Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick") for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do if v:FindFirstChild("Head") then Kill(v) wait(0.2) KillChildren(v) end end end for i = 0, 4, 0.1 do swait() hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) a2.Color = maincolor.Color root.CFrame = FaceMouse()[1] InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) hit, position, normal = workspace:FindPartOnRay(ray, ignore) distance = (InnerRing1.CFrame.p - position).magnitude a.Size = Vector3.new(distance, 1, 1) a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) a2.Size = Vector3.new(distance, 1, 1) a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) a.CFrame = a.CFrame * angles(0, Rad(90), 0) a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) msh.Scale = msh.Scale + Vector3.new(0, 0.25, 0.25) msh2.Scale = msh2.Scale + Vector3.new(0, 0.3, 0.3) Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere") Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick") for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do if v:FindFirstChild("Head") then Kill(v) wait(0.2) KillChildren(v) end end end end for i = 0, 10, 0.1 do swait() hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) a2.Color = maincolor.Color root.CFrame = FaceMouse()[1] InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) hit, position, normal = workspace:FindPartOnRay(ray, ignore) distance = (InnerRing1.CFrame.p - position).magnitude a.Size = Vector3.new(distance, 1, 1) a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) a2.Size = Vector3.new(distance, 1, 1) a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) a.CFrame = a.CFrame * angles(0, Rad(90), 0) a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) msh.Scale = msh.Scale - Vector3.new(0, 0.15, 0.15) msh2.Scale = msh2.Scale - Vector3.new(0, 0.2, 0.2) Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere") Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick") for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do if v:FindFirstChild("Head") then Kill(v) wait(0.2) KillChildren(v) end end end hum.WalkSpeed = 8 a:Destroy() a2:Destroy() ba:Destroy() InnerRing1:Destroy() ATTACK = false hum.CameraOffset = Vector3.new(0,0,0) end function Teleport() ATTACK = true Rooted = false for i=0, 0.5, 0.1 / Animation_Speed do Swait() Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) end for e = 1, #BODY do if BODY[e] ~= nil then local STUFF = BODY[e] local PART = STUFF[1] if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then local PRT = PART:Clone() PRT.Anchored = true PRT.CanCollide = false PRT.Material = "Neon" PRT.Color = C3(204,0,204) PRT.Name = "WarpEffect" PRT.Parent = Effects PRT.CFrame = PART.CFrame PRT:BreakJoints() if PRT:FindFirstChildOfClass("Sound") then PRT:FindFirstChildOfClass("Sound"):remove() end if PRT:FindFirstChildOfClass("Decal") then PRT:FindFirstChildOfClass("Decal"):remove() end coroutine.resume(coroutine.create(function() for i = 1, 100 do Swait() PRT.Transparency = PRT.Transparency + 1/100 end PRT:remove() end)) end end end CreateSound(217767125, Torso, 10, 1) local POS = RootPart.Orientation RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) RootPart.Orientation = POS RootJoint.Parent = RootPart for i=0, 0.5, 0.1 / Animation_Speed do Swait() Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) end for i=0, 0.1, 0.1 / Animation_Speed do Swait() RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) end ATTACK = false Rooted = false end function Erruption() ATTACK = true Rooted = true CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() local POS = Mouse.Hit.p local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0)) MakeForm(RAY,"Cyl") local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0)) MakeForm(SPHERE,"Ball") local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0)) MakeForm(SHIELD,"Ball") SHIELD.CFrame = CF(POS) RAY.CFrame = CF(POS) SPHERE.CFrame = CF(POS) CreateSound(440145570, SPHERE, 10, 0.8, false) CreateSound(415700134, SPHERE, 10, 0.8, false) for i = 1, 200 do Swait() WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) RAY.Size = RAY.Size + VT(0.05,0,0.05) SPHERE.Size = SPHERE.Size + VT(5,5,5) SHIELD.Size = SPHERE.Size + VT(6,6,6) ApplyAoE(SPHERE.Position,SPHERE.Size.X/3,true) end for i = 1, 45 do Swait() RAY.Transparency = RAY.Transparency + 1/45 SPHERE.Transparency = RAY.Transparency SHIELD.Transparency = SPHERE.Transparency + 1/45 end RAY:remove() SHIELD:remove() SPHERE:remove() end)) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end ATTACK = false Rooted = false end function Prison_Key() if Mouse.Target ~= nil then if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") local GYRO = IT("BodyGyro",RootPart) GYRO.D = 750 GYRO.P = 20000 GYRO.MaxTorque = VT(0,40000000,0) local grav = Instance.new("BodyPosition",TORSO) grav.D = 15 grav.P = 20000 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) grav.position = TORSO.Position local GYRO2 = IT("BodyGyro",TORSO) GYRO2.D = 750 GYRO2.P = 20000 GYRO2.MaxTorque = VT(0,40000000,0) GYRO2.cframe = CF(TORSO.Position,RootPart.Position) grav.Name = "Jail" local LOCKPARTS = {} ATTACK = true Rooted = false local LOCK = IT("Model",Effects) LOCK.Name = "Lock" local LOCK2 = IT("Model",LOCK) LOCK2.Name = "Metal" --CREATE LOCK-- local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1)) LOCK.PrimaryPart = BASE BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4) local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3)) PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0)) MakeForm(PRT,"Cyl") local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1)) PRT.Color = C3(0,0,0) PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0)) MakeForm(PRT,"Cyl") local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1)) PRT.Color = C3(0,0,0) PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01) for i = 1, 45 do local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5)) PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0) end local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5)) PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0) LOCK2.PrimaryPart = PRT --------------- local CHILDREN = LOCK:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD:IsA("BasePart") then CHILD.Transparency = 1 end end for i = 1, 75 do LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)) Swait() GYRO2.cframe = CF(TORSO.Position,RootPart.Position) GYRO.cframe = CF(RootPart.Position,TORSO.Position) local CHILDREN = LOCK:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD:IsA("BasePart") then CHILD.Transparency = CHILD.Transparency - 1/75 end end end HUM.DisplayDistanceType = "None" local KEY = IT("Model",Effects) KEY.Name = "Key" --CREATE KEY-- local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false) KEY.PrimaryPart = KBASE KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0)) local WLD = weldBetween(RightArm,KBASE) for i = 1, 45 do local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false) PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0) weldBetween(KBASE,PRT) end local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false) PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0) weldBetween(KBASE,PRT) local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false) PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0) weldBetween(KBASE,PRT) -------------- Rooted = true Pose("Prepare key",1.5,1.2,false,GYRO,TORSO) coroutine.resume(coroutine.create(function() for i = 1, 10 do Swait() GYRO2.cframe = CF(TORSO.Position,RootPart.Position) GYRO.cframe = CF(RootPart.Position,TORSO.Position) end CreateSound(1149318312,BASE,5,1,false) CreateSound(160772554,BASE,3,1,false) LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)) for i = 1, 4 do WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5}) wait(1) TORSO.Parent.Parent = LOCK for i = 1, 75 do Swait() local CHILDREN = KEY:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD:IsA("BasePart") then CHILD.Transparency = i/25 end end local CHILDREN = LOCK:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then CHILD.Transparency = CHILD.Transparency + 1/75 elseif CHILD.ClassName == "Decal" then CHILD.Transparency = CHILD.Transparency + 1/75 end end end TORSO.Parent:ClearAllChildren() KEY:remove() LOCK:remove() end)) Pose("Turn key",0.8,1.2,false,GYRO,TORSO) GYRO:remove() ATTACK = false Rooted = false end end end function TakeOnMe() Speed = 5 local MEME = CreateSound(288703954, Effects, 0, 1, false) ATTACK = true Rooted = false local DANCE = true local KEY = Mouse.KeyDown:connect(function(NEWKEY) if NEWKEY == "p" then DANCE = false end end) while true do for i = 1, 15 do Swait() MEME.Parent = Effects RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end if DANCE == false then break end for i = 1, 15 do Swait() MEME.Parent = Effects RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end end KEY:Disconnect() MEME:remove() Speed = 25 ATTACK = false Rooted = false end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function MouseUp(Mouse) HOLD = false end function KeyDown(Key) if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then KEYHOLD = true if Key == "f" and ATTACK == false then Prison_Key() end if Key == "c" and ATTACK == false then Smite() end if Key == "x" and ATTACK == false then FingerMagic() end if Key == "t" and ATTACK == false then Erruption() end if Key == "q" and ATTACK == false then Teleport() end if Key == "v" and ATTACK == false then Beamo() end if Key == "p" and ATTACK == false then TakeOnMe() end end end function KeyUp(Key) if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then KEYHOLD = false end end Mouse.Button1Down:connect(function(NEWKEY) MouseDown(NEWKEY) end) Mouse.Button1Up:connect(function(NEWKEY) MouseUp(NEWKEY) end) Mouse.KeyDown:connect(function(NEWKEY) KeyDown(NEWKEY) end) Mouse.KeyUp:connect(function(NEWKEY) KeyUp(NEWKEY) end) --//=================================\\ --\\=================================// function AntiTimeStop() for _, c in pairs(Character:GetChildren()) do if c:IsA("BasePart") and c ~= RootPart then c.Anchored = false end end if UNANCHOR == true then RootPart.Anchored = false else RootPart.Anchored = true end end --//=================================\\ --|| WRAP THE WHOLE SCRIPT UP --\\=================================// Humanoid.Changed:connect(function(Jump) if Jump == "Jump" and (Disable_Jump == true) then Humanoid.Jump = false end end) local BLINKLOOP = 0 script.Parent = WEAPONGUI ANIMATE.Parent = nil while true do Swait() if Humanoid then local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() end SINE = SINE + CHANGE*2 local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude local TORSOVERTICALVELOCITY = RootPart.Velocity.y local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 25) HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed) if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 25) / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 25) / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed) elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) end if FULL == false then if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then ANIM = "Jump" if ATTACK == false then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-15), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) end RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) if TAUNT == false then LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) end RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then ANIM = "Fall" if ATTACK == false then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) end RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed) if TAUNT == false then LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) end RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.4 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then ANIM = "Idle" if ATTACK == false then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed) if TAUNT == false then LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) end RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed) elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then ANIM = "Walk" if ATTACK == false then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(5), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) end if TAUNT == false then LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) end end AntiTimeStop() Humanoid.MaxHealth = 15e15 Humanoid.Health = 15e15 if Rooted == false then Disable_Jump = false Humanoid.WalkSpeed = Speed elseif Rooted == true then Disable_Jump = true Humanoid.WalkSpeed = 0 end refit() sick.Volume = 2 sick.Pitch = 1 sick.Playing = true sick.Parent = Torso for _, c in pairs(Cam:GetChildren()) do if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then c:remove() end end if Character:FindFirstChildOfClass("Accessory") then Character:FindFirstChildOfClass("Accessory"):remove() elseif Character:FindFirstChildOfClass("Hat") then Character:FindFirstChildOfClass("Hat"):remove() end Humanoid.PlatformStand = false Humanoid.Name = "U ar ded" refit() for _, c in pairs(Character:GetChildren()) do if c:IsA("BasePart") and ATTACK == false then for _, e in pairs(c:GetChildren()) do if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then e:remove() end end end end end --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//--
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
TestingCustomCSS_Ignore
CSS | 3 hours ago | 0.21 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!