Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --SazErenos
- --BeepBopBoop
- Player=game.Players.LocalPlayer
- Character=Player.Character
- mouse = Player:GetMouse()
- attack = false
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- for _,v in pairs(Character:children()) do
- if v:IsA("Part") then
- v:Remove()
- elseif v:IsA("Humanoid") then
- v:Remove()
- end
- end
- wait(1)
- --[[function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))]]
- --Character = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Motor6D4 = Instance.new("Motor6D")
- Part5 = Instance.new("Part")
- Motor6D6 = Instance.new("Motor6D")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- CylinderMesh9 = Instance.new("CylinderMesh")
- Motor6D10 = Instance.new("Motor6D")
- Part11 = Instance.new("Part")
- CylinderMesh12 = Instance.new("CylinderMesh")
- Motor6D13 = Instance.new("Motor6D")
- Part14 = Instance.new("Part")
- BodyPosition15 = Instance.new("BodyPosition")
- Sound16 = Instance.new("Sound")
- BodyGyro17 = Instance.new("BodyGyro")
- Motor6D18 = Instance.new("Motor6D")
- Motor6D19 = Instance.new("Motor6D")
- Motor6D20 = Instance.new("Motor6D")
- Motor6D21 = Instance.new("Motor6D")
- Motor6D22 = Instance.new("Motor6D")
- Vector3Value23 = Instance.new("Vector3Value")
- Part24 = Instance.new("Part")
- Motor6D25 = Instance.new("Motor6D")
- Part26 = Instance.new("Part")
- CylinderMesh27 = Instance.new("CylinderMesh")
- Motor6D28 = Instance.new("Motor6D")
- Motor6D29 = Instance.new("Motor6D")
- Part30 = Instance.new("Part")
- Motor6D31 = Instance.new("Motor6D")
- Part32 = Instance.new("Part")
- CylinderMesh33 = Instance.new("CylinderMesh")
- Sound34 = Instance.new("Sound")
- Part35 = Instance.new("Part")
- CylinderMesh36 = Instance.new("CylinderMesh")
- Part37 = Instance.new("Part")
- CylinderMesh38 = Instance.new("CylinderMesh")
- --[[Character.Name = "Character"
- Character.Parent = mas]]
- Part1.Name = "Left Leg2"
- Part1.Parent = Character
- Part1.Material = Enum.Material.DiamondPlate
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.Rotation = Vector3.new(180, 15, -180)
- Part1.CanCollide = false
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.Size = Vector3.new(10, 10, 10)
- Part1.CFrame = CFrame.new(-12.5179701, 117.012268, 3.21098304, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Position = Vector3.new(-12.5179701, 117.012268, 3.21098304)
- Part1.Orientation = Vector3.new(0, 165, 0)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part2.Name = "Right Leg2"
- Part2.Parent = Character
- Part2.Material = Enum.Material.DiamondPlate
- Part2.BrickColor = BrickColor.new("Dark stone grey")
- Part2.Rotation = Vector3.new(0, -15, 0)
- Part2.CanCollide = false
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.Size = Vector3.new(10, 10, 10)
- Part2.CFrame = CFrame.new(-9.92998791, 117.012268, -6.4490509, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part2.Position = Vector3.new(-9.92998791, 117.012268, -6.4490509)
- Part2.Orientation = Vector3.new(0, -15, 0)
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part3.Name = "Left Leg1"
- Part3.Parent = Character
- Part3.Material = Enum.Material.DiamondPlate
- Part3.BrickColor = BrickColor.new("Dark stone grey")
- Part3.Rotation = Vector3.new(180, 15, -180)
- Part3.CanCollide = false
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.Size = Vector3.new(10, 10, 10)
- Part3.CFrame = CFrame.new(-12.518177, 127.012268, 3.21020746, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part3.Position = Vector3.new(-12.518177, 127.012268, 3.21020746)
- Part3.Orientation = Vector3.new(0, 165, 0)
- Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Motor6D4.Name = "LHip2"
- Motor6D4.Parent = Part3
- Motor6D4.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D4.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D4.Part0 = Part3
- Motor6D4.Part1 = Part1
- Motor6D4.DesiredAngle = -0.15241381525993
- Motor6D4.MaxVelocity = 0.30000001192093
- Part5.Name = "Right Leg1"
- Part5.Parent = Character
- Part5.Material = Enum.Material.DiamondPlate
- Part5.BrickColor = BrickColor.new("Dark stone grey")
- Part5.Rotation = Vector3.new(0, -15, 0)
- Part5.CanCollide = false
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.Size = Vector3.new(10, 10, 10)
- Part5.CFrame = CFrame.new(-9.929986, 127.012268, -6.44905043, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part5.Position = Vector3.new(-9.929986, 127.012268, -6.44905043)
- Part5.Orientation = Vector3.new(0, -15, 0)
- Part5.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Motor6D6.Name = "RHip2"
- Motor6D6.Parent = Part5
- Motor6D6.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D6.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D6.Part0 = Part5
- Motor6D6.Part1 = Part2
- Motor6D6.DesiredAngle = -0.15241381525993
- Motor6D6.MaxVelocity = 0.30000001192093
- Part7.Name = "Left Arm2"
- Part7.Parent = Character
- Part7.Material = Enum.Material.DiamondPlate
- Part7.BrickColor = BrickColor.new("Dark stone grey")
- Part7.Rotation = Vector3.new(180, 15, -180)
- Part7.CanCollide = false
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.Size = Vector3.new(10, 10, 10)
- Part7.CFrame = CFrame.new(-7.34179354, 137.012268, -16.1083069, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part7.Position = Vector3.new(-7.34179354, 137.012268, -16.1083069)
- Part7.Orientation = Vector3.new(0, 165, 0)
- Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part8.Name = "Head"
- Part8.Parent = Character
- Part8.Material = Enum.Material.DiamondPlate
- Part8.BrickColor = BrickColor.new("Dark stone grey")
- Part8.Rotation = Vector3.new(-180, -75, -180)
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.Friction = 0
- Part8.Size = Vector3.new(20, 15, 10)
- Part8.CFrame = CFrame.new(-11.2240744, 159.512268, -1.61942053, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part8.Position = Vector3.new(-11.2240744, 159.512268, -1.61942053)
- Part8.Orientation = Vector3.new(0, -105, 0)
- Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh9.Parent = Part8
- CylinderMesh9.Scale = Vector3.new(2, 1, 2)
- CylinderMesh9.Scale = Vector3.new(2, 1, 2)
- Motor6D10.Name = "VisorWeld"
- Motor6D10.Parent = Part8
- Motor6D10.C0 = CFrame.new(0, 1.29999995, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D10.Part0 = Part8
- Motor6D10.Part1 = Part37
- Part11.Name = "Right Arm1"
- Part11.Parent = Character
- Part11.Material = Enum.Material.DiamondPlate
- Part11.BrickColor = BrickColor.new("Dark stone grey")
- Part11.Rotation = Vector3.new(0, -15, 0)
- Part11.CanCollide = false
- Part11.FormFactor = Enum.FormFactor.Custom
- Part11.Size = Vector3.new(10, 10, 10)
- Part11.CFrame = CFrame.new(-15.1063633, 147.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part11.Position = Vector3.new(-15.1063633, 147.012268, 12.8694658)
- Part11.Orientation = Vector3.new(0, -15, 0)
- Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh12.Parent = Part11
- CylinderMesh12.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
- CylinderMesh12.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
- Motor6D13.Name = "RShoulder2"
- Motor6D13.Parent = Part11
- Motor6D13.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D13.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D13.Part0 = Part11
- Motor6D13.Part1 = Part26
- Motor6D13.DesiredAngle = 0.52359879016876
- Motor6D13.MaxVelocity = 0.30000001192093
- Part14.Name = "Torso"
- Part14.Parent = Character
- Part14.Material = Enum.Material.DiamondPlate
- Part14.BrickColor = BrickColor.new("Dark stone grey")
- Part14.Rotation = Vector3.new(-180, -75, -180)
- Part14.CanCollide = false
- Part14.FormFactor = Enum.FormFactor.Custom
- Part14.Size = Vector3.new(2, 2, 1)
- Part14.CFrame = CFrame.new(-11.2240782, 142.012268, -1.61942101, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part14.Position = Vector3.new(-11.2240782, 142.012268, -1.61942101)
- Part14.Orientation = Vector3.new(0, -105, 0)
- Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BodyPosition15.Parent = Part14
- BodyPosition15.D = 200
- BodyPosition15.position = Vector3.new(0, 0, 0)
- BodyPosition15.Position = Vector3.new(0, 0, 0)
- Sound16.Name = "Walk"
- Sound16.Parent = Part14
- Sound16.Pitch = 0.60000002384186
- Sound16.SoundId = "http://www.roblox.com/asset/?id=10730819"
- Sound16.Volume = 1
- BodyGyro17.Parent = Part14
- BodyGyro17.CFrame = CFrame.new(96, 36.1000023, 46, 0.422321469, 0, 0.906446099, -0, 1, -0, -0.906446099, 0, 0.422321469)
- BodyGyro17.maxTorque = Vector3.new(40000, 400000, 40000)
- BodyGyro17.P = 800
- BodyGyro17.D = 100
- BodyGyro17.MaxTorque = Vector3.new(40000, 400000, 40000)
- Motor6D18.Name = "Neck"
- Motor6D18.Parent = Part14
- Motor6D18.C0 = CFrame.new(0, 7.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D18.C1 = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D18.Part0 = Part14
- Motor6D18.Part1 = Part8
- Motor6D19.Name = "LHip1"
- Motor6D19.Parent = Part14
- Motor6D19.C0 = CFrame.new(5, -10, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)
- Motor6D19.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D19.Part0 = Part14
- Motor6D19.Part1 = Part3
- Motor6D19.DesiredAngle = -0.30482763051987
- Motor6D19.MaxVelocity = 0.30000001192093
- Motor6D20.Name = "RHip1"
- Motor6D20.Parent = Part14
- Motor6D20.C0 = CFrame.new(-5, -10, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
- Motor6D20.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D20.Part0 = Part14
- Motor6D20.Part1 = Part5
- Motor6D20.DesiredAngle = -0.30482763051987
- Motor6D20.MaxVelocity = 0.30000001192093
- Motor6D21.Name = "RShoulder1"
- Motor6D21.Parent = Part14
- Motor6D21.C0 = CFrame.new(15, 10, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
- Motor6D21.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D21.Part0 = Part14
- Motor6D21.Part1 = Part11
- Motor6D21.DesiredAngle = -0.30482763051987
- Motor6D21.MaxVelocity = 0.30000001192093
- Motor6D22.Name = "LShoulder1"
- Motor6D22.Parent = Part14
- Motor6D22.C0 = CFrame.new(-15, 10, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)
- Motor6D22.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D22.Part0 = Part14
- Motor6D22.Part1 = Part24
- Motor6D22.DesiredAngle = -0.30482763051987
- Motor6D22.MaxVelocity = 0.30000001192093
- Vector3Value23.Parent = Part14
- Vector3Value23.Value = Vector3.new(-11.224, 142.011993, -1.61899996)
- Part24.Name = "Left Arm1"
- Part24.Parent = Character
- Part24.Material = Enum.Material.DiamondPlate
- Part24.BrickColor = BrickColor.new("Dark stone grey")
- Part24.Rotation = Vector3.new(180, 15, -180)
- Part24.CanCollide = false
- Part24.FormFactor = Enum.FormFactor.Custom
- Part24.Size = Vector3.new(10, 10, 10)
- Part24.CFrame = CFrame.new(-7.34179163, 147.012268, -16.1083069, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
- Part24.BottomSurface = Enum.SurfaceType.Smooth
- Part24.TopSurface = Enum.SurfaceType.Smooth
- Part24.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part24.Position = Vector3.new(-7.34179163, 147.012268, -16.1083069)
- Part24.Orientation = Vector3.new(0, 165, 0)
- Part24.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Motor6D25.Name = "LShoulder2"
- Motor6D25.Parent = Part24
- Motor6D25.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D25.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D25.Part0 = Part24
- Motor6D25.Part1 = Part7
- Motor6D25.DesiredAngle = -0.15241381525993
- Motor6D25.MaxVelocity = 0.30000001192093
- Part26.Name = "Right Arm2"
- Part26.Parent = Character
- Part26.Material = Enum.Material.DiamondPlate
- Part26.BrickColor = BrickColor.new("Dark stone grey")
- Part26.Rotation = Vector3.new(0, -15, 0)
- Part26.CanCollide = false
- Part26.FormFactor = Enum.FormFactor.Custom
- Part26.Size = Vector3.new(10, 10, 10)
- Part26.CFrame = CFrame.new(-15.1063652, 137.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part26.Position = Vector3.new(-15.1063652, 137.012268, 12.8694658)
- Part26.Orientation = Vector3.new(0, -15, 0)
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh27.Parent = Part26
- CylinderMesh27.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
- CylinderMesh27.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
- Motor6D28.Name = "RShoulder2H"
- Motor6D28.Parent = Part26
- Motor6D28.Part0 = Part26
- Motor6D28.Part1 = Part32
- Motor6D29.Name = "RShoulder3H"
- Motor6D29.Parent = Part26
- Motor6D29.Part0 = Part26
- Motor6D29.Part1 = Part35
- Part30.Name = "HumanoidRootPart"
- Part30.Parent = Character
- Part30.Material = Enum.Material.DiamondPlate
- Part30.BrickColor = BrickColor.new("Dark stone grey")
- Part30.Transparency = 1
- Part30.Rotation = Vector3.new(-180, -75, -180)
- Part30.FormFactor = Enum.FormFactor.Custom
- Part30.Friction = 0
- Part30.Size = Vector3.new(20, 20, 10)
- Part30.CFrame = CFrame.new(-11.2240782, 142.012268, -1.61942101, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
- Part30.BottomSurface = Enum.SurfaceType.Smooth
- Part30.TopSurface = Enum.SurfaceType.Universal
- Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part30.Position = Vector3.new(-11.2240782, 142.012268, -1.61942101)
- Part30.Orientation = Vector3.new(0, -105, 0)
- Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Motor6D31.Name = "RootJoint"
- Motor6D31.Parent = Part30
- Motor6D31.Part0 = Part30
- Motor6D31.Part1 = Part14
- Part32.Name = "Right ArmHole"
- Part32.Parent = Character
- Part32.Material = Enum.Material.SmoothPlastic
- Part32.BrickColor = BrickColor.new("Black")
- Part32.Rotation = Vector3.new(0, -15, 0)
- Part32.CanCollide = false
- Part32.FormFactor = Enum.FormFactor.Custom
- Part32.Size = Vector3.new(10, 10, 10)
- Part32.CFrame = CFrame.new(-15.1063652, 137.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part32.Position = Vector3.new(-15.1063652, 137.012268, 12.8694658)
- Part32.Orientation = Vector3.new(0, -15, 0)
- Part32.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh33.Parent = Part32
- CylinderMesh33.Offset = Vector3.new(0, -0.0299999993, 0)
- CylinderMesh33.Scale = Vector3.new(0.600000024, 1.20000005, 0.600000024)
- CylinderMesh33.Scale = Vector3.new(0.600000024, 1.20000005, 0.600000024)
- Sound34.Name = "Laser"
- Sound34.Parent = Part32
- Sound34.Pitch = 0.69999998807907
- Sound34.SoundId = "http://www.roblox.com/asset/?id=135249156"
- Sound34.Volume = 1
- Part35.Name = "Right Arm3"
- Part35.Parent = Character
- Part35.Material = Enum.Material.DiamondPlate
- Part35.BrickColor = BrickColor.new("Dark stone grey")
- Part35.Rotation = Vector3.new(0, -15, 0)
- Part35.CanCollide = false
- Part35.FormFactor = Enum.FormFactor.Custom
- Part35.Size = Vector3.new(10, 10, 10)
- Part35.CFrame = CFrame.new(-15.1063652, 137.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part35.Position = Vector3.new(-15.1063652, 137.012268, 12.8694658)
- Part35.Orientation = Vector3.new(0, -15, 0)
- Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh36.Parent = Part35
- CylinderMesh36.Offset = Vector3.new(0, 1, 0)
- CylinderMesh36.Scale = Vector3.new(1.39999998, 1, 1.39999998)
- CylinderMesh36.Scale = Vector3.new(1.39999998, 1, 1.39999998)
- Part37.Name = "Visor"
- Part37.Parent = Character
- Part37.Material = Enum.Material.SmoothPlastic
- Part37.BrickColor = BrickColor.new("Bright bluish green")
- Part37.Reflectance = 0.5
- Part37.Rotation = Vector3.new(-180, -75, -180)
- Part37.CanCollide = false
- Part37.FormFactor = Enum.FormFactor.Custom
- Part37.Size = Vector3.new(20, 5, 10)
- Part37.CFrame = CFrame.new(-10.2581482, 160.812271, -1.36060143, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0, 0.560784, 0.611765)
- Part37.Position = Vector3.new(-10.2581482, 160.812271, -1.36060143)
- Part37.Orientation = Vector3.new(0, -105, 0)
- Part37.Color = Color3.new(0, 0.560784, 0.611765)
- CylinderMesh38.Parent = Part37
- CylinderMesh38.Scale = Vector3.new(1.89999998, 1, 1.89999998)
- CylinderMesh38.Scale = Vector3.new(1.89999998, 1, 1.89999998)
- asdf=Instance.new("Part")
- asdf.Name = "Torso1"
- asdf.Parent = Character
- asdf.Material = Enum.Material.DiamondPlate
- asdf.BrickColor = BrickColor.new("Dark stone grey")
- asdf.Rotation = Vector3.new(-180, -75, -180)
- asdf.CanCollide = false
- asdf.FormFactor = Enum.FormFactor.Custom
- asdf.Size = Vector3.new(20, 20, 10)
- asdf.CFrame = CFrame.new(-11.2240782, 142.012268, -1.61942101, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
- aaaa=Instance.new("Weld",asdf)
- aaaa.Part0=asdf
- aaaa.Part1=Part14
- --[[for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end]]
- wait(1)
- local Create = LoadLibrary("RbxUtility").Create
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- waitFor=function(Name)
- while Character:FindFirstChild(Name)==nil do
- swait()
- end
- return Character:FindFirstChild(Name)
- end
- Head=waitFor("Head")
- Torso=waitFor("Torso")
- RootPart=waitFor("HumanoidRootPart")
- LA1=waitFor("Left Arm1")
- LA2=waitFor("Left Arm2")
- RA1=waitFor("Right Arm1")
- RA2=waitFor("Right Arm2")
- LL1=waitFor("Left Leg1")
- LL2=waitFor("Left Leg2")
- RL1=waitFor("Right Leg1")
- RL2=waitFor("Right Leg2")
- Neck=Instance.new("Motor6D")
- Neck.Name="Neck"
- Neck.Part0=Torso
- Neck.Part1=Head
- Neck.C0=CFrame.new(0,7.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
- Neck.C1=CFrame.new(0,-10,0)
- Neck.Parent=Neck.Part0
- LHip1=Instance.new("Motor6D")
- LHip1.Name="LHip1"
- LHip1.Part0=Torso
- LHip1.Part1=LL1
- LHip1.C0=CFrame.new(5,-10,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),-math.pi/2,0)
- LHip1.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LHip1.Parent=Torso
- LHip2=Instance.new("Motor6D")
- LHip2.Name="LHip2"
- LHip2.Part0=LL1
- LHip2.Part1=LL2
- LHip2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
- LHip2.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LHip2.Parent=LL1
- LHip1.MaxVelocity=.3
- LHip2.MaxVelocity=.3
- LHip1.DesiredAngle=.3
- LHip2.DesiredAngle=.3
- RHip1=Instance.new("Motor6D")
- RHip1.Name="RHip1"
- RHip1.Part0=Torso
- RHip1.Part1=RL1
- RHip1.C0=CFrame.new(-5,-10,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.pi/2,0)
- RHip1.C1=CFrame.new(0,5,0)
- RHip1.Parent=Torso
- RHip2=Instance.new("Motor6D")
- RHip2.Name="RHip2"
- RHip2.Part0=RL1
- RHip2.Part1=RL2
- RHip2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
- RHip2.C1=CFrame.new(0,5,0)
- RHip2.Parent=RL1
- RHip1.MaxVelocity=.3
- RHip2.MaxVelocity=.3
- RHip1.DesiredAngle=.3
- RHip2.DesiredAngle=.3
- RShoulder1=Instance.new("Motor6D")
- RShoulder1.Name="RShoulder1"
- RShoulder1.Part0=Torso
- RShoulder1.Part1=RA1
- RShoulder1.C0=CFrame.new(15,10,0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- RShoulder1.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RShoulder1.Parent=Torso
- RShoulder2=Instance.new("Motor6D")
- RShoulder2.Name="RShoulder2"
- RShoulder2.Part0=RA1
- RShoulder2.Part1=RA2
- RShoulder2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RShoulder2.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RShoulder2.Parent=RA1
- RShoulder1.MaxVelocity=.3
- RShoulder2.MaxVelocity=.3
- RShoulder1.DesiredAngle=.3
- RShoulder2.DesiredAngle=.3
- LShoulder1=Instance.new("Motor6D")
- LShoulder1.Name="LShoulder1"
- LShoulder1.Part0=Torso
- LShoulder1.Part1=LA1
- LShoulder1.C0=CFrame.new(-15,10,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),-math.pi/2,0)
- LShoulder1.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LShoulder1.Parent=Torso
- LShoulder2=Instance.new("Motor6D")
- LShoulder2.Name="LShoulder2"
- LShoulder2.Part0=LA1
- LShoulder2.Part1=LA2
- LShoulder2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
- LShoulder2.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LShoulder2.Parent=LA1
- LShoulder1.MaxVelocity=.3
- LShoulder2.MaxVelocity=.3
- LShoulder1.DesiredAngle=.3
- LShoulder2.DesiredAngle=.3
- ArmHoleWeld=Instance.new("Motor6D")
- ArmHoleWeld.Name="RShoulder2H"
- ArmHoleWeld.Part0=RA2
- ArmHoleWeld.Part1=script.Parent["Right ArmHole"]
- ArmHoleWeld.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- ArmHoleWeld.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- ArmHoleWeld.Parent=RA2
- ArmHoleWeld=Instance.new("Motor6D")
- ArmHoleWeld.Name="RShoulder3H"
- ArmHoleWeld.Part0=RA2
- ArmHoleWeld.Part1=script.Parent["Right Arm3"]
- ArmHoleWeld.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- ArmHoleWeld.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- ArmHoleWeld.Parent=RA2
- ArmHoleWeld=Instance.new("Motor6D")
- ArmHoleWeld.Name="VisorWeld"
- ArmHoleWeld.Part0=Head
- ArmHoleWeld.Part1=script.Parent["Visor"]
- ArmHoleWeld.C0=CFrame.new(0,1.3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
- ArmHoleWeld.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- ArmHoleWeld.Parent=Head
- RootJoint=Instance.new("Motor6D")
- RootJoint.Name="RootJoint"
- RootJoint.Part0=RootPart
- RootJoint.Part1=Torso
- RootJoint.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RootJoint.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RootJoint.Parent=RootPart
- h=Instance.new("Humanoid")
- h.MaxHealth=6000
- h.WalkSpeed=30
- h.Parent=Character
- --Anti OHKO
- LastHealth=6000
- onChanged=function(Num)
- if LastHealth-Num > 80 then
- script.Parent.Humanoid.Health=LastHealth-80
- end
- LastHealth=script.Parent.Humanoid.Health
- end
- --[[coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if script.Parent.Humanoid.Health <= 0 then
- for _,i in pairs(game.Players:children()) do
- game:GetService("BadgeService"):AwardBadge(i.userId, BadgeID)
- print("GIMME BOODGE")
- end
- end
- end
- end))]]
- script.Parent.Humanoid.HealthChanged:connect(onChanged)
- --Animations
- Effects = { }
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- }
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Effects = {
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2))
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- }
- po=0
- Walk=function()
- ctime=math.sin(time() * 5) * .5
- RHip1.DesiredAngle=ctime
- RHip2.DesiredAngle=ctime/2
- LHip1.DesiredAngle=ctime
- LHip2.DesiredAngle=ctime/2
- RHip1.DesiredAngle=ctime
- RHip2.DesiredAngle=ctime/2
- LHip1.DesiredAngle=ctime
- LHip2.DesiredAngle=ctime/2
- RShoulder1.DesiredAngle=ctime
- RShoulder2.DesiredAngle=math.rad(30)
- LShoulder1.DesiredAngle=ctime
- LShoulder2.DesiredAngle=ctime/2
- BodyPos.position=BodyPos.position + (BodyPos.position-Destination).unit*-1
- BodyGyro.cframe=CFrame.new(Torso.Position,Vector3.new(Destination.x,Torso.Position.y,Destination.z))
- po=po+1
- if po>=18 then
- Torso.Walk:Play()
- po=0
- for _,v in pairs(workspace:children()) do
- if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
- if (v.Torso.Position-RL2.Position).magnitude < 12 then
- v.Humanoid:TakeDamage(40)
- end
- end
- end
- for _,v in pairs(workspace:children()) do
- if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
- if (v.Torso.Position-LL2.Position).magnitude < 12 then
- v.Humanoid:TakeDamage(40)
- end
- end
- end
- for _,v in pairs(workspace:children()) do
- if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil and v~=script.Parent then
- if (v.Torso.Position-(Torso.Position-Vector3.new(0,33,0))).magnitude < 40 then
- print("DAI")
- r=Instance.new("BodyAngularVelocity")
- r.P=3000
- r.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- r.maxTorque=Vector3.new(500000,500000,500000)*5000
- r.Parent=v.Torso
- game:GetService("Debris"):AddItem(r,.2)
- r=Instance.new("BodyVelocity")
- r.P=3000
- r.velocity=Vector3.new(math.random(-10,10)/2,math.random(10,40),math.random(-10,10)/2)
- r.maxForce=Vector3.new(500000,500000,500000)*5000
- r.Parent=v.Torso
- game:GetService("Debris"):AddItem(r,.33)
- end
- end
- end
- end
- end
- WalkTo=function(pos)
- local cpos=pos+Vector3.new(0,5,0)
- par,loc=workspace:FindPartOnRayWithIgnoreList(Ray.new(cpos,Vector3.new(0,-60,0)),ignore)
- Destination=loc + Vector3.new(0,30,0)
- --print(Destination,"NEW")
- end
- Destination=Torso.Position
- ignore={}
- updateIgnore=function()
- ignore={}
- lol=function(p)
- for i=1, #p do
- if p[i]:IsA("BasePart") then
- if p[i].CanCollide==false or p[i]:GetMass()<100 then
- table.insert(ignore,p[i])
- end
- end
- k=p[i]:GetChildren()
- if #k>0 then
- lol(k)
- end
- end
- end
- lol(workspace:children())
- end
- updateIgnore()
- FireAt=function(pos)
- attack = true
- ctime=math.sin(time() * 5) * .5
- RHip1.CurrentAngle=0
- RHip2.CurrentAngle=0
- LHip1.CurrentAngle=0
- LHip2.CurrentAngle=0
- RHip1.CurrentAngle=0
- RHip2.CurrentAngle=0
- LHip1.CurrentAngle=0
- LHip2.CurrentAngle=0
- RShoulder1.CurrentAngle=0
- RShoulder2.CurrentAngle=math.rad(30)
- LShoulder1.CurrentAngle=0
- LShoulder2.CurrentAngle=0
- RHip1.DesiredAngle=0
- RHip2.DesiredAngle=0
- LHip1.DesiredAngle=0
- LHip2.DesiredAngle=0
- RHip1.DesiredAngle=0
- RHip2.DesiredAngle=0
- LHip1.DesiredAngle=0
- LHip2.DesiredAngle=0
- RShoulder1.DesiredAngle=.6
- RShoulder2.DesiredAngle=0
- LShoulder1.DesiredAngle=.2
- LShoulder2.DesiredAngle=-.3
- BodyGyro.cframe=CFrame.new(Torso.Position,Vector3.new(pos.x,Torso.Position.y,pos.z))
- swait(.3)
- Dist=(Torso.Position.y-pos.y)
- if Dist>20 then
- Dist=20
- end
- RShoulder1.DesiredAngle=math.rad(Dist)
- Dist=(Torso.Position-pos).magnitude / 3
- if Dist>40 then
- Dist=40
- end
- RShoulder1.DesiredAngle=RShoulder1.DesiredAngle + math.rad(Dist) + math.rad(7)
- RShoulder2.DesiredAngle=math.rad(5)
- for i=1, 10 do
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(-math.rad(3),0,0)
- RShoulder1.C0=RShoulder1.C0*CFrame.fromEulerAnglesXYZ(-math.rad(5),0,0)
- swait(.03)
- end
- Sound34:Play()
- las=Instance.new("Part")
- las.Name="Pew"
- las.BrickColor=BrickColor.new("Really red")
- las.Reflectance=0
- las.Transparency=.2
- las.TopSurface=0
- las.BottomSurface=0
- las.formFactor="Symmetric"
- las.Size=Vector3.new(1,1,1)
- las.CFrame=script.Parent["Right ArmHole"].CFrame
- w=Instance.new("Weld")
- w.C1=CFrame.new(0,5,0)
- w.Part0=script.Parent["Right ArmHole"]
- w.Part1=las
- w.Parent=las
- c=Instance.new("CylinderMesh")
- c.Scale=Vector3.new(5,5,5)
- c.Parent=las
- las.Parent=script.Parent
- las2=Instance.new("Part")
- las2.Name="Pew"
- las2.BrickColor=BrickColor.new("Bright red")
- las2.Reflectance=0
- las2.Transparency=.2
- las2.TopSurface=0
- las2.BottomSurface=0
- las2.formFactor="Symmetric"
- las2.Size=Vector3.new(1,1,1)
- las2.CFrame=script.Parent["Right ArmHole"].CFrame
- w=Instance.new("Weld")
- w.C1=CFrame.new(0,0,0)
- w.Part0=las
- w.Part1=las2
- w.Parent=las
- c=Instance.new("CylinderMesh")
- c.Scale=Vector3.new(4,5,4)
- c.Parent=las2
- las2.Parent=las
- las2=Instance.new("Part")
- las2.Name="Pew"
- las2.BrickColor=BrickColor.new("Bright orange")
- las2.Reflectance=0
- las2.Transparency=.2
- las2.TopSurface=0
- las2.BottomSurface=0
- las2.formFactor="Symmetric"
- las2.Size=Vector3.new(1,1,1)
- las2.CFrame=script.Parent["Right ArmHole"].CFrame
- w=Instance.new("Weld")
- w.C1=CFrame.new(0,0,0)
- w.Part0=las
- w.Part1=las2
- w.Parent=las
- c=Instance.new("CylinderMesh")
- c.Scale=Vector3.new(3,5,3)
- c.Parent=las2
- las2.Parent=las
- las2=Instance.new("Part")
- las2.Name="Pew"
- las2.BrickColor=BrickColor.new("Bright yellow")
- las2.Reflectance=0
- las2.Transparency=0
- las2.TopSurface=0
- las2.BottomSurface=0
- las2.formFactor="Symmetric"
- las2.Size=Vector3.new(1,1,1)
- las2.CFrame=script.Parent["Right ArmHole"].CFrame
- w=Instance.new("Weld")
- w.C1=CFrame.new(0,0,0)
- w.Part0=las
- w.Part1=las2
- w.Parent=las
- c=Instance.new("CylinderMesh")
- c.Scale=Vector3.new(2,5,2)
- c.Parent=las2
- las2.Parent=las
- for i=1, 40 do
- RShoulder1.C0=RShoulder1.C0*CFrame.fromEulerAnglesXYZ(math.rad(2.5),0,0)
- indir=(script.Parent["Right ArmHole"].CFrame.p - (script.Parent["Right ArmHole"].CFrame * CFrame.new(0,5,0)).p).unit
- par,loc=workspace:FindPartOnRay(Ray.new(script.Parent["Right ArmHole"].Position,indir*500),script.Parent)
- dist=(las.Position-loc).magnitude
- las.Mesh.Scale=Vector3.new(5.5,dist + 10,5.5)
- las.Mesh.Offset=Vector3.new(0,-dist/2,0)
- for _,v in pairs(las:children()) do
- if v.Name=="Pew" then
- v.Mesh.Scale=Vector3.new(v.Mesh.Scale.x,dist + 10,v.Mesh.Scale.z)
- v.Mesh.Offset=Vector3.new(0,-dist/2,0)
- end
- end
- for _,v in pairs(workspace:children()) do
- if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
- if (v.Torso.Position-loc).magnitude < 8 then
- v.Humanoid:TakeDamage(10)
- end
- end
- end
- if math.floor(i/3)==i/3 then
- p=Instance.new("Part")
- p.Name="FIYAH"
- p.Anchored=true
- p.CanCollide=false
- p.CFrame=CFrame.new(loc)
- p.Transparency=1
- p.Parent=script.Parent
- game:GetService("Debris"):AddItem(p,2.4)
- Effects.Fire.Create(BrickColor.new("Bright red"), p.CFrame, 40, 40, 40, -1.5, -1.5, -1.5, .03)
- --coroutine.resume(coroutine.create(function(f) swait(1.5) f.Enabled=false end),f)
- --s=script.Demege:clone() s.Disabled=false s.Parent=p
- coroutine.resume(coroutine.create(function(sus)
- while p~=nil do
- swait(.2)
- for _,v in pairs(workspace:children()) do
- if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
- if (v.Torso.Position-sus.Position).magnitude < 11 then
- v.Humanoid:TakeDamage(.5)
- coroutine.resume(coroutine.create(function()
- swait(.1)
- hum=v.Humanoid
- for i=1, 30 do
- swait(.1)
- --Effects.Fire.Create(BrickColor.new("Bright red"), v.Torso.CFrame, 15, 15, 15, -2, -2, -2, .06)
- hum:TakeDamage(.5)
- end
- swait(2)
- end))
- --if v.Torso:FindFirstChild("BScript")==nil then
- --[[s=script.BScript:clone() s.Disabled=false
- s.Parent=v.Torso]]
- --end
- end
- end
- end
- end
- end), p)
- s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=146767808"
- s.Volume=.33
- s.Parent=p
- s:Play()
- p=Instance.new("Part")
- p.Name="KABEWM"
- p.Anchored=true
- p.CanCollide=false
- p.CFrame=CFrame.new(loc)
- p.formFactor="Symmetric"
- p.TopSurface=0
- p.BottomSurface=0
- p.Reflectance=0
- p.BrickColor=BrickColor.new("Really red")
- p.Transparency=.8
- p.Parent=script.Parent
- p.Size=Vector3.new(2.2,2.2,2.2)
- m=Instance.new("SpecialMesh")
- m.Parent=p
- m.MeshType="Sphere"
- game:GetService("Debris"):AddItem(p,3)
- coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.Transparency=.5 + i/20 p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1,1,1) swait(.05) end p:Remove() end),p)
- p=Instance.new("Part")
- p.Name="KABEWM"
- p.Anchored=true
- p.CanCollide=false
- p.CFrame=CFrame.new(loc)
- p.formFactor="Symmetric"
- p.TopSurface=0
- p.BottomSurface=0
- p.Reflectance=0
- p.BrickColor=BrickColor.new("Bright red")
- p.Transparency=.8
- p.Parent=script.Parent
- p.Size=Vector3.new(1.8,3,1.8)
- m=Instance.new("SpecialMesh")
- m.Parent=p
- m.MeshType="Sphere"
- game:GetService("Debris"):AddItem(p,3)
- coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.Transparency=.5 + i/20 p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1,1,1) swait(.05) end p:Remove() end),p)
- p=Instance.new("Part")
- p.Name="KABEWM"
- p.Anchored=true
- p.CanCollide=false
- p.CFrame=CFrame.new(loc)
- p.formFactor="Symmetric"
- p.TopSurface=0
- p.BottomSurface=0
- p.Reflectance=0
- p.BrickColor=BrickColor.new("Bright yellow")
- p.Transparency=.33
- p.Parent=script.Parent
- p.Size=Vector3.new(1,1,1)
- m=Instance.new("SpecialMesh")
- m.Parent=p
- m.MeshType="Sphere"
- game:GetService("Debris"):AddItem(p,3)
- coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.Transparency=.33 p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1,1,1) swait(.05) end p:Remove() end),p)
- end
- swait(.03)
- end
- las:Remove()
- swait(.5)
- for i=1, 20 do
- Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(1.5),0,0)
- RShoulder1.C0=RShoulder1.C0*CFrame.fromEulerAnglesXYZ(-math.rad(2.5),0,0)
- swait(.03)
- end
- RShoulder1.DesiredAngle=0
- RShoulder2.DesiredAngle=0.3
- attack = false
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- while Character.Humanoid.Health~=Character.Humanoid.MaxHealth do
- Character.Humanoid.Health=Character.Humanoid.maxHealth
- swait(.05)
- end
- function onKeyDown(key)
- if attack == false then
- if key == "z" then
- h.WalkSpeed=0
- FireAt(mouse.Hit.p)
- h.WalkSpeed=30
- end
- end
- end
- mouse.KeyDown:connect(onKeyDown)
- BodyPos=Torso.BodyPosition
- BodyGyro=Torso.BodyGyro
- StartPos=Torso.Value.Value
- Destination=StartPos
- while true do
- swait()
- if attack == false then
- WalkTo(StartPos+mouse.Hit.p)
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 20, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- if (BodyPos.position - Destination).magnitude > 10 then
- Walk()
- end
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- Part = Thing[1]
- Moder = Thing[2]
- Delay = Thing[3]
- IncX = Thing[4]
- IncY = Thing[5]
- IncZ = Thing[6]
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.3, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + .05--Thing[3]
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- --[[WalkTo(StartPos+Vector3.new(math.random(-150,150)/2,0,math.random(-150,150)/2))
- elapse=0
- math.randomseed(time())
- if math.random(1,20)>=17 or elapse>=100 then
- for _,v in pairs(workspace:children()) do
- if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil and v~=script.Parent then
- if (v.Torso.Position-loc).magnitude < 100 then
- FireAt(v.Torso.Position)
- end
- end
- end
- elapse=0
- else
- elapse=elapse+1
- if (BodyPos.position - Destination).magnitude > 10 then
- print("WALKING")
- Walk()
- else
- print("NEWPOSTIME")
- WalkTo(StartPos+Vector3.new(math.random(-140,140),0,math.random(-50,50)))
- end
- swait(.03)
- end]]
Add Comment
Please, Sign In to add comment