Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Weld3 = Instance.new("Weld")
- Weld4 = Instance.new("Weld")
- Sound5 = Instance.new("Sound")
- Sound6 = Instance.new("Sound")
- Sound7 = Instance.new("Sound")
- Sound8 = Instance.new("Sound")
- Sound9 = Instance.new("Sound")
- Sound10 = Instance.new("Sound")
- Sound11 = Instance.new("Sound")
- FlangeSoundEffect12 = Instance.new("FlangeSoundEffect")
- Sound13 = Instance.new("Sound")
- Sound14 = Instance.new("Sound")
- ReverbSoundEffect15 = Instance.new("ReverbSoundEffect")
- Sound16 = Instance.new("Sound")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Weld19 = Instance.new("Weld")
- Weld20 = Instance.new("Weld")
- Script21 = Instance.new("Script")
- Tool0.Name = "cross"
- Tool0.Parent = mas
- Tool0.ToolTip = "great for banishers"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(-79.2499695, 1.10928917, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(-79.2499695, 1.10928917, -48.25)
- Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part1.Size = Vector3.new(0.5, 0.400000006, 2.5)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Bright yellow")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Bright yellow")
- Part2.Name = "Handle"
- Part2.Parent = Tool0
- Part2.CFrame = CFrame.new(-79.9999695, 1.10928917, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(-79.9999695, 1.10928917, -48.25)
- Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part2.Size = Vector3.new(4, 0.400000006, 0.5)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Bright yellow")
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Bright yellow")
- Weld3.Parent = Part2
- Weld3.C0 = CFrame.new(0.75, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld3.Part0 = Part2
- Weld3.Part1 = Part1
- Weld3.part1 = Part1
- Weld4.Parent = Part2
- Weld4.C0 = CFrame.new(0.75, 0.224999845, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld4.Part0 = Part2
- Weld4.Part1 = Part17
- Weld4.part1 = Part17
- Sound5.Name = "hold"
- Sound5.Parent = Part2
- Sound5.SoundId = "rbxassetid://4361093477"
- Sound5.Volume = 3
- Sound6.Name = "BOOM"
- Sound6.Parent = Part2
- Sound6.SoundId = "rbxassetid://141679994"
- Sound6.Volume = 3
- Sound7.Name = "NOSCOPE"
- Sound7.Parent = Part2
- Sound7.SoundId = "rbxassetid://151030090"
- Sound7.Volume = 2
- Sound8.Name = "HEADSHOT"
- Sound8.Parent = Part2
- Sound8.SoundId = "rbxassetid://131313234"
- Sound8.Volume = 5
- Sound9.Name = "HEADSHOT2"
- Sound9.Parent = Part2
- Sound9.SoundId = "rbxassetid://147936251"
- Sound9.Volume = 4
- Sound10.Name = "SHOT"
- Sound10.Parent = Part2
- Sound10.SoundId = "rbxassetid://2756050321"
- Sound10.Volume = 3
- Sound11.Name = "COMPEL"
- Sound11.Parent = Part2
- Sound11.SoundId = "rbxassetid://270657517"
- Sound11.Volume = 4
- FlangeSoundEffect12.Parent = Sound11
- FlangeSoundEffect12.Rate = 3.5
- FlangeSoundEffect12.Depth = 1
- FlangeSoundEffect12.Mix = 1
- Sound13.Name = "LAZOR"
- Sound13.Parent = Part2
- Sound13.SoundId = "rbxassetid://167115397"
- Sound13.Volume = 2
- Sound14.Name = "CHARGINN"
- Sound14.Parent = Part2
- Sound14.Looped = true
- Sound14.SoundId = "rbxassetid://75421988"
- Sound14.Volume = 4
- ReverbSoundEffect15.Parent = Sound14
- Sound16.Name = "NOTGRABKNIFE"
- Sound16.Parent = Part2
- Sound16.SoundId = "rbxassetid://608618332"
- Sound16.Volume = 10
- Part17.Name = "shiney"
- Part17.Parent = Tool0
- Part17.CFrame = CFrame.new(-79.2499695, 1.33428907, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Position = Vector3.new(-79.2499695, 1.33428907, -48.25)
- Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part17.Size = Vector3.new(0.300000012, 0.0500000007, 2.30000019)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.BrickColor = BrickColor.new("Institutional white")
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.Reflectance = 1
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.brickColor = BrickColor.new("Institutional white")
- Part18.Name = "shiney"
- Part18.Parent = Tool0
- Part18.CFrame = CFrame.new(-79.9999924, 1.33428907, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part18.Position = Vector3.new(-79.9999924, 1.33428907, -48.25)
- Part18.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part18.Size = Vector3.new(3.79999924, 0.0500000007, 0.300000131)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.BrickColor = BrickColor.new("Institutional white")
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.Reflectance = 1
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.brickColor = BrickColor.new("Institutional white")
- Weld19.Parent = Part18
- Weld19.C0 = CFrame.new(-0.25, 0.200000003, 1.25, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld19.C1 = CFrame.new(0.500022888, -0.0249998569, 1.25, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld19.Part0 = Part1
- Weld19.Part1 = Part18
- Weld19.part1 = Part18
- Weld20.Parent = Part18
- Weld20.C0 = CFrame.new(-2, 0.200000003, 0.25, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld20.C1 = CFrame.new(-1.99997711, -0.0249998569, 0.25, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Weld20.Part0 = Part2
- Weld20.Part1 = Part18
- Weld20.part1 = Part18
- Script21.Parent = Tool0
- table.insert(cors,sandbox(Script21,function()
- --By Rufus14
- tool = script.Parent
- handle = tool.Handle
- local owner
- local ownercharacter
- local rootpart
- local charhum
- runservice = game:GetService("RunService")
- players = game:GetService("Players")
- equipped = false
- clicked = false
- canuse = true
- lifecheck = false
- boomsound = handle.BOOM
- shootsound = handle.SHOT
- headshotsound = handle.HEADSHOT
- headshotsound2 = handle.HEADSHOT2
- noscopesound = handle.NOSCOPE
- chargesound = handle.CHARGINN
- lasersound = handle.LAZOR
- equip = handle.NOTGRABKNIFE
- lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu = handle.COMPEL
- music = handle.hold
- tool.Equipped:connect(function()
- equipped = true
- end)
- tool.Unequipped:connect(function()
- equipped = false
- end)
- --
- tool.Activated:connect(function()
- clicked = true
- end)
- tool.Deactivated:connect(function()
- clicked = false
- end)
- tool.Equipped:connect(function()
- canuse = true
- equip:Play()
- local this = owner
- owner = players:GetPlayerFromCharacter(tool.Parent)
- ownercharacter = owner.Character
- rootpart = ownercharacter.HumanoidRootPart
- charhum = ownercharacter:findFirstChildOfClass("Humanoid")
- if this ~= owner then
- if ownercharacter.Head:findFirstChild("chat") then
- ownercharacter.Head:findFirstChild("chat"):destroy()
- end
- local billboard = Instance.new("BillboardGui", ownercharacter.Head)
- billboard.Adornee = ownercharacter.Head
- billboard.StudsOffset = Vector3.new(-1, 2.5, 0)
- billboard.Size = UDim2.new(2,0,1,0)
- billboard.Name = "chat"
- local text = Instance.new("TextLabel", billboard)
- text.BackgroundTransparency = 1
- text.TextStrokeTransparency = 0
- text.TextStrokeColor3 = Color3.fromRGB(255,255,255)
- text.TextSize = 25
- text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
- text.Size = billboard.Size
- text.Font = "Code"
- text.TextColor3 = Color3.fromRGB(255,255,0)
- text.Text = "protection"
- coroutine.wrap(function()
- for i = 1,200 do
- billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.0025,0)
- text.TextTransparency = text.TextTransparency + 0.007
- text.TextStrokeTransparency = text.TextStrokeTransparency + 0.007
- runservice.Stepped:wait()
- end
- billboard:destroy()
- end)()
- end
- local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip")
- rightgrip.C0 = CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0)
- if not lifecheck then
- music.SoundId = "rbxassetid://4361093477"
- else
- music.SoundId = "rbxassetid://2913619435"
- end
- music:Resume()
- coroutine.wrap(function()
- local function makeff()
- local canfieldanim = true
- local field = Instance.new("Part", workspace)
- if lifecheck then
- field.Size = Vector3.new(20,20,20)
- field.BrickColor = BrickColor.new("Institutional white")
- else
- field.Size = Vector3.new(15,15,15)
- field.BrickColor = BrickColor.new("New Yeller")
- end
- field.CanCollide = false
- field.Anchored = true
- field.Name = "omg"..string.lower(owner.Name)
- field.Shape = "Ball"
- field.Material = "ForceField"
- field.Transparency = 1
- local deflectsound = Instance.new("Sound", field)
- deflectsound.SoundId = "rbxassetid://1307059689"
- deflectsound.Volume = 3
- local function deflect(WHO)
- if WHO:findFirstChild("Head") then
- if WHO.Head:findFirstChild("fuckoff") then return end
- if canfieldanim then
- canfieldanim = false
- deflectsound:Play()
- field.Transparency = 0
- coroutine.wrap(function()
- for i = 1,40 do
- field.Transparency = field.Transparency + 0.025
- runservice.Stepped:wait()
- end
- canfieldanim = true
- end)()
- end
- WHO.Head.CFrame = CFrame.new(WHO.Head.Position, handle.Position)
- local velocity = Instance.new("BodyVelocity", WHO.Head)
- velocity.Name = "fuckoff"
- velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- velocity.Velocity = WHO.Head.CFrame.lookVector * -70
- game.Debris:AddItem(velocity, 0.2)
- end
- end
- field.Touched:connect(function(WHAT)
- if WHAT.Parent ~= ownercharacter then
- if string.find(string.lower(WHAT.Parent.Name), "furry") then
- deflect(WHAT.Parent)
- end
- if string.find(string.lower(WHAT.Parent.Name), "zombie") then
- deflect(WHAT.Parent)
- end
- if string.find(string.lower(WHAT.Parent.Name), "demon") then
- deflect(WHAT.Parent)
- end
- if WHAT.Parent:findFirstChild("Torso") then
- if WHAT.Parent.Torso:findFirstChildOfClass("Sound") then
- if WHAT.Parent.Torso:findFirstChildOfClass("Sound").SoundId == "rbxassetid://876316256" then
- deflect(WHAT.Parent)
- end
- end
- end
- if WHAT.Parent:findFirstChild("ArcticFoxHead") then
- deflect(WHAT.Parent)
- end
- if WHAT.Parent:findFirstChild("LeftClaw") or WHAT.Parent:findFirstChild("RightClaw") then
- deflect(WHAT.Parent)
- end
- if WHAT.Parent:findFirstChild("Head") then
- if WHAT.Parent.Head:findFirstChild("c-cat_noises") then --stop
- deflect(WHAT.Parent)
- end
- end
- end
- end)
- end
- while equipped and runservice.Stepped:wait() do
- if not workspace:findFirstChild("omg"..string.lower(owner.Name)) then
- makeff()
- else
- workspace:findFirstChild("omg"..string.lower(owner.Name)).CFrame = rootpart.CFrame
- end
- end
- if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end
- end)()
- end)
- tool.Unequipped:connect(function()
- music:Pause()
- lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Stop()
- end)
- tool.Deactivated:connect(function()
- if canuse and not lifecheck then
- canuse = false
- lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Play()
- local rightarm = Instance.new("Weld", ownercharacter.Torso)
- rightarm.Part0 = ownercharacter.Torso
- rightarm.Part1 = ownercharacter["Right Arm"]
- rightarm.C0 = CFrame.new(1.5,0,0)
- rightarm.Name = "RightArmWeldcross"
- local rightleg = Instance.new("Weld", ownercharacter.Torso)
- rightleg.Part0 = ownercharacter.Torso
- rightleg.Part1 = ownercharacter["Right Leg"]
- rightleg.C0 = CFrame.new(0.5,-2,0)
- rightleg.Name = "RightLegWeldcross"
- local leftarm = Instance.new("Weld", ownercharacter.Torso)
- leftarm.Part0 = ownercharacter.Torso
- leftarm.Part1 = ownercharacter["Left Arm"]
- leftarm.C0 = CFrame.new(-1.5,0,0)
- leftarm.Name = "LeftArmWeldcross"
- local leftleg = Instance.new("Weld", ownercharacter.Torso)
- leftleg.Part0 = ownercharacter.Torso
- leftleg.Part1 = ownercharacter["Left Leg"]
- leftleg.C0 = CFrame.new(-0.5,-2,0)
- leftleg.Name = "LeftLegWeldcross"
- local head = Instance.new("Weld", ownercharacter.Torso)
- head.Part0 = ownercharacter.Torso
- head.Part1 = ownercharacter.Head
- head.C0 = CFrame.new(0,1.5,0)
- head.Name = "HeadWeldcross"
- local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart)
- humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart
- humanoidrootpart.Part1 = ownercharacter.Torso
- humanoidrootpart.Name = "HumanoidRootPartWeldcross"
- coroutine.wrap(function()
- while lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu.Playing and equipped do
- for i = 0,1 , 0.25 do
- if equipped then
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.63111877, 0.611276627, -0.298833847, 0.925416529, -0.336824059, 0.173648179, 0.163176164, -0.0593862236, -0.984799504, 0.342019945, 0.939689755, -4.67896461e-06),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57923126, 0.0944194794, 0, 0.98480773, 0.173648179, 0, -0.173646733, 0.984799504, 4.76837158e-06, -8.27014446e-07, 4.67896461e-06, 0.999997258),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.86600685, 0.499988556, 1, 0, 0, 0, 0.866025329, 0.500000238, 0, -0.500000238, 0.866025269),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99998283, -9.53674316e-06, 1, 0, 0, 0, 0.999991655, 4.76837158e-06, 0, 4.76837158e-06, 0.999997258),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.142539978, -0.0853042603, 1, 0, 0, 0, 0.858073294, -0.513505876, 0, 0.513511479, 0.858082712),i)
- head.C0 = head.C0:lerp(CFrame.new(0, 1.49239063, 0.0868301392, 1, 0, 0, 0, 0.984806776, -0.173653692, 0, 0.173653692, 0.984806776),i)
- runservice.Stepped:wait()
- end
- end
- for i = 0,1 , 0.25 do
- if equipped then
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.64085388, 0.448102951, -0.294296265, 0.939692616, -0.342020124, 0, 0.0593898818, 0.163172394, -0.984797418, 0.336823851, 0.925415874, 0.173649922),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.98478603, -0.17364502, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173647985, 0.984807849),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99997807, 7.62939453e-06, 1, 0, 0, 0, 1, 1.86266561e-06, 0, -1.86266539e-06, 1),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807432, 0.173650041, 0, -0.173650041, 0.984807432),i)
- head.C0 = head.C0:lerp(CFrame.new(0, 1.49238777, -0.0868225098, 1, 0, 0, 0, 0.984797478, 0.173644468, 0, -0.173649952, 0.984807014),i)
- runservice.Stepped:wait()
- end
- end
- end
- canuse = true
- humanoidrootpart:destroy()
- head:destroy()
- rightarm:destroy()
- leftarm:destroy()
- leftleg:destroy()
- rightleg:destroy()
- end)()
- end
- end)
- tool.Activated:connect(function()
- if canuse then
- if not lifecheck then
- wait(0.25)
- if clicked then
- canuse = false
- chargesound.PlaybackSpeed = 1
- chargesound:Play()
- coroutine.wrap(function()
- local chargiin = true
- coroutine.wrap(function()
- while clicked and equipped and chargiin and wait(0.1) do
- local exblock = Instance.new("UnionOperation", charhum)
- Instance.new("BlockMesh", exblock)
- exblock.BrickColor = BrickColor.new("Institutional white")
- exblock.Anchored = true
- exblock.CanCollide = false
- exblock.Material = "Neon"
- exblock.Transparency = 0.7
- exblock.CFrame = CFrame.new(handle.Position)
- exblock.Size = Vector3.new(6,6,6)
- coroutine.wrap(function()
- for i = 1,20 do
- exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2)
- exblock.Transparency = exblock.Transparency + 0.015
- exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3)
- runservice.Stepped:wait()
- end
- exblock:destroy()
- end)()
- end
- end)()
- for i = 1,300 do
- if clicked and equipped then
- chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025
- runservice.Stepped:wait()
- end
- end
- chargiin = false
- if clicked and equipped then
- lifecheck = true
- if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end
- music.TimePosition = 0
- music.SoundId = "rbxassetid://2913619435"
- lasersound:Play()
- for i,v in pairs(tool:GetDescendants()) do
- if v.Name == "shiney" then
- v.Material = "Neon"
- end
- end
- local holy = Instance.new("Fire", handle)
- holy.Size = 30
- holy.Heat = 20
- holy.Color = Color3.fromRGB(255,255,255)
- coroutine.wrap(function()
- for i = 1,120 do
- holy.Size = holy.Size - 0.25
- runservice.Stepped:wait()
- end
- holy.Enabled = false
- wait(2)
- holy:destroy()
- end)()
- end
- chargesound:Stop()
- canuse = true
- end)()
- end
- else
- canuse = false
- local rightarm = Instance.new("Weld", ownercharacter.Torso)
- rightarm.Part0 = ownercharacter.Torso
- rightarm.Part1 = ownercharacter["Right Arm"]
- rightarm.C0 = CFrame.new(1.5,0,0)
- rightarm.Name = "RightArmWeldcross"
- local rightleg = Instance.new("Weld", ownercharacter.Torso)
- rightleg.Part0 = ownercharacter.Torso
- rightleg.Part1 = ownercharacter["Right Leg"]
- rightleg.C0 = CFrame.new(0.5,-2,0)
- rightleg.Name = "RightLegWeldcross"
- local leftarm = Instance.new("Weld", ownercharacter.Torso)
- leftarm.Part0 = ownercharacter.Torso
- leftarm.Part1 = ownercharacter["Left Arm"]
- leftarm.C0 = CFrame.new(-1.5,0,0)
- leftarm.Name = "LeftArmWeldcross"
- local leftleg = Instance.new("Weld", ownercharacter.Torso)
- leftleg.Part0 = ownercharacter.Torso
- leftleg.Part1 = ownercharacter["Left Leg"]
- leftleg.C0 = CFrame.new(-0.5,-2,0)
- leftleg.Name = "LeftLegWeldcross"
- local head = Instance.new("Weld", ownercharacter.Torso)
- head.Part0 = ownercharacter.Torso
- head.Part1 = ownercharacter.Head
- head.C0 = CFrame.new(0,1.5,0)
- head.Name = "HeadWeldcross"
- local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart)
- humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart
- humanoidrootpart.Part1 = ownercharacter.Torso
- humanoidrootpart.Name = "HumanoidRootPartWeldcross"
- local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip")
- local ws = charhum.WalkSpeed
- local jp = charhum.JumpPower
- charhum.WalkSpeed = 0
- charhum.JumpPower = 0
- coroutine.wrap(function()
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.23 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.00186920166, 0.558111191, -0.0767021179, -2.79102642e-05, -1, 2.33054725e-05, 1, -2.79103097e-05, -1.97005488e-06, 1.97070608e-06, 2.33054161e-05, 1),i)
- runservice.Stepped:wait()
- end
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.23 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.00199890137, -0.641872406, 1.12329865, 6.43433596e-05, -1, 3.95103561e-05, -1.33738229e-06, -3.95104435e-05, -1, 1, 6.43433086e-05, -1.33992444e-06),i)
- runservice.Stepped:wait()
- end
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.23 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.00185394287, -1.78735733, -0.426719666, 1.00994021e-05, -1, 4.36902374e-05, -1, -1.00994648e-05, -1.45057925e-06, 1.45102058e-06, -4.36902228e-05, -1),i)
- runservice.Stepped:wait()
- end
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.23 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.0018157959, -0.641872406, -1.07670069, -8.49999997e-05, -1, -3.50000009e-05, -4.37087699e-08, -3.49999973e-05, 1, -0.999994516, 8.4999534e-05, -4.07340224e-08),i)
- runservice.Stepped:wait()
- end
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.23 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.00186920166, 0.558111191, -0.0767021179, -2.79102642e-05, -1, 2.33054725e-05, 1, -2.79103097e-05, -1.97005488e-06, 1.97070608e-06, 2.33054161e-05, 1),i)
- runservice.Stepped:wait()
- end
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.23 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.00199890137, -0.641872406, 1.12329865, 6.43433596e-05, -1, 3.95103561e-05, -1.33738229e-06, -3.95104435e-05, -1, 1, 6.43433086e-05, -1.33992444e-06),i)
- runservice.Stepped:wait()
- end
- local lastcf = rightgrip.C0
- for i = 0,1 , 0.2 do
- rightgrip.C0 = lastcf:lerp(CFrame.new(0.00185394287, -1.78735733, -0.426719666, 1.00994021e-05, -1, 4.36902374e-05, -1, -1.00994648e-05, -1.45057925e-06, 1.45102058e-06, -4.36902228e-05, -1),i)
- runservice.Stepped:wait()
- end
- end)()
- coroutine.wrap(function()
- for i = 0,1 , 0.02 do
- if equipped then
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(2.06786346, 0.499994516, -0.28225708, 0.342020184, -0.939692616, -2.90916346e-15, -4.10748271e-08, -1.49500146e-08, -1, 0.939692616, 0.342020184, -4.37109229e-08),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57922745, 0.094419241, -7.62939453e-06, 0.984808147, 0.173646361, 1.49982284e-08, -0.173646361, 0.984808147, -7.5322043e-10, -1.49011701e-08, -1.86260984e-09, 1),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.881240845, -2.07160878, -7.62939453e-06, 0.984808147, 0.173646361, 1.49982284e-08, -0.173646361, 0.984808147, -7.5322043e-10, -1.49011701e-08, -1.86260984e-09, 1),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.881244659, -2.07160878, -7.62939453e-06, 0.984808147, -0.173646361, 1.49982284e-08, 0.173646361, 0.984808147, 7.5322043e-10, -1.49011701e-08, 1.86260984e-09, 1),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648134, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648134),i)
- head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.173648253, 0, -0.984807789, 0, 1, 0, 0.984807789, 0, 0.173648253),i)
- runservice.Stepped:wait()
- end
- end
- if equipped then
- shootsound.PlaybackSpeed = 1+math.random(-10,10)/60
- shootsound:Play()
- boomsound.PlaybackSpeed = 1+math.random(-10,10)/60
- boomsound:Play()
- local missle = Instance.new("UnionOperation", charhum)
- local meshh = Instance.new("SpecialMesh", missle)
- meshh.MeshType = "Sphere"
- missle.Anchored = true
- missle.CanCollide = false
- missle.Size = Vector3.new(4,4,8)
- missle.Material = "Neon"
- missle.BrickColor = BrickColor.new("New Yeller")
- missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-5)
- local fallvalue = 0
- local speedvalue = 5
- local hitraycast = false
- local threshold = 0
- coroutine.wrap(function()
- while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do
- threshold = threshold + 1
- missle.CFrame = missle.CFrame * CFrame.new(0,0,-2)
- if fallvalue <= 0.01 then
- fallvalue = fallvalue + 0.000035
- missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0)
- end
- local trail = Instance.new("UnionOperation", charhum)
- Instance.new("BlockMesh", trail)
- trail.Anchored = true
- trail.CanCollide = false
- trail.Size = Vector3.new(4,4,4)
- trail.Material = "Neon"
- trail.CFrame = missle.CFrame * CFrame.new(0,0,4) * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
- coroutine.wrap(function()
- for i = 1,15 do
- trail.Transparency = trail.Transparency + 0.075
- trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15)
- runservice.Stepped:wait()
- end
- trail:destroy()
- end)()
- local exblock = Instance.new("UnionOperation", trail)
- local shockwave = Instance.new("SpecialMesh", exblock)
- shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976"
- shockwave.Scale = Vector3.new(3,5,3)
- exblock.BrickColor = BrickColor.new("Institutional white")
- exblock.Anchored = true
- exblock.Transparency = 0.5
- exblock.CanCollide = false
- local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ()
- exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- local rotrandom = math.random(1,2)
- coroutine.wrap(function()
- for i = 1,10 do
- exblock.Transparency = exblock.Transparency + 0.05
- shockwave.Scale = shockwave.Scale + Vector3.new(0.5,0.2,0.5)
- if rotrandom == 1 then
- exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0)
- else
- exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0)
- end
- runservice.Stepped:wait()
- end
- exblock:destroy()
- end)()
- --
- local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z)
- local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter})
- if rayehit then
- hitraycast = true
- if rayesurface then
- local hitsomeone = false
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Model" and v ~= ownercharacter then
- if v:findFirstChild("Head") then
- if (v.Head.Position - rayepos).magnitude < 30 then
- v:BreakJoints()
- hitsomeone = true
- end
- end
- end
- end
- if hitsomeone then
- local taunt = math.random(1,3)
- if taunt == 1 then
- noscopesound:Play()
- noscopesound.TimePosition = 2.3
- elseif taunt == 2 then
- headshotsound:Play()
- elseif taunt == 3 then
- headshotsound2:Play()
- end
- end
- local explosionpart = Instance.new("UnionOperation", charhum)
- explosionpart.Anchored = true
- explosionpart.CanCollide = false
- explosionpart.CFrame = CFrame.new(rayepos)
- local explosionsound = Instance.new("Sound", explosionpart)
- explosionsound.SoundId = "rbxassetid://967702054"
- explosionsound:Play()
- explosionsound.Volume = 4
- local reverb = Instance.new("ReverbSoundEffect", explosionsound)
- reverb.DecayTime = 6.5
- reverb.DryLevel = 5
- game.Debris:AddItem(explosionpart, explosionsound.TimeLength)
- local exblock = Instance.new("UnionOperation", charhum)
- Instance.new("SpecialMesh", exblock).MeshType = "Sphere"
- exblock.BrickColor = BrickColor.new("Institutional white")
- exblock.Anchored = true
- exblock.CanCollide = false
- exblock.Transparency = 0
- exblock.CFrame = CFrame.new(rayepos)
- exblock.Size = Vector3.new(5,5,5)
- coroutine.wrap(function()
- for i = 1,40 do
- exblock.Size = exblock.Size + Vector3.new(2,2,2)
- exblock.Transparency = exblock.Transparency + 0.025
- runservice.Stepped:wait()
- end
- exblock:destroy()
- end)()
- coroutine.wrap(function()
- for i = 1,25 do --blocks
- local exblock = Instance.new("UnionOperation", charhum)
- Instance.new("BlockMesh", exblock)
- exblock.BrickColor = BrickColor.new("New Yeller")
- exblock.Anchored = true
- exblock.CanCollide = false
- exblock.Material = "Neon"
- exblock.Transparency = 0.2
- exblock.CFrame = CFrame.new(rayepos)
- exblock.Size = Vector3.new(0,0,0)
- coroutine.wrap(function()
- for i = 1,20 do
- exblock.Size = exblock.Size + Vector3.new(1,1,1)
- exblock.Transparency = exblock.Transparency + 0.03
- exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3)
- runservice.Stepped:wait()
- end
- exblock:destroy()
- end)()
- wait(0.015)
- end
- end)()
- coroutine.wrap(function() --shockwave
- for i = 1,15 do
- local exblock = Instance.new("UnionOperation", charhum)
- local shockwave = Instance.new("SpecialMesh", exblock)
- shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976"
- shockwave.Scale = Vector3.new(3,6.5,3)
- exblock.BrickColor = BrickColor.new("Institutional white")
- exblock.Anchored = true
- exblock.Transparency = 0
- exblock.CanCollide = false
- if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then
- exblock.CFrame = CFrame.new(rayepos)
- else
- exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- end
- local rotrandom = math.random(1,2)
- coroutine.wrap(function()
- for i = 1,20 do
- exblock.Transparency = exblock.Transparency + 0.05
- shockwave.Scale = shockwave.Scale + Vector3.new(1.5,-0.4,1.5)
- if rotrandom == 1 then
- exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0)
- else
- exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0)
- end
- runservice.Stepped:wait()
- end
- exblock:destroy()
- end)()
- wait(0.05)
- end
- end)()
- end
- end
- end
- missle:destroy()
- end)()
- end
- for i = 0,1 , 0.1 do
- if equipped then
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.68267822, 0.96984005, -0.303489685, 0.984807253, -0.0593928285, 0.163175017, 1.81049109e-06, -0.939682603, -0.342016101, 0.173648149, 0.336824, -0.92541647),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.59371948, 0.471656799, -0.383026123, 0.866024017, 0.321394622, -0.383023292, -0.499992967, 0.556664824, -0.663407445, 0, 0.766044378, 0.642787457),i)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.98478603, -0.17364502, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173647985, 0.984807849),i)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99997807, 7.62939453e-06, 1, 0, 0, 0, 1, 1.86266561e-06, 0, -1.86266539e-06, 1),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.633022487, 0.111617729, -0.766044497, -0.173646361, 0.984808087, 1.25124586e-08, 0.75440681, 0.133020818, 0.642787635),i)
- head.C0 = head.C0:lerp(CFrame.new(-0.0665130615, 1.49238777, -0.055809021, 0.642787576, -0.133023173, 0.754406452, 1.19896185e-06, 0.98480773, 0.173648417, -0.766044557, -0.111618131, 0.633022308),i)
- runservice.Stepped:wait()
- end
- end
- wait(0.5)
- canuse = true
- charhum.WalkSpeed = ws
- charhum.JumpPower = jp
- leftleg:destroy()
- rightleg:destroy()
- for i = 0,1 , 0.04 do
- if equipped then
- if canuse then
- rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0),i)
- end
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.499994755, -0.5, 1, 0, 0, 0, -4.3709008e-08, -1, 0, 1, -4.3709008e-08),i)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
- head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
- runservice.Stepped:wait()
- end
- end
- rightarm:destroy()
- leftarm:destroy()
- head:destroy()
- humanoidrootpart:destroy()
- end)()
- end
- end
- end)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = owner:findFirstChildOfClass("Backpack")
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment