SHOW:
|
|
- or go back to the newest paste.
| 1 | New = function(Object, Parent, Name, Data) | |
| 2 | local Object = Instance.new(Object) | |
| 3 | for Index, Value in pairs(Data or {}) do
| |
| 4 | Object[Index] = Value | |
| 5 | end | |
| 6 | Object.Parent = Parent | |
| 7 | Object.Name = Name | |
| 8 | return Object | |
| 9 | end | |
| 10 | local LoPa = game:GetService("Players").LocalPlayer
| |
| 11 | local C = LoPa.Character | |
| 12 | ||
| 13 | LaserMinigun = New("Model",C,"LaserMinigun",{})
| |
| 14 | Gunpart = New("Model",LaserMinigun,"Gunpart",{})
| |
| 15 | FrontHandle = New("Part",Gunpart,"FrontHandle",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.334096551, 0.668193102, 0.334096551),CFrame = CFrame.new(30.8316956, 0.787470937, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 16 | Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
| |
| 17 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 18 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 19 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 20 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 21 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 22 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 23 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 24 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 25 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 26 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 27 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.556827545, 0.111365512, 0.556827545),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 28 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 29 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 30 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 31 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 32 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 33 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 34 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 35 | FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 36 | Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
| |
| 37 | - | gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 37 | + | gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 38 | Mesh = New("CylinderMesh",gun4,"Mesh",{})
| |
| 39 | - | gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 39 | + | gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 40 | Mesh = New("CylinderMesh",gun1,"Mesh",{})
| |
| 41 | - | gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 41 | + | gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 42 | Mesh = New("CylinderMesh",gun3,"Mesh",{})
| |
| 43 | - | gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 43 | + | gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 44 | Mesh = New("CylinderMesh",gun2,"Mesh",{})
| |
| 45 | PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
| |
| 46 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(27.7135086, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 47 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 48 | Model = New("Model",Part,"Model",{})
| |
| 49 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 50 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 51 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 52 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 53 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 54 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 55 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 56 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 57 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 58 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 59 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 60 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 61 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 62 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 63 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 64 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 65 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 66 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 67 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 68 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 69 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 70 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 71 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 72 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 73 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 74 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 75 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 76 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 77 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(29.4953289, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 78 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 79 | Model = New("Model",Part,"Model",{})
| |
| 80 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 81 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 82 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 83 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 84 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 85 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 86 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 87 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 88 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 89 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 90 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 91 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 92 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 93 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 94 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 95 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 96 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 97 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 98 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 99 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 100 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 101 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 102 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 103 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 104 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 105 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 106 | Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 107 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 108 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.222731024, 0.890924096),CFrame = CFrame.new(29.7180557, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 109 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 110 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 111 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 112 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 113 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 114 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 115 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 116 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 117 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 118 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 119 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 120 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 121 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 122 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 123 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 124 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 125 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 126 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(29.9407845, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 127 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 128 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 129 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 130 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.38624, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 131 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 132 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.668193102, 0.445462048),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 133 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 134 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(30.6089668, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 135 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 136 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.0498734, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 137 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 138 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000644, 0.707109809, 0.70710659, 0, 0.707112432, -0.707108617, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 139 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 2.00457907, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787482023, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 140 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 141 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 141 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 142 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 142 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 143 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 143 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 144 | - | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 144 | + | Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 145 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000024, 0, 1, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 146 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.8271465, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 147 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 148 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.381691, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 149 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 150 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(28.1589584, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 151 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 152 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.222731024),CFrame = CFrame.new(26.9784832, 0.787473083, -52.2899971, -5.52762662e-11, 1.00582838e-05, 1.00000024, -3.50170376e-06, -1.00000024, 1.00582838e-05, 1, -3.50170421e-06, 9.06084097e-11),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 153 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.512281358, 0.111365512),CFrame = CFrame.new(26.7446499, 1.07702565, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 154 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(26.7111912, 0.787473083, -52.2899971, -5.53331096e-11, -0.258809268, 0.965928495, -3.50170376e-06, -0.965928495, -0.258809268, 1, -3.38240966e-06, -9.06219896e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 155 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.111365512),CFrame = CFrame.new(26.6666946, 0.475645214, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 156 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.579100668, 0.111365512),CFrame = CFrame.new(26.4769592, 0.766716778, -52.2899971, -5.52867474e-11, -0.258809447, 0.96592921, -3.50170421e-06, -0.96592921, -0.258809447, 1, -3.38241125e-06, -9.06220293e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 157 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.289550334, 0.111365512),CFrame = CFrame.new(26.8782501, 0.787470937, -52.2899971, -5.69528105e-11, -1, 1.04902101e-05, -3.50170967e-06, -1.04902101e-05, -1, 1, -9.36864822e-11, -3.50170967e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 158 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 159 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -52.7354622, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 160 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -51.8445435, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 161 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.178184807, 0.890924096, 0.178184807),CFrame = CFrame.new(29.4285202, 1.67839265, -52.2899971, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 162 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 163 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -51.9559135, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 164 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 165 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -52.6240959, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 166 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 167 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.779558599, 0.222731024),CFrame = CFrame.new(29.4285202, 1.67839491, -52.2900124, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 168 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 169 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.4907551, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
| |
| 170 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 171 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 172 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 173 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 174 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 175 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 176 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 177 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 178 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 179 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 180 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 181 | Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 182 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 183 | ||
| 184 | ||
| 185 | ||
| 186 | ||
| 187 | ||
| 188 | ||
| 189 | ||
| 190 | ||
| 191 | ||
| 192 | ||
| 193 | ||
| 194 | Handle = New("Part",LaserMinigun,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.22300005, 4.51200008, 1.11099994),CFrame = CFrame.new(28.6618481, 0.8217237, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 195 | ||
| 196 | ||
| 197 | ||
| 198 | ||
| 199 | ||
| 200 | ||
| 201 | ||
| 202 | ||
| 203 | ||
| 204 | ||
| 205 | ||
| 206 | ||
| 207 | MiniDroid = New("Model",C,"MiniDroid",{})
| |
| 208 | armor = New("Model",MiniDroid,"armor",{})
| |
| 209 | Main = New("Model",armor,"Main",{})
| |
| 210 | Part = New("Part",Main,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000001, 0.800000012, 0.800000012),CFrame = CFrame.new(30.9500008, 1.7000351, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 211 | Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.899999976, 0.699999988, 0.899999976),CFrame = CFrame.new(30.9499989, 1.80003405, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 212 | Mesh = New("SpecialMesh",Part,"Mesh",{})
| |
| 213 | Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.50999999, 1),CFrame = CFrame.new(30.9499989, 1.90003407, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 214 | Mesh = New("SpecialMesh",Part,"Mesh",{})
| |
| 215 | Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.5, 1),CFrame = CFrame.new(30.9499989, 1.70003402, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 216 | Mesh = New("SpecialMesh",Part,"Mesh",{})
| |
| 217 | Neon = New("Model",MiniDroid,"Neon",{})
| |
| 218 | - | LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 218 | + | LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 219 | - | FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 219 | + | FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Really fed"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 220 | miniHandle = New("Part",MiniDroid,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(30.9500008, 1.80504608, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 221 | ||
| 222 | ||
| 223 | ||
| 224 | ||
| 225 | ||
| 226 | Glow1 = Color3.new(1,0,0) | |
| 227 | Glow2 = Color3.new(0,0,0) | |
| 228 | ||
| 229 | GlowParticle = Instance.new("ParticleEmitter",FirePart)
| |
| 230 | GlowParticle.LightEmission = 1 | |
| 231 | GlowParticle.Color = ColorSequence.new(Glow1,Glow2) | |
| 232 | GlowParticle.Size = NumberSequence.new(0,20) | |
| 233 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985" | |
| 234 | GlowParticle.Transparency = NumberSequence.new(0,1) | |
| 235 | GlowParticle.LockedToPart = true | |
| 236 | GlowParticle.Lifetime = NumberRange.new(1) | |
| 237 | GlowParticle.Rate= 1 | |
| 238 | GlowParticle.Speed =NumberRange.new(0) | |
| 239 | GlowParticle.Enabled = false | |
| 240 | ||
| 241 | ||
| 242 | ||
| 243 | ||
| 244 | GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
| |
| 245 | GlowParticle2.LightEmission = .7 | |
| 246 | GlowParticle2.Color = ColorSequence.new(Glow1,Glow2) | |
| 247 | GlowParticle2.Size = NumberSequence.new(0,1) | |
| 248 | GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350" | |
| 249 | GlowParticle2.Transparency = NumberSequence.new(0,1) | |
| 250 | GlowParticle2.LockedToPart = false | |
| 251 | GlowParticle2.Lifetime = NumberRange.new(0.2) | |
| 252 | GlowParticle2.Rate= 150 | |
| 253 | GlowParticle2.Speed =NumberRange.new(3) | |
| 254 | GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0) | |
| 255 | ||
| 256 | ||
| 257 | ||
| 258 | ||
| 259 | ||
| 260 | local all,last = {}
| |
| 261 | function scan(p) | |
| 262 | for _,v in pairs(p:GetChildren()) do | |
| 263 | if (v:IsA("BasePart")) then
| |
| 264 | if (last) then | |
| 265 | local w = Instance.new("Weld")
| |
| 266 | w.Part0,w.Part1 = last,v | |
| 267 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
| 268 | w.Parent = last | |
| 269 | end | |
| 270 | table.insert(all,v) | |
| 271 | last = v | |
| 272 | end | |
| 273 | scan(v) | |
| 274 | end | |
| 275 | end | |
| 276 | scan(LaserMinigun) | |
| 277 | ||
| 278 | scan(MiniDroid) | |
| 279 | for _,v in pairs(all) do v.Anchored = false v.CanCollide = false end | |
| 280 | MiniDroid.Parent = C | |
| 281 | LaserMinigun.Parent = C | |
| 282 | ||
| 283 | ||
| 284 | Main:Destroy() | |
| 285 | ||
| 286 | Effects = { }
| |
| 287 | Rapid = false | |
| 288 | local Player = game.Players.localPlayer | |
| 289 | local Character = Player.Character | |
| 290 | local Humanoid = Character.Humanoid | |
| 291 | local mouse = Player:GetMouse() | |
| 292 | local LeftArm = Character["Left Arm"] | |
| 293 | local RightArm = Character["Right Arm"] | |
| 294 | local LeftLeg = Character["Left Leg"] | |
| 295 | local RightLeg = Character["Right Leg"] | |
| 296 | local Head = Character.Head | |
| 297 | local Torso = Character.Torso | |
| 298 | local cam = game.Workspace.CurrentCamera | |
| 299 | local RootPart = Character.HumanoidRootPart | |
| 300 | local RootJoint = RootPart.RootJoint | |
| 301 | local equipped = false | |
| 302 | local attack = false | |
| 303 | local Anim = 'Idle' | |
| 304 | local idle = 0 | |
| 305 | local attacktype = 1 | |
| 306 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 307 | local velocity = RootPart.Velocity.y | |
| 308 | local sine = 0 | |
| 309 | local change = 1 | |
| 310 | local grabbed = false | |
| 311 | local cn = CFrame.new | |
| 312 | local mr = math.rad | |
| 313 | local angles = CFrame.Angles | |
| 314 | local ud = UDim2.new | |
| 315 | local c3 = Color3.new | |
| 316 | local slashDamage = 15 | |
| 317 | local dir = {w = 0, s = 0, a = 0, d = 0}
| |
| 318 | local dir2 = {w = 0, s = 0, a = 0, d = 0}
| |
| 319 | killcom=true | |
| 320 | trans = 1 | |
| 321 | sentrymode = false | |
| 322 | sentrywait = false | |
| 323 | local LightMod = Instance.new("Model", Character)
| |
| 324 | local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 325 | Humanoid.Animator:Destroy() | |
| 326 | npcanim = Character.Animate:Clone() | |
| 327 | ultwait=false | |
| 328 | ||
| 329 | ||
| 330 | ||
| 331 | ||
| 332 | Character.Animate:Destroy() | |
| 333 | ||
| 334 | ||
| 335 | local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1) | |
| 336 | local oldParts = {}
| |
| 337 | for _,v in pairs(Par:GetChildren()) do | |
| 338 | v.CFrame = CFrame.new(5e5, 5e5, 5e5) | |
| 339 | table.insert(oldParts, v) | |
| 340 | end | |
| 341 | local Distance = (Start-End).Magnitude | |
| 342 | local ArcScale = ArcScale or 1 | |
| 343 | local RandomScale = RandomScale or 0 | |
| 344 | local Last = Start | |
| 345 | local IterNum = 0 | |
| 346 | ||
| 347 | while Par.Parent do | |
| 348 | IterNum = IterNum + 1 | |
| 349 | local New = nil | |
| 350 | if (Last-End).Magnitude < Length then | |
| 351 | New = CFrame.new(End) | |
| 352 | else | |
| 353 | if (End-Last).Magnitude < Length*2 then | |
| 354 | RandomScale = RandomScale*0.1 | |
| 355 | ArcScale = ArcScale*0.5 | |
| 356 | end | |
| 357 | local Direct = CFrame.new(Last,End) | |
| 358 | New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale))) | |
| 359 | New = New*CFrame.new(0,0,-Length) | |
| 360 | end | |
| 361 | local Trail = nil | |
| 362 | if oldParts[IterNum] then | |
| 363 | Trail = oldParts[IterNum] | |
| 364 | - | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Really red")) or BrickColor.new("Really red")
|
| 364 | + | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Really fed")) or BrickColor.new("Really fed")
|
| 365 | Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width) | |
| 366 | Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0) | |
| 367 | oldParts[IterNum] = nil | |
| 368 | game:GetService("Debris"):AddItem(Trail, .03)
| |
| 369 | else | |
| 370 | Trail = Instance.new("Part")
| |
| 371 | Trail.Name = "Part" | |
| 372 | Trail.FormFactor = "Custom" | |
| 373 | - | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Really red")) or BrickColor.new("Really red")
|
| 373 | + | Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Really fed")) or BrickColor.new("Really fed")
|
| 374 | Trail.Transparency = 0 | |
| 375 | Trail.Anchored = true | |
| 376 | Trail.CanCollide = false | |
| 377 | Trail.Locked = true | |
| 378 | Trail.BackSurface = "SmoothNoOutlines" | |
| 379 | Trail.BottomSurface = "SmoothNoOutlines" | |
| 380 | Trail.FrontSurface = "SmoothNoOutlines" | |
| 381 | Trail.LeftSurface = "SmoothNoOutlines" | |
| 382 | Trail.RightSurface = "SmoothNoOutlines" | |
| 383 | Trail.TopSurface = "SmoothNoOutlines" | |
| 384 | Trail.Material = "Neon" | |
| 385 | Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width) | |
| 386 | Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0) | |
| 387 | Trail.Parent = Par | |
| 388 | game:GetService("Debris"):AddItem(Trail, .03)
| |
| 389 | end | |
| 390 | Last = New.p | |
| 391 | if (Last-End).Magnitude < 1 then | |
| 392 | break | |
| 393 | end | |
| 394 | end | |
| 395 | for _,v in pairs(oldParts) do | |
| 396 | v:Destroy() | |
| 397 | end | |
| 398 | end | |
| 399 | ||
| 400 | ||
| 401 | ||
| 402 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 403 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 404 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 405 | ||
| 406 | RSH, LSH = nil, nil | |
| 407 | ||
| 408 | ||
| 409 | DW = Instance.new("Weld")
| |
| 410 | DW.Name = "GuW" | |
| 411 | DW.Part0 = Torso | |
| 412 | DW.C0 = cn(0, 50, 0) | |
| 413 | DW.C1 = cn(0, 0, 0) | |
| 414 | DW.Part1 = miniHandle | |
| 415 | DW.Parent = Torso | |
| 416 | ||
| 417 | ||
| 418 | GuW = Instance.new("Weld")
| |
| 419 | GuW.Name = "GuW" | |
| 420 | GuW.Part0 = RightArm | |
| 421 | GuW.C0 = cn(0, -1, -1) | |
| 422 | GuW.C1 = cn(0, 0, 0) | |
| 423 | GuW.Part1 = Handle | |
| 424 | GuW.Parent = RightArm | |
| 425 | ||
| 426 | RW = Instance.new("Weld")
| |
| 427 | LW = Instance.new("Weld")
| |
| 428 | ||
| 429 | ||
| 430 | RH = Torso["Right Hip"] | |
| 431 | LH = Torso["Left Hip"] | |
| 432 | ||
| 433 | RSH = Torso["Right Shoulder"] | |
| 434 | LSH = Torso["Left Shoulder"] | |
| 435 | ||
| 436 | RSH.Parent = nil | |
| 437 | LSH.Parent = nil | |
| 438 | ||
| 439 | RW.Name = "RW" | |
| 440 | RW.Part0 = Torso | |
| 441 | RW.C0 = cn(1.5, 0.5, 0) | |
| 442 | RW.C1 = cn(0, 0.5, 0) | |
| 443 | RW.Part1 = RightArm | |
| 444 | RW.Parent = Torso | |
| 445 | ||
| 446 | LW.Name = "LW" | |
| 447 | LW.Part0 = Torso | |
| 448 | LW.C0 = cn(-1.5, 0.5, 0) | |
| 449 | LW.C1 = cn(0, 0.5, 0) | |
| 450 | LW.Part1 = LeftArm | |
| 451 | LW.Parent = Torso | |
| 452 | ||
| 453 | function clerp(a, b, t) | |
| 454 | local qa = {
| |
| 455 | QuaternionFromCFrame(a) | |
| 456 | } | |
| 457 | local qb = {
| |
| 458 | QuaternionFromCFrame(b) | |
| 459 | } | |
| 460 | local ax, ay, az = a.x, a.y, a.z | |
| 461 | local bx, by, bz = b.x, b.y, b.z | |
| 462 | local _t = 1 - t | |
| 463 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 464 | end | |
| 465 | ||
| 466 | function QuaternionFromCFrame(cf) | |
| 467 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 468 | local trace = m00 + m11 + m22 | |
| 469 | if trace > 0 then | |
| 470 | local s = math.sqrt(1 + trace) | |
| 471 | local recip = 0.5 / s | |
| 472 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 473 | else | |
| 474 | local i = 0 | |
| 475 | if m11 > m00 then | |
| 476 | i = 1 | |
| 477 | end | |
| 478 | if m22 > (i == 0 and m00 or m11) then | |
| 479 | i = 2 | |
| 480 | end | |
| 481 | if i == 0 then | |
| 482 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 483 | local recip = 0.5 / s | |
| 484 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 485 | elseif i == 1 then | |
| 486 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 487 | local recip = 0.5 / s | |
| 488 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 489 | elseif i == 2 then | |
| 490 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 491 | local recip = 0.5 / s | |
| 492 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 493 | end | |
| 494 | end | |
| 495 | end | |
| 496 | ||
| 497 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 498 | local xs, ys, zs = x + x, y + y, z + z | |
| 499 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 500 | local xx = x * xs | |
| 501 | local xy = x * ys | |
| 502 | local xz = x * zs | |
| 503 | local yy = y * ys | |
| 504 | local yz = y * zs | |
| 505 | local zz = z * zs | |
| 506 | 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)) | |
| 507 | end | |
| 508 | ||
| 509 | function QuaternionSlerp(a, b, t) | |
| 510 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 511 | local startInterp, finishInterp; | |
| 512 | if cosTheta >= 0.0001 then | |
| 513 | if (1 - cosTheta) > 0.0001 then | |
| 514 | local theta = math.acos(cosTheta) | |
| 515 | local invSinTheta = 1 / math.sin(theta) | |
| 516 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 517 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 518 | else | |
| 519 | startInterp = 1 - t | |
| 520 | finishInterp = t | |
| 521 | end | |
| 522 | else | |
| 523 | if (1 + cosTheta) > 0.0001 then | |
| 524 | local theta = math.acos(-cosTheta) | |
| 525 | local invSinTheta = 1 / math.sin(theta) | |
| 526 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 527 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 528 | else | |
| 529 | startInterp = t - 1 | |
| 530 | finishInterp = t | |
| 531 | end | |
| 532 | end | |
| 533 | 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 | |
| 534 | end | |
| 535 | ||
| 536 | function swait(num) | |
| 537 | if num == 0 or num == nil then | |
| 538 | game:service'RunService'.RenderStepped:wait(0) | |
| 539 | else | |
| 540 | for i = 0, num do | |
| 541 | game:service'RunService'.RenderStepped:wait(0) | |
| 542 | end | |
| 543 | end | |
| 544 | end | |
| 545 | ||
| 546 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 547 | local Create = RbxUtility.Create | |
| 548 | ||
| 549 | function RemoveOutlines(part) | |
| 550 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 551 | end | |
| 552 | ||
| 553 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 554 | local Part = Create("Part"){
| |
| 555 | formFactor = FormFactor, | |
| 556 | Parent = Parent, | |
| 557 | Reflectance = Reflectance, | |
| 558 | Transparency = Transparency, | |
| 559 | CanCollide = false, | |
| 560 | Locked = true, | |
| 561 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 562 | Name = Name, | |
| 563 | Size = Size, | |
| 564 | Material = Material, | |
| 565 | } | |
| 566 | RemoveOutlines(Part) | |
| 567 | return Part | |
| 568 | end | |
| 569 | ||
| 570 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 571 | local Msh = Create(Mesh){
| |
| 572 | Parent = Part, | |
| 573 | Offset = OffSet, | |
| 574 | Scale = Scale, | |
| 575 | } | |
| 576 | if Mesh == "SpecialMesh" then | |
| 577 | Msh.MeshType = MeshType | |
| 578 | Msh.MeshId = MeshId | |
| 579 | end | |
| 580 | return Msh | |
| 581 | end | |
| 582 | ||
| 583 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 584 | local Weld = Create("Weld"){
| |
| 585 | Parent = Parent, | |
| 586 | Part0 = Part0, | |
| 587 | Part1 = Part1, | |
| 588 | C0 = C0, | |
| 589 | C1 = C1, | |
| 590 | } | |
| 591 | return Weld | |
| 592 | end | |
| 593 | ||
| 594 | function rayCast(Position, Direction, Range, Ignore) | |
| 595 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 596 | end | |
| 597 | ||
| 598 | function CreateSound(id, par, vol, pit) | |
| 599 | coroutine.resume(coroutine.create(function() | |
| 600 | local sou = Instance.new("Sound", par or workspace)
| |
| 601 | sou.Volume = vol | |
| 602 | sou.Pitch = pit or 1 | |
| 603 | sou.SoundId = id | |
| 604 | wait() | |
| 605 | sou:play() | |
| 606 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 607 | end)) | |
| 608 | end | |
| 609 | ||
| 610 | local function getclosest(obj, distance) | |
| 611 | local last, lastx = distance + 1 | |
| 612 | for i, v in pairs(workspace:GetChildren()) do | |
| 613 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 614 | local t = v.Torso | |
| 615 | local dist = (t.Position - obj.Position).magnitude | |
| 616 | if dist <= distance then | |
| 617 | if dist < last then | |
| 618 | last = dist | |
| 619 | lastx = v | |
| 620 | end | |
| 621 | end | |
| 622 | end | |
| 623 | end | |
| 624 | return lastx | |
| 625 | end | |
| 626 | ||
| 627 | function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch) | |
| 628 | for i, v in pairs(hit:GetChildren()) do | |
| 629 | if v:IsA("Humanoid") and hit.Name ~= Character.Name then
| |
| 630 | local find = v:FindFirstChild("Hitz")
| |
| 631 | if not find then | |
| 632 | if v.Parent:findFirstChild("Head") then
| |
| 633 | local BillG = Create("BillboardGui"){
| |
| 634 | Parent = v.Parent.Head, | |
| 635 | Size = UDim2.new(1, 0, 1, 0), | |
| 636 | Adornee = v.Parent.Head, | |
| 637 | StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)), | |
| 638 | } | |
| 639 | local TL = Create("TextLabel"){
| |
| 640 | Parent = BillG, | |
| 641 | Size = UDim2.new(3, 3, 3, 3), | |
| 642 | BackgroundTransparency = 1, | |
| 643 | Text = tostring(damage).."-", | |
| 644 | TextColor3 = Color1.Color, | |
| 645 | TextStrokeColor3 = Color2.Color, | |
| 646 | TextStrokeTransparency = 0, | |
| 647 | TextXAlignment = Enum.TextXAlignment.Center, | |
| 648 | TextYAlignment = Enum.TextYAlignment.Center, | |
| 649 | FontSize = Enum.FontSize.Size18, | |
| 650 | Font = "ArialBold", | |
| 651 | } | |
| 652 | coroutine.resume(coroutine.create(function() | |
| 653 | wait(1) | |
| 654 | for i = 0, 1, .1 do | |
| 655 | wait(.1) | |
| 656 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0) | |
| 657 | end | |
| 658 | BillG:Destroy() | |
| 659 | end)) | |
| 660 | end | |
| 661 | v.Health = v.Health - damage | |
| 662 | local bool = Create("BoolValue"){
| |
| 663 | Parent = v, | |
| 664 | Name = 'Hitz', | |
| 665 | } | |
| 666 | if HSound ~= nil and HPitch ~= nil then | |
| 667 | CreateSound(HSound, hit, 1, HPitch) | |
| 668 | end | |
| 669 | game:GetService("Debris"):AddItem(bool, cooldown)
| |
| 670 | end | |
| 671 | end | |
| 672 | end | |
| 673 | end | |
| 674 | ||
| 675 | ||
| 676 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 677 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 678 | prt.Anchored = true | |
| 679 | prt.CFrame = cframe | |
| 680 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 681 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 682 | if Type == 1 or Type == nil then | |
| 683 | table.insert(Effects, {
| |
| 684 | prt, | |
| 685 | "Block1", | |
| 686 | delay, | |
| 687 | x3, | |
| 688 | y3, | |
| 689 | z3, | |
| 690 | msh | |
| 691 | }) | |
| 692 | elseif Type == 2 then | |
| 693 | table.insert(Effects, {
| |
| 694 | prt, | |
| 695 | "Block2", | |
| 696 | delay, | |
| 697 | x3, | |
| 698 | y3, | |
| 699 | z3, | |
| 700 | msh | |
| 701 | }) | |
| 702 | end | |
| 703 | end | |
| 704 | ||
| 705 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 706 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 707 | prt.Anchored = true | |
| 708 | prt.CFrame = cframe | |
| 709 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 710 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 711 | table.insert(Effects, {
| |
| 712 | prt, | |
| 713 | "Cylinder", | |
| 714 | delay, | |
| 715 | x3, | |
| 716 | y3, | |
| 717 | z3, | |
| 718 | msh | |
| 719 | }) | |
| 720 | end | |
| 721 | ||
| 722 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 723 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 724 | prt.Anchored = true | |
| 725 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
| 726 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 727 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 728 | table.insert(Effects, {
| |
| 729 | prt, | |
| 730 | "Cylinder", | |
| 731 | delay, | |
| 732 | x3, | |
| 733 | y3, | |
| 734 | z3, | |
| 735 | msh | |
| 736 | }) | |
| 737 | end | |
| 738 | ||
| 739 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 740 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 741 | prt.Anchored = true | |
| 742 | prt.CFrame = cframe | |
| 743 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 744 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 745 | table.insert(Effects, {
| |
| 746 | prt, | |
| 747 | "Cylinder", | |
| 748 | delay, | |
| 749 | x3, | |
| 750 | y3, | |
| 751 | z3, | |
| 752 | msh | |
| 753 | }) | |
| 754 | end | |
| 755 | ||
| 756 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 757 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 758 | prt.Anchored = true | |
| 759 | prt.CFrame = cframe | |
| 760 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 761 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 762 | table.insert(Effects, {
| |
| 763 | prt, | |
| 764 | "Cylinder", | |
| 765 | delay, | |
| 766 | x3, | |
| 767 | y3, | |
| 768 | z3, | |
| 769 | msh | |
| 770 | }) | |
| 771 | end | |
| 772 | ||
| 773 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 774 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 775 | prt.Anchored = true | |
| 776 | prt.CFrame = cframe | |
| 777 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 778 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 779 | table.insert(Effects, {
| |
| 780 | prt, | |
| 781 | "Cylinder", | |
| 782 | delay, | |
| 783 | x3, | |
| 784 | y3, | |
| 785 | z3, | |
| 786 | msh | |
| 787 | }) | |
| 788 | end | |
| 789 | ||
| 790 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 791 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 792 | prt.Anchored = true | |
| 793 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 794 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 795 | local num = math.random(10, 50) / 1000 | |
| 796 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 797 | table.insert(Effects, {
| |
| 798 | prt, | |
| 799 | "Shatter", | |
| 800 | num, | |
| 801 | prt.CFrame, | |
| 802 | math.random() - math.random(), | |
| 803 | 0, | |
| 804 | math.random(50, 100) / 100 | |
| 805 | }) | |
| 806 | end | |
| 807 | ||
| 808 | ||
| 809 | ||
| 810 | ||
| 811 | for i = 0, 1, 0.05 do | |
| 812 | swait() | |
| 813 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1) | |
| 814 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1) | |
| 815 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
| 816 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3) | |
| 817 | if Torsovelocity > 2 then | |
| 818 | 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) | |
| 819 | 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) | |
| 820 | 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) | |
| 821 | elseif Torsovelocity < 1 then | |
| 822 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
| 823 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1) | |
| 824 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1) | |
| 825 | end | |
| 826 | end | |
| 827 | attack = false | |
| 828 | ||
| 829 | ||
| 830 | ||
| 831 | game:GetService'RunService'.Stepped:connect(function() | |
| 832 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 833 | velocity = RootPart.Velocity.y | |
| 834 | sine = sine + change | |
| 835 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 836 | if equipped == true or equipped == false then | |
| 837 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 838 | Anim = "Jump" | |
| 839 | if attack == false then | |
| 840 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
| 841 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
| 842 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 843 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 844 | RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1) | |
| 845 | LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1) | |
| 846 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 847 | DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,0 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 848 | end | |
| 849 | elseif RootPart.Velocity.y < 1 and hit == nil then | |
| 850 | Anim = "Fall" | |
| 851 | if attack == false then | |
| 852 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
| 853 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1) | |
| 854 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(65), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(55 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 856 | RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
| 857 | LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1) | |
| 858 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 859 | DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,8 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 860 | end | |
| 861 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 862 | Anim = "Idle" | |
| 863 | if attack == false then | |
| 864 | change = 1 | |
| 865 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1) | |
| 866 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1) | |
| 867 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 868 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 869 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 870 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 871 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 872 | ||
| 873 | DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 874 | end | |
| 875 | elseif Torsovelocity > 1 and hit ~= nil then | |
| 876 | Anim = "Walk" | |
| 877 | if attack == false then | |
| 878 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2) | |
| 879 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2) | |
| 880 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3) | |
| 881 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2) | |
| 882 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 883 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 884 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 885 | DW.C0 = clerp(DW.C0, CFrame.new(3+.1 * math.cos(sine / 5) , 3.05 - .1 * math.cos(sine / 3), 2.5 + .5 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 886 | end | |
| 887 | ||
| 888 | ||
| 889 | ||
| 890 | ||
| 891 | ||
| 892 | ||
| 893 | ||
| 894 | ||
| 895 | ||
| 896 | ||
| 897 | ||
| 898 | ||
| 899 | ||
| 900 | ||
| 901 | ||
| 902 | ||
| 903 | ||
| 904 | ||
| 905 | end | |
| 906 | end | |
| 907 | if #Effects > 0 then | |
| 908 | for e = 1, #Effects do | |
| 909 | if Effects[e] ~= nil then | |
| 910 | local Thing = Effects[e] | |
| 911 | if Thing ~= nil then | |
| 912 | local Part = Thing[1] | |
| 913 | local Mode = Thing[2] | |
| 914 | local Delay = Thing[3] | |
| 915 | local IncX = Thing[4] | |
| 916 | local IncY = Thing[5] | |
| 917 | local IncZ = Thing[6] | |
| 918 | if Thing[1].Transparency <= 1 then | |
| 919 | if Thing[2] == "Block1" then | |
| 920 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 921 | local Mesh = Thing[1].Mesh | |
| 922 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 923 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 924 | elseif Thing[2] == "Block2" then | |
| 925 | Thing[1].CFrame = Thing[1].CFrame | |
| 926 | local Mesh = Thing[7] | |
| 927 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 928 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 929 | elseif Thing[2] == "Cylinder" then | |
| 930 | local Mesh = Thing[1].Mesh | |
| 931 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 932 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 933 | elseif Thing[2] == "Blood" then | |
| 934 | local Mesh = Thing[7] | |
| 935 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0) | |
| 936 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 937 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 938 | elseif Thing[2] == "Elec" then | |
| 939 | local Mesh = Thing[1].Mesh | |
| 940 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 941 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 942 | elseif Thing[2] == "Disappear" then | |
| 943 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 944 | elseif Thing[2] == "Shatter" then | |
| 945 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 946 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 947 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 948 | Thing[6] = Thing[6] + Thing[5] | |
| 949 | end | |
| 950 | else | |
| 951 | Part.Parent = nil | |
| 952 | table.remove(Effects, e) | |
| 953 | end | |
| 954 | end | |
| 955 | end | |
| 956 | end | |
| 957 | end | |
| 958 | end) | |
| 959 | ||
| 960 | ||
| 961 | ||
| 962 | ||
| 963 | ||
| 964 | ||
| 965 | ||
| 966 | ||
| 967 | ||
| 968 | ||
| 969 | ||
| 970 | ||
| 971 | ||
| 972 | ||
| 973 | ||
| 974 | ||
| 975 | ||
| 976 | ||
| 977 | ||
| 978 | ||
| 979 | ||
| 980 | ||
| 981 | ||
| 982 | ||
| 983 | ||
| 984 | ||
| 985 | ||
| 986 | ||
| 987 | RemoveOutlines = function(part) | |
| 988 | ||
| 989 | part.TopSurface = 10 | |
| 990 | end | |
| 991 | ||
| 992 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 993 | ||
| 994 | 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})
| |
| 995 | RemoveOutlines(Part) | |
| 996 | return Part | |
| 997 | end | |
| 998 | ||
| 999 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1000 | ||
| 1001 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1002 | if Mesh == "SpecialMesh" then | |
| 1003 | Msh.MeshType = MeshType | |
| 1004 | Msh.MeshId = MeshId | |
| 1005 | end | |
| 1006 | return Msh | |
| 1007 | end | |
| 1008 | ||
| 1009 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 1010 | ||
| 1011 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 1012 | return Weld | |
| 1013 | end | |
| 1014 | ||
| 1015 | ||
| 1016 | ||
| 1017 | ||
| 1018 | ||
| 1019 | ||
| 1020 | ||
| 1021 | ||
| 1022 | ||
| 1023 | ||
| 1024 | ||
| 1025 | ||
| 1026 | ||
| 1027 | ||
| 1028 | ||
| 1029 | ||
| 1030 | CFuncs = {
| |
| 1031 | Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
| |
| 1032 | ||
| 1033 | 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})
| |
| 1034 | RemoveOutlines(Part) | |
| 1035 | return Part | |
| 1036 | end | |
| 1037 | } | |
| 1038 | , | |
| 1039 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
| |
| 1040 | ||
| 1041 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1042 | if Mesh == "SpecialMesh" then | |
| 1043 | Msh.MeshType = MeshType | |
| 1044 | Msh.MeshId = MeshId | |
| 1045 | end | |
| 1046 | return Msh | |
| 1047 | end | |
| 1048 | } | |
| 1049 | , | |
| 1050 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
| |
| 1051 | ||
| 1052 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1053 | if Mesh == "SpecialMesh" then | |
| 1054 | Msh.MeshType = MeshType | |
| 1055 | Msh.MeshId = MeshId | |
| 1056 | end | |
| 1057 | return Msh | |
| 1058 | end | |
| 1059 | } | |
| 1060 | , | |
| 1061 | Weld = {Create = function(Parent, Part0, Part1, C0, C1)
| |
| 1062 | ||
| 1063 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 1064 | return Weld | |
| 1065 | end | |
| 1066 | } | |
| 1067 | , | |
| 1068 | Sound = {Create = function(id, par, vol, pit)
| |
| 1069 | ||
| 1070 | coroutine.resume(coroutine.create(function() | |
| 1071 | ||
| 1072 | local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
| |
| 1073 | wait() | |
| 1074 | S:play() | |
| 1075 | game:GetService("Debris"):AddItem(S, 6)
| |
| 1076 | end | |
| 1077 | )) | |
| 1078 | end | |
| 1079 | } | |
| 1080 | , | |
| 1081 | articleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
| |
| 1082 | ||
| 1083 | 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})
| |
| 1084 | return fp | |
| 1085 | end | |
| 1086 | } | |
| 1087 | } | |
| 1088 | ||
| 1089 | ||
| 1090 | ||
| 1091 | ||
| 1092 | ||
| 1093 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1094 | ||
| 1095 | if hit.Parent == nil then | |
| 1096 | return | |
| 1097 | end | |
| 1098 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 1099 | for _,v in pairs(hit.Parent:children()) do | |
| 1100 | if v:IsA("Humanoid") then
| |
| 1101 | h = v | |
| 1102 | end | |
| 1103 | end | |
| 1104 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
| |
| 1105 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1106 | return | |
| 1107 | end | |
| 1108 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
| |
| 1109 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1110 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1111 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 1112 | end | |
| 1113 | local Damage = math.random(minim, maxim) | |
| 1114 | local blocked = false | |
| 1115 | local block = hit.Parent:findFirstChild("Block")
| |
| 1116 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1117 | blocked = true | |
| 1118 | block.Value = block.Value - 1 | |
| 1119 | print(block.Value) | |
| 1120 | end | |
| 1121 | if blocked == false then | |
| 1122 | h.Health = h.Health - Damage | |
| 1123 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1124 | else | |
| 1125 | h.Health = h.Health - Damage / 2 | |
| 1126 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1127 | end | |
| 1128 | if Type == "Knockdown" then | |
| 1129 | local hum = hit.Parent.Humanoid | |
| 1130 | hum.PlatformStand = true | |
| 1131 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1132 | ||
| 1133 | swait(1) | |
| 1134 | HHumanoid.PlatformStand = false | |
| 1135 | end | |
| 1136 | ), hum) | |
| 1137 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1138 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1139 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
| |
| 1140 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1141 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1142 | elseif Type == "Normal" then | |
| 1143 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
| |
| 1144 | if knockback > 0 then | |
| 1145 | vp.Parent = hit.Parent.HumanoidRootPart | |
| 1146 | end | |
| 1147 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1148 | elseif Type == "Up" then | |
| 1149 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1150 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1151 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 1152 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1153 | elseif Type == "Snare" then | |
| 1154 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1155 | local bp = Create("BodyPosition")({P = 200, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position + Vector3.new(0, -5, 0), Parent = hit.Parent.HumanoidRootPart})
| |
| 1156 | local rl2 = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500, 500, 500) * 10, angularvelocity = Vector3.new(math.random(-15,15), math.random(-0, 0), math.random(-15,15)), Parent = hit})
| |
| 1157 | game:GetService("Debris"):AddItem(rl2, 0.01)
| |
| 1158 | game:GetService("Debris"):AddItem(bp, .1)
| |
| 1159 | hit.Parent.Humanoid.PlatformStand = true | |
| 1160 | ||
| 1161 | ||
| 1162 | wait(.1) | |
| 1163 | hit.Parent.Humanoid.PlatformStand = false | |
| 1164 | elseif Type == "Freeze" then | |
| 1165 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position, Parent = hit.Parent.HumanoidRootPart})
| |
| 1166 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.HumanoidRootPart, cframe = hit.Parent.HumanoidRootPart.CFrame})
| |
| 1167 | hit.Parent.HumanoidRootPart.Anchored = true | |
| 1168 | coroutine.resume(coroutine.create(function(Part) | |
| 1169 | ||
| 1170 | swait(1.5) | |
| 1171 | Part.Anchored = false | |
| 1172 | end | |
| 1173 | ), hit.Parent.HumanoidRootPart) | |
| 1174 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1175 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1176 | end | |
| 1177 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 1178 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1179 | c = Instance.new("ObjectValue")
| |
| 1180 | c.Name = "creator" | |
| 1181 | c.Value = Player | |
| 1182 | c.Parent = h | |
| 1183 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1184 | end | |
| 1185 | end | |
| 1186 | ||
| 1187 | ShowDamage = function(Pos, Text, Time, Color) | |
| 1188 | ||
| 1189 | local Rate = 0.033333333333333 | |
| 1190 | if not Pos then | |
| 1191 | local Pos = Vector3.new(0, 0, 0) | |
| 1192 | end | |
| 1193 | local Text = Text or "" | |
| 1194 | local Time = Time or 2 | |
| 1195 | if not Color then | |
| 1196 | local Color = Color3.new(1, 0, 1) | |
| 1197 | end | |
| 1198 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1199 | EffectPart.Anchored = true | |
| 1200 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 1201 | 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})
| |
| 1202 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1203 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1204 | delay(0, function() | |
| 1205 | ||
| 1206 | local Frames = Time / Rate | |
| 1207 | for Frame = 1, Frames do | |
| 1208 | wait(Rate) | |
| 1209 | local Percent = Frame / Frames | |
| 1210 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1211 | TextLabel.TextTransparency = Percent | |
| 1212 | end | |
| 1213 | if EffectPart and EffectPart.Parent then | |
| 1214 | EffectPart:Destroy() | |
| 1215 | end | |
| 1216 | end | |
| 1217 | ) | |
| 1218 | end | |
| 1219 | ||
| 1220 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 1221 | ||
| 1222 | for _,c in pairs(workspace:children()) do | |
| 1223 | local hum = c:findFirstChild("Humanoid")
| |
| 1224 | if hum ~= nil then | |
| 1225 | local head = c:findFirstChild("HumanoidRootPart")
| |
| 1226 | if head ~= nil then | |
| 1227 | local targ = head.Position - Part.Position | |
| 1228 | local mag = targ.magnitude | |
| 1229 | if mag <= magni and c.Name ~= Player.Name then | |
| 1230 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 1231 | end | |
| 1232 | end | |
| 1233 | end | |
| 1234 | end | |
| 1235 | end | |
| 1236 | MagniKILL = function(Part, magni, knock, Type) | |
| 1237 | ||
| 1238 | for _,c in pairs(workspace:children()) do | |
| 1239 | local hum = c:findFirstChild("Humanoid")
| |
| 1240 | if hum ~= nil then | |
| 1241 | local head = c:findFirstChild("Head")
| |
| 1242 | if head ~= nil then | |
| 1243 | local targ = head.Position - Part.Position | |
| 1244 | local mag = targ.magnitude | |
| 1245 | if mag <= magni and c.Name ~= Player.Name then | |
| 1246 | hum.Health = 0 | |
| 1247 | end | |
| 1248 | end | |
| 1249 | end | |
| 1250 | end | |
| 1251 | end | |
| 1252 | ||
| 1253 | EffectModel = Instance.new("Model", Character)
| |
| 1254 | EffectModel.Name = "Effects" | |
| 1255 | Effects = {
| |
| 1256 | Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
| |
| 1257 | ||
| 1258 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1259 | prt.Anchored = true | |
| 1260 | prt.CFrame = cframe | |
| 1261 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1262 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1263 | if Type == 1 or Type == nil then | |
| 1264 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 1265 | else | |
| 1266 | if Type == 2 then | |
| 1267 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 1268 | end | |
| 1269 | end | |
| 1270 | end | |
| 1271 | } | |
| 1272 | , | |
| 1273 | Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1274 | ||
| 1275 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1276 | prt.Anchored = true | |
| 1277 | prt.CFrame = cframe | |
| 1278 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1279 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1280 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1281 | end | |
| 1282 | } | |
| 1283 | , | |
| 1284 | Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1285 | ||
| 1286 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1287 | prt.Anchored = true | |
| 1288 | prt.CFrame = cframe | |
| 1289 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1290 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1291 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1292 | end | |
| 1293 | } | |
| 1294 | , | |
| 1295 | Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1296 | ||
| 1297 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1298 | prt.Anchored = true | |
| 1299 | prt.CFrame = cframe | |
| 1300 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1301 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1302 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1303 | end | |
| 1304 | } | |
| 1305 | , | |
| 1306 | Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1307 | ||
| 1308 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1309 | prt.Anchored = true | |
| 1310 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1311 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1312 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1313 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1314 | end | |
| 1315 | } | |
| 1316 | , | |
| 1317 | Break = {Create = function(brickcolor, cframe, x1, y1, z1)
| |
| 1318 | ||
| 1319 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1320 | prt.Anchored = true | |
| 1321 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1322 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1323 | local num = math.random(10, 50) / 1000 | |
| 1324 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1325 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
| |
| 1326 | end | |
| 1327 | } | |
| 1328 | } | |
| 1329 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1330 | ||
| 1331 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1332 | prt.Anchored = true | |
| 1333 | prt.CFrame = cframe | |
| 1334 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1335 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1336 | if Type == 1 or Type == nil then | |
| 1337 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 1338 | else | |
| 1339 | if Type == 2 then | |
| 1340 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 1341 | end | |
| 1342 | end | |
| 1343 | end | |
| 1344 | ||
| 1345 | CreateSound = function(id, par, vol, pit) | |
| 1346 | ||
| 1347 | coroutine.resume(coroutine.create(function() | |
| 1348 | ||
| 1349 | local sou = Instance.new("Sound", par or workspace)
| |
| 1350 | sou.Volume = vol | |
| 1351 | sou.Pitch = pit or 1 | |
| 1352 | sou.SoundId = id | |
| 1353 | swait() | |
| 1354 | sou:play() | |
| 1355 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 1356 | end | |
| 1357 | )) | |
| 1358 | end | |
| 1359 | ||
| 1360 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1361 | ||
| 1362 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1363 | prt.Anchored = true | |
| 1364 | prt.CFrame = cframe | |
| 1365 | prt.Material = "Neon" | |
| 1366 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1367 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1368 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1369 | ||
| 1370 | for i = 0, 6, delay do | |
| 1371 | swait() | |
| 1372 | Part.Transparency = i | |
| 1373 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 1374 | end | |
| 1375 | Part.Parent = nil | |
| 1376 | end | |
| 1377 | ), prt, msh) | |
| 1378 | end | |
| 1379 | LigLaser = function(mouse, partt, SpreadAmount) | |
| 1380 | ||
| 1381 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1382 | local MainPos = partt.Position | |
| 1383 | local MainPos2 = mouse + SpreadVectors | |
| 1384 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1385 | local speed = 1000 | |
| 1386 | local num = 1 | |
| 1387 | coroutine.resume(coroutine.create(function() | |
| 1388 | ||
| 1389 | repeat | |
| 1390 | swait() | |
| 1391 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1392 | local mag = (MainPos - pos).magnitude | |
| 1393 | ||
| 1394 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1395 | num = num - 1 | |
| 1396 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1397 | if hit ~= nil then | |
| 1398 | num = 0 | |
| 1399 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1400 | refpart.Anchored = true | |
| 1401 | refpart.CFrame = CFrame.new(pos) | |
| 1402 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1403 | end | |
| 1404 | ||
| 1405 | do | |
| 1406 | if num <= 0 then | |
| 1407 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1408 | refpart.Anchored = true | |
| 1409 | refpart.CFrame = CFrame.new(pos) | |
| 1410 | if hit ~= nil then | |
| 1411 | for i = 0,5 do | |
| 1412 | ||
| 1413 | makeLightning(LightMod, partt.Position, refpart.Position, 0.17, 4, 30, 1, 10) | |
| 1414 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1415 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1415 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1416 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1416 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
|
| 1417 | MagniDamage(refpart, 3, .05, .2, 6, "Normal") | |
| 1418 | swait() | |
| 1419 | end | |
| 1420 | ||
| 1421 | ||
| 1422 | end | |
| 1423 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1424 | end | |
| 1425 | end | |
| 1426 | until num <= 0 | |
| 1427 | end | |
| 1428 | )) | |
| 1429 | end | |
| 1430 | bigLigLaser = function(mouse, partt, SpreadAmount) | |
| 1431 | ||
| 1432 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1433 | local MainPos = partt.Position | |
| 1434 | local MainPos2 = mouse + SpreadVectors | |
| 1435 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1436 | local speed = 1000 | |
| 1437 | local num = 1 | |
| 1438 | coroutine.resume(coroutine.create(function() | |
| 1439 | ||
| 1440 | repeat | |
| 1441 | swait() | |
| 1442 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1443 | local mag = (MainPos - pos).magnitude | |
| 1444 | ||
| 1445 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1446 | num = num - 1 | |
| 1447 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1448 | if hit ~= nil then | |
| 1449 | num = 0 | |
| 1450 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1451 | refpart.Anchored = true | |
| 1452 | refpart.CFrame = CFrame.new(pos) | |
| 1453 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1454 | end | |
| 1455 | ||
| 1456 | do | |
| 1457 | if num <= 0 then | |
| 1458 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1459 | refpart.Anchored = true | |
| 1460 | refpart.CFrame = CFrame.new(pos) | |
| 1461 | if hit ~= nil then | |
| 1462 | for i = 0,1 do | |
| 1463 | ||
| 1464 | makeLightning(LightMod, partt.Position, refpart.Position, 0.3, 4, 20, 1, 10) | |
| 1465 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1466 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1466 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1467 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1467 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
|
| 1468 | MagniDamage(refpart, 3, 5, 10, 8, "Snare") | |
| 1469 | swait() | |
| 1470 | end | |
| 1471 | ||
| 1472 | ||
| 1473 | end | |
| 1474 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1475 | end | |
| 1476 | end | |
| 1477 | until num <= 0 | |
| 1478 | end | |
| 1479 | )) | |
| 1480 | end | |
| 1481 | ||
| 1482 | ||
| 1483 | shoottraildd = function(mouse, partt, SpreadAmount) | |
| 1484 | ||
| 1485 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1486 | local MainPos = partt.Position | |
| 1487 | local MainPos2 = mouse + SpreadVectors | |
| 1488 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1489 | local speed = 1000 | |
| 1490 | local num = 1 | |
| 1491 | coroutine.resume(coroutine.create(function() | |
| 1492 | ||
| 1493 | repeat | |
| 1494 | swait() | |
| 1495 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1496 | local mag = (MainPos - pos).magnitude | |
| 1497 | - | Laser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
|
| 1497 | + | Laser(BrickColor.new("Really fed"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
|
| 1498 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1499 | num = num - 1 | |
| 1500 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1501 | if hit ~= nil then | |
| 1502 | num = 0 | |
| 1503 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1504 | refpart.Anchored = true | |
| 1505 | refpart.CFrame = CFrame.new(pos) | |
| 1506 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1507 | end | |
| 1508 | do | |
| 1509 | if num <= 0 then | |
| 1510 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1511 | refpart.Anchored = true | |
| 1512 | refpart.CFrame = CFrame.new(pos) | |
| 1513 | if hit ~= nil then | |
| 1514 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1515 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1515 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1516 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1516 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1517 | MagniDamage(refpart, 3, 10, 15, 0, "Normal") | |
| 1518 | end | |
| 1519 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1520 | end | |
| 1521 | end | |
| 1522 | until num <= 0 | |
| 1523 | end | |
| 1524 | )) | |
| 1525 | end | |
| 1526 | ||
| 1527 | shoottraildd2 = function(mouse, partt, SpreadAmount) | |
| 1528 | ||
| 1529 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1530 | local MainPos = partt.Position | |
| 1531 | local MainPos2 = mouse + SpreadVectors | |
| 1532 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1533 | local speed = 1000 | |
| 1534 | local num = 1 | |
| 1535 | coroutine.resume(coroutine.create(function() | |
| 1536 | ||
| 1537 | repeat | |
| 1538 | swait() | |
| 1539 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1540 | local mag = (MainPos - pos).magnitude | |
| 1541 | - | Laser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
|
| 1541 | + | Laser(BrickColor.new("Really fed"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
|
| 1542 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1543 | num = num - 1 | |
| 1544 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1545 | if hit ~= nil then | |
| 1546 | num = 0 | |
| 1547 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1548 | refpart.Anchored = true | |
| 1549 | refpart.CFrame = CFrame.new(pos) | |
| 1550 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1551 | end | |
| 1552 | do | |
| 1553 | if num <= 0 then | |
| 1554 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1555 | refpart.Anchored = true | |
| 1556 | refpart.CFrame = CFrame.new(pos) | |
| 1557 | if hit ~= nil then | |
| 1558 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1559 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1559 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1560 | - | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1560 | + | BlockEffect(BrickColor.new("Really fed"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
|
| 1561 | MagniDamage(refpart, 3, 20, 40, 0, "Snare") | |
| 1562 | end | |
| 1563 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1564 | end | |
| 1565 | end | |
| 1566 | until num <= 0 | |
| 1567 | end | |
| 1568 | )) | |
| 1569 | end | |
| 1570 | ||
| 1571 | ||
| 1572 | function idleanim2() | |
| 1573 | for i = 0, 1, 0.1 do | |
| 1574 | swait() | |
| 1575 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(10)), .2) | |
| 1576 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 0.7 * math.cos(sine / 25)), math.rad(0), math.rad(-10)), .2) | |
| 1577 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.0) * angles(math.rad(0), math.rad(0 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1578 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(0 - 1 * math.cos(sine / 25))), 0.2) | |
| 1579 | RH.C0 = clerp(RH.C0, cn(1, -.7 - 0.0 * math.cos(sine / 25), -.3) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(50 + 1.1 * math.cos(sine / 25))), .2) | |
| 1580 | LH.C0 = clerp(LH.C0, cn(-1, -.6 - 0.0 * math.cos(sine / 25), -.3) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(-40 + 1.1 * math.cos(sine / 25))), .2) | |
| 1581 | GuW.C0 = clerp(GuW.C0, CFrame.new(-1.4,-1.5,0) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1) | |
| 1582 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1583 | end | |
| 1584 | end | |
| 1585 | ||
| 1586 | function MinShotAttackAnim1() | |
| 1587 | ||
| 1588 | for i = 0, 1, 0.3 do | |
| 1589 | Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z)) | |
| 1590 | swait() | |
| 1591 | ||
| 1592 | if Torsovelocity > 1 then | |
| 1593 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0), math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1594 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5))), .2) | |
| 1595 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1596 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1597 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4)+ RootPart.RotVelocity.Y / 10)), .3) | |
| 1598 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4))), .3) | |
| 1599 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1600 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1601 | elseif Torsovelocity < 1 then | |
| 1602 | ||
| 1603 | ||
| 1604 | ||
| 1605 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1606 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1607 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1608 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1609 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1610 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1611 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1612 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1613 | end | |
| 1614 | end | |
| 1615 | ||
| 1616 | ||
| 1617 | ||
| 1618 | ||
| 1619 | ||
| 1620 | ||
| 1621 | ||
| 1622 | ||
| 1623 | end | |
| 1624 | ||
| 1625 | ||
| 1626 | function ShotAttackAnim1() | |
| 1627 | for i = 0, 1, 0.3 do | |
| 1628 | ||
| 1629 | swait() | |
| 1630 | ||
| 1631 | if Torsovelocity > 1 then | |
| 1632 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1633 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2) | |
| 1634 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1635 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1636 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1637 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1638 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1639 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1640 | elseif Torsovelocity < 1 then | |
| 1641 | ||
| 1642 | ||
| 1643 | ||
| 1644 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1645 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1646 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1647 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1648 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1649 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1650 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1651 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1652 | end | |
| 1653 | end | |
| 1654 | ||
| 1655 | ||
| 1656 | ||
| 1657 | ||
| 1658 | ||
| 1659 | ||
| 1660 | ||
| 1661 | ||
| 1662 | end | |
| 1663 | ||
| 1664 | ||
| 1665 | function ShotAttackAnim2() | |
| 1666 | for i = 0, 2, 0.1 do | |
| 1667 | swait() | |
| 1668 | ||
| 1669 | if Torsovelocity > 2 then | |
| 1670 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2) | |
| 1671 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
| 1672 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3) | |
| 1673 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2) | |
| 1674 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1675 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1676 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1677 | DW.C0 = clerp(DW.C0, CFrame.new(4+.1 * math.cos(sine / 5) , 7.05 - .1 * math.cos(sine / 3), 2.5 + .1 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 1678 | elseif Torsovelocity < 1 then | |
| 1679 | ||
| 1680 | ||
| 1681 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1) | |
| 1682 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1) | |
| 1683 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1) | |
| 1684 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1) | |
| 1685 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 1686 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
| 1687 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1) | |
| 1688 | ||
| 1689 | DW.C0 = clerp(DW.C0, CFrame.new(2 + .1 * math.cos(sine / 5) ,7 + -.2 * math.cos(sine / 20), 0 + .1 * math.cos(sine / 5)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05) | |
| 1690 | end | |
| 1691 | end | |
| 1692 | end | |
| 1693 | ||
| 1694 | function ShotAttackAnim3() | |
| 1695 | for i = 0, 2, 0.1 do | |
| 1696 | swait() | |
| 1697 | ||
| 1698 | if Torsovelocity > 2 then | |
| 1699 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1700 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
| 1701 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1702 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1703 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1704 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1705 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1706 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1707 | elseif Torsovelocity < 1 then | |
| 1708 | ||
| 1709 | ||
| 1710 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1711 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1712 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1713 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1714 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(4 + 2 * math.cos(sine / 25))), .2) | |
| 1715 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(-20 + 2 * math.cos(sine / 25))), .2) | |
| 1716 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1717 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1718 | end | |
| 1719 | end | |
| 1720 | ||
| 1721 | ||
| 1722 | ||
| 1723 | for i = 0, 1, 0.4 do | |
| 1724 | swait() | |
| 1725 | ||
| 1726 | if Torsovelocity > 2 then | |
| 1727 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2) | |
| 1728 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2) | |
| 1729 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1) | |
| 1730 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1) | |
| 1731 | RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1732 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3) | |
| 1733 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1734 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1735 | elseif Torsovelocity < 1 then | |
| 1736 | ||
| 1737 | ||
| 1738 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1739 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1740 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1) | |
| 1741 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1) | |
| 1742 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2) | |
| 1743 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2) | |
| 1744 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1745 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1746 | end | |
| 1747 | end | |
| 1748 | end | |
| 1749 | ||
| 1750 | ||
| 1751 | ||
| 1752 | ||
| 1753 | ||
| 1754 | ||
| 1755 | ||
| 1756 | ||
| 1757 | function holding() | |
| 1758 | ||
| 1759 | ||
| 1760 | ||
| 1761 | ||
| 1762 | while Rapid == true and attack==true and sentrymode == false do | |
| 1763 | ||
| 1764 | attack = true | |
| 1765 | ||
| 1766 | ||
| 1767 | MinShotAttackAnim1() | |
| 1768 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1768 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1769 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1770 | shoottraildd(mouse.Hit.p, gun1, .55) | |
| 1771 | ||
| 1772 | MinShotAttackAnim1() | |
| 1773 | - | BlockEffect(BrickColor.new("Really red"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1773 | + | BlockEffect(BrickColor.new("Really fed"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1774 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1775 | shoottraildd(mouse.Hit.p, gun2, .55) | |
| 1776 | MinShotAttackAnim1() | |
| 1777 | - | BlockEffect(BrickColor.new("Really red"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1777 | + | BlockEffect(BrickColor.new("Really fed"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1778 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1779 | shoottraildd(mouse.Hit.p, gun3, .55) | |
| 1780 | MinShotAttackAnim1() | |
| 1781 | - | BlockEffect(BrickColor.new("Really red"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1781 | + | BlockEffect(BrickColor.new("Really fed"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1782 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
| |
| 1783 | shoottraildd(mouse.Hit.p, gun4, .55) | |
| 1784 | end | |
| 1785 | ||
| 1786 | ||
| 1787 | ||
| 1788 | attack = false | |
| 1789 | end | |
| 1790 | ||
| 1791 | mouse.KeyUp:connect(function(k) | |
| 1792 | if k == "z" and Rapid == true then | |
| 1793 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", RootPart, 1, 2)
| |
| 1794 | Rapid = false | |
| 1795 | - | Effects.Ring.Create (BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
|
| 1795 | + | Effects.Ring.Create (BrickColor.new("Really fed"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
|
| 1796 | - | Effects.Ring.Create (BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
|
| 1796 | + | Effects.Ring.Create (BrickColor.new("Really fed"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
|
| 1797 | ||
| 1798 | end | |
| 1799 | end) | |
| 1800 | ||
| 1801 | ||
| 1802 | ||
| 1803 | mouse.KeyDown:connect(function(k) | |
| 1804 | if k == "z" and sentrymode == false and attack == false then | |
| 1805 | attack = true | |
| 1806 | Rapid = true | |
| 1807 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=162611981", RootPart, 1, 1)
| |
| 1808 | MinShotAttackAnim1() | |
| 1809 | MinShotAttackAnim1() | |
| 1810 | for i = 0,10 do | |
| 1811 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1811 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1812 | - | BlockEffect(BrickColor.new("Really red"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1812 | + | BlockEffect(BrickColor.new("Really fed"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1813 | - | BlockEffect(BrickColor.new("Really red"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1813 | + | BlockEffect(BrickColor.new("Really fed"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1814 | - | BlockEffect(BrickColor.new("Really red"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1814 | + | BlockEffect(BrickColor.new("Really fed"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
|
| 1815 | - | Effects.Ring.Create (BrickColor.new("Really red"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
|
| 1815 | + | Effects.Ring.Create (BrickColor.new("Really fed"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
|
| 1816 | MinShotAttackAnim1() | |
| 1817 | end | |
| 1818 | holding() | |
| 1819 | end | |
| 1820 | end) | |
| 1821 | ||
| 1822 | ||
| 1823 | ||
| 1824 | ||
| 1825 | mouse.KeyDown:connect(function(k) | |
| 1826 | ||
| 1827 | ||
| 1828 | if attack == false and k == "x" and sentrymode == false then | |
| 1829 | ||
| 1830 | ||
| 1831 | ||
| 1832 | ||
| 1833 | attack = true | |
| 1834 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=316030607", LaPart, 5, 3)
| |
| 1835 | for i=1,5 do | |
| 1836 | ||
| 1837 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1837 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1838 | - | BlockEffect(BrickColor.new("Really red"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1838 | + | BlockEffect(BrickColor.new("Really fed"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1839 | - | BlockEffect(BrickColor.new("Really red"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1839 | + | BlockEffect(BrickColor.new("Really fed"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1840 | - | BlockEffect(BrickColor.new("Really red"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1840 | + | BlockEffect(BrickColor.new("Really fed"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1841 | ShotAttackAnim1() | |
| 1842 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1842 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1843 | - | BlockEffect(BrickColor.new("Really red"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1843 | + | BlockEffect(BrickColor.new("Really fed"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1844 | - | BlockEffect(BrickColor.new("Really red"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1844 | + | BlockEffect(BrickColor.new("Really fed"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1845 | - | BlockEffect(BrickColor.new("Really red"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1845 | + | BlockEffect(BrickColor.new("Really fed"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1846 | ShotAttackAnim1() | |
| 1847 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1847 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1848 | - | BlockEffect(BrickColor.new("Really red"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1848 | + | BlockEffect(BrickColor.new("Really fed"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1849 | - | BlockEffect(BrickColor.new("Really red"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1849 | + | BlockEffect(BrickColor.new("Really fed"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1850 | - | BlockEffect(BrickColor.new("Really red"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1850 | + | BlockEffect(BrickColor.new("Really fed"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
|
| 1851 | ||
| 1852 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
|
| 1852 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
|
| 1853 | ShotAttackAnim1() | |
| 1854 | end | |
| 1855 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=633129949", LaPart, 10, 1)
| |
| 1856 | for i=1,2 do | |
| 1857 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
|
| 1857 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
|
| 1858 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
|
| 1858 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
|
| 1859 | - | BlockEffect(BrickColor.new("Really red"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
|
| 1859 | + | BlockEffect(BrickColor.new("Really fed"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
|
| 1860 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, 3, 3, 3, 10, 10, 10, 0.045)
| |
| 1861 | end | |
| 1862 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1863 | ||
| 1864 | ||
| 1865 | MagniDamage(gun1, 15, 20, 69, 99, "Normal") | |
| 1866 | ShotAttackAnim3() | |
| 1867 | ||
| 1868 | ||
| 1869 | ||
| 1870 | ||
| 1871 | for i=1,2 do | |
| 1872 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1873 | ShotAttackAnim1() | |
| 1874 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1875 | ShotAttackAnim1() | |
| 1876 | BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
| |
| 1877 | ShotAttackAnim1() | |
| 1878 | end | |
| 1879 | ||
| 1880 | attack = false | |
| 1881 | ||
| 1882 | end | |
| 1883 | ||
| 1884 | ||
| 1885 | ||
| 1886 | if k == "r" and attack == false then | |
| 1887 | attack=true | |
| 1888 | while Torsovelocity < 1 do | |
| 1889 | attack=true | |
| 1890 | idleanim2() | |
| 1891 | ||
| 1892 | ||
| 1893 | ||
| 1894 | end | |
| 1895 | attack=false | |
| 1896 | ||
| 1897 | end | |
| 1898 | ||
| 1899 | ||
| 1900 | ||
| 1901 | ||
| 1902 | ||
| 1903 | ||
| 1904 | ||
| 1905 | ||
| 1906 | if k == "v" and sentrymode == false and attack == false and ultwait==false then | |
| 1907 | ultwait=true | |
| 1908 | attack = true | |
| 1909 | Humanoid.WalkSpeed = 0 | |
| 1910 | local Sond = Create("Sound")({Volume = 1.5, Pitch = 1.2, SoundId = "http://www.roblox.com/asset/?id=195322948", Parent = Character or workspace})
| |
| 1911 | wait() | |
| 1912 | Sond:play() | |
| 1913 | ||
| 1914 | for i = 0, 1, 0.1 do | |
| 1915 | swait() | |
| 1916 | ||
| 1917 | ||
| 1918 | ||
| 1919 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1920 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 1921 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1922 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 1923 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1924 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1925 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 1926 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1927 | ||
| 1928 | end | |
| 1929 | ||
| 1930 | ||
| 1931 | for i = 0, 2, 0.1 do | |
| 1932 | swait() | |
| 1933 | ||
| 1934 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 1934 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 1935 | ||
| 1936 | ||
| 1937 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1938 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 1939 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1940 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(90 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2) | |
| 1941 | RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .2) | |
| 1942 | LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2) | |
| 1943 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1944 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1945 | ||
| 1946 | end | |
| 1947 | ||
| 1948 | ||
| 1949 | for i = 0, 58, 0.1 do | |
| 1950 | swait() | |
| 1951 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
|
| 1951 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
|
| 1952 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
|
| 1952 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
|
| 1953 | - | BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
|
| 1953 | + | BlockEffect(BrickColor.new("Really fed"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
|
| 1954 | ||
| 1955 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1956 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 1957 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1) | |
| 1958 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.1) | |
| 1959 | RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1) | |
| 1960 | LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2) | |
| 1961 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1962 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1963 | ||
| 1964 | end | |
| 1965 | - | BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
|
| 1965 | + | BlockEffect(BrickColor.new("Really fed"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
|
| 1966 | for i = 0, 55, 0.1 do | |
| 1967 | swait() | |
| 1968 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
|
| 1968 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
|
| 1969 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 1969 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
|
| 1970 | - | Effects.Break.Create (BrickColor.new("Really red"), LeftArm.CFrame, 6, .1, .1)
|
| 1970 | + | Effects.Break.Create (BrickColor.new("Really fed"), LeftArm.CFrame, 6, .1, .1)
|
| 1971 | - | BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
|
| 1971 | + | BlockEffect(BrickColor.new("Really fed"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
|
| 1972 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 5) * angles(math.rad(0), math.rad(0), math.rad(-50)), .01) | |
| 1973 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 1974 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 1975 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2) | |
| 1976 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.2 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1) | |
| 1977 | LH.C0 = clerp(LH.C0, cn(-.9, -.7 - 0.2 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 1978 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1979 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 1980 | ||
| 1981 | end | |
| 1982 | - | BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
|
| 1982 | + | BlockEffect(BrickColor.new("Really fed"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
|
| 1983 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260434750", Character, 2, .7)
| |
| 1984 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=209833293", Character, 2, 2)
| |
| 1985 | for i = 0, 10, 0.1 do | |
| 1986 | swait() | |
| 1987 | ||
| 1988 | - | Effects.Wave.Create (BrickColor.new("Really red"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
|
| 1988 | + | Effects.Wave.Create (BrickColor.new("Really fed"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
|
| 1989 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
|
| 1989 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
|
| 1990 | - | Effects.Ring.Create (BrickColor.new("Really red"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
|
| 1990 | + | Effects.Ring.Create (BrickColor.new("Really fed"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
|
| 1991 | - | Effects.Break.Create (BrickColor.new("Really red"), LeftArm.CFrame, 76, .1, .1)
|
| 1991 | + | Effects.Break.Create (BrickColor.new("Really fed"), LeftArm.CFrame, 76, .1, .1)
|
| 1992 | - | BlockEffect(BrickColor.new("Really red"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
|
| 1992 | + | BlockEffect(BrickColor.new("Really fed"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
|
| 1993 | ||
| 1994 | ||
| 1995 | MagniKILL(Torso, 80,99,99999999, 0, "Normal") | |
| 1996 | ||
| 1997 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 1998 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2) | |
| 1999 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2000 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(160 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-0 - 1 * math.cos(sine / 25))), 0.2) | |
| 2001 | RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1) | |
| 2002 | LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2) | |
| 2003 | GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 2004 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2005 | ||
| 2006 | end | |
| 2007 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435164", Character, 2, .7)
| |
| 2008 | ||
| 2009 | for i = 0, 1, 0.1 do | |
| 2010 | swait() | |
| 2011 | ||
| 2012 | ||
| 2013 | ||
| 2014 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2) | |
| 2015 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2) | |
| 2016 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2) | |
| 2017 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2) | |
| 2018 | RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2019 | LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2) | |
| 2020 | GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1) | |
| 2021 | DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 2022 | ||
| 2023 | end | |
| 2024 | Humanoid.WalkSpeed = 16 | |
| 2025 | Sond:Destroy() | |
| 2026 | ||
| 2027 | attack = false | |
| 2028 | wait(30) | |
| 2029 | ultwait=false | |
| 2030 | end | |
| 2031 | ||
| 2032 | if k == "e" then | |
| 2033 | ||
| 2034 | if sentrymode== false then | |
| 2035 | if attack == false then | |
| 2036 | GlowParticle.Enabled = true | |
| 2037 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=876800936", LaPart, 1.5, 1.5)
| |
| 2038 | sentrymode= true | |
| 2039 | end | |
| 2040 | else | |
| 2041 | sentrymode=false | |
| 2042 | GlowParticle.Enabled = false | |
| 2043 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", LaPart, 3, 1.5)
| |
| 2044 | end | |
| 2045 | end | |
| 2046 | ||
| 2047 | end) | |
| 2048 | mouse.Button1Down:connect(function(key) | |
| 2049 | if attack == false and sentrymode == false then | |
| 2050 | attack = true | |
| 2051 | ShotAttackAnim2() | |
| 2052 | - | BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2052 | + | BlockEffect(BrickColor.new("Really fed"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2053 | - | BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2053 | + | BlockEffect(BrickColor.new("Really fed"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2054 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=410543238", LaPart, 0.5, 1.6)
| |
| 2055 | bigLigLaser(mouse.Hit.p, LaPart, 0) | |
| 2056 | ShotAttackAnim2() | |
| 2057 | attack = false | |
| 2058 | end | |
| 2059 | end) | |
| 2060 | ||
| 2061 | Humanoid.MaxHealth = 500 | |
| 2062 | wait() | |
| 2063 | Humanoid.Health = Humanoid.MaxHealth | |
| 2064 | ||
| 2065 | ||
| 2066 | ------------------------------------------------------------------------------------------------ | |
| 2067 | local HiveMind = {}
| |
| 2068 | ||
| 2069 | function HiveMind:new(owner) | |
| 2070 | self.__index = self | |
| 2071 | local o = {mind = {}, mindState = "FOLLOW", victimObject = nil}
| |
| 2072 | o.owner = owner | |
| 2073 | setmetatable(o, self) | |
| 2074 | return o | |
| 2075 | end | |
| 2076 | ||
| 2077 | function HiveMind:add(model, humanoid, torso) | |
| 2078 | if model and humanoid and torso then | |
| 2079 | table.insert(self.mind, {model = model, humanoid = humanoid,
| |
| 2080 | torso = torso}) | |
| 2081 | local hiv = self | |
| 2082 | local lastJump = 0 | |
| 2083 | torso.Touched:connect(function(object) | |
| 2084 | local hive = false | |
| 2085 | if hiv.owner.Character | |
| 2086 | and object:IsDescendantOf(hiv.owner.Character) == false | |
| 2087 | then | |
| 2088 | for i = 1, #hiv.mind do | |
| 2089 | if object:IsDescendantOf(hiv.mind[i].model) then | |
| 2090 | hive = true | |
| 2091 | break | |
| 2092 | end | |
| 2093 | end | |
| 2094 | if not hive then | |
| 2095 | local hum = object.Parent | |
| 2096 | and object.Parent:FindFirstChild("Humanoid")
| |
| 2097 | if hum then | |
| 2098 | hum:TakeDamage(1) | |
| 2099 | end | |
| 2100 | elseif time() - lastJump > 2 then | |
| 2101 | lastJump = time(0) + math.random()*1 | |
| 2102 | humanoid.Jump = true | |
| 2103 | end | |
| 2104 | end | |
| 2105 | end) | |
| 2106 | end | |
| 2107 | end | |
| 2108 | ||
| 2109 | function HiveMind:cleanupHive() | |
| 2110 | local i = 1 | |
| 2111 | while i <= #self.mind do | |
| 2112 | if self.mind[i].model:IsDescendantOf(game) == false | |
| 2113 | or self.mind[i].humanoid.Health == 0 then | |
| 2114 | table.remove(self.mind, i) | |
| 2115 | else | |
| 2116 | i = i + 1 | |
| 2117 | end | |
| 2118 | end | |
| 2119 | end | |
| 2120 | ||
| 2121 | function HiveMind:getOrbitNumberFromUnitNumber(i) | |
| 2122 | local circleNumber = 0 | |
| 2123 | while self:getUnitsInOrbit(circleNumber) < i do | |
| 2124 | i = i - self:getUnitsInOrbit(circleNumber) | |
| 2125 | circleNumber = circleNumber + 1 | |
| 2126 | end | |
| 2127 | return circleNumber, i | |
| 2128 | end | |
| 2129 | ||
| 2130 | function HiveMind:getOrbitDiameter(orbitNumber) | |
| 2131 | return math.pi*(orbitNumber*14) | |
| 2132 | end | |
| 2133 | ||
| 2134 | function HiveMind:getUnitsInOrbit(orbitNumber) | |
| 2135 | return math.floor(self:getOrbitDiameter(orbitNumber)/5) | |
| 2136 | end | |
| 2137 | ||
| 2138 | function HiveMind:lineup(location) | |
| 2139 | for i = 1, #self.mind do | |
| 2140 | local row = (i - 1) % 3 | |
| 2141 | local column = math.floor((i - 1) / 3) | |
| 2142 | local xOffset, yOffset | |
| 2143 | if row == 0 then | |
| 2144 | xOffset = -7 | |
| 2145 | elseif row == 1 then | |
| 2146 | xOffset = 0 | |
| 2147 | else | |
| 2148 | xOffset = 7 | |
| 2149 | end | |
| 2150 | yOffset = column * 7 | |
| 2151 | local position = location * CFrame.new(xOffset, 0, yOffset) | |
| 2152 | self.mind[i].humanoid:MoveTo(position.p, workspace.Base) | |
| 2153 | end | |
| 2154 | end | |
| 2155 | ||
| 2156 | function HiveMind:ownerTorso() | |
| 2157 | return self.owner.Character | |
| 2158 | and self.owner.Character:FindFirstChild("Torso")
| |
| 2159 | end | |
| 2160 | function HiveMind:update() | |
| 2161 | self:cleanupHive() | |
| 2162 | if self.owner.Character then | |
| 2163 | local ownerTorso = self.owner.Character:FindFirstChild("Torso")
| |
| 2164 | if ownerTorso then | |
| 2165 | if (self.mindState == "FOLLOW") then | |
| 2166 | local hiveSpawn = ownerTorso.CFrame * CFrame.new(0, 0, 9) | |
| 2167 | self:lineup(hiveSpawn) | |
| 2168 | elseif (self.mindState == "CIRCLE") then | |
| 2169 | self:circle(ownerTorso.Position) | |
| 2170 | elseif (self.mindState == "ATTACK") then | |
| 2171 | self:crowdAttack() | |
| 2172 | elseif (self.mindState == "Deffend") then | |
| 2173 | self:deffend() | |
| 2174 | elseif (self.mindState == "GOTO") then | |
| 2175 | self:pushToTarget() | |
| 2176 | end | |
| 2177 | end | |
| 2178 | end | |
| 2179 | end | |
| 2180 | local me = game:GetService("Players").LocalPlayer
| |
| 2181 | local hiveMind = HiveMind:new(me) | |
| 2182 | ||
| 2183 | ------------------------------------------------------------------------------------------------ | |
| 2184 | ||
| 2185 | function findNearestTorso(pos,dist2) | |
| 2186 | local list = game.Workspace:children() | |
| 2187 | local torso = nil | |
| 2188 | if dist2 == nil then | |
| 2189 | dist2=50 | |
| 2190 | ||
| 2191 | end | |
| 2192 | local dist = dist2 | |
| 2193 | local temp = nil | |
| 2194 | local human = nil | |
| 2195 | local temp2 = nil | |
| 2196 | for x = 1, #list do | |
| 2197 | temp2 = list[x] | |
| 2198 | if (temp2.className == "Model") and (temp2 ~= Character) then | |
| 2199 | temp = temp2:findFirstChild("HumanoidRootPart")
| |
| 2200 | human = temp2:findFirstChild("Humanoid")
| |
| 2201 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 2202 | if (temp.Position - pos).magnitude < dist then | |
| 2203 | torso = temp | |
| 2204 | ||
| 2205 | dist = (temp.Position - pos).magnitude | |
| 2206 | else | |
| 2207 | ||
| 2208 | end | |
| 2209 | ||
| 2210 | ||
| 2211 | ||
| 2212 | ||
| 2213 | end | |
| 2214 | end | |
| 2215 | end | |
| 2216 | return torso | |
| 2217 | end | |
| 2218 | ||
| 2219 | ||
| 2220 | game:GetService("RunService"):BindToRenderStep("ew", 0, function()
| |
| 2221 | ||
| 2222 | ||
| 2223 | ||
| 2224 | ||
| 2225 | ||
| 2226 | if sentrymode == true and sonarwait == false then | |
| 2227 | sonarwait = true | |
| 2228 | ||
| 2229 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", LaPart, 2, 0.8)
| |
| 2230 | ||
| 2231 | wait(1) | |
| 2232 | sonarwait = false | |
| 2233 | end | |
| 2234 | ||
| 2235 | ||
| 2236 | ||
| 2237 | ||
| 2238 | wait() | |
| 2239 | if sentrymode == true then | |
| 2240 | ||
| 2241 | local target = findNearestTorso(Character.HumanoidRootPart.Position,30) | |
| 2242 | if target ~= nil then | |
| 2243 | ShotAttackAnim2() | |
| 2244 | if sentrywait == false then | |
| 2245 | sentrywait = true | |
| 2246 | attack= true | |
| 2247 | ||
| 2248 | ||
| 2249 | - | BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2249 | + | BlockEffect(BrickColor.new("Really fed"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
|
| 2250 | - | BlockEffect(BrickColor.new("Really red"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2250 | + | BlockEffect(BrickColor.new("Really fed"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
|
| 2251 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433584", LaPart, 1.5, .8)
| |
| 2252 | LigLaser(target.Position, LaPart, 0) | |
| 2253 | wait() | |
| 2254 | attack= false | |
| 2255 | sentrywait = false | |
| 2256 | end | |
| 2257 | ||
| 2258 | ||
| 2259 | end | |
| 2260 | ||
| 2261 | end | |
| 2262 | end) | |
| 2263 | ||
| 2264 | ||
| 2265 | sonarwait = false | |
| 2266 | ||
| 2267 | ||
| 2268 | ||
| 2269 | ||
| 2270 | ||
| 2271 | ||
| 2272 | ||
| 2273 | ||
| 2274 | ||
| 2275 | ||
| 2276 | FaceIdList = {'117930174'}
| |
| 2277 | FaceId = FaceIdList[math.random(1,#FaceIdList)] | |
| 2278 | ||
| 2279 | ||
| 2280 | ||
| 2281 | ||
| 2282 | ||
| 2283 | local YourName = game.Players.LocalPlayer.Name | |
| 2284 | Character = Player.Character | |
| 2285 | ||
| 2286 | ||
| 2287 | Heartbeat = Instance.new("BindableEvent")
| |
| 2288 | Heartbeat.Name = "Heartbeat" | |
| 2289 | Heartbeat.Parent = script | |
| 2290 | frame = 0.03333333333333333 | |
| 2291 | tf = 0 | |
| 2292 | ||
| 2293 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 2294 | tf = tf + s | |
| 2295 | if tf >= frame then | |
| 2296 | for i = 1, math.floor(tf / frame) do | |
| 2297 | Heartbeat:Fire() | |
| 2298 | end | |
| 2299 | tf = tf - frame * math.floor(tf / frame) | |
| 2300 | end | |
| 2301 | end) | |
| 2302 | local nscale = Instance.new("NumberValue")
| |
| 2303 | nscale.Value = 1 | |
| 2304 | nscale.Parent = nil | |
| 2305 | nscale.Changed:connect(function() | |
| 2306 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2307 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2308 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2309 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2310 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2311 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2312 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2313 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2314 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2315 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2316 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2317 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2318 | end) | |
| 2319 | ||
| 2320 | function makegloo(paren, co, ci, parto, parti, nam) | |
| 2321 | local gloo = Instance.new("Glue")
| |
| 2322 | gloo.Name = nam | |
| 2323 | gloo.C0 = co | |
| 2324 | gloo.C1 = ci | |
| 2325 | gloo.Part0 = parto | |
| 2326 | gloo.Part1 = parti | |
| 2327 | gloo.Parent = paren | |
| 2328 | end | |
| 2329 | function makejoint(paren, co, ci, parto, parti, nam) | |
| 2330 | local gloo = Instance.new("Motor6D")
| |
| 2331 | gloo.Name = nam | |
| 2332 | gloo.C0 = co | |
| 2333 | gloo.C1 = ci | |
| 2334 | gloo.Part0 = parto | |
| 2335 | gloo.Part1 = parti | |
| 2336 | gloo.Parent = paren | |
| 2337 | end | |
| 2338 | function maketouchy(parent, limb, cframe) | |
| 2339 | local pr = Instance.new("Part")
| |
| 2340 | pr.Name = "touchy" | |
| 2341 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 2342 | pr.Transparency = 1 | |
| 2343 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
| 2344 | pr.CanCollide = true | |
| 2345 | pr.Anchored = false | |
| 2346 | pr.Parent = parent | |
| 2347 | local w = Instance.new("Weld")
| |
| 2348 | w.Part0 = pr | |
| 2349 | w.Part1 = limb | |
| 2350 | w.C0 = cframe | |
| 2351 | w.Parent = pr | |
| 2352 | end | |
| 2353 | --[[ function swait(num) | |
| 2354 | if num == 0 or num == nil then | |
| 2355 | Heartbeat.Event:wait() | |
| 2356 | else | |
| 2357 | for i = 1, num do | |
| 2358 | Heartbeat.Event:wait() | |
| 2359 | end | |
| 2360 | end | |
| 2361 | end | |
| 2362 | --]] | |
| 2363 | modz = Instance.new("Model")
| |
| 2364 | modz.Name = "efx" | |
| 2365 | modz.Parent = Character | |
| 2366 | ||
| 2367 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2368 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2369 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2370 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2371 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2372 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2373 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2374 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2375 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2376 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2377 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2378 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2379 | local nscale = Instance.new("NumberValue")
| |
| 2380 | nscale.Value = 1 | |
| 2381 | nscale.Parent = nil | |
| 2382 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2383 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2384 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2385 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2386 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2387 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2388 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2389 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2390 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2391 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2392 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2393 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2394 | ||
| 2395 | ||
| 2396 | ||
| 2397 | ||
| 2398 | ||
| 2399 | ||
| 2400 | ||
| 2401 | ||
| 2402 | ||
| 2403 | ||
| 2404 | ||
| 2405 | ||
| 2406 | ||
| 2407 | sWaiting=false | |
| 2408 | wait3=false | |
| 2409 | shotval = 0 | |
| 2410 | ||
| 2411 | npcname = ""..Character.Name.."'s Combine" | |
| 2412 | ||
| 2413 | ||
| 2414 | Character.ChildAdded:connect(function(object) | |
| 2415 | if object.Name == npcname then | |
| 2416 | hiveMind:add(object, object:WaitForChild("Humanoid"),
| |
| 2417 | object:WaitForChild("Torso"))
| |
| 2418 | end | |
| 2419 | end) | |
| 2420 | game:GetService("RunService").Stepped:connect(function()
| |
| 2421 | hiveMind:update() | |
| 2422 | end) | |
| 2423 | ||
| 2424 | function makenoob(cfrem, scalo, rags) | |
| 2425 | nscale.Value = scalo | |
| 2426 | local md = Instance.new("Model")
| |
| 2427 | md.Name = ""..Character.Name.."'s Combine" | |
| 2428 | md.Parent = Character | |
| 2429 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=220230512", md, 1, 1)
| |
| 2430 | wait(.5) | |
| 2431 | local hu = Instance.new("Humanoid")
| |
| 2432 | hu.RigType = "R6" | |
| 2433 | hu.MaxHealth = 150 * scalo | |
| 2434 | hu.Health = 150 * scalo | |
| 2435 | hu.Parent = md | |
| 2436 | hu.DisplayDistanceType="Viewer" | |
| 2437 | hu.HealthDisplayDistance=100 | |
| 2438 | hu.NameDisplayDistance=100 | |
| 2439 | hu.NameOcclusion="EnemyOcclusion" | |
| 2440 | local anm = Instance.new("Animator")
| |
| 2441 | anm.Parent = hu | |
| 2442 | local forthisnpcanim = npcanim:Clone() | |
| 2443 | forthisnpcanim.Parent = md | |
| 2444 | hu.PlatformStand = true | |
| 2445 | local light = function(part) | |
| 2446 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
| 2447 | end | |
| 2448 | local hd = Instance.new("Part")
| |
| 2449 | hd.Name = "Head" | |
| 2450 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 2451 | hd.TopSurface = "Smooth" | |
| 2452 | hd.BottomSurface = "Inlet" | |
| 2453 | hd.Locked = true | |
| 2454 | hd.BrickColor = BrickColor.new("Pastel brown")
| |
| 2455 | hd.CanCollide = true | |
| 2456 | hd.Anchored = false | |
| 2457 | light(hd) | |
| 2458 | hd.Parent = md | |
| 2459 | local hm = Instance.new("SpecialMesh")
| |
| 2460 | hm.MeshType = "Head" | |
| 2461 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 2462 | hm.Parent = hd | |
| 2463 | ||
| 2464 | ||
| 2465 | ||
| 2466 | shirt = Instance.new("Shirt", md)
| |
| 2467 | shirt.Name = "Shirt" | |
| 2468 | pants = Instance.new("Pants", md)
| |
| 2469 | pants.Name = "Pants" | |
| 2470 | md.Shirt.ShirtTemplate = "rbxassetid://49257392" | |
| 2471 | md.Pants.PantsTemplate = "rbxassetid://49257378" | |
| 2472 | function loada(anim) | |
| 2473 | local loaded = md.Humanoid:LoadAnimation(anim) | |
| 2474 | return loaded | |
| 2475 | end | |
| 2476 | IdleA = New("Animation",md,"Idle",{AnimationId = "rbxassetid://243282565"})
| |
| 2477 | IdleAnim = loada(IdleA) | |
| 2478 | ||
| 2479 | local hf = Instance.new("Decal")
| |
| 2480 | ||
| 2481 | ||
| 2482 | ||
| 2483 | ||
| 2484 | ||
| 2485 | ||
| 2486 | ||
| 2487 | FaceId = FaceIdList[math.random(1,#FaceIdList)] | |
| 2488 | ||
| 2489 | ||
| 2490 | ||
| 2491 | ||
| 2492 | ||
| 2493 | hf.Texture = "rbxassetid://"..FaceId | |
| 2494 | ||
| 2495 | hf.Face = "Front" | |
| 2496 | hf.Parent = hd | |
| 2497 | local hrpa = Instance.new("Part")
| |
| 2498 | hrpa.Name = "HumanoidRootPart" | |
| 2499 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
| 2500 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2501 | hrpa.Transparency = 1 | |
| 2502 | hrpa.CanCollide = false | |
| 2503 | hrpa.Locked = true | |
| 2504 | light(hrpa) | |
| 2505 | hrpa.Parent = md | |
| 2506 | local tagbomb = Instance.new("BoolValue")
| |
| 2507 | tagbomb.Name = "tagbomb" | |
| 2508 | tagbomb.Value = false | |
| 2509 | tagbomb.Parent = hrpa | |
| 2510 | local learm = Instance.new("Part")
| |
| 2511 | learm.Name = "Left Arm" | |
| 2512 | learm.BrickColor = BrickColor.new("Pastel brown")
| |
| 2513 | learm.CanCollide = false | |
| 2514 | learm.Locked = true | |
| 2515 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2516 | light(learm) | |
| 2517 | learm.Parent = md | |
| 2518 | local riarm = Instance.new("Part")
| |
| 2519 | riarm.Name = "Right Arm" | |
| 2520 | riarm.BrickColor = BrickColor.new("Pastel brown")
| |
| 2521 | riarm.CanCollide = false | |
| 2522 | riarm.Locked = true | |
| 2523 | light(riarm) | |
| 2524 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2525 | riarm.Parent = md | |
| 2526 | local leleg = Instance.new("Part")
| |
| 2527 | leleg.Name = "Left Leg" | |
| 2528 | leleg.BrickColor = BrickColor.new("Navy blue")
| |
| 2529 | leleg.CanCollide = false | |
| 2530 | leleg.Locked = true | |
| 2531 | light(leleg) | |
| 2532 | leleg.BottomSurface = 0 | |
| 2533 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2534 | leleg.Parent = md | |
| 2535 | local rileg = Instance.new("Part")
| |
| 2536 | rileg.Name = "Right Leg" | |
| 2537 | rileg.BrickColor = BrickColor.new("Navy blue")
| |
| 2538 | rileg.CanCollide = false | |
| 2539 | rileg.Locked = true | |
| 2540 | light(rileg) | |
| 2541 | rileg.BottomSurface = 0 | |
| 2542 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2543 | rileg.Parent = md | |
| 2544 | local tor = Instance.new("Part")
| |
| 2545 | tor.Name = "Torso" | |
| 2546 | - | tor.BrickColor = BrickColor.new("Really red")
|
| 2546 | + | tor.BrickColor = BrickColor.new("Really fed")
|
| 2547 | tor.Locked = true | |
| 2548 | light(tor) | |
| 2549 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 2550 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
| 2551 | tor.Parent = md | |
| 2552 | md.PrimaryPart = hrpa | |
| 2553 | md:SetPrimaryPartCFrame(cfrem) | |
| 2554 | md:makeJoints() | |
| 2555 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
| 2556 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
| 2557 | ||
| 2558 | if rags == true then | |
| 2559 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 2560 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 2561 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 2562 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 2563 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2564 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2565 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2566 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 2567 | elseif rags == false then | |
| 2568 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 2569 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 2570 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 2571 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 2572 | hu.PlatformStand = false | |
| 2573 | ||
| 2574 | end | |
| 2575 | ||
| 2576 | ||
| 2577 | local Solhat = Instance.new("Accessory")
| |
| 2578 | Solhat.AttachmentPos = Vector3.new(0, .3, 0) | |
| 2579 | local SHH = Instance.new("Part",Solhat)
| |
| 2580 | SHH.Name = "Handle" | |
| 2581 | SHH.CanCollide=false | |
| 2582 | local SHHMesh = Instance.new("SpecialMesh",SHH)
| |
| 2583 | SHHMesh.Parent = SHH | |
| 2584 | SHHMesh.MeshId = "rbxassetid://31152467" | |
| 2585 | SHHMesh.TextureId = "rbxassetid://32002857" | |
| 2586 | SHHMesh.Scale = Vector3.new(1, 1, 1) | |
| 2587 | SHHMesh.VertexColor = Vector3.new(1, 1, 1) | |
| 2588 | ||
| 2589 | ||
| 2590 | ||
| 2591 | nscale.Value = 1 | |
| 2592 | ||
| 2593 | wait() | |
| 2594 | Solhat.Parent = md | |
| 2595 | Thegun = Instance.new("Part",riarm)
| |
| 2596 | Thegun.CanCollide=false | |
| 2597 | Thegun.Size = Vector3.new(1,1,1) | |
| 2598 | ThegunW = Instance.new("Weld")
| |
| 2599 | ThegunW.Name = "GuW" | |
| 2600 | ThegunW.Part0 = riarm | |
| 2601 | ThegunW.C0 = cn(-.5, -2.4, -.4)*angles(0,0,3.2) | |
| 2602 | ThegunW.C1 = cn(0, 0, 0) | |
| 2603 | ThegunW.Part1 = Thegun | |
| 2604 | ThegunW.Parent = riarm | |
| 2605 | local ThegunMesh = Instance.new("SpecialMesh",Thegun)
| |
| 2606 | ThegunMesh.Parent = Thegun | |
| 2607 | ThegunMesh.MeshId = "rbxassetid://477158943" | |
| 2608 | ThegunMesh.TextureId = "rbxassetid://477158949" | |
| 2609 | ThegunMesh.Scale = Vector3.new(0.04, 0.035, 0.04) | |
| 2610 | ThegunMesh.VertexColor = Vector3.new(0.2, 0, 0) | |
| 2611 | Thegun2 = Instance.new("Part",md)
| |
| 2612 | Thegun2.CanCollide=false | |
| 2613 | Thegun2.Size = Vector3.new(.1,.1,.1) | |
| 2614 | Thegun2.Name = "Shoot" | |
| 2615 | ThegunW2 = Instance.new("Weld")
| |
| 2616 | ThegunW2.Name = "GuW" | |
| 2617 | ThegunW2.Part0 = riarm | |
| 2618 | ThegunW2.C0 = cn(-0.4,-4.6,-.45)*angles(0,0,0) | |
| 2619 | ThegunW2.C1 = cn(0, 0, 0) | |
| 2620 | ThegunW2.Part1 = Thegun2 | |
| 2621 | ThegunW2.Parent = riarm | |
| 2622 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2623 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2624 | ||
| 2625 | - | BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2625 | + | BlockEffect(BrickColor.new("Really fed"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2626 | - | BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2626 | + | BlockEffect(BrickColor.new("Really fed"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2627 | wait(0.5) | |
| 2628 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183921414", tor, 1, 1)
| |
| 2629 | IdleAnim:Play() | |
| 2630 | wait(2.5) | |
| 2631 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183953820", tor, 2, 1)
| |
| 2632 | game:GetService("RunService"):BindToRenderStep("ew", 0, function()
| |
| 2633 | if md ~= nil and hu.Health > 0 and sentrymode == false then | |
| 2634 | if md ~= nil and hu.Health > 0 and sentrymode == false then | |
| 2635 | ||
| 2636 | if killcom==true or sentrymode == true and sWaiting==false then | |
| 2637 | ||
| 2638 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=282061033", Torso, .5, 1)
| |
| 2639 | ||
| 2640 | ||
| 2641 | ||
| 2642 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2643 | BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
| |
| 2644 | ||
| 2645 | - | BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2645 | + | BlockEffect(BrickColor.new("Really fed"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2646 | - | BlockEffect(BrickColor.new("Really red"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2646 | + | BlockEffect(BrickColor.new("Really fed"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
|
| 2647 | ||
| 2648 | ||
| 2649 | ||
| 2650 | hu.Health = 0 | |
| 2651 | game:service'Debris':AddItem(md, .0); | |
| 2652 | end | |
| 2653 | ||
| 2654 | ||
| 2655 | ||
| 2656 | ||
| 2657 | ||
| 2658 | hu.WalkSpeed = 16.5 | |
| 2659 | local target2 = findNearestTorso(hrpa.Position,60) | |
| 2660 | if target2 ~= nil then | |
| 2661 | hu:MoveTo(target2.Position, target2) | |
| 2662 | ||
| 2663 | end | |
| 2664 | ||
| 2665 | local target3 = findNearestTorso(hrpa.Position,45) | |
| 2666 | ||
| 2667 | if target3 ~= nil then | |
| 2668 | hu.WalkSpeed = 0 | |
| 2669 | tor.CFrame = CFrame.new(tor.Position, target3.Position) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir2.s)) | |
| 2670 | end | |
| 2671 | ||
| 2672 | if target3 ~= nil and wait3==false and sentrymode == false then | |
| 2673 | wait3=true | |
| 2674 | ||
| 2675 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", LaPart, 3, .7)
| |
| 2676 | shoottraildd2(target3.Position, Thegun2, 1) | |
| 2677 | local PointLight = Instance.new("PointLight", Thegun2);
| |
| 2678 | PointLight.Color = Color3.new(1,0,0) | |
| 2679 | PointLight.Brightness = 50; | |
| 2680 | PointLight.Range = 10 | |
| 2681 | game:service'Debris':AddItem(PointLight, .02); | |
| 2682 | wait(2.2) | |
| 2683 | wait3=false | |
| 2684 | ||
| 2685 | ||
| 2686 | ||
| 2687 | --Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir.s)) | |
| 2688 | ||
| 2689 | ||
| 2690 | end | |
| 2691 | ||
| 2692 | end | |
| 2693 | ||
| 2694 | for i,v in pairs(Character:GetChildren()) do | |
| 2695 | if ""..Character.Name.."'s Combine" then | |
| 2696 | ||
| 2697 | ||
| 2698 | ||
| 2699 | if hu.Health == 0 and md ~= nil and killcom==false and sWaiting==false then | |
| 2700 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=160622487", Torso, .6, 1)
| |
| 2701 | ||
| 2702 | ||
| 2703 | game:service'Debris':AddItem(md, 3); | |
| 2704 | ||
| 2705 | end | |
| 2706 | end | |
| 2707 | return md | |
| 2708 | ||
| 2709 | end | |
| 2710 | end | |
| 2711 | end) | |
| 2712 | ||
| 2713 | ||
| 2714 | ||
| 2715 | end | |
| 2716 | ||
| 2717 | ||
| 2718 | ||
| 2719 | ||
| 2720 | ||
| 2721 | ||
| 2722 | ||
| 2723 | ||
| 2724 | ||
| 2725 | ||
| 2726 | ||
| 2727 | ||
| 2728 | ||
| 2729 | ||
| 2730 | ||
| 2731 | function makecircle(cfrem, scalo) | |
| 2732 | local mcir1 = Instance.new("Part")
| |
| 2733 | mcir1.Anchored = true | |
| 2734 | mcir1.CanCollide = false | |
| 2735 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2736 | mcir1.Transparency = 1 | |
| 2737 | mcir1.CFrame = cfrem | |
| 2738 | mcir1.Parent = modz | |
| 2739 | game.Debris:AddItem(mcir1, 8) | |
| 2740 | local d1 = Instance.new("Decal")
| |
| 2741 | d1.Texture = "rbxassetid://0" | |
| 2742 | d1.Face = "Front" | |
| 2743 | d1.Parent = mcir1 | |
| 2744 | local d2 = Instance.new("Decal")
| |
| 2745 | d2.Texture = "rbxassetid://0" | |
| 2746 | d2.Face = "Back" | |
| 2747 | d2.Parent = mcir1 | |
| 2748 | local bme = Instance.new("BlockMesh")
| |
| 2749 | bme.Parent = mcir1 | |
| 2750 | for _ = 1, 9 do | |
| 2751 | swait() | |
| 2752 | bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
| 2753 | end | |
| 2754 | coroutine.resume(coroutine.create(function() | |
| 2755 | swait(15) | |
| 2756 | for _ = 1, 12 do | |
| 2757 | swait() | |
| 2758 | d1.Transparency = d1.Transparency + 0.08 | |
| 2759 | d2.Transparency = d2.Transparency + 0.08 | |
| 2760 | end | |
| 2761 | mcir1:Destroy() | |
| 2762 | end)) | |
| 2763 | return mcir1 | |
| 2764 | end | |
| 2765 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
| 2766 | local aearae = makecircle(circlecf, scalez) | |
| 2767 | local nananb | |
| 2768 | ||
| 2769 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
| 2770 | ||
| 2771 | return nananb | |
| 2772 | end | |
| 2773 | mouse.KeyDown:connect(function(k) | |
| 2774 | if k == "c" and attack == false and sentrymode == false then | |
| 2775 | if killcom==false then | |
| 2776 | killcom=true | |
| 2777 | else | |
| 2778 | killcom=false | |
| 2779 | spawnnoob(RootPart.CFrame * cn((math.random(-5,5)), 10, (math.random(-0,5))) * angles(mr(90), 0, 0), cn(0, 0, 0) * angles(mr(-90), 0, 0), 1, false) | |
| 2780 | ||
| 2781 | end | |
| 2782 | ||
| 2783 | ||
| 2784 | end | |
| 2785 | end) | |
| 2786 | ||
| 2787 | --[[ | |
| 2788 | BlockEffect(BrickColor.new("Royal purple"), Firepart1.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
| |
| 2789 | BlockEffect(BrickColor.new("Eggplant"), Firepart1.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
| |
| 2790 | BlockEffect(BrickColor.new("Royal purple"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
| |
| 2791 | BlockEffect(BrickColor.new("Eggplant"), Firepart2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
| |
| 2792 | --]] |