SHOW:
|
|
- or go back to the newest paste.
1 | local snd = Instance.new("Sound",game:service("Players").LocalPlayer.Character:WaitForChild("Torso")) | |
2 | snd.Volume = 2 | |
3 | snd.Pitch = 1 | |
4 | snd.Looped = true | |
5 | snd.SoundId = "rbxassetid://171224177" | |
6 | snd:Play() | |
7 | ---------------------------------- | |
8 | --Ballistic Dispatcher Device-41-- | |
9 | ---------------------------------- | |
10 | --By -- | |
11 | --CKbackup- | |
12 | ----------- | |
13 | ||
14 | player = game.Players.LocalPlayer | |
15 | chara = player.Character | |
16 | debby = game.Debris | |
17 | Mouse = player:GetMouse() | |
18 | chara.Humanoid.WalkSpeed = 0 | |
19 | atkd = false | |
20 | atkdd = false | |
21 | targetted = nil | |
22 | exed = false | |
23 | exeact = false | |
24 | rs = game:GetService("RunService").RenderStepped | |
25 | overcharge = 100 | |
26 | berserkmode = true | |
27 | attacking = false | |
28 | ||
29 | --Outfit-- | |
30 | New = function(Object, Parent, Name, Data) | |
31 | local Object = Instance.new(Object) | |
32 | for Index, Value in pairs(Data or {}) do | |
33 | Object[Index] = Value | |
34 | end | |
35 | Object.Parent = Parent | |
36 | Object.Name = Name | |
37 | return Object | |
38 | end | |
39 | ||
40 | Gun1 = New("Model",chara,"Gun1",{}) | |
41 | Handle1 = New("Part",Gun1,"Handle1",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.800000012, 1, 1),CFrame = CFrame.new(34.5999947, 1.10000491, 22.4999981, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
42 | Weld = New("ManualWeld",Handle1,"Weld",{Part0 = Handle1,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(-0.0999679565, -0.900001526, 0.100005031, -1, 0, 0, 0, 0, -1, 0, -1, 0),}) | |
43 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(34.5999985, 1.10000467, 22.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
44 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
45 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, -2.38418579e-07, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
46 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.599999905),CFrame = CFrame.new(34.5999947, 1.30000496, 23.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
47 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),}) | |
48 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.199999988, -0.599992752, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
49 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(34.5999947, 2.20000482, 22.1999989, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
50 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,}) | |
51 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 1.0999999, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
52 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999973, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
53 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) | |
54 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
55 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 23.2999954, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
56 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
57 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.79999733, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
58 | Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 3.5999999),CFrame = CFrame.new(34.5999985, 1.80000472, 23.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
59 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.69999975, -1.49999428, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
60 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.800000012),CFrame = CFrame.new(34.5999985, 2.20000482, 22.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
61 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.299995422, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
62 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999738, 1.19999993),CFrame = CFrame.new(34.5999947, 2.00000477, 23.7999916, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.94902, 0.952941, 0.952941),}) | |
63 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),}) | |
64 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.899999917, -1.29999352, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
65 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 24.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
66 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
67 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -1.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
68 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999897, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
69 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
70 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.0999999, -3.79999161, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
71 | Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.400000006),CFrame = CFrame.new(34.5999985, 1.80000472, 25.9999981, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
72 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
73 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 0.699999869, -3.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
74 | Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 1.80000472, 22.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
75 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
76 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.69999975, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
77 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 1.79999995),CFrame = CFrame.new(34.5999985, 2.20000482, 25.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
78 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -2.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
79 | Hitbox1 = New("Part",Gun1,"Hitbox1",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 1.19999969, 3.39999986),CFrame = CFrame.new(34.5999985, 1.80002093, 24.6999912, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
80 | Weld = New("ManualWeld",Hitbox1,"Weld",{Part0 = Hitbox1,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 0.700015962, -2.19999313, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
81 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(34.5999947, 2.50000501, 25.9999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
82 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
83 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 1.4000001, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
84 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(34.5999947, 1.10000491, 22.6999989, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
85 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
86 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
87 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 2.4000001),CFrame = CFrame.new(34.5999947, 1.40000486, 24.5999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
88 | Mesh = New("BlockMesh",Part,"Mesh",{}) | |
89 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.300000012, -2.09999466, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
90 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000095),CFrame = CFrame.new(34.5999947, 1.40000486, 25.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
91 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),}) | |
92 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(0, 0.300000012, -3.29999542, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
93 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(34.5999947, 1.60000467, 23, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
94 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
95 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.499999821, -0.500001907, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
96 | Part = New("Part",Gun1,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.399999976),CFrame = CFrame.new(34.5999947, 1.80000472, 25.9999962, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
97 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) | |
98 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 0.699999869, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
99 | BulletSpawn1 = New("Part",Gun1,"BulletSpawn1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(34.5999947, 2.20000482, 26.2999973, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
100 | Mesh = New("CylinderMesh",BulletSpawn1,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),}) | |
101 | Weld = New("ManualWeld",BulletSpawn1,"Weld",{Part0 = BulletSpawn1,Part1 = Handle1,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
102 | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(34.5999985, 2.20000482, 22.2999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
103 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
104 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle1,C1 = CFrame.new(-3.81469727e-06, 1.0999999, 0.200004578, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
105 | ||
106 | Gun2 = New("Model",chara,"Gun2",{}) | |
107 | Handle2 = New("Part",Gun2,"Handle2",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.800000012, 1, 1),CFrame = CFrame.new(37.3999939, 1.10000491, 22.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
108 | Weld = New("ManualWeld",Handle2,"Weld",{Part0 = Handle2,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0.100032806, -0.900003433, 0.100005031, -1, 0, 0, 0, 0, -1, 0, -1, 0),}) | |
109 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(37.3999977, 1.10000467, 22.0999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
110 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
111 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, -2.38418579e-07, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
112 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.599999905),CFrame = CFrame.new(37.3999939, 1.30000496, 23.0999928, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
113 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),}) | |
114 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.199999988, -0.599992752, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
115 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(37.3999939, 2.20000482, 22.2000008, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
116 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,}) | |
117 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 1.0999999, 0.299999237, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
118 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999992, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
119 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) | |
120 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
121 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 23.2999973, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
122 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
123 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.79999733, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
124 | Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 3.5999999),CFrame = CFrame.new(37.3999977, 1.80000472, 23.9999943, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
125 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.69999975, -1.49999428, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
126 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.800000012),CFrame = CFrame.new(37.3999977, 2.20000482, 22.7999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
127 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -0.299995422, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
128 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999738, 1.19999993),CFrame = CFrame.new(37.3999939, 2.00000477, 23.7999935, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.94902, 0.952941, 0.952941),}) | |
129 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),}) | |
130 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.899999917, -1.29999352, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
131 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 24.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
132 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
133 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -1.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
134 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999916, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
135 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
136 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.0999999, -3.79999161, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
137 | Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.400000006),CFrame = CFrame.new(37.3999977, 1.80000472, 26, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
138 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
139 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-3.81469727e-06, 0.699999869, -3.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
140 | Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 1.80000472, 22.0999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
141 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
142 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.69999975, 0.400005341, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
143 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 1.79999995),CFrame = CFrame.new(37.3999977, 2.20000482, 25.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
144 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, -2.80000114, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
145 | Hitbox2 = New("Part",Gun2,"Hitbox2",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.400000006, 1.19999969, 3.39999986),CFrame = CFrame.new(37.3999977, 1.80002093, 24.6999931, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
146 | Weld = New("ManualWeld",Hitbox2,"Weld",{Part0 = Hitbox2,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 0.700015962, -2.19999313, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
147 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.800000012),CFrame = CFrame.new(37.3999939, 2.50000501, 25.9999981, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
148 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
149 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 1.4000001, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
150 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.999999762, 0.600000024),CFrame = CFrame.new(37.3999939, 1.10000491, 22.7000008, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
151 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
152 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
153 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 2.4000001),CFrame = CFrame.new(37.3999939, 1.40000486, 24.5999947, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
154 | Mesh = New("BlockMesh",Part,"Mesh",{}) | |
155 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.300000012, -2.09999466, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
156 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000095),CFrame = CFrame.new(37.3999939, 1.40000486, 25.7999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
157 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),}) | |
158 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(0, 0.300000012, -3.29999542, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
159 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.400000006),CFrame = CFrame.new(37.3999939, 1.60000467, 23.0000019, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
160 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
161 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.499999821, -0.500001907, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
162 | Part = New("Part",Gun2,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.400000006, 0.399999976),CFrame = CFrame.new(37.3999939, 1.80000472, 25.9999981, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
163 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) | |
164 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 0.699999869, -3.49999809, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
165 | BulletSpawn2 = New("Part",Gun2,"BulletSpawn2",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.399999976),CFrame = CFrame.new(37.3999939, 2.20000482, 26.2999992, 0, 0, 1, -1, 0, 0, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
166 | Mesh = New("CylinderMesh",BulletSpawn2,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),}) | |
167 | Weld = New("ManualWeld",BulletSpawn2,"Weld",{Part0 = BulletSpawn2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, -1, 1, 0, 0),C1 = CFrame.new(0, 1.0999999, -3.79999924, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
168 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.399999708, 0.200000003),CFrame = CFrame.new(37.3999977, 2.20000482, 22.2999954, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.803922, 0.803922, 0.803922),}) | |
169 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
170 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle2,C1 = CFrame.new(-3.81469727e-06, 1.0999999, 0.200004578, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
171 | ||
172 | RightArm = New("Model",chara,"RightArm",{}) | |
173 | MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
174 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
175 | Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),}) | |
176 | Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
177 | Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
178 | LeftArm = New("Model",chara,"LeftArm",{}) | |
179 | MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
180 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
181 | EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Hot pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),}) | |
182 | Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
183 | Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
184 | ||
185 | lach = LeftArm:GetChildren() | |
186 | rach = RightArm:GetChildren() | |
187 | ch = chara:GetChildren() | |
188 | ||
189 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
190 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
191 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
192 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001}) | |
193 | return TEff | |
194 | end | |
195 | ||
196 | Slash1Trail = CreateTrailObj(Hitbox1,"White","White",0,0) | |
197 | Slash2Trail = CreateTrailObj(Hitbox2,"White","White",0,0) | |
198 | KickTrail = CreateTrailObj(chara["Left Leg"],"White","White",0,0) | |
199 | FreezeKickTrail = CreateTrailObj(chara["Left Leg"],"New Yeller","New Yeller",0,0) | |
200 | BRTrail = CreateTrailObj(chara["Right Leg"],"White","White",0,0) | |
201 | Hitbox1.Att1.Position = Vector3.new(0,0,Hitbox1.Size.Z/2) | |
202 | Hitbox1.Att2.Position = Vector3.new(0,0,-(Hitbox1.Size.Z/2)) | |
203 | Hitbox2.Att1.Position = Vector3.new(0,0,Hitbox2.Size.Z/2) | |
204 | Hitbox2.Att2.Position = Vector3.new(0,0,-(Hitbox2.Size.Z/2)) | |
205 | ||
206 | crosshair = Instance.new("BillboardGui",chara) | |
207 | crosshair.Size = UDim2.new(10,0,10,0) | |
208 | crosshair.Enabled = false | |
209 | imgl = Instance.new("ImageLabel",crosshair) | |
210 | imgl.Position = UDim2.new(0,0,0,0) | |
211 | imgl.Size = UDim2.new(1,0,1,0) | |
212 | imgl.Image = "rbxassetid://233522684" | |
213 | imgl.BackgroundTransparency = 1 | |
214 | imgl.ImageColor3 = Color3.new(1,1,0) | |
215 | ||
216 | --Sounds-- | |
217 | function LoadSnd(id,loop,vol,pit) | |
218 | local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit}) | |
219 | return snd | |
220 | end | |
221 | Music = LoadSnd(575330378,true,1,1) | |
222 | StartUpSnd = LoadSnd(153092315,false,1,.8) | |
223 | SwingSnd = LoadSnd(158037267,false,1,1) | |
224 | Swing2Snd = LoadSnd(12222208,false,1,.5) | |
225 | HitSnd = LoadSnd(153092274,false,1,1) | |
226 | HitPunchSnd = LoadSnd(153092227,false,1,1) | |
227 | DodgeSnd = LoadSnd(232210079,false,1,1) | |
228 | ExpSnd = LoadSnd(142070127,false,1,1) | |
229 | FlySnd = LoadSnd(169445602,false,1,1) | |
230 | BExpSnd = LoadSnd(258057783,false,5,1) | |
231 | ClawDashSnd = LoadSnd(62339698,false,1,.5) | |
232 | deathmus = LoadSnd(395580552,true,5,1) | |
233 | deathex = LoadSnd(258057783,false,5,1) | |
234 | --Grunt1Snd = LoadSnd(159882486,false,1,1.1) | |
235 | --Grunt2Snd = LoadSnd(159882466,false,1,1.1) | |
236 | --Grunt3Snd = LoadSnd(159972643,false,1,1.1) | |
237 | --Grunt4Snd = LoadSnd(159882584,false,1,1.1) | |
238 | --YouIdiotSnd = LoadSnd(160212768,false,1,1.1) | |
239 | --DieSnd = LoadSnd(159882598,false,1,1.1) | |
240 | --Laugh1Snd = LoadSnd(160212549,false,1,1.1) | |
241 | --Laugh2Snd = LoadSnd(159882561,false,1,1.1) | |
242 | --Laugh3Snd = LoadSnd(160212812,false,1,1.1) | |
243 | ChargeSnd = LoadSnd(137463716,false,1,1) | |
244 | LasSnd = LoadSnd(162246701,false,1,1) | |
245 | LasLoopSnd = LoadSnd(162246683,true,1,1) | |
246 | RStompSnd = LoadSnd(2760979,false,1,1) | |
247 | GunFlameSnd = LoadSnd(2691586,false,1,1) | |
248 | OrbSnd = LoadSnd(233091161,false,1,1) | |
249 | ElectricSnd = LoadSnd(231917975,false,1,1) | |
250 | LightsOutSnd = LoadSnd(231917794,false,1,1) | |
251 | SkyBeamSnd = LoadSnd(260433522,false,1,1) | |
252 | TargetSnd = LoadSnd(613361563,false,1,1) | |
253 | SV1Snd = LoadSnd(28144425,false,1,.265) | |
254 | SV2Snd = LoadSnd(2697431,false,1,.3) | |
255 | SVHitSnd = LoadSnd(62339698,false,1,.3) | |
256 | IceBreakSnd = LoadSnd(357568316,false,1,1) | |
257 | FreezeSnd = LoadSnd(203936153,false,1,1) | |
258 | IceBreak2Snd = LoadSnd(87015121,false,1,1) | |
259 | BlockedSnd = LoadSnd(357622136,false,1,1) | |
260 | BulletGSnd = LoadSnd(131072992,false,1,2) | |
261 | MinigunSnd = LoadSnd(146830867,false,1,1) | |
262 | MiniStopSnd = LoadSnd(295843191,false,1,1) | |
263 | BulletLSnd = LoadSnd(144884872,false,1,1) | |
264 | MissileSnd = LoadSnd(137991337,false,1,1) | |
265 | ||
266 | --Play Sound in Part-- | |
267 | function PlaySnd(snd,part) | |
268 | local sound = snd:Clone() | |
269 | sound.PlayOnRemove = true | |
270 | sound.Parent = part | |
271 | sound:Destroy() | |
272 | end | |
273 | ||
274 | --Target Select-- | |
275 | function TargetSelect(person) | |
276 | local dd=coroutine.wrap(function() | |
277 | if targetted ~= person then | |
278 | targetted = person | |
279 | for i = 0,30,10 do | |
280 | wait(.05) | |
281 | crosshair.Size = UDim2.new(40-i,0,40-i,0) | |
282 | end | |
283 | end | |
284 | end) | |
285 | dd() | |
286 | end | |
287 | ||
288 | --Damage Function-- | |
289 | - | finaldmg = math.floor(finaldmg * 1.1) |
289 | + | |
290 | hurt = coroutine.wrap(function(dude2,damage2,env2,toim2) | |
291 | if dude ~= chara and dude:FindFirstChild("IsHit") == nil then | |
292 | TargetSelect(dude) | |
293 | finaldmg = damage + math.random(-env,env) | |
294 | if berserkmode == true then | |
295 | finaldmg = math.floor(finaldmg * 10000000) | |
296 | end | |
297 | dude.Humanoid.Health = dude.Humanoid.Health - finaldmg | |
298 | local vall = Instance.new("ObjectValue",dude) | |
299 | vall.Name = "IsHit" | |
300 | debby:AddItem(vall,toim) | |
301 | local bfos = Instance.new("BodyVelocity",dude.Head) | |
302 | bfos.P = 20000 | |
303 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
304 | bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx | |
305 | debby:AddItem(bfos,.1) | |
306 | local naeeym2 = Instance.new("BillboardGui",dude) | |
307 | naeeym2.Size = UDim2.new(0,100,0,40) | |
308 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
309 | naeeym2.Adornee = dude.Head | |
310 | naeeym2.Name = "TalkingBillBoard" | |
311 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
312 | tecks2.BackgroundTransparency = 1 | |
313 | tecks2.BorderSizePixel = 0 | |
314 | tecks2.Text = "-"..finaldmg | |
315 | tecks2.Font = "Fantasy" | |
316 | tecks2.FontSize = "Size24" | |
317 | tecks2.TextStrokeTransparency = 0 | |
318 | tecks2.TextColor3 = Color3.new(1,0.6,0) | |
319 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
320 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
321 | for i = 1, 5 do | |
322 | wait(.1) | |
323 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
324 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
325 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
326 | end | |
327 | naeeym2:Destroy() | |
328 | end | |
329 | end) | |
330 | hurt(dude,damage,env,toim) | |
331 | end | |
332 | ||
333 | --Explode Hitbox-- | |
334 | function ExHitbox(rad,pos,damage,env,toim,kby,kbx) | |
335 | local E = Instance.new("Explosion") | |
336 | E.Position = pos | |
337 | E.Parent = game.Workspace | |
338 | E.BlastRadius = rad | |
339 | E.BlastPressure = 0 | |
340 | E.Visible = false | |
341 | E.Hit:connect(function(hit) | |
342 | if hit.Parent:FindFirstChild("Humanoid")~=nil then | |
343 | dealdmg(hit.Parent,damage,env,toim,kby,kbx) | |
344 | end | |
345 | end) | |
346 | end | |
347 | ||
348 | --Chat Function-- | |
349 | function chatfunc(text) | |
350 | local chat = coroutine.wrap(function() | |
351 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
352 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
353 | end | |
354 | local naeeym2 = Instance.new("BillboardGui",chara) | |
355 | naeeym2.Size = UDim2.new(0,100,0,40) | |
356 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
357 | naeeym2.Adornee = chara.Head | |
358 | naeeym2.Name = "TalkingBillBoard" | |
359 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
360 | tecks2.BackgroundTransparency = 1 | |
361 | tecks2.BorderSizePixel = 0 | |
362 | tecks2.Text = "" | |
363 | tecks2.Font = "Fantasy" | |
364 | tecks2.FontSize = "Size24" | |
365 | tecks2.TextStrokeTransparency = 0 | |
366 | tecks2.TextColor3 = Color3.new(1,1,1) | |
367 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
368 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
369 | for i = 1,string.len(text),1 do | |
370 | tecks2.Text = string.sub(text,1,i) | |
371 | wait(0.01) | |
372 | end | |
373 | wait(1) | |
374 | for i = 1, 5 do | |
375 | wait(.01) | |
376 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
377 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
378 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
379 | end | |
380 | naeeym2:Destroy() | |
381 | end) | |
382 | chat() | |
383 | end | |
384 | ||
385 | function onChatted(msg) | |
386 | chatfunc(msg) | |
387 | end | |
388 | player.Chatted:connect(onChatted) | |
389 | ||
390 | --Punch Hit Effect-- | |
391 | function PunchEff(pos) | |
392 | local p = Instance.new("Part",game.Workspace) | |
393 | p.Size = Vector3.new(1,1,1) | |
394 | p.BrickColor = BrickColor.new("White") | |
395 | p.Material = "Neon" | |
396 | p.Anchored = true | |
397 | p.CanCollide = false | |
398 | p.CFrame = pos | |
399 | local pm = Instance.new("SpecialMesh",p) | |
400 | pm.MeshType = "Sphere" | |
401 | local disp = coroutine.wrap(function() | |
402 | for i = 1, 4 do | |
403 | wait(.01) | |
404 | p.Transparency = p.Transparency + .2 | |
405 | pm.Scale = pm.Scale + Vector3.new(.2,.2,.2) | |
406 | end | |
407 | wait(.01) | |
408 | p:Destroy() | |
409 | end) | |
410 | disp() | |
411 | end | |
412 | ||
413 | --Blade Hit Effect-- | |
414 | function SlashEff(pos) | |
415 | local p = Instance.new("Part",game.Workspace) | |
416 | p.Size = Vector3.new(1,1,1) | |
417 | p.BrickColor = BrickColor.new("White") | |
418 | p.Material = "Neon" | |
419 | p.Anchored = true | |
420 | p.CanCollide = false | |
421 | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
422 | local pm = Instance.new("SpecialMesh",p) | |
423 | pm.MeshType = "Sphere" | |
424 | pm.Scale = Vector3.new(.5,0,.5) | |
425 | local disp = coroutine.wrap(function() | |
426 | for i = 1, 4 do | |
427 | wait(.01) | |
428 | p.Transparency = p.Transparency + .2 | |
429 | pm.Scale = pm.Scale + Vector3.new(0,5,0) | |
430 | end | |
431 | wait(.01) | |
432 | p:Destroy() | |
433 | end) | |
434 | disp() | |
435 | end | |
436 | ||
437 | --Super Pause-- | |
438 | function SuperPause() | |
439 | StartUpSnd:Play() | |
440 | local p = Instance.new("Part",game.Workspace) | |
441 | p.Size = Vector3.new(1,1,1) | |
442 | p.BrickColor = BrickColor.new("White") | |
443 | p.Material = "Neon" | |
444 | p.Anchored = true | |
445 | p.CanCollide = false | |
446 | p.CFrame = chara.Torso.CFrame | |
447 | local pm = Instance.new("SpecialMesh",p) | |
448 | pm.MeshType = "Sphere" | |
449 | local disp = coroutine.wrap(function() | |
450 | for i = 1, 4 do | |
451 | wait(.01) | |
452 | p.Transparency = p.Transparency + .2 | |
453 | pm.Scale = pm.Scale + Vector3.new(5,5,5) | |
454 | end | |
455 | wait(.01) | |
456 | p:Destroy() | |
457 | end) | |
458 | disp() | |
459 | end | |
460 | ||
461 | --Punch Touch-- | |
462 | dela = .5 | |
463 | bladeactive = false | |
464 | function punchhit(hit) | |
465 | if punchactive == true then | |
466 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then | |
467 | dealdmg(hit.Parent,10,2,dela,0,5) | |
468 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
469 | PunchEff(Hitbox1.CFrame) | |
470 | end | |
471 | end | |
472 | end | |
473 | Hitbox1.Touched:connect(punchhit) | |
474 | ||
475 | --Kick Touch-- | |
476 | kickactive = false | |
477 | dkickactive = false | |
478 | skickactive = false | |
479 | didskick = false | |
480 | lkickactive = false | |
481 | function kickhit(hit) | |
482 | if kickactive == true then | |
483 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then | |
484 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
485 | PunchEff(hit.CFrame) | |
486 | if dkickactive == true then | |
487 | dealdmg(hit.Parent,13,2,dela,0,10) | |
488 | hit.Parent.Humanoid.PlatformStand = true | |
489 | hit.Parent.Head.CFrame = CFrame.new(hit.Parent.Head.Position.x,hit.Parent.Head.Position.y,hit.Parent.Head.Position.z) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) | |
490 | wait(3) | |
491 | hit.Parent.Humanoid.PlatformStand = false | |
492 | elseif skickactive == true then | |
493 | local bodpf = Instance.new("BodyPosition",hit.Parent.Head) | |
494 | bodpf.MaxForce = Vector3.new(10000,10000,10000) | |
495 | bodpf.Position = chara.HumanoidRootPart.Position + Vector3.new(0,30,0) + (chara.HumanoidRootPart.CFrame.lookVector*3) | |
496 | debby:AddItem(bodpf,3.5) | |
497 | dealdmg(hit.Parent,13,2,dela,50,10) | |
498 | didskick = true | |
499 | elseif lkickactive == true then | |
500 | if hit.Parent.Head:FindFirstChild("BodyPosition") ~= nil then | |
501 | hit.Parent.Head:FindFirstChild("BodyPosition"):Destroy() | |
502 | end | |
503 | dealdmg(hit.Parent,13,2,dela,50,50) | |
504 | else | |
505 | dealdmg(hit.Parent,10,2,dela,0,10) | |
506 | end | |
507 | end | |
508 | end | |
509 | end | |
510 | chara["Left Leg"].Touched:connect(kickhit) | |
511 | chara["Right Leg"].Touched:connect(kickhit) | |
512 | ||
513 | --Grab Touch-- | |
514 | weldd = nil | |
515 | function grabhit(hit) | |
516 | if exeact == true and exed == false then | |
517 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then | |
518 | dealdmg(hit.Parent,9,2,dela,0,0) | |
519 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
520 | PunchEff(hit.CFrame) | |
521 | weldd = Instance.new("Weld",hit.Parent) | |
522 | weldd.Part0 = hit.Parent.Head | |
523 | weldd.Part1 = BulletSpawn2 | |
524 | exed = true | |
525 | end | |
526 | end | |
527 | end | |
528 | Hitbox2.Touched:connect(grabhit) | |
529 | ||
530 | function CasingDrop(no) | |
531 | local hitpt = Instance.new("Part",game.Workspace) | |
532 | hitpt.Size = Vector3.new(0,0,1) | |
533 | hitpt.TopSurface = 0 | |
534 | hitpt.BottomSurface = 0 | |
535 | local bf = Instance.new("BodyVelocity",hitpt) | |
536 | bf.P = 10000 | |
537 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
538 | debby:AddItem(bf,.1) | |
539 | if no == "Right" then | |
540 | hitpt.Position = Hitbox1.Position | |
541 | hitpt.CFrame = Hitbox1.CFrame | |
542 | bf.Velocity = Vector3.new(0,5,0) + Hitbox1.CFrame.rightVector*10 | |
543 | elseif no == "Left" then | |
544 | hitpt.Position = Hitbox2.Position | |
545 | hitpt.CFrame = Hitbox2.CFrame | |
546 | bf.Velocity = Vector3.new(0,5,0) + Hitbox1.CFrame.rightVector*-10 | |
547 | end | |
548 | local hitm = Instance.new("SpecialMesh",hitpt) | |
549 | hitm.MeshId = "http://www.roblox.com/asset/?id=94295100" | |
550 | hitm.TextureId = "http://www.roblox.com/asset/?id=94287792" | |
551 | hitm.Scale = Vector3.new(6,6,7) | |
552 | debby:AddItem(hitpt,3) | |
553 | end | |
554 | ||
555 | function GunPlode() | |
556 | PlaySnd(GunFlameSnd,chara) | |
557 | PlaySnd(ExpSnd,chara) | |
558 | PlaySnd(BulletGSnd,chara) | |
559 | CasingDrop("Right") | |
560 | CasingDrop("Left") | |
561 | local hitpt = Instance.new("Part",game.Workspace) | |
562 | hitpt.Size = Vector3.new(1,1,1) | |
563 | hitpt.Anchored = true | |
564 | hitpt.CanCollide = false | |
565 | hitpt.BrickColor = BrickColor.new("Bright yellow") | |
566 | hitpt.CFrame = BulletSpawn1.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
567 | local hitb = Instance.new("Part",game.Workspace) | |
568 | hitb.Size = Vector3.new(1,1,1) | |
569 | hitb.Anchored = true | |
570 | hitb.CanCollide = false | |
571 | hitb.BrickColor = BrickColor.new("Bright yellow") | |
572 | hitb.Material = "Neon" | |
573 | hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30))) | |
574 | local hitpt2 = hitpt:Clone() | |
575 | hitpt2.Parent = game.Workspace | |
576 | hitpt.CFrame = BulletSpawn2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
577 | local hitb2 = hitb:Clone() | |
578 | hitb2.Parent = game.Workspace | |
579 | hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30))) | |
580 | local hitbm = Instance.new("SpecialMesh",hitb) | |
581 | hitbm.MeshType = "Sphere" | |
582 | hitbm.Scale = Vector3.new(1,1,1) | |
583 | local hitm = Instance.new("SpecialMesh",hitpt) | |
584 | hitm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
585 | local hitbm2 = hitbm:Clone() | |
586 | hitbm2.Parent = hitb2 | |
587 | local hitm2 = hitm:Clone() | |
588 | hitm2.Parent = hitpt2 | |
589 | local hpt = coroutine.wrap(function() | |
590 | for i = 1, 9 do | |
591 | wait(.05) | |
592 | hitpt.Transparency = hitpt.Transparency + .1 | |
593 | hitm.Scale = hitm.Scale + Vector3.new(.5,.5,.5) | |
594 | hitb.Transparency = hitb.Transparency + .1 | |
595 | hitbm.Scale = hitbm.Scale + Vector3.new(.5,.5,.5) | |
596 | hitpt2.Transparency = hitpt2.Transparency + .1 | |
597 | hitm2.Scale = hitm2.Scale + Vector3.new(.5,.5,.5) | |
598 | hitb2.Transparency = hitb2.Transparency + .1 | |
599 | hitbm2.Scale = hitbm2.Scale + Vector3.new(.5,.5,.5) | |
600 | end | |
601 | hitpt:Destroy() | |
602 | hitb:Destroy() | |
603 | hitpt2:Destroy() | |
604 | hitb2:Destroy() | |
605 | end) | |
606 | hpt() | |
607 | ExHitbox(5,BulletSpawn1.Position,12,2,.1,0,-50) | |
608 | ExHitbox(5,BulletSpawn2.Position,12,2,.1,0,50) | |
609 | end | |
610 | ||
611 | function Laser(Partt) | |
612 | local EffectPart = Instance.new("Part",game.Workspace) | |
613 | EffectPart.Size = Vector3.new(1,1,1) | |
614 | EffectPart.Anchored = true | |
615 | EffectPart.BrickColor = BrickColor.new("Bright yellow") | |
616 | EffectPart.Material = "Neon" | |
617 | EffectPart.Position = Mouse.Hit.p | |
618 | EffectPart.CFrame = Mouse.Hit | |
619 | local mehs1 = Instance.new("SpecialMesh",EffectPart) | |
620 | mehs1.MeshType = "Sphere" | |
621 | mehs1.Scale = Vector3.new(2,2,2) | |
622 | local P = Instance.new("Part") | |
623 | local Place0 = Partt.CFrame | |
624 | local Place1 = EffectPart.CFrame | |
625 | local meshla = Instance.new("BlockMesh", P) | |
626 | meshla.Scale = Vector3.new(1,1,1) | |
627 | P.formFactor = 0 | |
628 | P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude) | |
629 | P.Name = "Laser" | |
630 | P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) | |
631 | P.Parent = game.Workspace | |
632 | P.BrickColor = BrickColor.new("Bright yellow") | |
633 | P.Material = "Neon" | |
634 | P.Anchored = true | |
635 | P.CanCollide = false | |
636 | P.Locked = true | |
637 | P.BottomSurface = "Smooth" | |
638 | P.TopSurface = "Smooth" | |
639 | ExHitbox(5,Place1.p,20,2,.1,0,5) | |
640 | local fu = coroutine.wrap(function() | |
641 | for i = 1, 10 do | |
642 | wait(.01) | |
643 | mehs1.Scale = mehs1.Scale + Vector3.new(.5,.5,.5) | |
644 | meshla.Scale = meshla.Scale + Vector3.new(.25,.25,0) | |
645 | EffectPart.Transparency = EffectPart.Transparency + .1 | |
646 | P.Transparency = P.Transparency + .1 | |
647 | end | |
648 | ---- | |
649 | P:Destroy() | |
650 | EffectPart:Destroy() | |
651 | end) | |
652 | fu() | |
653 | end | |
654 | ||
655 | --Material Return-- | |
656 | gprop = {} | |
657 | function materialhit() | |
658 | local part = workspace:FindPartOnRay(Ray.new(chara.HumanoidRootPart.Position-Vector3.new(0,2.4,0),Vector3.new(0,-1000,0))) | |
659 | if part then | |
660 | gprop = {part.BrickColor,part.Material} | |
661 | end | |
662 | end | |
663 | ||
664 | --Clerp Animations-- | |
665 | TC = chara.HumanoidRootPart.RootJoint | |
666 | HC = chara.Torso.Neck | |
667 | RAC = chara.Torso["Right Shoulder"] | |
668 | LAC = chara.Torso["Left Shoulder"] | |
669 | RLC = chara.Torso["Right Hip"] | |
670 | LLC = chara.Torso["Left Hip"] | |
671 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
672 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
673 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
674 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
675 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
676 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
677 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
678 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
679 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
680 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
681 | RW = Instance.new("Weld",HC.Parent) | |
682 | RW.Part1 = HC.Parent | |
683 | RW.Part0 = chara["Right Arm"] | |
684 | RW.C0 = RWF | |
685 | LW = Instance.new("Weld",HC.Parent) | |
686 | LW.Part1 = HC.Parent | |
687 | LW.Part0 = chara["Left Arm"] | |
688 | LW.C0 = LWF | |
689 | RLW = nil | |
690 | LLW = nil | |
691 | ||
692 | function AddLegWelds() | |
693 | RLW = Instance.new("Weld",chara["Right Leg"]) | |
694 | RLW.Part1 = HC.Parent | |
695 | RLW.Part0 = chara["Right Leg"] | |
696 | RLW.C0 = RLWF | |
697 | LLW = Instance.new("Weld",chara["Left Leg"]) | |
698 | LLW.Part1 = HC.Parent | |
699 | LLW.Part0 = chara["Left Leg"] | |
700 | LLW.C0 = LLWF | |
701 | end | |
702 | ||
703 | function DestroyLegWelds() | |
704 | RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),}) | |
705 | LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
706 | RLW:Destroy() | |
707 | LLW:Destroy() | |
708 | end | |
709 | ||
710 | function clerp(a,b,c) | |
711 | return a:lerp(b,c) | |
712 | end | |
713 | ||
714 | ias = New("ScreenGui",player.PlayerGui,"InfoScreen",{}) | |
715 | sus = New("TextBox",player.PlayerGui.InfoScreen,"OverdriveTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,325),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0}) | |
716 | sus = New("TextBox",player.PlayerGui.InfoScreen,"KeystrokeTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,350),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0}) | |
717 | sus = New("TextBox",player.PlayerGui.InfoScreen,"BlockTxtBox",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,375),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "0%",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0}) | |
718 | ||
719 | function ultcool() | |
720 | local CoolDown = New("TextBox",player.PlayerGui.InfoScreen,"UltCoolDown",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,300),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "Ult. Cooldown",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0}) | |
721 | debby:AddItem(CoolDown,0.0001) | |
722 | end | |
723 | ||
724 | function guncool(toim) | |
725 | if berserkmode == false then | |
726 | local CoolDown = New("TextBox",player.PlayerGui.InfoScreen,"CoolDown",{BackgroundColor3 = Color3.new(1,1,1),BorderColor3 = Color3.new(27/255,42/255,53/255),BorderSizePixel = 2,Position = UDim2.new(0,0,0,400),Size = UDim2.new(0,100,0,25),Font = "Fantasy",Text = "Gun Cooldown",TextColor3 = Color3.new(1,1,1),TextScaled = true,TextStrokeColor3 = Color3.new(0,0,0),TextStrokeTransparency = 0}) | |
727 | debby:AddItem(CoolDown,toim) | |
728 | end | |
729 | end | |
730 | ||
731 | --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
732 | --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
733 | --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
734 | --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
735 | ||
736 | TC.C0 = TCF | |
737 | HC.C0 = HCF | |
738 | RW.C0 = RWF | |
739 | LW.C0 = LWF | |
740 | ||
741 | --Idle Clerp-- | |
742 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(70)) | |
743 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-70)) | |
744 | IRWF = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0) | |
745 | ILWF = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
746 | ||
747 | function res() | |
748 | TC.C0 = ITCF | |
749 | HC.C0 = IHCF | |
750 | RW.C0 = IRWF | |
751 | LW.C0 = ILWF | |
752 | end | |
753 | res() | |
754 | ||
755 | --Intro-- | |
756 | Slash1Trail.Enabled = true | |
757 | Slash2Trail.Enabled = true | |
758 | for i = 0,.6,.1 do | |
759 | rs:wait() | |
760 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
761 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
762 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
763 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
764 | end | |
765 | Handle1.Weld.C0 = Handle1.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-90),0) | |
766 | Handle2.Weld.C0 = Handle2.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) | |
767 | for a = 1, 5 do | |
768 | SwingSnd:Play() | |
769 | for i = 0,180,10 do | |
770 | rs:wait() | |
771 | Handle1.Weld.C0 = Handle1.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-i)) | |
772 | Handle2.Weld.C0 = Handle2.Weld.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(i)) | |
773 | end | |
774 | end | |
775 | Handle1.Weld.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
776 | Handle2.Weld.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
777 | wait(1) | |
778 | GunPlode() | |
779 | wait(1) | |
780 | for i = 0,.6,.1 do | |
781 | rs:wait() | |
782 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
783 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
784 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
785 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
786 | end | |
787 | Slash1Trail.Enabled = false | |
788 | Slash2Trail.Enabled = false | |
789 | ||
790 | chara.Humanoid.WalkSpeed = 16 | |
791 | ||
792 | --Overdrive-- | |
793 | function Overdrive() | |
794 | del = false | |
795 | atkd = false | |
796 | overcharge = 0 | |
797 | chara.Humanoid.WalkSpeed = 0 | |
798 | chatfunc("Unleashing Armagus!") | |
799 | berserkmode = true | |
800 | local jtrace = Instance.new("Part",game.Workspace) | |
801 | jtrace.Size = Vector3.new(0,0,0) | |
802 | jtrace.Position = chara.HumanoidRootPart.Position | |
803 | jtrace.CFrame = chara.HumanoidRootPart.CFrame - Vector3.new(0,2.5,0) | |
804 | jtrace.Anchored = true | |
805 | SuperPause() | |
806 | local tmesh = Instance.new("SpecialMesh",jtrace) | |
807 | tmesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
808 | tmesh.Scale = Vector3.new(1,1,1) | |
809 | tmesh.Offset = Vector3.new(0,0,-.125) | |
810 | Void = nil | |
811 | VoidParts = {} | |
812 | Equipped = false | |
813 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
814 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
815 | end | |
816 | ||
817 | Player = player | |
818 | Character = chara | |
819 | ||
820 | Humanoid = Character:FindFirstChild("Humanoid") | |
821 | Torso = Character:FindFirstChild("Torso") | |
822 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
823 | return | |
824 | end | |
825 | Equipped = true | |
826 | Void = Instance.new("Model") | |
827 | Void.Name = "Void" | |
828 | Angle = 0 | |
829 | local VoidPart = Instance.new("Part") | |
830 | VoidPart.Name = "VoidPart" | |
831 | VoidPart.Transparency = 1 | |
832 | VoidPart.BrickColor = BrickColor.new("Really black") | |
833 | VoidPart.Material = Enum.Material.Plastic | |
834 | VoidPart.Shape = Enum.PartType.Block | |
835 | VoidPart.FormFactor = Enum.FormFactor.Custom | |
836 | VoidPart.TopSurface = Enum.SurfaceType.Smooth | |
837 | VoidPart.BottomSurface = Enum.SurfaceType.Smooth | |
838 | VoidPart.Anchored = true | |
839 | VoidPart.CanCollide = false | |
840 | VoidPart.Locked = true | |
841 | VoidPart.Size = Vector3.new(10, 0.2, 10) | |
842 | local BlockMesh = Instance.new("BlockMesh") | |
843 | BlockMesh.Scale = Vector3.new(1, 1 + 0.005, 1) | |
844 | BlockMesh.Parent = VoidPart | |
845 | VoidPart.Parent = Void | |
846 | local Star = Instance.new("Decal", VoidPart) | |
847 | Star.Texture = "http://www.roblox.com/asset/?id=565056459" | |
848 | Star.Face = "Top" | |
849 | local Light = Instance.new("PointLight", VoidPart) | |
850 | Light.Color = Color3.new(1,1,0) | |
851 | Light.Brightness = 100 | |
852 | Light.Range = 10 | |
853 | table.insert(VoidParts, VoidPart) | |
854 | Spawn(function() | |
855 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent and berserkmode == true do | |
856 | if Angle == 360 then | |
857 | Angle = 0 | |
858 | end | |
859 | Angle = Angle + 0.05 | |
860 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
861 | if Hit then | |
862 | if not Void.Parent then | |
863 | Void.Parent = Character | |
864 | end | |
865 | for i, v in pairs(VoidParts) do | |
866 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
867 | end | |
868 | else | |
869 | Void.Parent = nil | |
870 | end | |
871 | wait() | |
872 | end | |
873 | end) | |
874 | for i = 0,.6,.1 do | |
875 | rs:wait() | |
876 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
877 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.4+i) | |
878 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
879 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
880 | end | |
881 | for i = 1, 10 do | |
882 | wait(.01) | |
883 | TC.C0 = TCF | |
884 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0) | |
885 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
886 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
887 | jtrace.Transparency = jtrace.Transparency + .1 | |
888 | tmesh.Scale = tmesh.Scale + Vector3.new(2,.05,2) | |
889 | end | |
890 | wait(.01) | |
891 | jtrace:Destroy() | |
892 | for i = 0,.6,.1 do | |
893 | rs:wait() | |
894 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
895 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),.6-i) | |
896 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i) | |
897 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i) | |
898 | end | |
899 | jtrace:Destroy() | |
900 | local delll = coroutine.wrap(function() | |
901 | local delval = 10 | |
902 | local naeeym2 = Instance.new("BillboardGui",chara) | |
903 | naeeym2.Size = UDim2.new(0,100,0,40) | |
904 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
905 | naeeym2.Adornee = chara.Head | |
906 | naeeym2.Name = "Counter" | |
907 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
908 | tecks2.BackgroundTransparency = 1 | |
909 | tecks2.BorderSizePixel = 0 | |
910 | tecks2.Text = "" | |
911 | tecks2.Font = "Fantasy" | |
912 | tecks2.FontSize = "Size24" | |
913 | tecks2.TextStrokeTransparency = 0 | |
914 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
915 | tecks2.TextColor3 = Color3.new(1,1,0) | |
916 | tecks2.TextStrokeColor3 = Color3.new(1,1,1) | |
917 | for i = 0, 30 do | |
918 | delval = 30 - i | |
919 | tecks2.Text = "<"..delval..">" | |
920 | wait(1) | |
921 | end | |
922 | berserkmode = false | |
923 | VoidPart:Destroy() | |
924 | for i = 1, 5 do | |
925 | wait(.01) | |
926 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
927 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
928 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
929 | end | |
930 | end) | |
931 | delll() | |
932 | chara.Humanoid.WalkSpeed = 16 | |
933 | del = false | |
934 | res() | |
935 | end | |
936 | ||
937 | --Punch-- | |
938 | function Punch() | |
939 | del = true | |
940 | atkd = true | |
941 | chara.Humanoid.WalkSpeed = 0 | |
942 | punchactive = true | |
943 | Slash1Trail.Enabled = true | |
944 | wait(.01) | |
945 | SwingSnd:Play() | |
946 | wait(.01) | |
947 | for i = 0,.6,.1 do | |
948 | rs:wait() | |
949 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-180)),TCF,.4+i) | |
950 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
951 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
952 | end | |
953 | wait(.1) | |
954 | bladeactive = false | |
955 | for i = 0,.6,.1 do | |
956 | rs:wait() | |
957 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
958 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
959 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
960 | end | |
961 | chara.Humanoid.WalkSpeed = 16 | |
962 | punchactive = false | |
963 | del = false | |
964 | Slash1Trail.Enabled = false | |
965 | res() | |
966 | end | |
967 | ||
968 | --Kick Atk-- | |
969 | function KickAtk() | |
970 | del = true | |
971 | atkd = true | |
972 | chara.Humanoid.WalkSpeed = 0 | |
973 | kickactive = true | |
974 | KickTrail.Enabled = true | |
975 | AddLegWelds() | |
976 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
977 | bfos.P = 10000 | |
978 | bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P) | |
979 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200 | |
980 | debby:AddItem(bfos,.1) | |
981 | for i = 0,.6,.1 do | |
982 | rs:wait() | |
983 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.4+i) | |
984 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i) | |
985 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i) | |
986 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i) | |
987 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.4+i) | |
988 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.4+i) | |
989 | end | |
990 | for i = 0,.6,.1 do | |
991 | rs:wait() | |
992 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,math.rad(-85)),.6-i) | |
993 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i) | |
994 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i) | |
995 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i) | |
996 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(45)),.6-i) | |
997 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(-1,0,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-45)),.6-i) | |
998 | end | |
999 | DestroyLegWelds() | |
1000 | kickactive = false | |
1001 | KickTrail.Enabled = false | |
1002 | chara.Humanoid.WalkSpeed = 16 | |
1003 | del = false | |
1004 | res() | |
1005 | end | |
1006 | ||
1007 | --Explod-- | |
1008 | function ExplodPunch() | |
1009 | del = true | |
1010 | atkd = true | |
1011 | chara.Humanoid.WalkSpeed = 0 | |
1012 | Slash1Trail.Enabled = true | |
1013 | Slash2Trail.Enabled = true | |
1014 | wait(.01) | |
1015 | for i = 0,.6,.1 do | |
1016 | rs:wait() | |
1017 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1018 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1019 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1020 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1021 | end | |
1022 | GunPlode() | |
1023 | wait(.5) | |
1024 | for i = 0,.6,.1 do | |
1025 | rs:wait() | |
1026 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1027 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1028 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1029 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1030 | end | |
1031 | chara.Humanoid.WalkSpeed = 16 | |
1032 | del = false | |
1033 | Slash1Trail.Enabled = false | |
1034 | Slash2Trail.Enabled = false | |
1035 | res() | |
1036 | guncool(1) | |
1037 | end | |
1038 | ||
1039 | --Bandit Revolver-- | |
1040 | function BanditRevolver() | |
1041 | - | chatfunc("Bandit Revolver!") |
1041 | + | |
1042 | atkd = true | |
1043 | chara.Humanoid.WalkSpeed = 0 | |
1044 | kickactive = true | |
1045 | dkickactive = true | |
1046 | BRTrail.Enabled = true | |
1047 | chatfunc("spin to win") | |
1048 | AddLegWelds() | |
1049 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1050 | bfos.P = 10000 | |
1051 | bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P) | |
1052 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 50 | |
1053 | for i = 0,.6,.1 do | |
1054 | rs:wait() | |
1055 | TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)),.4+i) | |
1056 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),.4+i) | |
1057 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
1058 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
1059 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i) | |
1060 | end | |
1061 | for i = 0,1,.1 do | |
1062 | rs:wait() | |
1063 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),i) | |
1064 | end | |
1065 | SwingSnd:Play() | |
1066 | for i = 0,1,.1 do | |
1067 | rs:wait() | |
1068 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)),i) | |
1069 | end | |
1070 | SwingSnd:Play() | |
1071 | for i = 0,1,.1 do | |
1072 | rs:wait() | |
1073 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(270)),ITCF,i) | |
1074 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i) | |
1075 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,i) | |
1076 | LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,i) | |
1077 | RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,i) | |
1078 | end | |
1079 | DestroyLegWelds() | |
1080 | dkickactive = false | |
1081 | kickactive = false | |
1082 | BRTrail.Enabled = false | |
1083 | chara.Humanoid.WalkSpeed = 16 | |
1084 | bfos:Destroy() | |
1085 | del = false | |
1086 | res() | |
1087 | end | |
1088 | ||
1089 | --Freezer Kick-- | |
1090 | --function FlipKickEffect(pos) | |
1091 | --local p = Instance.new("Part",game.Workspace) | |
1092 | --p.Size = Vector3.new(0,0,0) | |
1093 | --p.BrickColor = BrickColor.new("Bright yellow") | |
1094 | --p.Material = "Neon" | |
1095 | --p.Anchored = true | |
1096 | --p.CanCollide = false | |
1097 | --p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1098 | --local pm = Instance.new("BlockMesh",p) | |
1099 | --local disp = coroutine.wrap(function() | |
1100 | --for i = 1, 4 do | |
1101 | --wait(.01) | |
1102 | --p.Transparency = p.Transparency + .2 | |
1103 | --pm.Scale = pm.Scale + Vector3.new(2,2,2) | |
1104 | --end | |
1105 | --wait(.01) | |
1106 | --p:Destroy() | |
1107 | - | chatfunc("Hagar!") |
1107 | + | |
1108 | --disp() | |
1109 | --end | |
1110 | function FlipKick() | |
1111 | del = true | |
1112 | atkd = true | |
1113 | chatfunc("yeet") | |
1114 | AddLegWelds() | |
1115 | kickactive = true | |
1116 | lkickactive = true | |
1117 | FreezeKickTrail.Enabled = true | |
1118 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1119 | bfos.P = 10000 | |
1120 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
1121 | bfos.Velocity = Vector3.new(0,10,0) + chara.HumanoidRootPart.CFrame.lookVector * 50 | |
1122 | Swing2Snd:Play() | |
1123 | for i = 0,.6,.1 do | |
1124 | rs:wait() | |
1125 | TC.C0 = clerp(ITCF,(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i) | |
1126 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i) | |
1127 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.4+i) | |
1128 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.4+i) | |
1129 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i) | |
1130 | --FlipKickEffect(chara["Right Leg"].CFrame - chara["Right Leg"].CFrame.upVector*1.5) | |
1131 | end | |
1132 | for i = 1, 3 do | |
1133 | wait(.001) | |
1134 | --FlipKickEffect(chara["Right Leg"].CFrame - chara["Right Leg"].CFrame.upVector*1.5) | |
1135 | end | |
1136 | bfos:Destroy() | |
1137 | kickactive = false | |
1138 | lkickactive = false | |
1139 | FreezeKickTrail.Enabled = false | |
1140 | wait(.25) | |
1141 | for i = 0,.6,.1 do | |
1142 | rs:wait() | |
1143 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),ITCF,.4+i) | |
1144 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),IHCF,.4+i) | |
1145 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),IRWF,.4+i) | |
1146 | LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),ILWF,.4+i) | |
1147 | RLW.C0 = clerp((RLWF - Vector3.new(0,1,1.2)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i) | |
1148 | end | |
1149 | DestroyLegWelds() | |
1150 | del = false | |
1151 | - | chatfunc("Alpha Blast!") |
1151 | + | |
1152 | ||
1153 | --Alpha Blast-- | |
1154 | function ABlast() | |
1155 | del = true | |
1156 | atkd = true | |
1157 | chatfunc("pew pew pew pew pew") | |
1158 | Slash1Trail.Enabled = true | |
1159 | Slash2Trail.Enabled = true | |
1160 | for i = 0,.6,.1 do | |
1161 | rs:wait() | |
1162 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1163 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1164 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1165 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1166 | end | |
1167 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1168 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1169 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1170 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1171 | for i = 1, 2 do | |
1172 | GunFlameSnd:Play() | |
1173 | BulletGSnd:Play() | |
1174 | CasingDrop("Left") | |
1175 | local missile = Instance.new("Part",game.Workspace) | |
1176 | missile.Size = Vector3.new(0,0,0) | |
1177 | missile.Name = "Blast" | |
1178 | missile.Transparency = 1 | |
1179 | missile.Position = BulletSpawn2.Position | |
1180 | missile.CFrame = BulletSpawn2.CFrame | |
1181 | missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200 | |
1182 | local force = Instance.new("BodyForce") | |
1183 | force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1184 | force.Parent = missile | |
1185 | local p1mit = Instance.new("ParticleEmitter",missile) | |
1186 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1187 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)}) | |
1188 | p1mit.LightEmission = 1 | |
1189 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1190 | p1mit.Lifetime = NumberRange.new(1) | |
1191 | p1mit.Rate = 10000 | |
1192 | p1mit.Rotation = NumberRange.new(0,359) | |
1193 | p1mit.RotSpeed = NumberRange.new(100) | |
1194 | p1mit.Speed = NumberRange.new(0) | |
1195 | missile.Touched:connect(function(hit) | |
1196 | if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then | |
1197 | force:Destroy() | |
1198 | force = nil | |
1199 | ExHitbox(3,missile.Position,12,1,.1,0,5) | |
1200 | PlaySnd(BulletLSnd,hit) | |
1201 | p1mit.Enabled = false | |
1202 | wait(2) | |
1203 | missile:Destroy() | |
1204 | end | |
1205 | end) | |
1206 | wait(.1) | |
1207 | for i = 0,.6,.1 do | |
1208 | rs:wait() | |
1209 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1210 | end | |
1211 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1212 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1213 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1214 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1215 | debby:AddItem(missile,10) | |
1216 | GunFlameSnd:Play() | |
1217 | BulletGSnd:Play() | |
1218 | CasingDrop("Right") | |
1219 | local missile = Instance.new("Part",game.Workspace) | |
1220 | missile.Size = Vector3.new(0,0,0) | |
1221 | missile.Name = "Blast" | |
1222 | missile.Transparency = 1 | |
1223 | missile.Position = BulletSpawn1.Position | |
1224 | missile.CFrame = BulletSpawn1.CFrame | |
1225 | missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200 | |
1226 | local force = Instance.new("BodyForce") | |
1227 | force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1228 | force.Parent = missile | |
1229 | local p1mit = Instance.new("ParticleEmitter",missile) | |
1230 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1231 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)}) | |
1232 | p1mit.LightEmission = 1 | |
1233 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1234 | p1mit.Lifetime = NumberRange.new(1) | |
1235 | p1mit.Rate = 10000 | |
1236 | p1mit.Rotation = NumberRange.new(0,359) | |
1237 | p1mit.RotSpeed = NumberRange.new(100) | |
1238 | p1mit.Speed = NumberRange.new(0) | |
1239 | missile.Touched:connect(function(hit) | |
1240 | if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then | |
1241 | force:Destroy() | |
1242 | force = nil | |
1243 | ExHitbox(3,missile.Position,12,1,.1,0,5) | |
1244 | PlaySnd(BulletLSnd,hit) | |
1245 | p1mit.Enabled = false | |
1246 | wait(2) | |
1247 | missile:Destroy() | |
1248 | end | |
1249 | end) | |
1250 | debby:AddItem(missile,10) | |
1251 | wait(.1) | |
1252 | for i = 0,.6,.1 do | |
1253 | rs:wait() | |
1254 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1255 | end | |
1256 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1257 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1258 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1259 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1260 | end | |
1261 | GunFlameSnd:Play() | |
1262 | BulletGSnd:Play() | |
1263 | CasingDrop("Left") | |
1264 | local missile = Instance.new("Part",game.Workspace) | |
1265 | missile.Size = Vector3.new(0,0,0) | |
1266 | missile.Name = "Blast" | |
1267 | missile.Transparency = 1 | |
1268 | missile.Position = BulletSpawn2.Position | |
1269 | missile.CFrame = BulletSpawn2.CFrame | |
1270 | missile.Velocity = ((targetted.Head.Position - Vector3.new(0,2,0)) - chara.HumanoidRootPart.Position).unit*200 | |
1271 | local force = Instance.new("BodyForce") | |
1272 | force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1273 | force.Parent = missile | |
1274 | local p1mit = Instance.new("ParticleEmitter",missile) | |
1275 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1276 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)}) | |
1277 | p1mit.LightEmission = 1 | |
1278 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1279 | p1mit.Lifetime = NumberRange.new(1) | |
1280 | p1mit.Rate = 10000 | |
1281 | p1mit.Rotation = NumberRange.new(0,359) | |
1282 | p1mit.RotSpeed = NumberRange.new(100) | |
1283 | p1mit.Speed = NumberRange.new(0) | |
1284 | missile.Touched:connect(function(hit) | |
1285 | if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and force ~= nil) then | |
1286 | force:Destroy() | |
1287 | force = nil | |
1288 | ExHitbox(3,missile.Position,12,1,.1,0,5) | |
1289 | PlaySnd(BulletLSnd,hit) | |
1290 | p1mit.Enabled = false | |
1291 | wait(2) | |
1292 | missile:Destroy() | |
1293 | end | |
1294 | end) | |
1295 | wait(.1) | |
1296 | for i = 0,.6,.1 do | |
1297 | rs:wait() | |
1298 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1299 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1300 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1301 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1302 | end | |
1303 | del = false | |
1304 | Slash1Trail.Enabled = false | |
1305 | Slash2Trail.Enabled = false | |
1306 | res() | |
1307 | guncool(2) | |
1308 | - | chatfunc("From Above!") |
1308 | + | |
1309 | ||
1310 | --Decapitator-- | |
1311 | function Decapitator() | |
1312 | del = true | |
1313 | atkd = true | |
1314 | chatfunc("ultra spin to win") | |
1315 | Slash1Trail.Enabled = true | |
1316 | Slash2Trail.Enabled = true | |
1317 | chara.Humanoid.WalkSpeed = 0 | |
1318 | for i = 0,.6,.1 do | |
1319 | rs:wait() | |
1320 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.4+i) | |
1321 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1322 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1323 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1324 | end | |
1325 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1326 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1327 | local bf = Instance.new("BodyVelocity",chara.Torso) | |
1328 | bf.P = 10000 | |
1329 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
1330 | bf.Velocity = Vector3.new(0,20,0) + chara.HumanoidRootPart.CFrame.lookVector*50 | |
1331 | for i = 0,1,.25 do | |
1332 | rs:wait() | |
1333 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1334 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1335 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),i) | |
1336 | HC.C0 = HCF | |
1337 | GunPlode() | |
1338 | end | |
1339 | bf.Velocity = Vector3.new(0,-20,0) + chara.HumanoidRootPart.CFrame.lookVector*50 | |
1340 | for i = 0,1,.25 do | |
1341 | rs:wait() | |
1342 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)),TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(360)),i) | |
1343 | HC.C0 = HCF | |
1344 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1345 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1346 | GunPlode() | |
1347 | end | |
1348 | bf:Destroy() | |
1349 | for i = 0,.6,.1 do | |
1350 | rs:wait() | |
1351 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0),.6-i) | |
1352 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
1353 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1354 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1355 | end | |
1356 | chara.Humanoid.WalkSpeed = 16 | |
1357 | del = false | |
1358 | Slash1Trail.Enabled = false | |
1359 | Slash2Trail.Enabled = false | |
1360 | res() | |
1361 | guncool(2) | |
1362 | - | chatfunc("Evade!") |
1362 | + | |
1363 | ||
1364 | --Back Explosion-- | |
1365 | function BackEx() | |
1366 | del = true | |
1367 | atkd = true | |
1368 | chatfunc("no u") | |
1369 | chara.Humanoid.WalkSpeed = 0 | |
1370 | Slash1Trail.Enabled = true | |
1371 | Slash2Trail.Enabled = true | |
1372 | for i = 0,.6,.1 do | |
1373 | rs:wait() | |
1374 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1375 | end | |
1376 | TC.C0 = TCF | |
1377 | HC.C0 = HCF | |
1378 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1379 | bfos.P = 10000 | |
1380 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
1381 | bfos.Velocity = Vector3.new(0,200,0) | |
1382 | for i = 0,.6,.1 do | |
1383 | rs:wait() | |
1384 | TC.C0 = clerp(TCF,(TCF + Vector3.new(0,1,0)),.4+i) | |
1385 | HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i) | |
1386 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
1387 | LW.C0 = ILWF | |
1388 | end | |
1389 | SwingSnd:Play() | |
1390 | for i = 0,1,.2 do | |
1391 | rs:wait() | |
1392 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i) | |
1393 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1394 | LW.C0 = ILWF | |
1395 | end | |
1396 | GunPlode() | |
1397 | bfos.Velocity = Vector3.new(0,200,0)+chara.HumanoidRootPart.CFrame.lookVector * -100 | |
1398 | for i = 0,1,.2 do | |
1399 | rs:wait() | |
1400 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i) | |
1401 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1402 | LW.C0 = ILWF | |
1403 | end | |
1404 | bfos:Destroy() | |
1405 | for i = 0,1,.2 do | |
1406 | rs:wait() | |
1407 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),ITCF,i) | |
1408 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i) | |
1409 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,i) | |
1410 | end | |
1411 | del = false | |
1412 | Slash1Trail.Enabled = false | |
1413 | Slash2Trail.Enabled = false | |
1414 | chara.Humanoid.WalkSpeed = 16 | |
1415 | res() | |
1416 | guncool(1) | |
1417 | end | |
1418 | - | chatfunc("Have this.") |
1418 | + | |
1419 | --Grab Move-- | |
1420 | function GrabMove() | |
1421 | del = true | |
1422 | atkd = true | |
1423 | chara.Humanoid.WalkSpeed = 0 | |
1424 | chatfunc("oh") | |
1425 | exeact = true | |
1426 | Slash2Trail.Enabled = true | |
1427 | wait(.01) | |
1428 | SwingSnd:Play() | |
1429 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1430 | bfos.P = 10000 | |
1431 | bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P) | |
1432 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 500 | |
1433 | debby:AddItem(bfos,.1) | |
1434 | for i = 0,.6,.1 do | |
1435 | rs:wait() | |
1436 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1437 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1438 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1439 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1440 | end | |
1441 | wait(.5) | |
1442 | if exed == true then | |
1443 | exeact = false | |
1444 | for i = 0,.6,.1 do | |
1445 | rs:wait() | |
1446 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(-60),math.rad(90)),.4+i) | |
1447 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(150)),.4+i) | |
1448 | end | |
1449 | wait(.5) | |
1450 | PlaySnd(GunFlameSnd,chara) | |
1451 | PlaySnd(ExpSnd,chara) | |
1452 | PlaySnd(BulletGSnd,chara) | |
1453 | CasingDrop("Left") | |
1454 | local hitpt = Instance.new("Part",game.Workspace) | |
1455 | hitpt.Size = Vector3.new(1,1,1) | |
1456 | hitpt.Anchored = true | |
1457 | hitpt.CanCollide = false | |
1458 | hitpt.BrickColor = BrickColor.new("Bright yellow") | |
1459 | hitpt.CFrame = BulletSpawn2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1460 | local hitb = Instance.new("Part",game.Workspace) | |
1461 | hitb.Size = Vector3.new(1,1,1) | |
1462 | hitb.Anchored = true | |
1463 | hitb.CanCollide = false | |
1464 | hitb.BrickColor = BrickColor.new("Bright yellow") | |
1465 | hitb.Material = "Neon" | |
1466 | hitb.CFrame = CFrame.new(hitpt.Position.x,hitpt.Position.y,hitpt.Position.z) * CFrame.fromEulerAnglesXYZ(math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30)),math.random(math.rad(-30),math.rad(30))) | |
1467 | local hitbm = Instance.new("SpecialMesh",hitb) | |
1468 | hitbm.MeshType = "Sphere" | |
1469 | hitbm.Scale = Vector3.new(1,1,1) | |
1470 | local hitm = Instance.new("SpecialMesh",hitpt) | |
1471 | hitm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1472 | local hpt = coroutine.wrap(function() | |
1473 | for i = 1, 9 do | |
1474 | wait(.05) | |
1475 | hitpt.Transparency = hitpt.Transparency + .1 | |
1476 | hitm.Scale = hitm.Scale + Vector3.new(.5,.5,.5) | |
1477 | hitb.Transparency = hitb.Transparency + .1 | |
1478 | hitbm.Scale = hitbm.Scale + Vector3.new(.5,.5,.5) | |
1479 | end | |
1480 | hitpt:Destroy() | |
1481 | hitb:Destroy() | |
1482 | end) | |
1483 | hpt() | |
1484 | exed = false | |
1485 | weldd:Destroy() | |
1486 | ExHitbox(5,BulletSpawn2.Position,24,2,.1,50,50) | |
1487 | wait(1) | |
1488 | for i = 0,.6,.1 do | |
1489 | rs:wait() | |
1490 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1491 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(-60),math.rad(90)),.6-i) | |
1492 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-150)),.6-i) | |
1493 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1494 | guncool(1) | |
1495 | end | |
1496 | elseif exed == false then | |
1497 | exeact = false | |
1498 | for i = 0,.6,.1 do | |
1499 | rs:wait() | |
1500 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1501 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1502 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1503 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1504 | end | |
1505 | end | |
1506 | chara.Humanoid.WalkSpeed = 16 | |
1507 | del = false | |
1508 | Slash2Trail.Enabled = false | |
1509 | res() | |
1510 | end | |
1511 | - | chatfunc("Ray Overdrive!") |
1511 | + | |
1512 | --Ray Overdrive-- | |
1513 | function RayOver() | |
1514 | del = true | |
1515 | atkd = true | |
1516 | chara.Humanoid.WalkSpeed = 0 | |
1517 | chatfunc("pew pew pew") | |
1518 | SuperPause() | |
1519 | Slash1Trail.Enabled = true | |
1520 | Slash2Trail.Enabled = true | |
1521 | for i = 0,.6,.1 do | |
1522 | rs:wait() | |
1523 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1524 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1525 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1526 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1527 | end | |
1528 | TC.C0 = TCF | |
1529 | HC.C0 = HCF | |
1530 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1531 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1532 | wait(.5) | |
1533 | GunFlameSnd.Pitch = .7 | |
1534 | for i = 0,.6,.1 do | |
1535 | rs:wait() | |
1536 | TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1537 | end | |
1538 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1539 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1540 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1541 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1542 | GunFlameSnd:Play() | |
1543 | BulletGSnd:Play() | |
1544 | CasingDrop("Left") | |
1545 | Laser(Hitbox2) | |
1546 | wait(.5) | |
1547 | for i = 0,.6,.1 do | |
1548 | rs:wait() | |
1549 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1550 | end | |
1551 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1552 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1553 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1554 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1555 | GunFlameSnd:Play() | |
1556 | BulletGSnd:Play() | |
1557 | CasingDrop("Right") | |
1558 | Laser(Hitbox1) | |
1559 | wait(.5) | |
1560 | for i = 0,.6,.1 do | |
1561 | rs:wait() | |
1562 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),TCF,.4+i) | |
1563 | end | |
1564 | TC.C0 = TCF | |
1565 | HC.C0 = HCF | |
1566 | local bfos = Instance.new("BodyVelocity",chara.Torso) | |
1567 | bfos.P = 10000 | |
1568 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
1569 | bfos.Velocity = Vector3.new(0,600,0)+chara.HumanoidRootPart.CFrame.lookVector * -300 | |
1570 | for i = 0,.6,.1 do | |
1571 | rs:wait() | |
1572 | TC.C0 = clerp(TCF,(TCF + Vector3.new(0,1,0)),.4+i) | |
1573 | HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(40)),.4+i) | |
1574 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
1575 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),ILWF,.4+i) | |
1576 | end | |
1577 | SwingSnd:Play() | |
1578 | for i = 0,1,.2 do | |
1579 | rs:wait() | |
1580 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i) | |
1581 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1582 | LW.C0 = ILWF | |
1583 | end | |
1584 | PlaySnd(GunFlameSnd,chara) | |
1585 | PlaySnd(BulletGSnd,chara) | |
1586 | CasingDrop("Right") | |
1587 | Laser(Hitbox1) | |
1588 | PlaySnd(GunFlameSnd,chara) | |
1589 | PlaySnd(BulletGSnd,chara) | |
1590 | CasingDrop("Left") | |
1591 | Laser(Hitbox2) | |
1592 | bfos:Destroy() | |
1593 | GunFlameSnd.Pitch = 1 | |
1594 | for i = 0,1,.2 do | |
1595 | rs:wait() | |
1596 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),(TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i) | |
1597 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1598 | LW.C0 = ILWF | |
1599 | end | |
1600 | for i = 0,1,.2 do | |
1601 | rs:wait() | |
1602 | TC.C0 = clerp((TCF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),ITCF,i) | |
1603 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,math.rad(20),math.rad(90)),IHCF,i) | |
1604 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),IRWF,i) | |
1605 | end | |
1606 | del = false | |
1607 | Slash1Trail.Enabled = false | |
1608 | Slash2Trail.Enabled = false | |
1609 | chara.Humanoid.WalkSpeed = 16 | |
1610 | res() | |
1611 | - | chatfunc("Summon Arsenal: Ferir Zero!") |
1611 | + | |
1612 | ||
1613 | --Minigun-- | |
1614 | function Minigun() | |
1615 | del = true | |
1616 | atkd = true | |
1617 | chatfunc("eat die") | |
1618 | SuperPause() | |
1619 | for i = 0,.6,.1 do | |
1620 | rs:wait() | |
1621 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1622 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1623 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1624 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1625 | end | |
1626 | TC.C0 = TCF | |
1627 | HC.C0 = HCF | |
1628 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1629 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1630 | for a = .1,1,.1 do | |
1631 | local gch1 = Gun1:GetChildren() | |
1632 | local gch2 = Gun2:GetChildren() | |
1633 | wait(.001) | |
1634 | for i = 1, #gch1 do | |
1635 | if gch1[i] ~= Handle1 and gch1[i] ~= Hitbox1 then | |
1636 | gch1[i].Transparency = a | |
1637 | end | |
1638 | end | |
1639 | for i = 1, #gch2 do | |
1640 | if gch2[i] ~= Handle2 and gch2[i] ~= Hitbox2 then | |
1641 | gch2[i].Transparency = a | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | for i = 0,.6,.1 do | |
1646 | rs:wait() | |
1647 | TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1648 | HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1649 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) | |
1650 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),LWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) | |
1651 | end | |
1652 | RW.C0 = RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0) | |
1653 | local Minigun = New("Part",chara,"Minigun",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 8, 2),CFrame = CFrame.new(26.999979, 1.6000222, 45.0999527, 1.81951127e-05, 1, -1.16825559e-05, 2.54704446e-06, 1.16825104e-05, 1, 1, -1.81952728e-05, -2.54687802e-06),}) | |
1654 | local Mesh = New("SpecialMesh",Minigun,"Mesh",{Scale = Vector3.new(2, 2, 2),MeshId = "http://www.roblox.com/asset?id=71947307",TextureId = "http://www.roblox.com/asset?id=71947249",MeshType = Enum.MeshType.FileMesh,}) | |
1655 | local Weld = New("ManualWeld",Minigun,"Weld",{Part0 = Minigun,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, 1.81951127e-05, 2.54704446e-06, 1, 1, 1.16825104e-05, -1.81952728e-05, -1.16825559e-05, 1, -2.54687802e-06),C1 = CFrame.new(-3.49995232, -1.06061363, 0.35357666, -1, 0, 0, 0, 0.707106829, -0.707106829, 0, -0.707106829, -0.707106829),}) | |
1656 | for i = .1,1,.1 do | |
1657 | wait(.001) | |
1658 | Minigun.Transparency = 1 - i | |
1659 | end | |
1660 | for i = 1, 50 do | |
1661 | wait(.001) | |
1662 | PlaySnd(MinigunSnd,chara) | |
1663 | local Targ = Mouse.Hit | |
1664 | local Partt = Minigun | |
1665 | local EffectPart = Instance.new("Part",game.Workspace) | |
1666 | EffectPart.Size = Vector3.new(1,1,1) | |
1667 | EffectPart.Anchored = true | |
1668 | EffectPart.BrickColor = BrickColor.new("Bright yellow") | |
1669 | EffectPart.Material = "Neon" | |
1670 | EffectPart.Position = Targ.p | |
1671 | EffectPart.CFrame = Targ | |
1672 | local mehs1 = Instance.new("SpecialMesh",EffectPart) | |
1673 | mehs1.MeshType = "Sphere" | |
1674 | mehs1.Scale = Vector3.new(.1,.1,.1) | |
1675 | local P = Instance.new("Part") | |
1676 | local Place0 = Partt.CFrame + Partt.CFrame.upVector*4 | |
1677 | local Place1 = EffectPart.CFrame | |
1678 | local meshla = Instance.new("BlockMesh", P) | |
1679 | meshla.Scale = Vector3.new(.1,.1,1) | |
1680 | P.formFactor = 0 | |
1681 | P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude) | |
1682 | P.Name = "Laser" | |
1683 | P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) | |
1684 | P.Parent = game.Workspace | |
1685 | P.BrickColor = BrickColor.new("Bright yellow") | |
1686 | P.Material = "Neon" | |
1687 | P.Anchored = true | |
1688 | P.CanCollide = false | |
1689 | P.Locked = true | |
1690 | P.BottomSurface = "Smooth" | |
1691 | P.TopSurface = "Smooth" | |
1692 | ExHitbox(3,Place1.p,3,1,.05,10,2) | |
1693 | local fu = coroutine.wrap(function() | |
1694 | for i = 1, 10 do | |
1695 | wait(.001) | |
1696 | mehs1.Scale = mehs1.Scale + Vector3.new(.1,.1,.1) | |
1697 | meshla.Scale = meshla.Scale + Vector3.new(.05,.05,0) | |
1698 | EffectPart.Transparency = EffectPart.Transparency + .1 | |
1699 | P.Transparency = P.Transparency + .1 | |
1700 | end | |
1701 | ---- | |
1702 | P:Destroy() | |
1703 | EffectPart:Destroy() | |
1704 | end) | |
1705 | fu() | |
1706 | end | |
1707 | MiniStopSnd:Play() | |
1708 | wait(.5) | |
1709 | for i = .1,1,.1 do | |
1710 | wait(.001) | |
1711 | Minigun.Transparency = i | |
1712 | end | |
1713 | Minigun:Destroy() | |
1714 | for i = 0,.6,.1 do | |
1715 | rs:wait() | |
1716 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),ITCF,.4+i) | |
1717 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),IHCF,.4+i) | |
1718 | RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),IRWF,.4+i) | |
1719 | LW.C0 = clerp(LWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),ILWF,.4+i) | |
1720 | end | |
1721 | for a = .1,1,.1 do | |
1722 | local gch1 = Gun1:GetChildren() | |
1723 | local gch2 = Gun2:GetChildren() | |
1724 | wait(.001) | |
1725 | for i = 1, #gch1 do | |
1726 | if gch1[i] ~= Handle1 and gch1[i] ~= Hitbox1 then | |
1727 | gch1[i].Transparency = 1-a | |
1728 | end | |
1729 | end | |
1730 | for i = 1, #gch2 do | |
1731 | if gch2[i] ~= Handle2 and gch2[i] ~= Hitbox2 then | |
1732 | gch2[i].Transparency = 1-a | |
1733 | end | |
1734 | end | |
1735 | end | |
1736 | del = false | |
1737 | - | chatfunc("Rocket Barrage!") |
1737 | + | |
1738 | end | |
1739 | ||
1740 | function RocketBlast() | |
1741 | del = true | |
1742 | atkd = true | |
1743 | chatfunc("kaboom") | |
1744 | SuperPause() | |
1745 | Slash1Trail.Enabled = true | |
1746 | Slash2Trail.Enabled = true | |
1747 | for i = 0,.6,.1 do | |
1748 | rs:wait() | |
1749 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1750 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1751 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1752 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1753 | end | |
1754 | TC.C0 = TCF | |
1755 | HC.C0 = HCF | |
1756 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1757 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1758 | local bpos = Instance.new("BodyPosition",chara.Torso) | |
1759 | bpos.Position = chara.Torso.Position + Vector3.new(0,20,0) | |
1760 | bpos.MaxForce = Vector3.new(10000,10000,10000) | |
1761 | wait(1) | |
1762 | for i = 1,3 do | |
1763 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1764 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1765 | MissileSnd:Play() | |
1766 | local missile = Instance.new("Part",game.Workspace) | |
1767 | missile.Size = Vector3.new(0,0,1.2) | |
1768 | missile.Name = "Blast" | |
1769 | missile.TopSurface = 0 | |
1770 | missile.BottomSurface = 0 | |
1771 | missile.Position = BulletSpawn1.Position | |
1772 | missile.CFrame = BulletSpawn1.CFrame | |
1773 | missile.Velocity = BulletSpawn1.CFrame.lookVector*100 | |
1774 | missile.CFrame = CFrame.new(BulletSpawn1.Position,BulletSpawn1.Position + BulletSpawn1.CFrame.upVector*2) | |
1775 | local p1mit = Instance.new("ParticleEmitter",missile) | |
1776 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1777 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright yellow").Color)}) | |
1778 | p1mit.LightEmission = 1 | |
1779 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1780 | p1mit.Lifetime = NumberRange.new(1) | |
1781 | p1mit.Rate = 10000 | |
1782 | p1mit.Rotation = NumberRange.new(0,359) | |
1783 | p1mit.RotSpeed = NumberRange.new(100) | |
1784 | p1mit.Speed = NumberRange.new(0) | |
1785 | local mesh1 = Instance.new("SpecialMesh",missile) | |
1786 | mesh1.MeshId = "http://www.roblox.com/asset/?id=111879014" | |
1787 | mesh1.TextureId = "http://www.roblox.com/asset/?id=111878985" | |
1788 | mesh1.Scale = Vector3.new(1.2,1.2,1.2) | |
1789 | local force = Instance.new("BodyForce") | |
1790 | force.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1791 | force.Parent = missile | |
1792 | local bf = Instance.new("BodyVelocity",missile) | |
1793 | bf.P = 10000 | |
1794 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
1795 | bf.Velocity = BulletSpawn1.CFrame.upVector*100 | |
1796 | local gy = Instance.new("BodyGyro",missile) | |
1797 | gy.MaxTorque = Vector3.new(0,0,0) | |
1798 | local chase = coroutine.wrap(function() | |
1799 | wait(.3) | |
1800 | while wait() do | |
1801 | if targetted ~= nil then | |
1802 | local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1803 | bf.Velocity = (torsy.Position - missile.Position).unit*100 | |
1804 | gy.CFrame = CFrame.new(missile.Position, targetted.Head.Position) | |
1805 | gy.maxTorque = Vector3.new(9000,9000,9000) | |
1806 | end | |
1807 | end | |
1808 | end) | |
1809 | chase() | |
1810 | missile.Touched:connect(function(hit) | |
1811 | if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile.Anchored == false) then | |
1812 | missile.Anchored = true | |
1813 | PlaySnd(ExpSnd,missile) | |
1814 | p1mit.Enabled = false | |
1815 | mesh1.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
1816 | mesh1.TextureId = "http://www.roblox.com/asset/?id=3126553" | |
1817 | ExHitbox(8,missile.Position,15,3,.05,30,50) | |
1818 | wait(0.1) | |
1819 | missile.Transparency = .25 | |
1820 | missile.Mesh.Scale = Vector3.new(2,2,2) | |
1821 | wait(0.1) | |
1822 | missile.Transparency = .5 | |
1823 | missile.Mesh.Scale = Vector3.new(4,4,4) | |
1824 | wait(0.1) | |
1825 | missile.Transparency = .75 | |
1826 | missile.Mesh.Scale = Vector3.new(6,6,6) | |
1827 | wait(0.1) | |
1828 | missile:Destroy() | |
1829 | end | |
1830 | end) | |
1831 | wait(.1) | |
1832 | debby:AddItem(missile,10) | |
1833 | MissileSnd:Play() | |
1834 | local missile2 = Instance.new("Part",game.Workspace) | |
1835 | missile2.Size = Vector3.new(0,0,1.2) | |
1836 | missile2.Name = "Blast" | |
1837 | missile2.TopSurface = 0 | |
1838 | missile2.BottomSurface = 0 | |
1839 | missile2.Position = BulletSpawn2.Position | |
1840 | missile2.CFrame = BulletSpawn2.CFrame | |
1841 | missile2.Velocity = BulletSpawn2.CFrame.lookVector*100 | |
1842 | missile2.CFrame = CFrame.new(BulletSpawn2.Position,BulletSpawn2.Position + BulletSpawn2.CFrame.upVector*2) | |
1843 | local p2mit = Instance.new("ParticleEmitter",missile2) | |
1844 | p2mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1845 | p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright orange").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright yellow").Color)}) | |
1846 | p2mit.LightEmission = 1 | |
1847 | p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1848 | p2mit.Lifetime = NumberRange.new(1) | |
1849 | p2mit.Rate = 10000 | |
1850 | p2mit.Rotation = NumberRange.new(0,359) | |
1851 | p2mit.RotSpeed = NumberRange.new(100) | |
1852 | p2mit.Speed = NumberRange.new(0) | |
1853 | local mesh2 = Instance.new("SpecialMesh",missile2) | |
1854 | mesh2.MeshId = "http://www.roblox.com/asset/?id=111879014" | |
1855 | mesh2.TextureId = "http://www.roblox.com/asset/?id=111878985" | |
1856 | mesh2.Scale = Vector3.new(1.2,1.2,1.2) | |
1857 | local force2 = Instance.new("BodyForce") | |
1858 | force2.force = Vector3.new(0,missile:GetMass()*game.Workspace.Gravity,0) | |
1859 | force2.Parent = missile2 | |
1860 | local bf2 = Instance.new("BodyVelocity",missile2) | |
1861 | bf2.P = 10000 | |
1862 | bf2.MaxForce = Vector3.new(bf2.P,bf2.P,bf2.P) | |
1863 | bf2.Velocity = BulletSpawn2.CFrame.upVector*100 | |
1864 | local gy2 = Instance.new("BodyGyro",missile2) | |
1865 | gy2.MaxTorque = Vector3.new(0,0,0) | |
1866 | local chase2 = coroutine.wrap(function() | |
1867 | wait(.3) | |
1868 | while wait() do | |
1869 | if targetted ~= nil then | |
1870 | local torsy = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1871 | bf2.Velocity = (torsy.Position - missile2.Position).unit*100 | |
1872 | gy2.CFrame = CFrame.new(missile2.Position, targetted.Head.Position) | |
1873 | gy2.maxTorque = Vector3.new(9000,9000,9000) | |
1874 | end | |
1875 | end | |
1876 | end) | |
1877 | chase2() | |
1878 | missile2.Touched:connect(function(hit) | |
1879 | if (hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Name ~= "Blast" and missile2.Anchored == false) then | |
1880 | missile2.Anchored = true | |
1881 | PlaySnd(ExpSnd,missile2) | |
1882 | p2mit.Enabled = false | |
1883 | mesh2.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
1884 | mesh2.TextureId = "http://www.roblox.com/asset/?id=3126553" | |
1885 | ExHitbox(8,missile2.Position,15,3,.05,30,50) | |
1886 | wait(0.1) | |
1887 | missile2.Transparency = .25 | |
1888 | missile2.Mesh.Scale = Vector3.new(2,2,2) | |
1889 | wait(0.1) | |
1890 | missile2.Transparency = .5 | |
1891 | missile2.Mesh.Scale = Vector3.new(4,4,4) | |
1892 | wait(0.1) | |
1893 | missile2.Transparency = .75 | |
1894 | missile2.Mesh.Scale = Vector3.new(6,6,6) | |
1895 | wait(0.1) | |
1896 | missile2:Destroy() | |
1897 | end | |
1898 | end) | |
1899 | debby:AddItem(missile2,10) | |
1900 | wait(.1) | |
1901 | end | |
1902 | for i = 0,.6,.1 do | |
1903 | rs:wait() | |
1904 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
1905 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
1906 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
1907 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
1908 | end | |
1909 | bpos:Destroy() | |
1910 | del = false | |
1911 | Slash1Trail.Enabled = false | |
1912 | Slash2Trail.Enabled = false | |
1913 | res() | |
1914 | end | |
1915 | ||
1916 | --Final Attack-- | |
1917 | - | chatfunc("Formula Type II!") |
1917 | + | |
1918 | didfinal = false | |
1919 | function FinalGrab(hit) | |
1920 | if finalgrab == true and hit.Parent.Parent ~= chara and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent.Parent.Name ~= "Boss" then | |
1921 | finalgrab = false | |
1922 | didfinal = true | |
1923 | chatfunc("gotem") | |
1924 | KickTrail.Enabled = true | |
1925 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
1926 | PunchEff(hit.CFrame) | |
1927 | local stay = coroutine.wrap(function() | |
1928 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
1929 | hit.Parent.Humanoid.WalkSpeed = 0 | |
1930 | hit.Parent.Humanoid.PlatformStand = true | |
1931 | end | |
1932 | end) | |
1933 | stay() | |
1934 | local valll = Instance.new("ObjectValue",hit.Parent) | |
1935 | valll.Name = "HitByUlt" | |
1936 | local bpos = Instance.new("BodyPosition",hit.Parent.Head) | |
1937 | bpos.MaxForce = Vector3.new(10000,10000,10000) | |
1938 | bpos.Position = chara.HumanoidRootPart.Position + Vector3.new(0,10,0) + chara.HumanoidRootPart.CFrame.lookVector*5 | |
1939 | Swing2Snd:Play() | |
1940 | HitPunchSnd:Play() | |
1941 | AddLegWelds() | |
1942 | for i = 0,.6,.1 do | |
1943 | rs:wait() | |
1944 | TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-80),0,math.rad(-85)),.4+i) | |
1945 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.4+i) | |
1946 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.4+i) | |
1947 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i) | |
1948 | RLW.C0 = clerp(RLWF,(LLWF - Vector3.new(1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),.4+i) | |
1949 | LLW.C0 = clerp(LLWF,(RLWF - Vector3.new(-1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),.4+i) | |
1950 | end | |
1951 | wait(1) | |
1952 | for i = 0,.6,.1 do | |
1953 | rs:wait() | |
1954 | TC.C0 = clerp(ITCF,(TCF - Vector3.new(0,.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-80),0,math.rad(-85)),.6-i) | |
1955 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(85)),.6-i) | |
1956 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,.3,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30)),.6-i) | |
1957 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.2,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i) | |
1958 | RLW.C0 = clerp(RLWF,(LLWF - Vector3.new(1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),.6-i) | |
1959 | LLW.C0 = clerp(LLWF,(RLWF - Vector3.new(-1.5,.5,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),.6-i) | |
1960 | end | |
1961 | KickTrail.Enabled = false | |
1962 | Slash1Trail.Enabled = true | |
1963 | Slash2Trail.Enabled = true | |
1964 | DestroyLegWelds() | |
1965 | for i = 0,.6,.1 do | |
1966 | rs:wait() | |
1967 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
1968 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
1969 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
1970 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
1971 | end | |
1972 | TC.C0 = TCF | |
1973 | HC.C0 = HCF | |
1974 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
1975 | LW.C0 = (LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
1976 | local blasts = {} | |
1977 | for i = 1, 10 do | |
1978 | GunFlameSnd:Play() | |
1979 | BulletGSnd:Play() | |
1980 | CasingDrop("Left") | |
1981 | local missile = Instance.new("Part",chara) | |
1982 | missile.Size = Vector3.new(0,0,0) | |
1983 | missile.Name = "BlastA" | |
1984 | missile.Transparency = 1 | |
1985 | missile.Position = BulletSpawn2.Position | |
1986 | missile.CFrame = BulletSpawn2.CFrame | |
1987 | table.insert(blasts,missile) | |
1988 | local bp = Instance.new("BodyPosition",missile) | |
1989 | bp.Position = hit.Parent.Torso.Position + Vector3.new(math.random(-7,7),math.random(-7,7),math.random(-7,7)) | |
1990 | local p1mit = Instance.new("ParticleEmitter",missile) | |
1991 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1992 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)}) | |
1993 | p1mit.LightEmission = 1 | |
1994 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
1995 | p1mit.Lifetime = NumberRange.new(1) | |
1996 | p1mit.Rate = 10000 | |
1997 | p1mit.Rotation = NumberRange.new(0,359) | |
1998 | p1mit.RotSpeed = NumberRange.new(100) | |
1999 | p1mit.Speed = NumberRange.new(0) | |
2000 | wait(.1) | |
2001 | GunFlameSnd:Play() | |
2002 | BulletGSnd:Play() | |
2003 | CasingDrop("Right") | |
2004 | local missile = Instance.new("Part",chara) | |
2005 | missile.Size = Vector3.new(0,0,0) | |
2006 | missile.Name = "BlastA" | |
2007 | missile.Transparency = 1 | |
2008 | missile.Position = BulletSpawn1.Position | |
2009 | missile.CFrame = BulletSpawn1.CFrame | |
2010 | table.insert(blasts,missile) | |
2011 | local bp = Instance.new("BodyPosition",missile) | |
2012 | bp.Position = hit.Parent.Torso.Position + Vector3.new(math.random(-7,7),math.random(-7,7),math.random(-7,7)) | |
2013 | local p1mit = Instance.new("ParticleEmitter",missile) | |
2014 | p1mit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
2015 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new("Bright yellow").Color),ColorSequenceKeypoint.new(1,BrickColor.new("Bright orange").Color)}) | |
2016 | p1mit.LightEmission = 1 | |
2017 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
2018 | p1mit.Lifetime = NumberRange.new(1) | |
2019 | p1mit.Rate = 10000 | |
2020 | - | chatfunc("Activate!") |
2020 | + | |
2021 | p1mit.RotSpeed = NumberRange.new(100) | |
2022 | p1mit.Speed = NumberRange.new(0) | |
2023 | wait(.1) | |
2024 | end | |
2025 | wait(.5) | |
2026 | chatfunc("lol") | |
2027 | wait(1) | |
2028 | GunFlameSnd.Pitch = .5 | |
2029 | for i = 1, #blasts do | |
2030 | GunFlameSnd:Play() | |
2031 | local EffectPart = Instance.new("Part",game.Workspace) | |
2032 | EffectPart.Size = Vector3.new(1,1,1) | |
2033 | EffectPart.Anchored = true | |
2034 | EffectPart.BrickColor = BrickColor.new("Bright yellow") | |
2035 | EffectPart.Material = "Neon" | |
2036 | EffectPart.Position = hit.Parent.Torso.Position | |
2037 | EffectPart.CFrame = hit.Parent.Torso.CFrame | |
2038 | local mehs1 = Instance.new("SpecialMesh",EffectPart) | |
2039 | mehs1.MeshType = "Sphere" | |
2040 | mehs1.Scale = Vector3.new(2,2,2) | |
2041 | local P = Instance.new("Part") | |
2042 | local Place0 = blasts[i].CFrame | |
2043 | local Place1 = EffectPart.CFrame | |
2044 | local meshla = Instance.new("BlockMesh", P) | |
2045 | meshla.Scale = Vector3.new(1,1,1) | |
2046 | P.formFactor = 0 | |
2047 | P.Size = Vector3.new(1,1,(Place0.p - Place1.p).magnitude) | |
2048 | P.Name = "Laser" | |
2049 | P.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) | |
2050 | P.Parent = game.Workspace | |
2051 | P.BrickColor = BrickColor.new("Bright yellow") | |
2052 | P.Material = "Neon" | |
2053 | P.Anchored = true | |
2054 | P.CanCollide = false | |
2055 | P.Locked = true | |
2056 | P.BottomSurface = "Smooth" | |
2057 | P.TopSurface = "Smooth" | |
2058 | local fu = coroutine.wrap(function() | |
2059 | for i = 1, 10 do | |
2060 | wait(.01) | |
2061 | mehs1.Scale = mehs1.Scale + Vector3.new(.5,.5,.5) | |
2062 | meshla.Scale = meshla.Scale + Vector3.new(.25,.25,0) | |
2063 | EffectPart.Transparency = EffectPart.Transparency + .1 | |
2064 | P.Transparency = P.Transparency + .1 | |
2065 | end | |
2066 | ---- | |
2067 | P:Destroy() | |
2068 | EffectPart:Destroy() | |
2069 | end) | |
2070 | fu() | |
2071 | blasts[i]:Destroy() | |
2072 | rs:wait() | |
2073 | end | |
2074 | BExpSnd:Play() | |
2075 | local jtrace = Instance.new("Part",game.Workspace) | |
2076 | jtrace.BrickColor = BrickColor.new("Bright yellow") | |
2077 | jtrace.Size = Vector3.new(0,0,0) | |
2078 | jtrace.Position = hit.Parent.Head.Position | |
2079 | jtrace.CFrame = CFrame.new(hit.Parent.Head.Position.X,hit.Parent.Head.Position.Y,hit.Parent.Head.Position.Z) | |
2080 | jtrace.Anchored = true | |
2081 | jtrace.CanCollide = false | |
2082 | jtrace.Material = "Neon" | |
2083 | local tmesh = Instance.new("CylinderMesh",jtrace) | |
2084 | tmesh.Scale = Vector3.new(20,1000,20) | |
2085 | local coro = coroutine.wrap(function() | |
2086 | for i = 1, 10 do | |
2087 | wait(.01) | |
2088 | jtrace.Transparency = jtrace.Transparency + .1 | |
2089 | tmesh.Scale = tmesh.Scale + Vector3.new(20,20,20) | |
2090 | end | |
2091 | jtrace:Destroy() | |
2092 | end) | |
2093 | coro() | |
2094 | local dude = hit.Parent | |
2095 | local ds = coroutine.wrap(function() | |
2096 | targetted = nil | |
2097 | dude:BreakJoints() | |
2098 | dude.Humanoid:Destroy() | |
2099 | PlaySnd(ClawDashSnd,dude.Head) | |
2100 | local chi = dude:GetChildren() | |
2101 | for i = 1, #chi do | |
2102 | if chi[i].ClassName == "Part" then | |
2103 | local bodpos = Instance.new("BodyPosition",chi[i]) | |
2104 | bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
2105 | chi[i].BrickColor = BrickColor.new("Really black") | |
2106 | end | |
2107 | end | |
2108 | for i = 1, 4 do | |
2109 | for i = 1, #chi do | |
2110 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
2111 | chi[i].Transparency = chi[i].Transparency + .25 | |
2112 | wait(.01) | |
2113 | end | |
2114 | end | |
2115 | end | |
2116 | dude:Destroy() | |
2117 | end) | |
2118 | ds() | |
2119 | wait(3) | |
2120 | for i = 0,.6,.1 do | |
2121 | rs:wait() | |
2122 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
2123 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
2124 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
2125 | - | chatfunc("The BDD-41 is a deadly force...") |
2125 | + | |
2126 | end | |
2127 | Slash1Trail.Enabled = false | |
2128 | Slash2Trail.Enabled = false | |
2129 | GunFlameSnd.Pitch = 1 | |
2130 | didfinal = false | |
2131 | chatfunc("xd") | |
2132 | del = false | |
2133 | chara.Humanoid.WalkSpeed = 16 | |
2134 | res() | |
2135 | end | |
2136 | end | |
2137 | chara.Torso.Touched:connect(FinalGrab) | |
2138 | ||
2139 | - | chatfunc("Come at me.") |
2139 | + | |
2140 | del = true | |
2141 | atkd = true | |
2142 | finalgrab = true | |
2143 | chara.Humanoid.WalkSpeed = 30 | |
2144 | SuperPause() | |
2145 | chatfunc("cmere") | |
2146 | for i = 0,.6,.1 do | |
2147 | rs:wait() | |
2148 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
2149 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
2150 | RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),.4+i) | |
2151 | LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),.4+i) | |
2152 | end | |
2153 | wait(3) | |
2154 | if didfinal == false then | |
2155 | finalgrab = false | |
2156 | for i = 0,.6,.1 do | |
2157 | rs:wait() | |
2158 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
2159 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
2160 | RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-5)),.6-i) | |
2161 | LW.C0 = clerp(ILWF,LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(5)),.6-i) | |
2162 | end | |
2163 | del = false | |
2164 | chara.Humanoid.WalkSpeed = 16 | |
2165 | res() | |
2166 | elseif didfinal == true then | |
2167 | end | |
2168 | end | |
2169 | ||
2170 | --Lock On-- | |
2171 | function LockOn() | |
2172 | if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2173 | TargetSelect(Mouse.Target.Parent) | |
2174 | TargetSnd:Play() | |
2175 | wait(.05) | |
2176 | TargetSnd:Play() | |
2177 | else end | |
2178 | end | |
2179 | ||
2180 | --Block-- | |
2181 | blockval = false | |
2182 | healthlock = 0 | |
2183 | effeff = nil | |
2184 | function ToggleBlock() | |
2185 | if blockval == false then | |
2186 | blockval = true | |
2187 | SwingSnd:Play() | |
2188 | healthlock = chara.Humanoid.Health | |
2189 | effeff = Instance.new("ForceField",chara) | |
2190 | effeff.Name = "FawsFeeld" | |
2191 | effeff.Visible = false | |
2192 | for i = 0,.6,.1 do | |
2193 | rs:wait() | |
2194 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
2195 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
2196 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(-1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(45)),.4+i) | |
2197 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(-45)),.4+i) | |
2198 | end | |
2199 | elseif blockval == true then | |
2200 | SwingSnd:Play() | |
2201 | effeff:Destroy() | |
2202 | blockval = false | |
2203 | for i = 0,.6,.1 do | |
2204 | rs:wait() | |
2205 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
2206 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
2207 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(-1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(45)),.6-i) | |
2208 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(1,.5,-1)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(-45)),.6-i) | |
2209 | end | |
2210 | atkdd = true | |
2211 | end | |
2212 | end | |
2213 | ||
2214 | function Stunned() | |
2215 | del = true | |
2216 | blockval = false | |
2217 | chara.Humanoid.WalkSpeed = 0 | |
2218 | local naeeym2 = Instance.new("BillboardGui",chara) | |
2219 | naeeym2.Size = UDim2.new(0,100,0,40) | |
2220 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
2221 | naeeym2.Adornee = chara.Head | |
2222 | naeeym2.Name = "Counter" | |
2223 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
2224 | tecks2.BackgroundTransparency = 1 | |
2225 | tecks2.BorderSizePixel = 0 | |
2226 | tecks2.Text = "Stunned!" | |
2227 | tecks2.Font = "Fantasy" | |
2228 | tecks2.FontSize = "Size24" | |
2229 | tecks2.TextStrokeTransparency = 0 | |
2230 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
2231 | tecks2.TextColor3 = Color3.new(1,0,0) | |
2232 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
2233 | for i = 1, 30 do | |
2234 | wait(.1) | |
2235 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0) | |
2236 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0) | |
2237 | RW.C0 = (RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0) | |
2238 | LW.C0 = (LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)) | |
2239 | end | |
2240 | for i = 1, 5 do | |
2241 | wait(.01) | |
2242 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
2243 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
2244 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
2245 | end | |
2246 | for i = 0,.6,.1 do | |
2247 | rs:wait() | |
2248 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),ITCF,.4+i) | |
2249 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),IHCF,.4+i) | |
2250 | RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),IRWF,.4+i) | |
2251 | LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,.4+i) | |
2252 | end | |
2253 | del = false | |
2254 | chara.Humanoid.WalkSpeed = 16 | |
2255 | end | |
2256 | ||
2257 | blkpct = 100 | |
2258 | local bcount = coroutine.wrap(function() | |
2259 | while wait() do | |
2260 | if blockval == false then | |
2261 | if blkpct < 100 then | |
2262 | blkpct = blkpct + 1 | |
2263 | wait(.5) | |
2264 | else | |
2265 | end | |
2266 | end | |
2267 | player.PlayerGui.InfoScreen.BlockTxtBox.Text = blkpct.."%" | |
2268 | end | |
2269 | end) | |
2270 | bcount() | |
2271 | ||
2272 | chara.Humanoid.HealthChanged:connect(function(hth) | |
2273 | if blockval == true then | |
2274 | if math.floor(hth) < healthlock then | |
2275 | blkpct = blkpct - math.random(2,4) | |
2276 | if blkpct < 1 then | |
2277 | Stunned() | |
2278 | end | |
2279 | print("Block Value reduced to "..blkpct) | |
2280 | else | |
2281 | end | |
2282 | end | |
2283 | end) | |
2284 | ||
2285 | --Mouse Functions-- | |
2286 | orbpushactive = false | |
2287 | del = false | |
2288 | input = "" | |
2289 | letterd = 0 | |
2290 | ltoim = 0 | |
2291 | function onKeyDown(key) | |
2292 | if key == "e" and attacking == false then | |
2293 | ToggleBlock() | |
2294 | elseif del == false and blockval == false then | |
2295 | if key == "q" and player.PlayerGui.InfoScreen:FindFirstChild("CoolDown")==nil then | |
2296 | if input == "sd" and targetted ~= nil then | |
2297 | ABlast() | |
2298 | elseif input == "dsas" and berserkmode == true then | |
2299 | RayOver() | |
2300 | elseif input == "ssdd" and berserkmode == true then | |
2301 | Minigun() | |
2302 | elseif input == "dasd" and targetted ~= nil and berserkmode == true then | |
2303 | RocketBlast() | |
2304 | elseif input == "ss" then | |
2305 | BackEx() | |
2306 | elseif input == "add" then | |
2307 | GrabMove() | |
2308 | elseif input == "adad" and berserkmode == false and overcharge == 100 then | |
2309 | Overdrive() | |
2310 | elseif input == "asdss" and berserkmode == true and player.PlayerGui.InfoScreen:FindFirstChild("UltCoolDown")==nil then | |
2311 | AttemptFinal() | |
2312 | else LockOn() end | |
2313 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Q" | |
2314 | input = "" | |
2315 | letterd = 0 | |
2316 | ltoim = 0 | |
2317 | elseif key == "z" then | |
2318 | Punch() | |
2319 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."Z" | |
2320 | input = "" | |
2321 | letterd = 0 | |
2322 | ltoim = 0 | |
2323 | elseif key == "x" then | |
2324 | if input == "sa" then | |
2325 | BanditRevolver() | |
2326 | elseif input == "ss" then | |
2327 | FlipKick() | |
2328 | else KickAtk() end | |
2329 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."X" | |
2330 | input = "" | |
2331 | letterd = 0 | |
2332 | ltoim = 0 | |
2333 | elseif key == "c" and player.PlayerGui.InfoScreen:FindFirstChild("CoolDown")==nil then | |
2334 | if input == "dsd" then | |
2335 | Decapitator() | |
2336 | else ExplodPunch() end | |
2337 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input).."C" | |
2338 | input = "" | |
2339 | letterd = 0 | |
2340 | ltoim = 0 | |
2341 | elseif (key == "w" or key == "a" or key == "s" or key == "d") then | |
2342 | input=input..key | |
2343 | print(input) | |
2344 | letterd = letterd + 1 | |
2345 | ltoim = 10 | |
2346 | if letterd > 5 then | |
2347 | input = "" | |
2348 | letterd = 0 | |
2349 | ltoim = 0 | |
2350 | end | |
2351 | end | |
2352 | end | |
2353 | end | |
2354 | combo = 0 | |
2355 | ||
2356 | --Mouse Activation-- | |
2357 | if Mouse then | |
2358 | Mouse.KeyDown:connect(onKeyDown) | |
2359 | end | |
2360 | ||
2361 | --Overdrive Charge-- | |
2362 | local count = coroutine.wrap(function() | |
2363 | while wait() do | |
2364 | if berserkmode == false then | |
2365 | if overcharge < 100 then | |
2366 | overcharge = overcharge + 1 | |
2367 | player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = overcharge.."%" | |
2368 | wait(.1) | |
2369 | else | |
2370 | end | |
2371 | elseif berserkmode == true then | |
2372 | player.PlayerGui.InfoScreen.OverdriveTxtBox.Text = "Overdrive!" | |
2373 | end | |
2374 | end | |
2375 | end) | |
2376 | count() | |
2377 | ||
2378 | --Loop Function-- | |
2379 | walking = false | |
2380 | toim = 0 | |
2381 | while true do | |
2382 | wait() | |
2383 | toim = toim + .1 | |
2384 | ltoim = ltoim - 1 | |
2385 | if ltoim < 1 then | |
2386 | input = "" | |
2387 | end | |
2388 | if del == false then attacking = false elseif del == true then attacking = true end | |
2389 | if blockval == true and chara:FindFirstChild("HitByUlt")==nil then | |
2390 | chara.Humanoid.Health = healthlock | |
2391 | end | |
2392 | if del == false then | |
2393 | player.PlayerGui.InfoScreen.KeystrokeTxtBox.Text = string.upper(input) | |
2394 | end | |
2395 | if atkd == true then | |
2396 | TC.C0 = TCF | |
2397 | HC.C0 = HCF | |
2398 | RW.C0 = RWF | |
2399 | LW.C0 = LWF | |
2400 | atkd = false | |
2401 | end | |
2402 | if atkdd == true then | |
2403 | TC.C0 = ITCF | |
2404 | HC.C0 = IHCF | |
2405 | RW.C0 = IRWF | |
2406 | LW.C0 = ILWF | |
2407 | atkdd = false | |
2408 | end | |
2409 | torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
2410 | if torvel < 1 and walking == true and del == false and atkd == false and attacking == false and blockval == false then | |
2411 | for i = 0,1,.5 do | |
2412 | wait(.001) | |
2413 | if del == false and attacking == false and blockval == false then | |
2414 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),ITCF,i) | |
2415 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),IHCF,i) | |
2416 | RW.C0 = IRWF | |
2417 | LW.C0 = clerp((LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),ILWF,i) | |
2418 | end | |
2419 | end | |
2420 | walking = false | |
2421 | elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false and blockval == false then | |
2422 | for i = 0,1,.5 do | |
2423 | wait(.001) | |
2424 | if del == false and attacking == false and blockval == false then | |
2425 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i) | |
2426 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-30),0,0),i) | |
2427 | RW.C0 = IRWF | |
2428 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(20)),i) | |
2429 | end | |
2430 | end | |
2431 | walking = true | |
2432 | else | |
2433 | end | |
2434 | imgl.Rotation = imgl.Rotation + 3 | |
2435 | if targetted ~= nil then | |
2436 | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2437 | crosshair.Enabled = true | |
2438 | elseif targetted == nil then | |
2439 | crosshair.Adornee = nil | |
2440 | crosshair.Enabled = false | |
2441 | end | |
2442 | end |