Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = TheFigureBlack
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- math.randomseed(tick())
- local player = game.Players.TheFigureBlack
- local rekt = {}
- local paralyzed = false
- local curpoint = nil
- local curpart = nil
- local finishnum = 1
- local zombiemode = false
- local zombies = {}
- local lastgui = nil
- 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
- script.Name = "Soul Pistol"
- --Original script created by shackluster
- --Edit by Biologically_Noob
- script:ClearAllChildren()
- wait(0.2)
- --|SIMPLE KICK SCRIPT FOR EMERGENCY PURPOSES AND STUFF|--
- --|ROBLOX SCRIPT BUILDER LOCAL SCRIPT|--
- player=game.Players.TheFigureBlack
- player.Chatted:connect(function(m)
- if string.sub(m,1,6)=="kick " then
- local victim
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(m,v.Name) then
- v:Kick()
- end
- end
- end
- end)
- Player = game:GetService("Players").TheFigureBlack
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- local TIME = 0
- local sick = Instance.new("Sound",Torso)
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 3
- local FORCERESET = false
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = 1
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "BanishV3Gui"
- local Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character:FindFirstChild("Animate")
- local UNANCHOR = true
- local TOBANISH = {}
- script.Parent = PlayerGui
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or VT(1,1,1))
- local ENDSIZE = (Table.Size2 or VT(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or C3(1,1,1))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME+1 do
- Swait()
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = VT(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- SOUND.Stopped:Connect(function()
- EFFECT:remove()
- end)
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- function SpawnTrail(FROM,TO,BIG)
- local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
- MakeForm(TRAIL,"Cyl")
- local DIST = (FROM - TO).Magnitude
- if BIG == true then
- TRAIL.Size = VT(0.5,DIST,0.5)
- else
- TRAIL.Size = VT(0.25,DIST,0.25)
- end
- TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- coroutine.resume(coroutine.create(function()
- for i = 1, 5 do
- Swait()
- TRAIL.Transparency = TRAIL.Transparency + 0.1
- end
- TRAIL:remove()
- end))
- end
- Debris = game:GetService("Debris")
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CF(StartPos,EndPos).lookVector
- return Raycast(StartPos, DIRECTION, Distance, Ignore)
- end
- function turnto(position)
- RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- local Particle = IT("ParticleEmitter",nil)
- Particle.Enabled = false
- Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
- Particle.LightEmission = 0.5
- Particle.Rate = 150
- Particle.ZOffset = 0.2
- Particle.Rotation = NumberRange.new(-180, 180)
- Particle.RotSpeed = NumberRange.new(-180, 180)
- Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
- Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
- local Particle2 = IT("ParticleEmitter",nil)
- Particle2.Enabled = false
- Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
- Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
- Particle2.LightEmission = 0
- Particle2.RotSpeed = NumberRange.new(0, 180)
- Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
- Particle2.LightEmission = 1
- Particle2.Rate = 20
- Particle2.RotSpeed = NumberRange.new(-20, 20)
- local Particle3 = IT("ParticleEmitter",nil)
- Particle3.Enabled = false
- Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
- Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
- Particle3.LightEmission = 0
- Particle3.RotSpeed = NumberRange.new(0, 180)
- Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
- Particle3.LightEmission = 1
- Particle3.Rate = 20
- Particle3.RotSpeed = NumberRange.new(-20, 20)
- --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
- function ParticleEmitter(Table)
- local PRTCL = Particle:Clone()
- local Speed = Table.Speed or 5
- local Drag = Table.Drag or 0
- local Size1 = Table.Size1 or 1
- local Size2 = Table.Size2 or 5
- local Lifetime1 = Table.Lifetime1 or 1
- local Lifetime2 = Table.Lifetime2 or 1.5
- local Parent = Table.Parent or Torso
- local Emit = Table.Emit or 100
- local Offset = Table.Offset or 360
- local Acel = Table.Acel or VT(0,0,0)
- local Enabled = Table.Enabled or false
- PRTCL.Parent = Parent
- PRTCL.Size = NumberSequence.new(Size1,Size2)
- PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL.Speed = NumberRange.new(Speed)
- PRTCL.VelocitySpread = Offset
- PRTCL.Drag = Drag
- PRTCL.Acceleration = Acel
- if Enabled == false then
- PRTCL:Emit(Emit)
- Debris:AddItem(PRTCL,Lifetime2)
- else
- PRTCL.Enabled = true
- end
- return PRTCL
- end
- function ParticleEmitter2(Table)
- local PRTCL2 = Particle2:Clone()
- local LockedToPart = Table.LTP or true
- local Speed = Table.Speed or 0
- local Drag = Table.Drag or 0
- local Size1 = Table.Size1 or 1
- local Size2 = Table.Size2 or 2
- local Lifetime1 = Table.Lifetime1 or 1
- local Lifetime2 = Table.Lifetime2 or 1
- local Parent = Table.Parent or Torso
- local Emit = Table.Emit or 100
- local Offset = Table.Offset or 360
- local Acel = Table.Acel or VT(0,0,0)
- local Enabled = Table.Enabled or false
- PRTCL2.Parent = Parent
- PRTCL2.Size = NumberSequence.new(Size1,Size2)
- PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL2.Speed = NumberRange.new(Speed)
- PRTCL2.VelocitySpread = Offset
- PRTCL2.Drag = Drag
- PRTCL2.Acceleration = Acel
- PRTCL2.Parent = Parent
- PRTCL2.Size = NumberSequence.new(Size1,Size2)
- PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL2.Speed = NumberRange.new(Speed)
- PRTCL2.VelocitySpread = Offset
- PRTCL2.Drag = Drag
- PRTCL2.Acceleration = Acel
- PRTCL2.LockedToPart = true
- if Enabled == false then
- PRTCL2:Emit(Emit)
- Debris:AddItem(PRTCL2,Lifetime2)
- else
- PRTCL2.Enabled = true
- end
- return PRTCL2
- end
- function ParticleEmitter3(Table)
- local PRTCL3 = Particle2:Clone()
- local Speed = Table.Speed or 0
- local Drag = Table.Drag or 0
- local Size1 = Table.Size1 or 1
- local Size2 = Table.Size2 or 2
- local Lifetime1 = Table.Lifetime1 or 1
- local Lifetime2 = Table.Lifetime2 or 1
- local Parent = Table.Parent or Torso
- local Emit = Table.Emit or 100
- local Offset = Table.Offset or 0
- local Acel = Table.Acel or VT(0,0,0)
- local Enabled = Table.Enabled or false
- PRTCL3.Parent = Parent
- PRTCL3.Size = NumberSequence.new(Size1,Size2)
- PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL3.Speed = NumberRange.new(Speed)
- PRTCL3.VelocitySpread = Offset
- PRTCL3.Drag = Drag
- PRTCL3.Acceleration = Acel
- PRTCL3.Parent = Parent
- PRTCL3.Size = NumberSequence.new(Size1,Size2)
- PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL3.Speed = NumberRange.new(Speed)
- PRTCL3.VelocitySpread = Offset
- PRTCL3.Drag = Drag
- PRTCL3.Acceleration = Acel
- if Enabled == false then
- PRTCL3:Emit(Emit)
- Debris:AddItem(PRTCL3,Lifetime2)
- else
- PRTCL3.Enabled = true
- end
- return PRTCL3
- end
- local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
- local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- for i = 1, 8 do
- local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
- end
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
- MakeForm(Part,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
- local LASTPART = Handle
- for i = 1, 10 do
- if LASTPART == Handle then
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
- LASTPART = Part
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- else
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
- LASTPART = Part
- end
- end
- local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
- MakeForm(Barrel,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
- local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
- MakeForm(Hole,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
- local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
- local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
- coroutine.resume(coroutine.create(function()
- while wait() do
- GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
- GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
- end
- end))
- --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
- --[[
- YEAH BOIIIIIIIII
- PARTICLE TIME
- --]]
- ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
- --ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
- ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
- ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
- ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
- --Trails
- local A1 = Instance.new("Attachment",Barrel)
- local A2 = Instance.new("Attachment",Barrel)
- local Trail = Instance.new("Trail",Barrel)
- A1.Position = Vector3.new(0,1,0)
- A2.Position = Vector3.new(0,-0.8,0)
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.LightEmission = 1
- Trail.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,255,255))
- Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
- for _, c in pairs(Weapon:GetDescendants()) do
- if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
- c.Material = "Glass"
- c.Color = C3(0,0,0)
- elseif c.ClassName == "Part" and c.Name == "Eye" then
- c.Color = C3(0,0,1)
- c.Material = "Neon"
- end
- end
- Weapon.Parent = Character
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- end
- local SKILLTEXTCOLOR = C3(0,0,1)
- local SKILLFONT = "Antique"
- local SKILLTEXTSIZE = 7
- Humanoid.Died:connect(function()
- ATTACK = true
- end)
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
- --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
- --]]
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
- --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
- local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
- --]]
- function printbye(Name)
- local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
- warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
- end
- workspace.ChildAdded:connect(function(instance)
- for BANISH = 1, #TOBANISH do
- if TOBANISH[BANISH] ~= nil then
- if instance.Name == TOBANISH[BANISH] then
- coroutine.resume(coroutine.create(function()
- printbye(instance.Name)
- instance:ClearAllChildren()
- Debris:AddItem(instance,0.0005)
- end))
- end
- end
- end
- end)
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function Banish(Foe)
- if Foe then
- coroutine.resume(coroutine.create(function()
- --if game.Players:FindFirstChild(Foe.Name) then
- table.insert(TOBANISH,Foe.Name)
- printbye(Foe.Name)
- --end
- Foe.Archivable = true
- local CLONE = Foe:Clone()
- Foe:Destroy()
- CLONE.Parent = Effects
- CLONE:BreakJoints()
- local MATERIALS = {"Glass","Neon"}
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") then
- if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
- CreateSound(340722848, c, 10, 1, false)
- end
- c.Anchored = true
- c.Transparency = c.Transparency + 0.2
- c.Material = MATERIALS[MRANDOM(1,2)]
- c.Color = C3(0,0,255)
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal"):remove()
- end
- c.Name = "Banished"
- c.CanCollide = false
- else
- c:remove()
- end
- end
- local A = false
- for i = 1, 35 do
- if A == false then
- A = true
- elseif A == true then
- A = false
- end
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") then
- c.Anchored = true
- c.Material = MATERIALS[MRANDOM(1,2)]
- c.Transparency = c.Transparency + 0.8/35
- if A == false then
- c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
- elseif A == true then
- c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
- end
- end
- end
- Swait()
- end
- CLONE:remove()
- end))
- end
- end
- function ApplyAoE(POSITION,RANGE,ISBANISH)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - POSITION).Magnitude <= RANGE then
- if ISBANISH == true then
- Banish(CHILD)
- else
- if ISBANISH == "Gravity" then
- HUM.PlatformStand = true
- if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
- local grav = Instance.new("BodyPosition",TORSO)
- grav.D = 15
- grav.P = 20000
- grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- grav.position = TORSO.Position
- grav.Name = "V3BanishForce"..Player.Name
- else
- TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
- TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
- end
- else
- HUM.PlatformStand = false
- end
- end
- elseif ISBANISH == "Gravity" then
- if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
- TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
- HUM.PlatformStand = false
- end
- end
- end
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- function Banisher_Bullet()
- ATTACK = true
- Rooted = false
- for i=0, 0.4, 0.1 / Animation_Speed do
- Swait()
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- repeat
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
- SpawnTrail(Hole.Position,POS)
- if HIT ~= nil then
- if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
- Banish(HIT.Parent)
- end
- end
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- until KEYHOLD == false
- ATTACK = false
- Rooted = false
- end
- function AttackTemplate()
- ATTACK = true
- Rooted = false
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- if ATTACK == false then
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- KEYHOLD = true
- if Key == "z" and ATTACK == false then
- Banisher_Bullet()
- end
- if Key == "b" and ATTACK == false then
- end
- if Key == "c" and ATTACK == false then
- end
- if Key == "v" and ATTACK == false then
- end
- if Key == "x" and ATTACK == false then
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function unanchor()
- if UNANCHOR == true then
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false
- end
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- local CONNECT = nil
- while true do
- Swait()
- ANIMATE.Parent = nil
- if Character:FindFirstChildOfClass("Humanoid") == nil then
- Humanoid = IT("Humanoid",Character)
- end
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
- local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
- end
- end
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- sick.Parent = Torso
- sick:resume()
- sick.Volume = 5
- sick.Pitch = 1
- sick.SoundId = "rbxassetid://924339757"
- sick.Name = "BanishV3Music"
- end
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement