Advertisement
fusionfriends

Shadow Magician

Oct 2nd, 2019
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.61 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local Player = owner
  3. repeat wait() until Player.Character
  4. local Character = Player.Character
  5. if Character:FindFirstChild("UpperTorso") then
  6.     warn("You must be in R6 in order to use this script")
  7. end
  8. for i,v in pairs(Character.Humanoid:GetAccessories()) do
  9.     if v.Handle:FindFirstChild("HairAttachment") then
  10.         v.Handle.Mesh.TextureId = ""
  11.         v.Handle.BrickColor = BrickColor.new("Really black")
  12.         local Particles = Instance.new("ParticleEmitter",v.Handle)
  13.         Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  14.         Particles.Lifetime = NumberRange.new(1.5,1.5)
  15.         Particles.Rate = 50
  16.         Particles.Speed = NumberRange.new(0)
  17.         Particles.Size = NumberSequence.new({
  18.             NumberSequenceKeypoint.new(0,0.35),
  19.             NumberSequenceKeypoint.new(1,0)
  20.         })
  21.         Particles.Transparency = NumberSequence.new({
  22.             NumberSequenceKeypoint.new(0,0),
  23.             NumberSequenceKeypoint.new(1,1)
  24.         })
  25.         Particles.EmissionDirection = Enum.NormalId.Back
  26.         Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  27.         Particles.LockedToPart = true
  28.     end
  29. end
  30. local Input = NLS([==[
  31. local Player = game.Players.LocalPlayer
  32. repeat wait() until Player.Character
  33. local Character = Player.Character
  34. local UIS = game:GetService("UserInputService")
  35. local InputEvent = script.InputEvent
  36. InShadowWorld = false
  37. ShadowPositions = {}
  38. Shadows = {}
  39. function Snap()
  40.     local Sound = Instance.new("Sound",Character["Right Arm"])
  41.     Sound.SoundId = "rbxassetid://242076158"
  42.     Sound.Volume = 10
  43.     Sound:Play()
  44.     game.Debris:AddItem(Sound,2)
  45.     local RightArmC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  46.     if Character.Torso["Right Shoulder"] ~= nil then
  47.         Character.Torso["Right Shoulder"].C0 = (RightArmC0*CFrame.Angles(0,0,math.rad(50)))
  48.         wait(.1)
  49.         if Character.Torso["Right Shoulder"] ~= nil then
  50.             Character.Torso["Right Shoulder"].C0 = (RightArmC0)
  51.         end
  52.     end
  53. end
  54. function CreateShadow(CF)
  55.     local Shadow = Instance.new("Model",workspace)
  56.     Shadow.Name = "ShadowClient"
  57.     local Head = Instance.new("Part",Shadow)
  58.     Shadow.PrimaryPart = Head
  59.     Head.Transparency = 1
  60.     Head.Size = Vector3.new(2,1,1)
  61.     Head.Name = "Head"
  62.     local FakeHead = Instance.new("Part",Shadow)
  63.     FakeHead.Transparency = .5
  64.     FakeHead.Size = Vector3.new(2,1,1)
  65.     FakeHead.BrickColor = BrickColor.new("Really black")
  66.     FakeHead.CanCollide = false
  67.     local FakeHeadWeld = Instance.new("Weld",FakeHead)
  68.     FakeHeadWeld.Part0 = FakeHead
  69.     FakeHeadWeld.Part1 = Head
  70.     local LeftArm = Instance.new("Part",Shadow)
  71.     LeftArm.Size = Vector3.new(1,2,1)
  72.     LeftArm.BrickColor = BrickColor.new("Really black")
  73.     LeftArm.Transparency = 0.5
  74.     LeftArm.Name = "Left Arm"
  75.     local RightArm = LeftArm:Clone()
  76.     RightArm.Name = "Right Arm"
  77.     RightArm.Parent = Shadow
  78.     local LeftLeg = LeftArm:Clone()
  79.     LeftLeg.Name = "Left Leg"
  80.     LeftLeg.Parent = Shadow
  81.     local RightLeg = LeftArm:Clone()
  82.     RightLeg.Name = "Right Leg"
  83.     RightLeg.Parent = Shadow
  84.     local HumanoidRootPart = Instance.new("Part",Shadow)
  85.     HumanoidRootPart.Transparency = 1
  86.     HumanoidRootPart.Size = Vector3.new(2,2,1)
  87.     HumanoidRootPart.Name = "HumanoidRootPart"
  88.     local Torso = HumanoidRootPart:Clone()
  89.     Torso.Transparency = .5
  90.     Torso.BrickColor = BrickColor.new("Really black")
  91.     Torso.Name = "Torso"
  92.     Torso.Parent = Shadow
  93.     local Mesh = Instance.new("SpecialMesh",FakeHead)
  94.     Mesh.Scale = Vector3.new(1.25,1.25,1.25)
  95.     local RJ = Instance.new("Motor6D",HumanoidRootPart)
  96.     RJ.Name = "Root Hip"
  97.     RJ.Part0 = HumanoidRootPart
  98.     RJ.Part1 = Torso
  99.     RJ.C0 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,-0)
  100.     RJ.C1 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,-0)
  101.     local LH = Instance.new("Motor6D",Torso)
  102.     LH.Name = "Left Hip"
  103.     LH.Part0 = Torso
  104.     LH.Part1 = LeftLeg
  105.     LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
  106.     LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
  107.     local LS = Instance.new("Motor6D",Torso)
  108.     LS.Name = "Left Shoulder"
  109.     LS.Part0 = Torso
  110.     LS.Part1 = LeftArm
  111.     LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
  112.     LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
  113.     local N = Instance.new("Motor6D",Torso)
  114.     N.Name = "Neck"
  115.     N.Part0 = Torso
  116.     N.Part1 = Head
  117.     N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0)
  118.     N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,-0)
  119.     local RH = Instance.new("Motor6D",Torso)
  120.     RH.Name = "Right Hip"
  121.     RH.Part0 = Torso
  122.     RH.Part1 = RightLeg
  123.     RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  124.     RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,-0,-1,0,0)
  125.     local RS = Instance.new("Motor6D",Torso)
  126.     RS.Name = "Right Shoulder"
  127.     RS.Part0 = Torso
  128.     RS.Part1 = RightArm
  129.     RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,-0,-1,0,0)
  130.     RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,-0,-1,0,0)
  131.     local Particles = Instance.new("ParticleEmitter",Torso)
  132.     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  133.     Particles.Lifetime = NumberRange.new(1.5,1.5)
  134.     Particles.Rate = 1000
  135.     Particles.Speed = NumberRange.new(2,2)
  136.     Particles.Size = NumberSequence.new({
  137.         NumberSequenceKeypoint.new(0,0.35),
  138.         NumberSequenceKeypoint.new(1,0)
  139.     })
  140.     Particles.Transparency = NumberSequence.new({
  141.         NumberSequenceKeypoint.new(0,0),
  142.         NumberSequenceKeypoint.new(1,1)
  143.     })
  144.     Particles.EmissionDirection = Enum.NormalId.Back
  145.     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  146.     local Humanoid = Instance.new("Humanoid",Shadow)
  147.     Humanoid.WalkSpeed = 25
  148.     Humanoid.Health = 1
  149.     local Sound = Instance.new("Sound",Shadow.HumanoidRootPart)
  150.     Sound.SoundId = "rbxassetid://441243549"
  151.     Sound.Looped = true
  152.     Sound:Play()
  153.     local Animator = Instance.new("Animator",Humanoid)
  154.     local BodyGyro = Instance.new("BodyGyro",HumanoidRootPart)
  155.     local RunAnim = Instance.new("Animation")
  156.     RunAnim.AnimationId = "rbxassetid://180426354"
  157.     local RunAnimTrack = Humanoid:LoadAnimation(RunAnim)
  158.     local IdleAnim = Instance.new("Animation")
  159.     IdleAnim.AnimationId = "rbxassetid://180435571"
  160.     local IdleAnimTrack = Humanoid:LoadAnimation(IdleAnim)
  161.     table.insert(Shadows,Shadow)
  162.     table.insert(ShadowPositions,CF)
  163.     Shadow.HumanoidRootPart.CFrame = CF
  164.     return Shadow
  165. end
  166. function Clear()
  167.     Snap()
  168.     for i,v in pairs(Shadows) do
  169.         v:Destroy()
  170.     end
  171. end
  172. function RPGShadow()
  173.     local Shadow = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-3))
  174.     Snap()
  175.     local FireAnim = Instance.new("Animation")
  176.     FireAnim.AnimationId = "http://www.roblox.com/Asset?ID=94771598"
  177.     local FireAnimTrack = Shadow.Humanoid:LoadAnimation(FireAnim)
  178.     local CrouchAnim = Instance.new("Animation")
  179.     CrouchAnim.AnimationId = "http://www.roblox.com/asset/?id=287325678"
  180.     local CrouchAnimTrack = Shadow.Humanoid:LoadAnimation(CrouchAnim)
  181.     CrouchAnimTrack:Play()
  182.     FireAnimTrack:Play()
  183.     FireAnimTrack:AdjustSpeed(0)
  184.     local Rpg = Instance.new("Part",Shadow)
  185.     Rpg.BrickColor = BrickColor.new("Really black")
  186.     Rpg.Size = Vector3.new(1,1.25,3.5)
  187.     Rpg.CanCollide = false
  188.     Rpg.Transparency = 0.5
  189.     Rpg.Name = "RPG"
  190.     Rpg.Massless = true
  191.     local Mesh = Instance.new("SpecialMesh",Rpg)
  192.     Mesh.MeshId = "http://www.roblox.com/asset/?id=168894022"
  193.     local Weld = Instance.new("Weld",Rpg)
  194.     Weld.Part0 = Shadow["Right Arm"]
  195.     Weld.Part1 = Rpg
  196.     Weld.C0 = CFrame.Angles(math.rad(-90),0,0)*CFrame.new(0,.5,0)
  197.     local Hat = Instance.new("Part",Shadow)
  198.     Hat.BrickColor = BrickColor.new("Really black")
  199.     Hat.Size = Vector3.new(1,1,1)
  200.     Hat.CanCollide = false
  201.     Hat.Transparency = .5
  202.     Hat.Name = "Hat"
  203.     Hat.Massless = true
  204. end
  205. UIS.InputBegan:Connect(function(Input,IsTyping)
  206.     if InputEvent == nil then
  207.         script:Destroy()
  208.     end
  209.     if not IsTyping then
  210.         InputEvent:FireServer(Input.KeyCode)
  211.         if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  212.             InputEvent:FireServer(Input.UserInputType)
  213.         end
  214.         if Input.KeyCode == Enum.KeyCode.T and InShadowWorld then
  215.             Clear()
  216.             ShadowPositions = {}
  217.         end
  218.         if Input.KeyCode == Enum.KeyCode.E and InShadowWorld then
  219.             RPGShadow()
  220.         end
  221.     end
  222. end)
  223. script.ShadowWorldEvent.OnClientEvent:Connect(function()
  224.     local Lighting = game:GetService("Lighting")
  225.     if not InShadowWorld then
  226.         InShadowWorld = true
  227.         Character.Parent = workspace
  228.         Lighting.ClockTime = 0
  229.         Lighting.FogColor = Color3.fromRGB(0,0,0)
  230.         Lighting.FogEnd = 1000
  231.         coroutine.resume(coroutine.create(function()
  232.             for i = 1,12 do
  233.                 wait(.05)
  234.                 Lighting.FogEnd = Lighting.FogEnd-50
  235.             end
  236.         end))
  237.         Character.Humanoid.WalkSpeed = 40
  238.     elseif InShadowWorld then
  239.         InShadowWorld = false
  240.         Lighting.ClockTime = 13.403
  241.         coroutine.resume(coroutine.create(function()
  242.             for i = 1,12 do
  243.                 wait(.05)
  244.                 Lighting.FogEnd = Lighting.FogEnd+50
  245.             end
  246.             Lighting.FogEnd = 10000000
  247.         end))
  248.         Character.Humanoid.WalkSpeed = 16
  249.         script.ShadowWorldEvent:FireServer(ShadowPositions)
  250.         Clear()
  251.         ShadowPositions = {}
  252.     end
  253. end)
  254. ]==],Player.PlayerGui)
  255. local InputEvent = Instance.new("RemoteEvent",Input)
  256. InputEvent.Name = "InputEvent"
  257. local ShadowWorldEvent = Instance.new("RemoteEvent",Input)
  258. ShadowWorldEvent.Name = "ShadowWorldEvent"
  259. LastNormalShadows = tick()-1
  260. LastShadowStep = tick()-.25
  261. LastArcherShadows = tick()-5
  262. LastRPGShadow = tick()-2
  263. LastRadioShadow = tick()-1
  264. LastClear = tick()-1
  265. LastReap = tick()-1
  266. LastChangeMode = tick()-2
  267. LastShield = tick()-3
  268. LastShadowWorld = tick()-1
  269. LastShadowSniper = tick()-3
  270. ScytheEquipped = false
  271. ShieldEnabled = false
  272. InShadowWorld = false
  273. NumberOfSnipers = 0
  274. local OldHealth
  275. Hitting = false
  276. Shadows = {}
  277. local PhysicsService = game:GetService("PhysicsService")
  278. pcall(function()
  279.     PhysicsService:CreateCollisionGroup("Shadows")
  280.     PhysicsService:CreateCollisionGroup("Players")
  281. end)
  282. PhysicsService:CollisionGroupSetCollidable("Shadows","Shadows",false)
  283. PhysicsService:CollisionGroupSetCollidable("Players","Shadows",false)
  284. local ScytheIdleAnim = Instance.new("Animation")
  285. ScytheIdleAnim.AnimationId = "http://www.roblox.com/Asset?ID=96065457"
  286. local ScytheIdleAnimTrack = Character.Humanoid:LoadAnimation(ScytheIdleAnim)
  287. for i,v in pairs(Players:GetPlayers()) do
  288.     coroutine.resume(coroutine.create(function()
  289.         if Player.Character ~= nil then
  290.             for i,v in pairs(Player.Character:GetDescendants()) do
  291.                 if v:IsA("BasePart") then
  292.                     PhysicsService:SetPartCollisionGroup(v,"Players")
  293.                 end
  294.             end
  295.         end
  296.         Player.CharacterAdded:Connect(function(Plr)
  297.             for i,v in pairs(Plr.Character:GetDescendants()) do
  298.                 if v:IsA("BasePart") then
  299.                     PhysicsService:SetPartCollisionGroup(v,"Players")
  300.                 end
  301.             end
  302.         end)
  303.     end))
  304. end
  305. Players.PlayerAdded:Connect(function(Plr)
  306.     coroutine.resume(coroutine.create(function()
  307.         Plr.CharacterAdded:Connect(function()
  308.             for i,v in pairs(Plr.Character:GetDescendants()) do
  309.                 if v:IsA("BasePart") then
  310.                     PhysicsService:SetPartCollisionGroup(v,"Players")
  311.                 end
  312.             end
  313.         end)
  314.     end))
  315. end)
  316. function CreateShadow(CF,HasRunningAnimation,DoesntHaveIdleAnim)
  317.     local Shadow = Instance.new("Model",workspace)
  318.     Shadow.Name = "Shadow"
  319.     local Head = Instance.new("Part",Shadow)
  320.     Shadow.PrimaryPart = Head
  321.     Head.Transparency = 1
  322.     Head.Size = Vector3.new(2,1,1)
  323.     Head.Name = "Head"
  324.     local FakeHead = Instance.new("Part",Shadow)
  325.     FakeHead.Transparency = .5
  326.     FakeHead.Size = Vector3.new(2,1,1)
  327.     FakeHead.BrickColor = BrickColor.new("Really black")
  328.     FakeHead.CanCollide = false
  329.     local FakeHeadWeld = Instance.new("Weld",FakeHead)
  330.     FakeHeadWeld.Part0 = FakeHead
  331.     FakeHeadWeld.Part1 = Head
  332.     local LeftArm = Instance.new("Part",Shadow)
  333.     LeftArm.Size = Vector3.new(1,2,1)
  334.     LeftArm.BrickColor = BrickColor.new("Really black")
  335.     LeftArm.Transparency = 0.5
  336.     LeftArm.Name = "Left Arm"
  337.     local RightArm = LeftArm:Clone()
  338.     RightArm.Name = "Right Arm"
  339.     RightArm.Parent = Shadow
  340.     local LeftLeg = LeftArm:Clone()
  341.     LeftLeg.Name = "Left Leg"
  342.     LeftLeg.Parent = Shadow
  343.     local RightLeg = LeftArm:Clone()
  344.     RightLeg.Name = "Right Leg"
  345.     RightLeg.Parent = Shadow
  346.     local HumanoidRootPart = Instance.new("Part",Shadow)
  347.     HumanoidRootPart.Transparency = 1
  348.     HumanoidRootPart.Size = Vector3.new(2,2,1)
  349.     HumanoidRootPart.Name = "HumanoidRootPart"
  350.     local Torso = HumanoidRootPart:Clone()
  351.     Torso.Transparency = .5
  352.     Torso.BrickColor = BrickColor.new("Really black")
  353.     Torso.Name = "Torso"
  354.     Torso.Parent = Shadow
  355.     local Mesh = Instance.new("SpecialMesh",FakeHead)
  356.     Mesh.Scale = Vector3.new(1.25,1.25,1.25)
  357.     local RJ = Instance.new("Motor6D",HumanoidRootPart)
  358.     RJ.Name = "Root Hip"
  359.     RJ.Part0 = HumanoidRootPart
  360.     RJ.Part1 = Torso
  361.     RJ.C0 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,-0)
  362.     RJ.C1 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,-0)
  363.     local LH = Instance.new("Motor6D",Torso)
  364.     LH.Name = "Left Hip"
  365.     LH.Part0 = Torso
  366.     LH.Part1 = LeftLeg
  367.     LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
  368.     LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
  369.     local LS = Instance.new("Motor6D",Torso)
  370.     LS.Name = "Left Shoulder"
  371.     LS.Part0 = Torso
  372.     LS.Part1 = LeftArm
  373.     LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
  374.     LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
  375.     local N = Instance.new("Motor6D",Torso)
  376.     N.Name = "Neck"
  377.     N.Part0 = Torso
  378.     N.Part1 = Head
  379.     N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0)
  380.     N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,-0)
  381.     local RH = Instance.new("Motor6D",Torso)
  382.     RH.Name = "Right Hip"
  383.     RH.Part0 = Torso
  384.     RH.Part1 = RightLeg
  385.     RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  386.     RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,-0,-1,0,0)
  387.     local RS = Instance.new("Motor6D",Torso)
  388.     RS.Name = "Right Shoulder"
  389.     RS.Part0 = Torso
  390.     RS.Part1 = RightArm
  391.     RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,-0,-1,0,0)
  392.     RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,-0,-1,0,0)
  393.     local Particles = Instance.new("ParticleEmitter",Torso)
  394.     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  395.     Particles.Lifetime = NumberRange.new(1.5,1.5)
  396.     Particles.Rate = 1000
  397.     Particles.Speed = NumberRange.new(2,2)
  398.     Particles.Size = NumberSequence.new({
  399.         NumberSequenceKeypoint.new(0,0.35),
  400.         NumberSequenceKeypoint.new(1,0)
  401.     })
  402.     Particles.Transparency = NumberSequence.new({
  403.         NumberSequenceKeypoint.new(0,0),
  404.         NumberSequenceKeypoint.new(1,1)
  405.     })
  406.     Particles.EmissionDirection = Enum.NormalId.Back
  407.     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  408.     local Humanoid = Instance.new("Humanoid",Shadow)
  409.     Humanoid.WalkSpeed = 25
  410.     Humanoid.Health = 1
  411.     local Sound = Instance.new("Sound",Shadow.HumanoidRootPart)
  412.     Sound.SoundId = "rbxassetid://441243549"
  413.     Sound.Looped = true
  414.     Sound:Play()
  415.     local Animator = Instance.new("Animator",Humanoid)
  416.     local BodyGyro = Instance.new("BodyGyro",HumanoidRootPart)
  417.     local RunAnim = Instance.new("Animation")
  418.     RunAnim.AnimationId = "rbxassetid://180426354"
  419.     local RunAnimTrack = Humanoid:LoadAnimation(RunAnim)
  420.     local IdleAnim = Instance.new("Animation")
  421.     IdleAnim.AnimationId = "rbxassetid://180435571"
  422.     local IdleAnimTrack = Humanoid:LoadAnimation(IdleAnim)
  423.     for i,v in pairs(Shadow:GetDescendants()) do
  424.         if v:IsA("BasePart") then
  425.             PhysicsService:SetPartCollisionGroup(v,"Shadows")
  426.         end
  427.     end
  428.     Shadow.Humanoid.Died:Connect(function()
  429.         if Shadow:FindFirstChild("HumanoidRootPart") ~= nil then
  430.             Poof(Shadow.HumanoidRootPart.Position)
  431.         end
  432.         Shadow:Destroy()
  433.     end)
  434.     coroutine.resume(coroutine.create(function()
  435.         while true do
  436.             wait(.2)
  437.             if Shadow == nil then break end
  438.             if HumanoidRootPart.Velocity.Magnitude > .5 then
  439.                 if not RunAnimTrack.IsPlaying then
  440.                     if HasRunningAnimation then
  441.                         RunAnimTrack:Play()
  442.                     end
  443.                 end
  444.                 if IdleAnimTrack.IsPlaying then
  445.                     IdleAnimTrack:Stop()
  446.                 end
  447.             else
  448.                 if RunAnimTrack.IsPlaying then
  449.                     if HasRunningAnimation then
  450.                         RunAnimTrack:Stop()
  451.                     end
  452.                 end
  453.                 if not IdleAnimTrack.IsPlaying then
  454.                     if not DoesntHaveIdleAnim then
  455.                         IdleAnimTrack:Play()
  456.                     end
  457.                 end
  458.             end
  459.         end
  460.     end))
  461.     table.insert(Shadows,Shadow)
  462.     Shadow.HumanoidRootPart.CFrame = CF
  463.     return Shadow
  464. end
  465. function Morph(Target)
  466.     local HRoot = Target:FindFirstChild("HumanoidRootPart") or Target:FindFirstChild("Torso") or Target:FindFirstChild("UpperTorso")
  467.     local Shadow = CreateShadow(CFrame.new(0,0,0),true)
  468.     Shadow.HumanoidRootPart.CFrame = HRoot.CFrame
  469.     Poof(Shadow.HumanoidRootPart.Position)
  470.     for i,v in pairs(Target:GetChildren()) do
  471.         if v:IsA("Accessory") then
  472.             local Clone = v:Clone()
  473.             Clone.Handle.BrickColor = BrickColor.new("Really black")
  474.             Clone.Handle.Transparency = .5
  475.             Clone.Handle:FindFirstChildWhichIsA("SpecialMesh").TextureId = ""
  476.             Clone.Parent = Shadow
  477.         end
  478.     end
  479.     Target.Parent = game:GetService("ReplicatedStorage")
  480.     NormalShadowConnect(Shadow)
  481.     local Sound = Instance.new("Sound",Shadow.HumanoidRootPart)
  482.     Sound.SoundId = "rbxassetid://462698509"
  483.     Sound.Volume = 4
  484.     Sound:Play()
  485. end
  486. function Poof(Position)
  487.     local Part = Instance.new("Part",workspace)
  488.     Part.Position = Position
  489.     Part.CanCollide = false
  490.     Part.Anchored = true
  491.     Part.Transparency = 1
  492.     Part.Size = Vector3.new(1,1,1)
  493.     game.Debris:AddItem(Part,2)
  494.     local Particles = Instance.new("ParticleEmitter",Part)
  495.     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  496.     Particles.Lifetime = NumberRange.new(1.5,1.5)
  497.     Particles.Rate = 1000
  498.     Particles.Speed = NumberRange.new(7,7)
  499.     Particles.Size = NumberSequence.new({
  500.         NumberSequenceKeypoint.new(0,0.35),
  501.         NumberSequenceKeypoint.new(1,0)
  502.     })
  503.     Particles.Transparency = NumberSequence.new({
  504.         NumberSequenceKeypoint.new(0,0),
  505.         NumberSequenceKeypoint.new(1,1)
  506.     })
  507.     Particles.EmissionDirection = Enum.NormalId.Back
  508.     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  509.     Particles.Enabled = false
  510.     Particles:Emit(500)
  511. end
  512. function Snap()
  513.     local Sound = Instance.new("Sound",Character["Right Arm"])
  514.     Sound.SoundId = "rbxassetid://242076158"
  515.     Sound.Volume = 10
  516.     Sound:Play()
  517.     game.Debris:AddItem(Sound,2)
  518.     local RightArmC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  519.     if Character.Torso["Right Shoulder"] ~= nil then
  520.         Character.Torso["Right Shoulder"].C0 = (RightArmC0*CFrame.Angles(0,0,math.rad(50)))
  521.         wait(.1)
  522.         if Character.Torso["Right Shoulder"] ~= nil then
  523.             Character.Torso["Right Shoulder"].C0 = (RightArmC0)
  524.         end
  525.     end
  526. end
  527. function ShadowStep()
  528.     if Character.HumanoidRootPart ~= nil then
  529.         Poof(Character.HumanoidRootPart.Position)
  530.         local Shadow = Character:Clone()
  531.         Character.HumanoidRootPart.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-15)
  532.         Snap()
  533.         Poof(Character.HumanoidRootPart.Position)
  534.     end
  535. end
  536. function NormalShadowConnect(Shadow)
  537.     Poof(Shadow.HumanoidRootPart.Position)
  538.     coroutine.resume(coroutine.create(function()
  539.         Shadow.HumanoidRootPart.Touched:Connect(function(Hit)
  540.             if Hit.Parent and Hit.Parent:FindFirstChild("Humanoid") and Hit.Parent.Name ~= Player.Name and Hit.Parent.Name ~= "Shadow" and Hit.Parent.Name ~= "Radio Shadow" and Hit.Parent.Name ~= "Sniper Shadow" and Hit.Parent.Humanoid.Health > 0 then
  541.                 Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health-30
  542.                 Poof(Shadow.HumanoidRootPart.Position)
  543.                 Shadow:Destroy()
  544.             end
  545.         end)
  546.         local function FindTarget(Position)
  547.             local Distance = 100
  548.             local HumanoidRootPart = nil
  549.             for i,v in pairs(workspace:GetChildren()) do
  550.                 if v:FindFirstChild("Humanoid") and v.Name ~= Player.Name and v.Name ~= "Shadow" and v.Name ~= "Radio Shadow" and v.Name ~= "Sniper Shadow" and v.Humanoid.Health > 0 then
  551.                     local HRoot = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  552.                     if HRoot and (HRoot.Position - Position).magnitude < Distance then
  553.                         HumanoidRootPart = HRoot
  554.                         Distance = (HumanoidRootPart.Position - Position).magnitude
  555.                     end
  556.                 end
  557.             end
  558.             return HumanoidRootPart
  559.         end
  560.         while wait(.1) do
  561.             pcall(function()
  562.                 local HumanoidRootPart = FindTarget(Shadow.HumanoidRootPart.Position)
  563.                 if HumanoidRootPart ~= nil then
  564.                     Shadow.Humanoid:MoveTo(HumanoidRootPart.Position)
  565.                 end
  566.             end)
  567.         end
  568.     end))
  569. end
  570. function NormalShadows()
  571.     local Shadow1 = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(5,.5,-3),true)
  572.     local Shadow2 = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(5,.5,3),true)
  573.     local Shadow3 = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(-5,.5,-3),true)
  574.     local Shadow4 = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(-5,.5,3),true)
  575.     NormalShadowConnect(Shadow1)
  576.     NormalShadowConnect(Shadow2)
  577.     NormalShadowConnect(Shadow3)
  578.     NormalShadowConnect(Shadow4)
  579.     Snap()
  580. end
  581. function ArcherShadows()
  582.     local function Connect(Shadow)
  583.         Poof(Shadow.HumanoidRootPart.Position)
  584.         local BowFireAnim = Instance.new("Animation")
  585.         BowFireAnim.AnimationId = "rbxassetid://203929952"
  586.         local BowFireAnimTrack = Shadow.Humanoid:LoadAnimation(BowFireAnim)
  587.         local Bow = Instance.new("Part",Shadow)
  588.         Bow.Size = Vector3.new(0.5,6.75,2.25)
  589.         Bow.Transparency = .5
  590.         Bow.BrickColor = BrickColor.new("Really black")
  591.         Bow.CanCollide = false
  592.         Bow.Name = "Bow"
  593.         Bow.Massless = true
  594.         local Mesh = Instance.new("SpecialMesh",Bow)
  595.         Mesh.MeshId = "rbxassetid://101159905"
  596.         local Weld = Instance.new("Weld",Bow)
  597.         Weld.Part0 = Shadow["Right Arm"]
  598.         Weld.Part1 = Bow
  599.         Weld.C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  600.         local Hat = Instance.new("Part",Shadow)
  601.         Hat.Size = Vector3.new(2,1,2)
  602.         Hat.Transparency = .5
  603.         Hat.BrickColor = BrickColor.new("Really black")
  604.         Hat.CanCollide = false
  605.         Hat.Name = "Hat"
  606.         Hat.Massless = true
  607.         local Mesh2 = Instance.new("SpecialMesh",Hat)
  608.         Mesh2.MeshId = "http://www.roblox.com/asset/?id=11369038"
  609.         local Weld2 = Instance.new("Weld",Hat)
  610.         Weld2.Part0 = Shadow.Head
  611.         Weld2.Part1 = Hat
  612.         Weld2.C0 = CFrame.new(0,.7,0)
  613.         coroutine.resume(coroutine.create(function()
  614.             local function FindTarget(Position)
  615.                 local Distance = 50
  616.                 local HumanoidRootPart = nil
  617.                 for i,v in pairs(workspace:GetChildren()) do
  618.                     if v:FindFirstChild("Humanoid") and v.Name ~= Player.Name and v.Name ~= "Shadow" and v.Name ~= "Radio Shadow" and v.Name ~= "Sniper Shadow" and v.Humanoid.Health > 0 then
  619.                         local HRoot = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  620.                         if (HRoot.Position - Position).magnitude < Distance then
  621.                             HumanoidRootPart = HRoot
  622.                             Distance = (HumanoidRootPart.Position - Position).magnitude
  623.                         end
  624.                     end
  625.                 end
  626.                 return HumanoidRootPart
  627.             end
  628.             while wait(2) do
  629.                 pcall(function()
  630.                     local HumanoidRootPart = FindTarget(Shadow.HumanoidRootPart.Position)
  631.                     if HumanoidRootPart ~= nil then
  632.                         Shadow.HumanoidRootPart.CFrame = CFrame.new(Shadow.HumanoidRootPart.Position,HumanoidRootPart.Position)
  633.                         Shadow.HumanoidRootPart.Orientation = Vector3.new(0,Shadow.HumanoidRootPart.Orientation.Y,0)
  634.                         BowFireAnimTrack:Play()
  635.                         local Sound = Instance.new("Sound",Bow)
  636.                         Sound.SoundId = "rbxassetid://16211041"
  637.                         Sound.Volume = 3
  638.                         Sound:Play()
  639.                         game.Debris:AddItem(Sound,2)
  640.                         HumanoidRootPart.Parent.Humanoid.Health = HumanoidRootPart.Parent.Humanoid.Health-30
  641.                         wait(.1)
  642.                         Poof(HumanoidRootPart.Position)
  643.                         local ray = Ray.new(Bow.CFrame.p,(HumanoidRootPart.Position-Bow.CFrame.p).Unit*300)
  644.                         local Part, Position = workspace:FindPartOnRay(ray,Shadow,false,true)
  645.                         local Distance = (Bow.CFrame.p - Position).magnitude
  646.                         local Beam = Instance.new("Part",workspace)
  647.                         Beam.BrickColor = BrickColor.new("Really black")
  648.                         Beam.Anchored = true
  649.                         Beam.CanCollide = false
  650.                         Beam.Material = Enum.Material.Neon
  651.                         Beam.Size = Vector3.new(0.1,0.1,Distance)
  652.                         Beam.CFrame = CFrame.new(Bow.CFrame.p,Position)*CFrame.new(0,0,-Distance/2)
  653.                         coroutine.resume(coroutine.create(function()
  654.                             for i = 1,10 do
  655.                                 wait()
  656.                                 Beam.Size = Vector3.new(Beam.Size.X+.1,Beam.Size.Y+.1,Beam.Size.Z)
  657.                                 Beam.Transparency = Beam.Transparency+.1
  658.                             end
  659.                             Beam:Destroy()
  660.                         end))
  661.                     end
  662.                 end)
  663.             end
  664.         end))
  665.         coroutine.resume(coroutine.create(function()
  666.             wait(15)
  667.             if Shadow:FindFirstChild("HumanoidRootPart") then
  668.                 Poof(Shadow.HumanoidRootPart.Position)
  669.                 Shadow:Destroy()
  670.             end
  671.         end))
  672.     end
  673.     local Archer1 = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(5,0,0),false)
  674.     local Archer2 = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(-5,0,0),false)
  675.     Connect(Archer1)
  676.     Connect(Archer2)
  677.     Snap()
  678. end
  679. function RPGShadow()
  680.     local Shadow = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-3),false)
  681.     Snap()
  682.     Poof(Shadow.HumanoidRootPart.Position)
  683.     local FireAnim = Instance.new("Animation")
  684.     FireAnim.AnimationId = "http://www.roblox.com/Asset?ID=94771598"
  685.     local FireAnimTrack = Shadow.Humanoid:LoadAnimation(FireAnim)
  686.     local CrouchAnim = Instance.new("Animation")
  687.     CrouchAnim.AnimationId = "http://www.roblox.com/asset/?id=287325678"
  688.     local CrouchAnimTrack = Shadow.Humanoid:LoadAnimation(CrouchAnim)
  689.     CrouchAnimTrack:Play()
  690.     FireAnimTrack:Play()
  691.     local Rpg = Instance.new("Part",Shadow)
  692.     Rpg.BrickColor = BrickColor.new("Really black")
  693.     Rpg.Size = Vector3.new(1,1.25,3.5)
  694.     Rpg.CanCollide = false
  695.     Rpg.Transparency = 0.5
  696.     Rpg.Name = "RPG"
  697.     Rpg.Massless = true
  698.     local Mesh = Instance.new("SpecialMesh",Rpg)
  699.     Mesh.MeshId = "http://www.roblox.com/asset/?id=168894022"
  700.     local Weld = Instance.new("Weld",Rpg)
  701.     Weld.Part0 = Shadow["Right Arm"]
  702.     Weld.Part1 = Rpg
  703.     Weld.C0 = CFrame.Angles(math.rad(-90),0,0)*CFrame.new(0,.5,0)
  704.     local Hat = Instance.new("Part",Shadow)
  705.     Hat.BrickColor = BrickColor.new("Really black")
  706.     Hat.Size = Vector3.new(1,1,1)
  707.     Hat.CanCollide = false
  708.     Hat.Transparency = .5
  709.     Hat.Name = "Hat"
  710.     Hat.Massless = true
  711.     local HatMesh = Instance.new("SpecialMesh",Hat)
  712.     HatMesh.MeshId = "http://www.roblox.com/asset/?id=10909664"
  713.     local HatWeld = Instance.new("Weld",Hat)
  714.     HatWeld.Part0 = Shadow.Head
  715.     HatWeld.Part1 = Hat
  716.     HatWeld.C0 = CFrame.new(0,.7,0)
  717.     local Projectile = Instance.new("Part",workspace)
  718.     Projectile.BrickColor = BrickColor.new("Really black")
  719.     Projectile.Transparency = .5
  720.     Projectile.Material = Enum.Material.SmoothPlastic
  721.     Projectile.CanCollide = false
  722.     Projectile.Size = Vector3.new(1,1,1)
  723.     Projectile.CFrame = CFrame.new(Rpg.Position)
  724.     Projectile.Shape = Enum.PartType.Ball
  725.     Projectile.Orientation = Shadow.HumanoidRootPart.Orientation
  726.     game.Debris:AddItem(Projectile,4)
  727.     local Particles = Instance.new("ParticleEmitter",Projectile)
  728.     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  729.     Particles.Lifetime = NumberRange.new(1.5,1.5)
  730.     Particles.Rate = 1000
  731.     Particles.Speed = NumberRange.new(4,4)
  732.     Particles.Size = NumberSequence.new({
  733.         NumberSequenceKeypoint.new(0,1),
  734.         NumberSequenceKeypoint.new(1,0)
  735.     })
  736.     Particles.Transparency = NumberSequence.new({
  737.         NumberSequenceKeypoint.new(0,0),
  738.         NumberSequenceKeypoint.new(1,1)
  739.     })
  740.     Particles.EmissionDirection = Enum.NormalId.Back
  741.     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  742.     local BodyVelocity = Instance.new("BodyVelocity",Projectile)
  743.     BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  744.     BodyVelocity.Velocity = Vector3.new(Projectile.CFrame.LookVector.X*200,Projectile.CFrame.LookVector.Y*200,Projectile.CFrame.LookVector.Z*200)
  745.     coroutine.resume(coroutine.create(function()
  746.         Projectile.Touched:Connect(function(Hit)
  747.             if Hit.Parent and Hit.Parent.Name ~= Player.Name and Hit.Parent.Name ~= "Shadow" and Hit.Parent.Name ~= "Radio Shadow" and Hit.Parent.Name ~= "Sniper Shadow" then
  748.                 local Explosion = Instance.new("Part",workspace)
  749.                 Explosion.Position = Projectile.Position
  750.                 Projectile:Destroy()
  751.                 Explosion.Size = Vector3.new(30,30,30)
  752.                 Explosion.CanCollide = false
  753.                 Explosion.Anchored = true
  754.                 Explosion.BrickColor = BrickColor.new("Really black")
  755.                 Explosion.TopSurface = Enum.SurfaceType.Smooth
  756.                 Explosion.BottomSurface = Enum.SurfaceType.Smooth
  757.                 Explosion.Material = Enum.Material.Neon
  758.                 Explosion.Shape = Enum.PartType.Ball
  759.                 local Sound = Instance.new("Sound",Explosion)
  760.                 Sound.Volume = 3
  761.                 Sound.PlaybackSpeed = 2
  762.                 Sound.SoundId = "rbxasset://sounds/impact_explosion_03.mp3"
  763.                 Sound:Play()
  764.                 local Particles = Instance.new("ParticleEmitter",Explosion)
  765.                 Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  766.                 Particles.Lifetime = NumberRange.new(1.5,1.5)
  767.                 Particles.Rate = 1000
  768.                 Particles.Speed = NumberRange.new(7,7)
  769.                 Particles.Size = NumberSequence.new({
  770.                     NumberSequenceKeypoint.new(0,1),
  771.                     NumberSequenceKeypoint.new(1,0)
  772.                 })
  773.                 Particles.Transparency = NumberSequence.new({
  774.                     NumberSequenceKeypoint.new(0,0),
  775.                     NumberSequenceKeypoint.new(1,1)
  776.                 })
  777.                 Particles.EmissionDirection = Enum.NormalId.Back
  778.                 Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  779.                 Particles.Enabled = false
  780.                 Particles:Emit(1000)
  781.                 game.Debris:AddItem(Explosion,2)
  782.                 local Connection = Explosion.Touched:Connect(function() end)
  783.                 for i,v in pairs(Explosion:GetTouchingParts()) do
  784.                     if v.Parent and v.Parent:FindFirstChildWhichIsA("Humanoid") and v.Parent.Name ~= Player.Name and v.Parent.Name ~= "Shadow" and v.Parent.Name ~= "Radio Shadow" and v.Parent.Name ~= "Sniper Shadow" then
  785.                         v.Parent.Humanoid.Health = 0
  786.                     end
  787.                 end
  788.                 for i = 1,20 do
  789.                     wait()
  790.                     Explosion.Transparency = Explosion.Transparency+.05
  791.                 end
  792.             end
  793.         end)
  794.     end))
  795.     wait(1)
  796.     if Shadow:FindFirstChild("HumanoidRootPart") then
  797.         Poof(Shadow.HumanoidRootPart.Position)
  798.     end
  799.     Shadow:Destroy()
  800. end
  801. function RadioShadow()
  802.     local Shadow = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(5,0,0),false,true)
  803.     Snap()
  804.     Poof(Shadow.HumanoidRootPart.Position)
  805.     for i,v in pairs(workspace:GetChildren()) do
  806.         if v.Name == "Radio Shadow" then
  807.             if v:FindFirstChild("HumanoidRootPart") then
  808.                 Poof(v.HumanoidRootPart.Position)
  809.             end
  810.             v:Destroy()
  811.         end
  812.     end
  813.     local Themes = {
  814.         171576484,
  815.         2934442000,
  816.         176395830,
  817.         2387291011
  818.     }
  819.     Shadow.Name = "Radio Shadow"
  820.     local DanceAnim = Instance.new("Animation")
  821.     DanceAnim.AnimationId = "http://www.roblox.com/asset/?id=182491423"
  822.     local DanceAnimTrack = Shadow.Humanoid:LoadAnimation(DanceAnim)
  823.     DanceAnimTrack.Priority = Enum.AnimationPriority.Action
  824.     DanceAnimTrack:Play()
  825.     local Radio = Instance.new("Part",Shadow)
  826.     Radio.Size = Vector3.new(3.2,1.6,1.2)
  827.     Radio.BrickColor = BrickColor.new("Really black")
  828.     Radio.Transparency = .5
  829.     Radio.Massless = true
  830.     Radio.CanCollide = false
  831.     local Mesh = Instance.new("SpecialMesh",Radio)
  832.     Mesh.MeshId = "http://www.roblox.com/asset/?id=212302951"
  833.     Mesh.Scale = Vector3.new(4,4,4)
  834.     local Weld = Instance.new("Weld",Radio)
  835.     Weld.Part1 = Radio
  836.     Weld.Part0 = Shadow["Right Arm"]
  837.     Weld.C0 = CFrame.new(0,0,-1)*CFrame.Angles(math.rad(-90),math.rad(90),0)
  838.     local Hat = Instance.new("Part",Shadow)
  839.     Hat.Transparency = .5
  840.     Hat.CanCollide = false
  841.     Hat.Massless = true
  842.     Hat.BrickColor = BrickColor.new("Really black")
  843.     local HatMesh = Instance.new("SpecialMesh",Hat)
  844.     HatMesh.MeshId = "http://www.roblox.com/asset/?id=72076074"
  845.     local HatWeld = Instance.new("Weld",Hat)
  846.     HatWeld.Part0 = Hat
  847.     HatWeld.Part1 = Shadow.Head
  848.     HatWeld.C0 = CFrame.new(0,-.5,0)
  849.     local Theme = Instance.new("Sound",Radio)
  850.     Theme.Volume = 3
  851.     Theme.Looped = true
  852.     local RNG = math.random(1,#Themes)
  853.     Theme.SoundId = ("rbxassetid://"..Themes[RNG])
  854.     Theme:Play()
  855. end
  856. function ChangeMode()
  857.     if not ScytheEquipped then
  858.         ScytheEquipped = true
  859.         ScytheIdleAnimTrack:Play()
  860.         local Scythe = Instance.new("Part",Character)
  861.         Scythe.Size = Vector3.new(4.6,2.2,.5)
  862.         Scythe.CanCollide = false
  863.         Scythe.Massless = true
  864.         Scythe.Transparency = .5
  865.         Scythe.BrickColor = BrickColor.new("Really black")
  866.         Scythe.Name = "Scythe"
  867.         local Particles = Instance.new("ParticleEmitter",Scythe)
  868.         Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  869.         Particles.Lifetime = NumberRange.new(1.5,1.5)
  870.         Particles.Rate = 1000
  871.         Particles.Speed = NumberRange.new(2,2)
  872.         Particles.Size = NumberSequence.new({
  873.             NumberSequenceKeypoint.new(0,0.35),
  874.             NumberSequenceKeypoint.new(1,0)
  875.         })
  876.         Particles.Transparency = NumberSequence.new({
  877.             NumberSequenceKeypoint.new(0,0),
  878.             NumberSequenceKeypoint.new(1,1)
  879.         })
  880.         Particles.EmissionDirection = Enum.NormalId.Back
  881.         Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  882.         local ScytheMesh = Instance.new("SpecialMesh",Scythe)
  883.         ScytheMesh.MeshId = "rbxassetid://95891318"
  884.         ScytheMesh.Scale = Vector3.new(0.8,0.8,0.8)
  885.         local ScytheWeld = Instance.new("Weld",Scythe)
  886.         ScytheWeld.Part0 = Scythe
  887.         ScytheWeld.Part1 = Character:WaitForChild("Right Arm")
  888.         ScytheWeld.C1 = CFrame.new(-0.0920000076, -2.3670001, -4.93400002, 0.0154027306, -0.0231005363, -0.999614418, 0.996830106, -0.0776877329, 0.0171551481, -0.0780540854, -0.996710062, 0.0218307115)
  889.         Snap()
  890.         Poof(Character.HumanoidRootPart.Position)
  891.         coroutine.resume(coroutine.create(function()
  892.             Scythe.Touched:Connect(function(Hit)
  893.                 if Hitting and Hit.Parent and Hit.Parent:FindFirstChildWhichIsA("Humanoid") and Hit.Parent.Name ~= "Shadow" and Hit.Parent.Name ~= "Radio Shadow" and Hit.Parent.Name ~= "Sniper Shadow" then
  894.                     Morph(Hit.Parent)
  895.                 end
  896.             end)
  897.         end))
  898.     elseif ScytheEquipped then
  899.         ScytheEquipped = false
  900.         local Scythe = Character.Scythe
  901.         ScytheIdleAnimTrack:Stop()
  902.         Snap()
  903.         Poof(Character.HumanoidRootPart.Position)
  904.         Scythe:Destroy()
  905.     end
  906. end
  907. function Reap()
  908.     local ReapAnim = Instance.new("Animation")
  909.     ReapAnim.AnimationId = "rbxassetid://96071496"
  910.     local ReapAnimTrack = Character.Humanoid:LoadAnimation(ReapAnim)
  911.     ReapAnimTrack:Play()
  912.     ReapAnimTrack:AdjustSpeed(4)
  913.     local Sound = Instance.new("Sound",Character.HumanoidRootPart)
  914.     Sound.SoundId = "rbxassetid://541909867"
  915.     Sound.Volume = 4
  916.     Sound:Play()
  917.     game.Debris:AddItem(Sound,1.5)
  918.     Hitting = true
  919.     wait(.7)
  920.     Hitting = false
  921. end
  922. function Shield()
  923.     if not ShieldEnabled then
  924.         ShieldEnabled = true
  925.         local OldHealth = Character.Humanoid.Health
  926.         local Durability = 1000
  927.         Snap()
  928.         Poof(Character.HumanoidRootPart.Position)
  929.         local Orbit = Instance.new("Part",Character)
  930.         Orbit.Size = Vector3.new(1,1,1)
  931.         Orbit.Transparency = 1
  932.         Orbit.CanCollide = false
  933.         Orbit.Name = "Orbit"
  934.         local OrbitWeld = Instance.new("Weld",Orbit)
  935.         OrbitWeld.Part1 = Orbit
  936.         OrbitWeld.Part0 = Character.HumanoidRootPart
  937.         local Shield = Instance.new("Part",Orbit)
  938.         Shield.BrickColor = BrickColor.new("Really black")
  939.         Shield.Transparency = .5
  940.         Shield.Material = Enum.Material.SmoothPlastic
  941.         Shield.CanCollide = false
  942.         Shield.Size = Vector3.new(3,4,1)
  943.         Shield.Name = "Shield"
  944.         local ShieldMesh = Instance.new("SpecialMesh",Shield)
  945.         ShieldMesh.MeshId = "rbxassetid://470050186"
  946.         local Particles = Instance.new("ParticleEmitter",Shield)
  947.         Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  948.         Particles.Lifetime = NumberRange.new(1.5,1.5)
  949.         Particles.Rate = 1000
  950.         Particles.Speed = NumberRange.new(2,2)
  951.         Particles.Size = NumberSequence.new({
  952.             NumberSequenceKeypoint.new(0,0.35),
  953.             NumberSequenceKeypoint.new(1,0)
  954.         })
  955.         Particles.Transparency = NumberSequence.new({
  956.             NumberSequenceKeypoint.new(0,0),
  957.             NumberSequenceKeypoint.new(1,1)
  958.         })
  959.         Particles.EmissionDirection = Enum.NormalId.Back
  960.         Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  961.         local ShieldWeld = Instance.new("Weld",Shield)
  962.         ShieldWeld.Part1 = Shield
  963.         ShieldWeld.Part0 = Orbit
  964.         ShieldWeld.C0 = CFrame.new(3,0,0)*CFrame.Angles(0,math.rad(90),0)
  965.         local Shield2 = Shield:Clone()
  966.         Shield2.Parent = Orbit
  967.         Shield2.Weld.C0 = CFrame.new(-3,0,0)*CFrame.Angles(0,math.rad(-90),0)
  968.         Shield2.Name = "Shield2"
  969.         coroutine.resume(coroutine.create(function()
  970.             local YValue = 0
  971.             while wait(.01) do
  972.                 if not ShieldEnabled then return end
  973.                 YValue = YValue+5
  974.                 OrbitWeld.C0 = CFrame.Angles(0,math.rad(YValue),0)
  975.             end
  976.         end))
  977.         local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
  978.         Humanoid.HealthChanged:Connect(function(NewHealth)
  979.             if ShieldEnabled == true then
  980.                 if NewHealth < OldHealth then
  981.                     Humanoid.Health = OldHealth
  982.                     Shield.Transparency = 0
  983.                     Shield2.Transparency = 0
  984.                     Shield.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  985.                     Shield2.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  986.                     Shield.Material = Enum.Material.Neon
  987.                     Shield2.Material = Enum.Material.Neon
  988.                     Durability = Durability-(OldHealth-NewHealth)
  989.                     local Sound = Instance.new("Sound",Orbit)
  990.                     Sound.SoundId = "rbxassetid://3041192327"
  991.                     Sound.Volume = 3
  992.                     Sound:Play()
  993.                     game.Debris:AddItem(Sound,1)
  994.                     wait(.15)
  995.                     if Durability <= 0 then
  996.                         ShieldEnabled = false
  997.                         if not Character.HumanoidRootPart:FindFirstChild("ShieldShatter") then
  998.                             local Sound = Instance.new("Sound",Character.HumanoidRootPart)
  999.                             Sound.Name = "ShieldShatter"
  1000.                             Sound.SoundId = "rbxassetid://2978605361"
  1001.                             Sound.Volume = 1
  1002.                             Sound:Play()
  1003.                             game.Debris:AddItem(Sound,2)
  1004.                         end
  1005.                         coroutine.resume(coroutine.create(function()
  1006.                             for i = 1,20 do
  1007.                                 wait(.01)
  1008.                                 Shield.Mesh.Scale = Vector3.new(Shield.Mesh.Scale.X+.2,Shield.Mesh.Scale.Y+.2,Shield.Mesh.Scale.Z+.2)
  1009.                                 Shield.Transparency = Shield.Transparency+.05
  1010.                                 Shield2.Mesh.Scale = Vector3.new(Shield2.Mesh.Scale.X+.2,Shield2.Mesh.Scale.Y+.2,Shield2.Mesh.Scale.Z+.2)
  1011.                                 Shield2.Transparency = Shield2.Transparency+.05
  1012.                             end
  1013.                             Orbit:Destroy()
  1014.                         end))
  1015.                     else
  1016.                         Shield.Transparency = 0.5
  1017.                         Shield2.Transparency = 0.5
  1018.                         Shield.Mesh.Scale = Vector3.new(1,1,1)
  1019.                         Shield2.Mesh.Scale = Vector3.new(1,1,1)
  1020.                         Shield.Material = Enum.Material.SmoothPlastic
  1021.                         Shield2.Material = Enum.Material.SmoothPlastic
  1022.                     end
  1023.                 elseif NewHealth > OldHealth then
  1024.                     OldHealth = Character.Humanoid.Health
  1025.                 end
  1026.             end
  1027.         end)
  1028.     elseif ShieldEnabled then
  1029.         ShieldEnabled = false
  1030.         Snap()
  1031.         Poof(Character.HumanoidRootPart.Position)
  1032.         coroutine.resume(coroutine.create(function()
  1033.             for i = 1,20 do
  1034.                 wait(.01)
  1035.                 Character.Orbit.Shield.Mesh.Scale = Vector3.new(Character.Orbit.Shield.Mesh.Scale.X+.2,Character.Orbit.Shield.Mesh.Scale.Y+.2,Character.Orbit.Shield.Mesh.Scale.Z+.2)
  1036.                 Character.Orbit.Shield.Transparency = Character.Orbit.Shield.Transparency+.05
  1037.                 Character.Orbit.Shield2.Mesh.Scale = Vector3.new(Character.Orbit.Shield2.Mesh.Scale.X+.2,Character.Orbit.Shield2.Mesh.Scale.Y+.2,Character.Orbit.Shield2.Mesh.Scale.Z+.2)
  1038.                 Character.Orbit.Shield2.Transparency = Character.Orbit.Shield2.Transparency+.05
  1039.             end
  1040.             Character.Orbit:Destroy()
  1041.         end))
  1042.     end
  1043. end
  1044. function ShadowWorld()
  1045.     if not InShadowWorld then
  1046.         InShadowWorld = true
  1047.         Snap()
  1048.         local Effect = Instance.new("Part",workspace)
  1049.         Effect.CanCollide = false
  1050.         Effect.Anchored = true
  1051.         Effect.Size = Vector3.new(1,1,1)
  1052.         Effect.CFrame = Character.HumanoidRootPart.CFrame
  1053.         Effect.BrickColor = BrickColor.new("Really black")
  1054.         Poof(Effect.Position)
  1055.         local Mesh = Instance.new("SpecialMesh",Effect)
  1056.         Mesh.MeshId = "rbxassetid://2727038386"
  1057.         local Sound = Instance.new("Sound",Effect)
  1058.         Sound.Volume = 3
  1059.         Sound.SoundId = "rbxassetid://4255432837"
  1060.         Sound:Play()
  1061.         coroutine.resume(coroutine.create(function()
  1062.             for i = 1,20 do
  1063.                 wait(.01)
  1064.                 Effect.Transparency = Effect.Transparency+.05
  1065.             end
  1066.             Effect:Destroy()
  1067.         end))
  1068.         Character.Parent = game:GetService("ReplicatedStorage")
  1069.         ShadowWorldEvent:FireClient(Player)
  1070.         for i,v in pairs(Character.Humanoid:GetAccessories()) do
  1071.             local Clone = v:Clone()
  1072.             v:Destroy()
  1073.             Clone.Parent = Character
  1074.         end
  1075.     elseif InShadowWorld then
  1076.         InShadowWorld = false
  1077.         Character.Parent = workspace
  1078.         Snap()
  1079.         Poof(Character.HumanoidRootPart.Position)
  1080.         ShadowWorldEvent:FireClient(Player)
  1081.         for i,v in pairs(Character.Humanoid:GetAccessories()) do
  1082.             local Clone = v:Clone()
  1083.             v:Destroy()
  1084.             Clone.Parent = Character
  1085.         end
  1086.     end
  1087. end
  1088. ShadowWorldEvent.OnServerEvent:Connect(function(Player,Shadows)
  1089.     for i,v in pairs(Shadows) do
  1090.         local Shadow = CreateShadow(v,false)
  1091.         local FireAnim = Instance.new("Animation")
  1092.         FireAnim.AnimationId = "http://www.roblox.com/Asset?ID=94771598"
  1093.         local FireAnimTrack = Shadow.Humanoid:LoadAnimation(FireAnim)
  1094.         local CrouchAnim = Instance.new("Animation")
  1095.         CrouchAnim.AnimationId = "http://www.roblox.com/asset/?id=287325678"
  1096.         local CrouchAnimTrack = Shadow.Humanoid:LoadAnimation(CrouchAnim)
  1097.         CrouchAnimTrack:Play()
  1098.         FireAnimTrack:Play()
  1099.         local Rpg = Instance.new("Part",Shadow)
  1100.         Rpg.BrickColor = BrickColor.new("Really black")
  1101.         Rpg.Size = Vector3.new(1,1.25,3.5)
  1102.         Rpg.CanCollide = false
  1103.         Rpg.Transparency = 0.5
  1104.         Rpg.Name = "RPG"
  1105.         Rpg.Massless = true
  1106.         local Mesh = Instance.new("SpecialMesh",Rpg)
  1107.         Mesh.MeshId = "http://www.roblox.com/asset/?id=168894022"
  1108.         local Weld = Instance.new("Weld",Rpg)
  1109.         Weld.Part0 = Shadow["Right Arm"]
  1110.         Weld.Part1 = Rpg
  1111.         Weld.C0 = CFrame.Angles(math.rad(-90),0,0)*CFrame.new(0,.5,0)
  1112.         local Hat = Instance.new("Part",Shadow)
  1113.         Hat.BrickColor = BrickColor.new("Really black")
  1114.         Hat.Size = Vector3.new(1,1,1)
  1115.         Hat.CanCollide = false
  1116.         Hat.Transparency = .5
  1117.         Hat.Name = "Hat"
  1118.         Hat.Massless = true
  1119.         local HatMesh = Instance.new("SpecialMesh",Hat)
  1120.         HatMesh.MeshId = "http://www.roblox.com/asset/?id=10909664"
  1121.         local HatWeld = Instance.new("Weld",Hat)
  1122.         HatWeld.Part0 = Shadow.Head
  1123.         HatWeld.Part1 = Hat
  1124.         HatWeld.C0 = CFrame.new(0,.7,0)
  1125.         local Projectile = Instance.new("Part",workspace)
  1126.         Projectile.BrickColor = BrickColor.new("Really black")
  1127.         Projectile.Transparency = .5
  1128.         Projectile.Material = Enum.Material.SmoothPlastic
  1129.         Projectile.CanCollide = false
  1130.         Projectile.Size = Vector3.new(1,1,1)
  1131.         Projectile.CFrame = CFrame.new(Rpg.Position)
  1132.         Projectile.Shape = Enum.PartType.Ball
  1133.         Projectile.Orientation = Shadow.HumanoidRootPart.Orientation
  1134.         Projectile.Name = "Projectile"
  1135.         game.Debris:AddItem(Projectile,4)
  1136.         local Particles = Instance.new("ParticleEmitter",Projectile)
  1137.         Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  1138.         Particles.Lifetime = NumberRange.new(1.5,1.5)
  1139.         Particles.Rate = 1000
  1140.         Particles.Speed = NumberRange.new(4,4)
  1141.         Particles.Size = NumberSequence.new({
  1142.             NumberSequenceKeypoint.new(0,1),
  1143.             NumberSequenceKeypoint.new(1,0)
  1144.         })
  1145.         Particles.Transparency = NumberSequence.new({
  1146.             NumberSequenceKeypoint.new(0,0),
  1147.             NumberSequenceKeypoint.new(1,1)
  1148.         })
  1149.         Particles.EmissionDirection = Enum.NormalId.Back
  1150.         Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  1151.         local BodyVelocity = Instance.new("BodyVelocity",Projectile)
  1152.         BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1153.         BodyVelocity.Velocity = Vector3.new(Projectile.CFrame.LookVector.X*200,Projectile.CFrame.LookVector.Y*200,Projectile.CFrame.LookVector.Z*200)
  1154.         coroutine.resume(coroutine.create(function()
  1155.             Projectile.Touched:Connect(function(Hit)
  1156.                 if Hit.Parent and Hit.Parent.Name ~= Player.Name and Hit.Parent.Name ~= "Shadow" and Hit.Parent.Name ~= "Projectile" and Hit.Parent.Name ~= "Radio Shadow" and Hit.Parent.Name ~= "Sniper Shadow" then
  1157.                     local Explosion = Instance.new("Part",workspace)
  1158.                     Explosion.Position = Projectile.Position
  1159.                     Projectile:Destroy()
  1160.                     Explosion.Size = Vector3.new(30,30,30)
  1161.                     Explosion.CanCollide = false
  1162.                     Explosion.Anchored = true
  1163.                     Explosion.BrickColor = BrickColor.new("Really black")
  1164.                     Explosion.TopSurface = Enum.SurfaceType.Smooth
  1165.                     Explosion.BottomSurface = Enum.SurfaceType.Smooth
  1166.                     Explosion.Material = Enum.Material.Neon
  1167.                     Explosion.Shape = Enum.PartType.Ball
  1168.                     local Sound = Instance.new("Sound",Explosion)
  1169.                     Sound.Volume = 3
  1170.                     Sound.PlaybackSpeed = 2
  1171.                     Sound.SoundId = "rbxasset://sounds/impact_explosion_03.mp3"
  1172.                     Sound:Play()
  1173.                     local Particles = Instance.new("ParticleEmitter",Explosion)
  1174.                     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  1175.                     Particles.Lifetime = NumberRange.new(1.5,1.5)
  1176.                     Particles.Rate = 1000
  1177.                     Particles.Speed = NumberRange.new(7,7)
  1178.                     Particles.Size = NumberSequence.new({
  1179.                         NumberSequenceKeypoint.new(0,1),
  1180.                         NumberSequenceKeypoint.new(1,0)
  1181.                     })
  1182.                     Particles.Transparency = NumberSequence.new({
  1183.                         NumberSequenceKeypoint.new(0,0),
  1184.                         NumberSequenceKeypoint.new(1,1)
  1185.                     })
  1186.                     Particles.EmissionDirection = Enum.NormalId.Back
  1187.                     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  1188.                     Particles.Enabled = false
  1189.                     Particles:Emit(1000)
  1190.                     game.Debris:AddItem(Explosion,2)
  1191.                     local Connection = Explosion.Touched:Connect(function() end)
  1192.                     for i,v in pairs(Explosion:GetTouchingParts()) do
  1193.                         if v.Parent and v.Parent:FindFirstChildWhichIsA("Humanoid") and v.Parent.Name ~= Player.Name and v.Parent.Name ~= "Shadow" and v.Parent.Name ~= "Radio Shadow" and v.Parent.Name ~= "Sniper Shadow" then
  1194.                             v.Parent.Humanoid.Health = 0
  1195.                         end
  1196.                     end
  1197.                     for i = 1,20 do
  1198.                         wait()
  1199.                         Explosion.Transparency = Explosion.Transparency+.05
  1200.                     end
  1201.                 end
  1202.             end)
  1203.             wait(1)
  1204.             if Shadow:FindFirstChild("HumanoidRootPart") then
  1205.                 Poof(Shadow.HumanoidRootPart.Position)
  1206.             end
  1207.             Shadow:Destroy()
  1208.         end))
  1209.     end
  1210. end)
  1211. function ShadowSniper()
  1212.     if NumberOfSnipers >= 3 then
  1213.         for i,v in pairs(workspace:GetChildren()) do
  1214.             if v.Name == "Sniper Shadow" then
  1215.                 if v:FindFirstChild("HumanoidRootPart") then
  1216.                     Poof(v.HumanoidRootPart.Position)
  1217.                 end
  1218.                 v:Destroy()
  1219.                 break
  1220.             end
  1221.         end
  1222.     end
  1223.     NumberOfSnipers = NumberOfSnipers+1
  1224.     Snap()
  1225.     local Shadow = CreateShadow(Character.HumanoidRootPart.CFrame*CFrame.new(0,15,0),false,true)
  1226.     Shadow.Name = "Sniper Shadow"
  1227.     local sine = 1
  1228.     coroutine.resume(coroutine.create(function()
  1229.         while true do
  1230.             wait()
  1231.             sine = sine+1
  1232.             if Shadow.HumanoidRootPart == nil then break end
  1233.             Shadow.HumanoidRootPart["Root Hip"].C0 = Shadow.HumanoidRootPart["Root Hip"].C0:lerp(Shadow.HumanoidRootPart["Root Hip"].C1*CFrame.new(0,0,1*math.sin(sine/10)),.5)
  1234.         end
  1235.     end))
  1236.     local Hat = Instance.new("Part",Shadow)
  1237.     Hat.Size = Vector3.new(1.15,0.9,1.12)
  1238.     Hat.Transparency = .5
  1239.     Hat.CanCollide = false
  1240.     Hat.BrickColor = BrickColor.new("Really black")
  1241.     local HatMesh = Instance.new("SpecialMesh",Hat)
  1242.     HatMesh.MeshId = "http://www.roblox.com/asset/?id=190202362"
  1243.     local HatWeld = Instance.new("Weld",Hat)
  1244.     HatWeld.Part1 = Hat
  1245.     HatWeld.Part0 = Shadow.Head
  1246.     HatWeld.C0 = CFrame.new(0,.25,0)
  1247.     local Sniper = Instance.new("Part",Shadow)
  1248.     Sniper.Size = Vector3.new(0.51,1.18,4.35)
  1249.     Sniper.CanCollide = false
  1250.     Sniper.BrickColor = BrickColor.new("Really black")
  1251.     Sniper.Transparency = .5
  1252.     local SniperMesh = Instance.new("SpecialMesh",Sniper)
  1253.     SniperMesh.MeshId = "http://www.roblox.com/asset/?id=113239717"
  1254.     local SniperWeld = Instance.new("Weld",Sniper)
  1255.     SniperWeld.Part1 = Shadow["Right Arm"]
  1256.     SniperWeld.Part0 = Sniper
  1257.     SniperWeld.C0 = CFrame.new(0.5,-0.25,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-25))
  1258.     local IdleAnim = Instance.new("Animation")
  1259.     IdleAnim.AnimationId = "http://www.roblox.com/Asset?ID=94242777"
  1260.     local IdleAnimTrack = Shadow.Humanoid:LoadAnimation(IdleAnim)
  1261.     IdleAnimTrack:Play()
  1262.     Shadow.HumanoidRootPart.Anchored = true
  1263.     local JetPack = Instance.new("Part",Shadow)
  1264.     JetPack.Size = Vector3.new(5,3,1)
  1265.     JetPack.CanCollide = false
  1266.     JetPack.Transparency = .5
  1267.     JetPack.BrickColor = BrickColor.new("Really black")
  1268.     local JetPackMesh = Instance.new("SpecialMesh",JetPack)
  1269.     JetPackMesh.MeshId = "http://www.roblox.com/asset/?id=30643517"
  1270.     local JetPackWeld = Instance.new("Weld",JetPack)
  1271.     JetPackWeld.Part1 = JetPack
  1272.     JetPackWeld.Part0 = Shadow.Torso
  1273.     JetPackWeld.C0 = CFrame.new(0,.25,.75)
  1274.     local FlameParticle = Instance.new("ParticleEmitter",JetPack)
  1275.     local FlameParticleKeypointsSize = {
  1276.         NumberSequenceKeypoint.new(0,0),
  1277.         NumberSequenceKeypoint.new(0.8,2),
  1278.         NumberSequenceKeypoint.new(1,0)
  1279.     }
  1280.     local FlameParticleKeypointsTransparency = {
  1281.         NumberSequenceKeypoint.new(0,0),
  1282.         NumberSequenceKeypoint.new(1,1)
  1283.     }
  1284.     FlameParticle.Size = NumberSequence.new(FlameParticleKeypointsSize)
  1285.     FlameParticle.Transparency = NumberSequence.new(FlameParticleKeypointsTransparency)
  1286.     FlameParticle.Color = ColorSequence.new(Color3.fromRGB(0,0,0))
  1287.     FlameParticle.LightInfluence = 0
  1288.     FlameParticle.LightEmission = 0.5
  1289.     FlameParticle.Texture = "rbxassetid://2070896802"
  1290.     FlameParticle.RotSpeed = NumberRange.new(1000)
  1291.     FlameParticle.EmissionDirection = Enum.NormalId.Right
  1292.     FlameParticle.Speed = NumberRange.new(40)
  1293.     FlameParticle.Lifetime = NumberRange.new(0.25)
  1294.     FlameParticle.Rate = 100
  1295.     FlameParticle.EmissionDirection = Enum.NormalId.Bottom
  1296.     local Thrusting = Instance.new("Sound",JetPack)
  1297.     Thrusting.SoundId = "http://www.roblox.com/asset/?id=30624426"
  1298.     Thrusting.Looped = true
  1299.     Thrusting.Volume = 3
  1300.     Thrusting:Play()
  1301.     local function FindTarget(Position)
  1302.         local Distance = 50
  1303.         local HumanoidRootPart = nil
  1304.         for i,v in pairs(workspace:GetChildren()) do
  1305.             if v:FindFirstChild("Humanoid") and v.Name ~= Player.Name and v.Name ~= "Shadow" and v.Name ~= "Radio Shadow" and v.Name ~= "Sniper Shadow" and v.Humanoid.Health > 0 then
  1306.                 local HRoot = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1307.                 if HRoot and (HRoot.Position - Position).magnitude < Distance then
  1308.                     HumanoidRootPart = HRoot
  1309.                     Distance = (HumanoidRootPart.Position - Position).magnitude
  1310.                 end
  1311.             end
  1312.         end
  1313.         return HumanoidRootPart
  1314.     end
  1315.     coroutine.resume(coroutine.create(function()
  1316.         while wait(4) do
  1317.             if Shadow == nil then return end
  1318.             pcall(function()
  1319.                 if Character.HumanoidRootPart ~= nil then
  1320.                     local HumanoidRootPart = FindTarget(Character.HumanoidRootPart.Position)
  1321.                     if HumanoidRootPart ~= nil then
  1322.                         local Bang = Instance.new("Sound",Shadow.HumanoidRootPart)
  1323.                         Bang.SoundId = "rbxassetid://628756229"
  1324.                         Bang.Volume = 5
  1325.                         Bang:Play()
  1326.                         game.Debris:AddItem(Bang,1.5)
  1327.                         local Reload = Instance.new("Sound",Shadow.HumanoidRootPart)
  1328.                         Reload.SoundId = "rbxassetid://94153793"
  1329.                         Reload.Volume = 5
  1330.                         Reload:Play()
  1331.                         game.Debris:AddItem(Reload,3.5)
  1332.                         Shadow.HumanoidRootPart.CFrame = CFrame.new(Shadow.HumanoidRootPart.Position,HumanoidRootPart.Position)
  1333.                         Shadow.HumanoidRootPart.Orientation = Vector3.new(0,Shadow.HumanoidRootPart.Orientation.Y,0)
  1334.                         local ray = Ray.new(Sniper.CFrame.p,(HumanoidRootPart.Position-Sniper.CFrame.p).Unit*300)
  1335.                         local Part, Position = workspace:FindPartOnRayWithWhitelist(ray,{HumanoidRootPart})
  1336.                         local Distance = (Sniper.CFrame.p - Position).magnitude
  1337.                         local Beam = Instance.new("Part",workspace)
  1338.                         Beam.BrickColor = BrickColor.new("Really black")
  1339.                         Beam.Anchored = true
  1340.                         Beam.CanCollide = false
  1341.                         Beam.Material = Enum.Material.Neon
  1342.                         Beam.Size = Vector3.new(0.2,0.2,Distance)
  1343.                         Beam.CFrame = CFrame.new(Sniper.CFrame.p,Position)*CFrame.new(0,0,-Distance/2)
  1344.                         Poof(Shadow.Torso.Position)
  1345.                         HumanoidRootPart.Parent:FindFirstChildWhichIsA("Humanoid").Health = 0
  1346.                         coroutine.resume(coroutine.create(function()
  1347.                             for i = 1,20 do
  1348.                                 wait()
  1349.                                 Beam.Size = Vector3.new(Beam.Size.X+.1,Beam.Size.Y+.1,Beam.Size.Z)
  1350.                                 Beam.Transparency = Beam.Transparency+.05
  1351.                             end
  1352.                             Beam:Destroy()
  1353.                         end))
  1354.                     end
  1355.                 end
  1356.             end)
  1357.         end
  1358.     end))
  1359. end
  1360. function ShadowCola()
  1361.     Snap()
  1362.     local Tool = Instance.new("Tool",Player.Backpack)
  1363.     Tool.Grip = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1364.     Tool.Name = "Shadow Cola"
  1365.     local Handle = Instance.new("Part",Tool)
  1366.     Handle.Name = "Handle"
  1367.     Handle.CanCollide = false
  1368.     Handle.Massless = true
  1369.     Handle.Transparency = .5
  1370.     Handle.BrickColor = BrickColor.new("Really black")
  1371.     Handle.Size = Vector3.new(.5,.5,.5)
  1372.     local Particles = Instance.new("ParticleEmitter",Handle)
  1373.     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  1374.     Particles.Lifetime = NumberRange.new(1.5,1.5)
  1375.     Particles.Rate = 50
  1376.     Particles.Speed = NumberRange.new(0)
  1377.     Particles.Size = NumberSequence.new({
  1378.         NumberSequenceKeypoint.new(0,0.35),
  1379.         NumberSequenceKeypoint.new(1,0)
  1380.     })
  1381.     Particles.Transparency = NumberSequence.new({
  1382.         NumberSequenceKeypoint.new(0,0),
  1383.         NumberSequenceKeypoint.new(1,1)
  1384.     })
  1385.     Particles.EmissionDirection = Enum.NormalId.Back
  1386.     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  1387.     Particles.LockedToPart = true
  1388.     local HandleMesh = Instance.new("SpecialMesh",Handle)
  1389.     HandleMesh.Scale = Vector3.new(1.2,1.2,1.2)
  1390.     HandleMesh.MeshId = "http://www.roblox.com/asset/?id=10470609"
  1391.     Tool.Activated:Connect(function()
  1392.         Tool.Grip = CFrame.new(1.4900651, -0.734895349, -0.102048039, 1, 0, 0, 0, 0.707106709, 0.707106888, 0, -0.707106888, 0.707106709)
  1393.         local DrinkSound = Instance.new("Sound",Handle)
  1394.         DrinkSound.SoundId = "http://www.roblox.com/asset/?id=10722059"
  1395.         DrinkSound.Volume = 2
  1396.         DrinkSound:Play()
  1397.         local Target = Tool.Parent
  1398.         wait(2)
  1399.         if Target then
  1400.             local RandomValue = math.random(1,2)
  1401.             if RandomValue == 1 then
  1402.                 Tool:Destroy()
  1403.                 Morph(Target)
  1404.             elseif RandomValue == 2 then
  1405.                 coroutine.resume(coroutine.create(function()
  1406.                     Poof(Target.HumanoidRootPart.Position)
  1407.                     local Humanoid = Target:FindFirstChildWhichIsA("Humanoid")
  1408.                     Humanoid.WalkSpeed = Humanoid.WalkSpeed+15
  1409.                     Humanoid.MaxHealth = 200
  1410.                     Humanoid.Health = 200
  1411.                     local Particles = Instance.new("ParticleEmitter",Target.HumanoidRootPart)
  1412.                     Particles.Name = "Effects"
  1413.                     Particles.Color = ColorSequence.new(Color3.new(0,0,0))
  1414.                     Particles.Lifetime = NumberRange.new(1.5,1.5)
  1415.                     Particles.Rate = 1000
  1416.                     Particles.Speed = NumberRange.new(4,4)
  1417.                     Particles.Size = NumberSequence.new({
  1418.                         NumberSequenceKeypoint.new(0,1),
  1419.                         NumberSequenceKeypoint.new(1,0)
  1420.                     })
  1421.                     Particles.Transparency = NumberSequence.new({
  1422.                         NumberSequenceKeypoint.new(0,0),
  1423.                         NumberSequenceKeypoint.new(1,1)
  1424.                     })
  1425.                     Particles.EmissionDirection = Enum.NormalId.Back
  1426.                     Particles.SpreadAngle = Vector2.new(5000000,5e+06)
  1427.                     Tool:Destroy()
  1428.                     wait(15)
  1429.                     Humanoid.WalkSpeed = 16
  1430.                     Humanoid.MaxHealth = 100
  1431.                     Humanoid.Health = 100
  1432.                     if Humanoid and Humanoid.Parent.HumanoidRootPart:FindFirstChild("Effects") then
  1433.                         Humanoid.Parent.HumanoidRootPart.Effects:Destroy()
  1434.                     end
  1435.                 end))
  1436.             end
  1437.         end
  1438.     end)
  1439.     Tool.Equipped:Connect(function()
  1440.         local EquipSound = Instance.new("Sound",Handle)
  1441.         EquipSound.SoundId = "http://www.roblox.com/asset/?id=10721950"
  1442.         EquipSound.Volume = 2
  1443.         EquipSound:Play()
  1444.         game.Debris:AddItem(EquipSound,2)
  1445.     end)
  1446.     Tool.Unequipped:Connect(function()
  1447.         for i,v in pairs(Handle:GetChildren()) do
  1448.             if v:IsA("Sound") then
  1449.                 v:Destroy()
  1450.             end
  1451.         end
  1452.     end)
  1453. end
  1454. function Clear()
  1455.     Snap()
  1456.     for i,v in pairs(Shadows) do
  1457.         if v:FindFirstChild("HumanoidRootPart") then
  1458.             Poof(v.HumanoidRootPart.Position)
  1459.         end
  1460.         v:Destroy()
  1461.     end
  1462. end
  1463. InputEvent.OnServerEvent:Connect(function(Player,Key)
  1464.     if Key == Enum.KeyCode.R and not InShadowWorld then
  1465.         local CanNormalShadows = math.abs(tick()-LastNormalShadows)
  1466.         if CanNormalShadows > 1 then
  1467.             LastNormalShadows = tick()
  1468.             NormalShadows()
  1469.         end
  1470.     elseif Key == Enum.KeyCode.Q and not InShadowWorld then
  1471.         local CanShadowStep = math.abs(tick()-LastShadowStep)
  1472.         if CanShadowStep > .25 then
  1473.             LastShadowStep = tick()
  1474.             ShadowStep()
  1475.         end
  1476.     elseif Key == Enum.KeyCode.F and not InShadowWorld then
  1477.         local CanArcherShadows = math.abs(tick()-LastArcherShadows)
  1478.         if CanArcherShadows > 4 and not InShadowWorld then
  1479.             LastArcherShadows = tick()
  1480.             ArcherShadows()
  1481.         end
  1482.     elseif Key == Enum.KeyCode.E and not InShadowWorld then
  1483.         local CanRPGShadow = math.abs(tick()-LastRPGShadow)
  1484.         if CanRPGShadow > 2 and not InShadowWorld then
  1485.             LastRPGShadow = tick()
  1486.             RPGShadow()
  1487.         end
  1488.     elseif Key == Enum.KeyCode.C and not InShadowWorld then
  1489.         local CanRadioShadow = math.abs(tick()-LastRadioShadow)
  1490.         if CanRadioShadow > 1 and not InShadowWorld then
  1491.             LastRadioShadow = tick()
  1492.             RadioShadow()
  1493.         end
  1494.     elseif Key == Enum.KeyCode.T and not InShadowWorld then
  1495.         local CanClear = math.abs(tick()-LastClear)
  1496.         if CanClear > 1 then
  1497.             LastClear = tick()
  1498.             Clear()
  1499.         end
  1500.     elseif Key == Enum.KeyCode.G and not InShadowWorld then
  1501.         local CanChangeMode = math.abs(tick()-LastChangeMode)
  1502.         if CanChangeMode > 2 then
  1503.             LastChangeMode = tick()
  1504.             ChangeMode()
  1505.         end
  1506.     elseif Key == Enum.KeyCode.V and not InShadowWorld then
  1507.         local CanShield = math.abs(tick()-LastShield)
  1508.         if CanShield > 3 then
  1509.             LastShield = tick()
  1510.             Shield()
  1511.         end
  1512.     elseif Key == Enum.KeyCode.X then
  1513.         local CanShadowWorld = math.abs(tick()-LastShadowWorld)
  1514.         if CanShadowWorld > 1 then
  1515.             LastShadowWorld = tick()
  1516.             ShadowWorld()
  1517.         end
  1518.     elseif Key == Enum.KeyCode.Z then
  1519.         local CanShadowHammer = math.abs(tick()-LastShadowSniper)
  1520.         if CanShadowHammer > 3 then
  1521.             LastShadowSniper = tick()
  1522.             ShadowSniper()
  1523.         end
  1524.     elseif Key == Enum.KeyCode.Y then
  1525.         ShadowCola()
  1526.     elseif Key == Enum.UserInputType.MouseButton1 then
  1527.         if ScytheEquipped then
  1528.             local CanReap = math.abs(tick()-LastReap)
  1529.             if CanReap > 1 then
  1530.                 LastReap = tick()
  1531.                 Reap()
  1532.             end
  1533.         end
  1534.     end
  1535. end)
  1536. print("Shadow Magician by fusionfriends succesfully loaded")
  1537. print("E = RPG Shadow")
  1538. print("R = Normal Shadows")
  1539. print("F = Archer Shadows")
  1540. print("Q = Shadow Step")
  1541. print("X = Enter Shadow world, while in shadow world you can place RPG shadows with E and clear with T")
  1542. print("T = Clear all shadows")
  1543. print("V = Shadow Shield")
  1544. print("G = Shadow Scythe, click to swing")
  1545. print("C = Radio Shadow")
  1546. print("Z = Shadow Sniper")
  1547. print("Y = Shadow Food")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement