Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local SUPREMEGUI = Instance.new("TextLabel")
- local lenny = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local liam = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Player.LocalPlayer.PlayerGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 0.00392157, 0.0196078)
- Frame.Size = UDim2.new(0, 404, 0, 221)
- SUPREMEGUI.Name = "SUPREME GUI"
- SUPREMEGUI.Parent = Frame
- SUPREMEGUI.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- SUPREMEGUI.Size = UDim2.new(0, 404, 0, 50)
- SUPREMEGUI.Font = Enum.Font.SourceSans
- SUPREMEGUI.Text = "SUPREME GUI"
- SUPREMEGUI.TextColor3 = Color3.new(1, 1, 1)
- SUPREMEGUI.TextScaled = true
- SUPREMEGUI.TextSize = 14
- SUPREMEGUI.TextWrapped = true
- lenny.Name = "lenny"
- lenny.Parent = ScreenGui
- lenny.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- lenny.Position = UDim2.new(0, 0, 0.0613496937, 0)
- lenny.Size = UDim2.new(0, 200, 0, 67)
- lenny.Font = Enum.Font.SourceSans
- lenny.Text = "Lenny"
- lenny.TextColor3 = Color3.new(1, 1, 1)
- lenny.TextScaled = true
- lenny.TextSize = 14
- lenny.TextWrapped = true
- lenny.MouseButton1Down:connect(function()
- local Player = game:GetService("Players").LocalPlayer
- local Character = Player.Character
- local Head = Character.Head
- local Torso = Character.Torso
- local Right_Arm = Character["Right Arm"]
- local Right_Leg = Character["Right Leg"]
- local Left_Arm = Character["Left Arm"]
- local Left_Leg = Character["Left Leg"]
- local Humanoid = Character.Humanoid
- local Animation = "Idle"
- local Damage = 0
- local Mouse = Player:GetMouse()
- local LeftShoulder = Torso["Left Shoulder"]
- local Left_Hip = Torso["Left Hip"]
- local RightShoulder = Torso["Right Shoulder"]
- local Right_Hip = Torso["Right Hip"]
- local Root = Character.HumanoidRootPart
- local RootJoint = Root.RootJoint
- local Attacking = false
- local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
- local WakeMeUp = false
- local cf = CFrame.new
- local WalkForward = false
- local Effects = {}
- local Color = "White"
- Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Movemment = 1
- Walk = 0
- local Services = {
- SoundService = game:GetService("SoundService");
- Players = game:GetService("Players");
- Debris = game:GetService("Debris");
- Workspace = game:GetService("Workspace");
- Lighting = game:GetService("Lighting");
- HttpService = game:GetService("HttpService");
- InsertService = game:GetService("InsertService");
- }
- MaxCooldown1 = 1
- MaxCooldown2 = 1
- MaxCooldown3 = 1
- MaxCooldown4 = 1
- MaxCooldownE = 1
- Cooldown1 = MaxCooldown1
- Cooldown2 = MaxCooldown2
- Cooldown3 = MaxCooldown3
- Cooldown4 = MaxCooldown4
- CooldownE = MaxCooldownE
- cf = CFrame.new
- local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
- Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Movemment = 1
- Walk = 0
- Left_Shoulder = Instance.new("Weld", Torso)
- Left_Shoulder.Part0 = Torso
- Left_Shoulder.Part1 = Left_Arm
- Left_Shoulder.Name = "Left Shoulder"
- Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
- Right_Shoulder = Instance.new("Weld", Torso)
- Right_Shoulder.Part0 = Torso
- Right_Shoulder.Part1 = Right_Arm
- Right_Shoulder.Name = "Right Shoulder"
- Right_Shoulder.C0 = CFrame.new(1.5,0,0)
- wait()
- LeftShoulder.Parent = nil
- RightShoulder.Parent = nil
- wait(0.1)
- local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
- HealthBarGUI.Name = "HealthBarGUI"
- local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
- HealthBarP1.Name = "HealthBarPart1"
- HealthBarP1.Size = UDim2.new(0,300,0,40)
- HealthBarP1.Position = UDim2.new(0,350,0,550)
- HealthBarP1.Style = "RobloxRound"
- local HealthBarP2 = Instance.new("Frame", HealthBarP1)
- HealthBarP2.Name = "HealthBarPart2"
- HealthBarP2.Size = UDim2.new(0,285,0,20)
- HealthBarP2.Position = UDim2.new(0,0,0,0)
- local HealthBarText = Instance.new("TextLabel", HealthBarP1)
- HealthBarText.Name = "HealthBarText"
- HealthBarText.Size = UDim2.new(0,285,0,20)
- HealthBarText.Position = UDim2.new(0,0,0,0)
- HealthBarText.BackgroundColor3 = Color3.new(0,1,0)
- HealthBarText.TextScaled = true
- HealthBarText.Text = "Health"
- HealthBarText.TextTransparency = 0
- HealthBarText.TextStrokeTransparency = 0
- HealthBarText.BackgroundTransparency = 1
- HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
- HealthBarText.TextColor3 = Color3.new(0,0,0)
- HealthBarText.Font = "SciFi"
- local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
- CoolDownGUI.Name = "CoolDownGUI"
- local CoolDowns = Instance.new("Frame", CoolDownGUI)
- CoolDowns.Name = "CoolDowns"
- CoolDowns.Size = UDim2.new(0,200,0,200)
- CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
- CoolDowns.Style = "RobloxRound"
- local CoolDown1Frame = Instance.new("Frame", CoolDowns)
- CoolDown1Frame.Name = "CoolDown1Frame"
- CoolDown1Frame.Size = UDim2.new(0,80,0,50)
- CoolDown1Frame.Position = UDim2.new(0,0,0,0)
- CoolDown1Frame.BackgroundTransparency = 0.5
- CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
- local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
- CoolDown1Bar.Name = "CoolDown1Bar"
- CoolDown1Bar.Size = UDim2.new(0,80,0,50)
- CoolDown1Bar.Position = UDim2.new(0,0,0,0)
- CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
- local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
- CoolDown1Text.Name = "CoolDown1Text"
- CoolDown1Text.Size = UDim2.new(0,80,0,50)
- CoolDown1Text.Position = UDim2.new(0,0,0,0)
- CoolDown1Text.BackgroundTransparency = 1
- CoolDown1Text.TextScaled = true
- CoolDown1Text.Text = "z - WAKE ME UP INSIDE"
- CoolDown1Text.TextStrokeTransparency = 0
- CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
- CoolDown1Text.TextColor3 = Color3.new(0,0,0)
- CoolDown1Text.Font = "SciFi"
- local CoolDown2Frame = Instance.new("Frame", CoolDowns)
- CoolDown2Frame.Name = "CoolDown2Frame"
- CoolDown2Frame.Size = UDim2.new(0,80,0,50)
- CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
- CoolDown2Frame.BackgroundTransparency = 0.5
- CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
- local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
- CoolDown2Bar.Name = "CoolDown2Bar"
- CoolDown2Bar.Size = UDim2.new(0,80,0,50)
- CoolDown2Bar.Position = UDim2.new(0,0,0,0)
- CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
- local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
- CoolDown2Text.Name = "CoolDown2Text"
- CoolDown2Text.Size = UDim2.new(0,80,0,50)
- CoolDown2Text.Position = UDim2.new(0,0,0,0)
- CoolDown2Text.BackgroundTransparency = 1
- CoolDown2Text.TextScaled = true
- CoolDown2Text.Text = "x - meme launch"
- CoolDown2Text.TextStrokeTransparency = 0
- CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
- CoolDown2Text.TextColor3 = Color3.new(0,0,0)
- CoolDown2Text.Font = "SciFi"
- local CoolDown3Frame = Instance.new("Frame", CoolDowns)
- CoolDown3Frame.Name = "CoolDown3Frame"
- CoolDown3Frame.Size = UDim2.new(0,80,0,50)
- CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
- CoolDown3Frame.BackgroundTransparency = 0.5
- CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
- local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
- CoolDown3Bar.Name = "CoolDown3Bar"
- CoolDown3Bar.Size = UDim2.new(0,80,0,50)
- CoolDown3Bar.Position = UDim2.new(0,0,0,0)
- CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
- local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
- CoolDown3Text.Name = "CoolDown3Text"
- CoolDown3Text.Size = UDim2.new(0,80,0,50)
- CoolDown3Text.Position = UDim2.new(0,0,0,0)
- CoolDown3Text.BackgroundTransparency = 1
- CoolDown3Text.TextScaled = true
- CoolDown3Text.Text = "c - and his name is..."
- CoolDown3Text.TextStrokeTransparency = 0
- CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
- CoolDown3Text.TextColor3 = Color3.new(0,0,0)
- CoolDown3Text.Font = "SciFi"
- local CoolDown4Frame = Instance.new("Frame", CoolDowns)
- CoolDown4Frame.Name = "CoolDown4Frame"
- CoolDown4Frame.Size = UDim2.new(0,80,0,50)
- CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
- CoolDown4Frame.BackgroundTransparency = 0.5
- CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
- local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
- CoolDown4Bar.Name = "CoolDown4Bar"
- CoolDown4Bar.Size = UDim2.new(0,80,0,50)
- CoolDown4Bar.Position = UDim2.new(0,0,0,0)
- CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
- local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
- CoolDown4Text.Name = "CoolDown4Text"
- CoolDown4Text.Size = UDim2.new(0,80,0,50)
- CoolDown4Text.Position = UDim2.new(0,0,0,0)
- CoolDown4Text.BackgroundTransparency = 1
- CoolDown4Text.TextScaled = true
- CoolDown4Text.Text = "v - allahuekber"
- CoolDown4Text.TextStrokeTransparency = 0
- CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
- CoolDown4Text.TextColor3 = Color3.new(0,0,0)
- CoolDown4Text.Font = "SciFi"
- local CoolDownEFrame = Instance.new("Frame", CoolDowns)
- CoolDownEFrame.Name = "CoolDownEFrame"
- CoolDownEFrame.Size = UDim2.new(0,180,0,50)
- CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
- CoolDownEFrame.BackgroundTransparency = 0.5
- CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
- local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
- CoolDownEBar.Name = "CoolDownEBar"
- CoolDownEBar.Size = UDim2.new(0,180,0,50)
- CoolDownEBar.Position = UDim2.new(0,0,0,0)
- CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
- local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
- CoolDownEText.Name = "CoolDownEText"
- CoolDownEText.Size = UDim2.new(0,180,0,50)
- CoolDownEText.Position = UDim2.new(0,0,0,0)
- CoolDownEText.BackgroundTransparency = 1
- CoolDownEText.TextScaled = true
- CoolDownEText.Text = "e - aaaa"
- CoolDownEText.TextStrokeTransparency = 0
- CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
- CoolDownEText.TextColor3 = Color3.new(0,0,0)
- CoolDownEText.Font = "SciFi"
- --[[ transformixu ]]--
- Head.face.Texture = "http://www.roblox.com/asset/?id=176699876"
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Remove()
- end
- end
- --[[ perts andi effictiz fucktions ]]--
- function NoOutlines(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- local CreateVelocity = function(Parent,Velocity,Force)
- local BodyVelocity = Instance.new("BodyVelocity", Parent)
- BodyVelocity.Velocity = Velocity
- BodyVelocity.MaxForce = Force
- return BodyVelocity
- end
- local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
- local Part = Instance.new("Part", Parent)
- Part.Name = Name
- Part.BrickColor = BrickColor.new(Color)
- Part.Size = Size
- Part.Material = Material
- Part.Transparency = Transparency
- Part.Shape = Shape
- Part.CanCollide = false
- NoOutlines(Part)
- return Part
- end
- local MakeSFX = function(Parent, Id, Volume, Pitch)
- local SFX = Instance.new("Sound", Parent)
- SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
- SFX.Name = "SFX"
- SFX:Play()
- SFX.Volume = Volume
- SFX.Pitch = Pitch
- SFX.PlayOnRemove = true
- SFX:Remove()
- end
- CircleEffect = function(Position, Parent, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
- local Part = Instance.new("Part", Parent)
- Part.Transparency = Transparency
- Part.Name = "CircleEffect"
- Part.Size = Vector3.new()
- Part.Anchored = true
- Part.CanCollide = false
- Part.Position = Position
- Part.BrickColor = BrickColor.new(Brickcolor)
- Part.Material = Material
- NoOutlines(Part)
- local Mesh = Instance.new("SpecialMesh", Part)
- Mesh.MeshType = "Sphere"
- Mesh.Scale = Vector3.new(0,0,0)
- Services.Debris:AddItem(Part, Time)
- table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
- end
- BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
- local Part = Instance.new("Part", Parent)
- Part.Transparency = Transparency
- Part.Name = "BlockEffect"
- Part.Size = Vector3.new()
- Part.Anchored = true
- Part.Position = Position
- Part.CanCollide = false
- Part.BrickColor = BrickColor.new(Brickcolor)
- Part.Material = Material
- NoOutlines(Part)
- local Mesh = Instance.new("BlockMesh", Part)
- Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
- Services.Debris:AddItem(Part, Time)
- table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
- end
- --[[ customiz ]]--
- if Player:FindFirstChild("Custom") and Player.Custom.Customized.Value == true then
- CoolDown1Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
- CoolDown2Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
- CoolDown3Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
- CoolDown4Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
- CoolDownEBar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color
- Color = Player.Custom.Co1.Value
- end
- --[[ soumdiz ]]--
- WakeMeUpInside = Instance.new("Sound", Character)
- WakeMeUpInside.SoundId = "http://www.roblox.com/asset?id=326429386"
- WakeMeUpInside.Name = "WAKE ME UP INSIDE!111!"
- WakeMeUpInside.Looped = true
- Sad = Instance.new("Sound", Character)
- Sad.SoundId = "http://www.roblox.com/asset?id=254352182"
- Sad.Name = "Sad"
- Sad.Looped = true
- JOHNCENAh = Instance.new("Sound", Character)
- JOHNCENAh.SoundId = "http://www.roblox.com/asset?id=272322032"
- JOHNCENAh.Name = "JOHNCENAh"
- --[[ crerp decaratius ]] --
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function RayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- --[[ debeigi fucktion ]]--
- function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
- local HitHumanoid = Hit.Parent.Humanoid
- local Damage = math.random(Min, Max)
- coroutine.resume(coroutine.create(function()
- HitHumanoid:TakeDamage(Damage)
- end))
- if Type == "Normal" then
- local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
- Services.Debris:AddItem(Push, 0)
- DamageLabel(Hit.Parent, Damage)
- elseif Type == "Ranged" then
- local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
- Services.Debris:AddItem(Push, 0)
- DamageLabel(Hit.Parent, Damage)
- elseif Type == "Knockdown" then
- local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
- DamageLabel(Hit.Parent, Damage)
- Services.Debris:AddItem(Push, 0.3)
- coroutine.resume(coroutine.create(function()
- HitHumanoid.PlatformStand = true
- wait(1)
- HitHumanoid.PlatformStand = false
- end))
- end
- if HitSFX == "Penetration" then
- MakeSFX(Hit, 199149269, 1 , 1)
- elseif HitSFX == "Punch" then
- MakeSFX(Hit, 278062209, 1 , 1)
- end
- end
- function DamageLabel(HitCharacter, DamageDealt)
- local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
- DamageShowingPart.Position = HitCharacter.Head.Position
- local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
- DamageGui.Name = "Damage"
- DamageGui.AlwaysOnTop = true
- DamageGui.Size = UDim2.new(5, 0, 5, 0)
- local DamageNumber = Instance.new("TextLabel", DamageGui)
- DamageNumber.Size = UDim2.new(1,0,1,0)
- DamageNumber.TextStrokeColor3 = BrickColor.White().Color
- DamageNumber.TextColor3 = BrickColor.Black().Color
- DamageNumber.TextStrokeTransparency = 0
- DamageNumber.BackgroundTransparency = 1
- DamageNumber.Font = "SciFi"
- DamageNumber.TextScaled = true
- DamageNumber.Text = DamageDealt
- local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
- BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- BodyVelocity.Velocity = Vector3.new(0,2,0)
- Services.Debris:AddItem(DamageShowingPart, 3)
- end
- function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
- for _,WorkspaceChildren in pairs(workspace:children()) do
- local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
- if HitHumanoid ~= nil then
- local Hit = WorkspaceChildren:findFirstChild("Torso")
- if Hit ~= nil then
- local Target = Hit.Position - Part.Position
- local Magnitude = Target.magnitude
- if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
- local HitBlock = Hit.Parent:FindFirstChild("Block")
- if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
- local HitBlock2 = Hit.Parent.Block.BlockDurability
- if HitBlock2.Value > 15 then
- local HitN = math.random(1,5)
- HitBlock2.Value = HitBlock2.Value - 15
- if HitN == 1 then
- MakeSFX(Hit ,199148971, 0.5, 1)
- end
- if HitN == 2 then
- MakeSFX(Hit ,199149025, 0.5, 1)
- end
- if HitN == 3 then
- MakeSFX(Hit ,199149072, 0.5, 1)
- end
- if HitN == 4 then
- MakeSFX(Hit ,199149109, 0.5, 1)
- end
- if HitN == 5 then
- MakeSFX(Hit ,199149119, 0.5, 1)
- end
- return
- end
- end
- DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
- end
- end
- end
- end
- end
- function Bars()
- --[[ Cooldowns Bars ]]--
- if Cooldown1 ~= MaxCooldown1 then
- Cooldown1 = Cooldown1 + 1
- end
- if Cooldown1 >= MaxCooldown1 then
- Cooldown1 = MaxCooldown1
- end
- if Cooldown2 ~= MaxCooldown2 then
- Cooldown2 = Cooldown2 + 0.1
- end
- if Cooldown2 >= MaxCooldown2 then
- Cooldown2 = MaxCooldown2
- end
- if Cooldown3 ~= MaxCooldown3 then
- Cooldown3 = Cooldown3 + 0.1
- end
- if Cooldown3 >= MaxCooldown3 then
- Cooldown3 = MaxCooldown3
- end
- if Cooldown4 ~= MaxCooldown4 then
- Cooldown4 = Cooldown4 + 0.1
- end
- if Cooldown4 >= MaxCooldown4 then
- Cooldown4 = MaxCooldown4
- end
- if CooldownE ~= MaxCooldownE then
- CooldownE = CooldownE + 0.1
- end
- if CooldownE >= MaxCooldownE then
- CooldownE = MaxCooldownE
- end
- --[[ Health Bar ]]--
- local YellowZone = Humanoid.MaxHealth / 2
- local RedZone = Humanoid.MaxHealth / 4
- if Humanoid.Health <= YellowZone then
- HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
- end
- if Humanoid.Health <= RedZone then
- HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
- end
- if Humanoid.Health >= YellowZone then
- HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
- end
- --[[ Resize All Bars ]]--
- CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
- CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
- CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
- CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
- CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
- HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
- end
- --[[ attakis ]]--
- function WAKEMEUPINSIDE()
- for i = 1,3 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,0,0)* CFrame.Angles(-0.2,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(10,20,3) * CFrame.Angles(-0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(3, 10, 0) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(3, 0.1, 0) * CFrame.Angles(0.3,0.2,2), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(3,-2,9)*CFrame.Angles(2,1.6,-0.2),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-0,-0,5)*CFrame.Angles(5,-1.6,0.2),0.2)
- end
- ValidateDamage(Torso, 20, 1, 5, "Normal", "Punch", 50)
- for i = 1,3 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,30,0)* CFrame.Angles(-0.3452,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(12,56,5) * CFrame.Angles(-0.5,0,30),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(10, 30, 5) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(34, 1, 32) * CFrame.Angles(0.3,0.2,22), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(5,-3,3)*CFrame.Angles(2,1.6,-0.342),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-53,-0,25)*CFrame.Angles(5,-41.6,0.52),0.2)
- end
- ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
- for i = 1,3 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(-3,-30,0)* CFrame.Angles(0.3452,-0,-0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(-12,-56,5) * CFrame.Angles(0.5,-0,-30),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(-10, -30, -5) * CFrame.Angles(0.23,-0.5,-0.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-34, -1, -32) * CFrame.Angles(-0.3,-0.2,-22), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(-5,3,-3)*CFrame.Angles(-2,-1.6,0.342),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(53,0,-25)*CFrame.Angles(-5,41.6,-0.52),0.2)
- end
- ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
- end
- function MemeLaunch()
- memis = {294841732,474498947,474494834,519973850,291736664,513363123,94349155,379915109,331385631,387197836,304460548,196819764}
- local meme = Instance.new("Part",game.Workspace)
- meme.Anchored = true
- meme.Position = Torso.Position + Vector3.new(0,5,0)
- meme.Rotation = Torso.Rotation + Vector3.new(0,-1,0)
- meme.Size = Vector3.new(5, 5, 0.2)
- meme.Transparency = 1
- meme.Touched:connect(function(hit)
- ValidateDamage(meme, 10, 1, 1, "Knockdown", "Punch", 130)
- end)
- game:GetService("Debris"):AddItem(meme, 30)
- local memedecal = Instance.new("Decal", meme)
- memedecal.Texture = "http://www.roblox.com/asset?id=" .. memis[math.random(1, #memis)]
- local memedecal2 = memedecal:Clone()
- memedecal2.Parent = meme
- memedecal2.Face = "Back"
- for i = 1,30 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
- end
- meme.Anchored = false
- meme.CFrame = CFrame.new(meme.Position, Mouse.Hit.p)
- local memevilocity = CreateVelocity(meme,meme.CFrame.lookVector * 250,Vector3.new(math.huge,math.huge,math.huge))
- for i = 1,30 do
- wait()
- ValidateDamage(meme, 1, 1, 33, "Knockdown", "Punch", 5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(0.8,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,0.8),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,-0.8),0.2)
- end
- Attacking = false
- end
- function JOHNCENA()
- JOHNCENAh:Play()
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- for i = 1,60 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,10)* CFrame.Angles(1.6,1.6,1.6),0.8)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
- end
- for i = 1,6 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,-2)* CFrame.Angles(1.6,1.6,1.6),0.8)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
- end
- local Explosion = Instance.new("Explosion")
- Explosion.Parent = game.workspace.Terrain
- Explosion.Position = Right_Arm.Position
- Explosion.Name = "Boom!"
- Explosion.BlastRadius = 0
- Explosion.BlastPressure = 0
- Explosion.DestroyJointRadiusPercent = 0
- Explosion.ExplosionType = "NoCraters"
- local dmgreference = Instance.new("Part", Services.Workspace)
- dmgreference.CFrame = Torso.CFrame
- dmgreference.Transparency = 1
- dmgreference.Size = Vector3.new()
- dmgreference.CanCollide = false
- ValidateDamage(dmgreference, 1000, 10, 20, "Knockdown", "Penetration", 100)
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 50
- Attacking = false
- end
- function allahuekber()
- Attacking = true
- Sad:Remove()
- MakeSFX(Character,433848566, 1, 1)
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- wait(5)
- MakeSFX(Character, 134854740, 1 , 0.4)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
- ValidateDamage(Torso, 1000, 77, 89, "Knockdown", "Penetration", 0)
- wait(5)
- Character:BreakJoints()
- end
- Mouse.KeyDown:connect(function(kei)
- if not Attacking then
- if kei == "z" then
- WakeMeUp = true
- if JOHNCENAh.IsPlaying == false then
- WakeMeUpInside:Resume()
- end
- while WakeMeUp do
- WakeMeUp = true
- Attacking = true
- WAKEMEUPINSIDE()
- end
- end
- if kei == "x" then
- Attacking = true
- MemeLaunch()
- end
- if kei == "c" and JOHNCENAh.IsPlaying == false then
- Attacking = true
- JOHNCENA()
- end
- if kei == "v" then
- allahuekber()
- end
- end
- end)
- Mouse.KeyUp:connect(function(kei)
- if kei == "z" and WakeMeUp then
- Attacking = false
- WakeMeUp = false
- WakeMeUpInside:Pause()
- end
- end)
- Humanoid.Died:connect(function ()
- Sad:Play()
- end)
- --[[ crerp animaxius ]]--
- while true do
- wait()
- Bars()
- local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
- local Velderp = Root.Velocity.y
- HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if Torvel < 1 and HitFloor ~= nil and Attacking == false then
- Anim = "Idle"
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
- end
- if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
- Anim = "Walking"
- WalkForward = true
- Walk = Walk + 1
- if 15 - 5 * Movemment <= Walk then
- Walk = 0
- if WalkForward == true then
- WalkForward = false
- else
- if WalkForward == false then
- WalkForward = true
- end
- end
- end
- if Attacking == false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,0.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,-0.2), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
- end
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0) * CFrame.Angles(0,1.6,0),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.2)
- end
- if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
- Anim = "Jump"
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
- end
- if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
- Anim = "Fall"
- RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
- Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
- Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
- Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
- Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
- end
- if #Effects > 0 then
- for E = 1, #Effects do
- if Effects[E]~=nil then
- local Effect = Effects[E]
- if Effect ~= nil then
- local Part = Effect[1]
- local Mode = Effect[2]
- local Time = Effect[3]
- local SizeX = Effect[4]
- local SizeY = Effect[5]
- local SizeZ = Effect[6]
- if Effect[1].Transparency <= 1 then
- if Effect[2] == "Block" then
- Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Mesh = Effect[1]:FindFirstChild("Mesh")
- if Mesh ~= nil then
- Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
- end
- elseif Effect[2] == "Circle" then
- if Effect[1]:FindFirstChild("Mesh") ~= nil then
- Mesh=Effect[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
- end
- else
- Part.Parent=nil
- table.remove(Effects, E)
- end
- end
- end
- end
- end
- end
- end
- end)
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- TextButton.Position = UDim2.new(0.151515156, 0, 0.143558279, 0)
- TextButton.Size = UDim2.new(0, 204, 0, 104)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "GCBC(EDIT BY FG)"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Down:connect(function()
- --//====================================================\\--
- --|| GOOD COP BAD COP BY SHACKLUSTER
- --\\====================================================//--
- wait(0.2)
- 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",RootPart)
- IT = Instance.new
- 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
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 3
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 20
- 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 Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local UNANCHOR = true
- local MODE = "GoodCop"
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| 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
- --\\=================================//
- 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" or TYPE == "Box" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = SIZE
- 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
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- 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"
- elseif TYPE == "Head" then
- local MSH = IT("SpecialMesh",PART)
- MSH.Scale = VT(1.25,1.25,1.25)
- 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
- function CharacterFade(COLOR,TIMER)
- coroutine.resume(coroutine.create(function()
- local FADE = IT("Model",Effects)
- FADE.Name = "FadingEffect"
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" and c ~= RootPart then
- local FADER = c:Clone()
- FADER.Color = COLOR
- FADER.CFrame = c.CFrame
- FADER.Parent = FADE
- FADER.Anchored = true
- FADER.Transparency = 0.25+c.Transparency
- FADER:BreakJoints()
- FADER.Material = "Neon"
- if FADER.Name == "Head" then
- FADER:ClearAllChildren()
- FADER.Size = VT(1,1,1)
- end
- FADER.CanCollide = false
- end
- end
- local TRANS = 0.75/TIMER
- for i = 1, TIMER do
- Swait()
- for _, c in pairs(FADE:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency + TRANS
- end
- end
- end
- FADE:remove()
- end))
- end
- function Chatter(Text,Timer)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("SpeechBoard")~= nil then
- Character:FindFirstChild("SpeechBoard"):destroy()
- end
- local naeeym2 = IT("BillboardGui",Character)
- naeeym2.Size = UD2(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "SpeechBoard"
- naeeym2.AlwaysOnTop = true
- local tecks2 = IT("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Legacy"
- tecks2.TextSize = 15
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(Text),1 do
- CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
- tecks2.Text = string.sub(Text,1,i)
- wait(Timer)
- end
- wait(1)
- naeeym2:Destroy()
- end)
- chat()
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- local FACE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Face mask", VT(1.001,1.001,1.001),false)
- CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0.02,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- MakeForm(FACE,"Head")
- local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,0.25,0.2),false)
- CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.15,0.25,-0.53) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
- MakeForm(EYE,"Ball")
- local top = Instance.new("Shirt")
- top.ShirtTemplate = "rbxassetid://269003887"
- top.Parent = Character
- top.Name = "Cloth"
- local bottom = Instance.new("Pants")
- bottom.PantsTemplate = "rbxassetid://268832352"
- bottom.Parent = Character
- bottom.Name = "Cloth"
- local BATON = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Baton", VT(1, 0.8, 3),false)
- CreateMesh("SpecialMesh", BATON, "FileMesh", "11820238", "", VT(1,1,1), VT(0,0,0))
- local BATONWELD = CreateWeldOrSnapOrMotor("Weld", BATON, Torso, BATON, CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local A = IT("Attachment",BATON)
- local B = IT("Attachment",BATON)
- B.Position = VT(0,0,-0.4)
- A.Position = VT(0,0,1)
- local Trail = IT("Trail",BATON)
- Trail.Attachment0 = A
- Trail.Attachment1 = B
- Trail.Lifetime = 0.1
- Trail.Color = ColorSequence.new(C3(0,0,0))
- Trail.Transparency = NumberSequence.new(0, 1)
- Trail.Enabled = false
- Trail.Texture = "http://www.roblox.com/asset/?id=1831500579"
- local GUN = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
- CreateMesh("SpecialMesh", GUN, "FileMesh", "623102664", "623102879", VT(0.01, 0.01, 0.01), VT(0,0,0))
- local GUNWELD = CreateWeldOrSnapOrMotor("Weld", GUN, Torso, GUN, CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- end
- Weapon.Parent = Character
- local SKILLTEXTCOLOR = C3(1,1,1)
- local SKILLFONT = "Legacy"
- local SKILLTEXTSIZE = 4
- local ATTACKSGOODCOP = {"Mouse - Warning","Q - Baton Stun","E - Cuffs"}
- local ATTACKSBADCOP = {"Mouse - Silence","Q - Baton Breaker","E - The Right to remain silent"}
- local GOODUI = {}
- local BADUI = {}
- for i = 1, #ATTACKSGOODCOP do
- local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.73, 0, 0.7-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
- local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKSGOODCOP[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
- SKILLTEXT.TextXAlignment = "Right"
- table.insert(GOODUI,SKILLTEXT)
- end
- for i = 1, #ATTACKSBADCOP do
- local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.01, 0, 0.7-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
- local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKSBADCOP[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Skill text")
- SKILLTEXT.TextXAlignment = "Left"
- table.insert(BADUI,SKILLTEXT)
- end
- local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
- local SKILLTEXT = CreateLabel(SKILLFRAME, "[F - Switch]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function ApplyDamage(Humanoid,Damage)
- Damage = Damage * DAMAGEMULTIPLIER
- local DEAD = false
- if Humanoid.Health < 2000 then
- if Humanoid.Health - Damage > 0 then
- Humanoid.Health = Humanoid.Health - Damage
- else
- DEAD = true
- Humanoid.Parent:BreakJoints()
- end
- else
- DEAD = true
- Humanoid.Parent:BreakJoints()
- end
- if DEAD == true then
- if MODE == "GoodCop" then
- local TEXTS = {"I'm simply laying down the law.","You should've taken account of the law.","Another criminal down."}
- Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
- elseif MODE == "BadCop" then
- local TEXTS = {"Criminals should leave this world!","You should've taken account of the law!","And stay down!"}
- Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
- end
- end
- end
- --//=================================\\
- --|| TRANSFORMATIONS
- --\\=================================//
- function Switch()
- ATTACK = true
- Rooted = true
- if MODE == "GoodCop" then
- for i=0, 0.3, 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)), 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.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 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.05 * 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(5), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- CreateSound(363808674, Torso, 6, 1, false)
- for i=0, 0.6, 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)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- CreateSound(363808674, Torso, 6, 1, false)
- for i=0, 0.6, 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)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- MODE = "BadCop"
- elseif MODE == "BadCop" then
- CreateSound(147722227, Torso, 4, 1.3, false)
- for i=0, 0.3, 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)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- MODE = "GoodCop"
- end
- ATTACK = false
- Rooted = false
- end
- --//=================================\\
- --|| ATTACK GOOD COP
- --\\=================================//
- function Warning()
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local LEG = TARGET.Parent:FindFirstChild("Right Leg") or TARGET.Parent:FindFirstChild("RightLowerLeg")
- if LEG and HUM.Health > 0 then
- Speed = 6
- ATTACK = true
- Rooted = false
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 2
- GYRO.P = 2000
- GYRO.MaxTorque = VT(0,4000000,0)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- GYRO.CFrame = CF(RootPart.Position,LEG.Position)
- until ATTACK == false
- GYRO:Remove()
- end))
- local HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
- local PASS = true
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
- if HIT == nil then
- PASS = false
- break
- else
- if HIT.Parent ~= TARGET.Parent then
- PASS = false
- break
- end
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- CreateSound(147722227, GUN, 6, 1.3, false)
- GUNWELD.Part0 = LeftArm
- GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
- for i=0, 0.4, 0.1 / Animation_Speed do
- Swait()
- HIT,POS = CastProperRay(RootPart.Position,LEG.Position,1000,Character)
- if HIT == nil then
- PASS = false
- break
- else
- if HIT.Parent ~= TARGET.Parent then
- PASS = false
- break
- end
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- if PASS == true then
- local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
- local DISTANCE = (LEG.Position - GUNPOS).Magnitude
- CreateSound(160432334, LEG, 10, 1, false)
- local HEAD = HUM.Parent:FindFirstChild("Head")
- if HEAD then
- CreateSound(535690488, HEAD, 7, 1, false)
- end
- ApplyDamage(HUM,15)
- HUM.WalkSpeed = HUM.WalkSpeed - 3
- HUM.PlatformStand = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- if HUM.WalkSpeed > 0 then
- HUM.PlatformStand = false
- end
- end))
- WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
- WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,LEG.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- end
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- GUNWELD.Part0 = Torso
- GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
- ATTACK = false
- Rooted = false
- Speed = 20
- end
- end
- end
- end
- function BatonStun()
- ATTACK = true
- Rooted = false
- Speed = 4
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * 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), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- BATONWELD.Part0 = RightArm
- BATONWELD.C0 = CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1)
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- Speed = 25
- CreateSound(147722227, BATON, 6, 1.2, false)
- Trail.Enabled = true
- BATON.CanCollide = true
- local SPEAKING = false
- local HITS = {}
- local TOUCH = BATON.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
- local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- if TORSO and HUM.Health > 0 then
- local PASS = true
- for i = 1, #HITS do
- if HITS[i] == hit.Parent then
- PASS = false
- end
- end
- table.insert(HITS,hit.Parent)
- if PASS == true then
- HUM.PlatformStand = true
- ApplyDamage(HUM,20)
- local bv = Instance.new("BodyVelocity",TORSO)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(Torso.Position-VT(0,5,0),TORSO.Position).lookVector*70
- Debris:AddItem(bv,0.05)
- CreateSound(260430079, BATON, 6, 1, false)
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,BATON.Position)*CF(0,0,-0.5), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Glass = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 4})
- coroutine.resume(coroutine.create(function()
- wait(1)
- if HUM.WalkSpeed > 0 then
- HUM.PlatformStand = false
- end
- end))
- if SPEAKING == false and MRANDOM(1,5) == 1 then
- SPEAKING = true
- Chatter("Let that be a warning.",0)
- end
- end
- end
- end
- end)
- for i=0, 0.35, 0.1 / Animation_Speed do
- Swait()
- BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(120), RAD(0), RAD(0)) * CF(0,0,1), 1 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.6) * ANGLES(RAD(140), RAD(0), RAD(-31)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- TOUCH:Disconnect()
- BATON.CanCollide = false
- Speed = 20
- Trail.Enabled = false
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1), 2 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * 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), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- BATONWELD.Part0 = Torso
- BATONWELD.C0 = CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0))
- ATTACK = false
- Rooted = false
- end
- function Cuffs()
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
- if ROOT and HUM.Health > 0 then
- local FOE = Mouse.Target.Parent
- ATTACK = true
- Rooted = true
- CharacterFade(C3(1,1,1),70)
- RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
- ROOT.Anchored = true
- CreateSound(289556450, RootPart, 5, 1.4, false)
- Chatter("You have the right to remain silent.",0)
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local RIGHTCUFF = nil
- local LEFTCUFF = nil
- local ChainLink = nil
- CreateSound(1279090548, ROOT, 10, 1.4, false)
- for _, c in pairs(FOE:GetChildren()) do
- if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
- LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
- LEFTCUFF.CFrame = c.CFrame
- weldBetween(c,LEFTCUFF)
- end
- end
- for _, c in pairs(FOE:GetChildren()) do
- if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
- RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
- RIGHTCUFF.CFrame = c.CFrame
- weldBetween(c,RIGHTCUFF)
- end
- end
- if RIGHTCUFF and LEFTCUFF then
- local A = IT("Attachment",RIGHTCUFF)
- local B = IT("Attachment",LEFTCUFF)
- ChainLink = IT("Beam",FOE)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
- ChainLink.TextureSpeed = 0
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.Segments = 25
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = B
- ChainLink.Attachment1 = A
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- end
- coroutine.resume(coroutine.create(function()
- wait(4)
- if RIGHTCUFF and LEFTCUFF then
- RIGHTCUFF:remove()
- LEFTCUFF:remove()
- ChainLink:remove()
- local bv = Instance.new("BodyVelocity",ROOT)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
- Debris:AddItem(bv,0.05)
- ApplyDamage(HUM,70)
- HUM.PlatformStand = false
- WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(RIGHTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,1,1), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
- WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(LEFTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,1,1), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
- end
- end))
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- HUM.PlatformStand = true
- ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
- ROOT.Anchored = false
- Chatter("Anything you say can and WILL be used against you.",0)
- for i=0, 3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK BAD COP
- --\\=================================//
- function Silence()
- Speed = 6
- ATTACK = true
- Rooted = false
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 2
- GYRO.P = 20000
- GYRO.MaxTorque = VT(0,4000000,0)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
- until ATTACK == false
- GYRO:Remove()
- end))
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local AMMO = 6
- local FIRING = true
- local SHOOTING = false
- local TIMER = 70
- CreateSound(147722227, GUN, 6, 1.3, false)
- GUNWELD.Part0 = LeftArm
- GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
- local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
- if SHOOTING == false and AMMO > 0 then
- SHOOTING = true
- AMMO = AMMO - 1
- local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
- local HIT,POS = CastProperRay(GUNPOS,Mouse.Hit.p,1000,Character)
- local DISTANCE = (POS - GUNPOS).Magnitude
- if HIT then
- if HIT.Parent:FindFirstChildOfClass("Humanoid") then
- if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
- CreateSound(160432334, HIT, 10, 1, false)
- ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),35)
- end
- end
- end
- TIMER = 55
- WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
- WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(100), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- if AMMO <= 0 then
- FIRING = false
- end
- SHOOTING = false
- end
- end)
- repeat
- Swait()
- if SHOOTING == false then
- TIMER = TIMER - 1
- if TIMER <= 0 then
- FIRING = false
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- until FIRING == false and SHOOTING == false
- MOUSE:Disconnect()
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- GUNWELD.Part0 = Torso
- GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
- Speed = 20
- ATTACK = false
- Rooted = false
- end
- function BatonBreaker()
- ATTACK = true
- Rooted = false
- Speed = 4
- Chatter("I'll break you!",0)
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * 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), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- BATONWELD.Part0 = RightArm
- BATONWELD.C0 = CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1)
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(-20), RAD(-40), RAD(25)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- Speed = 30
- CreateSound(147722227, BATON, 6, 1, false)
- Trail.Enabled = true
- BATON.CanCollide = true
- local SPEAKING = false
- local HITS = {}
- local TOUCH = BATON.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
- local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- if TORSO and HUM.Health > 0 then
- local PASS = true
- for i = 1, #HITS do
- if HITS[i] == hit.Parent then
- PASS = false
- end
- end
- table.insert(HITS,hit.Parent)
- if PASS == true then
- CreateSound(260430079, BATON, 6, 0.8, false)
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,BATON.Position)*CF(0,0,-0.5), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Glass = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 4})
- TORSO.Anchored = true
- local POS = TORSO.CFrame
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- Swait()
- TORSO.CFrame = POS*CF(MRANDOM(-2,2)/10,MRANDOM(-2,2)/10,MRANDOM(-2,2)/10)
- end
- local HEAD = HUM.Parent:FindFirstChild("Head")
- HUM.Parent:BreakJoints()
- if HEAD then
- CreateSound(363808674, HEAD, 10, 0.8, false)
- local bv = Instance.new("BodyVelocity",TORSO)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(Torso.Position-VT(0,5,0),HEAD.Position).lookVector*70
- Debris:AddItem(bv,0.05)
- local TEXTS = {"Criminals should leave this world!","And stay down!"}
- Chatter(TEXTS[MRANDOM(1,#TEXTS)],0)
- end
- TORSO.Anchored = false
- end))
- end
- end
- end
- end)
- for i=0, 0.45, 0.1 / Animation_Speed do
- Swait()
- RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.15)
- BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(120), RAD(0), RAD(0)) * CF(0,0,1), 1 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.6) * ANGLES(RAD(140), RAD(-25), RAD(-41)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- TOUCH:Disconnect()
- BATON.CanCollide = false
- Speed = 20
- Trail.Enabled = false
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- BATONWELD.C0 = Clerp(BATONWELD.C0,CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0,0,1), 2 / Animation_Speed)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * 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), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- BATONWELD.Part0 = Torso
- BATONWELD.C0 = CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0))
- ATTACK = false
- Rooted = false
- end
- function TheRightToRemainSilent()
- local TARGET = Mouse.Target
- if TARGET ~= nil then
- if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
- local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
- if ROOT and HUM.Health > 0 then
- local FOE = Mouse.Target.Parent
- ATTACK = true
- Rooted = true
- CharacterFade(C3(1,1,1),70)
- RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
- ROOT.Anchored = true
- CreateSound(289556450, RootPart, 5, 1.4, false)
- Chatter("You are to remain silent and DEAD!",0)
- for i=0, 0.4, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * 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.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- HUM.PlatformStand = true
- ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
- CreateSound(260430117, ROOT, 6, 1.3, false)
- coroutine.resume(coroutine.create(function()
- Swait()
- ROOT.Anchored = true
- end))
- RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local OOFS = {1106908323,1080610827,1080614222,565424701,565424177,1080611063}
- CreateSound(OOFS[MRANDOM(1,#OOFS)], ROOT, 6, 1, false)
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * 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.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local AMMO = 6
- local FIRING = true
- local SHOOTING = false
- local TIMER = 70
- CreateSound(147722227, GUN, 6, 1.3, false)
- GUNWELD.Part0 = LeftArm
- GUNWELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.4) * ANGLES(RAD(100), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * 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.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- for i = 1, 6 do
- local GUNPOS = GUN.CFrame*CF(1.2, 0.5, 0).p
- local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
- WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 330704232, SoundPitch = 1, SoundVolume = 4})
- WACKYEFFECT({Time = 6, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0, Transparency2 = 1, CFrame = CF(GUNPOS,FOE.Head.Position)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- HUM.Health = HUM.Health/1.5
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.6) * ANGLES(RAD(130), RAD(0), RAD(20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * 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.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.65) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(80), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.55, 0.6) * ANGLES(RAD(100), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.45) * 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.5, -0.5) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- end
- FOE:BreakJoints()
- ROOT.Anchored = false
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- GUNWELD.Part0 = Torso
- GUNWELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
- ATTACK = false
- Rooted = false
- end
- end
- end
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- if ATTACK == false then
- if MODE == "GoodCop" then
- Warning()
- elseif MODE == "BadCop" then
- Silence()
- end
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- KEYHOLD = true
- if Key == "q" and ATTACK == false then
- if MODE == "GoodCop" then
- BatonStun()
- elseif MODE == "BadCop" then
- BatonBreaker()
- end
- end
- if Key == "e" and ATTACK == false then
- if MODE == "GoodCop" then
- Cuffs()
- elseif MODE == "BadCop" then
- TheRightToRemainSilent()
- end
- end
- if Key == "t" and ATTACK == false then
- if MODE == "GoodCop" then
- Chatter("You should obey the law.",0.01)
- elseif MODE == "BadCop" then
- Chatter("I don't think so, Criminal!",0.01)
- end
- end
- if Key == "f" and ATTACK == false then
- Switch()
- end
- if Key == "0" and ATTACK == false then
- if sick.Parent ~= RootPart then
- sick = IT("Sound",RootPart)
- end
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- 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 unanchor()
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") and c ~= RootPart then
- c.Anchored = false
- end
- end
- for _, c in pairs(Weapon: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)
- while true do
- Swait()
- script.Parent = WEAPONGUI
- ANIMATE.Parent = nil
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- SINE = SINE + CHANGE
- 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 = 6 / (Humanoid.WalkSpeed / 16)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 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) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) 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.7 / 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.7 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- 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)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / 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)), 0.2 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- if MODE == "GoodCop" then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / 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(-25)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- elseif MODE == "BadCop" then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * 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(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- if MODE == "GoodCop" then
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- elseif MODE == "BadCop" then
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
- end
- end
- unanchor()
- Humanoid.MaxHealth = 3e3
- Humanoid.Health = 3e3
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- for _, c in pairs(Character:GetChildren()) do
- if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
- c:remove()
- end
- end
- sick.SoundId = "rbxassetid://259554386"
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 4
- sick.Playing = true
- if MODE == "GoodCop" then
- for E = 1, #GOODUI do
- GOODUI[E].TextStrokeTransparency = 0
- GOODUI[E].TextTransparency = 0
- end
- for E = 1, #BADUI do
- BADUI[E].TextStrokeTransparency = 1
- BADUI[E].TextTransparency = 0.5
- end
- elseif MODE == "BadCop" then
- for E = 1, #GOODUI do
- GOODUI[E].TextStrokeTransparency = 1
- GOODUI[E].TextTransparency = 0.5
- end
- for E = 1, #BADUI do
- BADUI[E].TextStrokeTransparency = 0
- BADUI[E].TextTransparency = 0
- end
- end
- end
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
- end)
- TextButton_2.Parent = ScreenGui
- TextButton_2.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- TextButton_2.Position = UDim2.new(0.151515156, 0, 0.0613496937, 0)
- TextButton_2.Size = UDim2.new(0, 204, 0, 67)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "VAN CANDY"
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14
- TextButton_2.TextWrapped = true
- TextButton_2.MouseButton1Down:connect(function()
- -- Objects
- local VanGui = Instance.new("ScreenGui")
- local Opener = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local DaGui = Instance.new("Frame")
- local Frame = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local Username = Instance.new("TextBox")
- local VanDaPlayer = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- -- Properties
- VanGui.Name = "VanGui"
- VanGui.Parent = game.Players.LocalPlayer.PlayerGui
- Opener.Name = "Opener"
- Opener.Parent = VanGui
- Opener.BackgroundColor3 = Color3.new(0, 0, 0)
- Opener.BackgroundTransparency = 0.5
- Opener.Position = UDim2.new(0, 19, 0, 564)
- Opener.Size = UDim2.new(0, 224, 0, 40)
- Open.Name = "Open"
- Open.Parent = Opener
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.BackgroundTransparency = 0.5
- Open.Size = UDim2.new(0, 224, 0, 40)
- Open.Font = Enum.Font.SciFi
- Open.FontSize = Enum.FontSize.Size42
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 1, 1)
- Open.TextSize = 42
- DaGui.Name = "DaGui"
- DaGui.Parent = VanGui
- DaGui.BackgroundColor3 = Color3.new(0, 0, 0)
- DaGui.BackgroundTransparency = 0.5
- DaGui.Draggable = true
- DaGui.Position = UDim2.new(0, 0, 0, 311)
- DaGui.Size = UDim2.new(0, 343, 0, 197)
- DaGui.Visible = false
- Frame.Parent = DaGui
- Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- Frame.Position = UDim2.new(0, 313, 0, 0)
- Frame.Size = UDim2.new(0, 30, 0, 26)
- Close.Name = "Close"
- Close.Parent = Frame
- Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- Close.Size = UDim2.new(0, 30, 0, 26)
- Close.Font = Enum.Font.SciFi
- Close.FontSize = Enum.FontSize.Size14
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextSize = 14
- Close.TextStrokeTransparency = 5
- Username.Name = "Username"
- Username.Parent = DaGui
- Username.BackgroundColor3 = Color3.new(0, 0, 0)
- Username.BackgroundTransparency = 0.5
- Username.Position = UDim2.new(0, 72, 0, 76)
- Username.Size = UDim2.new(0, 200, 0.0999999866, 24)
- Username.Font = Enum.Font.SciFi
- Username.FontSize = Enum.FontSize.Size18
- Username.Text = "Username"
- Username.TextColor3 = Color3.new(0, 1, 1)
- Username.TextSize = 18
- VanDaPlayer.Name = "VanDaPlayer"
- VanDaPlayer.Parent = DaGui
- VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
- VanDaPlayer.BackgroundTransparency = 0.5
- VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138)
- VanDaPlayer.Size = UDim2.new(0, 150, 0, 26)
- VanDaPlayer.Font = Enum.Font.SciFi
- VanDaPlayer.FontSize = Enum.FontSize.Size14
- VanDaPlayer.Text = "Van Player"
- VanDaPlayer.TextColor3 = Color3.new(0, 1, 1)
- VanDaPlayer.TextSize = 14
- TextLabel.Parent = DaGui
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BackgroundTransparency = 0.5
- TextLabel.Position = UDim2.new(0, 48, 0, 22)
- TextLabel.Size = UDim2.new(0, 246, 0, 19)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.FontSize = Enum.FontSize.Size18
- TextLabel.Text = "Van Player Gui by 345678 (Talha)"
- TextLabel.TextColor3 = Color3.new(0, 1, 1)
- TextLabel.TextSize = 17
- Open.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.PlayerGui.VanGui.DaGui.Visible = true
- game.Players.LocalPlayer.PlayerGui.VanGui.Opener.Visible = false
- end)
- Close.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.PlayerGui.VanGui.DaGui.Visible = false
- game.Players.LocalPlayer.PlayerGui.VanGui.Opener.Visible = true
- end)
- VanDaPlayer.MouseButton1Down:connect(function()
- Victim = Username.Text
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("CylinderMesh")
- o4 = Instance.new("Part")
- o5 = Instance.new("SpecialMesh")
- o6 = Instance.new("Part")
- o7 = Instance.new("SpecialMesh")
- o8 = Instance.new("Part")
- o9 = Instance.new("BlockMesh")
- o10 = Instance.new("Part")
- o11 = Instance.new("BlockMesh")
- o12 = Instance.new("Part")
- o13 = Instance.new("Part")
- o14 = Instance.new("BlockMesh")
- o15 = Instance.new("Part")
- o16 = Instance.new("SpecialMesh")
- o17 = Instance.new("Part")
- o18 = Instance.new("SpecialMesh")
- o19 = Instance.new("Part")
- o20 = Instance.new("SpecialMesh")
- o21 = Instance.new("Sound")
- o22 = Instance.new("Part")
- o23 = Instance.new("BlockMesh")
- o24 = Instance.new("Part")
- o25 = Instance.new("SpecialMesh")
- o26 = Instance.new("Part")
- o27 = Instance.new("BlockMesh")
- o28 = Instance.new("Part")
- o29 = Instance.new("SpecialMesh")
- o30 = Instance.new("Part")
- o31 = Instance.new("BlockMesh")
- o32 = Instance.new("Part")
- o33 = Instance.new("BlockMesh")
- o34 = Instance.new("Part")
- o35 = Instance.new("BlockMesh")
- o36 = Instance.new("Part")
- o37 = Instance.new("BlockMesh")
- o38 = Instance.new("Part")
- o39 = Instance.new("Part")
- o40 = Instance.new("BlockMesh")
- o41 = Instance.new("Part")
- o42 = Instance.new("BlockMesh")
- o43 = Instance.new("Part")
- o44 = Instance.new("BlockMesh")
- o45 = Instance.new("Part")
- o46 = Instance.new("SpecialMesh")
- o47 = Instance.new("Part")
- o48 = Instance.new("BlockMesh")
- o49 = Instance.new("Part")
- o50 = Instance.new("BlockMesh")
- o51 = Instance.new("Part")
- o52 = Instance.new("BlockMesh")
- o53 = Instance.new("Part")
- o54 = Instance.new("SpecialMesh")
- o55 = Instance.new("Part")
- o56 = Instance.new("SpecialMesh")
- o57 = Instance.new("Part")
- o58 = Instance.new("BlockMesh")
- o59 = Instance.new("Part")
- o60 = Instance.new("BlockMesh")
- o61 = Instance.new("Part")
- o62 = Instance.new("BlockMesh")
- o63 = Instance.new("Part")
- o64 = Instance.new("Part")
- o65 = Instance.new("Part")
- o66 = Instance.new("BlockMesh")
- o67 = Instance.new("Part")
- o68 = Instance.new("BlockMesh")
- o69 = Instance.new("Part")
- o70 = Instance.new("BlockMesh")
- o71 = Instance.new("Part")
- o72 = Instance.new("BlockMesh")
- o73 = Instance.new("Part")
- o74 = Instance.new("SpecialMesh")
- o75 = Instance.new("Decal")
- o76 = Instance.new("Part")
- o77 = Instance.new("Part")
- o78 = Instance.new("BlockMesh")
- o79 = Instance.new("Part")
- o80 = Instance.new("SpecialMesh")
- o81 = Instance.new("Decal")
- o82 = Instance.new("Part")
- o83 = Instance.new("SpecialMesh")
- o84 = Instance.new("Humanoid")
- o85 = Instance.new("Part")
- o86 = Instance.new("Part")
- o87 = Instance.new("Part")
- o88 = Instance.new("Decal")
- o89 = Instance.new("Motor6D")
- o90 = Instance.new("Motor6D")
- o91 = Instance.new("Motor6D")
- o92 = Instance.new("Motor6D")
- o93 = Instance.new("Motor6D")
- o94 = Instance.new("Part")
- o95 = Instance.new("Part")
- o96 = Instance.new("Part")
- o97 = Instance.new("Part")
- o98 = Instance.new("Part")
- o99 = Instance.new("Decal")
- o100 = Instance.new("Motor6D")
- o101 = Instance.new("Motor6D")
- o102 = Instance.new("Motor6D")
- o103 = Instance.new("Part")
- o104 = Instance.new("Part")
- o105 = Instance.new("Part")
- o106 = Instance.new("Part")
- o107 = Instance.new("Part")
- o108 = Instance.new("CylinderMesh")
- o109 = Instance.new("Part")
- o110 = Instance.new("CylinderMesh")
- o111 = Instance.new("Part")
- o112 = Instance.new("CylinderMesh")
- o113 = Instance.new("Part")
- o114 = Instance.new("CylinderMesh")
- o115 = Instance.new("Part")
- o116 = Instance.new("CylinderMesh")
- o117 = Instance.new("Part")
- o118 = Instance.new("CylinderMesh")
- o119 = Instance.new("Part")
- o120 = Instance.new("CylinderMesh")
- o121 = Instance.new("Part")
- o122 = Instance.new("SpecialMesh")
- o123 = Instance.new("Part")
- o124 = Instance.new("Decal")
- o1.Name = " "
- o1.Parent = workspace
- o2.Parent = o1
- o2.Position = Vector3.new(95.3486252, 1.50001001, 18.4564877)
- o2.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
- o2.Anchored = true
- o2.FormFactor = Enum.FormFactor.Symmetric
- o2.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
- o2.CFrame = CFrame.new(95.3486252, 1.50001001, 18.4564877, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
- o3.Parent = o2
- o4.Parent = o1
- o4.BrickColor = BrickColor.new("Institutional white")
- o4.Position = Vector3.new(96.3181839, 7.00000668, 9.31151104)
- o4.Rotation = Vector3.new(90, 89.9314728, -90)
- o4.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o4.Velocity = Vector3.new(-0.000346515269, 0.00201798417, -0.00195027643)
- o4.Anchored = true
- o4.FormFactor = Enum.FormFactor.Plate
- o4.Size = Vector3.new(1, 2.4000001, 2)
- o4.CFrame = CFrame.new(96.3181839, 7.00000668, 9.31151104, 0, 3.96052044e-008, 0.999999285, 0, 1, -3.97634246e-008, -1, 0, 0)
- o4.BackSurface = Enum.SurfaceType.Weld
- o4.BottomSurface = Enum.SurfaceType.Weld
- o4.LeftSurface = Enum.SurfaceType.Weld
- o4.TopSurface = Enum.SurfaceType.Weld
- o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o5.Parent = o4
- o5.MeshType = Enum.MeshType.Wedge
- o6.Parent = o1
- o6.Material = Enum.Material.SmoothPlastic
- o6.BrickColor = BrickColor.new("Really black")
- o6.Transparency = 0.5
- o6.Position = Vector3.new(96.3181839, 7.00000668, 13.8115101)
- o6.Rotation = Vector3.new(90, 89.9440536, -90)
- o6.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o6.Velocity = Vector3.new(0.000965324172, 0.00135755131, -0.00195027643)
- o6.Anchored = true
- o6.FormFactor = Enum.FormFactor.Plate
- o6.Size = Vector3.new(8, 2.4000001, 1.99999976)
- o6.CFrame = CFrame.new(96.3181839, 7.00000668, 13.8115101, 0, 3.96315798e-008, 0.999999523, 0, 1, -3.97370599e-008, -1, 0, 0)
- o6.BackSurface = Enum.SurfaceType.Weld
- o6.BottomSurface = Enum.SurfaceType.Weld
- o6.LeftSurface = Enum.SurfaceType.Weld
- o6.RightSurface = Enum.SurfaceType.Weld
- o6.TopSurface = Enum.SurfaceType.Weld
- o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o7.Parent = o6
- o7.MeshType = Enum.MeshType.Wedge
- o8.Parent = o1
- o8.BrickColor = BrickColor.new("Br. yellowish orange")
- o8.Position = Vector3.new(92.2182083, 4.00000715, 9.61151409)
- o8.Rotation = Vector3.new(-0, 0, -2.26619136e-006)
- o8.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o8.Velocity = Vector3.new(-0.000475873821, 0.00227026758, -0.00119533995)
- o8.Anchored = true
- o8.FormFactor = Enum.FormFactor.Custom
- o8.Size = Vector3.new(0.200000003, 0.800000012, 0.799999714)
- o8.CFrame = CFrame.new(92.2182083, 4.00000715, 9.61151409, 0.999998808, 3.95524538e-008, 0, -3.98161575e-008, 1, 0, 0, 0, 1)
- o8.BackSurface = Enum.SurfaceType.Weld
- o8.BottomSurface = Enum.SurfaceType.Weld
- o8.FrontSurface = Enum.SurfaceType.Weld
- o8.LeftSurface = Enum.SurfaceType.Weld
- o8.RightSurface = Enum.SurfaceType.Weld
- o8.TopSurface = Enum.SurfaceType.Weld
- o8.Color = Color3.new(0.886275, 0.607843, 0.25098)
- o9.Parent = o8
- o10.Parent = o1
- o10.BrickColor = BrickColor.new("Institutional white")
- o10.Position = Vector3.new(105.317894, 8.40004158, 9.31151295)
- o10.Rotation = Vector3.new(-0, 0, -2.21330401e-006)
- o10.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o10.Velocity = Vector3.new(-0.000245332019, 0.00136755884, -0.00436839834)
- o10.Anchored = true
- o10.CanCollide = false
- game.Players[Victim].Character.Humanoid.WalkSpeed = 0
- game.Players[Victim].Character.Humanoid.JumpPower = 0
- o10.FormFactor = Enum.FormFactor.Plate
- o10.Size = Vector3.new(14, 0.400000006, 1)
- o10.CFrame = CFrame.new(105.317894, 8.40004158, 9.31151295, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1)
- o10.BackSurface = Enum.SurfaceType.Weld
- o10.BottomSurface = Enum.SurfaceType.Weld
- o10.FrontSurface = Enum.SurfaceType.Weld
- o10.LeftSurface = Enum.SurfaceType.Weld
- o10.RightSurface = Enum.SurfaceType.Weld
- o10.TopSurface = Enum.SurfaceType.Weld
- o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o11.Parent = o10
- o12.Name = "DOOR"
- o12.Parent = o1
- o12.BrickColor = BrickColor.new("Institutional white")
- o12.Position = Vector3.new(103.708466, 5.81500626, 9.31151104)
- o12.Rotation = Vector3.new(-0, 0, -4.43210411e-006)
- o12.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o12.Velocity = Vector3.new(-0.000432157307, 0.00148387556, -0.00427860441)
- o12.Anchored = true
- o12.CanCollide = false
- o12.FormFactor = Enum.FormFactor.Plate
- o12.Size = Vector3.new(5.22000027, 4.82999992, 1)
- o12.CFrame = CFrame.new(103.708466, 5.81500626, 9.31151104, 1, 7.73548052e-008, 0, -7.73548052e-008, 1, 0, 0, 0, 1)
- o12.BottomSurface = Enum.SurfaceType.Weld
- o12.LeftSurface = Enum.SurfaceType.Weld
- o12.RightSurface = Enum.SurfaceType.Weld
- o12.TopSurface = Enum.SurfaceType.Weld
- o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o13.Parent = o1
- o13.BrickColor = BrickColor.new("White")
- o13.Position = Vector3.new(109.818169, 5.80000877, 9.31151104)
- o13.Rotation = Vector3.new(-0, 0, -2.25410599e-006)
- o13.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o13.Velocity = Vector3.new(-0.00043324125, 0.00104231632, -0.006061906)
- o13.Anchored = true
- o13.FormFactor = Enum.FormFactor.Plate
- o13.Size = Vector3.new(7, 4.80000019, 1)
- o13.CFrame = CFrame.new(109.818169, 5.80000877, 9.31151104, 0.999996901, 3.9341451e-008, 0, -4.00270856e-008, 1, 0, 0, 0, 1)
- o13.BackSurface = Enum.SurfaceType.Weld
- o13.BottomSurface = Enum.SurfaceType.Weld
- o13.FrontSurface = Enum.SurfaceType.Weld
- o13.LeftSurface = Enum.SurfaceType.Weld
- o13.RightSurface = Enum.SurfaceType.Weld
- o13.TopSurface = Enum.SurfaceType.Weld
- o13.Color = Color3.new(0.94902, 0.952941, 0.952941)
- o14.Parent = o13
- o15.Parent = o1
- o15.BrickColor = BrickColor.new("Institutional white")
- o15.Position = Vector3.new(97.817894, 8.40000725, 13.8115139)
- o15.Rotation = Vector3.new(90, 89.960434, -90)
- o15.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o15.Velocity = Vector3.new(0.00106650498, 0.00124916411, -0.00218200427)
- o15.Anchored = true
- o15.CanCollide = false
- o15.FormFactor = Enum.FormFactor.Plate
- o15.Size = Vector3.new(10, 0.400000006, 1)
- o15.CFrame = CFrame.new(97.817894, 8.40000725, 13.8115139, 0, 3.86294303e-008, 0.999999762, 0, 1, -3.86821704e-008, -1, 0, 0)
- o15.BackSurface = Enum.SurfaceType.Weld
- o15.BottomSurface = Enum.SurfaceType.Weld
- o15.TopSurface = Enum.SurfaceType.Weld
- o15.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o16.Parent = o15
- o16.MeshType = Enum.MeshType.Wedge
- o17.Parent = o1
- o17.BrickColor = BrickColor.new("Institutional white")
- o17.Position = Vector3.new(96.3181839, 7.00000668, 18.3115101)
- o17.Rotation = Vector3.new(90, 89.9314728, -90)
- o17.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o17.Velocity = Vector3.new(0.00227716356, 0.000697118347, -0.00195027643)
- o17.Anchored = true
- o17.FormFactor = Enum.FormFactor.Plate
- o17.Size = Vector3.new(1, 2.4000001, 2)
- o17.CFrame = CFrame.new(96.3181839, 7.00000668, 18.3115101, 0, 3.96052044e-008, 0.999999285, 0, 1, -3.97634246e-008, -1, 0, 0)
- o17.BackSurface = Enum.SurfaceType.Weld
- o17.BottomSurface = Enum.SurfaceType.Weld
- o17.RightSurface = Enum.SurfaceType.Weld
- o17.TopSurface = Enum.SurfaceType.Weld
- o17.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o18.Parent = o17
- o18.MeshType = Enum.MeshType.Wedge
- o19.Parent = o1
- o19.BrickColor = BrickColor.new("Institutional white")
- o19.Position = Vector3.new(93.8181839, 5.20000744, 13.8115101)
- o19.Rotation = Vector3.new(90, 89.8573456, -90)
- o19.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o19.Velocity = Vector3.new(0.000835234998, 0.00153823046, -0.00148565089)
- o19.Anchored = true
- o19.FormFactor = Enum.FormFactor.Plate
- o19.Size = Vector3.new(10, 1.20000005, 3)
- o19.CFrame = CFrame.new(93.8181839, 5.20000744, 13.8115101, 0, 3.77325726e-008, 0.999996901, 0, 1, -3.84182002e-008, -1, 0, 0)
- o19.BackSurface = Enum.SurfaceType.Weld
- o19.BottomSurface = Enum.SurfaceType.Weld
- o19.TopSurface = Enum.SurfaceType.Weld
- o19.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o20.Parent = o19
- o20.MeshType = Enum.MeshType.Wedge
- o21.Parent = o19
- o21.SoundId = "rbxassetid://532147820"
- o21.Looped = true
- o22.Parent = o1
- o22.BrickColor = BrickColor.new("Institutional white")
- o22.Position = Vector3.new(96.3182907, 4.60000753, 9.31151104)
- o22.Rotation = Vector3.new(-0, 0, -2.23446773e-006)
- o22.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o22.Velocity = Vector3.new(-0.000519967522, 0.00201797695, -0.00230253674)
- o22.Anchored = true
- o22.FormFactor = Enum.FormFactor.Plate
- o22.Size = Vector3.new(2, 2.4000001, 1)
- o22.CFrame = CFrame.new(96.3182907, 4.60000753, 9.31151104, 0.999993801, 3.8998575e-008, 0, -4.03698408e-008, 1, 0, 0, 0, 1)
- o22.BackSurface = Enum.SurfaceType.Weld
- o22.BottomSurface = Enum.SurfaceType.Weld
- o22.FrontSurface = Enum.SurfaceType.Weld
- o22.LeftSurface = Enum.SurfaceType.Weld
- o22.RightSurface = Enum.SurfaceType.Weld
- o22.TopSurface = Enum.SurfaceType.Weld
- o22.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o23.Parent = o22
- o24.Parent = o1
- o24.BrickColor = BrickColor.new("Institutional white")
- o24.Position = Vector3.new(113.817245, 6.80000734, 18.3115101)
- o24.Rotation = Vector3.new(-0, -90, 0)
- o24.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o24.Velocity = Vector3.new(0.00226270943, -0.000567569688, -0.00708095264)
- o24.Anchored = true
- o24.FormFactor = Enum.FormFactor.Plate
- o24.Size = Vector3.new(1, 2.79999995, 1)
- o24.CFrame = CFrame.new(113.817245, 6.80000734, 18.3115101, 0, 5.54578605e-008, -1, 0, 1, 5.54578605e-008, 1, 0, 0)
- o24.BackSurface = Enum.SurfaceType.Weld
- o24.BottomSurface = Enum.SurfaceType.Weld
- o24.TopSurface = Enum.SurfaceType.Weld
- o24.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o25.Parent = o24
- o25.MeshType = Enum.MeshType.Wedge
- o26.Parent = o1
- o26.BrickColor = BrickColor.new("Institutional white")
- o26.Position = Vector3.new(93.0181885, 2.60000825, 13.8115101)
- o26.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
- o26.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o26.Velocity = Vector3.new(0.000647328445, 0.00159604801, -0.00163401756)
- o26.Anchored = true
- o26.FormFactor = Enum.FormFactor.Plate
- o26.Size = Vector3.new(1.39999998, 1.60000002, 10)
- o26.CFrame = CFrame.new(93.0181885, 2.60000825, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
- o26.BackSurface = Enum.SurfaceType.Weld
- o26.BottomSurface = Enum.SurfaceType.Weld
- o26.FrontSurface = Enum.SurfaceType.Weld
- o26.LeftSurface = Enum.SurfaceType.Weld
- o26.RightSurface = Enum.SurfaceType.Weld
- o26.TopSurface = Enum.SurfaceType.Weld
- o26.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o27.Parent = o26
- o28.Parent = o1
- o28.BrickColor = BrickColor.new("Institutional white")
- o28.Position = Vector3.new(113.818176, 6.80000877, 9.31151104)
- o28.Rotation = Vector3.new(-90, -89.7982635, -90)
- o28.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o28.Velocity = Vector3.new(-0.000360969483, 0.000753228669, -0.00708122458)
- o28.Anchored = true
- o28.FormFactor = Enum.FormFactor.Plate
- o28.Size = Vector3.new(1, 2.79999995, 1)
- o28.CFrame = CFrame.new(113.818176, 6.80000877, 9.31151104, 0, 3.89985715e-008, -0.999993801, 0, 1, 4.03698408e-008, 1, 0, 0)
- o28.BackSurface = Enum.SurfaceType.Weld
- o28.BottomSurface = Enum.SurfaceType.Weld
- o28.TopSurface = Enum.SurfaceType.Weld
- o28.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o29.Parent = o28
- o29.MeshType = Enum.MeshType.Wedge
- o30.Parent = o1
- o30.BrickColor = BrickColor.new("Institutional white")
- o30.Position = Vector3.new(96.3181992, 4.60000753, 18.3115101)
- o30.Rotation = Vector3.new(-0, 0, -2.26770203e-006)
- o30.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o30.Velocity = Vector3.new(0.00210371148, 0.000697117415, -0.0023025109)
- o30.Anchored = true
- o30.FormFactor = Enum.FormFactor.Plate
- o30.Size = Vector3.new(2, 2.4000001, 1)
- o30.CFrame = CFrame.new(96.3181992, 4.60000753, 18.3115101, 0.999999046, 3.95788291e-008, 0, -3.97897928e-008, 1, 0, 0, 0, 1)
- o30.BackSurface = Enum.SurfaceType.Weld
- o30.BottomSurface = Enum.SurfaceType.Weld
- o30.FrontSurface = Enum.SurfaceType.Weld
- o30.LeftSurface = Enum.SurfaceType.Weld
- o30.RightSurface = Enum.SurfaceType.Weld
- o30.TopSurface = Enum.SurfaceType.Weld
- o30.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o31.Parent = o30
- o32.Parent = o1
- o32.BrickColor = BrickColor.new("Dark stone grey")
- o32.Position = Vector3.new(95.8181839, 4.60000753, 13.8115101)
- o32.Rotation = Vector3.new(90, 89.960434, -90)
- o32.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o32.Velocity = Vector3.new(0.000791871978, 0.00139368721, -0.00215674727)
- o32.Anchored = true
- o32.FormFactor = Enum.FormFactor.Plate
- o32.Size = Vector3.new(8, 2.4000001, 1)
- o32.CFrame = CFrame.new(95.8181839, 4.60000753, 13.8115101, 0, 3.96579551e-008, 0.999999762, 0, 1, -3.97106952e-008, -1, 0, 0)
- o32.BottomSurface = Enum.SurfaceType.Weld
- o32.TopSurface = Enum.SurfaceType.Weld
- o32.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o33.Parent = o32
- o33.Offset = Vector3.new(0, 0, 0.5)
- o33.Scale = Vector3.new(1, 1, 2)
- o34.Parent = o1
- o34.BrickColor = BrickColor.new("Institutional white")
- o34.Position = Vector3.new(93.8181992, 4.00000715, 13.8115101)
- o34.Rotation = Vector3.new(-0, 0, -2.26770203e-006)
- o34.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o34.Velocity = Vector3.new(0.000748508843, 0.00153822941, -0.00166177051)
- o34.Anchored = true
- o34.FormFactor = Enum.FormFactor.Plate
- o34.Size = Vector3.new(3, 1.20000005, 10)
- o34.CFrame = CFrame.new(93.8181992, 4.00000715, 13.8115101, 0.999999046, 3.95788291e-008, 0, -3.97897928e-008, 1, 0, 0, 0, 1)
- o34.BackSurface = Enum.SurfaceType.Weld
- o34.BottomSurface = Enum.SurfaceType.Weld
- o34.FrontSurface = Enum.SurfaceType.Weld
- o34.LeftSurface = Enum.SurfaceType.Weld
- o34.RightSurface = Enum.SurfaceType.Weld
- o34.TopSurface = Enum.SurfaceType.Weld
- o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o35.Parent = o34
- o36.Parent = o1
- o36.BrickColor = BrickColor.new("Br. yellowish orange")
- o36.Position = Vector3.new(92.2181854, 4.00000715, 18.211504)
- o36.Rotation = Vector3.new(-0, 0, -2.2601489e-006)
- o36.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o36.Velocity = Vector3.new(0.00203119451, 0.00100810977, -0.00119533355)
- o36.Anchored = true
- o36.FormFactor = Enum.FormFactor.Custom
- o36.Size = Vector3.new(0.200000003, 0.800000012, 0.799999714)
- o36.CFrame = CFrame.new(92.2181854, 4.00000715, 18.211504, 0.999997854, 3.94469524e-008, 0, -3.99216233e-008, 1, 0, 0, 0, 1)
- o36.BackSurface = Enum.SurfaceType.Weld
- o36.BottomSurface = Enum.SurfaceType.Weld
- o36.FrontSurface = Enum.SurfaceType.Weld
- o36.LeftSurface = Enum.SurfaceType.Weld
- o36.RightSurface = Enum.SurfaceType.Weld
- o36.TopSurface = Enum.SurfaceType.Weld
- o36.Color = Color3.new(0.886275, 0.607843, 0.25098)
- o37.Parent = o36
- o38.Parent = o1
- o38.BrickColor = BrickColor.new("Institutional white")
- o38.Position = Vector3.new(99.0602112, 4.60000706, 18.3115101)
- o38.Rotation = Vector3.new(-0, 0, -4.84935117e-006)
- o38.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o38.Velocity = Vector3.new(0.00210371148, 0.000498947338, -0.0031018618)
- o38.Anchored = true
- o38.CanCollide = false
- o38.FormFactor = Enum.FormFactor.Plate
- o38.Size = Vector3.new(3.48000026, 2.4000001, 1)
- o38.CFrame = CFrame.new(99.0602112, 4.60000706, 18.3115101, 1, 8.46371435e-008, 0, -8.46371435e-008, 1, 0, 0, 0, 1)
- o38.BottomSurface = Enum.SurfaceType.Weld
- o38.LeftSurface = Enum.SurfaceType.Weld
- o38.RightSurface = Enum.SurfaceType.Weld
- o38.TopSurface = Enum.SurfaceType.Weld
- o38.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o39.Parent = o1
- o39.BrickColor = BrickColor.new("Really red")
- o39.Position = Vector3.new(113.818176, 4.80000877, 9.31151104)
- o39.Rotation = Vector3.new(-0, 0, -2.2344675e-006)
- o39.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o39.Velocity = Vector3.new(-0.000505513046, 0.000753228669, -0.00737475045)
- o39.Anchored = true
- o39.FormFactor = Enum.FormFactor.Plate
- o39.Size = Vector3.new(1, 1.20000005, 1)
- o39.CFrame = CFrame.new(113.818176, 4.80000877, 9.31151104, 0.999993801, 3.89985715e-008, 0, -4.03698408e-008, 1, 0, 0, 0, 1)
- o39.BackSurface = Enum.SurfaceType.Weld
- o39.BottomSurface = Enum.SurfaceType.Weld
- o39.FrontSurface = Enum.SurfaceType.Weld
- o39.LeftSurface = Enum.SurfaceType.Weld
- o39.RightSurface = Enum.SurfaceType.Weld
- o39.TopSurface = Enum.SurfaceType.Weld
- o39.Color = Color3.new(1, 0, 0)
- o40.Parent = o39
- o41.Parent = o1
- o41.BrickColor = BrickColor.new("Institutional white")
- o41.Position = Vector3.new(113.818054, 3.80000734, 9.31151104)
- o41.Rotation = Vector3.new(-0, 0, -2.23295706e-006)
- o41.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o41.Velocity = Vector3.new(-0.000577784958, 0.000753237749, -0.00752147706)
- o41.Anchored = true
- o41.FormFactor = Enum.FormFactor.Plate
- o41.Size = Vector3.new(1, 0.800000012, 1)
- o41.CFrame = CFrame.new(113.818054, 3.80000734, 9.31151104, 0.999993563, 3.89721997e-008, 0, -4.03962055e-008, 1, 0, 0, 0, 1)
- o41.BackSurface = Enum.SurfaceType.Weld
- o41.BottomSurface = Enum.SurfaceType.Weld
- o41.FrontSurface = Enum.SurfaceType.Weld
- o41.LeftSurface = Enum.SurfaceType.Weld
- o41.RightSurface = Enum.SurfaceType.Weld
- o41.TopSurface = Enum.SurfaceType.Weld
- o41.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o42.Parent = o41
- o43.Parent = o1
- o43.BrickColor = BrickColor.new("Institutional white")
- o43.Position = Vector3.new(105.317894, 8.40000725, 13.8115139)
- o43.Rotation = Vector3.new(-0, 0, -2.21481446e-006)
- o43.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o43.Velocity = Vector3.new(0.00106650498, 0.000707125873, -0.00436840346)
- o43.Anchored = true
- o43.CanCollide = false
- o43.FormFactor = Enum.FormFactor.Plate
- o43.Size = Vector3.new(14, 0.400000006, 8)
- o43.CFrame = CFrame.new(105.317894, 8.40000725, 13.8115139, 1, 3.86558057e-008, 0, -3.86558057e-008, 1, 0, 0, 0, 1)
- o43.BackSurface = Enum.SurfaceType.Weld
- o43.BottomSurface = Enum.SurfaceType.Weld
- o43.FrontSurface = Enum.SurfaceType.Weld
- o43.LeftSurface = Enum.SurfaceType.Weld
- o43.RightSurface = Enum.SurfaceType.Weld
- o43.TopSurface = Enum.SurfaceType.Weld
- o43.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o44.Parent = o43
- o45.Parent = o1
- o45.BrickColor = BrickColor.new("Really black")
- o45.Position = Vector3.new(113.818176, 6.80000782, 11.311511)
- o45.Rotation = Vector3.new(-90, -89.9314728, -90)
- o45.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o45.Velocity = Vector3.new(0.000222070201, 0.000459702482, -0.00708122645)
- o45.Anchored = true
- o45.CanCollide = false
- o45.FormFactor = Enum.FormFactor.Plate
- o45.Size = Vector3.new(3, 2.79999995, 1)
- o45.CFrame = CFrame.new(113.818176, 6.80000782, 11.311511, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0)
- o45.BackSurface = Enum.SurfaceType.Weld
- o45.BottomSurface = Enum.SurfaceType.Weld
- o45.TopSurface = Enum.SurfaceType.Weld
- o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o46.Parent = o45
- o46.MeshType = Enum.MeshType.Wedge
- o47.Parent = o1
- o47.BrickColor = BrickColor.new("Institutional white")
- o47.Position = Vector3.new(103.118179, 2.40000772, 13.8115101)
- o47.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
- o47.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o47.Velocity = Vector3.new(0.000632874086, 0.000866103393, -0.0046077203)
- o47.Anchored = true
- o47.FormFactor = Enum.FormFactor.Plate
- o47.Size = Vector3.new(12.3999996, 1.20000005, 10)
- o47.CFrame = CFrame.new(103.118179, 2.40000772, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
- o47.BackSurface = Enum.SurfaceType.Weld
- o47.BottomSurface = Enum.SurfaceType.Weld
- o47.FrontSurface = Enum.SurfaceType.Weld
- o47.LeftSurface = Enum.SurfaceType.Weld
- o47.RightSurface = Enum.SurfaceType.Weld
- o47.TopSurface = Enum.SurfaceType.Weld
- o47.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o48.Parent = o47
- o49.Parent = o1
- o49.BrickColor = BrickColor.new("White")
- o49.Position = Vector3.new(104.018181, 3.20000815, 13.8115101)
- o49.Rotation = Vector3.new(-0, 0, -2.27374471e-006)
- o49.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o49.Velocity = Vector3.new(0.000690691522, 0.000801058719, -0.00475267787)
- o49.Anchored = true
- o49.FormFactor = Enum.FormFactor.Plate
- o49.Size = Vector3.new(20.6000004, 0.400000006, 10)
- o49.CFrame = CFrame.new(104.018181, 3.20000815, 13.8115101, 1, 3.96843305e-008, 0, -3.96843305e-008, 1, 0, 0, 0, 1)
- o49.BackSurface = Enum.SurfaceType.Weld
- o49.BottomSurface = Enum.SurfaceType.Weld
- o49.FrontSurface = Enum.SurfaceType.Weld
- o49.LeftSurface = Enum.SurfaceType.Weld
- o49.RightSurface = Enum.SurfaceType.Weld
- o49.TopSurface = Enum.SurfaceType.Weld
- o49.Color = Color3.new(0.94902, 0.952941, 0.952941)
- o50.Parent = o49
- o51.Parent = o1
- o51.BrickColor = BrickColor.new("Institutional white")
- o51.Position = Vector3.new(107.167747, 5.80000782, 18.3115101)
- o51.Rotation = Vector3.new(-0, 0, -3.14727777e-006)
- o51.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o51.Velocity = Vector3.new(0.00219043763, -8.69987416e-005, -0.00528925471)
- o51.Anchored = true
- o51.FormFactor = Enum.FormFactor.Plate
- o51.Size = Vector3.new(12.3000002, 4.80000019, 1)
- o51.CFrame = CFrame.new(107.167747, 5.80000782, 18.3115101, 1, 5.49303607e-008, 0, -5.49303607e-008, 1, 0, 0, 0, 1)
- o51.BackSurface = Enum.SurfaceType.Weld
- o51.BottomSurface = Enum.SurfaceType.Weld
- o51.FrontSurface = Enum.SurfaceType.Weld
- o51.LeftSurface = Enum.SurfaceType.Weld
- o51.RightSurface = Enum.SurfaceType.Weld
- o51.TopSurface = Enum.SurfaceType.Weld
- o51.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o52.Parent = o51
- o53.Parent = o1
- o53.BrickColor = BrickColor.new("Institutional white")
- o53.Position = Vector3.new(113.818176, 6.80000782, 13.8115101)
- o53.Rotation = Vector3.new(-90, -89.9314728, -90)
- o53.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o53.Velocity = Vector3.new(0.000950869871, 9.27953006e-005, -0.00708122645)
- o53.Anchored = true
- o53.CanCollide = false
- o53.FormFactor = Enum.FormFactor.Plate
- o53.Size = Vector3.new(2, 2.79999995, 1)
- o53.CFrame = CFrame.new(113.818176, 6.80000782, 13.8115101, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0)
- o53.BackSurface = Enum.SurfaceType.Weld
- o53.BottomSurface = Enum.SurfaceType.Weld
- o53.TopSurface = Enum.SurfaceType.Weld
- o53.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o54.Parent = o53
- o54.MeshType = Enum.MeshType.Wedge
- o55.Parent = o1
- o55.BrickColor = BrickColor.new("Really black")
- o55.Position = Vector3.new(113.818176, 6.80000782, 16.3115101)
- o55.Rotation = Vector3.new(-90, -89.9314728, -90)
- o55.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o55.Velocity = Vector3.new(0.0016796696, -0.000274111895, -0.00708122645)
- o55.Anchored = true
- o55.CanCollide = false
- o55.FormFactor = Enum.FormFactor.Plate
- o55.Size = Vector3.new(3, 2.79999995, 1)
- o55.CFrame = CFrame.new(113.818176, 6.80000782, 16.3115101, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0)
- o55.BackSurface = Enum.SurfaceType.Weld
- o55.BottomSurface = Enum.SurfaceType.Weld
- o55.TopSurface = Enum.SurfaceType.Weld
- o55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o56.Parent = o55
- o56.MeshType = Enum.MeshType.Wedge
- o57.Parent = o1
- o57.BrickColor = BrickColor.new("Institutional white")
- o57.Position = Vector3.new(113.818176, 4.40000582, 13.8115101)
- o57.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
- o57.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o57.Velocity = Vector3.new(0.000777417503, 9.27956426e-005, -0.00743345637)
- o57.Anchored = true
- o57.CanCollide = false
- o57.FormFactor = Enum.FormFactor.Plate
- o57.Size = Vector3.new(1, 2, 8)
- o57.CFrame = CFrame.new(113.818176, 4.40000582, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
- o57.BackSurface = Enum.SurfaceType.Weld
- o57.BottomSurface = Enum.SurfaceType.Weld
- o57.FrontSurface = Enum.SurfaceType.Weld
- o57.LeftSurface = Enum.SurfaceType.Weld
- o57.RightSurface = Enum.SurfaceType.Weld
- o57.TopSurface = Enum.SurfaceType.Weld
- o57.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o58.Parent = o57
- o59.Parent = o1
- o59.BrickColor = BrickColor.new("Institutional white")
- o59.Position = Vector3.new(113.818176, 3.80000734, 18.3115101)
- o59.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
- o59.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o59.Velocity = Vector3.new(0.00204589404, -0.000567637384, -0.00752151385)
- o59.Anchored = true
- o59.FormFactor = Enum.FormFactor.Plate
- o59.Size = Vector3.new(1, 0.800000012, 1)
- o59.CFrame = CFrame.new(113.818176, 3.80000734, 18.3115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
- o59.BackSurface = Enum.SurfaceType.Weld
- o59.BottomSurface = Enum.SurfaceType.Weld
- o59.FrontSurface = Enum.SurfaceType.Weld
- o59.LeftSurface = Enum.SurfaceType.Weld
- o59.RightSurface = Enum.SurfaceType.Weld
- o59.TopSurface = Enum.SurfaceType.Weld
- o59.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o60.Parent = o59
- o61.Parent = o1
- o61.BrickColor = BrickColor.new("Institutional white")
- o61.Position = Vector3.new(105.317894, 8.40000725, 18.3115101)
- o61.Rotation = Vector3.new(-0, 0, -2.21330401e-006)
- o61.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o61.Velocity = Vector3.new(0.00237834454, 4.6692905e-005, -0.00436840346)
- o61.Anchored = true
- o61.CanCollide = false
- o61.FormFactor = Enum.FormFactor.Plate
- o61.Size = Vector3.new(14, 0.400000006, 1)
- o61.CFrame = CFrame.new(105.317894, 8.40000725, 18.3115101, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1)
- o61.BackSurface = Enum.SurfaceType.Weld
- o61.BottomSurface = Enum.SurfaceType.Weld
- o61.FrontSurface = Enum.SurfaceType.Weld
- o61.LeftSurface = Enum.SurfaceType.Weld
- o61.RightSurface = Enum.SurfaceType.Weld
- o61.TopSurface = Enum.SurfaceType.Weld
- o61.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o62.Parent = o61
- o63.Parent = o1
- o63.BrickColor = BrickColor.new("Institutional white")
- o63.Position = Vector3.new(97.8181839, 5.79500866, 9.31151104)
- o63.Rotation = Vector3.new(-0, 0, -2.36894834e-006)
- o63.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o63.Velocity = Vector3.new(-0.000433602603, 0.00190957636, -0.00256440602)
- o63.Anchored = true
- o63.CanCollide = false
- o63.FormFactor = Enum.FormFactor.Plate
- o63.Size = Vector3.new(1, 4.80999994, 1)
- o63.CFrame = CFrame.new(97.8181839, 5.79500866, 9.31151104, 1, 4.13459489e-008, 0, -4.13459489e-008, 1, 0, 0, 0, 1)
- o63.BottomSurface = Enum.SurfaceType.Weld
- o63.LeftSurface = Enum.SurfaceType.Weld
- o63.RightSurface = Enum.SurfaceType.Weld
- o63.TopSurface = Enum.SurfaceType.Weld
- o63.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o64.Parent = o1
- o64.BrickColor = BrickColor.new("Institutional white")
- o64.Position = Vector3.new(97.8178101, 7.00000858, 18.3115101)
- o64.Rotation = Vector3.new(-0, 0, -2.14529973e-006)
- o64.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o64.Velocity = Vector3.new(0.00227716402, 0.00058873737, -0.00238744705)
- o64.Anchored = true
- o64.CanCollide = false
- o64.FormFactor = Enum.FormFactor.Plate
- o64.Size = Vector3.new(1, 2.4000001, 1)
- o64.CFrame = CFrame.new(97.8178101, 7.00000858, 18.3115101, 0.999999762, 3.74425326e-008, 0, -3.74952727e-008, 1, 0, 0, 0, 1)
- o64.BottomSurface = Enum.SurfaceType.Weld
- o64.LeftSurface = Enum.SurfaceType.Weld
- o64.RightSurface = Enum.SurfaceType.Weld
- o64.TopSurface = Enum.SurfaceType.Weld
- o64.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o65.Parent = o1
- o65.BrickColor = BrickColor.new("Institutional white")
- o65.Position = Vector3.new(113.418167, 2.40000749, 13.8115101)
- o65.Rotation = Vector3.new(-0, 0, -2.27223404e-006)
- o65.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o65.Velocity = Vector3.new(0.000632874086, 0.000121704477, -0.0076103732)
- o65.Anchored = true
- o65.FormFactor = Enum.FormFactor.Plate
- o65.Size = Vector3.new(1.80000007, 1.20000005, 10)
- o65.CFrame = CFrame.new(113.418167, 2.40000749, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1)
- o65.BackSurface = Enum.SurfaceType.Weld
- o65.BottomSurface = Enum.SurfaceType.Weld
- o65.FrontSurface = Enum.SurfaceType.Weld
- o65.LeftSurface = Enum.SurfaceType.Weld
- o65.RightSurface = Enum.SurfaceType.Weld
- o65.TopSurface = Enum.SurfaceType.Weld
- o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o66.Parent = o65
- o67.Parent = o1
- o67.BrickColor = BrickColor.new("Really red")
- o67.Position = Vector3.new(113.817245, 4.80000687, 18.3115101)
- o67.Rotation = Vector3.new(-0, 0, -3.17145691e-006)
- o67.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o67.Velocity = Vector3.new(0.00211816584, -0.000567570096, -0.0073744799)
- o67.Anchored = true
- o67.FormFactor = Enum.FormFactor.Plate
- o67.Size = Vector3.new(1, 1.20000005, 1)
- o67.CFrame = CFrame.new(113.817245, 4.80000687, 18.3115101, 1, 5.53523627e-008, 0, -5.53523627e-008, 1, 0, 0, 0, 1)
- o67.BackSurface = Enum.SurfaceType.Weld
- o67.BottomSurface = Enum.SurfaceType.Weld
- o67.FrontSurface = Enum.SurfaceType.Weld
- o67.LeftSurface = Enum.SurfaceType.Weld
- o67.RightSurface = Enum.SurfaceType.Weld
- o67.TopSurface = Enum.SurfaceType.Weld
- o67.Color = Color3.new(1, 0, 0)
- o68.Parent = o67
- o69.Parent = o1
- o69.BrickColor = BrickColor.new("Institutional white")
- o69.Position = Vector3.new(112.817894, 8.40000725, 13.8115139)
- o69.Rotation = Vector3.new(-0, 0, -2.21330401e-006)
- o69.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o69.Velocity = Vector3.new(0.00106650498, 0.000165087578, -0.00655480288)
- o69.Anchored = true
- o69.CanCollide = false
- o69.FormFactor = Enum.FormFactor.Plate
- o69.Size = Vector3.new(1, 0.400000006, 10)
- o69.CFrame = CFrame.new(112.817894, 8.40000725, 13.8115139, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1)
- o69.BackSurface = Enum.SurfaceType.Weld
- o69.BottomSurface = Enum.SurfaceType.Weld
- o69.FrontSurface = Enum.SurfaceType.Weld
- o69.LeftSurface = Enum.SurfaceType.Weld
- o69.RightSurface = Enum.SurfaceType.Weld
- o69.TopSurface = Enum.SurfaceType.Weld
- o69.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o70.Parent = o69
- o71.Parent = o1
- o71.BrickColor = BrickColor.new("Really black")
- o71.Position = Vector3.new(92.2181854, 3.8000083, 13.8115101)
- o71.Rotation = Vector3.new(-0, 0, -2.2601489e-006)
- o71.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o71.Velocity = Vector3.new(0.0007340546, 0.00165386556, -0.00122468593)
- o71.Anchored = true
- o71.FormFactor = Enum.FormFactor.Custom
- o71.Size = Vector3.new(0.200000003, 0.800000012, 6)
- o71.CFrame = CFrame.new(92.2181854, 3.8000083, 13.8115101, 0.999997854, 3.94469524e-008, 0, -3.99216233e-008, 1, 0, 0, 0, 1)
- o71.BackSurface = Enum.SurfaceType.Weld
- o71.BottomSurface = Enum.SurfaceType.Weld
- o71.FrontSurface = Enum.SurfaceType.Weld
- o71.LeftSurface = Enum.SurfaceType.Weld
- o71.RightSurface = Enum.SurfaceType.Weld
- o71.TopSurface = Enum.SurfaceType.Weld
- o71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o72.Parent = o71
- o73.Name = "Head"
- o73.Parent = o1
- o73.Material = Enum.Material.SmoothPlastic
- o73.BrickColor = BrickColor.new("Institutional white")
- o73.Position = Vector3.new(99.207077, 7.026577, 15.2047167)
- o73.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o73.Anchored = true
- o73.FormFactor = Enum.FormFactor.Symmetric
- o73.Size = Vector3.new(2, 1, 1)
- o73.CFrame = CFrame.new(99.207077, 7.026577, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o73.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o73.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o73.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o73.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o73.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o73.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o73.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o74.Parent = o73
- o74.Scale = Vector3.new(1.25, 1.25, 1.25)
- o75.Name = "face"
- o75.Parent = o73
- o75.Texture = "rbxasset://textures/face.png"
- o76.Parent = o1
- o76.BrickColor = BrickColor.new("Institutional white")
- o76.Position = Vector3.new(99.6954269, 5.81500673, 9.31151104)
- o76.Rotation = Vector3.new(-0, 0, -8.82515178e-006)
- o76.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o76.Velocity = Vector3.new(-0.000432157307, 0.00177390513, -0.00310872309)
- o76.Anchored = true
- o76.CanCollide = false
- o76.FormFactor = Enum.FormFactor.Plate
- o76.Size = Vector3.new(2.76000023, 4.82999992, 1)
- o76.CFrame = CFrame.new(99.6954269, 5.81500673, 9.31151104, 1, 1.54027958e-007, 0, -1.54027958e-007, 1, 0, 0, 0, 1)
- o76.BottomSurface = Enum.SurfaceType.Weld
- o76.LeftSurface = Enum.SurfaceType.Weld
- o76.RightSurface = Enum.SurfaceType.Weld
- o76.TopSurface = Enum.SurfaceType.Weld
- o76.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o77.Parent = o1
- o77.BrickColor = BrickColor.new("Institutional white")
- o77.Position = Vector3.new(100.909996, 5.80000877, 14.2915134)
- o77.Rotation = Vector3.new(-0, 0, -7.89941078e-006)
- o77.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005)
- o77.Velocity = Vector3.new(0.0010185279, 0.000955246738, -0.00346499542)
- o77.Anchored = true
- o77.FormFactor = Enum.FormFactor.Plate
- o77.Size = Vector3.new(0.200000003, 4.80000019, 9.0199995)
- o77.CFrame = CFrame.new(100.909996, 5.80000877, 14.2915134, 1, 1.37870728e-007, 0, -1.37870728e-007, 1, 0, 0, 0, 1)
- o77.BackSurface = Enum.SurfaceType.Weld
- o77.BottomSurface = Enum.SurfaceType.Weld
- o77.FrontSurface = Enum.SurfaceType.Weld
- o77.LeftSurface = Enum.SurfaceType.Weld
- o77.RightSurface = Enum.SurfaceType.Weld
- o77.TopSurface = Enum.SurfaceType.Weld
- o77.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o78.Parent = o77
- o79.Name = "Head"
- o79.Parent = o1
- o79.Material = Enum.Material.SmoothPlastic
- o79.BrickColor = BrickColor.new("Institutional white")
- o79.Position = Vector3.new(103.10894, 7.49666739, 15.2047167)
- o79.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
- o79.Anchored = true
- o79.FormFactor = Enum.FormFactor.Symmetric
- o79.Size = Vector3.new(2, 1, 1)
- o79.CFrame = CFrame.new(103.10894, 7.49666739, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
- o79.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o79.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o79.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o79.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o79.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o79.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o79.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o80.Parent = o79
- o80.Scale = Vector3.new(1.25, 1.25, 1.25)
- o81.Name = "face"
- o81.Parent = o79
- o81.Texture = "rbxasset://textures/face.png"
- o82.Name = "Handle"
- o82.Parent = o1
- o82.Material = Enum.Material.SmoothPlastic
- o82.Position = Vector3.new(103.10894, 7.34666729, 15.2047167)
- o82.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
- o82.Anchored = true
- o82.CanCollide = false
- o82.FormFactor = Enum.FormFactor.Symmetric
- o82.Size = Vector3.new(2, 2, 2)
- o82.CFrame = CFrame.new(103.10894, 7.34666729, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
- o82.BottomSurface = Enum.SurfaceType.Smooth
- o82.TopSurface = Enum.SurfaceType.Smooth
- o83.Parent = o82
- o83.MeshId = "http://www.roblox.com/asset/?id=15393031"
- o83.TextureId = "http://www.roblox.com/asset/?id=15393013"
- o83.MeshType = Enum.MeshType.FileMesh
- o84.Parent = o1
- o84.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- o84.RightLeg = o94
- o84.LeftLeg = o96
- o84.Torso = o87
- o84.Health = 0
- o84.MaxHealth = 0
- o85.Name = "TPPART"
- o85.Parent = o1
- o85.Transparency = 1
- o85.Position = Vector3.new(104.155182, 4.24109221, 12.6003485)
- o85.Rotation = Vector3.new(-0, 0, -3.5910773e-006)
- o85.Anchored = true
- o85.CanCollide = false
- o85.Size = Vector3.new(4, 1, 2)
- o85.CFrame = CFrame.new(104.155182, 4.24109221, 12.6003485, 1, 6.26761221e-008, 0, -6.26761221e-008, 1, 0, 0, 0, 1)
- o86.Name = "TPPART2"
- o86.Parent = o1
- o86.Transparency = 1
- o86.Position = Vector3.new(104.155182, 5.40188599, 6.32408237)
- o86.Rotation = Vector3.new(-0, 0, -3.5910773e-006)
- o86.Anchored = true
- o86.CanCollide = false
- o86.Size = Vector3.new(4, 1, 2)
- o86.CFrame = CFrame.new(104.155182, 5.40188599, 6.32408237, 1, 6.26761221e-008, 0, -6.26761221e-008, 1, 0, 0, 0, 1)
- o87.Name = "Torso"
- o87.Parent = o1
- o87.Material = Enum.Material.SmoothPlastic
- o87.BrickColor = BrickColor.new("Navy blue")
- o87.Position = Vector3.new(99.207077, 5.526577, 15.2047167)
- o87.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o87.Anchored = true
- o87.FormFactor = Enum.FormFactor.Symmetric
- o87.Size = Vector3.new(2, 2, 1)
- o87.CFrame = CFrame.new(99.207077, 5.526577, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o87.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o87.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o87.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o87.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o87.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o87.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o87.Color = Color3.new(0, 0.12549, 0.376471)
- o88.Name = "roblox"
- o88.Parent = o87
- o89.Name = "Right Shoulder"
- o89.Parent = o87
- o89.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o89.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o89.Part0 = o87
- o89.Part1 = o95
- o89.DesiredAngle = -0.062025275081396
- o89.MaxVelocity = 0.15000000596046
- o90.Name = "Left Shoulder"
- o90.Parent = o87
- o90.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o90.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o90.Part0 = o87
- o90.Part1 = o97
- o90.DesiredAngle = -0.062025275081396
- o90.MaxVelocity = 0.15000000596046
- o91.Name = "Right Hip"
- o91.Parent = o87
- o91.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o91.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o91.Part0 = o87
- o91.Part1 = o94
- o91.DesiredAngle = 0.062025275081396
- o91.MaxVelocity = 0.10000000149012
- o92.Name = "Left Hip"
- o92.Parent = o87
- o92.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o92.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o92.Part0 = o87
- o92.Part1 = o96
- o92.DesiredAngle = 0.062025275081396
- o92.MaxVelocity = 0.10000000149012
- o93.Name = "Neck"
- o93.Parent = o87
- o93.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o93.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o93.Part0 = o87
- o93.Part1 = o73
- o93.MaxVelocity = 0.10000000149012
- o94.Name = "Right Leg"
- o94.Parent = o1
- o94.Material = Enum.Material.SmoothPlastic
- o94.BrickColor = BrickColor.new("Navy blue")
- o94.Position = Vector3.new(99.215416, 3.526577, 14.7047863)
- o94.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o94.Anchored = true
- o94.CanCollide = false
- o94.FormFactor = Enum.FormFactor.Symmetric
- o94.Size = Vector3.new(1, 2, 1)
- o94.CFrame = CFrame.new(99.215416, 3.526577, 14.7047863, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o94.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o94.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o94.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o94.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o94.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o94.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o94.Color = Color3.new(0, 0.12549, 0.376471)
- o95.Name = "Right Arm"
- o95.Parent = o1
- o95.Material = Enum.Material.SmoothPlastic
- o95.BrickColor = BrickColor.new("Maroon")
- o95.Position = Vector3.new(99.2321014, 5.526577, 13.7049236)
- o95.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o95.Anchored = true
- o95.CanCollide = false
- o95.FormFactor = Enum.FormFactor.Symmetric
- o95.Size = Vector3.new(1, 2, 1)
- o95.CFrame = CFrame.new(99.2321014, 5.526577, 13.7049236, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o95.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o95.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o95.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o95.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o95.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o95.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o95.Color = Color3.new(0.458824, 0, 0)
- o96.Name = "Left Leg"
- o96.Parent = o1
- o96.Material = Enum.Material.SmoothPlastic
- o96.BrickColor = BrickColor.new("Navy blue")
- o96.Position = Vector3.new(99.1987381, 3.526577, 15.7046452)
- o96.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o96.Anchored = true
- o96.CanCollide = false
- o96.FormFactor = Enum.FormFactor.Symmetric
- o96.Size = Vector3.new(1, 2, 1)
- o96.CFrame = CFrame.new(99.1987381, 3.526577, 15.7046452, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o96.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o96.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o96.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o96.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o96.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o96.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o96.Color = Color3.new(0, 0.12549, 0.376471)
- o97.Name = "Left Arm"
- o97.Parent = o1
- o97.Material = Enum.Material.SmoothPlastic
- o97.BrickColor = BrickColor.new("Maroon")
- o97.Position = Vector3.new(99.1820602, 5.526577, 16.7045078)
- o97.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o97.Anchored = true
- o97.CanCollide = false
- o97.FormFactor = Enum.FormFactor.Symmetric
- o97.Size = Vector3.new(1, 2, 1)
- o97.CFrame = CFrame.new(99.1820602, 5.526577, 16.7045078, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o97.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o97.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o97.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o97.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o97.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o97.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o97.Color = Color3.new(0.458824, 0, 0)
- o98.Name = "Torso"
- o98.Parent = o1
- o98.Material = Enum.Material.SmoothPlastic
- o98.BrickColor = BrickColor.new("Navy blue")
- o98.Position = Vector3.new(103.10894, 5.99666739, 15.2047167)
- o98.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
- o98.Anchored = true
- o98.FormFactor = Enum.FormFactor.Symmetric
- o98.Size = Vector3.new(2, 2, 1)
- o98.CFrame = CFrame.new(103.10894, 5.99666739, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
- o98.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o98.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o98.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o98.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o98.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o98.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o98.Color = Color3.new(0, 0.12549, 0.376471)
- o99.Name = "roblox"
- o99.Parent = o98
- o100.Name = "Right Hip"
- o100.Parent = o98
- o100.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o100.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o100.Part0 = o98
- o100.Part1 = o103
- o100.DesiredAngle = 0.062025275081396
- o100.MaxVelocity = 0.10000000149012
- o101.Name = "Left Hip"
- o101.Parent = o98
- o101.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o101.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o101.Part0 = o98
- o101.Part1 = o105
- o101.DesiredAngle = 0.062025275081396
- o101.MaxVelocity = 0.10000000149012
- o102.Name = "Neck"
- o102.Parent = o98
- o102.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o102.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o102.Part0 = o98
- o102.Part1 = o79
- o102.MaxVelocity = 0.10000000149012
- o103.Name = "Right Leg"
- o103.Parent = o1
- o103.Material = Enum.Material.SmoothPlastic
- o103.BrickColor = BrickColor.new("Really black")
- o103.Position = Vector3.new(103.608864, 3.99666739, 15.2130556)
- o103.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
- o103.Anchored = true
- o103.CanCollide = false
- o103.FormFactor = Enum.FormFactor.Symmetric
- o103.Size = Vector3.new(1, 2, 1)
- o103.CFrame = CFrame.new(103.608864, 3.99666739, 15.2130556, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
- o103.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o103.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o103.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o103.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o103.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o103.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o104.Name = "Right Arm"
- o104.Parent = o1
- o104.Material = Enum.Material.SmoothPlastic
- o104.BrickColor = BrickColor.new("Maroon")
- o104.Position = Vector3.new(104.615349, 5.89646101, 14.8330393)
- o104.Rotation = Vector3.new(45.0039597, -0.675833881, 0.675880313)
- o104.Anchored = true
- o104.CanCollide = false
- o104.FormFactor = Enum.FormFactor.Symmetric
- o104.Size = Vector3.new(1, 2, 1)
- o104.CFrame = CFrame.new(104.615349, 5.89646101, 14.8330393, 0.999860883, -0.0117952423, -0.0117952526, 0, 0.707107067, -0.707106411, 0.0166809987, 0.707008064, 0.707008719)
- o104.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o104.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o104.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o104.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o104.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o104.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o104.Color = Color3.new(0.458824, 0, 0)
- o105.Name = "Left Leg"
- o105.Parent = o1
- o105.Material = Enum.Material.SmoothPlastic
- o105.BrickColor = BrickColor.new("Really black")
- o105.Position = Vector3.new(102.609009, 3.99666739, 15.1963739)
- o105.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006)
- o105.Anchored = true
- o105.CanCollide = false
- o105.FormFactor = Enum.FormFactor.Symmetric
- o105.Size = Vector3.new(1, 2, 1)
- o105.CFrame = CFrame.new(102.609009, 3.99666739, 15.1963739, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942)
- o105.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o105.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o105.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o105.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o105.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o105.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o106.Name = "Left Arm"
- o106.Parent = o1
- o106.Material = Enum.Material.SmoothPlastic
- o106.BrickColor = BrickColor.new("Maroon")
- o106.Position = Vector3.new(101.617271, 5.96075201, 14.6924496)
- o106.Rotation = Vector3.new(45.0039597, -0.675833881, 0.675880313)
- o106.Anchored = true
- o106.CanCollide = false
- o106.FormFactor = Enum.FormFactor.Symmetric
- o106.Size = Vector3.new(1, 2, 1)
- o106.CFrame = CFrame.new(101.617271, 5.96075201, 14.6924496, 0.999860883, -0.0117952423, -0.0117952526, 0, 0.707107067, -0.707106411, 0.0166809987, 0.707008064, 0.707008719)
- o106.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o106.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o106.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o106.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o106.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o106.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o106.Color = Color3.new(0.458824, 0, 0)
- o107.Parent = o1
- o107.Position = Vector3.new(110.917458, 1.50000954, 18.4564953)
- o107.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
- o107.Anchored = true
- o107.FormFactor = Enum.FormFactor.Symmetric
- o107.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
- o107.CFrame = CFrame.new(110.917458, 1.50000954, 18.4564953, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
- o108.Parent = o107
- o109.Parent = o1
- o109.BrickColor = BrickColor.new("Really black")
- o109.Position = Vector3.new(110.917442, 1.50002527, 9.1665411)
- o109.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
- o109.Anchored = true
- o109.FormFactor = Enum.FormFactor.Symmetric
- o109.Size = Vector3.new(3, 1.20000005, 3)
- o109.CFrame = CFrame.new(110.917442, 1.50002527, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
- o109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o110.Parent = o109
- o111.Parent = o1
- o111.BrickColor = BrickColor.new("Really black")
- o111.Position = Vector3.new(110.917458, 1.50000954, 18.4564953)
- o111.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
- o111.Anchored = true
- o111.FormFactor = Enum.FormFactor.Symmetric
- o111.Size = Vector3.new(3, 1.20000005, 3)
- o111.CFrame = CFrame.new(110.917458, 1.50000954, 18.4564953, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
- o111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o112.Parent = o111
- o113.Parent = o1
- o113.Position = Vector3.new(95.3486252, 1.50002623, 9.1665411)
- o113.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
- o113.Anchored = true
- o113.FormFactor = Enum.FormFactor.Symmetric
- o113.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
- o113.CFrame = CFrame.new(95.3486252, 1.50002623, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
- o114.Parent = o113
- o115.Parent = o1
- o115.BrickColor = BrickColor.new("Really black")
- o115.Position = Vector3.new(95.3486252, 1.50002623, 9.1665411)
- o115.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
- o115.Anchored = true
- o115.FormFactor = Enum.FormFactor.Symmetric
- o115.Size = Vector3.new(3, 1.20000005, 3)
- o115.CFrame = CFrame.new(95.3486252, 1.50002623, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
- o115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o116.Parent = o115
- o117.Parent = o1
- o117.BrickColor = BrickColor.new("Really black")
- o117.Position = Vector3.new(95.3486252, 1.50001001, 18.4564877)
- o117.Rotation = Vector3.new(-90, 1.20620803e-006, -180)
- o117.Anchored = true
- o117.FormFactor = Enum.FormFactor.Symmetric
- o117.Size = Vector3.new(3, 1.20000005, 3)
- o117.CFrame = CFrame.new(95.3486252, 1.50001001, 18.4564877, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008)
- o117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o118.Parent = o117
- o119.Parent = o1
- o119.Position = Vector3.new(110.917442, 1.50002527, 9.1665411)
- o119.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006)
- o119.Anchored = true
- o119.FormFactor = Enum.FormFactor.Symmetric
- o119.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986)
- o119.CFrame = CFrame.new(110.917442, 1.50002527, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009)
- o120.Parent = o119
- o121.Name = "Handle"
- o121.Parent = o1
- o121.Material = Enum.Material.SmoothPlastic
- o121.Position = Vector3.new(99.207077, 6.8765769, 15.2047167)
- o121.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005)
- o121.Anchored = true
- o121.CanCollide = false
- o121.FormFactor = Enum.FormFactor.Symmetric
- o121.Size = Vector3.new(2, 2, 2)
- o121.CFrame = CFrame.new(99.207077, 6.8765769, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915)
- o121.BottomSurface = Enum.SurfaceType.Smooth
- o121.TopSurface = Enum.SurfaceType.Smooth
- o122.Parent = o121
- o122.MeshId = "http://www.roblox.com/asset/?id=15393031"
- o122.TextureId = "http://www.roblox.com/asset/?id=15393013"
- o122.MeshType = Enum.MeshType.FileMesh
- o123.Name = "RPPART"
- o123.Parent = o1
- o123.Transparency = 1
- o123.Position = Vector3.new(103.454132, 5.33460093, 13.0707426)
- o123.Rotation = Vector3.new(-90, 0, -0)
- o123.Anchored = true
- o123.CanCollide = false
- o123.Size = Vector3.new(4, 1, 2)
- o123.CFrame = CFrame.new(103.454132, 5.33460093, 13.0707426, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- o124.Parent = o12
- o124.Texture = "http://roblox.com/asset/?id=112031763"
- function MoveY(model, Position)
- for _,part in pairs (model:GetChildren()) do
- if part.ClassName == "Part" then
- part.CFrame = part.CFrame + Vector3.new(0,Position,0)
- end
- end
- end
- function MoveX(model, Position)
- for _,part in pairs (model:GetChildren()) do
- if part.ClassName == "Part" then
- part.CFrame = part.CFrame + Vector3.new(Position,0,0)
- end
- end
- end
- function MoveSpawn(model, PLAYERPOS)
- for _,part in pairs (model:GetChildren()) do
- if part.ClassName == "Part" then
- part.CFrame = part.CFrame + PLAYERPOS + Vector3.new(50,-2.7,-5)
- end
- end
- end
- function MoveZ(model, Position)
- for _,part in pairs (model:GetChildren()) do
- if part.ClassName == "Part" then
- part.CFrame = part.CFrame + Vector3.new(0,0,Position)
- end
- end
- end
- function MoveZPart(Part, Position)
- Part.CFrame = Part.CFrame + Vector3.new(0,0,Position)
- end
- function MoveXPart(Part, Position)
- Part.CFrame = Part.CFrame + Vector3.new(Position,0,0)
- end
- game.Players[Victim].Character.HumanoidRootPart.Anchored = true
- OMGCREEPY = Instance.new("Sound")
- OMGCREEPY.Parent = o1
- OMGCREEPY.Volume = 10
- OMGCREEPY.SoundId = "rbxassetid://177775134"
- for i,v in pairs (o1:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- v.BackSurface = "SmoothNoOutlines"
- v.FrontSurface = "SmoothNoOutlines"
- v.BottomSurface = "SmoothNoOutlines"
- v.LeftSurface = "SmoothNoOutlines"
- v.RightSurface = "SmoothNoOutlines"
- v.TopSurface = "SmoothNoOutlines"
- end
- end
- OMGCREEPY:Play()
- o21:Play()
- MoveSpawn(o1,game.Players[Victim].Character.HumanoidRootPart.Position)
- for i=1,51 do
- MoveX(o1,-3)
- wait(.05)
- end
- wait(.5)
- MoveZPart(o12,-1)
- wait(.2)
- for i=1,6 do
- MoveXPart(o12,1)
- wait(.1)
- end
- wait(.5)
- game.Players[Victim].Character.HumanoidRootPart.CFrame = o86.CFrame
- wait(.5)
- game.Players[Victim].Character.HumanoidRootPart.CFrame = o85.CFrame
- wait(.5)
- MoveZPart(o12,1)
- wait(.2)
- for i=1,6 do
- MoveXPart(o12,-1)
- wait(.1)
- end
- for i=1,50 do
- MoveX(o1,-3)
- game.Players[Victim].Character.HumanoidRootPart.CFrame = o85.CFrame
- wait(.05)
- end
- game.Players[Victim].Character.Head.face.Texture = "rbxassetid://629925029"
- game.Players[Victim].Character.HumanoidRootPart.CFrame = o123.CFrame
- SCREAM = Instance.new("Sound")
- SCREAM.Parent = game.Players[Victim].Character.Head
- SCREAM.SoundId = "rbxassetid://138167455"
- SCREAM:Play()
- wait(2.5)
- game.Players[Victim].Character.Head.BrickColor = BrickColor.new("Maroon")
- MoveZPart(o12,-1)
- wait(.2)
- for i=1,6 do
- MoveXPart(o12,1)
- wait(.1)
- end
- wait(.5)
- game.Players[Victim].Character.HumanoidRootPart.CFrame = o86.CFrame
- wait(.5)
- MoveZPart(o12,1)
- wait(.2)
- for i=1,6 do
- MoveXPart(o12,-1)
- wait(.1)
- end
- game.Players[Victim].Character.Humanoid.Health = 0
- player = game.Players[Victim]
- char = player.Character
- char.Archivable = true
- local rg = char:Clone()
- rg.HumanoidRootPart:Destroy()
- rg.Name = ""
- rg.Humanoid.MaxHealth = 0
- for i, v in pairs(rg.Torso:GetChildren()) do
- if v:IsA("Motor6D") then
- v:Destroy()
- end
- end
- local n = Instance.new("Glue", rg.Torso)
- n.Name = "Neck"
- n.Part0 = rg.Torso
- n.Part1 = rg.Head
- n.C0 = CFrame.new(0, 1, 0)
- n.C1 = CFrame.new(0, -0.5, 0)
- local rs = Instance.new("Glue", rg.Torso)
- rs.Name = "Right Shoulder"
- rs.Part0 = rg.Torso
- rs.Part1 = rg["Right Arm"]
- rs.C0 = CFrame.new(1.5, 0.5, 0)
- rs.C1 = CFrame.new(0, 0.5, 0)
- local ls = Instance.new("Glue", rg.Torso)
- ls.Name = "Left Shoulder"
- ls.Part0 = rg.Torso
- ls.Part1 = rg["Left Arm"]
- ls.C0 = CFrame.new(-1.5, 0.5, 0)
- ls.C1 = CFrame.new(0, 0.5, 0)
- local rh = Instance.new("Glue", rg.Torso)
- rh.Name = "Right Hip"
- rh.Part0 = rg.Torso
- rh.Part1 = rg["Right Leg"]
- rh.C0 = CFrame.new(0.5, -1, 0)
- rh.C1 = CFrame.new(0, 1, 0)
- local lh = Instance.new("Glue", rg.Torso)
- lh.Name = "Left Hip"
- lh.Part0 = rg.Torso
- lh.Part1 = rg["Left Leg"]
- lh.C0 = CFrame.new(-0.5, -1, 0)
- lh.C1 = CFrame.new(0, 1, 0)
- char.Torso:Destroy()
- char.Head:Destroy()
- char["Left Leg"]:Destroy()
- char["Left Arm"]:Destroy()
- char["Right Leg"]:Destroy()
- char["Right Arm"]:Destroy()
- rg.Parent = game.Workspace
- rg.Head.BrickColor = BrickColor.new("Maroon")
- function DEATH ()
- OHHNELLY = Instance.new("Part")
- OHHNELLY.Parent = workspace
- OHHNELLY.Anchored = false
- OHHNELLY.Material = Enum.Material.SmoothPlastic
- OHHNELLY.BrickColor = BrickColor.new("Maroon")
- OHHNELLY.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- OHHNELLY.Position = rg.Head.Position
- OHHNELLY.Color = Color3.new(0.458824, 0, 0)
- OHHNELLY.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- OHHNELLY.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- OHHNELLY.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- OHHNELLY.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- OHHNELLY.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- OHHNELLY.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- end
- for i=1,20 do
- DEATH()
- MoveX(o1,-3)
- wait(.05)
- end
- o1:Destroy()
- end)
- end)
- liam.Name = "liam"
- liam.Parent = ScreenGui
- liam.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- liam.Position = UDim2.new(0, 0, 0.143558279, 0)
- liam.Size = UDim2.new(0, 200, 0, 104)
- liam.Font = Enum.Font.SourceSans
- liam.Text = "liam"
- liam.TextColor3 = Color3.new(1, 1, 1)
- liam.TextScaled = true
- liam.TextSize = 14
- liam.TextWrapped = true
- liam.MouseButton1Down:connect(function()
- wait(0.016666666666667)
- Anim = nil
- cf = CFrame.new
- function c3(cz, cx, cc)
- return Color3.new(cz / 255, cx / 255, cc / 255)
- end
- angles = CFrame.Angles
- Player = game.Players.LocalPlayer
- Character = Player.Character
- Humanoid = Character.Humanoid
- mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- RightArm = Character["Right Arm"]
- LeftLeg = Character["Left Leg"]
- RightLeg = Character["Right Leg"]
- Head = Character.Head
- Torso = Character.Torso
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- Humanoid.Animator:Destroy()
- Character:WaitForChild("Animate"):Destroy()
- NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootCF = angles(-1.57, 0, 3.14)
- LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = Torso["Right Hip"]
- LH = Torso["Left Hip"]
- Neck = Torso.Neck
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "Right Shoulder"
- RW.Part0 = Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = RightArm
- RW.Parent = Torso
- LW.Name = "Left Shoulder"
- LW.Part0 = Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = LeftArm
- LW.Parent = Torso
- Effects = Instance.new("Folder", Character)
- Effects.Name = "Effects"
- Humanoid.WalkSpeed = 16
- partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {}
- AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 1
- AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1
- AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true
- sine = 0
- attackcounter = 1
- energyslashcounter = 1
- torvel = nil
- attacking = false
- hitfloor, posfloor = nil, nil
- tool = nil
- if script.Parent.ClassName == "HopperBin" then
- tool = script.Parent
- tool.Parent = Player.Backpack
- else
- tool = Instance.new("HopperBin", Player.Backpack)
- tool.Name = "Toy Knife"
- end
- hitbox = Instance.new("Part")
- hitbox.BrickColor = BrickColor.Black()
- hitbox.Transparency = 1
- hitbox.CanCollide = false
- hitbox.Anchored = false
- hitbox.Size = Vector3.new(3, 3, 4)
- meshes = {
- 3270017,
- 20329976,
- 448386996,
- 1095708,
- 1033714,
- 9756362
- }
- sounds = {
- {
- 320557413,
- 320557453,
- 320557487,
- 320557518,
- 320557537,
- 320557563,
- 233856146,
- 233856140
- },
- {
- 234365549,
- 234365573,
- 231917961,
- 231917950,
- 231917856,
- 231917863,
- 231917871
- },
- {
- 262562442,
- 231917806,
- 231917784
- },
- {
- 262562442,
- 233856048,
- 306247739
- }
- }
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.025
- tf = 0
- allowframeloss = true
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 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 >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((1 - t) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((t - 1) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- 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 rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function newPart(par, brick, transp, anch, canc, size, name, mat, ref)
- local p = Instance.new("Part")
- p.BrickColor = brick
- p.Transparency = transp
- p.Material = mat and mat or "SmoothPlastic"
- p.Reflectance = ref and ref or 0
- p.Anchored = anch
- p.CanCollide = canc
- p.Size = size
- p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = 10, 10, 10, 10, 10, 10
- p.Name = name
- p.CFrame = RootPart.CFrame
- p.Parent = par
- return p
- end
- function mesh(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = Instance.new(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid then
- mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
- end
- end
- if offset then
- mesh.Offset = offset
- end
- mesh.Scale = scale
- return mesh
- end
- function weld(parent, part0, part1, c0, c1)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- if c1 then
- weld.C1 = c1
- end
- return weld
- end
- function randomangles(r)
- local random = math.rad((math.random() - 0.5) * 180)
- local randomangles = CFrame.Angles(random, random, random)
- if r and r == 0 then
- return angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- elseif r and r == 1 then
- return math.rad((math.random() - 0.5) * 180)
- elseif r and r == 2 then
- return math.random(-50, 50)
- else
- return randomangles
- end
- end
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10 + 0.5) / 10
- else
- return math.floor(num)
- end
- end
- function sound(id, par, vol, dur, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
- swait()
- sou:play()
- wait(dur)
- sou:Destroy()
- end))
- end
- function findCloseHumanoid(centre, distance)
- local tab = {}
- for _, child in pairs(game.Workspace:GetChildren()) do
- if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
- local vtors = child.Torso
- local mag = math.abs((vtors.Position - centre).magnitude)
- if distance >= mag then
- table.insert(tab, child.Humanoid)
- end
- end
- end
- return tab
- end
- function basicDamage(vhum, damage, colour)
- if not vhum or not vhum.Parent:findFirstChild("Humanoid") or vhum.Health <= 0 then
- return
- end
- vhum.Health = vhum.Health - damage
- local damagepart = Instance.new("Part", Effects)
- damagepart.Transparency = 1
- damagepart.Anchored = true
- damagepart.CanCollide = false
- damagepart.Size = Vector3.new(1, 1, 1)
- damagepart.Name = "DamagePart"
- damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
- local g = Instance.new("BillboardGui", damagepart)
- g.Enabled = true
- g.Adornee = damagepart
- g.Size = UDim2.new(5, 0, 5, 0)
- g.ExtentsOffset = Vector3.new(0, 0, 0)
- g.StudsOffset = Vector3.new(0, 0, 0)
- local t = Instance.new("TextLabel", g)
- t.BackgroundTransparency = 1
- t.Font = "ArialBold"
- t.TextSize = 24
- t.Text = "-" .. round(damage)
- if round(damage) % 1 == 0 then
- t.Text = "-" .. round(damage) .. ".0"
- end
- t.Size = UDim2.new(1, 0, 1, 0)
- t.TextStrokeTransparency = 0
- t.TextTransparency = 0
- t.TextScaled = true
- t.TextWrapped = true
- t.TextXAlignment = "Center"
- t.TextYAlignment = "Center"
- t.TextColor3 = colour
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- game:GetService("RunService").Heartbeat:wait()
- local sinewave = math.sin(i / 500) * 4
- damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
- t.TextTransparency = t.TextTransparency + 0.02
- t.TextStrokeTransparency = t.TextTransparency + 0.02
- end
- damagepart:Destroy()
- end), t)
- end
- function magic(type, thing)
- local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- if t == 1 or t == nil then
- table.insert(partEffects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif t == 2 then
- table.insert(partEffects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
- local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- table.insert(partEffects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
- local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- table.insert(partEffects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part:Destroy()
- end), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part:Destroy()
- end), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- local par = thing[1]
- local brick = thing[2]
- local cframe = thing[3]
- local x1 = thing[4]
- local y1 = thing[5]
- local z1 = thing[6]
- local x3 = thing[7]
- local y3 = thing[8]
- local z3 = thing[9]
- local delay = thing[10]
- local t = thing[11]
- if type == "Block" or type == 1 then
- magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Cylinder" or type == 2 then
- magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Sphere" or type == 3 then
- magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Ring" or type == 4 then
- magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Slash" or type == 5 then
- magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- end
- end
- function newFrame(par, bg, transp, size, pos, name)
- local f = Instance.new("Frame", nil)
- f.BackgroundColor3 = bg
- f.BackgroundTransparency = transp
- f.BorderSizePixel = 0
- f.Position = pos
- f.Size = size
- f.Name = name
- f.Parent = par
- return f
- end
- function newLabel(par, size, pos, text, textsize, text3, textstroke3, scaled, name)
- local l = Instance.new("TextLabel", nil)
- l.BackgroundTransparency = 1
- l.Size = size
- l.Position = pos
- l.Text = text
- l.TextSize = textsize
- l.TextColor3 = text3
- l.TextStrokeColor3 = textstroke3
- if scaled then
- l.TextScaled = scaled
- else
- l.TextScaled = true
- end
- l.TextStrokeTransparency = 0
- l.Name = name
- l.Parent = par
- return l
- end
- a1t = "Anger"
- a2t = "Power"
- a3t = "Hate"
- a4t = "Determination"
- backc3 = c3(107, 107, 107)
- reloc3 = c3(62, 62, 62)
- g = Instance.new("ScreenGui")
- f1 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.85, 0), "")
- f2 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.76, 0), "")
- f3 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.67, 0), "")
- f4 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.58, 0), "")
- newFrame(f1, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newFrame(f2, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newFrame(f3, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newFrame(f4, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newLabel(f1, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(Z)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
- newLabel(f2, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(X)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
- newLabel(f3, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(C)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
- newLabel(f4, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(V)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
- newLabel(f1, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a1t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
- newLabel(f2, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a2t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
- newLabel(f3, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a3t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
- newLabel(f4, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a4t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
- g.Parent = Player.PlayerGui
- Reload = {}
- Reload[1] = f1.Reload
- Reload[2] = f2.Reload
- Reload[3] = f3.Reload
- Reload[4] = f4.Reload
- weapon = Instance.new("Model", Character)
- weapon.Name = "Toy Knife"
- p0 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
- mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 2.39999986, 6.57500076))
- p1 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
- mesh("SpecialMesh", p1, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.425000012, 1.70000005))
- p1 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p1")
- mesh("SpecialMesh", p1, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.425000012, 1.70000005))
- p2 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
- mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.999999881, 3.02500105))
- p2 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p2")
- mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.999999881, 3.02500105))
- p3 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
- mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.974999905, 1.70000064))
- p3 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p3")
- mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.974999905, 1.70000064))
- p4 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
- mesh("SpecialMesh", p4, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 1.32500005))
- p4 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p4")
- mesh("SpecialMesh", p4, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 1.32500005))
- p5 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
- mesh("SpecialMesh", p5, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 0.350000083))
- p5 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p5")
- mesh("SpecialMesh", p5, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 0.350000083))
- p6 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Handle")
- mesh("SpecialMesh", p6, Enum.MeshType.Cylinder, nil, Vector3.new(0, 0, 0), Vector3.new(5, 0.75, 0.800000012))
- p6 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p6")
- mesh("SpecialMesh", p6, Enum.MeshType.Cylinder, nil, Vector3.new(0, 0, 0), Vector3.new(5, 0.75, 0.800000012))
- weld(p0, p0, p1, CFrame.new(-0.400014997, -2.90028477, 2.71900272, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.400014997, 2.68303514, 3.62925434, -1, 0, 0, 0, -1, 0, 0, 0, 1))
- weld(p1, p1, p2, CFrame.new(0.400014997, 2.68303514, 3.62925434, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(-0.400014997, -3.05428457, 3.77500391, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- weld(p2, p2, p3, CFrame.new(-0.400014997, -3.05428457, 3.77500391, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400014997, -2.83703494, 3.62925434, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- weld(p3, p3, p4, CFrame.new(-0.400014997, -2.83703494, 3.62925434, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.400014997, 2.83703494, 3.96200418, -1, 0, 0, 0, -1, 0, 0, 0, 1))
- weld(p4, p4, p5, CFrame.new(0.400014997, 2.83703494, 3.96200418, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(0.400014997, 3.05703473, 4.14625359, -1, 0, 0, 0, -1, 0, 0, 0, 1))
- weld(p5, p5, p6, CFrame.new(0.400014997, 3.05703473, 4.14625359, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(1.48875475, 2.98278475, -0.400014997, 0, 4.37113883E-8, 1, 0, -1, 4.37113883E-8, 1, 0, 0))
- handleweld = Instance.new("Weld", RightArm)
- handleweld.Part1 = RightArm
- handleweld.Part0 = p6
- handlec0 = CFrame.new(0, -0.95, 0) * angles(0, math.pi / 2, math.pi)
- handleweld.C0 = handlec0
- function attackone()
- attacking = true
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(60)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-60)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.9, 0) * CFrame.Angles(math.rad(180), 0, math.rad(10)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
- end
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(120), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- sound(sounds[1][1], Character.Head, 1, 4, 1.5)
- local hitb = hitbox.Touched:connect(function(hit)
- if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
- if hit.Parent:findFirstChild("Hit" .. Player.Name) then
- return
- end
- local str = Instance.new("StringValue", hit.Parent)
- str.Name = "Hit" .. Player.Name
- game.Debris:AddItem(str, 0.3)
- basicDamage(hit.Parent.Humanoid, math.random(9, 13), Color3.fromRGB(243, 242, 242))
- end
- end)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.4)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(45), math.rad(-65), math.rad(5)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
- hitbox.Parent = weapon
- hitbox.Size = Vector3.new(2, 5, 8)
- if smp then
- hitbox.CFrame = smp.CFrame
- else
- hitbox.Parent = nil
- end
- end
- hitb:disconnect()
- hitbox.Parent = nil
- attacking = false
- end
- function attacktwo()
- attacking = true
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
- end
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(80), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- sound(sounds[1][2], Character.Head, 1, 4, 1.5)
- local hitb = hitbox.Touched:connect(function(hit)
- if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
- if hit.Parent:findFirstChild("Hit" .. Player.Name) then
- return
- end
- local str = Instance.new("StringValue", hit.Parent)
- str.Name = "Hit" .. Player.Name
- game.Debris:AddItem(str, 0.3)
- basicDamage(hit.Parent.Humanoid, math.random(9, 13), Color3.fromRGB(243, 242, 242))
- end
- end)
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
- hitbox.Parent = weapon
- hitbox.Size = Vector3.new(2, 5, 8)
- if smp then
- hitbox.CFrame = smp.CFrame
- else
- hitbox.Parent = nil
- end
- end
- hitb:disconnect()
- hitbox.Parent = nil
- attacking = false
- end
- function attackthree()
- attacking = true
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(20), 0, math.rad(80)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(-45)) * CFrame.Angles(math.rad(-25), 0, 0), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
- end
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(-70), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- sound(sounds[1][3], Character.Head, 1, 4, 1.5)
- local hitb = hitbox.Touched:connect(function(hit)
- if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
- if hit.Parent:findFirstChild("Hit" .. Player.Name) then
- return
- end
- local str = Instance.new("StringValue", hit.Parent)
- str.Name = "Hit" .. Player.Name
- game.Debris:AddItem(str, 0.3)
- basicDamage(hit.Parent.Humanoid, math.random(9, 13), Color3.fromRGB(243, 242, 242))
- end
- end)
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.8, 0.4) * angles(math.rad(0), math.rad(-40), math.rad(120)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
- hitbox.Parent = weapon
- hitbox.Size = Vector3.new(2, 5, 8)
- if smp then
- hitbox.CFrame = smp.CFrame
- else
- hitbox.Parent = nil
- end
- end
- hitb:disconnect()
- hitbox.Parent = nil
- attacking = false
- end
- function rapidslash()
- attacking = true
- AttackHas[1] = 0
- AttackCan[1] = false
- for i = 1, 3 do
- swait()
- for i = 0, 1, 0.2 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(60)), 0.6)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-60)), 0.6)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.9, 0) * CFrame.Angles(math.rad(180), 0, math.rad(10)), 0.6)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
- end
- sound(sounds[1][1], Character.Head, 1, 7, 1.5)
- do
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
- basicDamage(v, 6, c3(243, 242, 242))
- end
- for i = 0, 1, 0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.6)
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.6)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(45), math.rad(-65), math.rad(5)), 0.6)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.6)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
- end
- sound(sounds[1][1], Character.Head, 1, 7, 1.5)
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
- basicDamage(v, 6, c3(243, 242, 242))
- end
- for i = 0, 1, 0.2 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.6)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(20), 0, math.rad(80)), 0.6)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(-45)) * CFrame.Angles(math.rad(-25), 0, 0), 1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
- end
- sound(sounds[1][1], Character.Head, 1, 7, 1.5)
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
- basicDamage(v, 6, c3(243, 242, 242))
- end
- for i = 0, 1, 0.2 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.6)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.6)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.6)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.6)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.6)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
- end
- sound(sounds[1][1], Character.Head, 1, 7, 1.5)
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
- basicDamage(v, 6, c3(243, 242, 242))
- end
- for i = 0, 1, 0.2 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.6)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.6)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.6)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.6)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
- end
- sound(sounds[1][1], Character.Head, 1, 7, 1.5)
- local smp = newPart(Effects, BrickColor.new("Lily white"), 0, true, false, Vector3.new(), "Slash")
- mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
- smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
- delay(0.1, function()
- table.insert(partEffects, {
- smp,
- "Disappear",
- 0.05
- })
- end)
- for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
- basicDamage(v, 6, c3(243, 242, 242))
- end
- end
- end
- AttackCan[1] = true
- attacking = false
- end
- function powerslash()
- attacking = true
- AttackCan[2] = false
- AttackHas[2] = AttackHas[2] - 0.2
- local orbs = {}
- if energyslashcounter == 1 then
- energyslashcounter = 2
- sound(367453005, Character.Head, 1, 4, 1)
- do
- local now = RootPart.CFrame * CFrame.new(0, 0, -10)
- local bo = {
- BrickColor.new("Bright orange"),
- BrickColor.new("Toothpaste")
- }
- local bon = bo[math.random(1, 2)]
- for i = 1, 5 do
- local orb = newPart(Effects, bon, 0, true, false, Vector3.new(), "Orange", "SmoothPlastic", RootPart.CFrame * CFrame.new(0, 0, -15))
- local omesh = mesh("SpecialMesh", orb, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
- orb.CFrame = now * CFrame.new((math.random() - 0.5) * 20, 0, (math.random() - 0.5) * 20)
- table.insert(orbs, orb)
- end
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.15)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(80)), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
- end
- for i = 1, #orbs do
- do
- local orb = orbs[i]
- table.insert(partEffects, {
- orb,
- "Block2",
- 0.05,
- 10,
- 10,
- 10,
- orb.Mesh
- })
- thread(function()
- for i = 1, 3 do
- swait(5)
- for i, v in pairs(findCloseHumanoid(orb.Position, 10)) do
- if bon == BrickColor.new("Bright orange") then
- if (v.Parent.Torso.Velocity * Vector3.new(1, 1, 1)).magnitude < 2 then
- basicDamage(v, 6, BrickColor.new("Bright orange").Color)
- end
- elseif bon == BrickColor.new("Toothpaste") and (v.Parent.Torso.Velocity * Vector3.new(1, 1, 1)).magnitude > 2 then
- basicDamage(v, 6, BrickColor.new("Toothpaste").Color)
- end
- end
- end
- end)
- end
- end
- sound(sounds[1][2], Character.Head, 1, 4, 0.8)
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(-5)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
- end
- end
- elseif energyslashcounter == 2 then
- energyslashcounter = 3
- sound(306247749, Character.Head, 1, 4, 1)
- local gparts = {}
- for i = 1, 9 do
- local gpart = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Violet", "SmoothPlastic")
- local gmesh = mesh("CylinderMesh", gpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(50, 10, 50))
- gpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-20, 20), -3, -15 + math.random(-20, 20))
- table.insert(gparts, gpart)
- end
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(80)), 0.15)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(-80)), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.4) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(15)) * CFrame.Angles(math.rad(0), 0, 0), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
- end
- for i = 1, #gparts do
- local gpart = gparts[i]
- table.insert(partEffects, {
- gpart,
- "Block2",
- 0.05,
- -1,
- 50,
- -1,
- gpart.Mesh
- })
- for i, v in pairs(findCloseHumanoid(gpart.Position, 10)) do
- basicDamage(v, 15, BrickColor.new("Dark blue").Color)
- local bv = Instance.new("BodyVelocity", v.Parent.Torso)
- game.Debris:AddItem(bv, 1)
- bv.Velocity = Vector3.new(0, 40, 0)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- end
- end
- sound(sounds[1][3], Character.Head, 1, 4, 0.8)
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(80)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * angles(math.rad(125), math.rad(-40), math.rad(60)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
- end
- elseif energyslashcounter == 3 then
- energyslashcounter = 1
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(80)), 0.15)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(-80)), 0.15)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
- end
- sound(sounds[2][5], Character.Head, 1, 4, 0.8)
- thread(function()
- for i = 1, 6 do
- swait()
- sound(438149153, Character.Head, 1, 4, 0.8)
- do
- local prt = newPart(Effects, BrickColor.new("Bright yellow"), 0, false, false, Vector3.new(), "Yellow", "SmoothPlastic", RootPart.CFrame)
- local mesh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 2.5))
- prt.CFrame = RootPart.CFrame * CFrame.new(math.random(-3, 3), math.random(-1, 1), math.random(-3, 3))
- local bv = Instance.new("BodyVelocity", prt)
- bv.Velocity = RootPart.CFrame.lookVector * 150
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- game.Debris:AddItem(bv, 6)
- local orlook = RootPart.CFrame.lookVector
- thread(function()
- while prt do
- swait()
- local hitpart, pospart = rayCast(prt.Position, orlook, 4, Character)
- if hitpart and pospart then
- prt:Destroy()
- do
- local ref = newPart(Effects, BrickColor.Black(), 1, true, false, Vector3.new(), "")
- ref.CFrame = CFrame.new(pospart)
- sound(142070127, ref, 1, 4, 1)
- delay(4, function()
- ref:Destroy()
- end)
- magic("Block", {
- Effects,
- BrickColor.new("Bright yellow"),
- CFrame.new(pospart),
- 0.2,
- 0.2,
- 0.2,
- 0.9,
- 0.9,
- 0.9,
- 0.05,
- 1
- })
- magic("Block", {
- Effects,
- BrickColor.new("Bright yellow"),
- CFrame.new(pospart),
- 0.2,
- 0.2,
- 0.2,
- 0.9,
- 0.9,
- 0.9,
- 0.05,
- 1
- })
- if hitpart.Parent:findFirstChild("Humanoid") then
- basicDamage(hitpart.Parent.Humanoid, 12, BrickColor.new("Bright yellow").Color)
- end
- break
- end
- end
- end
- end)
- end
- end
- end)
- end
- attacking = false
- AttackCan[2] = true
- end
- function leftright()
- attacking = true
- AttackCan[3] = false
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
- end
- thread(function()
- local laser = newPart(nil, BrickColor.new("Bright red"), 0.5, true, false, Vector3.new(), "Laser", "SmoothPlastic")
- local lmsh = mesh("BlockMesh", nil, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
- local lasers = {}
- local keypoints1, keypoints2, keypoints3, keypoints4, keypoints5, keypoints6 = {}, {}, {}, {}, {}, {}
- local radius = 10
- local num = 12
- for i = 1, num do
- table.insert(keypoints1, {
- RootPart.CFrame.p,
- RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num) * i), 0, math.sin(math.rad(360 / num) * i))
- })
- table.insert(keypoints2, {
- RootPart.CFrame.p,
- RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 45 * i) * i), 0, math.sin(math.rad(360 / num + 45 * i) * i))
- })
- table.insert(keypoints3, {
- RootPart.CFrame.p,
- RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 90 * i) * i), 0, math.sin(math.rad(360 / num + 90 * i) * i))
- })
- table.insert(keypoints4, {
- RootPart.CFrame.p,
- RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 135 * i) * i), 0, math.sin(math.rad(360 / num + 135 * i) * i))
- })
- end
- local keypointstotal = {
- keypoints1,
- keypoints2,
- keypoints3,
- keypoints4
- }
- for ii = 1, #keypointstotal do
- swait(5)
- do
- local currpoint = keypointstotal[ii]
- for i = 1, #currpoint do
- do
- local start = currpoint[i][1]
- local look = currpoint[i][2]
- local laserc = laser:Clone()
- local lmshc = lmsh:Clone()
- local hit, pos = rayCast(start, look, 100000, Character)
- laserc.CFrame = CFrame.new((start + pos) / 2, pos) * angles(math.rad(90), 0, 0)
- local mag = (laserc.Position - pos).magnitude * 2
- lmshc.Scale = Vector3.new(2, mag * 5, 2)
- laserc.Parent = Effects
- lmshc.Parent = laserc
- thread(function()
- table.insert(partEffects, {
- laserc,
- "Block2",
- 0.025,
- -0.1,
- 0,
- -0.1,
- lmshc
- })
- local start = currpoint[i][1]
- local look = currpoint[i][2]
- look = CFrame.new(start, start + look).lookVector
- local hit, pos = rayCast(start, look, 100000, Character)
- repeat
- swait()
- until laserc.Parent == nil
- local lpart = newPart(Effects, BrickColor.new("Black"), 0.5, true, false, Vector3.new(), "Cut", "SmoothPlastic")
- sound(406913243, Head, 0.6, 4, 1)
- local lpartm = mesh("BlockMesh", lpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5, mag * 5, 5))
- lpart.CFrame = laserc.CFrame * CFrame.new(0, 0, 0)
- table.insert(partEffects, {
- lpart,
- "Block2",
- 0.05,
- 1,
- 0,
- 1,
- lpartm
- })
- local lpart = newPart(Effects, BrickColor.new("Lily white"), 0.5, true, false, Vector3.new(), "Cut", "SmoothPlastic")
- local lpartm = mesh("BlockMesh", lpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(8, mag * 5, 8))
- lpart.CFrame = laserc.CFrame * CFrame.new(0, 0, 0)
- table.insert(partEffects, {
- lpart,
- "Block2",
- 0.05,
- 1,
- 0,
- 1,
- lpartm
- })
- local hit, pos = rayCast(start, look, 100000, Character)
- if hit ~= nil then
- if hit.Parent.ClassName == "Accessory" or hit.Parent.ClassName == "Hat" then
- if hit.Parent.Parent:findFirstChild("Humanoid") then
- basicDamage(hit.Parent.Parent.Humanoid, 20, BrickColor.new("Bright red").Color)
- end
- elseif hit.Parent:findFirstChild("Humanoid") then
- basicDamage(hit.Parent.Humanoid, 20, BrickColor.new("Bright red").Color)
- end
- end
- end)
- end
- end
- end
- end
- end)
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
- end
- AttackCan[3] = true
- attacking = false
- end
- function mouse1d()
- if tool.Active == false then
- return
- end
- if attacking == false and attackcounter == 1 then
- attackcounter = 2
- attackone()
- elseif attacking == false and attackcounter == 2 then
- attackcounter = 3
- attacktwo()
- elseif attacking == false and attackcounter == 3 then
- attackcounter = 1
- attackthree()
- end
- end
- function key(k)
- if tool.Active == false then
- return
- end
- k = k:lower()
- if attacking == false and k == "z" and AttackHas[1] >= AttackNeeded[1] then
- rapidslash()
- elseif attacking == false and k == "x" and AttackHas[2] >= 0.2 then
- powerslash()
- elseif attacking == false and k == "c" and AttackHas[3] >= AttackNeeded[3] then
- leftright()
- elseif attacking ~= false or k ~= "v" or AttackHas[4] >= AttackNeeded[4] then
- end
- end
- asdasd = mouse.Button1Down:connect(mouse1d)
- asdasdf = mouse.KeyDown:connect(key)
- Humanoid.Died:connect(function()
- asdasd:disconnect()
- asdasdf:disconnect()
- end)
- thread(function()
- while true do
- swait()
- torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- sine = sine + 1
- if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then
- AttackHas[1] = AttackHas[1] + 0.005
- end
- if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then
- AttackHas[2] = AttackHas[2] + 0.005
- end
- if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then
- AttackHas[3] = AttackHas[3] + 0.005
- end
- if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then
- AttackHas[4] = AttackHas[4] + 0.005
- end
- Reload[1]:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4)
- Reload[2]:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4)
- Reload[3]:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4)
- Reload[4]:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4)
- if 1 < RootPart.Velocity.y and hitfloor == nil then
- if attacking == false then
- Anim = "Jump"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- if attacking == false then
- Anim = "Fall"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(23), 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2)
- end
- elseif torvel < 1 and hitfloor ~= nil then
- if attacking == false then
- Anim = "Idle"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-5), 0, math.rad(15)), 0.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.2 * math.cos(sine / 25)) * CFrame.Angles(math.rad(10), 0, math.rad(-15)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(5), math.rad(-15), math.rad(10) + 0.1 * math.cos(sine / 25)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-10) - 0.1 * math.cos(sine / 25)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1.1 - 0.2 * math.cos(sine / 25), 0) * CFrame.Angles(math.rad(10), math.rad(105), math.rad(-5)) * CFrame.Angles(math.rad(-4), 0, math.rad(-5)), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 - 0.2 * math.cos(sine / 25), 0) * CFrame.Angles(math.rad(10), -math.rad(75), math.rad(-2)) * CFrame.Angles(math.rad(-13), 0, 0), 0.2)
- end
- elseif torvel > 2 and hitfloor ~= nil and attacking == false then
- Anim = "Walk"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.2 * math.cos(sine / 25)) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(5), math.rad(-15), math.rad(10) + 0.1 * math.cos(sine / 25)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-10) - 0.1 * math.cos(sine / 25)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(sine * 1.2 / 8), math.rad(90), 0), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(sine * 1.2 / 8), -math.rad(90), 0), 0.3)
- end
- if 0 < #partEffects then
- for e = 1, #partEffects do
- if partEffects[e] ~= nil then
- local Thing = partEffects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if 1 >= Thing[1].Transparency then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part:Destroy()
- table.remove(partEffects, e)
- end
- end
- end
- end
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement