Advertisement
VoidSB_Admin

FE Compatible Bumper Car

Jul 22nd, 2018
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 90.79 KB | None | 0 0
  1. local remote = NS([==[
  2. --[[ Created By Draconix ]]--
  3.  
  4. maincolor = owner.Character.Torso.BrickColor.Name
  5. secondcolor = "Really black"
  6.  
  7. wait(1 / 60)
  8. Effects = { }
  9. local Player = owner
  10. local Character = Player.Character
  11. local Humanoid = Character.Humanoid
  12. local LeftArm = Character["Left Arm"]
  13. local RightArm = Character["Right Arm"]
  14. local LeftLeg = Character["Left Leg"]
  15. local RightLeg = Character["Right Leg"]
  16. local Head = Character.Head
  17. local Torso = Character.Torso
  18. local cam = game.Workspace.CurrentCamera
  19. local RootPart = Character.HumanoidRootPart
  20. local RootJoint = RootPart.RootJoint
  21. local equipped = true
  22. local attack = false
  23. local Anim = 'Idle'
  24. local idle = 0
  25. local attacktype = 1
  26. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  27. local velocity = RootPart.Velocity.y
  28. local sine = 0
  29. local change = 1
  30. local grabbed = false
  31. local cn = CFrame.new
  32. local mr = math.rad
  33. local angles = CFrame.Angles
  34. local ud = UDim2.new
  35. local c3 = Color3.new
  36. local dir = {w = 0, s = 0, a = 0, d = 0}
  37. Climbanim = false
  38. Runkey=false
  39. firemode = false
  40. inair = false
  41. blocking=false
  42. humHsave=0
  43. humDsave=0
  44. extralock=true
  45. lasthit = nil
  46. IKM = false
  47. HMDX = Humanoid.MoveDirection.X/3
  48. HMDZ = Humanoid.MoveDirection.Z/3
  49. local s = Instance.new("Sound",Character)
  50.     s.Name = "BumperCarSound"
  51.     s.SoundId = "http://www.roblox.com/asset/?id=532147820"
  52.     s.Pitch = .7
  53.     s.Volume = .5
  54.     s.Looped = true
  55.     s.archivable = false
  56.     s.Parent = Character
  57.     s:play()
  58.    
  59. sflon = true
  60. bg2 = Instance.new("BodyGyro", owner.Character.HumanoidRootPart)
  61. game:GetService("RunService").Heartbeat:Connect (function()
  62.     if attack == true then
  63.         bg2.D = 0
  64.         bg2.P = 0
  65.         bg2.maxTorque = Vector3.new(0,0,0)
  66.     end
  67.     if attack == false then
  68.         bg2.D = 100
  69.         bg2.P = 9999
  70.         bg2.maxTorque = Vector3.new(1e+005,1e+000,1e+005)*math.huge
  71. bg2.CFrame  = CFrame.new(owner.Character.HumanoidRootPart.Position ,Vector3.new(game.Workspace.CurrentCamera.CoordinateFrame.p.x,owner.Character.HumanoidRootPart.Position.y,game.Workspace.CurrentCamera.CoordinateFrame.p.z)) * CFrame.Angles(0,math.rad(180),0)
  72.          
  73. end
  74. end)--]]
  75.  
  76.  
  77. New = function(Object, Parent, Name, Data)
  78.     local Object = Instance.new(Object)
  79.     for Index, Value in pairs(Data or {}) do
  80.         Object[Index] = Value
  81.     end
  82.     Object.Parent = Parent
  83.     Object.Name = Name
  84.     return Object
  85. end
  86.    
  87. BumperCar = New("Model",Workspace,"BumperCar",{})
  88. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.099999845, 0.199999988, 0.299999952),CFrame = CFrame.new(-5.95999956, 9.90000057, -36.2131157, 1, 7.64274186e-15, 0, 7.64274186e-15, -1, -8.74227766e-08, 0, 8.74227766e-08, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  89. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.5, 0.100000001, 0.100000001),CFrame = CFrame.new(-4.02177143, 11.8595181, -40.6349945, -0.466506243, -0.129409313, 0.87500006, -0.741025686, -0.482962549, -0.466506183, 0.482962519, -0.866025567, 0.129409432),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  90. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.099999994, 3.9000001, 3.9000001),CFrame = CFrame.new(-5.16500664, 8.05000019, -38.9131165, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999999821),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  91. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2.79999995, 0.800000072, 0.800000072),CFrame = CFrame.new(-5.81500626, 8.5, -34.7631149, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  92. SwHandle = New("Part",BumperCar,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(4, 0.899999976, 4),CFrame = CFrame.new(-5.16500664, 7.55000019, -36.9631157, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  93. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Olive"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.099999845, 0.699999988, 0.699999988),CFrame = CFrame.new(-5.81500578, 8.5, -33.4031143, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.756863, 0.745098, 0.258824),})
  94. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.899999976, 4, 4),CFrame = CFrame.new(-5.16500664, 7.55000019, -34.9631157, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999999821),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  95. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.799999952, 0.599999964, 1.49999952),CFrame = CFrame.new(-6.46000004, 8.85000038, -39.5131149, 4.37113883e-08, -1, -1.19248771e-08, 8.74227695e-08, 1.19248798e-08, -0.99999994, 1, 4.37113883e-08, 8.74227766e-08),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  96. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.099999845, 1, 0.299999952),CFrame = CFrame.new(-4.35999966, 9.60000038, -36.2131157, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  97. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.199999958, 1, 0.999999523),CFrame = CFrame.new(-3.50999951, 8.60000038, -36.8631134, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  98. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2.89999986, 1.99999988, 1.99999988),CFrame = CFrame.new(-5.15999985, 8.5, -34.9000015, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  99. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999976, 0.0999999866, 0.109999947),CFrame = CFrame.new(-5.15999985, 9.95000076, -36.4081154, -1, -1.52854837e-14, 8.74227766e-08, 7.64274186e-15, -1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  100. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.199999958, 1, 0.999999523),CFrame = CFrame.new(-6.80999947, 8.60000038, -36.8631134, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  101. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000048, 1.60000002, 0.999999523),CFrame = CFrame.new(-6.80999947, 8.90000057, -38.5631142, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  102. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.49999988, 0.200000003, 0.200000003),CFrame = CFrame.new(-4.52999973, 10.6799994, -40.1199951, -0.258819044, 3.08638382e-09, 0.965925813, -0.933012724, -0.258818835, -0.25, 0.249999776, -0.965925872, 0.0669872463),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  103. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.899999976, 4, 4),CFrame = CFrame.new(-5.16500664, 7.55000019, -38.9631157, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999999821),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  104. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.69999993, 0.100000024, 0.0999999493),CFrame = CFrame.new(-5.15999985, 10.0500002, -36.4131165, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  105. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000048, 1.60000002, 0.999999523),CFrame = CFrame.new(-3.50999975, 8.90000057, -38.5631142, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  106. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000048, 1, 3.89999962),CFrame = CFrame.new(-3.50999975, 8.60000038, -37.1131134, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  107. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.399999857, 0.300000012, 0.300000012),CFrame = CFrame.new(-4.67235041, 10.1668425, -39.9824944, -0.258819044, 3.08638382e-09, 0.965925813, -0.933012724, -0.258818835, -0.25, 0.249999776, -0.965925872, 0.0669872463),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  108. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.5, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-3.11038089, 12.7026892, -41.3446198, -0.774519205, -0.353553116, 0.524519026, -0.408493787, -0.353553116, -0.841506362, 0.482962519, -0.866025567, 0.129409432),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  109. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.999999881, 2.0999999, 2.0999999),CFrame = CFrame.new(-5.15999985, 8.69999981, -40.1499977, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  110. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.799999952, 0.600000024, 0.299999565),CFrame = CFrame.new(-5.85999918, 9.45000076, -39.5131149, 4.37113883e-08, 1, 1.19248771e-08, 7.10542736e-15, -1.19248762e-08, 0.99999994, 1, -4.37113883e-08, 6.06292123e-15),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  111. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.899999857, 2.20000005, 2.20000005),CFrame = CFrame.new(-5.15999985, 8.69999981, -40.0999985, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  112. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.799999952, 0.600000024, 0.199999571),CFrame = CFrame.new(-4.46000051, 9.70000076, -39.5131149, -1.31134158e-07, 1, 1.19248691e-08, 8.74227695e-08, 1.19248798e-08, -0.99999994, -1, -1.31134158e-07, -8.74227766e-08),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  113. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.300000012, 2.9000001),CFrame = CFrame.new(-5.15999985, 9.55000019, -34.9131165, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  114. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999999046, 1, 0.299999952),CFrame = CFrame.new(-5.96000004, 9.60000038, -36.2131157, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  115. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.799999952, 0.600000024, 1.49999952),CFrame = CFrame.new(-3.8599999, 8.85000038, -39.5131149, -1.31134158e-07, 1, 1.19248691e-08, 8.74227695e-08, 1.19248798e-08, -0.99999994, -1, -1.31134158e-07, -8.74227766e-08),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  116. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.799999952, 0.600000024, 0.199999571),CFrame = CFrame.new(-5.85999918, 9.70000076, -39.5131149, 4.37113883e-08, -1, -1.19248771e-08, 8.74227695e-08, 1.19248798e-08, -0.99999994, 1, 4.37113883e-08, 8.74227766e-08),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  117. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2.5999999, 1.20000005, 1.20000005),CFrame = CFrame.new(-4.51500654, 8.19999981, -34.8631134, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  118. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.34999967, 0.0999999866, 2.69999981),CFrame = CFrame.new(-5.1150074, 8.15000057, -37.7131157, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  119. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2.5999999, 1.20000005, 1.20000005),CFrame = CFrame.new(-5.81500626, 8.19999981, -34.8631134, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  120. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.300000012, 0.200000092),CFrame = CFrame.new(-5.15999985, 9.55000019, -33.3631172, -1, 0, -2.62268316e-07, 0, 1, 0, 2.62268316e-07, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  121. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.099999845, 0.199999988, 0.299999952),CFrame = CFrame.new(-4.35999966, 9.90000057, -36.2131157, 1, 7.64274186e-15, 0, 7.64274186e-15, -1, -8.74227766e-08, 0, 8.74227766e-08, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  122. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Medium blue"),Material = Enum.Material.SmoothPlastic,Transparency = 0.5,Transparency = 0.5,Size = Vector3.new(1.49999988, 0.980000019, 0.279999942),CFrame = CFrame.new(-5.16000032, 9.59000015, -36.2031174, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.431373, 0.6, 0.792157),})
  123. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.8499999, 0.099999994, 4),CFrame = CFrame.new(-5.16500711, 8.05000019, -36.9631157, 1, 0, 0, 0, 1, 0, 0, 0, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  124. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.799999952, 0.600000024, 0.299999565),CFrame = CFrame.new(-4.45999908, 9.45000076, -39.5131149, -1.31134158e-07, -1, -1.19248771e-08, 7.10542736e-15, -1.19248762e-08, 0.99999994, -1, 1.31134158e-07, -5.0204151e-15),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  125. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.69999993, 0.100000024, 0.299999952),CFrame = CFrame.new(-5.15999985, 10.0500002, -36.2131157, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  126. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 1.4000001, 0.200000092),CFrame = CFrame.new(-5.15999985, 8.69999981, -33.3631172, 1, 8.74227766e-08, 2.62268316e-07, 8.74227766e-08, -1, 2.29282247e-14, 2.62268316e-07, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  127. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 2),CFrame = CFrame.new(-4.15999985, 8.60000038, -35.3631172, -1.19248806e-08, 1, -1.04250613e-15, 1, 1.19248806e-08, 8.74227766e-08, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  128. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.099999994, 3.9000001, 3.9000001),CFrame = CFrame.new(-5.16500664, 8.05000019, -35.0131149, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999999821),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  129. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.199999958, 1, 3.89999962),CFrame = CFrame.new(-6.80999994, 8.60000038, -37.1131134, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  130. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.099999845, 0.199999988, 0.0999999493),CFrame = CFrame.new(-4.35999966, 9.90000057, -36.4131165, -1, -1.52854837e-14, 8.74227766e-08, 7.64274186e-15, -1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  131. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.5, 1, 1.19999993),CFrame = CFrame.new(-5.15999985, 8.60000038, -35.7631149, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  132. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 2),CFrame = CFrame.new(-6.15999985, 8.60000038, -35.3631172, 9.9347659e-08, -1, 8.68524799e-15, -1, -9.9347659e-08, -8.74227766e-08, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  133. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3, 1, 1.99000001),CFrame = CFrame.new(-5.15999985, 8.60000038, -35.3581161, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  134. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(3.5, 0.600000024, 1.59999955),CFrame = CFrame.new(-5.15999985, 8.90000057, -39.3631134, -1, 0, -8.74227766e-08, 8.74227766e-08, 1.19248806e-08, -1, 1.04250613e-15, -1, -1.19248806e-08),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  135. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.799999833, 2.29999995, 2.29999995),CFrame = CFrame.new(-5.15999985, 8.69999981, -40.0499992, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  136. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Olive"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.099999845, 0.699999988, 0.699999988),CFrame = CFrame.new(-4.51500607, 8.5, -33.4031143, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.756863, 0.745098, 0.258824),})
  137. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.899999857, 2.39999986, 2.39999986),CFrame = CFrame.new(-5.15999985, 8.69999981, -39.5, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  138. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.99999988, 1.60000002, 1.60000002),CFrame = CFrame.new(-5.15999985, 9.05000019, -39.9999962, -2.08616257e-07, 0, 1, -1, 1.19248806e-08, -2.08616257e-07, -1.19248806e-08, -1, -2.48772391e-15),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  139. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.699999809, 2.0999999, 2.0999999),CFrame = CFrame.new(-5.15999985, 8.55000019, -35.5999985, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  140. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.71999979, 2.19999981, 2.19999981),CFrame = CFrame.new(-5.15999985, 8.60000038, -36.0099983, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  141. Part = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2.79999995, 0.800000072, 0.800000072),CFrame = CFrame.new(-4.51500654, 8.5, -34.7631149, -2.08616257e-07, 0, 1, 0, 1, 0, -1, 0, -2.08616257e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  142. Wedge = New("WedgePart",BumperCar,"Wedge",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.099999845, 0.199999988, 0.0999999493),CFrame = CFrame.new(-5.95999956, 9.90000057, -36.4131165, -1, -1.52854837e-14, 8.74227766e-08, 7.64274186e-15, -1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, 1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),})
  143.  
  144.  
  145.  
  146.  
  147. FrontPart = New("Part",BumperCar,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(6, 6, 6),CFrame = CFrame.new(-5.16500664, 7.55000019, -34.9631157, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 0.999999821),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),Transparency = 1,})
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. local all,last = {}
  165. function scan(p)
  166.     for _,v in pairs(p:GetChildren()) do
  167.         if (v:IsA("BasePart")) then
  168.             if (last) then
  169.                 local w = Instance.new("Weld")
  170.                 w.Part0,w.Part1 = last,v
  171.                 w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  172.                 w.Parent = last
  173.             end
  174.             table.insert(all,v)
  175.             last = v
  176.         end
  177.         scan(v)
  178.     end
  179. end
  180. scan(BumperCar)
  181.  
  182.  
  183. for _,v in pairs(all) do v.Anchored = false v.CanCollide = false  end
  184. BumperCar.Parent = Character
  185.  
  186.  
  187. local Services = {
  188.  
  189.  
  190. SoundService = game:GetService("SoundService");
  191. Players = game:GetService("Players");
  192. Debris = game:GetService("Debris");
  193. Workspace = game:GetService("Workspace");
  194. Lighting = game:GetService("Lighting");
  195. HttpService = game:GetService("HttpService");
  196. InsertService = game:GetService("InsertService");
  197.    
  198. }  
  199.  
  200. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  201. Humanoid.Animator:Destroy()
  202. Character.Animate:Destroy()
  203.  
  204. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  205. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  206. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  207.  
  208.  
  209.  
  210. SWW = Instance.new("Weld")
  211. SWW.Name = "SWW"
  212. SWW.Part0 = Torso
  213. SWW.C0 = cn(0, -2.6, -1)*angles(math.rad(-0),math.rad(-180),math.rad(0))
  214. SWW.C1 = cn(0, 0, 0)
  215. SWW.Part1 = SwHandle
  216. SWW.Parent = Torso
  217.  
  218. RSH, LSH = nil, nil
  219.  
  220. RW = Instance.new("Weld")
  221. LW = Instance.new("Weld")
  222.  
  223. RH = Torso["Right Hip"]
  224. LH = Torso["Left Hip"]
  225.  
  226. RSH = Torso["Right Shoulder"]
  227. LSH = Torso["Left Shoulder"]
  228.  
  229. RSH.Parent = nil
  230. LSH.Parent = nil
  231.  
  232. RW.Name = "RW"
  233. RW.Part0 = Torso
  234. RW.C0 = cn(1.5, 0.5, 0)
  235. RW.C1 = cn(0, 0.5, 0)
  236. RW.Part1 = RightArm
  237. RW.Parent = Torso
  238.  
  239. LW.Name = "LW"
  240. LW.Part0 = Torso
  241. LW.C0 = cn(-1.5, 0.5, 0)
  242. LW.C1 = cn(0, 0.5, 0)
  243. LW.Part1 = LeftArm
  244. LW.Parent = Torso
  245.  
  246. function clerp(a, b, t)
  247.     local qa = {
  248.         QuaternionFromCFrame(a)
  249.     }
  250.     local qb = {
  251.         QuaternionFromCFrame(b)
  252.     }
  253.     local ax, ay, az = a.x, a.y, a.z
  254.     local bx, by, bz = b.x, b.y, b.z
  255.     local _t = 1 - t
  256.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  257. end
  258.  
  259. function QuaternionFromCFrame(cf)
  260.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  261.     local trace = m00 + m11 + m22
  262.     if trace > 0 then
  263.         local s = math.sqrt(1 + trace)
  264.         local recip = 0.5 / s
  265.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  266.     else
  267.         local i = 0
  268.         if m11 > m00 then
  269.             i = 1
  270.         end
  271.         if m22 > (i == 0 and m00 or m11) then
  272.             i = 2
  273.         end
  274.         if i == 0 then
  275.             local s = math.sqrt(m00 - m11 - m22 + 1)
  276.             local recip = 0.5 / s
  277.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  278.         elseif i == 1 then
  279.             local s = math.sqrt(m11 - m22 - m00 + 1)
  280.             local recip = 0.5 / s
  281.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  282.         elseif i == 2 then
  283.             local s = math.sqrt(m22 - m00 - m11 + 1)
  284.             local recip = 0.5 / s
  285.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  286.         end
  287.     end
  288. end
  289.  
  290. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  291.     local xs, ys, zs = x + x, y + y, z + z
  292.     local wx, wy, wz = w * xs, w * ys, w * zs
  293.     local xx = x * xs
  294.     local xy = x * ys
  295.     local xz = x * zs
  296.     local yy = y * ys
  297.     local yz = y * zs
  298.     local zz = z * zs
  299.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  300. end
  301.  
  302. function QuaternionSlerp(a, b, t)
  303.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  304.     local startInterp, finishInterp;
  305.     if cosTheta >= 0.0001 then
  306.         if (1 - cosTheta) > 0.0001 then
  307.             local theta = math.acos(cosTheta)
  308.             local invSinTheta = 1 / math.sin(theta)
  309.             startInterp = math.sin((1 - t) * theta) * invSinTheta
  310.             finishInterp = math.sin(t * theta) * invSinTheta  
  311.         else
  312.             startInterp = 1 - t
  313.             finishInterp = t
  314.         end
  315.     else
  316.         if (1 + cosTheta) > 0.0001 then
  317.             local theta = math.acos(-cosTheta)
  318.             local invSinTheta = 1 / math.sin(theta)
  319.             startInterp = math.sin((t - 1) * theta) * invSinTheta
  320.             finishInterp = math.sin(t * theta) * invSinTheta
  321.         else
  322.             startInterp = t - 1
  323.             finishInterp = t
  324.         end
  325.     end
  326.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  327. end
  328.  
  329. function swait(num)
  330.     if num == 0 or num == nil then
  331.         game:service'RunService'.Heartbeat:wait(0)
  332.     else
  333.         for i = 0, num do
  334.             game:service'RunService'.Heartbeat:wait(0)
  335.         end
  336.     end
  337. end
  338.  
  339. local RbxUtility = LoadLibrary("RbxUtility")
  340. local Create = RbxUtility.Create
  341.  
  342. function RemoveOutlines(part)
  343.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  344. end
  345.    
  346. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  347.     local Part = Create("Part"){
  348.         formFactor = FormFactor,
  349.         Parent = Parent,
  350.         Reflectance = Reflectance,
  351.         Transparency = Transparency,
  352.         CanCollide = false,
  353.         Locked = true,
  354.         BrickColor = BrickColor.new(tostring(BColor)),
  355.         Name = Name,
  356.         Size = Size,
  357.         Material = Material,
  358.     }
  359.     RemoveOutlines(Part)
  360.     return Part
  361. end
  362.    
  363. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  364.     local Msh = Create(Mesh){
  365.         Parent = Part,
  366.         Offset = OffSet,
  367.         Scale = Scale,
  368.     }
  369.     if Mesh == "SpecialMesh" then
  370.         Msh.MeshType = MeshType
  371.         Msh.MeshId = MeshId
  372.     end
  373.     return Msh
  374. end
  375.    
  376. function CreateWeld(Parent, Part0, Part1, C0, C1)
  377.     local Weld = Create("Weld"){
  378.         Parent = Parent,
  379.         Part0 = Part0,
  380.         Part1 = Part1,
  381.         C0 = C0,
  382.         C1 = C1,
  383.     }
  384.     return Weld
  385. end
  386.  
  387. function rayCast(Position, Direction, Range, Ignore)
  388.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  389. end
  390.  
  391. function CreateSound(id, par, vol, pit)
  392.     coroutine.resume(coroutine.create(function()
  393.         local sou = Instance.new("Sound", par or workspace)
  394.         sou.Volume = vol
  395.         sou.Pitch = pit or 1
  396.         sou.SoundId = id
  397.         wait()
  398.         sou:play()
  399.         game:GetService("Debris"):AddItem(sou, 6)
  400.     end))
  401. end
  402. function CreateSong(id, par, vol, pit)
  403.     coroutine.resume(coroutine.create(function()
  404.      sou2 = Instance.new("Sound", par or workspace)
  405.         sou2.Volume = vol
  406.         sou2.Pitch = 1
  407.         sou2.SoundId = id
  408.         wait()
  409.         sou2:play()
  410.         sou2.Looped = true     
  411.     end))
  412. end
  413.  
  414. local function getclosest(obj, distance)
  415.     local last, lastx = distance + 1
  416.     for i, v in pairs(workspace:GetChildren()) do
  417.         if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  418.             local t = v.Torso
  419.             local dist = (t.Position - obj.Position).magnitude
  420.             if dist <= distance then
  421.                 if dist < last then
  422.                     last = dist
  423.                     lastx = v
  424.                 end
  425.             end
  426.         end
  427.     end
  428.     return lastx
  429. end
  430.  
  431. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  432.     for i, v in pairs(hit:GetChildren()) do
  433.         if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  434.             local find = v:FindFirstChild("Hitz")
  435.             if not find then
  436.                 if v.Parent:findFirstChild("Head") then
  437.                     local BillG = Create("BillboardGui"){
  438.                         Parent = v.Parent.Head,
  439.                         Size = UDim2.new(1, 0, 1, 0),
  440.                         Adornee = v.Parent.Head,
  441.                         StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  442.                     }
  443.                     local TL = Create("TextLabel"){
  444.                         Parent = BillG,
  445.                         Size = UDim2.new(3, 3, 3, 3),
  446.                         BackgroundTransparency = 1,
  447.                         Text = tostring(damage).."-",
  448.                         TextColor3 = Color1.Color,
  449.                         TextStrokeColor3 = Color2.Color,
  450.                         TextStrokeTransparency = 0,
  451.                         TextXAlignment = Enum.TextXAlignment.Center,
  452.                         TextYAlignment = Enum.TextYAlignment.Center,
  453.                         FontSize = Enum.FontSize.Size18,
  454.                         Font = "ArialBold",
  455.                     }
  456.                     coroutine.resume(coroutine.create(function()
  457.                         wait(1)
  458.                         for i = 0, 1, .1 do
  459.                             wait(.1)
  460.                             BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  461.                         end
  462.                         BillG:Destroy()
  463.                     end))
  464.                 end
  465.                 v.Health = v.Health - damage
  466.                 local bool = Create("BoolValue"){
  467.                     Parent = v,
  468.                     Name = 'Hitz',
  469.                 }
  470.                 if HSound ~= nil and HPitch ~= nil then
  471.                     CreateSound(HSound, hit, 1, HPitch)
  472.                 end
  473.                 game:GetService("Debris"):AddItem(bool, cooldown)
  474.             end
  475.         end
  476.     end
  477. end
  478.  
  479.  
  480. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  481.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  482.     prt.Anchored = true
  483.     prt.CFrame = cframe
  484.     local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  485.     game:GetService("Debris"):AddItem(prt, 10)
  486.     if Type == 1 or Type == nil then
  487.         table.insert(Effects, {
  488.             prt,
  489.             "Block1",
  490.             delay,
  491.             x3,
  492.             y3,
  493.             z3,
  494.             msh
  495.         })
  496.     elseif Type == 2 then
  497.         table.insert(Effects, {
  498.             prt,
  499.             "Block2",
  500.             delay,
  501.             x3,
  502.             y3,
  503.             z3,
  504.             msh
  505.         })
  506.     elseif Type == 3 then
  507.         table.insert(Effects, {
  508.             prt,
  509.             "Block3",
  510.             delay,
  511.             x3,
  512.             y3,
  513.             z3,
  514.             msh
  515.         })
  516.     end
  517. end
  518.  
  519. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  520.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  521.     prt.Anchored = true
  522.     prt.CFrame = cframe
  523.     local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  524.     game:GetService("Debris"):AddItem(prt, 10)
  525.     table.insert(Effects, {
  526.         prt,
  527.         "Cylinder",
  528.         delay,
  529.         x3,
  530.         y3,
  531.         z3,
  532.         msh
  533.     })
  534. end
  535.  
  536. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  537.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  538.     prt.Anchored = true
  539.     prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  540.     local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  541.     game:GetService("Debris"):AddItem(prt, 10)
  542.     table.insert(Effects, {
  543.         prt,
  544.         "Cylinder",
  545.         delay,
  546.         x3,
  547.         y3,
  548.         z3,
  549.         msh
  550.     })
  551. end
  552.  
  553. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  554.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  555.     prt.Anchored = true
  556.     prt.CFrame = cframe
  557.     local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  558.     game:GetService("Debris"):AddItem(prt, 10)
  559.     table.insert(Effects, {
  560.         prt,
  561.         "Cylinder",
  562.         delay,
  563.         x3,
  564.         y3,
  565.         z3,
  566.         msh
  567.     })
  568. end
  569.  
  570. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  571.     local prt = CreatePart(3, workspace,"Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  572.     prt.Anchored = true
  573.     prt.CFrame = cframe
  574.     local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  575.     game:GetService("Debris"):AddItem(prt, 10)
  576.     table.insert(Effects, {
  577.         prt,
  578.         "Cylinder",
  579.         delay,
  580.         x3,
  581.         y3,
  582.         z3,
  583.         msh
  584.     })
  585. end
  586.  
  587. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  588.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  589.     prt.Anchored = true
  590.     prt.CFrame = cframe
  591.     local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  592.     game:GetService("Debris"):AddItem(prt, 10)
  593.     table.insert(Effects, {
  594.         prt,
  595.         "Cylinder",
  596.         delay,
  597.         x3,
  598.         y3,
  599.         z3,
  600.         msh
  601.     })
  602. end
  603.  
  604. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  605.     local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  606.     prt.Anchored = true
  607.     prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  608.     local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  609.     local num = math.random(10, 50) / 1000
  610.     game:GetService("Debris"):AddItem(prt, 10)
  611.     table.insert(Effects, {
  612.         prt,
  613.         "Shatter",
  614.         num,
  615.         prt.CFrame,
  616.         math.random() - math.random(),
  617.         0,
  618.         math.random(50, 100) / 100
  619.     })
  620. end
  621.  
  622.  
  623.    
  624.  
  625.     for i = 0, 1, 0.05 do
  626.         swait()
  627.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  628.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  629.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  630.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  631.         if Torsovelocity > 2 then
  632.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
  633.         RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  634.         LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  635.         elseif Torsovelocity < 1 then
  636.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  637.         RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  638.         LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  639.         end
  640.     end
  641.     attack = false
  642.  
  643.  
  644.  
  645. game:GetService'RunService'.Stepped:connect(function()
  646.     Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  647.     velocity = RootPart.Velocity.y
  648.     sine = sine + change
  649.     local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  650.     if equipped == true or equipped == false then
  651.         if RootPart.Velocity.y > -1 and hit == nil then
  652.             Anim = "Jump"
  653.             inair = true
  654.             if attack == false then
  655.                     s.Pitch = 1
  656.     s.Volume = 1
  657.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(15), math.rad(0), math.rad(0)), .1)
  658.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  659.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15)), 0.1)
  660.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15)), 0.1)
  661.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  662.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  663. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)  
  664.             end
  665.            
  666.         elseif RootPart.Velocity.y < -1 and hit == nil then
  667.             Anim = "Fall"
  668.             inair = true
  669.             if attack == false then
  670.     s.Pitch = .7
  671.     s.Volume = .5              
  672.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  673.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  674.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(180 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(45)), 0.05)
  675.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(180 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-45)), 0.05)
  676.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  677.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  678. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)  
  679.             end
  680.         elseif Torsovelocity < 1 and hit ~= nil then
  681.             Anim = "Idle"
  682.    
  683.             inair = false
  684.         if attack == false then
  685.     s.Pitch = .7
  686.     s.Volume = .5          
  687.                 change = 0.8
  688.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  689.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  690.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  691.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  692.                     RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  693.                     LH.C0 = clerp(LH.C0, cn(-1, -1, -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  694. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)          
  695.             end --]]
  696.  
  697.         elseif Torsovelocity > 1 and hit ~= nil then
  698.             Anim = "Walk"
  699. inair = false  
  700.  
  701.             if attack == false and Runkey == true then
  702.     s.Pitch = 1
  703.     s.Volume = .9
  704.    
  705.                                 change = 1
  706.                                 Humanoid.WalkSpeed = 30
  707.                                 Humanoid.JumpPower = 55
  708.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(-45), math.rad(0) + RootPart.RotVelocity.Y/40, math.rad(2 * math.cos(sine / 1))), .4)
  709.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(35 - 1 * math.cos(sine / 4)), math.rad(0),  math.rad(-0) + RootPart.RotVelocity.Y/20), .2)
  710.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(25 - 1 * math.cos(sine / 4)), math.rad(0), math.rad(-45)), 0.2)
  711.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(25 + 1 * math.cos(sine / 4)), math.rad(0), math.rad(45)), 0.2)
  712.                     RH.C0 = clerp(RH.C0, cn(.6, -1, 0) * RHCF * angles(math.rad(6), math.rad(0), math.rad(45 + .05 * math.cos(sine / 25))), .4)
  713.                     LH.C0 = clerp(LH.C0, cn(-.6, -1, -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-45 + .05 * math.cos(sine / 25))), .4)
  714. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1,1) * angles(math.rad(-45),math.rad(-180),math.rad(0)), 0.4) 
  715.             end
  716.             if attack == false and Runkey == false then
  717.     s.Pitch = .8
  718.     s.Volume = .6
  719.             change = 0.65
  720.             Humanoid.WalkSpeed = 13 --* math.cos(sine / 2)
  721.             Humanoid.JumpPower = 50
  722.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(0), math.rad(0), math.rad(.5 * math.cos(sine / 1))), .3)
  723.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0) + RootPart.RotVelocity.Y/20), .1)
  724.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  725.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  726.                     RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  727.                     LH.C0 = clerp(LH.C0, cn(-1, -1, -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  728. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)      
  729.             end
  730.            
  731.            
  732.            
  733.            
  734.     function onClimbing(speed)
  735.         if attack == false then
  736.         attack = true
  737.         Climbanim= true
  738.         Humanoid.WalkSpeed = 14
  739. while Climbanim == true do
  740.     for i = 0, 0, 0.1 do
  741.         swait()
  742.    
  743.     change = 0.5   
  744.    
  745.    
  746.    
  747.     if RootPart.Velocity.y > .01 then
  748.             s.Pitch = .9
  749.     s.Volume = .5
  750.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 1, -1.1) * angles(math.rad(-90), math.rad(0), math.rad(0)), .3)
  751.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  752.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  753.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  754.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  755.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  756. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)  
  757.     end
  758.            
  759.            
  760.            
  761.            
  762.     if RootPart.Velocity.y < .5 and RootPart.Velocity.y > -0.5  then
  763.             s.Pitch = .7
  764.     s.Volume = .5
  765.                             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 1, -1.1) * angles(math.rad(-90), math.rad(0), math.rad(0)), .1)
  766.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  767.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  768.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  769.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  770.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  771. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)  
  772.                 end            
  773.            
  774.            
  775.         if RootPart.Velocity.y < -1 then
  776.                 s.Pitch = .9
  777.     s.Volume = .5
  778.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 1, -1.1) * angles(math.rad(-90), math.rad(0), math.rad(180)), .3)
  779.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-1 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  780.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  781.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  782.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  783.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  784. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)               end        
  785.            
  786.     end
  787.     if  Torsovelocity > 1  then
  788.     Climbanim = false
  789.     end
  790. end
  791. attack = false 
  792.     end
  793.     end
  794.     Humanoid.Climbing:connect(onClimbing)
  795.                    
  796.            
  797.            
  798.         end
  799.     end
  800.  
  801.    
  802.     if #Effects > 0 then
  803.         for e = 1, #Effects do
  804.             if Effects[e] ~= nil then
  805.                 local Thing = Effects[e]
  806.                 if Thing ~= nil then
  807.                     local Part = Thing[1]
  808.                     local Mode = Thing[2]
  809.                     local Delay = Thing[3]
  810.                     local IncX = Thing[4]
  811.                     local IncY = Thing[5]
  812.                     local IncZ = Thing[6]
  813.                     if Thing[1].Transparency <= 1 then
  814.                         if Thing[2] == "Block1" then
  815.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  816.                             local Mesh = Thing[1].Mesh
  817.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  818.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  819.                         elseif Thing[2] == "Block2" then
  820.                             Thing[1].CFrame = Thing[1].CFrame+Vector3.new(0,-.0,0)
  821.                             local Mesh = Thing[7]
  822.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  823.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  824.                         elseif Thing[2] == "Block3" then
  825.                             Thing[1].CFrame = Thing[1].CFrame  * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))+Vector3.new(0,.15,0)
  826.                             local Mesh = Thing[7]
  827.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  828.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]                           
  829.                         elseif Thing[2] == "Cylinder" then
  830.                             local Mesh = Thing[1].Mesh
  831.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  832.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  833.                         elseif Thing[2] == "Blood" then
  834.                             local Mesh = Thing[7]
  835.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  836.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  837.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  838.                         elseif Thing[2] == "Elec" then
  839.                             local Mesh = Thing[1].Mesh
  840.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  841.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  842.                         elseif Thing[2] == "Disappear" then
  843.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  844.                         elseif Thing[2] == "Shatter" then
  845.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  846.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  847.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  848.                             Thing[6] = Thing[6] + Thing[5]
  849.                         end
  850.                     else
  851.                         Part.Parent = nil
  852.                         table.remove(Effects, e)
  853.                     end
  854.                 end
  855.             end
  856.         end
  857.     end
  858. end)
  859.  
  860.  
  861.     Effects = {
  862. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  863.    
  864.     local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  865.     prt.Anchored = true
  866.     prt.CFrame = cframe
  867.     local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868.     game:GetService("Debris"):AddItem(prt, 10)
  869.     if Type == 1 or Type == nil then
  870.         table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  871.     else
  872.         if Type == 2 then
  873.             table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  874.         else
  875.             table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh})
  876.         end
  877.     end
  878. end
  879. }
  880. ,
  881. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  882.    
  883.     local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  884.     prt.Anchored = true
  885.     prt.CFrame = cframe
  886.     local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  887.     game:GetService("Debris"):AddItem(prt, 10)
  888.     table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  889. end
  890. }
  891. ,
  892. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  893.    
  894.     local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  895.     prt.Anchored = true
  896.     prt.CFrame = cframe
  897.     local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  898.     game:GetService("Debris"):AddItem(prt, 10)
  899.     table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  900. end
  901. }
  902. ,
  903. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  904.    
  905.     local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  906.     prt.Anchored = true
  907.     prt.CFrame = cframe
  908.     local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1/60, y1/60, z1/60))
  909.     game:GetService("Debris"):AddItem(prt, 10)
  910.     table.insert(Effects, {prt, "Cylinder", delay, x3/60, y3/60, z3/60, msh})
  911. end
  912. }
  913. ,
  914. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  915.    
  916.     local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  917.     prt.Anchored = true
  918.     prt.CFrame = cframe
  919.     local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  920.     game:GetService("Debris"):AddItem(prt, 10)
  921.     table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  922. end
  923. }
  924. ,
  925. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  926.    
  927.     local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  928.     prt.Anchored = true
  929.     prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  930.     local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  931.     local num = math.random(10, 50) / 1000
  932.     game:GetService("Debris"):AddItem(prt, 10)
  933.     table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  934. end
  935. }
  936. }
  937.  
  938.  
  939.  
  940.     RemoveOutlines = function(part)
  941.    
  942.     part.TopSurface = 10
  943. end
  944.  
  945.     CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  946.    
  947.     local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  948.     RemoveOutlines(Part)
  949.     return Part
  950. end
  951.  
  952.     CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  953.    
  954.     local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  955.     if Mesh == "SpecialMesh" then
  956.         Msh.MeshType = MeshType
  957.         Msh.MeshId = MeshId
  958.     end
  959.     return Msh
  960. end
  961.  
  962.     CreateWeld = function(Parent, Part0, Part1, C0, C1)
  963.    
  964.     local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  965.     return Weld
  966. end
  967.  
  968.  
  969.  
  970.  
  971. WSHM = {'White',"Pastel light red"}
  972. WSH = WSHM[math.random(1,#WSHM)]
  973.  
  974.  
  975. IcePartFunk = function(HPart,aria,Min,Max)
  976.    
  977. IcePart = Instance.new("Part",HPart)
  978. IcePart.Size = Vector3.new(math.random(Min, Max),math.random(Min, Max),math.random(Min, Max))
  979. IcePart.CanCollide = false
  980. IuW = Instance.new("Weld")
  981. IuW.Name = "GuW"
  982. IuW.Part0 = HPart
  983. IuW.C0 = cn(math.random(-aria, aria),math.random(-aria, aria),math.random(-aria, aria))*angles( math.random(-180, 180),math.random(-180, 180),math.random(-180, 180))
  984. IuW.C1 = cn(0, math.random(-aria/2, aria/2), 0)
  985. IuW.Part1 = IcePart
  986. IuW.Parent = HPart
  987. IcePart.Transparency = .85
  988. IcePart.Material= "Neon"
  989. WSH = WSHM[math.random(1,#WSHM)]
  990. IcePart.BrickColor = BrickColor.new(""..WSH)
  991.  
  992. RemoveOutlines(IcePart)
  993. game:GetService("Debris"):AddItem(IuW, 4)
  994. game:GetService("Debris"):AddItem(IcePart, 6)
  995.  
  996.  
  997. end
  998. --[[
  999. GroundPartFunk2 = function(Hit,HPart,color,aria,Min,Max)
  1000.    
  1001. IcePart2 = Instance.new("Part",HPart)
  1002. IcePart2.Size = Vector3.new(math.random(Min, Max),math.random(Min, Max),math.random(Min, Max))
  1003. IcePart2.CanCollide = false
  1004. RemoveOutlines(IcePart2)
  1005. IcePart2.Anchored = true
  1006.  
  1007.  
  1008.  
  1009. IcePart2.CFrame=CFrame.new(Hit.Position* Vector3.new(math.random(-aria, aria),math.random(-aria, aria),math.random(-aria, aria)))
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016. IcePart2.Transparency = .85
  1017. IcePart2.Material= "Neon"
  1018.  
  1019. IcePart2.BrickColor = BrickColor.new(""..color)
  1020.  
  1021.  
  1022.  
  1023. game:GetService("Debris"):AddItem(IcePart2, 6)
  1024.  
  1025.  
  1026. end
  1027. --]]
  1028. GroundPartFunk2 = function(Hit,HPart,color,aria,Min,Max,num)
  1029.    
  1030. IcePart2 = Instance.new("Part",HPart)
  1031. IcePart2.Size = Vector3.new(math.random(Min, Max),math.random(Min, Max),math.random(Min, Max))
  1032. IcePart2.CanCollide = false
  1033. RemoveOutlines(IcePart2)
  1034. IcePart2.Anchored = true
  1035. game:GetService("Debris"):AddItem(IcePart2, .4)
  1036. IcePart2.Transparency = .3
  1037. IcePart2.Material= "Neon"
  1038. IcePart2.BrickColor = BrickColor.new(""..color)
  1039.  
  1040. IcePart2.CFrame=CFrame.new(Hit.Position+ Vector3.new(math.random(-aria, aria),math.random(-aria, 0),math.random(-aria, aria)))*angles(math.rad(math.random(-45, 45)),math.rad(math.random(-45, 45)),math.rad(math.random(-45, 45)))
  1041. for i = 0,num do
  1042. if num > 1 then
  1043. GroundPartFunk2(Hit,HPart,color,aria,Min,Max,0)
  1044. end
  1045. end
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057. end
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063. SpikeMeshId = 1033714
  1064. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  1065.  
  1066.  
  1067. local Part = Instance.new("Part", Parent)
  1068. Part.Name = Name
  1069. Part.BrickColor = BrickColor.new(Color)
  1070. Part.Size = Size
  1071. Part.Material = Material
  1072. Part.Transparency = Transparency
  1073. Part.CanCollide = false
  1074. RemoveOutlines(Part)
  1075.  
  1076. local Mesh = Instance.new("SpecialMesh", Part)
  1077. Mesh.MeshType = "Sphere"
  1078. Mesh.Scale = Scale
  1079.  
  1080. return Mesh and Part
  1081.  
  1082. end
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.     CFuncs = {
  1092. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1093.    
  1094.     local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1095.     RemoveOutlines(Part)
  1096.     return Part
  1097. end
  1098. }
  1099. ,
  1100. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1101.    
  1102.     local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1103.     if Mesh == "SpecialMesh" then
  1104.         Msh.MeshType = MeshType
  1105.         Msh.MeshId = MeshId
  1106.     end
  1107.     return Msh
  1108. end
  1109. }
  1110. ,
  1111. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1112.    
  1113.     local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1114.     if Mesh == "SpecialMesh" then
  1115.         Msh.MeshType = MeshType
  1116.         Msh.MeshId = MeshId
  1117.     end
  1118.     return Msh
  1119. end
  1120. }
  1121. ,
  1122. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  1123.    
  1124.     local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1125.     return Weld
  1126. end
  1127. }
  1128. ,
  1129. Sound = {Create = function(id, par, vol, pit)
  1130.    
  1131.     coroutine.resume(coroutine.create(function()
  1132.        
  1133.         local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  1134.         wait()
  1135.         S:play()
  1136.         game:GetService("Debris"):AddItem(S, 6)
  1137.     end
  1138. ))
  1139. end
  1140. }
  1141. ,
  1142. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1143.    
  1144.     local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  1145.     return fp
  1146. end
  1147. }
  1148. }
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.     Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1155.    
  1156.     if hit.Parent == nil then
  1157.         return
  1158.     end
  1159.     local h = hit.Parent:FindFirstChild("Humanoid")
  1160.     for _,v in pairs(hit.Parent:children()) do
  1161.         if v:IsA("Humanoid") then
  1162.             h = v
  1163.         end
  1164.     end
  1165.     if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1166.         if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1167.             return
  1168.         end
  1169.         local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  1170.         game:GetService("Debris"):AddItem(c, 0.5)
  1171.         if HitSound ~= nil and HitPitch ~= nil then
  1172.             CreateSound(HitSound, hit, 1, HitPitch)
  1173.         end
  1174.         local Damage = math.random(minim, maxim)
  1175.         local blocked = false
  1176.         local block = hit.Parent:findFirstChild("Block")
  1177.         if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1178.             blocked = true
  1179.             block.Value = block.Value - 1
  1180.             print(block.Value)
  1181.         end
  1182.         if blocked == false then
  1183.             h.Health = h.Health - Damage
  1184.             ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1185.         else
  1186.             h.Health = h.Health - Damage / 2
  1187.             ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1188.         end
  1189. if hit.Parent:FindFirstChild("Torso") ~= nil then  
  1190. lasthit = hit.Parent.Torso
  1191. end
  1192.         if Type == "Knockdown" then
  1193.             local hum = hit.Parent.Humanoid
  1194.             hum.PlatformStand = true
  1195.             coroutine.resume(coroutine.create(function(HHumanoid)
  1196.        
  1197.         swait(.2)
  1198.         HHumanoid.PlatformStand = false
  1199.     end
  1200. ), hum)
  1201.             local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1202.             local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
  1203.             local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1204.             game:GetService("Debris"):AddItem(bodvol, 0.1)
  1205.             game:GetService("Debris"):AddItem(rl, 0.1)
  1206.         elseif Type == "Normal" then
  1207.                     local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1208.                     if knockback > 0 then
  1209.                         vp.Parent = hit.Parent.Torso
  1210.                     end
  1211.                     game:GetService("Debris"):AddItem(vp, 0.5)
  1212.                     elseif Type == "Impale" then
  1213.  
  1214. local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Really red", Vector3.new(1,2,1), "Neon", .2, Vector3.new(.5,25,.5))
  1215. Spike.Anchored = true
  1216. Spike.Rotation = Vector3.new(math.random(-45,45), 0 , math.random(-45,45))
  1217. Spike.Position = hit.Parent.Torso.Position
  1218.  
  1219. Services.Debris:AddItem(Spike, 4)
  1220.  
  1221.  
  1222.  
  1223.  
  1224.    
  1225.  
  1226. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2) 
  1227.             hit.Parent.Humanoid.PlatformStand = true
  1228.            
  1229.        
  1230.         swait(1)
  1231.         hit.Parent.Humanoid.PlatformStand = false
  1232.                 elseif Type == "Up" then
  1233.                             local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1234.                             game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1235.                             local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1236.                             game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1237.                
  1238.                
  1239.                
  1240.     elseif Type == "UltSlice" then         
  1241.                
  1242. BlockEffect( BrickColor.new("Really red"), SwHandle.CFrame * cn(0, 1.8, 0), 16, 141, .5, 0,0,0,          0.01,2)   
  1243. BlockEffect( BrickColor.new("Really red"), Head.CFrame, 21, 21, 21, 0,0,0,          0.01,2)
  1244. BlockEffect( BrickColor.new("Really red"), Torso.CFrame, 41, 41, 21, 0,0,0,           0.01,2)  
  1245. BlockEffect( BrickColor.new("Really red"), RightArm.CFrame, 21, 41, 21, 0,0,0,           0.01,2)   
  1246. BlockEffect( BrickColor.new("Really red"), LeftArm.CFrame, 21, 41, 21, 0,0,0,           0.01,2)
  1247. BlockEffect( BrickColor.new("Really red"), RightLeg.CFrame, 21, 41, 21, 0,0,0,          0.01,2)
  1248. BlockEffect( BrickColor.new("Really red"), LeftLeg.CFrame, 21, 41, 21, 0,0,0,           0.01,2)                
  1249.                
  1250.                                
  1251.         elseif Type == "Slice" then
  1252.                                     local bp2 = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Head.Position, Parent = hit.Parent.Torso})
  1253.                                     game:GetService("Debris"):AddItem(bp2, 1)
  1254.    
  1255. if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then   
  1256.             for i = 1,10 do
  1257. Effects.Break.Create    (BrickColor.new("Really red"), hit.Parent.HumanoidRootPart.CFrame, 10, .5, .5)
  1258.            
  1259.    
  1260.             end
  1261.             end
  1262.        
  1263.            
  1264.            
  1265.            
  1266.                         elseif Type == "Snare" then
  1267.                                     local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1268.                                     game:GetService("Debris"):AddItem(bp, 1)
  1269.         elseif Type == "Slowness" then
  1270.                     local   SpeedSave=hit.Parent.Humanoid.WalkSpeed
  1271.                            
  1272.                             for i = 1,25 do
  1273. hit.Parent.Humanoid.WalkSpeed = 4      
  1274. IcePartFunk(hit.Parent.Torso,.55,0.1,1)
  1275. end
  1276.                         wait(4)
  1277.                         hit.Parent.Humanoid.WalkSpeed = SpeedSave  
  1278.         elseif Type == "Firedmg" then
  1279.            
  1280.             for i = 1,math.random(1, 6) do
  1281.                 if hit.Parent:FindFirstChild("Torso") ~= nil then  
  1282.                                         BlockEffect( BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05,3)
  1283.                         BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05,3)
  1284.                         BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035,3)
  1285.                        
  1286.            
  1287.            
  1288.             wait(.1)
  1289.             end
  1290.             end
  1291.            
  1292.                         elseif Type == "Freeze" then
  1293.                                     local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1294.                                     game:GetService("Debris"):AddItem(bp, 4)
  1295. for i=1,25 do
  1296.     IcePartFunk(hit.Parent.Torso,1,1.5,2)  
  1297.     end                                                    
  1298.                                 elseif Type == "Freeze2" then
  1299.                                             local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1300.                                             local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1301.                                             hit.Parent.Torso.Anchored = true
  1302.                                             coroutine.resume(coroutine.create(function(Part)
  1303.        
  1304.         swait(1.5)
  1305.         Part.Anchored = false
  1306.     end
  1307. ), hit.Parent.Torso)
  1308.                                             game:GetService("Debris"):AddItem(BodPos, 3)
  1309.                                             game:GetService("Debris"):AddItem(BodGy, 3)
  1310.                                         end
  1311.                                             local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1312.                                             game:GetService("Debris"):AddItem(debounce, Delay)
  1313.                                             c = Instance.new("ObjectValue")
  1314.                                             c.Name = "creator"
  1315.                                             c.Value = Player
  1316.                                             c.Parent = h
  1317.                                             game:GetService("Debris"):AddItem(c, 0.5)
  1318.                                         end
  1319.                                     end
  1320.  
  1321.     ShowDamage = function(Pos, Text, Time, Color)
  1322.    
  1323.     local Rate = 0.033333333333333
  1324.     if not Pos then
  1325.         local Pos = Vector3.new(0, 0, 0)
  1326.     end
  1327.     local Text = Text or ""
  1328.     local Time = Time or 2
  1329.     if not Color then
  1330.         local Color = Color3.new(1, 0, 1)
  1331.     end
  1332.     local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1333.     EffectPart.Anchored = true
  1334.     local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1335.     local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1336.     game.Debris:AddItem(EffectPart, Time + 0.1)
  1337.     EffectPart.Parent = game:GetService("Workspace")
  1338.     delay(0, function()
  1339.        
  1340.         local Frames = Time / Rate
  1341.         for Frame = 1, Frames do
  1342.             wait(Rate)
  1343.             local Percent = Frame / Frames
  1344.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1345.             TextLabel.TextTransparency = Percent
  1346.         end
  1347.         if EffectPart and EffectPart.Parent then
  1348.             EffectPart:Destroy()
  1349.         end
  1350.     end
  1351. )
  1352. end
  1353.  
  1354.     MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1355.    
  1356.     for _,c in pairs(workspace:children()) do
  1357.         local hum = c:findFirstChild("Humanoid")
  1358.         if hum ~= nil then
  1359.             local head = c:findFirstChild("Head")
  1360.             if head ~= nil then
  1361.                 local targ = head.Position - Part.Position
  1362.                 local mag = targ.magnitude
  1363.                 if mag <= magni and c.Name ~= Player.Name then
  1364.                     Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  1365.                 end
  1366.             end
  1367.         end
  1368.     end
  1369. end
  1370.     MagniKILL = function(Part, magni, knock, Type)
  1371.    
  1372.     for _,c in pairs(workspace:children()) do
  1373.         local hum = c:findFirstChild("Humanoid")
  1374.         if hum ~= nil then
  1375.             local head = c:findFirstChild("Head")
  1376.             if head ~= nil then
  1377.                 local targ = head.Position - Part.Position
  1378.                 local mag = targ.magnitude
  1379.                 if mag <= magni and c.Name ~= Player.Name then
  1380.                     hum.Health = 0
  1381.                 end
  1382.             end
  1383.         end
  1384.     end
  1385. end
  1386.     EffectModel = Instance.new("Model", Character)
  1387.     EffectModel.Name = "Effects"
  1388.  
  1389.     BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1390.    
  1391.     local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1392.     prt.Anchored = true
  1393.     prt.CFrame = cframe
  1394.     local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1395.     game:GetService("Debris"):AddItem(prt, 10)
  1396.     if Type == 1 or Type == nil then
  1397.         table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1398.     else
  1399.         if Type == 2 then
  1400.             table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1401.     else
  1402.         if Type == 3 then
  1403.             table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh})         
  1404.         end
  1405.     end
  1406. end
  1407. end
  1408.     CreateSound = function(id, par, vol, pit)
  1409.    
  1410.     coroutine.resume(coroutine.create(function()
  1411.        
  1412.         local sou = Instance.new("Sound", par or workspace)
  1413.         sou.Volume = vol
  1414.         sou.Pitch = pit or 1
  1415.         sou.SoundId = id
  1416.         swait()
  1417.         sou:play()
  1418.         game:GetService("Debris"):AddItem(sou, 6)
  1419.     end
  1420. ))
  1421. end
  1422.  
  1423.     Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1424.    
  1425.     local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1426.     prt.Anchored = true
  1427.     prt.CFrame = cframe
  1428.     prt.Material = "Neon"
  1429.     local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1430.     game:GetService("Debris"):AddItem(prt, 10)
  1431.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1432.        
  1433.         for i = 0, 6, delay do
  1434.             swait()
  1435.             Part.Transparency = i
  1436.             Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1437.         end
  1438.         Part.Parent = nil
  1439.     end
  1440. ), prt, msh)
  1441. end
  1442.  
  1443.      shoottraildd = function(mouse, partt, SpreadAmount)
  1444.    
  1445.     local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
  1446.     local MainPos = mouse + Vector3.new(0, 6, 0)+RootPart.CFrame.lookVector*-2
  1447.     local MainPos2 = mouse + SpreadVectors
  1448.     local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1449.     local speed = 100
  1450.     local num = 1
  1451.     coroutine.resume(coroutine.create(function()
  1452.        
  1453.         repeat
  1454.             swait()
  1455.             local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1456.             local mag = (MainPos - pos).magnitude
  1457.             Laser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, -0, 0, -0, 10)
  1458.             MainPos = MainPos + MouseLook.lookVector * speed
  1459.             num = num - 1
  1460.             MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1461.             if hit ~= nil then
  1462.                 num = 0
  1463.                 local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1464.                 refpart.Anchored = true
  1465.                 refpart.CFrame = CFrame.new(pos)
  1466.                 game:GetService("Debris"):AddItem(refpart, 2)
  1467.             end
  1468.             do
  1469.                 if num <= 0 then
  1470.                     local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1471.                     refpart.Anchored = true
  1472.                     refpart.CFrame = CFrame.new(pos)
  1473.                     if hit ~= nil then
  1474.                        
  1475.                    
  1476.                        
  1477.                         GroundPartFunk2(refpart,EffectModel,"Really red",1,.1,2,2)
  1478.                         BlockEffect( BrickColor.new("Really red"), refpart.CFrame, 70, 70, 70, -.5, -.5, -.5, 0.05)
  1479. --                      BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.07)
  1480. --                      BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.07)
  1481.                         MagniDamage(refpart, 6, 10, 25, 0, "Slice")
  1482.                     end
  1483.                     game:GetService("Debris"):AddItem(refpart, 0)
  1484.                 end
  1485.             end
  1486.         until num <= 0
  1487.     end
  1488. ))
  1489. end
  1490.  
  1491.     shoottraildd2 = function(mouse, partt, SpreadAmount)
  1492.    
  1493.     local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1494.     local MainPos = partt.Position
  1495.     local MainPos2 = mouse + SpreadVectors
  1496.     local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1497.     local speed = 1000
  1498.     local num = 1
  1499.     coroutine.resume(coroutine.create(function()
  1500.        
  1501.         repeat
  1502.             swait()
  1503.             local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1504.             local mag = (MainPos - pos).magnitude
  1505.             Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -8.175, 0, -8.175, 0.15)
  1506.             MainPos = MainPos + MouseLook.lookVector * speed
  1507.             num = num - 1
  1508.             MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1509.             if hit ~= nil then
  1510.                 num = 0
  1511.                 local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1512.                 refpart.Anchored = true
  1513.                 refpart.CFrame = CFrame.new(pos)
  1514.                 game:GetService("Debris"):AddItem(refpart, 2)
  1515.             end
  1516.             do
  1517.                 if num <= 0 then
  1518.                     local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1519.                     refpart.Anchored = true
  1520.                     refpart.CFrame = CFrame.new(pos)
  1521.                     if hit ~= nil then
  1522.                         CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  1523.                         BlockEffect( BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05)
  1524.                         BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
  1525.                         BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
  1526.                         MagniKILL(refpart, 80, 0, "Normal")
  1527.                     end
  1528.                     game:GetService("Debris"):AddItem(refpart, 0)
  1529.                 end
  1530.             end
  1531.         until num <= 0
  1532.     end
  1533. ))
  1534.     end
  1535.    
  1536.     shoottraildd3 = function(mouse, partt, SpreadAmount, dmg)
  1537.    
  1538.     local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1539.     local MainPos = partt.Position
  1540.     local MainPos2 = mouse + SpreadVectors
  1541.     local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1542.     local speed = 200
  1543.     local num = 0
  1544.     coroutine.resume(coroutine.create(function()
  1545.        
  1546.         repeat
  1547.             swait()
  1548.             local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1549.             local mag = (MainPos - pos).magnitude
  1550.             Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05)
  1551.             MainPos = MainPos + MouseLook.lookVector * speed
  1552.             num = num - 1
  1553.             MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1554.             if hit ~= nil then
  1555.                 num = 0
  1556.                 local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1557.                 refpart.Anchored = true
  1558.                 refpart.CFrame = CFrame.new(pos)
  1559.                 BlockEffect(BrickColor.new("Pastel light red"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
  1560.                 game:GetService("Debris"):AddItem(refpart, 2)
  1561.             end
  1562.             do
  1563.                 if num <= 0 then
  1564.                     local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1565.                     refpart.Anchored = true
  1566.                     refpart.CFrame = CFrame.new(pos)
  1567.                     if hit ~= nil then
  1568.                         CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  1569.                         BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
  1570.                         BlockEffect(BrickColor.new("Pastel light red"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
  1571.                        
  1572.                            
  1573.                         MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness")
  1574.                        
  1575.                     end
  1576.                     game:GetService("Debris"):AddItem(refpart, 0)
  1577.                 end
  1578.             end
  1579.         until num <= 0
  1580.     end
  1581. ))
  1582.     end
  1583.    
  1584.      shoottraildd4 = function(mouse, partt, SpreadAmount, dmg)
  1585.    
  1586.     local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1587.     local MainPos = partt.Position
  1588.     local MainPos2 = mouse + SpreadVectors
  1589.     local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1590.     local speed = 150
  1591.     local num = 1
  1592.     coroutine.resume(coroutine.create(function()
  1593.        
  1594.         repeat
  1595.             swait()
  1596.             local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1597.             local mag = (MainPos - pos).magnitude
  1598.             Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15)
  1599.             MainPos = MainPos + MouseLook.lookVector * speed
  1600.             num = num - 1
  1601.             MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1602.             if hit ~= nil then
  1603.                 num = 0
  1604.                 local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1605.                 refpart.Anchored = true
  1606.                 refpart.CFrame = CFrame.new(pos)
  1607.                 game:GetService("Debris"):AddItem(refpart, 2)
  1608.             end
  1609.             do
  1610.                 if num <= 0 then
  1611.                     local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1612.                     refpart.Anchored = true
  1613.                     refpart.CFrame = CFrame.new(pos)
  1614.                     if hit ~= nil then
  1615.                         CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
  1616.                         BlockEffect( BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
  1617.                         BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
  1618.                         BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
  1619.                         MagniDamage(refpart, 6, dmg, dmg, 0, "Normal")
  1620.                     end
  1621.                     game:GetService("Debris"):AddItem(refpart, 0)
  1622.                 end
  1623.             end
  1624.         until num <= 0
  1625.     end
  1626. ))
  1627. end
  1628.    
  1629.    
  1630.    
  1631.    
  1632.    
  1633.  
  1634.  
  1635. HitpartFunk3 = function(HPart3,Xv,Yv,Zv)
  1636.    
  1637. Hitpart3 = Instance.new("Part",HPart3)
  1638. RemoveOutlines(Hitpart3)
  1639. Hitpart3.Size = Vector3.new(1,1,1)
  1640. Hitpart3.CanCollide = false
  1641. HuW3 = Instance.new("Weld")
  1642. HuW3.Name = "GuW"
  1643. HuW3.Part0 = HPart3
  1644. HuW3.C0 = cn(Xv, Yv, Zv)
  1645. HuW3.C1 = cn(0, 0, 0)
  1646. HuW3.Part1 = Hitpart3
  1647. HuW3.Parent = HPart3
  1648. Hitpart3.Transparency = 1
  1649. game:GetService("Debris"):AddItem(Hitpart3, 20)
  1650. end
  1651.  
  1652. HitpartFunk2 = function(HPart2,Xv,Yv,Zv)
  1653.    
  1654. Hitpart2 = Instance.new("Part",HPart2)
  1655. RemoveOutlines(Hitpart2)
  1656. Hitpart2.Size = Vector3.new(1,1,1)
  1657. Hitpart2.CanCollide = false
  1658. HuW2 = Instance.new("Weld")
  1659. HuW2.Name = "GuW"
  1660. HuW2.Part0 = HPart2
  1661. HuW2.C0 = cn(Xv, Yv, Zv)
  1662. HuW2.C1 = cn(0, 0, 0)
  1663. HuW2.Part1 = Hitpart2
  1664. HuW2.Parent = HPart2
  1665. Hitpart2.Transparency = 1
  1666. game:GetService("Debris"):AddItem(Hitpart2, 20)
  1667. end
  1668.  
  1669.  
  1670. HitpartFunk = function(HPart,Min,Max,Xv,Yv,Zv,atype,kb)
  1671.    
  1672. Hitpart = Instance.new("Part",HPart)
  1673. RemoveOutlines(Hitpart)
  1674. Hitpart.Size = Vector3.new(1,1,1)
  1675. Hitpart.CanCollide = false
  1676. HuW = Instance.new("Weld")
  1677. HuW.Name = "GuW"
  1678. HuW.Part0 = HPart
  1679. HuW.C0 = cn(Xv, Yv, Zv)
  1680. HuW.C1 = cn(0, 0, 0)
  1681. HuW.Part1 = Hitpart
  1682. HuW.Parent = HPart
  1683. Hitpart.Transparency = 1
  1684. game:GetService("Debris"):AddItem(Hitpart2, 20)
  1685. MagniDamage(Hitpart, 4.5, Min, Max, kb, atype)
  1686.  
  1687. end
  1688. HitpartFunk4 = function(HPart,Min,Max,Xv,Yv,Zv,atype,kb)
  1689.    
  1690. Hitpart4 = Instance.new("Part",HPart)
  1691. RemoveOutlines(Hitpart4)
  1692. Hitpart4.Size = Vector3.new(1,1,1)
  1693. Hitpart4.CanCollide = false
  1694. HuW4 = Instance.new("Weld")
  1695. HuW4.Name = "HuW4"
  1696. HuW4.Part0 = HPart
  1697. HuW4.C0 = cn(Xv, Yv, Zv)
  1698. HuW4.C1 = cn(0, 0, 0)
  1699. HuW4.Part1 = Hitpart4
  1700. HuW4.Parent = HPart
  1701. Hitpart4.Transparency = 1
  1702. game:GetService("Debris"):AddItem(Hitpart4, 1.5)
  1703. MagniDamage(Hitpart4, 6.5, Min, Max, kb, atype)
  1704.  
  1705. end
  1706.  
  1707.  
  1708. HitboxFunction = function(Pose,lifetime,siz1,siz2,siz3,Radie,Min,Max,kb,atype)
  1709.    
  1710. Hitboxpart = Instance.new("Part",Character)
  1711. RemoveOutlines(Hitboxpart)
  1712. Hitboxpart.Size = Vector3.new(siz1,siz2,siz3)
  1713. Hitboxpart.CanCollide = false
  1714. Hitboxpart.Transparency = 1
  1715. Hitboxpart.Anchored = true
  1716. Hitboxpart.CFrame = Pose
  1717. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1718. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1719.  
  1720. end
  1721.  
  1722.  
  1723. wait2 = false
  1724.  
  1725.  
  1726. combo = 1
  1727.  
  1728.  
  1729.  
  1730.  
  1731. duljump = false
  1732. duljump2 = false
  1733. jumpatck = false
  1734.  
  1735. hitwait = false
  1736. function onTouch(part)
  1737.  
  1738. local humanoid = part.Parent:findFirstChild("Humanoid")
  1739. local model = part.Parent
  1740. local torso = part.Parent:FindFirstChild("Torso")
  1741. local head = part.Parent:findFirstChild("Head")
  1742. local leftleg = part.Parent:findFirstChild("Left Leg")
  1743. local rightleg = part.Parent:findFirstChild("Right Leg")
  1744. local leftarm = part.Parent:findFirstChild("Left Arm")
  1745. local rightarm = part.Parent:findFirstChild("Right Arm")
  1746.  
  1747.     if hitwait == false and attack == false and model.Name == "Effects" == false and Runkey == true then
  1748.    
  1749. hitwait = true         
  1750.  
  1751.  
  1752.    
  1753.  
  1754. if (humanoid ~=nil) and humanoid.Health >0.01 and  Torsovelocity > 1 then
  1755.  
  1756.      if IKM == true then
  1757. Effects.Sphere.Create(BrickColor.new("Really black"), FrontPart.CFrame * cn(0, -0, 0), 50, 50, 50, 40,40,40, 0.1)  
  1758. Effects.Sphere.Create(BrickColor.new("Really red"), FrontPart.CFrame * cn(0, -0, 0), 50, 50, 50, 20,20,20, 0.05)       
  1759. model:BreakJoints()
  1760.  
  1761. else
  1762. Effects.Sphere.Create(BrickColor.new("White"), FrontPart.CFrame * cn(0, -0, 2), 100, 100, .1, 12,12,0, 0.1)
  1763. Effects.Sphere.Create(BrickColor.new("White"), FrontPart.CFrame * cn(0, -0, 2), 100, 100, 20, 1,1,1, 0.08) 
  1764. MagniDamage(FrontPart, 6.5, 6, 6, .3, "Knockdown")
  1765.  
  1766.     end
  1767.  
  1768. attack = true
  1769. Humanoid.WalkSpeed = 0 
  1770.                             local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 1, 0)-RootPart.CFrame.lookVector*1500, P = 50000, maxForce = Vector3.new(80000, 80000, 80000), Parent = Torso})
  1771.  
  1772.                             game:GetService("Debris"):AddItem(bodyVelocity2, 0.11)
  1773.                            
  1774. for i = 0, .5, 0.1 do
  1775.         swait()
  1776.  
  1777.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 1, -0.5) * angles(math.rad(1), math.rad(0), math.rad(0)), .2)
  1778.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  1779.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.2)
  1780.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.2)
  1781.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  1782.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  1783. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.3) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.3)      
  1784.        
  1785.  
  1786.        
  1787. end
  1788.  
  1789.    
  1790. Humanoid.WalkSpeed = 16
  1791. end
  1792. attack = false
  1793. wait(.08)
  1794. hitwait = false
  1795.     end
  1796.    
  1797.     end
  1798. FrontPart.Touched:connect(onTouch)
  1799.  
  1800.                
  1801. humHsave = Humanoid.Health             
  1802. function GainCharge(Humanoid)
  1803. if  Humanoid.Health == 0 then      
  1804.             equipped = false
  1805.             end
  1806. if blocking == true then
  1807.  
  1808. humDsave = Humanoid.Health
  1809. humDsave = humHsave - humDsave
  1810. if humDsave >0.01 then
  1811.  
  1812. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 1, .5) 
  1813. BlockEffect( BrickColor.new("Really red"), Torso.CFrame, 42, 42, 22, 0.1,0.1,0.1,              0.02,2) 
  1814. BlockEffect( BrickColor.new("Really red"), RightArm.CFrame, 22, 42, 22, 0.1,0.1,0.1,          0.02,2)  
  1815. BlockEffect( BrickColor.new("Really red"), LeftArm.CFrame, 22, 42, 22, 0.1,0.1,0.1,           0.02,2)  
  1816. BlockEffect( BrickColor.new("Really red"), RightLeg.CFrame, 22, 42, 22, 0.1,0.1,0.1,           0.02,2) 
  1817. BlockEffect( BrickColor.new("Really red"), LeftLeg.CFrame, 22, 42, 22, 0.1,0.1,0.1,            0.02,2) 
  1818. humDsave = humDsave/3
  1819. end
  1820. if humDsave <0 then
  1821.  
  1822.  
  1823. Effects.Sphere.Create(BrickColor.new("Lime green"), RootPart.CFrame * cn(0, -2.97, 0), 10, 5, 10, 15,-.1,15, 0.05)
  1824. --[[
  1825. BlockEffect( BrickColor.new("Lime green"), Torso.CFrame, 41, 41, 21, 0,0,0,             0.1,2) 
  1826. BlockEffect( BrickColor.new("Lime green"), RightArm.CFrame, 21, 41, 21, 0,0,0,          0.1,2) 
  1827. BlockEffect( BrickColor.new("Lime green"), LeftArm.CFrame, 21, 41, 21, 0,0,0,           0.1,2) 
  1828. BlockEffect( BrickColor.new("Lime green"), RightLeg.CFrame, 21, 41, 21, 0,0,0,          0.1,2) 
  1829. BlockEffect( BrickColor.new("Lime green"), LeftLeg.CFrame, 21, 41, 21, 0,0,0,           0.1,2) 
  1830. --]]
  1831. humDsave = humDsave*2.5
  1832. end
  1833.  
  1834. humHsave = humHsave - humDsave
  1835.  
  1836.  
  1837.  
  1838.  
  1839. end
  1840.  
  1841. end
  1842.  
  1843.  Humanoid.HealthChanged:connect(function() GainCharge(Humanoid) end)               
  1844.                
  1845.                
  1846.     OnDeath = function()           
  1847.  
  1848.         equipped = false
  1849.        
  1850.            
  1851.                
  1852.         end    
  1853.            
  1854. Humanoid.Died:connect(function()OnDeath(Character)end)
  1855.  
  1856.                    
  1857.                
  1858.                 print('Created By Draconix')
  1859. remote = Instance.new 'RemoteFunction';
  1860. remote.Parent = script;
  1861. remote.OnServerInvoke = function (player, request, ...)
  1862.     if (player ~= owner) then
  1863.         return error ('You cannot invoke this remote', 0);
  1864.     end;
  1865.    
  1866.     if (request == 1) then
  1867.         local k = ...;
  1868. if k == "0" then   
  1869.    
  1870. Runkey = true
  1871.  
  1872. end
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  if k == "e" and attack == false then  
  1884. attack = true
  1885.    
  1886. Humanoid.WalkSpeed = 0 
  1887.  
  1888.                             CreateSound("http://www.roblox.com/asset/?id=135305162", Torso, 2, 1)
  1889.  
  1890. for i = 0, 2, 0.1 do
  1891.         swait()
  1892.  
  1893.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1894.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  1895.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(135 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.2)
  1896.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(135 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.2)
  1897.                     RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  1898.                     LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 8), -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  1899. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)      
  1900.        
  1901.  
  1902.        
  1903. end
  1904.  
  1905. for i = 0, 4, 0.1 do
  1906.         swait()
  1907.  
  1908.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1909.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  1910.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(25)), 0.05)
  1911.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-25)), 0.05)
  1912.                     RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  1913.                     LH.C0 = clerp(LH.C0, cn(-1, -1, -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  1914. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)      
  1915.        
  1916.  
  1917.        
  1918. end
  1919. for i = 0, 1 do
  1920. for i = 0, 1, 0.1 do
  1921.         swait()
  1922.  
  1923.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1924.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  1925.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  1926.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  1927.                     RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  1928.                     LH.C0 = clerp(LH.C0, cn(-1, -1 ,0)* LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  1929. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)      
  1930.        
  1931.  
  1932.        
  1933. end
  1934. for i = 0, 1, 0.1 do
  1935.         swait()
  1936.  
  1937.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0.05, 0, -1.1) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1938.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-15 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  1939.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.01 * math.cos(sine / 8), -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  1940.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.01 * math.cos(sine / 8) , -.0) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.1)
  1941.                     RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-6), math.rad(0), math.rad(90 + .05 * math.cos(sine / 25))), .1)
  1942.                     LH.C0 = clerp(LH.C0, cn(-1, -1, -.0) * LHCF * angles(math.rad(6), math.rad(-0), math.rad(-90 + .05 * math.cos(sine / 25))), .1)
  1943. SWW.C0 = clerp(SWW.C0, CFrame.new(0,-1.5,-.8) * angles(math.rad(-0),math.rad(-180),math.rad(0)), 0.1)      
  1944.        
  1945.  
  1946.        
  1947. end    
  1948. end
  1949.  
  1950. Humanoid.WalkSpeed = 16
  1951.  
  1952. attack = false
  1953.  
  1954.  
  1955.  
  1956.  
  1957. end
  1958.     elseif (request == 2) then
  1959.         local k = ...;
  1960. if k == "0"then
  1961. Runkey = false
  1962.  
  1963. end
  1964.     end;
  1965. end;
  1966. remote.Name = 'ServerRemote';
  1967. ]==], workspace):WaitForChild 'ServerRemote';
  1968.  
  1969. mouse = owner:GetMouse();
  1970.  
  1971. mouse.KeyDown:connect(function(key)
  1972.     remote:InvokeServer (1, key);
  1973. end)
  1974.  
  1975. mouse.KeyUp:connect(function(key)
  1976.     remote:InvokeServer (2, key);
  1977. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement