Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local MainMenuFrame = Instance.new("Frame")
- local WelcomeToOverCodeGuiByHarry = Instance.new("TextLabel")
- local Password = Instance.new("TextLabel")
- local Username = Instance.new("TextLabel")
- local TextBox = Instance.new("TextBox")
- local TextBox_2 = Instance.new("TextBox")
- local Done = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local GrabKnife = Instance.new("TextButton")
- local Train = Instance.new("TextButton")
- local Hammer = Instance.new("TextButton")
- local Ravenger = Instance.new("TextButton")
- local Guards = Instance.new("TextButton")
- local Lemonade = Instance.new("TextButton")
- local Explode = Instance.new("TextButton")
- local Clown = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- MainMenuFrame.Name = "MainMenuFrame"
- MainMenuFrame.Parent = ScreenGui
- MainMenuFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MainMenuFrame.Position = UDim2.new(0, 919, 0, 239)
- MainMenuFrame.Size = UDim2.new(0, 331, 0, 341)
- WelcomeToOverCodeGuiByHarry.Name = "Welcome To OverCode Gui By Harry"
- WelcomeToOverCodeGuiByHarry.Parent = MainMenuFrame
- WelcomeToOverCodeGuiByHarry.BackgroundColor3 = Color3.new(0, 0, 0)
- WelcomeToOverCodeGuiByHarry.BorderColor3 = Color3.new(0, 0, 0)
- WelcomeToOverCodeGuiByHarry.Size = UDim2.new(0, 331, 0, 23)
- WelcomeToOverCodeGuiByHarry.Font = Enum.Font.SourceSans
- WelcomeToOverCodeGuiByHarry.FontSize = Enum.FontSize.Size14
- WelcomeToOverCodeGuiByHarry.Text = "Welcome To OverCode Gui By Harry"
- WelcomeToOverCodeGuiByHarry.TextColor3 = Color3.new(1, 1, 1)
- WelcomeToOverCodeGuiByHarry.TextScaled = true
- WelcomeToOverCodeGuiByHarry.TextSize = 14
- WelcomeToOverCodeGuiByHarry.TextWrapped = true
- Password.Name = "Password:"
- Password.Parent = MainMenuFrame
- Password.BackgroundColor3 = Color3.new(0, 0, 0)
- Password.BorderColor3 = Color3.new(0, 0, 0)
- Password.Position = UDim2.new(0, 0, 0, 229)
- Password.Size = UDim2.new(0, 79, 0, 39)
- Password.Font = Enum.Font.SourceSans
- Password.FontSize = Enum.FontSize.Size14
- Password.Text = "Password:"
- Password.TextColor3 = Color3.new(1, 1, 1)
- Password.TextScaled = true
- Password.TextSize = 14
- Password.TextWrapped = true
- Username.Name = "Username:"
- Username.Parent = MainMenuFrame
- Username.BackgroundColor3 = Color3.new(0, 0, 0)
- Username.BorderColor3 = Color3.new(0, 0, 0)
- Username.Position = UDim2.new(0, 0, 0, 111)
- Username.Size = UDim2.new(0, 79, 0, 39)
- Username.Font = Enum.Font.SourceSans
- Username.FontSize = Enum.FontSize.Size14
- Username.Text = "Username:"
- Username.TextColor3 = Color3.new(1, 1, 1)
- Username.TextScaled = true
- Username.TextSize = 14
- Username.TextWrapped = true
- TextBox.Parent = MainMenuFrame
- TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
- TextBox.Position = UDim2.new(0, 131, 0, 120)
- TextBox.Size = UDim2.new(0, 200, 0, 50)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.FontSize = Enum.FontSize.Size14
- TextBox.Text = "UsernameHere"
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- TextBox_2.Parent = MainMenuFrame
- TextBox_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextBox_2.Position = UDim2.new(0, 131, 0, 210)
- TextBox_2.Size = UDim2.new(0, 200, 0, 50)
- TextBox_2.Font = Enum.Font.SourceSans
- TextBox_2.FontSize = Enum.FontSize.Size14
- TextBox_2.Text = "PasswordHere"
- TextBox_2.TextColor3 = Color3.new(1, 1, 1)
- TextBox_2.TextScaled = true
- TextBox_2.TextSize = 14
- TextBox_2.TextWrapped = true
- Done.Name = "Done"
- Done.Parent = ScreenGui
- Done.BackgroundColor3 = Color3.new(0, 0, 0)
- Done.BorderColor3 = Color3.new(0, 0, 0)
- Done.Position = UDim2.new(0, 986, 0, 508)
- Done.Size = UDim2.new(0, 200, 0, 50)
- Done.Font = Enum.Font.SourceSans
- Done.FontSize = Enum.FontSize.Size14
- Done.Text = "Done"
- Done.TextColor3 = Color3.new(1, 1, 1)
- Done.TextScaled = true
- Done.TextSize = 14
- Done.TextWrapped = true
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BorderColor3 = Color3.new(0, 1, 1)
- Frame.Position = UDim2.new(0, 0, 0, 517)
- Frame.Size = UDim2.new(0, 236, 0, 265)
- Frame.Visible = false
- GrabKnife.Name = "Grab Knife"
- GrabKnife.Parent = Frame
- GrabKnife.BackgroundColor3 = Color3.new(0, 0, 0)
- GrabKnife.BorderColor3 = Color3.new(1, 1, 0)
- GrabKnife.Size = UDim2.new(0, 118, 0, 50)
- GrabKnife.Font = Enum.Font.SourceSans
- GrabKnife.FontSize = Enum.FontSize.Size14
- GrabKnife.Text = "Grab Knife"
- GrabKnife.TextColor3 = Color3.new(0, 1, 0)
- GrabKnife.TextScaled = true
- GrabKnife.TextSize = 14
- GrabKnife.TextWrapped = true
- GrabKnife.MouseButton1Down:connect(function()
- math.randomseed(tick())
- local player = game.Players.LocalPlayer
- local rekt = {}
- local paralyzed = false
- local curpoint = nil
- local curpart = nil
- local finishnum = 1
- local zombiemode = false
- local zombies = {}
- local lastgui = nil
- local mouse = player:GetMouse()
- function getplr(char)
- local plr = nil
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character == char then
- plr = v
- end
- end
- return plr
- end
- function bleed(frick)
- while frick.Parent ~= nil do
- local reeee = coroutine.wrap(function()
- local thing = Instance.new('Part',game.Workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.CFrame = frick.CFrame
- thing.Shape = Enum.PartType.Ball
- thing.CFrame = frick.CFrame
- thing.Transparency = 1
- thing.BrickColor = BrickColor.new('Maroon')
- thing.Material = Enum.Material.SmoothPlastic
- thing.Name = "Blood"
- thing.CanCollide =false
- local rawrxd = Instance.new('BodyForce',thing)
- rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
- local coru = coroutine.wrap(function()
- wait(0.01)
- rawrxd:Destroy()
- end)
- coru()
- local ree = Instance.new('ParticleEmitter',thing)
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))})
- ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
- ree.Texture = 'rbxassetid://867743272'
- ree.Lifetime = NumberRange.new(0.4)
- ree.Rate = 50
- ree.LockedToPart = true
- ree.Speed = NumberRange.new(0, 2)
- thing.Touched:connect(function(tou)
- if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then
- local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
- thing:Destroy()
- if tou.Name == "BloodPuddle" then
- local reee = tou.CFrame
- if tou.Transparency > -0.2 then
- tou.Transparency = tou.Transparency -0.1
- end
- if tou.Size.X < 10 then
- tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
- tou.CFrame = reee
- end
- else
- local bloodlol = Instance.new('Part',workspace)
- bloodlol.Size=Vector3.new(1,0.2,1)
- bloodlol.Name = "BloodPuddle"
- bloodlol.Anchored = true
- bloodlol.CanCollide = false
- bloodlol.Material = Enum.Material.SmoothPlastic
- bloodlol.BrickColor = BrickColor.new('Maroon')
- local cyl = Instance.new('CylinderMesh',bloodlol)
- cyl.Scale = Vector3.new(1,0.1,1)
- bloodlol.CFrame = CFrame.new(pos)
- local coru=coroutine.wrap(function()
- while bloodlol.Parent ~= nil do
- if bloodlol.Transparency < 1 then
- bloodlol.Transparency = bloodlol.Transparency+0.05
- else
- bloodlol:Destroy()
- end
- wait(0.1)
- end
- end)
- coru()
- end
- end
- end)
- local coru = coroutine.wrap(function()
- wait(1)
- thing:Destroy()
- end)
- coru()
- end)
- reeee()
- wait()
- end
- end
- function killz(playa,hitz,kneef,explode,pool,head,charred,override)
- local soundy = false
- local heyy = hitz
- if hitz == "Right Arm" then
- local Limb = playa:FindFirstChild("Right Arm")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "RightShoulder"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- end
- elseif hitz == "Left Arm" then
- local Limb = playa:FindFirstChild("Left Arm")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.CanCollide = true
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = ters
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- end
- elseif hitz == "Right Leg" then
- local Limb = playa:FindFirstChild("Right Leg")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "Right Hip"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- if playa then
- table.insert(rekt,playa)
- end
- end
- elseif hitz == "Left Leg" then
- local Limb = playa:FindFirstChild("Left Leg")
- local ters = playa:FindFirstChild('Torso')
- if Limb and ters then
- if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
- v:Destroy()
- end
- end
- Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
- Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftHip"
- Joint.Part0 = ters
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = ters
- if charred and zombiemode == false then
- Limb.BrickColor = BrickColor.new('Black')
- local fire = Instance.new('Fire',Limb)
- fire.Heat = 5
- fire.Size = 5
- game:GetService('Debris'):AddItem(fire,2)
- local coru=coroutine.wrap(function()
- wait(2)
- for i,v in pairs(Limb:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Destroy()
- end
- end
- end)
- coru()
- end
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- Limb.CanCollide = false
- if kneef then
- local coru = coroutine.wrap(function()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.CanCollide = false
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.CFrame = kneef["big ass knife"].CFrame
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- game:GetService('Debris'):AddItem(bleedpart,2)
- end)
- coru()
- end
- if playa then
- table.insert(rekt,playa)
- end
- end
- elseif playa then
- if finishnum ~= 1 then
- local coru=coroutine.wrap(function()
- player.Character.Head.Psycho.Playing = true
- wait(3)
- player.Character.Head.Psycho.Playing = false
- end)
- coru()
- end
- local playa2 = playa
- playa.Archivable = true
- local playa = playa:Clone()
- playa.Archivable = false
- playa2:Destroy()
- playa.Parent = workspace
- local Gibs = game.Workspace
- local Torso = playa.Torso
- local Head = playa:FindFirstChild("Head")
- local function Scan(ch)
- local e
- for e = 1,#ch do
- Scan(ch[e]:GetChildren())
- if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then
- ch[e]:remove()
- end
- end
- end
- Scan(playa:GetChildren())
- if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then
- playa:FindFirstChild('HumanoidRootPart'):Destroy()
- end
- local hum2 = playa:FindFirstChildOfClass("Humanoid")
- if zombiemode == true and override == false then
- soundy = true
- end
- if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then
- override = true
- end
- if hum2 ~= nil then
- hum2.Name = "Humanoid2"
- hum2.Health = 0
- if zombiemode == false or override == true then
- table.insert(rekt,hum2.Parent)
- else
- local gyro = Instance.new('BodyGyro',Torso)
- hum2.PlatformStand = false
- for i,v in pairs(hum2.Parent.Torso:GetChildren()) do
- if v:IsA('BodyGyro') then v:Destroy() end
- end
- if playa:FindFirstChild('HumanoidRootPart') then
- hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame
- local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart)
- weldcrucial.Part0 = hum2.Parent.HumanoidRootPart
- weldcrucial.Part1 = hum2.Parent.Torso
- end
- end
- end
- local ch = playa:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- if Head then
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = Torso
- Neck.Part1 = Head
- if pool then
- local part = Instance.new('Part',Torso)
- part.Position = Vector3.new(0,10,0)
- part.Size = Vector3.new(0.2,0.2,0.2)
- part.Transparency = 1
- part.CanCollide = false
- local we = Instance.new('Weld',Torso)
- we.Part0 = Torso
- we.Part1 = part
- we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru=coroutine.wrap(function()
- bleed(part)
- end)
- coru()
- end
- if head == false or head == nil then
- Neck.C0 = CFrame.new(0, 1.5, 0)
- else
- Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25)
- local bleedpart = Instance.new("Part", Torso)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", Torso)
- bleedpartweld.Part0 = Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- end
- Neck.C1 = CFrame.new()
- Neck.Parent = Torso
- end
- local Limb = playa:FindFirstChild("Right Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "RightShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = playa:FindFirstChild("Left Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = playa:FindFirstChild("Right Leg")
- if Limb then
- Limb.CanCollide = false
- Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "RightHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CanCollide = true
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = playa:FindFirstChild("Left Leg")
- if Limb then
- Limb.CanCollide = false
- Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Rotate")
- Joint.Name = "LeftHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- if zombiemode == false or override then
- B.CanCollide = true
- end
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = playa
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- --[[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = playa
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = Torso
- --]]
- playa.Parent = Gibs
- if kneef and explode == nil then
- local coru = coroutine.wrap(function()
- if playa:FindFirstChild(hitz) then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = playa:FindFirstChild(hitz).CFrame
- dos.CFrame = kneef["big ass knife"].CFrame
- local weld = Instance.new('Weld',kneef["big ass knife"])
- weld.Part0 = playa:FindFirstChild(hitz)
- weld.Part1 = kneef["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- playa:FindFirstChild(hitz).Anchored = false
- for i, v in pairs(kneef:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if explode == nil or explode == false then
- local bleedpart = Instance.new("Part", kneef)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
- bleedpartweld.Part0 = kneef["big ass knife"]
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- local coru = coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- end
- end
- if zombiemode == false or override then
- wait()
- end
- if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
- kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
- end
- end)
- coru()
- end
- if explode then
- local movevector = CFrame.new(explode.Position,Torso.Position).lookVector
- local repulse = Instance.new('BodyForce',Torso)
- repulse.Force = movevector*10000 + Vector3.new(0,5000,0)
- game.Debris:AddItem(repulse,0.05)
- end
- if charred and zombiemode == false then
- for i,v in pairs(playa:GetChildren()) do
- if v:IsA('BasePart') then
- v.BrickColor = BrickColor.Black()
- local fire = Instance.new('Fire',v)
- fire.Size = 5
- fire.Heat = 5
- elseif v:IsA('Accessory') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('BasePart') then
- c.BrickColor = BrickColor.Black()
- local fire = Instance.new('Fire',v)
- fire.Size = 5
- fire.Heat = 5
- for o,p in pairs(c:GetChildren()) do
- if p:IsA("SpecialMesh") then
- p.TextureId = ""
- end
- end
- end
- end
- end
- end
- end
- if soundy then
- local sound = Instance.new('Sound',Head)
- sound.SoundId = 'rbxassetid://903640857'
- sound.Volume = 1
- sound:Play()
- sound.Ended:connect(function()
- sound:Destroy()
- local ambient = Instance.new('Sound',Head)
- ambient.Volume = 0.25
- ambient.Looped = true
- ambient.SoundId = 'rbxassetid://903641031'
- ambient:Play()
- end)
- end
- if override then
- if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then
- local coru = coroutine.wrap(function()
- wait(4.5)
- hum2.Parent.Name = hum2.Parent.Name.."'s Zombie"
- hum2.HipHeight = 0.2
- wait(0.5)
- killz(hum2.Parent,"Head",nil,nil,false,false,false,false)
- end)
- coru()
- else
- game:GetService('Debris'):AddItem(playa, 12)
- end
- else
- hum2.Health = 0
- table.insert(zombies,playa)
- local attack = Instance.new('Sound',Head)
- attack.SoundId = 'rbxassetid://903641424'
- attack.Volume = 2
- for i,v in pairs(playa:GetChildren()) do
- if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then
- v.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then
- local found = false
- if hit.Parent == player.Character then
- found = true
- end
- for a,c in pairs(zombies) do
- if c == hit.Parent then
- found = true
- end
- end
- if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
- attack:Play()
- if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- wait()
- killz(hit.Parent,"Head")
- else
- hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2)
- end
- end
- end
- end)
- end
- end
- local coru = coroutine.wrap(function()
- wait(2)
- for i,v in pairs(playa:GetChildren()) do
- if v:IsA('BasePart') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('Fire') or c:IsA('ParticleEmitter') then
- c:Destroy()
- end
- end
- elseif v:IsA('Accessory') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('BasePart') then
- for b,d in pairs(c:GetChildren()) do
- if d:IsA('Fire') or d:IsA('ParticleEmitter') then
- d:Destroy()
- end
- end
- end
- end
- end
- end
- end)
- coru()
- end
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "t" and mouse.Target then
- local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid')
- if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end
- if curpoint == nil then
- if hum and hum.Parent:FindFirstChild('Head') then
- curpart = hum.Parent.Head
- else
- curpart = nil
- curpoint = mouse.Hit.p
- end
- if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
- notify("ZOMBIE TARGET SET",false)
- else
- curpart = nil
- curpoint = nil
- if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
- notify("ZOMBIE TARGET REMOVED",false)
- end
- elseif key == "y" then
- for o,p in pairs(zombies) do
- local coru = coroutine.wrap(function()
- if p:FindFirstChild('Torso') then
- killz(p,"Head",nil,nil,false,false,false,true)
- else
- table.remove(zombies,o)
- end
- end)
- coru()
- wait()
- end
- for i,v in pairs(zombies) do
- table.remove(zombies,i)
- end
- if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
- notify("ZOMBIES TERMINATED",false)
- end
- end)
- function nub()
- repeat wait() until player.Character and player.Character:FindFirstChild('Torso')
- local me = player.Character
- local point = me.HumanoidRootPart
- local playergui = player.PlayerGui
- local rightshoulderz = me.Torso["Right Shoulder"]:Clone()
- local leftshoulderz = me.Torso["Left Shoulder"]:Clone()
- local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone()
- local lefthipz = me.Torso["Left Hip"]:Clone()
- local righthipz = me.Torso["Right Hip"]:Clone()
- local mode = "kill"
- local lerpz = false
- local active = false
- local acting = false
- local hit = false
- local canClick = true
- local stabbing = false
- local grabbing = false
- local finishing = false
- local kyssing = false
- local canbackgroundmusic = true
- local cancolorfilter = true
- local spinboolean = false
- local grabbed = nil
- local doing = false
- local rightshoulder = nil
- local leftshoulder = nil
- local headweld = nil
- local knifeparts = {}
- local usable = true
- finishnum = 1
- function notify(msg,forever)
- local doit = coroutine.wrap(function()
- local gui = Instance.new('ScreenGui',playergui)
- gui.Name = "Notification"
- local frame = Instance.new('Frame',gui)
- frame.Position = UDim2.new(0,0,0,0)
- frame.Size = UDim2.new(1,0,0.2,0)
- frame.BackgroundTransparency = 1
- local txt = Instance.new('TextLabel',frame)
- txt.TextColor3 = Color3.new(255,255,255)
- txt.TextStrokeColor3 = Color3.new(0, 0, 0)
- txt.TextStrokeTransparency = 0
- txt.BackgroundTransparency = 1
- txt.Text = ""
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.Position = UDim2.new(0,0,0.4,0)
- txt.TextScaled = true
- txt.Font = "Code"
- txt.TextXAlignment = "Center"
- local tap = Instance.new("Sound")
- tap.Parent = gui
- tap.SoundId = "rbxassetid://147982968"
- tap.TimePosition = 0.1
- local str = msg
- local len = string.len(str)
- for i=1,len do
- txt.Text = string.sub(str,1,i)
- pitche = math.random(20, 40)/10
- tap.PlaybackSpeed = pitche
- tap:Play()
- wait(0.01)
- end
- if forever == false then
- wait(1)
- while txt.TextTransparency < 1 do
- txt.TextTransparency = txt.TextTransparency + 0.1
- txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
- wait(0.001)
- end
- gui:Destroy()
- end
- end)
- doit()
- end
- wait(0.5)
- notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true)
- local laugh = Instance.new('Sound',me.Head)
- laugh.SoundId = 'rbxassetid://378827985'
- laugh.Name = "Psycho"
- laugh.Volume = 5
- -- 1 - bitch ass knife
- local obj1 = Instance.new("Model")
- obj1.Name = "bitch ass knife"
- obj1.Parent = game.Workspace
- -- 2 - Grab
- local obj2 = Instance.new("Part")
- obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.Material = Enum.Material.Concrete
- obj2.Size = Vector3.new(1, 0.25, 0.25)
- obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.Anchored = true
- obj2.BrickColor = BrickColor.new("Black")
- obj2.Friction = 0.30000001192093
- obj2.Shape = Enum.PartType.Cylinder
- obj2.Name = "Grab"
- obj2.Parent = obj1
- -- 3 - handletopcap
- local obj3 = Instance.new("Part")
- obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.Material = Enum.Material.Concrete
- obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994)
- obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.Anchored = true
- obj3.BrickColor = BrickColor.new("Black")
- obj3.Friction = 0.30000001192093
- obj3.Shape = Enum.PartType.Ball
- obj3.Name = "handletopcap"
- obj3.Parent = obj1
- -- 4 - handlebottomcap
- local obj4 = Instance.new("Part")
- obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.Material = Enum.Material.Concrete
- obj4.Size = Vector3.new(0.25, 0.25, 0.25)
- obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.Anchored = true
- obj4.BrickColor = BrickColor.new("Black")
- obj4.Friction = 0.30000001192093
- obj4.Shape = Enum.PartType.Ball
- obj4.Name = "handlebottomcap"
- obj4.Parent = obj1
- -- 5 - handleguardmid
- local obj5 = Instance.new("Part")
- obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.Material = Enum.Material.Concrete
- obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001)
- obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.Anchored = true
- obj5.BrickColor = BrickColor.new("Black")
- obj5.Friction = 0.30000001192093
- obj5.Shape = Enum.PartType.Block
- obj5.Name = "handleguardmid"
- obj5.Parent = obj1
- -- 6 - handleguardcap1
- local obj6 = Instance.new("Part")
- obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.Material = Enum.Material.Concrete
- obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994)
- obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.Anchored = true
- obj6.BrickColor = BrickColor.new("Black")
- obj6.Friction = 0.30000001192093
- obj6.Shape = Enum.PartType.Cylinder
- obj6.Name = "handleguardcap1"
- obj6.Parent = obj1
- -- 7 - handleguardcap2
- local obj7 = Instance.new("Part")
- obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.Material = Enum.Material.Concrete
- obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994)
- obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj7.Anchored = true
- obj7.BrickColor = BrickColor.new("Black")
- obj7.Friction = 0.30000001192093
- obj7.Shape = Enum.PartType.Cylinder
- obj7.Name = "handleguardcap2"
- obj7.Parent = obj1
- -- 8 - big ass knife
- local obj8 = Instance.new("Part")
- obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.Material = Enum.Material.Metal
- obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795)
- obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.Anchored = true
- obj8.BrickColor = BrickColor.new("Lily white")
- obj8.Friction = 0.30000001192093
- obj8.Shape = Enum.PartType.Block
- obj8.Name = "big ass knife"
- obj8.Parent = obj1
- -- 9 - Mesh
- local obj9 = Instance.new("BlockMesh")
- obj9.Scale = Vector3.new(0.5, 1, 1)
- obj9.Parent = obj8
- -- 10 - big ass knife
- local obj10 = Instance.new("Part")
- obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.Material = Enum.Material.Metal
- obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962)
- obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj10.Anchored = true
- obj10.BrickColor = BrickColor.new("Lily white")
- obj10.Friction = 0.30000001192093
- obj10.Shape = Enum.PartType.Block
- obj10.Name = "big ass knife"
- obj10.Parent = obj1
- local knife = obj10
- -- 11 - Mesh
- local obj11 = Instance.new("BlockMesh")
- obj11.Scale = Vector3.new(0.5, 1, 1)
- obj11.Parent = obj10
- -- 12 - big ass knife
- local obj12 = Instance.new("Part")
- obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
- obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.Material = Enum.Material.Metal
- obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959)
- obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj12.Anchored = true
- obj12.BrickColor = BrickColor.new("Lily white")
- obj12.Friction = 0.30000001192093
- obj12.Shape = Enum.PartType.Block
- obj12.Name = "big ass knife"
- obj12.Parent = obj1
- -- 13 - Mesh
- local obj13 = Instance.new("BlockMesh")
- obj13.Scale = Vector3.new(0.5, 1, 1)
- obj13.Parent = obj12
- -- 14 - serration
- local obj14 = Instance.new("WedgePart")
- obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.Material = Enum.Material.Metal
- obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj14.Anchored = true
- obj14.BrickColor = BrickColor.new("Lily white")
- obj14.Friction = 0.30000001192093
- obj14.Name = "serration"
- obj14.Parent = obj1
- -- 15 - Mesh
- local obj15 = Instance.new("BlockMesh")
- obj15.Scale = Vector3.new(0.5, 1, 1)
- obj15.Parent = obj14
- -- 16 - serration
- local obj16 = Instance.new("WedgePart")
- obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.Material = Enum.Material.Metal
- obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj16.Anchored = true
- obj16.BrickColor = BrickColor.new("Lily white")
- obj16.Friction = 0.30000001192093
- obj16.Name = "serration"
- obj16.Parent = obj1
- -- 17 - Mesh
- local obj17 = Instance.new("BlockMesh")
- obj17.Scale = Vector3.new(0.5, 1, 1)
- obj17.Parent = obj16
- -- 18 - serration
- local obj18 = Instance.new("WedgePart")
- obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.Material = Enum.Material.Metal
- obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj18.Anchored = true
- obj18.BrickColor = BrickColor.new("Lily white")
- obj18.Friction = 0.30000001192093
- obj18.Name = "serration"
- obj18.Parent = obj1
- -- 19 - Mesh
- local obj19 = Instance.new("BlockMesh")
- obj19.Scale = Vector3.new(0.5, 1, 1)
- obj19.Parent = obj18
- -- 20 - serration
- local obj20 = Instance.new("WedgePart")
- obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.Material = Enum.Material.Metal
- obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj20.Anchored = true
- obj20.BrickColor = BrickColor.new("Lily white")
- obj20.Friction = 0.30000001192093
- obj20.Name = "serration"
- obj20.Parent = obj1
- -- 21 - Mesh
- local obj21 = Instance.new("BlockMesh")
- obj21.Scale = Vector3.new(0.5, 1, 1)
- obj21.Parent = obj20
- -- 22 - serration
- local obj22 = Instance.new("WedgePart")
- obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.Material = Enum.Material.Metal
- obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj22.Anchored = true
- obj22.BrickColor = BrickColor.new("Lily white")
- obj22.Friction = 0.30000001192093
- obj22.Name = "serration"
- obj22.Parent = obj1
- -- 23 - Mesh
- local obj23 = Instance.new("BlockMesh")
- obj23.Scale = Vector3.new(0.5, 1, 1)
- obj23.Parent = obj22
- -- 24 - serration
- local obj24 = Instance.new("WedgePart")
- obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.Material = Enum.Material.Metal
- obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj24.Anchored = true
- obj24.BrickColor = BrickColor.new("Lily white")
- obj24.Friction = 0.30000001192093
- obj24.Name = "serration"
- obj24.Parent = obj1
- -- 25 - Mesh
- local obj25 = Instance.new("BlockMesh")
- obj25.Scale = Vector3.new(0.5, 1, 1)
- obj25.Parent = obj24
- -- 26 - serration
- local obj26 = Instance.new("WedgePart")
- obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.Material = Enum.Material.Metal
- obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj26.Anchored = true
- obj26.BrickColor = BrickColor.new("Lily white")
- obj26.Friction = 0.30000001192093
- obj26.Name = "serration"
- obj26.Parent = obj1
- -- 27 - Mesh
- local obj27 = Instance.new("BlockMesh")
- obj27.Scale = Vector3.new(0.5, 1, 1)
- obj27.Parent = obj26
- -- 28 - serration
- local obj28 = Instance.new("WedgePart")
- obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.Material = Enum.Material.Metal
- obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj28.Anchored = true
- obj28.BrickColor = BrickColor.new("Lily white")
- obj28.Friction = 0.30000001192093
- obj28.Name = "serration"
- obj28.Parent = obj1
- -- 29 - Mesh
- local obj29 = Instance.new("BlockMesh")
- obj29.Scale = Vector3.new(0.5, 1, 1)
- obj29.Parent = obj28
- -- 30 - knifetip1
- local obj30 = Instance.new("WedgePart")
- obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.Material = Enum.Material.Metal
- obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
- obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj30.Anchored = true
- obj30.BrickColor = BrickColor.new("Lily white")
- obj30.Friction = 0.30000001192093
- obj30.Name = "knifetip1"
- obj30.Parent = obj1
- -- 31 - Mesh
- local obj31 = Instance.new("BlockMesh")
- obj31.Scale = Vector3.new(0.5, 1, 1)
- obj31.Parent = obj30
- -- 32 - redstuff
- local obj32 = Instance.new("Part")
- obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0)
- obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.Material = Enum.Material.SmoothPlastic
- obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
- obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj32.BrickColor = BrickColor.new("Institutional white")
- obj32.Friction = 0.30000001192093
- obj32.Shape = Enum.PartType.Cylinder
- obj32.Name = "redstuff"
- obj32.Anchored = true
- obj32.Parent = obj1
- -- 33 - redstuff
- local obj33 = Instance.new("Part")
- obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0)
- obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.Material = Enum.Material.SmoothPlastic
- obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007)
- obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj33.BrickColor = BrickColor.new("Institutional white")
- obj33.Friction = 0.30000001192093
- obj33.Shape = Enum.PartType.Block
- obj33.Name = "redstuff"
- obj33.Anchored = true
- obj33.Parent = obj1
- -- 34 - redstuff
- local obj34 = Instance.new("Part")
- obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0)
- obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
- obj34.Material = Enum.Material.SmoothPlastic
- obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj34.BrickColor = BrickColor.new("Institutional white")
- obj34.Friction = 0.30000001192093
- obj34.Shape = Enum.PartType.Cylinder
- obj34.Name = "redstuff"
- obj34.Anchored = true
- obj34.Parent = obj1
- -- 35 - redstuff
- local obj35 = Instance.new("Part")
- obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
- obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993)
- obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj35.BrickColor = BrickColor.new("Institutional white")
- obj35.Friction = 0.30000001192093
- obj35.Shape = Enum.PartType.Cylinder
- obj35.Material = Enum.Material.SmoothPlastic
- obj35.Name = "redstuff"
- obj35.Anchored = true
- obj35.Parent = obj1
- -- 36 - redstuff
- local obj36 = Instance.new("Part")
- obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
- obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.Material = Enum.Material.SmoothPlastic
- obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
- obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj36.BrickColor = BrickColor.new("Institutional white")
- obj36.Friction = 0.30000001192093
- obj36.Shape = Enum.PartType.Cylinder
- obj36.Name = "redstuff"
- obj36.Anchored = true
- obj36.Parent = obj1
- -- 37 - redstuff
- local obj37 = Instance.new("WedgePart")
- obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
- obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.Material = Enum.Material.SmoothPlastic
- obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003)
- obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj37.Anchored = true
- obj37.BrickColor = BrickColor.new("Institutional white")
- obj37.Friction = 0.30000001192093
- obj37.Name = "redstuff"
- obj37.Anchored = true
- obj37.Parent = obj1
- -- 38 - redstuff
- local obj38 = Instance.new("Part")
- obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0)
- obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.Material = Enum.Material.SmoothPlastic
- obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
- obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj38.BrickColor = BrickColor.new("Institutional white")
- obj38.Friction = 0.30000001192093
- obj38.Shape = Enum.PartType.Cylinder
- obj38.Name = "redstuff"
- obj38.Anchored = true
- obj38.Parent = obj1
- local function recurse(objnum)
- table.insert(knifeparts,{objnum,objnum.Parent})
- for i,v in pairs(objnum:GetChildren()) do
- recurse(v)
- end
- end
- recurse(obj1)
- local audio = Instance.new('Sound',knife)
- audio.Volume = 2
- local audio2 = Instance.new('Sound',knife)
- audio2.Volume = 2
- local holdpart = Instance.new("Part")
- holdpart.Parent = me
- holdpart.Size = Vector3.new(0.4, 0.4, 0.2)
- holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0)
- holdpart.BrickColor = BrickColor.new("Burnt Sienna")
- local previous = nil
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- if previous then
- local weld = Instance.new('Weld',v)
- weld.Part0 = v
- weld.Part1 = previous
- weld.C0 = v.CFrame:inverse() * previous.CFrame
- previous.Anchored = false
- previous.CanCollide = false
- local vee = v
- weld.AncestryChanged:connect(function(mez,par)
- wait()
- weld.Parent = vee
- end)
- end
- previous = v
- end
- end
- previous.Anchored = false
- previous.CanCollide = false
- local holdpartweld = Instance.new("Weld", me.Torso)
- holdpartweld.Part0 = me.Torso
- holdpartweld.Part1 = holdpart
- holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15)
- holdpartweld.AncestryChanged:connect(function(mez,par)
- if par ~= me.Torso then
- wait()
- holdpartweld.Parent = me.Torso
- end
- end)
- local knifeweld = Instance.new('Weld',me.Torso)
- knifeweld.Part0 = me.Torso
- knifeweld.Part1 = obj2
- knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
- knifeweld.AncestryChanged:connect(function(mez,par)
- if par ~= me.Torso then
- wait()
- knifeweld.Parent = me.Torso
- end
- end)
- local ScreenGui = Instance.new("ScreenGui")
- local CustomizeGui = Instance.new("Frame")
- local Customize = Instance.new("TextLabel")
- local ClosestColor = Instance.new("TextLabel")
- local Line = Instance.new("TextLabel")
- local Color = Instance.new("ImageLabel")
- local Close = Instance.new("TextButton")
- local RedHue = Instance.new("TextLabel")
- local GreenHue = Instance.new("TextLabel")
- local RedInput = Instance.new("TextBox")
- local BlueHue = Instance.new("TextLabel")
- local GreenInput = Instance.new("TextBox")
- local TransInput = Instance.new("TextBox")
- local BlueInput = Instance.new("TextBox")
- local Message = Instance.new("TextLabel")
- local Message2 = Instance.new("TextLabel")
- local TrailTransparency = Instance.new("TextLabel")
- local TrailInput = Instance.new("TextBox")
- local MusicOption = Instance.new("TextButton")
- local ScreenOption = Instance.new("TextButton")
- local ScreenOptionTxt = Instance.new("TextLabel")
- local MusicOptionTxt = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = playergui
- CustomizeGui.Name = "CustomizeGui"
- CustomizeGui.Parent = ScreenGui
- CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- CustomizeGui.BackgroundTransparency = 0.5
- CustomizeGui.BorderColor3 = Color3.new(0, 0, 0)
- CustomizeGui.BorderSizePixel = 2
- CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0)
- CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0)
- Customize.Name = "Customize"
- Customize.Parent = CustomizeGui
- Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- Customize.BackgroundTransparency = 0.75
- Customize.BorderSizePixel = 0
- Customize.Size = UDim2.new(1, 0, 0.200000003, 0)
- Customize.FontSize = Enum.FontSize.Size28
- Customize.Text = "ACCENT COLOR CUSTOMIZATION"
- Customize.TextColor3 = Color3.new(1, 1, 1)
- Customize.TextScaled = true
- Customize.TextSize = 25
- Customize.TextStrokeTransparency = 0.5
- Customize.TextWrapped = true
- ClosestColor.Name = "ClosestColor"
- ClosestColor.Parent = CustomizeGui
- ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1)
- ClosestColor.BackgroundTransparency = 1
- ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0)
- ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0)
- ClosestColor.Font = Enum.Font.SourceSansLight
- ClosestColor.FontSize = Enum.FontSize.Size32
- ClosestColor.Text = "Your color is closest to Institutional White"
- ClosestColor.TextColor3 = Color3.new(1, 1, 1)
- ClosestColor.TextSize = 30
- ClosestColor.TextStrokeTransparency = 0.5
- Line.Name = "Line"
- Line.Parent = CustomizeGui
- Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- Line.BackgroundTransparency = 0.5
- Line.BorderColor3 = Color3.new(0, 0, 0)
- Line.BorderSizePixel = 0
- Line.Position = UDim2.new(0, 0, 0.200000003, 0)
- Line.Size = UDim2.new(1, 0, 0.0299999993, 0)
- Line.Font = Enum.Font.SourceSans
- Line.FontSize = Enum.FontSize.Size14
- Line.Text = " "
- Line.TextSize = 14
- Color.Name = "Color"
- Color.Parent = CustomizeGui
- Color.BackgroundColor3 = Color3.new(1, 1, 1)
- Color.BorderSizePixel = 0
- Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0)
- Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
- Color.SizeConstraint = Enum.SizeConstraint.RelativeYY
- MusicOption.Parent = CustomizeGui
- MusicOption.Name = "MusicOption"
- MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
- MusicOption.BorderSizePixel = 1
- MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0)
- MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0)
- MusicOption.Text = ""
- MusicOption.BackgroundTransparency = 0.5
- ScreenOption.Parent = CustomizeGui
- ScreenOption.Name = "ScreenOption"
- ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
- ScreenOption.BorderSizePixel = 1
- ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0)
- ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0)
- ScreenOption.Text = ""
- ScreenOption.BackgroundTransparency = 0.5
- ScreenOptionTxt.Name = "ScreenOptionTxt"
- ScreenOptionTxt.Parent = CustomizeGui
- ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
- ScreenOptionTxt.BackgroundTransparency = 1
- ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0)
- ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
- ScreenOptionTxt.Font = Enum.Font.SourceSans
- ScreenOptionTxt.FontSize = Enum.FontSize.Size24
- ScreenOptionTxt.Text = "Psychopath Red Filter"
- ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1)
- ScreenOptionTxt.TextScaled = true
- ScreenOptionTxt.TextSize = 20
- ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
- ScreenOptionTxt.TextStrokeTransparency = 0.5
- ScreenOptionTxt.TextWrapped = true
- ScreenOptionTxt.TextXAlignment = "Left"
- MusicOptionTxt.Name = "MusicOptionTxt"
- MusicOptionTxt.Parent = CustomizeGui
- MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
- MusicOptionTxt.BackgroundTransparency = 1
- MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0)
- MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
- MusicOptionTxt.Font = Enum.Font.SourceSans
- MusicOptionTxt.FontSize = Enum.FontSize.Size24
- MusicOptionTxt.Text = "Psychopath Background Music"
- MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1)
- MusicOptionTxt.TextScaled = true
- MusicOptionTxt.TextSize = 20
- MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
- MusicOptionTxt.TextStrokeTransparency = 0.5
- MusicOptionTxt.TextWrapped = true
- MusicOptionTxt.TextXAlignment = "Left"
- Close.Name = "Close"
- Close.Parent = CustomizeGui
- Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
- Close.BackgroundTransparency = 0.5
- Close.BorderColor3 = Color3.new(0, 0, 0)
- Close.BorderSizePixel = 2
- Close.Position = UDim2.new(1.005, 0, 0, 0)
- Close.Size = UDim2.new(0.100000001, 0, 0.2, 0)
- Close.Font = Enum.Font.SourceSans
- Close.FontSize = Enum.FontSize.Size14
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextStrokeTransparency = 0
- Close.TextWrapped = true
- RedHue.Name = "RedHue"
- RedHue.Parent = CustomizeGui
- RedHue.BackgroundColor3 = Color3.new(1, 1, 1)
- RedHue.BackgroundTransparency = 1
- RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0)
- RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- RedHue.Font = Enum.Font.SourceSans
- RedHue.FontSize = Enum.FontSize.Size24
- RedHue.Text = "RED Hue Value: "
- RedHue.TextColor3 = Color3.new(1, 1, 1)
- RedHue.TextScaled = true
- RedHue.TextSize = 20
- RedHue.TextStrokeColor3 = Color3.new(1, 0, 0)
- RedHue.TextStrokeTransparency = 0.75
- RedHue.TextWrapped = true
- GreenHue.Name = "GreenHue"
- GreenHue.Parent = CustomizeGui
- GreenHue.BackgroundColor3 = Color3.new(1, 1, 1)
- GreenHue.BackgroundTransparency = 1
- GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0)
- GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- GreenHue.Font = Enum.Font.SourceSans
- GreenHue.FontSize = Enum.FontSize.Size24
- GreenHue.Text = "GREEN Hue Value:"
- GreenHue.TextColor3 = Color3.new(1, 1, 1)
- GreenHue.TextScaled = true
- GreenHue.TextSize = 20
- GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0)
- GreenHue.TextStrokeTransparency = 0.75
- GreenHue.TextWrapped = true
- RedInput.Name = "RedInput"
- RedInput.Parent = CustomizeGui
- RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- RedInput.BackgroundTransparency = 0.5
- RedInput.BorderSizePixel = 0
- RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0)
- RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- RedInput.Font = Enum.Font.SourceSans
- RedInput.FontSize = Enum.FontSize.Size14
- RedInput.Text = "255"
- RedInput.TextColor3 = Color3.new(1, 1, 1)
- RedInput.TextSize = 14
- RedInput.TextStrokeTransparency = 0
- BlueHue.Name = "BlueHue"
- BlueHue.Parent = CustomizeGui
- BlueHue.BackgroundColor3 = Color3.new(1, 1, 1)
- BlueHue.BackgroundTransparency = 1
- BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0)
- BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- BlueHue.Font = Enum.Font.SourceSans
- BlueHue.FontSize = Enum.FontSize.Size24
- BlueHue.Text = "BLUE Hue Value:"
- BlueHue.TextColor3 = Color3.new(1, 1, 1)
- BlueHue.TextScaled = true
- BlueHue.TextSize = 20
- BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1)
- BlueHue.TextStrokeTransparency = 0.75
- BlueHue.TextWrapped = true
- TrailTransparency.Name = "TrailTransparency"
- TrailTransparency.Parent = CustomizeGui
- TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1)
- TrailTransparency.BackgroundTransparency = 1
- TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0)
- TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0)
- TrailTransparency.Font = Enum.Font.SourceSans
- TrailTransparency.FontSize = Enum.FontSize.Size24
- TrailTransparency.Text = "Trail Transparency:"
- TrailTransparency.TextColor3 = Color3.new(1, 1, 1)
- TrailTransparency.TextScaled = true
- TrailTransparency.TextSize = 20
- TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0)
- TrailTransparency.TextWrapped = true
- GreenInput.Name = "GreenInput"
- GreenInput.Parent = CustomizeGui
- GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- GreenInput.BackgroundTransparency = 0.5
- GreenInput.BorderSizePixel = 0
- GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0)
- GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- GreenInput.Font = Enum.Font.SourceSans
- GreenInput.FontSize = Enum.FontSize.Size14
- GreenInput.Text = "255"
- GreenInput.TextColor3 = Color3.new(1, 1, 1)
- GreenInput.TextSize = 14
- GreenInput.TextStrokeTransparency = 0
- TransInput.Name = "TransInput"
- TransInput.Parent = CustomizeGui
- TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- TransInput.BackgroundTransparency = 0.5
- TransInput.BorderSizePixel = 0
- TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0)
- TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- TransInput.Font = Enum.Font.SourceSans
- TransInput.FontSize = Enum.FontSize.Size14
- TransInput.Text = "50"
- TransInput.TextColor3 = Color3.new(1, 1, 1)
- TransInput.TextSize = 14
- TransInput.TextStrokeTransparency = 0
- BlueInput.Name = "BlueInput"
- BlueInput.Parent = CustomizeGui
- BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- BlueInput.BackgroundTransparency = 0.5
- BlueInput.BorderSizePixel = 0
- BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0)
- BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
- BlueInput.Font = Enum.Font.SourceSans
- BlueInput.FontSize = Enum.FontSize.Size14
- BlueInput.Text = "255"
- BlueInput.TextColor3 = Color3.new(1, 1, 1)
- BlueInput.TextSize = 14
- BlueInput.TextStrokeTransparency = 0
- Message.Name = "Message"
- Message.Parent = CustomizeGui
- Message.BackgroundColor3 = Color3.new(1, 1, 1)
- Message.BackgroundTransparency = 1
- Message.Position = UDim2.new(0, 0, 0.2500004, 0)
- Message.Size = UDim2.new(1, 0, 0.100000006, 0)
- Message.Font = Enum.Font.SourceSans
- Message.FontSize = Enum.FontSize.Size18
- Message.Text = "|| Inputs must be values ||"
- Message.TextColor3 = Color3.new(1, 1, 1)
- Message.TextScaled = true
- Message.TextSize = 15
- Message.TextStrokeTransparency = 0.75
- Message.TextWrapped = true
- local attun = Instance.new("Attachment", knife)
- attun.Position = Vector3.new(0, 0.1, -1.75)
- local atdos = Instance.new("Attachment", knife)
- atdos.Position = Vector3.new(0, -0.1, 0.5)
- local trail = Instance.new("Trail", knife)
- trail.LightEmission = 0.5
- trail.Attachment0 = attun
- trail.Attachment1 = atdos
- trail.Lifetime = 0.175
- trail.MinLength = 0
- trail.Enabled = false
- function updatez()
- local rc = tonumber(RedInput.Text)
- local gc = tonumber(GreenInput.Text)
- local bc = tonumber(BlueInput.Text)
- local tcupd = tonumber(TransInput.Text)
- if rc == nil then
- rc = 0
- end
- if gc == nil then
- gc = 0
- end
- if bc == nil then
- bc = 0
- end
- if tcupd == nil then
- tcupd = 0
- end
- local tc = tcupd/100
- Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc)
- ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc)))
- obj32.Color = Color3.fromRGB(rc,gc,bc)
- obj33.Color = Color3.fromRGB(rc,gc,bc)
- obj34.Color = Color3.fromRGB(rc,gc,bc)
- obj35.Color = Color3.fromRGB(rc,gc,bc)
- obj36.Color = Color3.fromRGB(rc,gc,bc)
- obj37.Color = Color3.fromRGB(rc,gc,bc)
- obj38.Color = Color3.fromRGB(rc,gc,bc)
- trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc))
- trail.Transparency = NumberSequence.new(tc)
- TrailTransparency.TextStrokeTransparency = tc
- end
- RedInput.Changed:connect(function(val)
- if val == "Text" and tonumber(RedInput.Text) then
- RedInput.Text = tostring(tonumber(RedInput.Text))
- if tonumber(RedInput.Text) > 255 then
- RedInput.Text = '255'
- end
- elseif val == "Text" then
- RedInput.Text = ""
- end
- updatez()
- end)
- GreenInput.Changed:connect(function(val)
- if val == "Text" and tonumber(GreenInput.Text) then
- GreenInput.Text = tostring(tonumber(GreenInput.Text))
- if tonumber(GreenInput.Text) > 255 then
- GreenInput.Text = '255'
- end
- elseif val == "Text" then
- GreenInput.Text = ""
- end
- updatez()
- end)
- BlueInput.Changed:connect(function(val)
- if val == "Text" and tonumber(BlueInput.Text) then
- BlueInput.Text = tostring(tonumber(BlueInput.Text))
- if tonumber(BlueInput.Text) > 255 then
- BlueInput.Text = '255'
- end
- elseif val == "Text" then
- BlueInput.Text = ""
- end
- updatez()
- end)
- TransInput.Changed:connect(function(val)
- if val == "Text" and tonumber(TransInput.Text) then
- TransInput.Text = tostring(tonumber(TransInput.Text))
- if tonumber(TransInput.Text) > 100 then
- TransInput.Text = '100'
- end
- elseif val == "Text" then
- TransInput.Text = ""
- end
- updatez()
- end)
- Close.MouseButton1Click:connect(function()
- if lerpz == false then
- lerpz = true
- if Close.Text ~= "+" then
- CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
- for i=1,10 do
- Close.TextTransparency = i/10
- Close.TextStrokeTransparency = i/10
- wait(0.01)
- end
- Close.Text = "+"
- for i=1,10 do
- Close.TextTransparency = (10-i+1)/10
- Close.TextStrokeTransparency = (10-i+1)/10
- wait(0.01)
- end
- lerpz = false
- else
- CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
- for i=1,10 do
- Close.TextTransparency = i/10
- Close.TextStrokeTransparency = i/10
- wait(0.01)
- end
- Close.Text = "X"
- for i=1,10 do
- Close.TextTransparency = (10-i+1)/10
- Close.TextStrokeTransparency = (10-i+1)/10
- wait(0.01)
- end
- lerpz = false
- end
- end
- end)
- MusicOption.MouseButton1Click:connect(function()
- if canbackgroundmusic == true then
- canbackgroundmusic = false
- MusicOption.BackgroundColor3 = Color3.new(1, 0, 0)
- else
- canbackgroundmusic = true
- MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
- end
- end)
- ScreenOption.MouseButton1Click:connect(function()
- if cancolorfilter == true then
- cancolorfilter = false
- ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0)
- else
- cancolorfilter = true
- ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
- end
- end)
- function equip()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
- acting = true
- local arm = me["Right Arm"]
- local arm2 = me["Left Arm"]
- local tors = me.Torso
- local weld = Instance.new('Weld',arm)
- weld.Part0 = arm
- weld.Part1 = tors
- weld.C0 = CFrame.new(-1.5,0,0)
- local weld2 = Instance.new("Weld", arm2)
- weld2.Part0 = arm2
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(1.5, 0, 0)
- wait(0.001)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
- wait(0.001)
- end
- wait(0.15)
- trail.Enabled = true
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
- wait(0.001)
- end
- trail.Enabled = false
- wait(0.2)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- weld:Destroy()
- weld2:Remove()
- if tors ~= nil then
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- end
- end
- acting = false
- end)
- doit()
- end
- function kysnigga()
- if kyssing == true then return end
- kyssing = true
- acting = true
- decearingTHING = math.random(1, 100)
- if decearingTHING == 4 then
- decearingEGG = Instance.new("Sound", me.Torso)
- decearingEGG.SoundId = "rbxassetid://138084557"
- decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
- decearingEGG.TimePosition = 0.2
- decearingEGG:Play()
- end
- me.Humanoid.WalkSpeed = 0
- me.Humanoid.JumpPower = 0
- local rightarm = Instance.new("Weld", me.Torso)
- rightarm.Part0 = me.Torso
- rightarm.Part1 = me["Right Arm"]
- rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
- local leftarm = Instance.new("Weld", me.Torso)
- leftarm.Part0 = me.Torso
- leftarm.Part1 = me["Left Arm"]
- leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0)
- local tors = Instance.new("Weld", me.HumanoidRootPart)
- tors.Part0 = me.HumanoidRootPart
- tors.Part1 = me.Torso
- tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
- local rightleg = Instance.new("Weld", me.Torso)
- rightleg.Part0 = me.Torso
- rightleg.Part1 = me["Right Leg"]
- rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
- local leftleg = Instance.new("Weld", me.Torso)
- leftleg.Part0 = me.Torso
- leftleg.Part1 = me["Left Leg"]
- leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
- for i = 0, 1, 0.03 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i)
- wait()
- end
- for i = 0, 1, 0.03 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
- wait()
- end
- local bleedzer = Instance.new('Part',me.Torso)
- bleedzer.CFrame = me.Torso.CFrame
- bleedzer.Size = Vector3.new(0.1,0.1,0.1)
- bleedzer.Transparency = 1
- bleedzer.CanCollide = false
- local weld = Instance.new('Weld',bleedzer)
- weld.Part0 = bleedzer
- weld.Part1 = me.Torso
- weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0)
- local woodpekker = coroutine.wrap(function()
- bleed(bleedzer)
- end)
- woodpekker()
- audio.SoundId = "rbxassetid://199977936"
- audio.PlaybackSpeed = 1.5
- audio:Play()
- audio2.SoundId = "rbxassetid://220834019"
- audio2.PlaybackSpeed = 1
- audio2.TimePosition = 0.1
- audio2:Play()
- for i = 0, 1, 0.1 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
- wait()
- end
- wait(1)
- audio.SoundId = "rbxassetid://210943487"
- audio.TimePosition = 0.2
- audio.PlaybackSpeed = 0.75
- audio:Play()
- for i = 0, 1, 0.03 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
- wait()
- end
- for i = 0, 1, 0.03 do
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
- wait()
- end
- wait(0.24)
- if me:FindFirstChildOfClass('Humanoid') then
- me:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait(0.01)
- killz(me,me.Torso.Name,nil,nil,true)
- tors:Remove()
- rightarm:Remove()
- rightleg:Remove()
- leftleg:Remove()
- leftarm:Remove()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- torsojoint:Clone().Parent = me.HumanoidRootPart
- lefthipz:Clone().Parent = me.Torso
- righthipz:Clone().Parent = me.Torso
- me.Humanoid.JumpPower = 50
- me.Humanoid.WalkSpeed = 16
- acting = false
- canClick = true
- doing = false
- hit = false
- kyssing = false
- if decearingTHING == 4 then
- decearingEGG:Remove()
- end
- end
- function bleedout()
- local doit = coroutine.wrap(function()
- local targe = grabbed
- local num = 0
- while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do
- if targe.Head:FindFirstChild('Died') then
- tone = math.random(6, 12) / 10
- targe.Head.Died.PlaybackSpeed = tone
- targe.Head.Died:Play()
- else
- local deathsound = Instance.new('Sound',targe.Head)
- deathsound.Name = "Died"
- deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3'
- deathsound.Volume = 0.65
- deathsound.EmitterSize = 5
- deathsound.MaxDistance = 150
- tone = math.random(5, 15) / 10
- targe.Head.Died.PlaybackSpeed = tone
- targe.Head.Died:Play()
- end
- targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7
- num = num+1
- wait(0.325)
- end
- targe:FindFirstChildOfClass('Humanoid').Health = 0
- wait()
- killz(targe,'Head',nil,nil,false,true)
- wait(2)
- targe:Remove()
- end)
- doit()
- end
- function liedown()
- local doit = coroutine.wrap(function()
- local targe = grabbed
- wait(2)
- if targe and targe:FindFirstChildOfClass('Humanoid') then
- targe:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- end)
- doit()
- end
- function grab()
- local doit = coroutine.wrap(function()
- acting = true
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
- local arm = me["Right Arm"]
- local tors = me.Torso
- local arm2 = me["Left Arm"]
- local humanroot = me.HumanoidRootPart
- local weld2 = Instance.new('Weld',arm)
- weld2.Part0 = arm
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- local weld3 = Instance.new('Weld',arm2)
- weld3.Part0 = arm2
- weld3.Part1 = tors
- weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i)
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0)
- wait(0.01)
- end
- grabbing = true
- trail.Enabled = true
- for i = 0,1,0.10 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
- wait(0.01)
- end
- trail.Enabled = false
- wait(0.5)
- grabbing = false
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
- if grabbed == nil then
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
- wait(0.001)
- end
- weld2:Destroy()
- weld3:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- end
- end)
- doit()
- end
- function kill()
- paralyzed = false
- if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end
- targetweld = grabbed.Torso.TargetWeld
- targetweld2 = nil
- local reee = grabbed:FindFirstChild("Left Arm")
- if reee and reee:FindFirstChild("Weld") then
- targetweld2 = reee.Weld
- end
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = true
- end
- end
- targetweld3pt = grabbed:FindFirstChild("Right Arm")
- local targetrightshoulder = rightshoulder
- local targetleftshoulder = leftshoulder
- local targetweld3 = Instance.new("Weld", targetweld3pt)
- targetweld3.Part0 = grabbed.Torso
- targetweld3.Part1 = targetweld3pt
- targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
- local doit = coroutine.wrap(function()
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i)
- wait(0.01)
- end
- audio:Stop()
- audio.SoundId = "rbxassetid://517040733"
- tone = math.random(1, 3)
- if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end
- if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
- if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end
- audio:Play()
- local bleedpart = Instance.new("Part", grabbed)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", grabbed.Torso)
- bleedpartweld.Part0 = grabbed.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local coru=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- coru()
- local slightthrow = Instance.new("BodyThrust", grabbed.Torso)
- slightthrow.Force = Vector3.new(0, 0, -2500)
- local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso)
- slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0)
- slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000)
- if grabbed:FindFirstChildOfClass('Humanoid') then
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end
- killz(grabbed,'Left Leg')
- killz(grabbed,'Left Arm')
- killz(grabbed,'Right Leg')
- killz(grabbed,'Right Arm')
- trail.Enabled = true
- for i = 0,1,0.2 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
- wait(0.01)
- end
- trail.Enabled = false
- bleedout()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- grabbed = nil
- if humanroot:FindFirstChild('Holder') then
- humanroot.Holder:Destroy()
- end
- wait(0.2)
- slightthrow:Remove()
- slightthrow2:Remove()
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
- wait(0.01)
- end
- weld2:Destroy()
- weld3:Destroy()
- targetweld = nil
- targetweld2 = nil
- targetweld3 = nil
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- doing = false
- end)
- doit()
- end
- function finish()
- if finishing == true then return end
- finishing = true
- acting = true
- decearingTHING = math.random(1, 100)
- if decearingTHING == 4 then
- decearingEGG = Instance.new("Sound", me.Torso)
- decearingEGG.SoundId = "rbxassetid://138084557"
- decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
- decearingEGG.TimePosition = 0.2
- decearingEGG:Play()
- end
- me.Humanoid.WalkSpeed = 0
- me.Humanoid.JumpPower = 0
- local rightarm = Instance.new("Weld", me.Torso)
- rightarm.Part0 = me.Torso
- rightarm.Part1 = me["Right Arm"]
- rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
- local tors = Instance.new("Weld", me.HumanoidRootPart)
- tors.Part0 = me.HumanoidRootPart
- tors.Part1 = me.Torso
- tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
- local rightleg = Instance.new("Weld", me.Torso)
- rightleg.Part0 = me.Torso
- rightleg.Part1 = me["Right Leg"]
- rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
- local leftleg = Instance.new("Weld", me.Torso)
- leftleg.Part0 = me.Torso
- leftleg.Part1 = me["Left Leg"]
- leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
- for i = 0, 1, 0.05 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i)
- wait()
- end
- for i=1,finishnum do
- local num1 = 0.5
- local num2 = 0.5
- local num3 = 0.25
- if finishnum ~= 1 then
- num3 = 0
- end
- trail.Enabled = true
- for i = 0, 1, num1 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i)
- wait()
- end
- wait()
- for i = 0, 1, num2 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i)
- wait()
- end
- trail.Enabled = false
- wait(num3)
- end
- wait()
- for i = 0, 1, 0.05 do
- tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
- wait()
- end
- tors:Remove()
- rightarm:Remove()
- rightleg:Remove()
- leftleg:Remove()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- torsojoint:Clone().Parent = me.HumanoidRootPart
- lefthipz:Clone().Parent = me.Torso
- righthipz:Clone().Parent = me.Torso
- me.Humanoid.JumpPower = 50
- me.Humanoid.WalkSpeed = 16
- acting = false
- canClick = true
- doing = false
- hit = false
- finishing = false
- if decearingTHING == 4 then
- decearingEGG:Remove()
- end
- end
- function throw()
- if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
- paralyzed = false
- targetweld = grabbed.Torso.TargetWeld
- local ree = grabbed:FindFirstChild("Left Arm")
- targetweld2 =nil
- if ree and ree:FindFirstChild("Weld") then
- targetweld2 = ree.Weld
- end
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = true
- end
- end
- local doit = coroutine.wrap(function()
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- local targrightshoulder = rightshoulder
- local targleftshoulder = leftshoulder
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- for i = 0,1,0.2 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
- targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
- if targetweld2 then
- targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
- end
- wait(0.01)
- end
- audio:Stop()
- audio.SoundId = "rbxassetid://536642316"
- tone = math.random(1, 3)
- if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end
- if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
- if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end
- audio:Play()
- local slightthrow = Instance.new("BodyVelocity", grabbed.Torso)
- slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20)
- slightthrow.P = 5000
- slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001)
- local point = grabbed.Torso.Position
- local aaaaaa = grabbed
- liedown()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- grabbed = nil
- if humanroot:FindFirstChild('Holder') then
- humanroot.Holder:Destroy()
- end
- local coru = coroutine.wrap(function()
- while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end
- if aaaaaa:FindFirstChildOfClass('Humanoid') then
- aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
- aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50
- aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- end
- slightthrow:Remove()
- end)
- coru()
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
- wait(0.01)
- end
- weld2:Destroy()
- weld3:Destroy()
- targetweld:Remove()
- if targetweld2 then
- targetweld2:Remove()
- end
- if rightshoulder then
- rightshoulder:Clone().Parent = tors
- end
- if leftshoulder then
- leftshoulder:Clone().Parent = tors
- end
- headweld:Clone().Parent = tors
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- doing = false
- end)
- doit()
- end
- cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new
- bc=BrickColor.new
- local minimumsize = Vector3.new(0.7,0.7,0.7)
- local surface_between_splitted_parts = 'SmoothNoOutlines'
- local fragmentable = workspace
- local list = {}
- local brickcount = 0
- local storage = {}
- local fillup = 1000
- local maximumstorage = 2000
- local storage_position = Vector3.new(0,0,5000)
- local stored_partsize = Vector3.new(1,1,1)
- local parts_created_per_frame = 5
- local minimumsize = Vector3.new(0.7,0.7,0.7)
- local surface_between_splitted_parts = 'SmoothNoOutlines'
- local fragmentable = workspace
- local list = {}
- local brickcount = 0
- local storage = {}
- local fillup = 1000
- local maximumstorage = 2000
- local storage_position = Vector3.new(0,0,5000)
- local stored_partsize = Vector3.new(1,1,1)
- local parts_created_per_frame = 5
- function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material)
- local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1
- local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1
- local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1
- if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then
- if xi == 1 and yi == 1 and zi == 1 then return end
- if #storage > 0 then
- local p = storage[1]
- p.BrickColor = color
- p.Size = size
- p.Anchored = false
- p.BackSurface = backsurface
- p.BottomSurface = bottomsurface
- p.FrontSurface = frontsurface
- p.LeftSurface = leftsurface
- p.RightSurface = rightsurface
- p.TopSurface = topsurface
- p.Transparency = transparency
- p.CFrame = cframe
- p.Reflectance = reflectance
- p.Material = material
- game:GetService('Debris'):AddItem(p,30)
- p:BreakJoints()
- table.remove(storage,1)
- else
- local p = Instance.new("Part",fragmentable)
- p.BrickColor = color
- p.FormFactor = "Custom"
- p.Size = size
- p.BackSurface = backsurface
- p.BottomSurface = bottomsurface
- p.FrontSurface = frontsurface
- p.LeftSurface = leftsurface
- p.RightSurface = rightsurface
- p.TopSurface = topsurface
- p.Transparency = transparency
- p.Material = material
- if p.Transparency>0.285 then
- p.Anchored = false
- else
- p.Anchored=false
- p.Material='Wood'
- game:GetService('Debris'):AddItem(p,10)
- end
- p.CFrame = cframe
- p.Reflectance = reflectance
- p:BreakJoints()
- end
- return
- end
- local mody = math.random(-125,125)/1000
- for y = 1,yi do
- if math.random()> 0.5 then
- local modx = math.random(-125,125)/1000
- for x = 1,xi do
- local modz = math.random(-125,125)/1000
- for z = 1,zi do --offset = x/xi-0.75+modx)
- fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
- Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
- zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius,
- z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
- z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
- y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
- end
- end
- else
- local modz = math.random(-125,125)/1000
- for z = 1,zi do
- local modx = math.random(-125,125)/1000
- for x = 1,xi do
- fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
- Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
- zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius,
- z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
- z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
- y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
- end
- end
- end
- end
- end
- function start_fragmentation(position,radius,nuh)
- local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1)
- repeat
- local finish = false
- local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100)
- for i = 1,#parts do
- table.insert(list,1,parts[i])
- end
- finish = true
- until #parts < 100 and finish
- local t = tick()
- for i = 1,#list do
- local p = list[i]
- if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then
- fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
- if #storage < maximumstorage and p.Shape == "Block" then
- p.Anchored = false
- p.FormFactor = "Custom"
- p.Size = stored_partsize
- p.Position = storage_position
- table.insert(storage,1,p)
- else
- p:Destroy()
- end
- end
- if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then
- fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
- if #storage < maximumstorage and p.Shape == "Block" then
- p.Anchored = false
- p.Material='Wood'
- p.FormFactor = "Custom"
- p.Size = stored_partsize
- p.Position = storage_position
- table.insert(storage,1,p)
- else
- p:Destroy()
- end
- end
- end
- list = {}
- end
- function fling()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then
- acting = true
- for i=1,finishnum do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- if finishnum == 1 then
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
- wait(0.01)
- end
- end
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- if finishnum == 1 then
- for i = 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
- wait(0.001)
- end
- end
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i, v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- knofe:FindFirstChild("Trail", true).Enabled = true
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
- local coru = coroutine.wrap(function()
- wait(0.45)
- if heck then
- heck:Destroy()
- end
- end)
- coru()
- local able = true
- knofe["big ass knife"].Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then
- local thing = hit.Parent:FindFirstChildOfClass('Humanoid')
- local ree = hit.Parent
- if thing == nil then
- ree = hit.Parent.Parent
- end
- if ree:FindFirstChildOfClass('Humanoid').Health > 0 then
- knofe:FindFirstChild("Trail", true).Enabled = false
- game:GetService('Debris'):AddItem(knofe,5)
- tone = math.random(1, 3)
- local sound = Instance.new('Sound',knofe.Grab)
- if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
- if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
- if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
- sound.PlaybackSpeed = 1
- sound:Play()
- for i, v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- v.Anchored = true
- end
- end
- hit.Anchored = true
- if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
- ree:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait()
- killz(ree,hit.Name,knofe)
- else
- knofe:FindFirstChild("Trail", true).Enabled = false
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- game:GetService('Debris'):AddItem(knofe,5)
- tone = math.random(1, 3)
- local sound = Instance.new('Sound',knofe.Grab)
- if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
- if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
- if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
- sound.PlaybackSpeed = 1
- sound:Play()
- for i, v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- hit.Anchored = true
- wait(0.001)
- hit.Anchored = false
- for i, v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- if knofe then
- local coru = coroutine.wrap(function()
- if hit then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- end
- end)
- coru()
- end
- end
- elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then
- if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then
- knofe:FindFirstChild("Trail", true).Enabled = false
- local sound = Instance.new('Sound',knofe.Grab)
- sound.SoundId = 'rbxassetid://267585646'
- sound:Play()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = true
- end
- end
- wait()
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Anchored = false
- end
- end
- game:GetService('Debris'):AddItem(knofe,5)
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- end
- if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then
- knofe:FindFirstChild("Trail", true).Enabled = false
- able = false
- local sound = Instance.new('Sound',knofe.Grab)
- sound.SoundId = 'rbxassetid://144884907'
- sound:Play()
- local coru = coroutine.wrap(function()
- start_fragmentation(knofe["big ass knife"].Position,1.25,knofe)
- end)
- coru()
- end
- end
- end)
- if finishnum == 1 then
- for i= 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- else
- for i= 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- end
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end
- end)
- doit()
- end
- function instasplode()
- local coru = coroutine.wrap(function()
- acting = true
- for i=1,1 do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- if finishnum == 1 then
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
- wait(0.01)
- end
- end
- weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- if finishnum == 1 then
- for i = 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
- wait(0.001)
- end
- end
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- knofe:FindFirstChild("Trail", true).Enabled = false
- fireofjesUS = Instance.new("Fire", knofe.Grab)
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
- local coru = coroutine.wrap(function()
- wait(0.45)
- if heck then
- heck:Destroy()
- end
- end)
- coru()
- knofe["big ass knife"].Touched:connect(function(hit)
- if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
- if hum == nil then
- hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
- end
- if knofe then
- local coru = coroutine.wrap(function()
- if hit then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- end
- end)
- coru()
- end
- local sound = Instance.new('Sound',knofe.Grab)
- sound.Name = "BOOM"
- sound.EmitterSize = 25
- sound.SoundId = 'rbxassetid://476477344'
- sound.Volume = 0.5
- sound:Play()
- local exppart = Instance.new("Part", game.Workspace)
- exppart.Size = Vector3.new(0.2, 0.2, 0.2)
- exppart.Anchored = true
- exppart.CanCollide = false
- exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
- exppart.Transparency = 1
- local expaccent = Instance.new("ParticleEmitter", exppart)
- expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
- expaccent.LightEmission = 0.2
- expaccent.LightInfluence = 0.3
- expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
- expaccent.Acceleration = Vector3.new(0, 30, 0)
- expaccent.Drag = 15
- expaccent.LockedToPart = false
- expaccent.Lifetime = NumberRange.new(0.5, 1.5)
- expaccent.Rate = 2000
- expaccent.Speed = NumberRange.new(0,0)
- expaccent.SpreadAngle = Vector2.new(360, 360)
- expaccent:Clone().Parent = exppart
- expaccent:Clone().Parent = exppart
- local exp = Instance.new('Explosion',game.Workspace)
- exp.Position = knofe["big ass knife"].Position
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.BlastRadius = 5
- exp.Visible = false
- exp.BlastPressure = 0
- exp.DestroyJointRadiusPercent = 0
- exp.Hit:connect(function(hit)
- if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then
- wait(0.001)
- tgt = hit
- local coru=coroutine.wrap(function(tgtt)
- local fireofgods = Instance.new("Fire", tgtt)
- fireofgods.Size = 0
- fireofgods.Heat = 0
- local fireofgodsaccent = expaccent:Clone()
- fireofgodsaccent.Parent = hit
- fireofgodsaccent.Rate = 0
- fireofgodsaccent.Speed = NumberRange.new(5, 50)
- fireofgodsaccent.SpreadAngle = Vector2.new(45, 45)
- fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0)
- while fireofgods.Size < 10 do
- fireofgods.Size = fireofgods.Size + 0.1
- fireofgods.Heat = fireofgods.Heat + 0.1
- fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1
- wait()
- end
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
- hit:BreakJoints()
- elseif hit.Parent and hit.Parent:IsA('Accessory') then
- for i,v in pairs(hit:GetChildren()) do
- if v:IsA('SpecialMesh') then
- v.TextureId = ""
- end
- end
- end
- hit.BrickColor = BrickColor.new("Black")
- for i,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA('Shirt') or v:IsA('Pants') then
- v:Destroy()
- end
- end
- while fireofgods.Size > 5 do
- fireofgods.Size = fireofgods.Size - 0.1
- fireofgods.Heat = fireofgods.Heat - 0.1
- wait()
- end
- fireofgods:Destroy()
- if hit.Parent then
- if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
- local p = hit
- fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
- hit:Remove()
- elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then
- print(hit.Name)
- if hit.Name == "Torso" or hit.Name == "Head" then
- print('ohhh YAAAA')
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait()
- killz(hit.Parent,hit.Name,nil,nil,false,false,true)
- end
- end
- end)
- coru(tgt)
- end
- end)
- local explosionaccenttimeout = coroutine.wrap(function()
- wait(0.2)
- for i, exploodn in pairs(exppart:GetChildren()) do
- exploodn.Enabled = false
- end
- wait(2)
- for i, exploodn in pairs(exppart:GetChildren()) do
- exploodn:Remove()
- end
- end)
- explosionaccenttimeout()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- exp.AncestryChanged:connect(function() knofe:Destroy() end)
- coru()
- end
- end)
- if finishnum == 1 then
- for i= 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- else
- wait(0.1)
- end
- weld2.C0 = CFrame.new(-1.5,0,0)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end)
- coru()
- end
- function fireworkit()
- local coru = coroutine.wrap(function()
- acting = true
- local ree = 1
- if finishnum > 1 then
- ree = 3
- end
- for i=1,ree do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- local sound = Instance.new('Sound',knofe.Grab)
- sound.Volume = 0.25
- sound.EmitterSize = 200
- sound.MaxDistance = 300
- sound.SoundId = 'rbxassetid://551051176'
- sound:Play()
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- local partic = Instance.new('ParticleEmitter',knofe.Grab)
- partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
- partic.LightEmission = 0.5
- partic.LightInfluence = 0
- partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)})
- partic.Rotation = NumberRange.new(0,90)
- partic.SpreadAngle = Vector2.new(5,5)
- partic.Speed = NumberRange.new(20)
- partic.Texture = 'rbxassetid://603193846'
- partic.EmissionDirection = Enum.NormalId.Left
- partic.Lifetime = NumberRange.new(0.5,1)
- partic.Rate = 100
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240
- local coru=coroutine.wrap(function()
- wait(1.2)
- sound:Destroy()
- local sound2 = Instance.new('Sound',workspace)
- sound2.SoundId = 'rbxassetid://138080762'
- sound2:Play()
- if heck then
- heck:Destroy()
- end
- for i,v in pairs(knofe:GetChildren()) do
- v.Anchored = true
- end
- partic.Enabled = false
- local colorscheme = math.random(1,4)
- --1 - red & orange
- --2 - blue & pink
- --3 - green & purple
- --4 - blue, red, white
- local colar1 = Color3.fromRGB(255,0,0)
- local colar2 = Color3.fromRGB(255,125,0)
- local colar3 = Color3.fromRGB(255,255,255)
- if colorscheme == 2 then
- colar1 = Color3.fromRGB(0,132,255)
- colar2 = Color3.fromRGB(243,105,255)
- elseif colorscheme == 3 then
- colar1 = Color3.fromRGB(76,255,0)
- colar2 = Color3.fromRGB(128,0,255)
- elseif colorscheme == 4 then
- colar2 = Color3.fromRGB(0,132,255)
- end
- local partic2 = Instance.new('ParticleEmitter',knofe.Grab)
- partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)})
- partic2.LightEmission = 0.5
- partic2.LightInfluence = 0
- partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)})
- partic2.Rotation = NumberRange.new(0,90)
- partic2.SpreadAngle = Vector2.new(180,180)
- partic2.Speed = NumberRange.new(20)
- partic2.Texture = 'rbxassetid://603193846'
- partic2.EmissionDirection = Enum.NormalId.Right
- partic2.Lifetime = NumberRange.new(2,2.5)
- partic2.Rate = 1000
- partic2.Drag = 1
- local partic3 = partic2:Clone()
- partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)})
- partic3.Parent = knofe.Grab
- if colorscheme == 4 then
- local partic4 = partic2:Clone()
- partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)})
- partic4.Parent = knofe.Grab
- end
- wait(1)
- for i,v in pairs(knofe.Grab:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v.Enabled = false
- end
- end
- sound:Destroy()
- wait(2)
- knofe:Destroy()
- end)
- coru()
- wait(0.1)
- weld2.C0 = CFrame.new(-1.5,0,0)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end)
- coru()
- end
- function paralyze()
- local coru = coroutine.wrap(function()
- if paralyzed == true then return end
- paralyzed = true
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- for i = 0,1,0.075 do
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
- wait(0.01)
- end
- for i = 0,1,0.30 do
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
- wait(0.01)
- end
- killz(grabbed,'Left Leg')
- killz(grabbed,'Left Arm')
- killz(grabbed,'Right Leg')
- killz(grabbed,'Right Arm')
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = false
- end
- end
- audio:Stop()
- audio.SoundId = "rbxassetid://2801263"
- tone = math.random(1, 3)
- if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end
- if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end
- if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end
- audio:Play()
- local bleedpart = Instance.new("Part", grabbed)
- bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
- bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
- bleedpart.CanCollide = false
- bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
- bleedpart.Transparency = 1
- local bleedpartweld = Instance.new("Weld", grabbed.Torso)
- bleedpartweld.Part0 = grabbed.Torso
- bleedpartweld.Part1 = bleedpart
- bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
- local cuntruu=coroutine.wrap(function()
- bleed(bleedpart)
- end)
- local thicc = coroutine.wrap(function()
- wait(3)
- bleedpart:Remove()
- end)
- cuntruu()
- thicc()
- for i = 0,1,0.075 do
- weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
- wait(0.01)
- end
- acting = true
- canClick = true
- doing = false
- end)
- coru()
- end
- function explode()
- local coru = coroutine.wrap(function()
- acting = true
- for i=1,finishnum do
- local weld2 = Instance.new('Weld',me["Right Arm"])
- weld2.Part0 = me["Right Arm"]
- weld2.Part1 = me["Torso"]
- weld2.C0 = CFrame.new(-1.5,0,0)
- if finishnum == 1 then
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
- wait(0.01)
- end
- end
- weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
- audio.SoundId = "rbxassetid://166083610"
- audio.PlaybackSpeed = 1
- audio.TimePosition = 0.1
- audio:Play()
- if finishnum == 1 then
- for i = 0,1,0.5 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
- wait(0.001)
- end
- end
- weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
- local knofe = obj1:Clone()
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- knofe.Parent = workspace
- knofe.Name = "Projectile"
- knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
- knofe:FindFirstChild("Trail", true).Enabled = false
- local heck = Instance.new('BodyVelocity',knofe.Grab)
- heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
- local coru = coroutine.wrap(function()
- wait(0.45)
- if heck then
- heck:Destroy()
- end
- end)
- coru()
- knofe["big ass knife"].Touched:connect(function(hit)
- if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
- heck.Velocity = Vector3.new(0,0,0)
- heck:Destroy()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
- if hum == nil then
- hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
- end
- if hum then
- tone = math.random(1, 3)
- local sound = Instance.new('Sound',knofe.Grab)
- if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
- if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
- if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
- sound.PlaybackSpeed = 1
- sound:Play()
- else
- local sound = Instance.new('Sound',knofe.Grab)
- sound.SoundId = 'rbxassetid://267585646'
- sound:Play()
- end
- if knofe then
- local coru = coroutine.wrap(function()
- if hit then
- local uno = Instance.new('Part',workspace)
- local dos = Instance.new('Part',workspace)
- uno.CFrame = hit.CFrame
- dos.CFrame = knofe["big ass knife"].CFrame
- local weld = Instance.new('Weld',knofe["big ass knife"])
- weld.Part0 = hit
- weld.Part1 = knofe["big ass knife"]
- weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
- uno:Destroy()
- dos:Destroy()
- end
- end)
- coru()
- end
- local coru = coroutine.wrap(function()
- for i=1,15,0.7 do
- local sound = Instance.new('Sound',knofe.Grab)
- if knofe then
- if knofe.serration.BrickColor == BrickColor.new('Really red') then
- for i, v in pairs(knofe:GetChildren()) do
- if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
- v.BrickColor = BrickColor.new('Lily white')
- v.Material = Enum.Material.SmoothPlastic
- end
- end
- else
- for i,v in pairs(knofe:GetChildren()) do
- if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
- v.BrickColor = BrickColor.new('Really red')
- v.Material = Enum.Material.Neon
- sound.SoundId = 'rbxassetid://300473653'
- sound.Volume = 0.75
- sound.TimePosition = 0.05
- sound.EmitterSize = 25
- sound.PlaybackSpeed = 1
- sound:Play()
- end
- end
- end
- wait(1/i)
- sound:Destroy()
- end
- end
- local sound = Instance.new('Sound',knofe.Grab)
- sound.Name = "BOOM"
- sound.EmitterSize = 25
- sound.SoundId = 'rbxassetid://12222084'
- sound.TimePosition = 0.1
- sound.Volume = 0.5
- sound:Play()
- local exppart = Instance.new("Part", game.Workspace)
- exppart.Size = Vector3.new(0.2, 0.2, 0.2)
- exppart.Anchored = true
- exppart.CanCollide = false
- exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
- exppart.Transparency = 1
- local expaccent = Instance.new("ParticleEmitter", exppart)
- expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
- expaccent.LightEmission = 0.2
- expaccent.LightInfluence = 0.3
- expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
- expaccent.Acceleration = Vector3.new(0, -8, 0)
- expaccent.Drag = 15
- expaccent.LockedToPart = true
- expaccent.Lifetime = NumberRange.new(0.5, 1.5)
- expaccent.Rate = 2000
- expaccent.Speed = NumberRange.new(10, 150)
- expaccent.SpreadAngle = Vector2.new(360, 360)
- local exp = Instance.new('Explosion',game.Workspace)
- exp.Position = knofe["big ass knife"].Position
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.BlastRadius = 10
- exp.BlastPressure = 100000
- exp.DestroyJointRadiusPercent = 1
- exp.Hit:connect(function(hit)
- if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then
- if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- end
- wait(0.001)
- local coru=coroutine.wrap(function()
- killz(hit.Parent,'Head',knofe,exp)
- end)
- coru()
- elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then
- if hit.Parent.Name ~= "Projectile" then
- hit.Parent:BreakJoints()
- end
- elseif hit.Parent and hit.Parent ~= me then
- hit:BreakJoints()
- end
- end)
- local explosionaccenttimeout = coroutine.wrap(function()
- wait(0.2)
- expaccent.Enabled = false
- wait(2)
- exppart:Remove()
- end)
- explosionaccenttimeout()
- for i,v in pairs(knofe:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 1
- end
- end
- exp.AncestryChanged:connect(function() knofe:Destroy() end)
- end)
- coru()
- end
- end)
- if finishnum == 1 then
- for i= 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- wait(0.001)
- end
- else
- wait(0.1)
- end
- weld2.C0 = CFrame.new(-1.5,0,0)
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- v.Transparency = 0
- end
- end
- weld2:Destroy()
- rightshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- canClick = true
- end)
- coru()
- end
- function release()
- if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
- targetweld = grabbed.Torso.TargetWeld
- local ree= grabbed:FindFirstChild("Left Arm")
- targetweld2 = nil
- if ree and ree:FindFirstChild("Weld") then
- targetweld2 = ree.Weld
- end
- for i, v in pairs(grabbed:GetChildren()) do
- if v.Name == "Part" then
- v.CanCollide = true
- end
- end
- paralyzed = false
- local doit = coroutine.wrap(function()
- local arm = me["Right Arm"]
- local tors = grabbed.Torso
- local arm2 = me["Left Arm"]
- if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
- doing = true
- local weld2 = arm:FindFirstChildOfClass('Weld')
- local weld3 = arm2:FindFirstChildOfClass('Weld')
- local humanroot = me.HumanoidRootPart
- if grabbed:FindFirstChildOfClass('Humanoid') then
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- if grabbed:FindFirstChildOfClass('Humanoid') then
- grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
- grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50
- grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- grabbed = nil
- if humanroot:FindFirstChild('Holder') then
- humanroot.Holder:Destroy()
- end
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
- targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
- if targetweld2 then
- targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
- end
- wait(0.01)
- end
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2)
- weld2:Destroy()
- weld3:Destroy()
- targetweld:Remove()
- if targetweld2 then
- targetweld2:Remove()
- end
- if rightshoulder then
- rightshoulder:Clone().Parent = tors
- end
- if leftshoulder then
- leftshoulder:Clone().Parent = tors
- end
- headweld:Clone().Parent = tors
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- acting = false
- canClick = true
- doing = false
- end)
- doit()
- end
- function stabwithpassion()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
- acting = true
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10
- local arm = me["Right Arm"]
- local tors = me.Torso
- local arm2 = me["Left Arm"]
- local humanroot = me.HumanoidRootPart
- local weld = Instance.new('Weld',tors)
- weld.Part0 = tors
- weld.Part1 = humanroot
- weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
- local weld2 = Instance.new('Weld',arm)
- weld2.Part0 = arm
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- local weld3 = Instance.new('Weld',arm2)
- weld3.Part0 = arm2
- weld3.Part1 = tors
- weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
- for i = 0,1,0.15 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i)
- wait(0.01)
- end
- wait(0.001)
- trail.Enabled = true
- stabbing = true
- audio2.SoundId = 'rbxassetid://608537390'
- audio2:Play()
- for i = 0,1,0.2 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i)
- wait(0.01)
- end
- trail.Enabled = false
- wait(0.1)
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10
- stabbing = false
- wait(0.001)
- for i = 0,1,0.075 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
- knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
- wait(0.01)
- end
- weld:Destroy()
- weld2:Destroy()
- weld3:Destroy()
- torsojoint:Clone().Parent = humanroot
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- canClick = true
- hit = false
- acting = false
- end
- end)
- doit()
- end
- function stab()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
- acting = true
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
- local arm = me["Right Arm"]
- local tors = me.Torso
- local arm2 = me["Left Arm"]
- local humanroot = me.HumanoidRootPart
- local weld = Instance.new('Weld',tors)
- weld.Part0 = tors
- weld.Part1 = humanroot
- weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
- local weld2 = Instance.new('Weld',arm)
- weld2.Part0 = arm
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- local weld3 = Instance.new('Weld',arm2)
- weld3.Part0 = arm2
- weld3.Part1 = tors
- weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
- wait(0.01)
- end
- wait(0.001)
- trail.Enabled = true
- stabbing = true
- audio2.SoundId = 'rbxassetid://608537390'
- audio2:Play()
- for i = 0,1,0.25 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i)
- wait(0.01)
- end
- trail.Enabled = false
- wait(0.1)
- me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
- for i = 0,1,0.25 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i)
- wait(0.01)
- end
- stabbing = false
- wait(0.001)
- for i = 0,1,0.05 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
- weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
- wait(0.01)
- end
- weld:Destroy()
- weld2:Destroy()
- weld3:Destroy()
- torsojoint:Clone().Parent = humanroot
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- canClick = true
- hit = false
- acting = false
- end
- end)
- doit()
- end
- function hardrelease()
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- if me:FindFirstChild('Right Arm') then
- for i,v in pairs(me["Right Arm"]:GetChildren()) do
- if v:IsA('Weld') then
- v:Destroy()
- end
- end
- end
- if me:FindFirstChild('Left Arm') then
- for i,v in pairs(me["Left Arm"]:GetChildren()) do
- if v:IsA('Weld') then
- v:Destroy()
- end
- end
- end
- acting = false
- canClick = true
- doing = false
- grabbed = nil
- end
- function unequip()
- local doit = coroutine.wrap(function()
- if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
- acting = true
- local arm = me["Right Arm"]
- local arm2 = me["Left Arm"]
- local tors = me.Torso
- local weld = Instance.new('Weld',arm)
- weld.Part0 = arm
- weld.Part1 = tors
- weld.C0 = CFrame.new(-1.5,0,0)
- local weld2 = Instance.new("Weld", arm2)
- weld2.Part0 = arm2
- weld2.Part1 = tors
- weld2.C0 = CFrame.new(1.5, 0, 0)
- wait(0.001)
- trail.Enabled = true
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
- wait(0.001)
- end
- trail.Enabled = false
- wait(0.25)
- for i = 0,1,0.1 do
- if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
- weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
- wait(0.01)
- end
- weld:Destroy()
- weld2:Remove()
- if tors ~= nil then
- rightshoulderz:Clone().Parent = me.Torso
- leftshoulderz:Clone().Parent = me.Torso
- end
- acting = false
- end
- end)
- doit()
- end
- mouse.KeyDown:connect(function(key)
- if usable == true then
- if key == "z" then
- if active == false and acting == false then
- active = true
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("KNIFE EQUIPPED",false)
- audio:Stop()
- audio.SoundId = 'rbxassetid://608618332'
- equip()
- wait(0.6)
- audio:Play()
- knifeweld.Part0 = me["Right Arm"]
- knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
- elseif acting == false then
- active = false
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- audio:Stop()
- audio.SoundId = 'rbxassetid://608538233'
- unequip()
- notify("KNIFE UNEQUIPPED",false)
- wait(0.3)
- audio:Play()
- knifeweld.Part0 = me.Torso
- knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
- canClick = true
- end
- elseif key == "f" then
- if mode == 'kill' or active == false then return end
- mode = "kill"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || KILL || [F]",false)
- elseif key == "e" then
- if mode == 'throw' or active == false then return end
- mode = "throw"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || PUSH || [E]",false)
- elseif key == "q" then
- if mode == 'release' or active == false then return end
- mode = "release"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || RELEASE || [Q]",false)
- elseif key == "x" then
- if mode == 'stab' or active == false or acting == true then return end
- mode = "stab"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || STAB || [X]",false)
- elseif key == "c" then
- if mode == 'fling' or active == false or acting == true then return end
- mode = "fling"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || THROW || [C]",false)
- elseif key == "b" then
- if mode == 'instasplode' or active == false or acting == true then return end
- mode = "instasplode"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || MOLOTOV || [B]",false)
- elseif key == "r" then
- if mode == 'paralyze' or active == false then return end
- mode = "paralyze"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || PARALYZE || [R]",false)
- elseif key == "v" then
- if mode == 'explode' or active == false or acting == true then return end
- mode = "explode"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || EXPLODE || [V]",false)
- elseif key == "k" then
- if mode == 'suicide' or active == false or acting == true then return end
- mode = "suicide"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || SUICIDE || [K]",false)
- elseif key == "h" then
- if mode == 'firework' or active == false or acting == true then return end
- mode = "firework"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("MODE || FIREWORK || [H]",false)
- elseif key == "g" then
- if mode == 'finish' or active == false then return end
- mode = "finish"
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- local welp = "ON"
- if finishnum == 1 then
- welp = "OFF"
- end
- notify("MODE || FINISH || [G] || "..welp,false)
- elseif key == "n" then
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- if zombiemode == false then
- notify("ZOMBIE MODE ON || [N]",false)
- zombiemode = true
- else
- notify("ZOMBIE MODE OFF || [N]",false)
- zombiemode = false
- end
- elseif key == "m" then
- if finishnum == 1 then
- finishnum = 15
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("PSYCHOPATH MODE ON || [M]",false)
- if cancolorfilter then
- local Sp00kyGui = Instance.new("ScreenGui")
- local ImageLabel = Instance.new("ImageLabel")
- -- Properties
- Sp00kyGui.Parent = playergui
- Sp00kyGui.Name = "REEEEEEEE"
- ImageLabel.Parent = Sp00kyGui
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel.Image = "rbxassetid://74443700"
- ImageLabel.ImageColor3 = Color3.new(1, 0, 0)
- end
- if canbackgroundmusic == true then
- local sound = Instance.new('Sound',playergui)
- sound.Name = 'PSYCHOPAAAATH'
- sound.SoundId = 'rbxassetid://220875210'
- sound.Looped = true
- sound.Volume = 0.5
- sound:Play()
- end
- else
- finishnum = 1
- if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
- notify("PSYCHOPATH MODE OFF || [M]",false)
- for i,v in pairs(playergui:GetChildren()) do
- if v.Name == "REEEEEEEE" then
- v:Destroy()
- end
- end
- local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH')
- if thisniggarighthere then thisniggarighthere:Destroy() end
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if active == false or usable == false then return end
- if canClick == true and acting == false then
- if mode == "stab" and finishnum == 1 then
- canClick = false
- stab()
- elseif mode == "stab" and finishnum == 15 then
- canClick = false
- stabwithpassion()
- elseif mode == "fling" then
- canClick = false
- fling()
- elseif mode == "explode" then
- canClick = false
- explode()
- elseif mode == "instasplode" then
- canClick = false
- instasplode()
- elseif mode == "finish" then
- canClick = false
- finish()
- elseif mode == "suicide" then
- canClick = false
- kysnigga()
- elseif mode == "firework" then
- canClick = false
- fireworkit()
- else
- canClick = false
- grab()
- end
- else
- if grabbed ~= nil and doing == false then
- if mode == "release" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- release()
- else
- hardrelease()
- end
- elseif mode == "kill" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- kill()
- else
- hardrelease()
- end
- elseif mode == "paralyze" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- paralyze()
- else
- hardrelease()
- end
- elseif mode == "throw" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- throw()
- else
- hardrelease()
- end
- elseif mode == "explode" then
- if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- throw()
- else
- hardrelease()
- end
- end
- end
- end
- end)
- knife.Touched:connect(function(hitz)
- if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then
- if mode == "stab" and stabbing == true and hit == false then
- hit = true
- tone = math.random(1, 3)
- audio:Stop()
- if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
- if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
- if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
- audio.PlaybackSpeed = 1
- audio:Play()
- killz(hitz.Parent,'Left Leg')
- killz(hitz.Parent,'Left Arm')
- killz(hitz.Parent,'Right Leg')
- killz(hitz.Parent,'Right Arm')
- elseif mode == "finish" and finishing == true then
- print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE')
- tone = math.random(1, 3)
- audio:Stop()
- if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
- if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
- if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
- audio.PlaybackSpeed = 1
- audio:Play()
- if hit == false then
- hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0
- wait()
- killz(hitz.Parent,'Head',nil,false,true)
- end
- hit = true
- elseif grabbed == nil and grabbing == true and hit == false then
- if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then
- grabbed = hitz.Parent
- local weldz = Instance.new('Weld',point)
- weldz.Name = "Holder"
- weldz.Part0 = point
- weldz.Part1 = hitz.Parent.Torso
- weldz.C0 = CFrame.new(0,0,-1.2)
- end
- end
- end
- end)
- player.CharacterAdded:connect(function()
- usable = false
- for i,v in pairs(playergui:GetChildren()) do
- if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then
- v:Destroy()
- end
- end
- end)
- while usable do
- local coru = coroutine.wrap(function()
- for i,v in pairs(knifeparts) do
- local function try()
- if v[1].Parent ~= v[2] then
- v[1].Parent = v[2]
- end
- end
- pcall(try)
- end
- if grabbed ~= nil then
- if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
- for i,v in pairs(grabbed:GetChildren()) do
- if v:IsA('Tool') then
- local model = Instance.new('Model',workspace)
- v.Parent = model
- model:TranslateBy(Vector3.new(3,0,0))
- end
- end
- grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid"
- grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0
- grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
- grabweld = grabbed.Torso:FindFirstChild("TargetWeld")
- if grabweld ~= nil then return end
- grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
- if grabbed.Torso:FindFirstChild('Left Shoulder') then
- leftshoulder = grabbed.Torso["Left Shoulder"]:Clone()
- end
- if grabbed.Torso:FindFirstChild('Right Shoulder') then
- rightshoulder = grabbed.Torso["Right Shoulder"]:Clone()
- end
- headweld = grabbed.Torso["Neck"]:Clone()
- local targetweld = Instance.new('Weld',grabbed.Torso)
- targetweld.Part0 = grabbed.Torso
- targetweld.Part1 = grabbed.Head
- targetweld.Name = "TargetWeld"
- targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0)
- if grabbed:FindFirstChild('Left Arm') then
- local targetweld2 = Instance.new('Weld',grabbed["Left Arm"])
- targetweld2.Part0 = grabbed.Torso
- targetweld2.Part1 = grabbed["Left Arm"]
- targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
- end
- for i = 0,1,0.1 do
- if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end
- targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i)
- if targetweld2 then
- targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i)
- end
- wait(0.001)
- end
- end
- end
- end)
- coru()
- wait()
- end
- end
- local coru=coroutine.wrap(function()
- nub()
- end)
- coru()
- player.CharacterAppearanceLoaded:connect(function()
- local coru =coroutine.wrap(function()
- nub()
- end)
- coru()
- end)
- while true do
- local coru=coroutine.wrap(function()
- if grabbed then
- v:FindFirstChildOfClass('Humanoid').Jump = false
- v:FindFirstChildOfClass('Humanoid').Sit = false
- v:FindFirstChildOfClass('Humanoid').JumpPower = 0
- v:FindFirstChildOfClass('Humanoid').PlatformStand = true
- v:FindFirstChildOfClass('Humanoid').Name = "No escape."
- end
- for i,v in pairs(rekt) do
- if v and v:FindFirstChildOfClass('Humanoid') then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('Tool') then
- local model = Instance.new('Model',workspace)
- c.Parent = model
- model:TranslateBy(Vector3.new(3,0,0))
- end
- end
- v:FindFirstChildOfClass('Humanoid').Jump = false
- v:FindFirstChildOfClass('Humanoid').Sit = false
- v:FindFirstChildOfClass('Humanoid').JumpPower = 0
- v:FindFirstChildOfClass('Humanoid').PlatformStand = true
- v:FindFirstChildOfClass('Humanoid').Name = "No escape."
- local thing = getplr(v)
- if thing then
- thing.CameraMinZoomDistance = 3
- end
- else
- local thing = getplr(v)
- if thing then
- thing.CameraMinZoomDistance = 0.5
- end
- table.remove(rekt,i)
- end
- end
- end)
- coru()
- local coru2 = coroutine.wrap(function()
- if curpart then
- curpoint = curpart.CFrame.p
- end
- if lastgui then
- lastgui:Destroy()
- lastgui = nil
- end
- if curpoint then
- lastgui = Instance.new('BillboardGui',player.PlayerGui)
- lastgui.AlwaysOnTop = true
- lastgui.MaxDistance = 0
- lastgui.Size = UDim2.new(5,0,5,0)
- if curpart == nil then
- lastgui.Adornee = workspace
- lastgui.StudsOffsetWorldSpace = curpoint
- else
- lastgui.Adornee = curpart
- end
- local cross = Instance.new('ImageLabel',lastgui)
- cross.BackgroundTransparency = 1
- cross.Size = UDim2.new(1,0,1,0)
- cross.Image = 'rbxassetid://316279304'
- for i,v in pairs(zombies) do
- if v:FindFirstChildOfClass('Humanoid') then
- v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint
- end
- end
- else
- for i,v in pairs(zombies) do
- if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then
- v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position
- end
- end
- end
- end)
- coru2()
- wait()
- end
- end)
- Train.Name = "Train"
- Train.Parent = Frame
- Train.BackgroundColor3 = Color3.new(0, 0, 0)
- Train.BorderColor3 = Color3.new(1, 1, 0)
- Train.Position = UDim2.new(0, 118, 0, 0)
- Train.Size = UDim2.new(0, 118, 0, 50)
- Train.Font = Enum.Font.SourceSans
- Train.FontSize = Enum.FontSize.Size14
- Train.Text = "Train"
- Train.TextColor3 = Color3.new(0, 1, 0)
- Train.TextScaled = true
- Train.TextSize = 14
- Train.TextWrapped = true
- Train.MouseButton1Down:connect(function()
- -- ty krystalburger
- --[[
- Thomas The Dank Engine:
- By: KrystalTeam
- Features: Being a dank engine that kill people
- Version: 1.0.0.2
- --]]
- local p = game.Players.LocalPlayer.Character
- local weld = Instance.new("Weld",p.Torso)
- weld.Part0 = p.Torso
- local train = Instance.new("Part",p.Torso)
- train.Anchored = true
- train.CanCollide = false
- train.Size = Vector3.new(3,2,6)
- train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld.Part1 = train
- weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
- train.Anchored = false
- local TrainMesh = Instance.new("SpecialMesh",train)
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
- TrainMesh.MeshId = "rbxassetid://431017802"
- TrainMesh.TextureId = "rbxassetid://431017809"
- local weld2 = Instance.new("Weld",p.Torso)
- weld2.Part0 = p.Torso
- local Smoke = Instance.new("Part",p.Torso)
- Smoke.Anchored = true
- Smoke.CanCollide = false
- Smoke.Size = Vector3.new(1,1,1)
- Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld2.Part1 = Smoke
- weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
- Smoke.Anchored = false
- Smoke.Transparency = 1;
- local Particle = Instance.new("ParticleEmitter",Smoke)
- Particle.Rate = 50;
- Particle.Speed = NumberRange.new(30,60);
- Particle.VelocitySpread = 4;
- Particle.Texture = "rbxassetid://133619974"
- local Light = Instance.new("SpotLight",train)
- Light.Angle = 45;
- Light.Brightness = 100;
- Light.Face = Enum.NormalId.Back;
- Light.Range = 30;
- p.Humanoid.WalkSpeed = 60;
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1;
- elseif v:IsA("Hat") then
- v:Destroy()
- elseif v:IsA("Model") then
- v:Destroy()
- end
- end
- local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
- train.Touched:connect(function(p)
- if p.Parent then
- if p.Parent:IsA("Model") then
- if game.Players:FindFirstChild(p.Parent.Name) then
- if p.Parent.Name ~= game.Players.LocalPlayer.Name then
- game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
- local Whistle = SFX(475073913)
- Whistle:Play()
- end
- end
- end
- end
- end)
- local Music = SFX(190819252)
- Music.Looped = true;
- wait(1)
- Music:Play();
- -- ~CL 2016
- end)
- Hammer.Name = "Hammer"
- Hammer.Parent = Frame
- Hammer.BackgroundColor3 = Color3.new(0, 0, 0)
- Hammer.BorderColor3 = Color3.new(1, 1, 0)
- Hammer.Position = UDim2.new(0, 118, 0, 82)
- Hammer.Size = UDim2.new(0, 118, 0, 50)
- Hammer.Font = Enum.Font.SourceSans
- Hammer.FontSize = Enum.FontSize.Size14
- Hammer.Text = "Hammer"
- Hammer.TextColor3 = Color3.new(0, 1, 0)
- Hammer.TextScaled = true
- Hammer.TextSize = 14
- Hammer.TextWrapped = true
- Hammer.MouseButton1Down:connect(function()
- wait(0.016666666666667)
- Effects = {}
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local mouse = Player:GetMouse()
- local m = Instance.new("Model", Character)
- m.Name = "Hades"
- local effect = Instance.new("Model", Character)
- effect.Name = "Effects"
- Hammer = {}
- HammerWelds = {}
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local WStyle = "Hammer"
- local Head = Character.Head
- local Torso = Character.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local equipped = false
- local attack = false
- local Anim = "Idle"
- local idle = 0
- local mananum = 0
- local attacktype = 1
- local attacktype2 = 1
- local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local mana = 100
- local it = Instance.new
- local vt = Vector3.new
- local grabbed = false
- local cf = CFrame.new
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- Anim = Instance.new("StringValue")
- Anim.Name = "Animation"
- Anim.Parent = Character
- Anim.Value = "Walking"
- local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- xenabled = true
- cenabled = true
- venabled = true
- zenabled = true
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
- RSH = nil
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = Torso["Right Hip"]
- LH = Torso["Left Hip"]
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "RW"
- 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 = "LW"
- LW.Part0 = Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = LeftArm
- LW.Parent = Torso
- clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- RemoveOutlines = function(part)
- part.TopSurface = 10
- end
- CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
- RemoveOutlines(Part)
- return Part
- end
- CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.016666666666667
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf 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
- )
- swait = function(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local fengui = it("GuiMain")
- fengui.Parent = Player.PlayerGui
- fengui.Name = "WeaponGUI"
- local fenframe = it("Frame")
- fenframe.Parent = fengui
- fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
- fenframe.BackgroundTransparency = 1
- fenframe.BorderColor3 = Color3.new(17, 17, 17)
- fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
- fenframe.Position = UDim2.new(0.4, 0, 0.1, 0)
- local fenbarmana1 = it("TextLabel")
- fenbarmana1.Parent = fenframe
- fenbarmana1.Text = " "
- fenbarmana1.BackgroundTransparency = 0
- fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0)
- fenbarmana1.SizeConstraint = "RelativeXY"
- fenbarmana1.TextXAlignment = "Center"
- fenbarmana1.TextYAlignment = "Center"
- fenbarmana1.Position = UDim2.new(0, 0, 0, 0)
- fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0)
- local fenbarmana2 = it("TextLabel")
- fenbarmana2.Parent = fenframe
- fenbarmana2.Text = " "
- fenbarmana2.BackgroundTransparency = 0
- fenbarmana2.BackgroundColor3 = Torso.Color
- fenbarmana2.SizeConstraint = "RelativeXY"
- fenbarmana2.TextXAlignment = "Center"
- fenbarmana2.TextYAlignment = "Center"
- fenbarmana2.Position = UDim2.new(0, 0, 0, 0)
- fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0)
- local fenbarmana3 = it("TextLabel")
- fenbarmana3.Parent = fenframe
- fenbarmana3.Text = " "
- fenbarmana3.BackgroundTransparency = 0
- fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3)
- fenbarmana3.SizeConstraint = "RelativeXY"
- fenbarmana3.TextXAlignment = "Center"
- fenbarmana3.TextYAlignment = "Center"
- fenbarmana3.Position = UDim2.new(0, 0, 0, 0)
- fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0)
- local fenbarmana4 = it("TextLabel")
- fenbarmana4.Parent = fenframe
- fenbarmana4.Text = "Energy(" .. mana .. ")"
- fenbarmana4.BackgroundTransparency = 1
- fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0)
- fenbarmana4.SizeConstraint = "RelativeXY"
- fenbarmana4.TextXAlignment = "Center"
- fenbarmana4.TextYAlignment = "Center"
- fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0)
- fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0)
- fenbarmana4.FontSize = "Size9"
- fenbarmana4.TextStrokeTransparency = 0
- fenbarmana4.TextColor = BrickColor.new("White")
- local fengui = it("GuiMain")
- fengui.Parent = Player.PlayerGui
- fengui.Name = "WeaponGUI"
- local fenframe1 = it("TextLabel")
- fenframe1.Parent = fengui
- fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
- fenframe1.BackgroundTransparency = 0.3
- fenframe1.BorderSizePixel = 5
- fenframe1.BorderColor3 = Color3.new(1, 1, 1)
- fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
- fenframe1.Text = "Z"
- fenframe1.TextWrapped = true
- fenframe1.FontSize = 7
- fenframe1.TextColor3 = Color3.new(1, 1, 1)
- local fenframe1a = it("TextLabel")
- fenframe1a.Parent = fengui
- fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
- fenframe1a.BackgroundTransparency = 0.3
- fenframe1a.BorderSizePixel = 5
- fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
- fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
- fenframe1a.Text = ""
- local fenframe2 = it("TextLabel")
- fenframe2.Parent = fengui
- fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
- fenframe2.BackgroundTransparency = 0.3
- fenframe2.BorderSizePixel = 5
- fenframe2.BorderColor3 = Color3.new(1, 1, 1)
- fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
- fenframe2.Text = "X"
- fenframe2.TextWrapped = true
- fenframe2.FontSize = 7
- fenframe2.TextColor3 = Color3.new(1, 1, 1)
- local fenframe2a = it("TextLabel")
- fenframe2a.Parent = fengui
- fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
- fenframe2a.BackgroundTransparency = 0.3
- fenframe2a.BorderSizePixel = 5
- fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
- fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
- fenframe2a.Text = ""
- local fenframe3 = it("TextLabel")
- fenframe3.Parent = fengui
- fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
- fenframe3.BackgroundTransparency = 0.3
- fenframe3.BorderSizePixel = 5
- fenframe3.BorderColor3 = Color3.new(1, 1, 1)
- fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
- fenframe3.Text = "C"
- fenframe3.TextWrapped = true
- fenframe3.FontSize = 7
- fenframe3.TextColor3 = Color3.new(1, 1, 1)
- local fenframe3a = it("TextLabel")
- fenframe3a.Parent = fengui
- fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
- fenframe3a.BackgroundTransparency = 0.3
- fenframe3a.BorderSizePixel = 5
- fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
- fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
- fenframe3a.Text = ""
- local fenframe4 = it("TextLabel")
- fenframe4.Parent = fengui
- fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
- fenframe4.BackgroundTransparency = 0.3
- fenframe4.BorderSizePixel = 5
- fenframe4.BorderColor3 = Color3.new(1, 1, 1)
- fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
- fenframe4.Text = "V"
- fenframe4.TextWrapped = true
- fenframe4.FontSize = 7
- fenframe4.TextColor3 = Color3.new(1, 1, 1)
- local fenframe4a = it("TextLabel")
- fenframe4a.Parent = fengui
- fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
- fenframe4a.BackgroundTransparency = 0.3
- fenframe4a.BorderSizePixel = 5
- fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
- fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
- fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
- fenframe4a.Text = ""
- fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
- fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
- fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
- fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
- CreateWeld = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- rayCast = function(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- CreateSound = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end
- ))
- end
- local getclosest = function(obj, distance)
- local last, lastx = distance + 1, nil
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
- local t = v.Torso
- local dist = t.Position - obj.Position.magnitude
- if dist <= distance and dist < last then
- last = dist
- lastx = v
- end
- end
- end
- return lastx
- end
- Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
- HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.971689701, -0.108011246, 0.0337958336, 7.52883196e-008, -1, 5.96046377e-008, 1.49776653e-008, -5.96046377e-008, -1, 1, 7.52883196e-008, 1.497766e-008))
- CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
- FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
- CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(3, 5.2300005, 2.70000005))
- HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100002289, -0.0249986649, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
- CreateMesh("CylinderMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500193, 0.0100011826, -2.64999771, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
- Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500288, 0.0100007057, 2.60000563, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
- Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499594, 0.0100002289, -1.46000004, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999927521, -2.06000137, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100007057, 2.06999922, -5.90500736, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0049996376, 1.21000218, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.15999997, 1.44999993, 0.399999976))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.91499901, -0.0250031948, 0.0100007057, -6.23954073e-015, 1, 4.37113883e-008, 1, 1.08930461e-014, -5.96046448e-008, -5.96046448e-008, 4.37113883e-008, -1))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 15))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0400049686, -0.0049996376, -5.91499901, 1, 5.96046377e-008, 1.42108547e-014, 1.42108547e-014, -4.37113883e-008, -1, -5.96046377e-008, 1, -4.37113883e-008))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00500011444, -1.22999811, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 9.44000053, 0.51000011))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.724998236, -0.0100002289, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499784, 0.00999975204, 1.47000384, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.360000014))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, -5.46746063, -2.75282335, -5.96046235e-008, -1.59872116e-014, -1, -0.499999762, 0.866025686, 2.98022833e-008, 0.866025686, 0.499999732, -5.16191392e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00500011444, -0.0100033283, 4.05498981, -2.08616257e-007, 4.37113954e-008, 1, 1, 7.80494105e-015, 2.08616257e-007, 4.94211283e-015, 1, -4.37113954e-008))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0200004578, -5.48171663, 2.72313046, -5.96046235e-008, -1.59872116e-014, -1, 0.500000298, 0.866025209, -2.98023437e-008, 0.866025209, -0.500000298, -5.1619093e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.650000036))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199995041, 0.0192580223, -5.73387241, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.240000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, 0.0192596912, -6.29887009, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- for _,c in pairs(m:children()) do
- if c.className == "Part" then
- table.insert(Hammer, c)
- end
- end
- for _,c in pairs(m:children()) do
- if c.className == "Weld" then
- table.insert(HammerWelds, c)
- print(c)
- end
- end
- local model2 = (Instance.new("Model"))
- model2.Parent = nil
- model2.Name = "Chakkran"
- DBlade = {}
- DBladeWelds = {}
- Handle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
- Handle2Weld = CreateWeld(model2, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.949001789, 0.258885384, 0.0171251297, 0.000207733654, -0.99935025, 0.0360427685, -0.00575854396, -0.036043372, -0.999333739, 0.99998337, 4.13686969e-008, -0.00576228928))
- FakeHandle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
- FakeHandle2Weld = CreateWeld(model2, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
- Part = CreatePart(model2, Enum.Material.Plastic, 0.20000000298023, 0, "Black", "Part", Vector3.new(1, 1, 1))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.92499352, -0.0200054646, -0.0200014114, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.20000005))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -8.08396149, 2.38490152, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.08396339, 2.48509741, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 4.19999981, 0.430000037))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.0473937988, 8.07886314, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.19999981, 0.430000037))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -5.36886501, -0.00739479065, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.0999999, 0.430000037))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.097391963, 9.86886406, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.77499247, -0.0200061798, -0.0100002289, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 3))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.87396622, 3.47510171, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.8739624, 3.23490095, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -1.59739149, 8.96886349, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0149993896, -0.0100066662, 1.40500164, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.97396851, 3.07490206, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 2.69000053, 0.51000011))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.9739666, 3.09509993, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -6.23282051, -6.55576801, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, 0.749990344, -1.77499676, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -1.96886635, -0.0223923922, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -9.13886261, -0.0223926306, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 6.25878143, -6.52980947, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -8.84886265, -0.0223910809, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.67886019, -0.0223929882, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 1.59260416, 8.96886063, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, -0.780008078, -1.7750001, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.309999585, 0.430000037))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.56385708, -0.00739264488, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 1.18883181, -1.45985472, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
- Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
- PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.16286898, -1.48581553, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
- Hitbox2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox2", Vector3.new(0.219999999, 7.46999931, 2.97999978))
- Hitbox2Weld = CreateWeld(model2, FakeHandle2, Hitbox2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -6.36385679, -0.112392664, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
- CreateMesh("SpecialMesh", Hitbox2, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
- for _,c in pairs(model2:children()) do
- if c.className == "Part" then
- table.insert(DBlade, c)
- end
- end
- for _,c in pairs(model2:children()) do
- if c.className == "Weld" then
- table.insert(DBladeWelds, c)
- print(c)
- end
- end
- Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CreateSound(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- else
- do
- if Type == "Normal" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- else
- do
- if Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- else
- do
- if Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
- end
- end
- ))
- local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- else
- do
- if Type == "Snare" then
- local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- game:GetService("Debris"):AddItem(bp, 1)
- else
- do
- if Type == "Freeze" then
- local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end
- ), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- do
- local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- ShowDamage = function(Pos, Text, Time, Color)
- local Rate = 0.033333333333333
- if not Pos then
- local Pos = Vector3.new(0, 0, 0)
- end
- local Text = Text or ""
- local Time = Time or 2
- if not Color then
- local Color = Color3.new(1, 0, 1)
- end
- local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
- local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
- game.Debris:AddItem(EffectPart, Time + 0.1)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end
- )
- end
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
- for _,c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
- end
- end
- end
- end
- end
- BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- end
- end
- end
- SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(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 + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- BreakEffect = function(brickcolor, cframe, x1, y1, z1)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
- end
- battackone = function()
- attack = true
- local con = Hitbox2.Touched:connect(function(hit)
- Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- CreateSound("http://roblox.com/asset/?id=189505665", Hitbox2, 1, 0.85)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(70)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
- end
- attack = false
- con:disconnect()
- end
- HadesKnife = function()
- attack = true
- local con = Hitbox2.Touched:connect(function(hit)
- Damagefunc(Hitbox2, hit, 5, 10, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- HellFromAbove = function()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
- RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
- CreateSound("http://roblox.com/asset/?id=231917970", RootPart, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 100) * angles(math.rad(0), math.rad(0), math.rad(-55)), 0.37)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.37)
- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), 0.37)
- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.37)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.37)
- end
- coroutine.resume(coroutine.create(function()
- invisle()
- end
- ))
- end
- spread = 0
- range = 100
- rangepower = 25
- shoottrail3 = function(mouse, baseprt)
- coroutine.resume(coroutine.create(function(v)
- local spreadvector = Vector3.new(math.random(-spread, spread), math.random(-spread, spread), math.random(-spread, spread)) * baseprt.Position - mouse.Hit.p.magnitude / 100
- local dir = CFrame.new((baseprt.Position + mouse.Hit.p) / 2, mouse.Hit.p + spreadvector)
- local hit, pos = rayCast(baseprt.Position, dir.lookVector, 10, Character)
- local rangepos = range * 50
- local drawtrail = function(From, To)
- local effectsmsh = Instance.new("SpecialMesh")
- effectsmsh.Scale = Vector3.new(1, 1, 1)
- effectsmsh.Name = "Mesh"
- effectsmsh.MeshType = "Sphere"
- effectsmsh.Scale = Vector3.new(5, 5, 5)
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
- effectsg.Parent = effect
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new("Black")
- effectsg.Reflectance = 0.25
- local LP = From
- local point1 = To
- local mg = LP - point1.magnitude
- effectsmsh.Scale = Vector3.new(20, 20, 20)
- effectsg.CFrame = CFrame.new((LP + point1) / 2, point1) * CFrame.Angles(math.rad(90), 0, 0)
- coroutine.resume(coroutine.create(function()
- swait()
- effectsg.Parent = nil
- end
- ))
- end
- local newpos = baseprt.Position
- local inc = rangepower / 10
- repeat
- swait()
- rangepos = rangepos - 10
- hit = rayCast(newpos, dir.lookVector, inc, Character)
- drawtrail(newpos, pos)
- local list = (effect:children())
- local torso = nil
- local dist = 10
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and temp.Position - pos.magnitude < dist then
- torso = temp
- dist = temp.Position - pos.magnitude
- end
- end
- end
- if torso ~= nil then
- dir = CFrame.new(pos, torso.Position)
- end
- newpos = newpos + dir.lookVector * inc
- if hit ~= nil then
- rangepos = 0
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hum = hit.Parent.Humanoid
- tTorso = hit.Parent.Torso
- MagniDamage(hit, 10, 10, 15, 0, "Knockdown")
- attackdebounce = false
- else
- if hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
- hum = hit.Parent.Parent.Humanoid
- tTorso = hit.Parent.Parent.Torso
- MagniDamage(hit.Parent.Parent.Torso, 10, 10, 15, 0, "Knockdown")
- attackdebounce = false
- end
- end
- for i = 1, math.random(3, 6) do
- BreakEffect(BrickColor.new("Black"), CFrame.new(newpos), 0.5, math.random(5, 20), 0.5)
- end
- CreateSound("http://roblox.com/asset/?id=3264793", hit, 1, math.random() + math.random() + 1)
- SphereEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 3, 3, 3, 0.07)
- BlockEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 2, 2, 2, 0.07, 1)
- end
- until rangepos <= 0
- end
- ))
- end
- PlaySound = function(id, pitch, parent, volume)
- if volume == nil then
- volume = tonumber(1)
- end
- local epicsound = Instance.new("Sound")
- epicsound.Name = "Epicosound"
- epicsound.SoundId = "rbxassetid://" .. id
- epicsound.Volume = volume
- epicsound.Pitch = pitch
- epicsound.Looped = false
- epicsound.Parent = parent
- wait()
- epicsound:Play()
- game:service("Debris"):AddItem(epicsound, 8)
- end
- Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
- Shot = function(part)
- local shot = math.random(1, #Shots)
- PlaySound(Shots[shot], 1, part)
- end
- invisle = function()
- invisy = true
- Humanoid.WalkSpeed = 30
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(Character:children()) do
- if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 1
- end
- if v:IsA("Hat") then
- v.Handle.Transparency = 1
- end
- Head.face.Transparency = 1
- end
- for i,v in pairs(model2:children()) do
- if v:IsA("BasePart") then
- v.Transparency = 1
- Handle2.TransParency = 1
- FakeHandle2.TransParency = 1
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while invisy == true do
- wait(0.5)
- for i = 1, 3 do
- local orb = CreatePart(Character, "SmoothPlastic", 0, 0.5, BrickColor.new("Black"), "Orb", vt())
- orb.Anchored = true
- Shot(orb)
- local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10))
- orb.CFrame = cf(RootPart.Position + vt(math.random(-10, 10), 1, math.random(-10, 10)))
- SphereEffect(BrickColor.new("Black"), orb.CFrame, 10, 10, 10, 1, 1, 1, 0.1)
- coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
- wait(1)
- Part.Parent = nil
- local spread = vt(0, 0, 0) * (Part.Position - (Part.Position + vt(0, -1, 0))).magnitude / 100
- local TheHit = Part.Position + vt(0, -1, 0)
- local MouseLook = cf((Part.Position + TheHit) / 2, TheHit + spread)
- local hit, pos = rayCast(Part.Position, MouseLook.lookVector, 999, Character)
- local mag = Part.Position - pos.magnitude
- CylinderEffect(BrickColor.new("Black"), CFrame.new((Part.Position + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 10, 1, 0.5, 100, 0.5, 0.05)
- RingEffect(BrickColor.new("Black"), cf(pos) * angles(1.57, math.random(-100, 100) / 100, math.random(-100, 100) / 100), 1, 1, 1, 2, 2, 2, 0.05)
- do
- local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
- ref.CFrame = cf(pos)
- CreateSound("http://roblox.com/asset/?id=231917788", ref, 1, 1.4)
- coroutine.resume(coroutine.create(function(Part)
- wait(1)
- Part.Parent = nil
- end
- ), ref)
- MagniDamage(ref, 15, 5, 10, 0, "Normal")
- if hit ~= nil then
- end
- end
- end
- ), orb, omsh)
- end
- wait(0.5)
- local n = 2
- for i = 0, 1, 0.1 do
- wait()
- n = n - 0.1
- end
- RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while invisy == true do
- wait(0.1)
- Torso.Velocity = RootPart.CFrame.lookVector * 50
- WaveEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
- end
- end
- ))
- for i = 1, 100 do
- wait()
- end
- SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
- SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
- BlockEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 1, 1, 1, 1, 0.05, 1)
- CreateSound("http://roblox.com/asset/?id=231917806", Torso, 1, 1)
- MagniDamage(Hitbox, 10, 15, 25, 10, "Normal")
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(Character:children()) do
- if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0
- end
- if v:IsA("Hat") then
- v.Handle.Transparency = 0
- end
- Head.face.Transparency = 0
- end
- for i,v in pairs(model2:children()) do
- if v:IsA("BasePart") then
- v.Transparency = 0
- end
- end
- Hitbox2.Transparency = 1
- Handle2.Transparency = 1
- FakeHandle2.Transparency = 1
- end
- ))
- Humanoid.WalkSpeed = 16
- attack = false
- invisy = false
- end
- battacktwo = function()
- attack = true
- local con = Hitbox2.Touched:connect(function(hit)
- Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- CreateSound("http://roblox.com/asset/?id=320557453", Handle2, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=189505639", Hitbox2, 1, 0.85)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- attack = false
- con:disconnect()
- end
- HadesArrow = function()
- attack = true
- CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, 0, 0), 1, 1, 1, 1, 1, 1, 0.05)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- shoottrail3(mouse, LeftArm)
- attack = false
- end
- battackthree = function()
- attack = true
- CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 1 do
- swait()
- local ef = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
- CreateSound("http://www.roblox.com/asset/?id=192410089", ef, 1, 1)
- ef.Anchored = true
- ef.CFrame = RootPart.CFrame * cf(0, 0, -7.5)
- MagniDamage(ef, 7, 10, 15, 10, "Knockdown")
- SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -7.5), 1, 1, 1, 5, 5, 5, 0.05)
- game:GetService("Debris"):AddItem(ef, 0.5)
- WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2, -7.5), 1, 1, 1, 1, 1, 1, 0.08)
- end
- end
- ))
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
- end
- attack = false
- end
- attackone = function()
- attack = true
- CreateSound("http://roblox.com/asset/?id=320557453", Handle, 1, 1)
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 5, 13, math.random(5, 10), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- attacktwo = function()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1.1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- attackthree = function()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 5, 13, math.random(1, 10), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- CreateSound("http://roblox.com/asset/?id=320557518", Handle, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 0.9)
- for i = 0, 1, 0.5 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- con:disconnect()
- CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
- attack = false
- end
- BlackDeath = function()
- attack = true
- CreateSound("http://www.roblox.com/asset/?id=169445046", Handle, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- BlockEffect(BrickColor.new("Black"), LeftArm.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-180)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- n = 2
- local cf2 = RootPart.CFrame * cf(0, 500, -20)
- local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
- ref.CFrame = cf2
- ref.Anchored = true
- local TheHit = ref.Position + vt(0, -1, 0)
- local MouseLook = cf((ref.Position + TheHit) / 2, TheHit)
- local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character)
- local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
- ref2.CFrame = cf(pos)
- ref2.Anchored = true
- local mag = (ref.Position - pos).magnitude
- CylinderEffect(BrickColor.new("Black"), CFrame.new((ref.Position + pos) / 2, pos) * angles(1.57, 0, 0), 5, mag * 5, 5, 1, 0, 1, 0.05)
- SphereEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 3, 3, 3, 0.02)
- BlockEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 2, 2, 2, 0.02)
- WaveEffect(BrickColor.new("Black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
- RingEffect(BrickColor.new("Black"), cf(ref2.Position) * angles(1.57, 0, 0), 5, 5, 5, 1, 1, 1, 0.05)
- MagniDamage(ref2, 10, 10, 15, 30, "Knockdown")
- CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.9)
- CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.8)
- game:GetService("Debris"):AddItem(ref, 2)
- game:GetService("Debris"):AddItem(ref2, 2)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(70)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- attack = false
- end
- HadesHammer = function()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
- end
- )
- Humanoid.Jump = true
- CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- for i = 0, 1, 0.5 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- for i = 0, 1, 0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- con:disconnect()
- hit = nil
- for i = 1, 1 do
- if hit == nil then
- swait()
- end
- hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
- end
- local hit = nil
- while hit == nil do
- swait()
- hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
- end
- hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
- do
- if hit ~= nil then
- local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
- ref.Anchored = true
- ref.CFrame = cf(pos)
- game:GetService("Debris"):AddItem(ref, 3)
- for i = 1, 10 do
- Col = hit.BrickColor
- local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
- groundpart.Anchored = true
- groundpart.CanCollide = true
- groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(groundpart, 5)
- end
- CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
- WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
- MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
- end
- CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05)
- CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
- attack = false
- end
- end
- Beast = function()
- attack = true
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
- end
- CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
- num = 0
- for i = 0, 1, 0.01 do
- swait()
- if num >= 10 then
- num = 0
- WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
- end
- for i = 1, 2 do
- if math.random(1, 5) == 1 then
- BlockEffect(BrickColor.new("Black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
- else
- BlockEffect(BrickColor.new("Really black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
- end
- end
- num = num + 1
- end
- SphereEffect(BrickColor.new("Black"), Hitbox2.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
- for i = 0, 1, 0.1 do
- swait()
- end
- model2.Parent = nil
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- end
- CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
- SphereEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
- for i = 0, 1, 0.1 do
- swait()
- end
- model2.Parent = nil
- m.Parent = Character
- for i = 1, #Hammer do
- Hammer[i].Parent = m
- HammerWelds[i].Parent = Hammer[1]
- end
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
- end
- WStyle = "Hammer"
- attack = false
- end
- Beauty = function()
- attack = true
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
- end
- num = 0
- CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
- for i = 0, 1, 0.01 do
- swait()
- if num >= 10 then
- num = 0
- WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
- end
- for i = 1, 2 do
- if math.random(1, 5) == 1 then
- BlockEffect(BrickColor.new("Black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
- else
- BlockEffect(BrickColor.new("Really black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
- end
- end
- num = num + 1
- end
- CreateSound("http://www.roblox.com/asset/?id=243711369", RootPart, 1, 1)
- SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
- for i = 0, 1, 0.1 do
- swait()
- end
- m.Parent = nil
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- end
- CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
- SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
- for i = 0, 1, 0.1 do
- swait()
- end
- m.Parent = nil
- model2.Parent = Character
- for i = 1, #DBlade do
- DBlade[i].Parent = model2
- DBladeWelds[i].Parent = DBlade[1]
- end
- m.Parent = nil
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
- end
- WStyle = "Blade"
- attack = false
- end
- HadesStorm = function()
- attack = true
- CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
- for i = 0, 1, 0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * angles(math.rad(180), math.rad(0), math.rad(-50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- for i = 0, 1, 0.5 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- for i = 0, 1, 0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
- end
- hit = nil
- for i = 1, 1 do
- if hit == nil then
- swait()
- end
- hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
- end
- local hit = nil
- while hit == nil do
- swait()
- hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
- end
- hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
- do
- if hit ~= nil then
- local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
- ref.Anchored = true
- ref.CFrame = cf(pos)
- game:GetService("Debris"):AddItem(ref, 3)
- for i = 1, 10 do
- Col = hit.BrickColor
- local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
- groundpart.Anchored = true
- groundpart.CanCollide = true
- groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(groundpart, 5)
- end
- CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
- WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
- MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
- end
- local numb = -8
- local basecf = RootPart.CFrame
- for i = 1, 4 do
- swait()
- local cf2 = basecf * cf(0, 0, numb)
- local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
- ref.CFrame = cf2
- ref.Anchored = true
- local TheHit = ref.Position + vt(0, -1, 0)
- local MouseLook = cf((ref.Position + TheHit) / 2, TheHit)
- local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character)
- local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
- ref2.CFrame = cf(pos)
- ref2.Anchored = true
- SphereEffect(BrickColor.new("Really black"), ref2.CFrame, 15, 15, 15, 5, 5, 5, 0.02)
- WaveEffect(BrickColor.new("Really black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
- MagniDamage(ref2, 20, 10, 15, math.random(5, 20), "Normal", RootPart)
- CreateSound("http://www.roblox.com/asset/?id=161006093", ref2, 1, 0.6)
- game:GetService("Debris"):AddItem(ref, 2)
- game:GetService("Debris"):AddItem(ref2, 2)
- numb = numb - 15
- wait(0.4)
- end
- CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 3, 1, 0.05)
- CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 2, 1, 2, 0.05)
- attack = false
- end
- end
- ob1u = function()
- end
- ob1d = function()
- if WStyle == "Hammer" then
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- else
- if attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- else
- if attack == false and attacktype == 3 then
- attacktype = 1
- attackthree()
- end
- end
- end
- end
- if WStyle == "Blade" then
- if attack == false and attacktype2 == 1 then
- attacktype2 = 2
- battackone()
- else
- if attack == false and attacktype2 == 2 then
- attacktype2 = 3
- battacktwo()
- else
- if attack == false and attacktype2 == 3 then
- attacktype2 = 1
- battackthree()
- end
- end
- end
- end
- end
- key = function(k)
- k = k:lower()
- if attack == false and k == "z" and zenabled == true and mana >= 15 then
- zenabled = false
- mana = mana
- coroutine.resume(coroutine.create(function()
- for i = 1, 0, -0.02 do
- swait()
- fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
- end
- zenabled = true
- fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
- end
- ))
- if WStyle == "Hammer" then
- --HadesHammer()
- else
- if WStyle == "Blade" then
- HadesKnife()
- end
- end
- else
- if attack == false and k == "x" and mana >= 25 and xenabled == true then
- xenabled = false
- mana = mana
- coroutine.resume(coroutine.create(function()
- for i = 1, 0, -0.0025 do
- swait()
- fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
- end
- xenabled = true
- fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
- end
- ))
- if WStyle == "Hammer" then
- BlackDeath()
- else
- if WStyle == "Blade" then
- HellFromAbove()
- end
- end
- else
- if attack == false and k == "c" and mana >= 35 and cenabled == true then
- cenabled = false
- mana = mana
- coroutine.resume(coroutine.create(function()
- for i = 1, 0, -0.0025 do
- swait()
- fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
- end
- cenabled = true
- fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
- end
- ))
- if WStyle == "Hammer" then
- --HadesStorm()
- else
- if WStyle == "Blade" then
- HadesArrow()
- end
- end
- else
- if attack == false and k == "v" and mana >= 25 and venabled == true then
- venabled = false
- mana = mana
- coroutine.resume(coroutine.create(function()
- for i = 1, 0, -0.025 do
- swait()
- fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
- end
- venabled = true
- fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
- end
- ))
- if WStyle == "Hammer" then
- Beauty()
- else
- if WStyle == "Blade" then
- Beast()
- end
- end
- end
- end
- end
- end
- end
- Bin = Instance.new("HopperBin", Player.Backpack)
- ds = function(mouse)
- end
- s = function(mouse)
- print("Selected")
- mouse.Button1Down:connect(function()
- ob1d(mouse)
- end
- )
- mouse.Button1Up:connect(function()
- ob1u(mouse)
- end
- )
- mouse.KeyDown:connect(key)
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- while 1 do
- while 1 do
- while 1 do
- swait()
- Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
- torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if equipped == true or equipped == false then
- if 1 < RootPart.Velocity.y and hit == nil then
- Anim = "Jump"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- else
- if RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- else
- if torvel<1 and hit~=nil then
- Anim = "Idle"
- if attack == false then
- if WStyle == "Hammer" then
- change = 1
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- else
- if WStyle == "Blade" then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
- end
- end
- end
- else
- if torvel>2 and torvel<22 and hit~=nil then
- Anim = "Walk"
- if attack == false then
- if WStyle == "Hammer" then
- change = 1
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(70), math.rad(0), math.rad(180)), 0.3)
- else
- if WStyle == "Blade" then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
- end
- end
- end
- end
- end
- end
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[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 Thing[1].Transparency <= 1 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))
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Cylinder" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Blood" then
- 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]
- else
- if Thing[2] == "Elec" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if 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
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- do
- fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true)
- fenbarmana4.Text = "[Hate] <{[ " .. mana .. " ]}> [Hate]"
- if 100 <= mana then
- mana = 100
- end
- end
- end
- if mananum <= 8 then
- mananum = mananum + 1
- end
- end
- mananum = 0
- mana = mana + 1
- end
- end)
- Ravenger.Name = "Ravenger"
- Ravenger.Parent = Frame
- Ravenger.BackgroundColor3 = Color3.new(0, 0, 0)
- Ravenger.BorderColor3 = Color3.new(1, 1, 0)
- Ravenger.Position = UDim2.new(0, 0, 0, 82)
- Ravenger.Size = UDim2.new(0, 118, 0, 50)
- Ravenger.Font = Enum.Font.SourceSans
- Ravenger.FontSize = Enum.FontSize.Size14
- Ravenger.Text = "Ravenger"
- Ravenger.TextColor3 = Color3.new(0, 1, 0)
- Ravenger.TextScaled = true
- Ravenger.TextSize = 14
- Ravenger.TextWrapped = true
- Ravenger.MouseButton1Down:connect(function()
- --[[ Leaked by CLarramore ]]--
- -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
- -- I am now spreading this on
- -- You can now make ur edits with this
- -- ENTIRELY OPEN SOURCED!!!! YAY!
- -- NightOwlAce dont kill me
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=1
- pathtrans=.7
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- cloak=false
- lightcolor='Bright blue'
- local Color1=Torso.BrickColor
- local fengui=it("GuiMain")
- fengui.Parent=Player.PlayerGui
- fengui.Name="WeaponGUI"
- local fenframe=it("Frame")
- fenframe.Parent=fengui
- fenframe.BackgroundColor3=Color3.new(255,255,255)
- fenframe.BackgroundTransparency=1
- fenframe.BorderColor3=Color3.new(17,17,17)
- fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
- fenframe.Position=UDim2.new(0.4,0,0.1,0)
- local fenbarmana1=it("TextLabel")
- fenbarmana1.Parent=fenframe
- fenbarmana1.Text=" "
- fenbarmana1.BackgroundTransparency=0
- fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
- fenbarmana1.SizeConstraint="RelativeXY"
- fenbarmana1.TextXAlignment="Center"
- fenbarmana1.TextYAlignment="Center"
- fenbarmana1.Position=UDim2.new(0,0,0,0)
- fenbarmana1.Size=UDim2.new(4,0,0.2,0)
- local fenbarmana2=it("TextLabel")
- fenbarmana2.Parent=fenframe
- fenbarmana2.Text=" "
- fenbarmana2.BackgroundTransparency=0
- fenbarmana2.BackgroundColor3=Torso.Color
- fenbarmana2.SizeConstraint="RelativeXY"
- fenbarmana2.TextXAlignment="Center"
- fenbarmana2.TextYAlignment="Center"
- fenbarmana2.Position=UDim2.new(0,0,0,0)
- fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
- local fenbarmana3=it("TextLabel")
- fenbarmana3.Parent=fenframe
- fenbarmana3.Text=" "
- fenbarmana3.BackgroundTransparency=0
- fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
- fenbarmana3.SizeConstraint="RelativeXY"
- fenbarmana3.TextXAlignment="Center"
- fenbarmana3.TextYAlignment="Center"
- fenbarmana3.Position=UDim2.new(0,0,0,0)
- fenbarmana3.Size=UDim2.new(0,0,0.2,0)
- local fenbarmana4=it("TextLabel")
- fenbarmana4.Parent=fenframe
- fenbarmana4.Text="Energy("..mana..")"
- fenbarmana4.BackgroundTransparency=1
- fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
- fenbarmana4.SizeConstraint="RelativeXY"
- fenbarmana4.TextXAlignment="Center"
- fenbarmana4.TextYAlignment="Center"
- fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
- fenbarmana4.Size=UDim2.new(4,0,0.2,0)
- fenbarmana4.FontSize="Size9"
- fenbarmana4.TextStrokeTransparency=0
- fenbarmana4.TextColor=BrickColor.new("White")
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NoOutline(fp)
- fp.Material="Neon"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- if meshid~="nil" then
- mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local Color1=Torso.BrickColor
- local bodvel=Instance.new("BodyVelocity")
- local bg=Instance.new("BodyGyro")
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
- --http://www.roblox.com/asset/?id=4770560
- game:GetService("Debris"):AddItem(prt,2)
- CF=prt.CFrame
- coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
- for i=0,1,0.2 do
- wait()
- Part.CFrame=CF*cf(0,0,-0.4)
- end
- for i=0,1,delay do
- wait()
- --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
- Mesh.Scale=Mesh.Scale
- end
- for i=0,1,0.1 do
- wait()
- Part.Transparency=i
- end
- Part.Parent=nil
- end),prt,msh,CF)
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,cframe)
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(i*20,0,0)
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt2.Anchored=true
- prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
- game:GetService("Debris"):AddItem(prt2,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.1 do
- wait()
- Part.CFrame=Part.CFrame*cf(0,0.5,0)
- end
- Part.Parent=nil
- end),prt2,msh2)
- end
- for i=0,1,delay*2 do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(x2,y2,z2)
- --"http://www.roblox.com/asset/?id=168892465"
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.03 do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function BreakEffect(brickcolor,cframe,x1,y1,z1)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
- CF=Part.CFrame
- Numbb=0
- randnumb=math.random()/10
- rand1=math.random()/10
- for i=0,1,rand1 do
- wait()
- CF=CF*cf(0,math.random()/2,0)
- --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
- Part.CFrame=CF*euler(Numbb,0,0)
- Part.Transparency=i
- Numbb=Numbb+randnumb
- end
- Part.Parent=nil
- end),prt,CF,Numbb,randnumb)
- end
- function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(0,0.7,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*cf(0,y3/2,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x,y,z)
- msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
- local num=math.random()
- local num2=math.random(-3,2)+math.random()
- local numm=0
- for i=0,1,delay*2 do
- swait()
- Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
- Part.Transparency=i
- numm=numm+0.01
- end
- Part.Parent=nil
- Mesh.Parent=nil
- end),prt,msh,x,y,z)
- end
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5,TorsoColor)
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.BrickColor=TorsoColor
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- so("http://www.roblox.com/asset/?id=199149269",c,1,1)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- Player=game:GetService('Players').LocalPlayer
- Character=Player.Character
- Mouse=Player:GetMouse()
- m=Instance.new('Model',Character)
- 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
- it=Instance.new
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local modelzorz=Instance.new("Model")
- modelzorz.Parent=Character
- modelzorz.Name="Claw1"
- Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
- Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
- mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
- Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
- mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- local modelzorz2=Instance.new("Model")
- modelzorz2.Parent=Character
- modelzorz2.Name="Claw2"
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
- Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
- mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
- Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
- Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
- mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
- local modelzorz3=Instance.new("Model")
- modelzorz3.Parent=Character
- modelzorz3.Name="Eye"
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
- handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
- mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
- local moosick = it("Sound",Character)
- moosick.SoundId = "rbxassetid://142653441"
- --142653441, 175067863
- moosick.Looped = true
- moosick.Pitch = 1
- moosick.Volume = 0
- moosick:Play()
- anim = Character:findFirstChild("Animate")
- if anim then
- anim:Destroy()
- end
- local particleemitter = Instance.new("ParticleEmitter", Handle)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- local particleemitter = Instance.new("ParticleEmitter", Handle2)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- local particleemitter = Instance.new("ParticleEmitter", handle)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0.8
- particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- local light = Instance.new("PointLight", Character.Torso)
- light.Color = Color3.new(255,255,255)
- light.Brightness = 5
- light.Range = 15
- particleemitter.Enabled = true
- local Footsteps = it("Sound",Character.Torso)
- Footsteps.SoundId = "rbxassetid://142665235"
- Footsteps.Looped = true
- Footsteps.Pitch = 0.8
- Footsteps.Volume = 0.3
- local Footsteps2 = it("Sound",Character.Torso)
- Footsteps2.SoundId = "rbxassetid://142665235"
- Footsteps2.Looped = true
- Footsteps2.Pitch = 1
- Footsteps2.Volume = 0.4
- local cam = game.Workspace.CurrentCamera
- --cam.CameraSubject = Character
- for i,v in pairs(Head:children()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- mouse.Button1Down:connect(function()
- if attack==false and attacktype==1 then
- attacktype=2
- attackone()
- elseif attack==false and attacktype==2 then
- attacktype=3
- attacktwo()
- elseif attack==false and attacktype==3 then
- attacktype=4
- attackthree()
- elseif attack==false and attacktype==4 then
- attacktype=1
- attackfour()
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=='e' then
- if attack==false and mana>=20 then
- Push()
- end
- elseif k=='g' then
- if attack==false and mana>=50 then
- Twirl()
- end
- elseif k=='v' then
- if attack==false and mana>=25 then
- MagicJump()
- end
- elseif k=='q' then
- if attack==false then
- idle=1000
- end
- elseif k=='h' then
- if attack==false then
- mana=100
- end
- elseif k=='y' then
- if attack==false and mana>=100 then
- Shred()
- end
- elseif k=='f' then
- if attack==false and mana>=40 then
- Spin()
- end
- elseif k=='r' then
- if attack==false and mana>=20 then
- Clap()
- end
- elseif k=='t' then
- if attack==false then
- Hai()
- end
- elseif k=='0' then
- if attack==false then
- Humanoid.WalkSpeed=(56)
- end
- elseif k=='j' then
- if attack==false then
- Humanoid.Health = 100
- print("Congrats, you commited suicide.")
- end
- end
- end)
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- TrailDeb = false
- function equipanim()
- attack=true
- Humanoid.WalkSpeed = 0
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
- for i=0,1,0.005 do
- swait()
- moosick.Volume = 0+1*i
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
- end
- for i=0,1,0.005 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
- end
- so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
- so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
- for i=0,1,0.005 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
- handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
- Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
- end
- for i=0,1,0.04 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
- end
- --dmgstop()
- attack=false
- Humanoid.WalkSpeed = 12
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attackone()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
- so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
- 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(20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attacktwo()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
- so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attackthree()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
- so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
- for i=0,1,0.05 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attackfour()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
- so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
- for i=0,1,0.04 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*50
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
- local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.05 do
- wait()
- prt.Transparency = i
- msh.Scale = msh.Scale + vt(x2, y2, z2)
- end
- prt.Parent = nil
- end))
- end
- function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
- end
- end
- end
- end
- end
- function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- swait()
- Part.CFrame = Part.CFrame
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end), prt, msh)
- end
- function MagicJump()
- if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
- attack=true
- mana=mana-25
- --[[ Humanoid.WalkSpeed = 0
- for i=0,1,0.01 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
- Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
- RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
- LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
- end]]--
- Humanoid.Jump = true
- Torso.Velocity = vt(0, 150, 0)
- Humanoid.WalkSpeed = 64
- so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
- so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
- for i=0,1,0.05 do
- swait()
- Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
- RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
- end
- for i=0,1,0.02 do
- swait()
- Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
- RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
- LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
- end
- Humanoid.WalkSpeed = 0
- swait(8)
- so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
- so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
- local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
- if hit~=nil then
- swait(2)
- local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
- ref.Anchored=true
- ref.CFrame=cf(pos)
- game:GetService("Debris"):AddItem(ref,3)
- for i=1,10 do
- local Col=BrickColor.new("Really black")
- local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
- groundpart.Anchored=true
- groundpart.CanCollide=false
- groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local Col2=TorsoColor
- local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
- groundpart2.Anchored=true
- groundpart2.CanCollide=false
- groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- game:GetService("Debris"):AddItem(groundpart,5)
- game:GetService("Debris"):AddItem(groundpart2,5)
- end
- BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
- BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
- MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
- MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
- for i=0,1,0.06 do
- swait()
- Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
- LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
- RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
- end
- end
- swait(20)
- Humanoid.WalkSpeed = 12
- --dmgstop()
- attack=false
- end
- end
- function Spin()
- attack=true
- mana=mana-40
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- Footsteps:Stop()
- Footsteps2:Stop()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Twirl()
- mana=mana-50
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- Footsteps:Stop()
- Footsteps2:Stop()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Shred()
- attack=true
- mana=mana-100
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- Footsteps:Stop()
- Footsteps2:Stop()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*20
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*40
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*60
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- for i=0,1,0.005 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Push()
- attack=true
- mana=mana-20
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=25648271"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=28664001"
- hairmesh.Scale = Vector3.new(1.3, 1.35, 1.3)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 5" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://146364138"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://195399271"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://195399271"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://175602621"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=16190466"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=59293792"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- clhair.Mesh.TextureId = "http://www.roblox.com/asset/?id=114723589"
- clhair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16101994"
- clhair.Mesh.Scale = Vector3.new(1.02,1.02,1.02)
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.14, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 2" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=28035864"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=28035854"
- hairmesh.Scale = Vector3.new(1.03, 1.03, 0.98)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
- end
- end
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "guns, out" then
- nvm.Value = 1
- Mouse = plr:GetMouse()
- Mouse.Button1Down:connect(function()
- if nvm.Value == 1 then
- randomg = math.random(1,2)
- if randomg == 1 then
- bullet = Instance.new('Part', game.Workspace)
- bullet.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.CFrame = Mouse.Hit
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot=Instance.new("Sound", bg1["Right Arm"])
- shoot.SoundId="rbxassetid://180955656"
- shoot:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- if randomg == 2 then
- bullet = Instance.new('Part', game.Workspace)
- bullet.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.CFrame = Mouse.Hit
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet2, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- end
- end
- end)
- part1 = Instance.new("Part")
- part1.Parent = char
- part1.Transparency = 0
- part1.BrickColor = BrickColor.new('Really black')
- part1.TopSurface = 0
- part1.BottomSurface = 0
- part1.CanCollide = false
- part1.Anchored = false
- gun = Instance.new("SpecialMesh", part1)
- gun.MeshId = "rbxassetid://4372594"
- gun.Scale = Vector3.new(1, 1, 1)
- part1.CFrame = bg1["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
- Weld5 = Instance.new("Weld", bg1)
- Weld5.Part0 = bg1["Right Arm"]
- Weld5.Part1 = part1
- Weld5.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- part2 = Instance.new("Part")
- part2.Parent = char
- part2.Transparency = 0
- part2.BrickColor = BrickColor.new('Really black')
- part2.TopSurface = 0
- part2.BottomSurface = 0
- part2.CanCollide = false
- part2.Anchored = false
- gun2 = Instance.new("SpecialMesh", part2)
- gun2.MeshId = "rbxassetid://4372594"
- gun2.Scale = Vector3.new(1, 1, 1)
- part2.CFrame = bg2["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
- Weld10 = Instance.new("Weld", bg1)
- Weld10.Part0 = bg2["Right Arm"]
- Weld10.Part1 = part2
- Weld10.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- charbg1 = bg1
- arm = {charbg1["Right Arm"]}
- charbg1.Torso["Right Shoulder"].Archivable = true
- mc = charbg1.Torso["Right Shoulder"]:Clone()
- weld = Instance.new("Weld", arm[1])
- weld.Part0 = charbg1.Torso
- weld.Part1 = weld.Parent
- weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
- charbg2 = bg2
- arm = {charbg2["Right Arm"]}
- charbg2.Torso["Right Shoulder"].Archivable = true
- mc3 = charbg2.Torso["Right Shoulder"]:Clone()
- weld12 = Instance.new("Weld", arm[1])
- weld12.Part0 = charbg2.Torso
- weld12.Part1 = weld12.Parent
- weld12.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
- end
- if say == "dance," then
- dance1 = math.random(1,7)
- if dance1 == 1 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://27789359"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 2 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://30196114"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 3 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://248263260"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 4 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://45834924"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 5 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://33796059"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 6 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://28488254"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 7 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://52155728"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- dance2 = math.random(1,7)
- if dance2 == 1 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://27789359"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 2 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://30196114"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 3 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://248263260"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 4 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://45834924"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 5 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://33796059"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 6 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://28488254"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 7 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://52155728"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- end
- if say == "focus," then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://0"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://0"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if say == "guns, in" then
- nvm.Value = 0
- weld:Destroy()
- mc.Parent = charbg1.Torso
- Weld10:Destroy()
- Weld5:Destroy()
- part1:Destroy()
- part2:Destroy()
- weld12:Destroy()
- mc3.Parent = charbg2.Torso
- end
- if say == "unride," then
- nvm3.Value = 0
- nvm2.Value = 1
- if bg1.Head:FindFirstChild('noobweld') then
- bg1.Head.noobweld:Destroy()
- end
- if char.Head:FindFirstChild('firstweld') then
- char.Head.firstweld:Destroy()
- end
- bg2.Humanoid.WalkSpeed = 16
- bg1.Humanoid.Sit = false
- bg2.Humanoid.Sit = false
- char.Humanoid.Sit = false
- end
- if say == "ride," then
- Mouse = plr:GetMouse()
- nvm2.Value = 0
- nvm3.Value = 1
- p = Instance.new('Weld', plr.Character.Head)
- p.Part0 = plr.Character:FindFirstChild("Torso") or plr.Character:FindFirstChild("UpperTorso")
- p.Part1 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
- p.Name = 'firstweld'
- p.C0 = CFrame.new(0,-2.2,-.50)
- a = Instance.new('Weld', bg1.Head)
- a.Part0 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
- a.Part1 = bg2:FindFirstChild("Torso") or bg2:FindFirstChild("UpperTorso")
- a.C0 = CFrame.new(0,-2.2,-.50)
- a.Name = 'noobweld'
- plr.Character.Humanoid.Sit = true
- bg1.Humanoid.Sit = true
- while wait() do
- if nvm3.Value == 1 then
- bg2.Humanoid:MoveTo(Mouse.Hit.p)
- plr.Character.Humanoid.Sit = true
- bg1.Humanoid.Sit = true
- bg1.Humanoid.Health = bg1.Humanoid.Health + 100
- bg2.Humanoid.Health = bg2.Humanoid.Health + 100
- bg2.Humanoid.WalkSpeed = 65
- end
- end
- if say == "spy," then
- signal = Instance.new('Part', game.ReplicatedStorage)
- local ply = game.Players:GetPlayers()[math.random(game.Players.NumPlayers)]
- bgchoose = math.random(1, 2)
- if bgchoose == 1 then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20722053"
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=382538058"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "rbxassetid://494950128"
- hairmesh.Scale = Vector3.new(1, 1, 1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- hair.BrickColor = BrickColor.new("Really red")
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- while wait() do
- if game.ReplicatedStorage:FindFirstChild('Part') then
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, ply.Character.Torso.Position)
- end
- end
- if bgchoose == 2 then
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20418518"
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=442560707"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=442557590"
- end
- end
- hair1 = Instance.new("Part", bg2.Head)
- hairmesh1 = Instance.new("SpecialMesh", hair1)
- hairmesh1.MeshId = "rbxassetid://494950128"
- hairmesh1.Scale = Vector3.new(1, 1, 1)
- hair1.Transparency = 0
- hair1.CanCollide = false
- hair1.Name = "plrhair"
- hair1.Anchored = false
- hair1.BrickColor = BrickColor.new("Really black")
- Weld1 = Instance.new("Weld", bg2)
- Weld1.Part0 = bg2.Head
- Weld1.Part1 = hair1
- Weld1.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- signal2 = Instance.new('Part', game.ReplicatedStorage)
- signal2.Name = "Part2"
- while wait() do
- if game.ReplicatedStorage:FindFirstChild('Part2') then
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, ply.Character.Torso.Position)
- end
- end
- end
- end
- end
- end
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- if nvm2.Value == 1 then
- bg1.Humanoid.Health = bg1.Humanoid.Health + 5000
- bg2.Humanoid.Health = bg2.Humanoid.Health + 5000
- bg1.Humanoid:MoveTo(bgpoint1.Position)
- bg2.Humanoid:MoveTo(bgpoint2.Position)
- if bg1.Humanoid.PlatformStand == true then
- bg1.Humanoid.PlatformStand = false
- end
- if bg2.Humanoid.PlatformStand == true then
- bg2.Humanoid.PlatformStand = false
- end
- if bg1.Humanoid.Sit == true then
- bg1.Humanoid.Sit = false
- end
- if bg2.Humanoid.Sit == true then
- bg2.Humanoid.Sit = false
- end
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-bg1.Torso.Position).magnitude <=2 then
- bg1.Humanoid.Jump=true
- end
- end
- end
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-bg2.Torso.Position).magnitude <=2 then
- bg2.Humanoid.Jump=true
- end
- end
- end
- if (game.Players.LocalPlayer.Character.Torso.Position - bg2.Torso.Position).magnitude <= 20 then
- bg2.Humanoid.WalkSpeed = 16
- else
- bg2.Humanoid.WalkSpeed = 55
- end
- if (game.Players.LocalPlayer.Character.Torso.Position - bg1.Torso.Position).magnitude <= 20 then
- bg1.Humanoid.WalkSpeed = 16
- else
- bg1.Humanoid.WalkSpeed = 55
- end
- end
- end)
- end)
- Lemonade.Name = "Lemonade"
- Lemonade.Parent = Frame
- Lemonade.BackgroundColor3 = Color3.new(0, 0, 0)
- Lemonade.BorderColor3 = Color3.new(1, 1, 0)
- Lemonade.Position = UDim2.new(0, 118, 0, 215)
- Lemonade.Size = UDim2.new(0, 118, 0, 50)
- Lemonade.Font = Enum.Font.SourceSans
- Lemonade.FontSize = Enum.FontSize.Size14
- Lemonade.Text = "Lemonade"
- Lemonade.TextColor3 = Color3.new(0, 1, 0)
- Lemonade.TextScaled = true
- Lemonade.TextSize = 14
- Lemonade.TextWrapped = true
- Explode.Name = "Explode"
- Explode.Parent = Frame
- Explode.BackgroundColor3 = Color3.new(0, 0, 0)
- Explode.BorderColor3 = Color3.new(1, 1, 0)
- Explode.Position = UDim2.new(0, 118, 0, 133)
- Explode.Size = UDim2.new(0, 118, 0, 50)
- Explode.Font = Enum.Font.SourceSans
- Explode.FontSize = Enum.FontSize.Size14
- Explode.Text = "Explode"
- Explode.TextColor3 = Color3.new(0, 1, 0)
- Explode.TextScaled = true
- Explode.TextSize = 14
- Explode.TextWrapped = true
- Clown.Name = "Clown"
- Clown.Parent = Frame
- Clown.BackgroundColor3 = Color3.new(0, 0, 0)
- Clown.BorderColor3 = Color3.new(1, 1, 0)
- Clown.Position = UDim2.new(0, 0, 0, 133)
- Clown.Size = UDim2.new(0, 118, 0, 50)
- Clown.Font = Enum.Font.SourceSans
- Clown.FontSize = Enum.FontSize.Size14
- Clown.Text = "Clown"
- Clown.TextColor3 = Color3.new(0, 1, 0)
- Clown.TextScaled = true
- Clown.TextSize = 14
- Clown.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement