SHOW:
|
|
- or go back to the newest paste.
1 | -- DUALIECIDER | |
2 | --[[ | |
3 | Genocider by Salvo_Starly | |
4 | Remade by Nebula_Zorua | |
5 | ||
6 | Credit to CKbackup's and idk.. | |
7 | B | |
8 | U R | |
9 | N I N H | |
10 | E L | |
11 | L | |
12 | ]]-- | |
13 | ||
14 | ||
15 | wait(1 / 60) | |
16 | Effects = { } | |
17 | - | local Player = game.Players.localPlayer |
17 | + | local Player = game.Players.Saiyan_Savages |
18 | local Character = Player.Character | |
19 | local Humanoid = Character.Humanoid | |
20 | - | local Mouse = Player:GetMouse() |
20 | + | |
21 | local RightArm = Character["Right Arm"] | |
22 | local LeftLeg = Character["Left Leg"] | |
23 | local RightLeg = Character["Right Leg"] | |
24 | local Head = Character.Head | |
25 | local Torso = Character.Torso | |
26 | local Camera = game.Workspace.CurrentCamera | |
27 | local RootPart = Character.HumanoidRootPart | |
28 | local RootJoint = RootPart.RootJoint | |
29 | local attack = false | |
30 | local Anim = 'Idle' | |
31 | local attacktype = 1 | |
32 | local delays = false | |
33 | local play = true | |
34 | local targetted = nil | |
35 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
36 | local velocity = RootPart.Velocity.y | |
37 | local sine = 0 | |
38 | local change = 1 | |
39 | local doe = 0 | |
40 | local Create = LoadLibrary("RbxUtility").Create | |
41 | Humanoid.WalkSpeed = 8 | |
42 | local m = Create("Model"){ | |
43 | Parent = Character, | |
44 | Name = "WeaponModel", | |
45 | } | |
46 | ||
47 | Humanoid.Animator.Parent = nil | |
48 | Character.Animate.Parent = nil | |
49 | ||
50 | local newMotor = function(part0, part1, c0, c1) | |
51 | local w = Create('Motor'){ | |
52 | Parent = part0, | |
53 | Part0 = part0, | |
54 | Part1 = part1, | |
55 | C0 = c0, | |
56 | C1 = c1, | |
57 | } | |
58 | return w | |
59 | end | |
60 | ||
61 | function clerp(a, b, t) | |
62 | return a:lerp(b, t) | |
63 | end | |
64 | ||
65 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
66 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
67 | ||
68 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
69 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
70 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
71 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
72 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
73 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
74 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
75 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
76 | ||
77 | local rarmc1 = RW.C1 | |
78 | local larmc1 = LW.C1 | |
79 | local rlegc1 = RH.C1 | |
80 | local llegc1 = LH.C1 | |
81 | ||
82 | local resetc1 = false | |
83 | ||
84 | function PlayAnimationFromTable(table, speed, bool) | |
85 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
86 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
87 | RW.C0 = clerp(RW.C0, table[3], speed) | |
88 | LW.C0 = clerp(LW.C0, table[4], speed) | |
89 | RH.C0 = clerp(RH.C0, table[5], speed) | |
90 | LH.C0 = clerp(LH.C0, table[6], speed) | |
91 | if bool == true then | |
92 | if resetc1 == false then | |
93 | resetc1 = true | |
94 | RootJoint.C1 = RootJoint.C1 | |
95 | Torso.Neck.C1 = Torso.Neck.C1 | |
96 | RW.C1 = rarmc1 | |
97 | LW.C1 = larmc1 | |
98 | RH.C1 = rlegc1 | |
99 | LH.C1 = llegc1 | |
100 | end | |
101 | end | |
102 | end | |
103 | ||
104 | ArtificialHB = Create("BindableEvent", script){ | |
105 | Parent = script, | |
106 | Name = "Heartbeat", | |
107 | } | |
108 | ||
109 | script:WaitForChild("Heartbeat") | |
110 | ||
111 | frame = 1 / 30 | |
112 | tf = 0 | |
113 | allowframeloss = false | |
114 | tossremainder = false | |
115 | lastframe = tick() | |
116 | script.Heartbeat:Fire() | |
117 | ||
118 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
119 | tf = tf + s | |
120 | if tf >= frame then | |
121 | if allowframeloss then | |
122 | script.Heartbeat:Fire() | |
123 | lastframe = tick() | |
124 | else | |
125 | for i = 1, math.floor(tf / frame) do | |
126 | script.Heartbeat:Fire() | |
127 | end | |
128 | lastframe = tick() | |
129 | end | |
130 | if tossremainder then | |
131 | tf = 0 | |
132 | else | |
133 | tf = tf - frame * math.floor(tf / frame) | |
134 | end | |
135 | end | |
136 | end) | |
137 | ||
138 | function swait(num) | |
139 | if num == 0 or num == nil then | |
140 | ArtificialHB.Event:wait() | |
141 | else | |
142 | for i = 0, num do | |
143 | ArtificialHB.Event:wait() | |
144 | end | |
145 | end | |
146 | end | |
147 | ||
148 | function RemoveOutlines(part) | |
149 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
150 | end | |
151 | ||
152 | CFuncs = { | |
153 | ["Part"] = { | |
154 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
155 | local Part = Create("Part"){ | |
156 | Parent = Parent, | |
157 | Reflectance = Reflectance, | |
158 | Transparency = Transparency, | |
159 | CanCollide = false, | |
160 | Locked = true, | |
161 | BrickColor = BrickColor.new(tostring(BColor)), | |
162 | Name = Name, | |
163 | Size = Size, | |
164 | Material = Material, | |
165 | } | |
166 | RemoveOutlines(Part) | |
167 | return Part | |
168 | end; | |
169 | }; | |
170 | ||
171 | ["Mesh"] = { | |
172 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
173 | local Msh = Create(Mesh){ | |
174 | Parent = Part, | |
175 | Offset = OffSet, | |
176 | Scale = Scale, | |
177 | } | |
178 | if Mesh == "SpecialMesh" then | |
179 | Msh.MeshType = MeshType | |
180 | Msh.MeshId = MeshId | |
181 | end | |
182 | return Msh | |
183 | end; | |
184 | }; | |
185 | ||
186 | ["Mesh"] = { | |
187 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
188 | local Msh = Create(Mesh){ | |
189 | Parent = Part, | |
190 | Offset = OffSet, | |
191 | Scale = Scale, | |
192 | } | |
193 | if Mesh == "SpecialMesh" then | |
194 | Msh.MeshType = MeshType | |
195 | Msh.MeshId = MeshId | |
196 | end | |
197 | return Msh | |
198 | end; | |
199 | }; | |
200 | ||
201 | ["Weld"] = { | |
202 | Create = function(Parent, Part0, Part1, C0, C1) | |
203 | local Weld = Create("Weld"){ | |
204 | Parent = Parent, | |
205 | Part0 = Part0, | |
206 | Part1 = Part1, | |
207 | C0 = C0, | |
208 | C1 = C1, | |
209 | } | |
210 | return Weld | |
211 | end; | |
212 | }; | |
213 | ||
214 | ["Sound"] = { | |
215 | Create = function(id, par, vol, pit) | |
216 | coroutine.resume(coroutine.create(function() | |
217 | local S = Create("Sound"){ | |
218 | Volume = vol, | |
219 | Pitch = pit or 1, | |
220 | SoundId = id, | |
221 | Parent = par or workspace, | |
222 | } | |
223 | wait() | |
224 | S:play() | |
225 | game:GetService("Debris"):AddItem(S, 6) | |
226 | end)) | |
227 | end; | |
228 | }; | |
229 | ||
230 | ["ParticleEmitter"] = { | |
231 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
232 | local fp = Create("ParticleEmitter"){ | |
233 | Parent = Parent, | |
234 | Color = ColorSequence.new(Color1, Color2), | |
235 | LightEmission = LightEmission, | |
236 | Size = Size, | |
237 | Texture = Texture, | |
238 | Transparency = Transparency, | |
239 | ZOffset = ZOffset, | |
240 | Acceleration = Accel, | |
241 | Drag = Drag, | |
242 | LockedToPart = LockedToPart, | |
243 | VelocityInheritance = VelocityInheritance, | |
244 | EmissionDirection = EmissionDirection, | |
245 | Enabled = Enabled, | |
246 | Lifetime = LifeTime, | |
247 | Rate = Rate, | |
248 | Rotation = Rotation, | |
249 | RotSpeed = RotSpeed, | |
250 | Speed = Speed, | |
251 | VelocitySpread = VelocitySpread, | |
252 | } | |
253 | return fp | |
254 | end; | |
255 | }; | |
256 | ||
257 | CreateTemplate = { | |
258 | ||
259 | }; | |
260 | } | |
261 | ||
262 | ||
263 | ||
264 | New = function(Object, Parent, Name, Data) | |
265 | local Object = Instance.new(Object) | |
266 | for Index, Value in pairs(Data or {}) do | |
267 | Object[Index] = Value | |
268 | end | |
269 | Object.Parent = Parent | |
270 | Object.Name = Name | |
271 | return Object | |
272 | end | |
273 | ||
274 | ||
275 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Lime green"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Material=Enum.Material.Neon}) | |
276 | - | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Material=Enum.Material.Neon}) |
276 | + | |
277 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
278 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
279 | ||
280 | Gun1 = New("Model",chara,"Gun1",{}) | |
281 | - | Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),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,}) |
281 | + | 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,}) |
282 | - | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) |
282 | + | 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),}) |
283 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),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,}) |
283 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
284 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) |
284 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) |
285 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
285 | + | 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),}) |
286 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
286 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
287 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) |
287 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),}) |
288 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
288 | + | 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),}) |
289 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
289 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
290 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) |
290 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,}) |
291 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
291 | + | 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),}) |
292 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
292 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
293 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) |
293 | + | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) |
294 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
294 | + | 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),}) |
295 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
295 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
296 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) |
296 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
297 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
297 | + | 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),}) |
298 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),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,}) |
298 | + | 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,}) |
299 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) |
299 | + | 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),}) |
300 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
300 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
301 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
301 | + | 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),}) |
302 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) |
302 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
303 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
303 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),}) |
304 | - | Partss1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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.105882, 0.164706, 0.207843),}) |
304 | + | 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),}) |
305 | - | Mesh = New("SpecialMesh",Partss1,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) |
305 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
306 | - | mot = New("Weld",Partss1,"mot",{Part0 = Partss1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
306 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
307 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
307 | + | 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),}) |
308 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) |
308 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
309 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
309 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
310 | - | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),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.105882, 0.164706, 0.207843),}) |
310 | + | 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),}) |
311 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
311 | + | Part = New("Part",Gun1,"Part",{Material = Enum.Material.DiamondPlate,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,}) |
312 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
312 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
313 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
313 | + | 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),}) |
314 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
314 | + | 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,}) |
315 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) |
315 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
316 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
316 | + | 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),}) |
317 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),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,}) |
317 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
318 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) |
318 | + | 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),}) |
319 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
319 | + | 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,}) |
320 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),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,}) |
320 | + | 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),}) |
321 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) |
321 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
322 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
322 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,}) |
323 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),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,}) |
323 | + | 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),}) |
324 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) |
324 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
325 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
325 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) |
326 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),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,}) |
326 | + | 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),}) |
327 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) |
327 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
328 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
328 | + | Mesh = New("BlockMesh",Part,"Mesh",{}) |
329 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),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,}) |
329 | + | 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),}) |
330 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) |
330 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
331 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
331 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),}) |
332 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),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,}) |
332 | + | 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),}) |
333 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) |
333 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
334 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
334 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,}) |
335 | - | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),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.105882, 0.164706, 0.207843),}) |
335 | + | 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),}) |
336 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) |
336 | + | Part = New("Part",Gun1,"Part",{Material = Enum.Material.DiamondPlate,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,}) |
337 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
337 | + | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) |
338 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),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,}) |
338 | + | 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),}) |
339 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) |
339 | + | BulletSpawn1 = New("Part",Gun1,"BulletSpawn1",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
340 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
340 | + | Mesh = New("CylinderMesh",BulletSpawn1,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),}) |
341 | - | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),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.105882, 0.164706, 0.207843),}) |
341 | + | 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),}) |
342 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) |
342 | + | Part = New("Part",Gun1,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
343 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
343 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
344 | 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),}) | |
345 | - | Handle2 = New("Part",m,"Handle2",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),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,}) |
345 | + | |
346 | - | moter2 = New("Weld",Handle2,"mot",{Part0 = LeftArm,Part1 = Handle2,}) |
346 | + | Gun2 = New("Model",chara,"Gun2",{}) |
347 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),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,}) |
347 | + | 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,}) |
348 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) |
348 | + | 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),}) |
349 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
349 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
350 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
350 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) |
351 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) |
351 | + | 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),}) |
352 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
352 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
353 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
353 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.200000003, 1),}) |
354 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) |
354 | + | 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),}) |
355 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
355 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
356 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
356 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 1),MeshType = Enum.MeshType.Wedge,}) |
357 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) |
357 | + | 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),}) |
358 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
358 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
359 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
359 | + | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) |
360 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) |
360 | + | 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),}) |
361 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
361 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
362 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),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,}) |
362 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
363 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) |
363 | + | 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),}) |
364 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
364 | + | 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,}) |
365 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
365 | + | 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),}) |
366 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) |
366 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
367 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
367 | + | 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),}) |
368 | - | Partss2 = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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.105882, 0.164706, 0.207843),}) |
368 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
369 | - | Mesh = New("SpecialMesh",Partss2,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) |
369 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.70000005, 1),}) |
370 | - | mot = New("Weld",Partss2,"mot",{Part0 = Partss2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
370 | + | 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),}) |
371 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
371 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
372 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) |
372 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
373 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
373 | + | 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),}) |
374 | - | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),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.105882, 0.164706, 0.207843),}) |
374 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
375 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
375 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
376 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
376 | + | 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),}) |
377 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
377 | + | 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,}) |
378 | - | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),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,}) |
378 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
379 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) |
379 | + | 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),}) |
380 | - | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
380 | + | Part = New("Part",Gun2,"Part",{Material = Enum.Material.DiamondPlate,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,}) |
381 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),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,}) |
381 | + | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) |
382 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) |
382 | + | 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),}) |
383 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
383 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
384 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),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,}) |
384 | + | 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),}) |
385 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) |
385 | + | 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,}) |
386 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
386 | + | 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),}) |
387 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),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,}) |
387 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
388 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) |
388 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Wedge,}) |
389 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
389 | + | 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),}) |
390 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),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,}) |
390 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
391 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) |
391 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1, 1),MeshType = Enum.MeshType.Wedge,}) |
392 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
392 | + | 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),}) |
393 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),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,}) |
393 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
394 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) |
394 | + | Mesh = New("BlockMesh",Part,"Mesh",{}) |
395 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
395 | + | 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),}) |
396 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),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,}) |
396 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
397 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) |
397 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.04999995, 1.04999995, 0.200000003),}) |
398 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
398 | + | 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),}) |
399 | - | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),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.105882, 0.164706, 0.207843),}) |
399 | + | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) |
400 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) |
400 | + | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 1.25, 0.5),MeshType = Enum.MeshType.Wedge,}) |
401 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
401 | + | 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),}) |
402 | - | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),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,}) |
402 | + | 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,}) |
403 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) |
403 | + | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.10000002, 0.800000012),}) |
404 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
404 | + | 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),}) |
405 | - | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),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.105882, 0.164706, 0.207843),}) |
405 | + | BulletSpawn2 = New("Part",Gun2,"BulletSpawn2",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,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),}) |
406 | - | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) |
406 | + | Mesh = New("CylinderMesh",BulletSpawn2,"Mesh",{Scale = Vector3.new(0.699999988, 1.14999998, 0.699999988),}) |
407 | - | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) |
407 | + | 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),}) |
408 | Part = New("Part",Gun2,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.DiamondPlate,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),}) | |
409 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
410 | 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),}) | |
411 | ||
412 | RightArm = New("Model",chara,"RightArm",{}) | |
413 | 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,}) | |
414 | 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),}) | |
415 | 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),}) | |
416 | Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
417 | 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),}) | |
418 | LeftArm = New("Model",chara,"LeftArm",{}) | |
419 | 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,}) | |
420 | 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),}) | |
421 | EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("Lime green"),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),}) | |
422 | Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
423 | 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),}) | |
424 | ||
425 | lach = LeftArm:GetChildren() | |
426 | rach = RightArm:GetChildren() | |
427 | ch = chara:GetChildren() | |
428 | ||
429 | for _,v in pairs(m:children()) do | |
430 | if v:IsA("Part") then | |
431 | v.CanCollide = false | |
432 | end | |
433 | end | |
434 | ||
435 | function rayCast(Position, Direction, Range, Ignore) | |
436 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
437 | end | |
438 | ||
439 | --[[FindNearestTorso = function(pos) | |
440 | local list = (game.Workspace:children()) | |
441 | local torso = nil | |
442 | local dist = 1000 | |
443 | local temp, human, temp2 = nil, nil, nil | |
444 | for x = 1, #list do | |
445 | temp2 = list[x] | |
446 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
447 | temp = temp2:findFirstChild("Torso") | |
448 | human = temp2:findFirstChild("Humanoid") | |
449 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
450 | local dohit = true | |
451 | if dohit == true then | |
452 | torso = temp | |
453 | dist = (temp.Position - pos).magnitude | |
454 | end | |
455 | end | |
456 | end | |
457 | end | |
458 | return torso, dist | |
459 | end]] | |
460 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
461 | if SinglePlayer then | |
462 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
463 | end | |
464 | local List = {} | |
465 | for i, v in pairs(workspace:GetChildren()) do | |
466 | if v:IsA("Model") then | |
467 | if v.Name == "Dummy" then | |
468 | for _,k in next, v:children() do | |
469 | if k:IsA"Model" then | |
470 | print(k.Name) | |
471 | if k:FindFirstChild"Torso" then | |
472 | if k ~= Character then | |
473 | if (k.Torso.Position - Position).magnitude <= Distance then | |
474 | table.insert(List, k) | |
475 | end | |
476 | end | |
477 | end | |
478 | end | |
479 | end | |
480 | end | |
481 | if v:findFirstChild("Torso") then | |
482 | if v ~= Character then | |
483 | if (v.Torso.Position - Position).magnitude <= Distance then | |
484 | table.insert(List, v) | |
485 | end | |
486 | end | |
487 | end | |
488 | end | |
489 | end | |
490 | return List | |
491 | end | |
492 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
493 | if hit.Parent == nil then | |
494 | return | |
495 | end | |
496 | local h = hit.Parent:FindFirstChild("Humanoid") | |
497 | for _, v in pairs(hit.Parent:children()) do | |
498 | if v:IsA("Humanoid") then | |
499 | h = v | |
500 | end | |
501 | end | |
502 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
503 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
504 | if hit.Parent.DebounceHit.Value == true then | |
505 | return | |
506 | end | |
507 | end | |
508 | local c = Create("ObjectValue"){ | |
509 | Name = "creator", | |
510 | Value = game:service("Players").LocalPlayer, | |
511 | Parent = h, | |
512 | } | |
513 | game:GetService("Debris"):AddItem(c, .5) | |
514 | if HitSound ~= nil and HitPitch ~= nil then | |
515 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
516 | end | |
517 | local Damage = math.random(minim, maxim) | |
518 | local blocked = false | |
519 | local block = hit.Parent:findFirstChild("Block") | |
520 | if block ~= nil then | |
521 | if block.className == "IntValue" then | |
522 | if block.Value > 0 then | |
523 | blocked = true | |
524 | block.Value = block.Value - 1 | |
525 | print(block.Value) | |
526 | end | |
527 | end | |
528 | end | |
529 | if blocked == false then | |
530 | h.Health = h.Health - Damage | |
531 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
532 | else | |
533 | h.Health = h.Health - (Damage / 2) | |
534 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
535 | end | |
536 | if Type == "Knockdown" then | |
537 | local hum = hit.Parent.Humanoid | |
538 | hum.PlatformStand = true | |
539 | coroutine.resume(coroutine.create(function(HHumanoid) | |
540 | swait(1) | |
541 | HHumanoid.PlatformStand = false | |
542 | end), hum) | |
543 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
544 | local bodvol = Create("BodyVelocity"){ | |
545 | velocity = angle * knockback, | |
546 | P = 5000, | |
547 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
548 | Parent = hit, | |
549 | } | |
550 | local rl = Create("BodyAngularVelocity"){ | |
551 | P = 3000, | |
552 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
553 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
554 | Parent = hit, | |
555 | } | |
556 | game:GetService("Debris"):AddItem(bodvol, .5) | |
557 | game:GetService("Debris"):AddItem(rl, .5) | |
558 | elseif Type == "Normal" then | |
559 | local vp = Create("BodyVelocity"){ | |
560 | P = 500, | |
561 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
562 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
563 | } | |
564 | if knockback > 0 then | |
565 | vp.Parent = hit.Parent.Torso | |
566 | end | |
567 | game:GetService("Debris"):AddItem(vp, .5) | |
568 | elseif Type == "Up" then | |
569 | local bodyVelocity = Create("BodyVelocity"){ | |
570 | velocity = Vector3.new(0, 20, 0), | |
571 | P = 5000, | |
572 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
573 | Parent = hit, | |
574 | } | |
575 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
576 | elseif Type == "DarkUp" then | |
577 | coroutine.resume(coroutine.create(function() | |
578 | for i = 0, 1, 0.1 do | |
579 | swait() | |
580 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
581 | end | |
582 | end)) | |
583 | local bodyVelocity = Create("BodyVelocity"){ | |
584 | velocity = Vector3.new(0, 20, 0), | |
585 | P = 5000, | |
586 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
587 | Parent = hit, | |
588 | } | |
589 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
590 | elseif Type == "Snare" then | |
591 | local bp = Create("BodyPosition"){ | |
592 | P = 2000, | |
593 | D = 100, | |
594 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
595 | position = hit.Parent.Torso.Position, | |
596 | Parent = hit.Parent.Torso, | |
597 | } | |
598 | game:GetService("Debris"):AddItem(bp, 1) | |
599 | elseif Type == "Freeze" then | |
600 | local BodPos = Create("BodyPosition"){ | |
601 | P = 50000, | |
602 | D = 1000, | |
603 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
604 | position = hit.Parent.Torso.Position, | |
605 | Parent = hit.Parent.Torso, | |
606 | } | |
607 | local BodGy = Create("BodyGyro") { | |
608 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
609 | P = 20e+003, | |
610 | Parent = hit.Parent.Torso, | |
611 | cframe = hit.Parent.Torso.CFrame, | |
612 | } | |
613 | hit.Parent.Torso.Anchored = true | |
614 | coroutine.resume(coroutine.create(function(Part) | |
615 | swait(1.5) | |
616 | Part.Anchored = false | |
617 | end), hit.Parent.Torso) | |
618 | game:GetService("Debris"):AddItem(BodPos, 3) | |
619 | game:GetService("Debris"):AddItem(BodGy, 3) | |
620 | end | |
621 | local debounce = Create("BoolValue"){ | |
622 | Name = "DebounceHit", | |
623 | Parent = hit.Parent, | |
624 | Value = true, | |
625 | } | |
626 | game:GetService("Debris"):AddItem(debounce, Delay) | |
627 | c = Create("ObjectValue"){ | |
628 | Name = "creator", | |
629 | Value = Player, | |
630 | Parent = h, | |
631 | } | |
632 | game:GetService("Debris"):AddItem(c, .5) | |
633 | end | |
634 | end | |
635 | ||
636 | function ShowDamage(Pos, Text, Time, Color) | |
637 | local Rate = (1 / 30) | |
638 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
639 | local Text = (Text or "") | |
640 | local Time = (Time or 2) | |
641 | local Color = (Color or Color3.new(1, 0, 1)) | |
642 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
643 | EffectPart.Anchored = true | |
644 | local BillboardGui = Create("BillboardGui"){ | |
645 | Size = UDim2.new(3, 0, 3, 0), | |
646 | Adornee = EffectPart, | |
647 | Parent = EffectPart, | |
648 | } | |
649 | local TextLabel = Create("TextLabel"){ | |
650 | BackgroundTransparency = 1, | |
651 | Size = UDim2.new(1, 0, 1, 0), | |
652 | Text = Text, | |
653 | Font = "SciFi", | |
654 | TextColor3 = Color, | |
655 | TextScaled = true, | |
656 | Parent = BillboardGui, | |
657 | } | |
658 | game.Debris:AddItem(EffectPart, (Time)) | |
659 | EffectPart.Parent = game:GetService("Workspace") | |
660 | delay(0, function() | |
661 | local Frames = (Time / Rate) | |
662 | for Frame = 1, Frames do | |
663 | wait(Rate) | |
664 | local Percent = (Frame / Frames) | |
665 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
666 | TextLabel.TextTransparency = Percent | |
667 | end | |
668 | if EffectPart and EffectPart.Parent then | |
669 | EffectPart:Destroy() | |
670 | end | |
671 | end) | |
672 | end | |
673 | ||
674 | local lrs = game:service'RunService'.RenderStepped | |
675 | function bleed(chr,timeforbleed) | |
676 | local Rate = (1/30) | |
677 | local clr = BrickColor.new"Maroon" | |
678 | if chr.Name == "Quil_Cyndaquil" or chr.Name == "TheBoozled" or chr.Parent.Name == "Quil_Cyndaquil" or chr.Parent.Name == "TheBoozled" then | |
679 | clr = BrickColor.new"Teal" | |
680 | elseif chr.Name == "Salvo_Starly" or chr.Parent.Name == "Salvo_Starly" then | |
681 | clr = BrickColor.new"Really red" | |
682 | elseif chr.Name == "visabledude" or chr.Parent.Name == "visabledude" then | |
683 | clr = BrickColor.new"Really blue" | |
684 | end | |
685 | local Frames = timeforbleed / Rate | |
686 | wait(.25) | |
687 | ||
688 | for Frame = 1, Frames do | |
689 | coroutine.wrap(function() | |
690 | local p = Instance.new("Part",workspace) | |
691 | p.BrickColor = clr | |
692 | p.Size = Vector3.new(.25,.25,.25) | |
693 | p.Material = Enum.Material.Neon | |
694 | local prt | |
695 | if chr:IsA"Model" then | |
696 | prt = chr:FindFirstChild"Torso" or chr:FindFirstChild"UpperTorso" | |
697 | else | |
698 | prt = chr; | |
699 | end | |
700 | p.CFrame = prt.CFrame; | |
701 | p.Name = "Blood" | |
702 | p.CanCollide = false | |
703 | p.Velocity = prt.CFrame.lookVector * -math.random(25,30) + Vector3.new(math.random(-10,10),0,0) | |
704 | p.Touched:connect(function(tou) | |
705 | if tou.Name ~= "Blood" and tou.Parent and tou.Parent ~= chr and (not tou.Parent.Parent or tou.Parent.Parent ~= chr.Parent) and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:IsA"Tool" == false and tou.Name ~= "Handle" then | |
706 | local pos = Vector3.new(p.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,p.Position.Z) | |
707 | p:destroy() | |
708 | if tou.Name == "BloodPuddle" then | |
709 | local reee = tou.CFrame | |
710 | if tou.Transparency > .2 then | |
711 | tou.Transparency = tou.Transparency - .1 | |
712 | end | |
713 | if tou.Size.X < 15 then | |
714 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
715 | tou.CFrame = reee | |
716 | end | |
717 | else | |
718 | local bloodlol = Instance.new('Part',workspace) | |
719 | bloodlol.Size=Vector3.new(1,0.2,1) | |
720 | bloodlol.Name = "BloodPuddle" | |
721 | bloodlol.Anchored = true | |
722 | bloodlol.CanCollide = false | |
723 | bloodlol.Material = Enum.Material.SmoothPlastic | |
724 | bloodlol.BrickColor = clr | |
725 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
726 | cyl.Scale = Vector3.new(1,0.1,1) | |
727 | bloodlol.CFrame = CFrame.new(pos) | |
728 | coroutine.wrap(function() | |
729 | wait(1) | |
730 | while bloodlol.Parent ~= nil do | |
731 | if bloodlol.Transparency < 1 then | |
732 | bloodlol.Transparency = bloodlol.Transparency+0.01 | |
733 | else | |
734 | bloodlol:Destroy() | |
735 | end | |
736 | wait() | |
737 | end | |
738 | end)() | |
739 | end | |
740 | end | |
741 | end) | |
742 | end)() | |
743 | wait((1/30)) | |
744 | end | |
745 | end | |
746 | ||
747 | ||
748 | function dmg(dude) | |
749 | if dude.Name ~= Character then | |
750 | dude.Humanoid.PlatformStand = true | |
751 | local bgf = Instance.new("BodyGyro",dude.Head) | |
752 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
753 | local val = Instance.new("BoolValue",dude) | |
754 | val.Name = "IsHit" | |
755 | local ds = coroutine.wrap(function() | |
756 | wait() | |
757 | dude:BreakJoints() | |
758 | end) | |
759 | ds() | |
760 | bleed(dude,2) | |
761 | ||
762 | end | |
763 | end | |
764 | ||
765 | Effects = { | |
766 | Block = { | |
767 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
768 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
769 | prt.Anchored = true | |
770 | prt.CFrame = cframe | |
771 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
772 | game:GetService("Debris"):AddItem(prt, 10) | |
773 | if Type == 1 or Type == nil then | |
774 | table.insert(Effects, { | |
775 | prt, | |
776 | "Block1", | |
777 | delay, | |
778 | x3, | |
779 | y3, | |
780 | z3, | |
781 | msh | |
782 | }) | |
783 | elseif Type == 2 then | |
784 | table.insert(Effects, { | |
785 | prt, | |
786 | "Block2", | |
787 | delay, | |
788 | x3, | |
789 | y3, | |
790 | z3, | |
791 | msh | |
792 | }) | |
793 | end | |
794 | end; | |
795 | }; | |
796 | ||
797 | Cylinder = { | |
798 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
799 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
800 | prt.Anchored = true | |
801 | prt.CFrame = cframe | |
802 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
803 | game:GetService("Debris"):AddItem(prt, 10) | |
804 | table.insert(Effects, { | |
805 | prt, | |
806 | "Cylinder", | |
807 | delay, | |
808 | x3, | |
809 | y3, | |
810 | z3, | |
811 | msh | |
812 | }) | |
813 | end; | |
814 | }; | |
815 | Head = { | |
816 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
817 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
818 | prt.Anchored = true | |
819 | prt.CFrame = cframe | |
820 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
821 | game:GetService("Debris"):AddItem(prt, 10) | |
822 | table.insert(Effects, { | |
823 | prt, | |
824 | "Cylinder", | |
825 | delay, | |
826 | x3, | |
827 | y3, | |
828 | z3, | |
829 | msh | |
830 | }) | |
831 | end; | |
832 | }; | |
833 | ||
834 | Sphere = { | |
835 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
836 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
837 | prt.Anchored = true | |
838 | prt.CFrame = cframe | |
839 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
840 | game:GetService("Debris"):AddItem(prt, 10) | |
841 | table.insert(Effects, { | |
842 | prt, | |
843 | "Cylinder", | |
844 | delay, | |
845 | x3, | |
846 | y3, | |
847 | z3, | |
848 | msh | |
849 | }) | |
850 | end; | |
851 | }; | |
852 | ||
853 | Elect = { | |
854 | Create = function(cff, x, y, z) | |
855 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
856 | prt.Anchored = true | |
857 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
858 | prt.CFrame = CFrame.new(prt.Position) | |
859 | game:GetService("Debris"):AddItem(prt, 2) | |
860 | local xval = math.random() / 2 | |
861 | local yval = math.random() / 2 | |
862 | local zval = math.random() / 2 | |
863 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
864 | table.insert(Effects, { | |
865 | prt, | |
866 | "Elec", | |
867 | 0.1, | |
868 | x, | |
869 | y, | |
870 | z, | |
871 | xval, | |
872 | yval, | |
873 | zval | |
874 | }) | |
875 | end; | |
876 | ||
877 | }; | |
878 | ||
879 | Ring = { | |
880 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
881 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
882 | prt.Anchored = true | |
883 | prt.CFrame = cframe | |
884 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
885 | game:GetService("Debris"):AddItem(prt, 10) | |
886 | table.insert(Effects, { | |
887 | prt, | |
888 | "Cylinder", | |
889 | delay, | |
890 | x3, | |
891 | y3, | |
892 | z3, | |
893 | msh | |
894 | }) | |
895 | end; | |
896 | }; | |
897 | ||
898 | ||
899 | Wave = { | |
900 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
901 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
902 | prt.Anchored = true | |
903 | prt.CFrame = cframe | |
904 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
905 | game:GetService("Debris"):AddItem(prt, 10) | |
906 | table.insert(Effects, { | |
907 | prt, | |
908 | "Cylinder", | |
909 | delay, | |
910 | x3, | |
911 | y3, | |
912 | z3, | |
913 | msh | |
914 | }) | |
915 | end; | |
916 | }; | |
917 | ||
918 | Break = { | |
919 | Create = function(brickcolor, cframe, x1, y1, z1) | |
920 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
921 | prt.Anchored = true | |
922 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
923 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
924 | local num = math.random(10, 50) / 1000 | |
925 | game:GetService("Debris"):AddItem(prt, 10) | |
926 | table.insert(Effects, { | |
927 | prt, | |
928 | "Shatter", | |
929 | num, | |
930 | prt.CFrame, | |
931 | math.random() - math.random(), | |
932 | 0, | |
933 | math.random(50, 100) / 100 | |
934 | }) | |
935 | end; | |
936 | }; | |
937 | ||
938 | Fire = { | |
939 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
940 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
941 | prt.Anchored = true | |
942 | prt.CFrame = cframe | |
943 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
944 | game:GetService("Debris"):AddItem(prt, 10) | |
945 | table.insert(Effects, { | |
946 | prt, | |
947 | "Fire", | |
948 | delay, | |
949 | 1, | |
950 | 1, | |
951 | 1, | |
952 | msh | |
953 | }) | |
954 | end; | |
955 | }; | |
956 | ||
957 | FireWave = { | |
958 | Create = function(brickcolor, cframe, x1, y1, z1) | |
959 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
960 | prt.Anchored = true | |
961 | prt.CFrame = cframe | |
962 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
963 | local d = Create("Decal"){ | |
964 | Parent = prt, | |
965 | Texture = "rbxassetid://26356434", | |
966 | Face = "Top", | |
967 | } | |
968 | local d = Create("Decal"){ | |
969 | Parent = prt, | |
970 | Texture = "rbxassetid://26356434", | |
971 | Face = "Bottom", | |
972 | } | |
973 | game:GetService("Debris"):AddItem(prt, 10) | |
974 | table.insert(Effects, { | |
975 | prt, | |
976 | "FireWave", | |
977 | 1, | |
978 | 30, | |
979 | math.random(400, 600) / 100, | |
980 | msh | |
981 | }) | |
982 | end; | |
983 | }; | |
984 | ||
985 | Lightning = { | |
986 | Create = function(parent,p0, p1, tym, ofs, col, th, tra, last) | |
987 | local magz = (p0 - p1).magnitude | |
988 | local curpos = p0 | |
989 | local trz = { | |
990 | -ofs, | |
991 | ofs | |
992 | } | |
993 | for i = 1, tym do | |
994 | ||
995 | ||
996 | local li = CFuncs.Part.Create(parent, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
997 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
998 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
999 | li.Anchored = true | |
1000 | if tym == i then | |
1001 | local magz2 = (curpos - p1).magnitude | |
1002 | li.Size = Vector3.new(th, th, magz2) | |
1003 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1004 | table.insert(Effects, { | |
1005 | li, | |
1006 | "Disappear", | |
1007 | last | |
1008 | }) | |
1009 | else | |
1010 | do | |
1011 | do | |
1012 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1013 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1014 | game.Debris:AddItem(li, 10) | |
1015 | table.insert(Effects, { | |
1016 | li, | |
1017 | "Disappear", | |
1018 | last | |
1019 | }) | |
1020 | end | |
1021 | end | |
1022 | end | |
1023 | end | |
1024 | end | |
1025 | }; | |
1026 | ||
1027 | EffectTemplate = { | |
1028 | ||
1029 | }; | |
1030 | } | |
1031 | ||
1032 | function chatfunc(text) | |
1033 | local chat = coroutine.wrap(function() | |
1034 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1035 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1036 | end | |
1037 | local naeeym2 = Instance.new("BillboardGui",Character) | |
1038 | naeeym2.Size = UDim2.new(0,100,0,40) | |
1039 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
1040 | naeeym2.Adornee = Character.Head | |
1041 | naeeym2.Name = "TalkingBillBoard" | |
1042 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1043 | tecks2.BackgroundTransparency = 1 | |
1044 | tecks2.BorderSizePixel = 0 | |
1045 | tecks2.Text = "" | |
1046 | tecks2.Font = "Arial" | |
1047 | tecks2.TextSize = 30 | |
1048 | tecks2.TextStrokeTransparency = 0 | |
1049 | tecks2.TextColor3 = BrickColor.new"Crimson".Color | |
1050 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1051 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1052 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
1053 | tecks3.BackgroundTransparency = 1 | |
1054 | tecks3.BorderSizePixel = 0 | |
1055 | tecks3.Text = "" | |
1056 | tecks3.Font = "Arial" | |
1057 | tecks3.TextSize = 30 | |
1058 | tecks3.TextStrokeTransparency = 0 | |
1059 | tecks3.TextColor3 = BrickColor.new"Crimson".Color | |
1060 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
1061 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
1062 | for i = 1,string.len(text),1 do | |
1063 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
1064 | tecks2.Text = string.sub(text,1,i) | |
1065 | tecks3.Text = string.sub(text,1,i) | |
1066 | wait(0.01) | |
1067 | end | |
1068 | wait(2) | |
1069 | for i = 1, 50 do | |
1070 | swait() | |
1071 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1072 | tecks2.Rotation = tecks2.Rotation - .8 | |
1073 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1074 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
1075 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1076 | tecks3.Rotation = tecks2.Rotation + .8 | |
1077 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1078 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
1079 | end | |
1080 | naeeym2:Destroy() | |
1081 | end) | |
1082 | chat() | |
1083 | end | |
1084 | function onChatted(msg) | |
1085 | chatfunc(msg) | |
1086 | end | |
1087 | Player.Chatted:connect(onChatted) | |
1088 | ||
1089 | abss = Instance.new("BillboardGui",Character) | |
1090 | abss.Size = UDim2.new(10,0,10,0) | |
1091 | abss.Enabled = false | |
1092 | imgl = Instance.new("ImageLabel",abss) | |
1093 | imgl.Position = UDim2.new(0,0,0,0) | |
1094 | imgl.Size = UDim2.new(1,0,1,0) | |
1095 | imgl.Image = "rbxassetid://233522684" | |
1096 | imgl.BackgroundTransparency = 1 | |
1097 | imgl.ImageColor3 = Color3.new(1,0,0) | |
1098 | img2 = Instance.new("ImageLabel",abss) | |
1099 | img2.Position = UDim2.new(0,0,0,0) | |
1100 | img2.Size = UDim2.new(1,0,1,0) | |
1101 | img2.Image = "rbxassetid://233522684" | |
1102 | img2.BackgroundTransparency = 1 | |
1103 | img2.ImageColor3 = Color3.new(1,0,0) | |
1104 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1105 | --local buddy | |
1106 | for _, c in pairs(workspace:children()) do | |
1107 | local hum = c:findFirstChild("Humanoid") | |
1108 | if hum ~= nil then | |
1109 | local head = c:findFirstChild("Torso") | |
1110 | if head ~= nil then | |
1111 | local targ = head.Position - Part.Position | |
1112 | local mag = targ.magnitude | |
1113 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1114 | if c ~= Character then | |
1115 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1116 | dmg(c) | |
1117 | end | |
1118 | end | |
1119 | end | |
1120 | end | |
1121 | end | |
1122 | end | |
1123 | function skidda() | |
1124 | attack = true; | |
1125 | Humanoid.WalkSpeed = 0; | |
1126 | coroutine.wrap(function() | |
1127 | for i =0,4 do | |
1128 | wait(.2) | |
1129 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RootPart, 1, 1) | |
1130 | end | |
1131 | end)() | |
1132 | ||
1133 | for i = 0, 4, 0.1 do | |
1134 | swait() | |
1135 | PlayAnimationFromTable({ | |
1136 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1137 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1138 | CFrame.new(2.01686478, 0.469705999, -0.0200805664, 0, -1, 0, 1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1139 | CFrame.new(-1.97317946, 0.536730051, -0.0103883194, 0, 1, 0.000391999987, -1, 0, 0, 0, -0.000391999987, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1140 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1141 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1142 | }, .3, false) | |
1143 | moter.C0 = clerp(moter.C0, CFrame.new(0.118733972, -1.58793473, -0.00885154679, 0, 1, 0, 0.999851882, 0, -0.0172099993, -0.0172099974, 0, -0.999851882) * CFrame.Angles(0, 0,math.rad(doe*22)), 0.3) | |
1144 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0808329955, -1.58807147, -0.0588302352, -0.000389999943, -1, 6.71189991e-06, 0.999845147, -0.000390057714, -0.0176019389, 0.0176019389, -1.53895854e-07, 0.999845147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe*22)), 0.3) | |
1145 | end | |
1146 | for i = 0, 1, 0.1 do | |
1147 | swait() | |
1148 | PlayAnimationFromTable({ | |
1149 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1150 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1151 | CFrame.new(1.49998474, 1.01833379, -0.0448913574, 1, 0, 0, 0, -1, 0, 0, 0, -1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1152 | CFrame.new(-1.49998474, 1.01823509, 0.0254110973, 1, 0, 0, 0, -1, -0.000391999987, 0, 0.000391999987, -1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1153 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1154 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1155 | }, .3, false) | |
1156 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963599, -1.58793688, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1157 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810479075, -1.58792508, -0.41858986, -0.0172099974, 9.93238825e-10, -0.999851882, 0.999852061, 1.94227323e-06, -0.0172099993, 1.94198219e-06, -1.00000012, -3.44189175e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1158 | end | |
1159 | wait(0.5) | |
1160 | for i =1, 4 do | |
1161 | Effects.Block.Create(BrickColor.new("Bright red"), Partss1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1162 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1163 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1164 | ||
1165 | ||
1166 | for i = 0, 1, 0.1 do | |
1167 | swait() | |
1168 | PlayAnimationFromTable({ | |
1169 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1170 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1171 | CFrame.new(1.49998474, 0.388334125, -0.0448913574, 1, 0, 0, 0, -1, 0, 0, 0, -1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1172 | CFrame.new(-1.49998474, 1.01823509, 0.0254110973, 1, 0, 0, 0, -1, -0.000391999987, 0, 0.000391999987, -1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1173 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1174 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1175 | }, .3, false) | |
1176 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963599, -1.58793712, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1177 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810479075, -1.58792508, -0.41858986, -0.0172099974, 9.93238825e-10, -0.999851882, 0.999852061, 1.94227323e-06, -0.0172099993, 1.94198219e-06, -1.00000012, -3.44189175e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1178 | end | |
1179 | Effects.Block.Create(BrickColor.new("Bright red"), Partss2.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1180 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss2.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1181 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1182 | ||
1183 | for i = 0, 1, 0.1 do | |
1184 | swait() | |
1185 | PlayAnimationFromTable({ | |
1186 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1187 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1188 | CFrame.new(1.49998474, 1.01833379, -0.0448913574, 1, 0, 0, 0, -1, 0, 0, 0, -1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1189 | CFrame.new(-1.49998474, 0.238234937, 0.0254116822, 1, 0, 0, 0, -1, -0.000391999987, 0, 0.000391999987, -1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1190 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1191 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1192 | }, .3, false) | |
1193 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963599, -1.58793688, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1194 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810479, -1.58792579, -0.41858986, -0.0172099974, 9.93238825e-10, -0.999851882, 0.999852061, 1.94227323e-06, -0.0172099993, 1.94198219e-06, -1.00000012, -3.44189175e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1195 | end | |
1196 | end | |
1197 | attack = false | |
1198 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,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,}) | |
1199 | Humanoid.WalkSpeed = 8 | |
1200 | wait(.4) | |
1201 | for i = 0, 8 do | |
1202 | wait(.2) | |
1203 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1204 | ref1.Position = Mouse.hit.p | |
1205 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1206 | coroutine.wrap(function() | |
1207 | for i,v in next, workspace:children() do | |
1208 | local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso" | |
1209 | if v ~= Character and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then | |
1210 | local hum = v:FindFirstChildOfClass"Humanoid" | |
1211 | if hum and hum.Health > 0 then | |
1212 | coroutine.wrap(function() dmg(v) end)() | |
1213 | end | |
1214 | end | |
1215 | end | |
1216 | end)() | |
1217 | Effects.Cylinder.Create(BrickColor.new("Deep orange"), ref1.CFrame, .5, 9999, .5, 0.5, 0, 0.5, 0.07) | |
1218 | --Effects.Lightning.Create(EffectModel,ref1.CFrame*CFrame.new(0,1000,0).p,ref1.CFrame.p,50,1,BrickColor.new"Bright yellow",1,0.4,0.05) | |
1219 | end | |
1220 | ref1:Remove() | |
1221 | ||
1222 | ||
1223 | end | |
1224 | ||
1225 | function suicide() | |
1226 | attack = true; | |
1227 | Humanoid.WalkSpeed = 0 | |
1228 | for i = 0, 1, 0.1 do | |
1229 | swait() | |
1230 | PlayAnimationFromTable({ | |
1231 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1232 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1233 | CFrame.new(1.12282228, 0.491593987, -0.645177722, 0.783057868, 0.621948957, 0, 0, 0, -1, -0.621948957, 0.783057868, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1234 | CFrame.new(-1.08740151, 0.561881959, -0.899507821, 0.662516952, -0.749046922, -0.000293626304, 0, 0.000391999929, -0.999999881, 0.749046922, 0.662516952, 0.000259706576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1235 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1236 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1237 | }, .3, false) | |
1238 | moter.C0 = clerp(moter.C0, CFrame.new(-0.507866442, -0.815697551, -0.518593907, 0.620451391, 0, 0.784245014, -0.784245014, 0, 0.620451391, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1239 | moter2.C0 = clerp(moter2.C0, CFrame.new(0.612942994, -0.810174286, -0.418286711, -0.86158824, 0.000360130449, 0.507607639, -0.50760746, 0.000549041899, -0.861588359, -0.0005889819, -0.999999821, -0.00029024313) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1240 | end | |
1241 | wait(1) | |
1242 | Effects.Block.Create(BrickColor.new("Bright red"), Partss1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1243 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1244 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1245 | Effects.Block.Create(BrickColor.new("Bright red"), Partss2.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1246 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss2.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1247 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1248 | coroutine.wrap(function() bleed(Character.Head,1.75) end)() | |
1249 | Character.Torso.Velocity = Character.Torso.CFrame.lookVector * -50 | |
1250 | wait() | |
1251 | Character:BreakJoints() | |
1252 | Character.Head.Velocity = Character.Head.CFrame.lookVector * -30 | |
1253 | end | |
1254 | function boomboom() | |
1255 | attack = true | |
1256 | Humanoid.WalkSpeed = 0 | |
1257 | for i = 0, 1, 0.1 do | |
1258 | swait() | |
1259 | PlayAnimationFromTable({ | |
1260 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1261 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1262 | CFrame.new(1.22115958, 0.491593987, -0.579970896, 0.906928301, 0.421285123, 0, 0, 0, -1, -0.421285152, 0.906928241, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1263 | CFrame.new(-1.16241193, 0.491593987, -0.652253032, 0.825196266, -0.564846158, 0, 0, 0, -1, 0.564846158, 0.825196266, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1264 | CFrame.new(0.499995589, -1.99996972, 0, 0.992627025, -0.121209003, 0, 0.121209003, 0.992627025, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1265 | CFrame.new(-0.499992251, -1.9999696, -0, 0.987132549, 0.159903929, 0, -0.159903929, 0.987132549, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1266 | }, .3, false) | |
1267 | moter.C0 = clerp(moter.C0, CFrame.new(0.118959248, -1.5879463, -0.418594003, -0.363917559, 0, -0.931431293, 0.931431174, 0, -0.36391753, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1268 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.295632005, -1.44108772, -0.418594003, 0.647028923, 0, -0.762465596, 0.762465596, 0, 0.647028923, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1269 | end | |
1270 | wait(.25) | |
1271 | for i = 1,3 do | |
1272 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,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,}) | |
1273 | Effects.Block.Create(BrickColor.new("Bright red"), Partss2.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1274 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss2.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1275 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1276 | --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1277 | ref1.Position = Mouse.hit.p | |
1278 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1279 | coroutine.wrap(function() | |
1280 | for i,v in next, workspace:children() do | |
1281 | local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso" | |
1282 | if v ~= Character and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then | |
1283 | local hum = v:FindFirstChildOfClass"Humanoid" | |
1284 | if hum and hum.Health > 0 then | |
1285 | coroutine.wrap(function() dmg(v) end)() | |
1286 | end | |
1287 | end | |
1288 | end | |
1289 | end)() | |
1290 | local dist = (Partss1.CFrame.p - ref1.CFrame.p).magnitude | |
1291 | local ray1 = Create("Part"){Parent=workspace,BrickColor = BrickColor.new"New Yeller",Material = "Neon",Transparency = 0.25,Anchored=true,Locked=true,CanCollide=false,Size = Vector3.new(0.3, 0.3, dist),CFrame = CFrame.new(Partss1.CFrame.p, ref1.CFrame.p) * CFrame.new(0, 0, -dist / 2)} | |
1292 | delay(0, function() | |
1293 | ray1.Anchored = true; | |
1294 | for i = 0.25, 1, .1 do | |
1295 | ray1.Transparency = i | |
1296 | wait() | |
1297 | end | |
1298 | ray1:destroy() | |
1299 | end) | |
1300 | print(ray1.Anchored) | |
1301 | for i = 0, 1, 0.25 do | |
1302 | swait() | |
1303 | PlayAnimationFromTable({ | |
1304 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1305 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1306 | CFrame.new(1.22115076, 0.866211176, -0.793424129, 0.906927884, 0.421285868, -5.28104351e-07, 0.207527965, -0.446759343, -0.870251894, -0.366624981, 0.789255619, -0.492607147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1307 | CFrame.new(-1.16241193, 0.491593987, -0.652253032, 0.825196266, -0.564846158, 0, 0, 0, -1, 0.564846158, 0.825196266, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1308 | CFrame.new(0.499995589, -1.99996972, 0, 0.992627025, -0.121209003, 0, 0.121209003, 0.992627025, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1309 | CFrame.new(-0.499992251, -1.9999696, -0, 0.987132549, 0.159903929, 0, -0.159903929, 0.987132549, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1310 | }, .3, false) | |
1311 | moter.C0 = clerp(moter.C0, CFrame.new(0.11895743, -1.58793926, -0.418587416, -0.363918245, -7.77077958e-07, -0.931430876, 0.931430995, 3.42753992e-07, -0.363918304, 5.6311859e-07, -1.00000024, 6.01582656e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1312 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.295632005, -1.44108772, -0.418594003, 0.647028923, 0, -0.762465596, 0.762465596, 0, 0.647028923, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1313 | end | |
1314 | Effects.Block.Create(BrickColor.new("Bright red"), Partss1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1315 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1316 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1317 | --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1318 | ref1.Position = Mouse.hit.p | |
1319 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1320 | coroutine.wrap(function() | |
1321 | for i,v in next, workspace:children() do | |
1322 | local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso" | |
1323 | if v ~= Character and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then | |
1324 | local hum = v:FindFirstChildOfClass"Humanoid" | |
1325 | if hum and hum.Health > 0 then | |
1326 | coroutine.wrap(function() dmg(v) end)() | |
1327 | end | |
1328 | end | |
1329 | end | |
1330 | end)() | |
1331 | local dist = (Partss2.CFrame.p - ref1.CFrame.p).magnitude | |
1332 | local ray = Create("Part"){Parent=workspace,BrickColor = BrickColor.new"New Yeller",Material = "Neon",Transparency = 0.25,Anchored=true,Locked=true,CanCollide=false,Size = Vector3.new(0.3, 0.3, dist),CFrame = CFrame.new(Partss2.CFrame.p, ref1.CFrame.p) * CFrame.new(0, 0, -dist / 2)} | |
1333 | ||
1334 | delay(0, function() | |
1335 | for i = 0.25, 1, .1 do | |
1336 | ray.Transparency = i | |
1337 | wait() | |
1338 | end | |
1339 | ray:destroy() | |
1340 | end) | |
1341 | ray.Anchored = true; | |
1342 | for i = 0, 1, 0.25 do | |
1343 | swait() | |
1344 | PlayAnimationFromTable({ | |
1345 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1346 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1347 | CFrame.new(1.22115958, 0.491593987, -0.579970896, 0.906928301, 0.421285123, 0, 0, 0, -1, -0.421285152, 0.906928241, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1348 | CFrame.new(-1.16240716, 0.84250015, -0.859516263, 0.825195968, -0.564846575, 4.45129551e-08, -0.285420001, -0.416976064, -0.86294055, 0.487428993, 0.712095141, -0.505305469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1349 | CFrame.new(0.499995589, -1.99996972, 0, 0.992627025, -0.121209003, 0, 0.121209003, 0.992627025, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1350 | CFrame.new(-0.499992251, -1.9999696, -0, 0.987132549, 0.159903929, 0, -0.159903929, 0.987132549, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1351 | }, .3, false) | |
1352 | moter.C0 = clerp(moter.C0, CFrame.new(0.118959248, -1.5879463, -0.418594003, -0.363917559, 0, -0.931431293, 0.931431174, 0, -0.36391753, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1353 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.29564327, -1.44108844, -0.418594211, 0.647029161, 4.82448073e-08, -0.762465358, 0.762465358, -9.26282127e-08, 0.647029221, -5.50086838e-08, -1, -1.1133028e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1354 | end | |
1355 | end | |
1356 | for i = 0, 1, 0.1 do | |
1357 | swait() | |
1358 | PlayAnimationFromTable({ | |
1359 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1360 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1361 | CFrame.new(1.22115958, 0.491593987, -0.579970896, 0.906928301, 0.421285123, 0, 0, 0, -1, -0.421285152, 0.906928241, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1362 | CFrame.new(-1.16241193, 0.491593987, -0.652253032, 0.825196266, -0.564846158, 0, 0, 0, -1, 0.564846158, 0.825196266, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1363 | CFrame.new(0.499995589, -1.99996972, 0, 0.992627025, -0.121209003, 0, 0.121209003, 0.992627025, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1364 | CFrame.new(-0.499992251, -1.9999696, -0, 0.987132549, 0.159903929, 0, -0.159903929, 0.987132549, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1365 | }, .3, false) | |
1366 | moter.C0 = clerp(moter.C0, CFrame.new(0.118959248, -1.5879463, -0.418594003, -0.363917559, 0, -0.931431293, 0.931431174, 0, -0.36391753, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1367 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.295632005, -1.44108772, -0.418594003, 0.647028923, 0, -0.762465596, 0.762465596, 0, 0.647028923, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1368 | end | |
1369 | wait(.5) | |
1370 | attack = false; | |
1371 | Humanoid.WalkSpeed = 8 | |
1372 | end | |
1373 | function attackone() | |
1374 | attack = true | |
1375 | Humanoid.WalkSpeed = 0 | |
1376 | for i = 0, 1, 0.1 do | |
1377 | swait() | |
1378 | PlayAnimationFromTable({ | |
1379 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1380 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1381 | CFrame.new(1.49998474, 0.491593987, -0.516822815, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1382 | CFrame.new(-1.49998474, 0.491593987, -0.516822815, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1383 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1384 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1385 | }, .3, false) | |
1386 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963517, -1.58793235, -0.418593764, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, -0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1387 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810514539, -1.58794141, -0.418593764, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, -0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1388 | end | |
1389 | wait(.5) | |
1390 | Effects.Block.Create(BrickColor.new("Bright red"), Partss1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1391 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1392 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1393 | ||
1394 | coroutine.wrap(function() if targetted then | |
1395 | dmg(targetted) | |
1396 | end end)() | |
1397 | for i = 0, 1, 0.1 do | |
1398 | swait() | |
1399 | PlayAnimationFromTable({ | |
1400 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1401 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1402 | CFrame.new(1.49998474, 0.777157187, -0.50710845, 1, 0, 0, 0, -0.485896289, -0.874016523, 0, 0.874016523, -0.485896289) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1403 | CFrame.new(-1.49998474, 0.521472275, -0.516880691, 1, 0, 0, 0, -0.000167000006, -1, 0, 1, -0.000167000006) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1404 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1405 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1406 | }, .3, false) | |
1407 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963256, -1.58791733, -0.418593973, -0.017210003, -4.61608085e-09, -0.999851882, 0.999852002, -2.38418579e-07, -0.017210003, -2.38418579e-07, -1, 8.84756446e-09) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1408 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810514539, -1.58794343, -0.418582946, -0.0172099974, -4.12722523e-10, -0.999851882, 0.999851882, -4.97602741e-06, -0.0172099993, -4.97528526e-06, -1, 8.60500222e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1409 | end | |
1410 | ||
1411 | Effects.Block.Create(BrickColor.new("Bright red"), Partss2.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1412 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss2.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1413 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1414 | coroutine.wrap(function() if targetted then | |
1415 | bleed(targetted,2) | |
1416 | end end)() | |
1417 | for i = 0, 1, 0.1 do | |
1418 | swait() | |
1419 | PlayAnimationFromTable({ | |
1420 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1421 | CFrame.new(7.62939453e-06, 1.49997091, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1422 | CFrame.new(1.49998474, 0.491593987, -0.516822815, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1423 | CFrame.new(-1.49998474, 0.694134355, -0.601323247, 1, 0, 0, 0, -0.492467046, -0.870331109, 0, 0.870331109, -0.492467046) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1424 | CFrame.new(0.499994695, -1.99996996, 0, 0.997888744, -0.0649459884, 0, 0.0649459884, 0.997888744, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1425 | CFrame.new(-0.499997199, -1.99996936, -0, 0.998180866, 0.0602899939, 0, -0.0602899939, 0.998180866, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1426 | }, .3, false) | |
1427 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963517, -1.58793235, -0.418593764, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, -0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1428 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810517222, -1.58792686, -0.418592244, -0.0172099974, 5.1289778e-10, -0.999851882, 0.999851942, -1.37090683e-06, -0.0172099974, -1.37090683e-06, -1.00000012, 2.32830644e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1429 | end | |
1430 | wait(.5) | |
1431 | attack = false; | |
1432 | Humanoid.WalkSpeed = 8 | |
1433 | end | |
1434 | ||
1435 | function LockOn() | |
1436 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1437 | TargetSelect(Mouse.Target.Parent) | |
1438 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
1439 | end | |
1440 | end | |
1441 | ||
1442 | function TargetSelect(person) | |
1443 | local dd=coroutine.wrap(function() | |
1444 | if targetted ~= person then | |
1445 | targetted = person | |
1446 | img2.Size = UDim2.new(1,0,1,0) | |
1447 | img2.ImageTransparency = 0 | |
1448 | img2.Position = UDim2.new(0,0,0,0) | |
1449 | for i = 0, 2, 0.1 do | |
1450 | swait() | |
1451 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
1452 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
1453 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
1454 | end | |
1455 | end | |
1456 | end) | |
1457 | dd() | |
1458 | end | |
1459 | ||
1460 | ||
1461 | ||
1462 | Mouse.Button1Down:connect(function() | |
1463 | if attack == false and targetted ~= nil and targetted.Parent ~= nil then | |
1464 | attackone() | |
1465 | end | |
1466 | end) | |
1467 | ||
1468 | function halfit(v) | |
1469 | ||
1470 | v:ClearAllChildren() | |
1471 | v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z) | |
1472 | v.Velocity = Vector3.new(5,0,0) | |
1473 | v.Name = v.Name.."Half" | |
1474 | ||
1475 | local a = v:Clone() | |
1476 | a.Parent = v.Parent | |
1477 | a.Velocity = Vector3.new(-5,0,0) | |
1478 | a.CFrame = v.CFrame * CFrame.new(v.Size.x,0,0) | |
1479 | a.Anchored=false; | |
1480 | v.Anchored=false; | |
1481 | end | |
1482 | ||
1483 | ||
1484 | function enditmotherfucker() | |
1485 | attack = true; | |
1486 | Humanoid.WalkSpeed = 0; | |
1487 | chatfunc("Ugh..") | |
1488 | wait(2) | |
1489 | chatfunc("Too boring...") | |
1490 | wait(2.5) | |
1491 | chatfunc("I guess I'll just have to..") | |
1492 | for i = 0, 1, 0.1 do | |
1493 | swait() | |
1494 | PlayAnimationFromTable({ | |
1495 | CFrame.new(-0.0991172791, -1.33462644, -0.950322747, 1, 0, 0, 0, 0.860064805, 0.510184884, 0, -0.510184884, 0.860064805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1496 | CFrame.new(7.62939453e-06, 1.49998105, 0, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1497 | CFrame.new(1.383461, 0.690158367, -0.689579785, 1, 0, 0, 0, 0.121500283, -0.9925915, 0, 0.9925915, 0.121500283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1498 | CFrame.new(-1.49998474, 0.110633016, -1.08086646, 1, 0, 0, 0, 0.575038314, -0.818126559, 0, 0.818126559, 0.575038314) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1499 | CFrame.new(0.610647202, -1.38370657, 0.342569381, 0.997888744, -0.0567381606, -0.0316043124, 0.0533445813, 0.438465685, 0.897163153, -0.0370459966, -0.896955609, 0.440566242) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1500 | CFrame.new(-0.415776819, -1.53983593, 0.239388704, 0.998180866, 0.053891737, 0.0270309914, -0.0495222881, 0.477155298, 0.877425611, 0.0343878493, -0.877164245, 0.478958398) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1501 | }, .3, false) | |
1502 | moter.C0 = clerp(moter.C0, CFrame.new(0.118962735, -1.58788466, -0.41860196, -0.0172099974, 5.12898168e-09, -0.999851882, 0.999851942, 4.70876694e-06, -0.0172100011, 4.73856926e-06, -1.00000012, -8.56816769e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1503 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810523778, -1.58788407, -0.418579131, -0.0172099993, -1.1796657e-08, -0.999851882, 0.999851942, 9.65595245e-06, -0.0172099993, 9.62615013e-06, -1, -1.54133886e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1504 | end | |
1505 | wait(2) | |
1506 | chatfunc("End it all!") | |
1507 | wait(2.5) | |
1508 | chatfunc(string.rep("AHAHAHA",10)) | |
1509 | for i = 0, 1, 0.1 do | |
1510 | swait() | |
1511 | PlayAnimationFromTable({ | |
1512 | CFrame.new(-0.0991172791, -1.61554074, -1.86415243, 1, 0, 0, 0, 0.589855671, 0.807508647, 0, -0.807508647, 0.589855671) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1513 | CFrame.new(7.62939453e-06, 1.49997699, 1.52587882e-05, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1514 | CFrame.new(1.383461, 0.660044491, -0.484937727, 1, 0, 0, 0, -0.240999967, -0.970525146, 0, 0.970525146, -0.240999967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1515 | CFrame.new(-1.49998474, 0.410400331, -0.684674025, 1, 0, 0, 0, 0.187267095, -0.982309103, 0, 0.982309103, 0.187267095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1516 | CFrame.new(0.610648572, -1.979074, 0.536195338, 0.997888744, -0.0567381606, -0.0316043124, 0.0636196434, 0.756096959, 0.651359975, -0.0130610596, -0.651995897, 0.758109748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1517 | CFrame.new(-0.41577661, -2.08200049, 0.37990135, 0.998180866, 0.053891737, 0.0270309914, -0.0590596572, 0.783874691, 0.618105292, 0.0121217985, -0.618574679, 0.785635114) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1518 | }, .3, false) | |
1519 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963271, -1.58791614, -0.418628961, -0.0172100067, 4.6160844e-09, -0.999851882, 0.999851942, 2.5331974e-06, -0.0172100067, 2.5331974e-06, -1.00000012, -4.74974513e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1520 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810521096, -1.58789814, -0.418592125, -0.0172100049, -7.6934743e-09, -0.999851882, 0.999852121, 1.29640102e-05, -0.0172100049, 1.29640102e-05, -1.00000012, -2.15601176e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1521 | end | |
1522 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=341336274", Character, 1, 1) | |
1523 | coroutine.wrap(function() | |
1524 | local part = Instance.new("Part",EffectModel) | |
1525 | part.Shape = "Ball" | |
1526 | part.Anchored = true | |
1527 | part.CanCollide = false | |
1528 | part.BrickColor = BrickColor.new"Really red" | |
1529 | part.Material = Enum.Material.Neon | |
1530 | part.Size = Vector3.new(1,1,1) | |
1531 | part.CFrame = Partss1.CFrame | |
1532 | part.TopSurface,part.BottomSurface = 10,10 | |
1533 | for i = 0,1,.1 do | |
1534 | part.Size = part.Size+ Vector3.new(4,4,4) | |
1535 | part.Transparency = i | |
1536 | wait() | |
1537 | end | |
1538 | end)() | |
1539 | wait(2) | |
1540 | for i = 0, 1, 0.1 do | |
1541 | swait() | |
1542 | PlayAnimationFromTable({ | |
1543 | CFrame.new(-0.0991172791, -1.61554074, -1.86415243, 1, 0, 0, 0, 0.589855671, 0.807508647, 0, -0.807508647, 0.589855671) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1544 | CFrame.new(7.62939453e-06, 1.49997699, 1.52587882e-05, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1545 | CFrame.new(1.383461, 0.724715292, -0.642259717, 1, 0, 0, 0, 0.256030917, -0.966668606, 0, 0.966668606, 0.256030947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1546 | CFrame.new(-1.49998474, 0.410400331, -0.684674025, 1, 0, 0, 0, 0.187267095, -0.982309103, 0, 0.982309103, 0.187267095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1547 | CFrame.new(0.610648572, -1.979074, 0.536195338, 0.997888744, -0.0567381606, -0.0316043124, 0.0636196434, 0.756096959, 0.651359975, -0.0130610596, -0.651995897, 0.758109748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1548 | CFrame.new(-0.41577661, -2.08200049, 0.37990135, 0.998180866, 0.053891737, 0.0270309914, -0.0590596572, 0.783874691, 0.618105292, 0.0121217985, -0.618574679, 0.785635114) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1549 | }, .3, false) | |
1550 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963376, -1.58792579, -0.418636501, -0.0172099881, 9.23216081e-09, -0.999851882, 0.999851942, -2.41398811e-06, -0.0172099881, -2.32458115e-06, -1.00000012, 3.16649675e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1551 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810521096, -1.58789814, -0.418592125, -0.0172100049, -7.6934743e-09, -0.999851882, 0.999852121, 1.29640102e-05, -0.0172100049, 1.29640102e-05, -1.00000012, -2.15601176e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1552 | end | |
1553 | wait(1) | |
1554 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1555 | local a = Instance.new("ColorCorrectionEffect",game:service'Lighting') | |
1556 | a.TintColor = Color3.new(1,0,0) | |
1557 | for i,v in next, workspace:children() do | |
1558 | if v:IsA"BasePart" and v.ClassName ~= "Terrain" then | |
1559 | halfit(v) | |
1560 | elseif v:IsA"Model" then | |
1561 | for _,k in next, v:children() do | |
1562 | if k:IsA"BasePart" and v.ClassName ~= "Terrain" then | |
1563 | halfit(k) | |
1564 | end | |
1565 | end | |
1566 | end | |
1567 | end | |
1568 | wait(2) | |
1569 | for i = 1,0, -.05 do | |
1570 | a.TintColor = Color3.new(i,0,0) | |
1571 | wait() | |
1572 | end | |
1573 | wait(2) | |
1574 | for i = 0,1, .1 do | |
1575 | a.TintColor = Color3.new(i,i,i) | |
1576 | wait() | |
1577 | end | |
1578 | end | |
1579 | ||
1580 | Mouse.KeyDown:connect(function(k) | |
1581 | k = k:lower() | |
1582 | if attack == false and k == 'q' then | |
1583 | LockOn() | |
1584 | elseif attack == false and k == 'e' then | |
1585 | skidda() | |
1586 | elseif attack == false and k == 'r' then | |
1587 | suicide() | |
1588 | elseif attack == false and k == 'b' then | |
1589 | boomboom() | |
1590 | elseif attack == false and k == 'v' then | |
1591 | enditmotherfucker() | |
1592 | end | |
1593 | ||
1594 | end) | |
1595 | ||
1596 | kkk = Instance.new("Sound",Character) | |
1597 | kkk.Volume = 1.5 | |
1598 | kkk.PlaybackSpeed = 1 | |
1599 | kkk.Pitch = .6 | |
1600 | kkk.SoundId = "rbxassetid://257187456" | |
1601 | kkk:Play() | |
1602 | kkk.Name = "a" | |
1603 | kkk.Looped = true | |
1604 | ||
1605 | coroutine.wrap(function() | |
1606 | chatfunc('Dualiecider, a Genocider edit by Quil_Cyndaquil') | |
1607 | wait(5) | |
1608 | chatfunc('Original source credit goes to Salvo_Starly!') | |
1609 | end)() | |
1610 | coroutine.wrap(function() | |
1611 | while true do | |
1612 | swait() | |
1613 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
1614 | if v:IsA("Part") then | |
1615 | v.Anchored = false | |
1616 | end | |
1617 | end | |
1618 | for i, v in pairs(Character:GetChildren()) do | |
1619 | if v:IsA("Part") then | |
1620 | v.Anchored = false | |
1621 | elseif v:IsA("Accessory") then | |
1622 | v.Handle.Anchored = false | |
1623 | end | |
1624 | end | |
1625 | end | |
1626 | end)() | |
1627 | coroutine.wrap(function() | |
1628 | while 1 do | |
1629 | swait() | |
1630 | if doe <= 360 then | |
1631 | doe = doe + 2 | |
1632 | else | |
1633 | doe = 0 | |
1634 | end | |
1635 | end | |
1636 | end)() | |
1637 | EffectModel = Instance.new("Model",Character) | |
1638 | EffectModel.Name = "FX" | |
1639 | ||
1640 | while true do | |
1641 | swait() | |
1642 | for i, v in pairs(Character:GetChildren()) do | |
1643 | if v:IsA("Part") then | |
1644 | v.Material = "SmoothPlastic" | |
1645 | elseif v:IsA("Accessory") then | |
1646 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1647 | end | |
1648 | end | |
1649 | while true do | |
1650 | swait() | |
1651 | Character.Humanoid.MaxHealth = math.huge | |
1652 | Character.Humanoid.Health = math.huge | |
1653 | imgl.Rotation = imgl.Rotation + 3 | |
1654 | img2.Rotation = img2.Rotation + 3 | |
1655 | if targetted ~= nil then | |
1656 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1657 | abss.Enabled = true | |
1658 | elseif targetted == nil then | |
1659 | abss.Adornee = nil | |
1660 | abss.Enabled = false | |
1661 | end | |
1662 | ||
1663 | ||
1664 | while true and imgl.Rotation >= 360 do | |
1665 | imgl.Rotation = 0 | |
1666 | img2.Rotation = 0 | |
1667 | end | |
1668 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1669 | velocity = RootPart.Velocity.y | |
1670 | sine = sine + change | |
1671 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1672 | if RootPart.Velocity.y > 1 and hit == nil then | |
1673 | Anim = "Jump" | |
1674 | if attack == false then | |
1675 | PlayAnimationFromTable({ | |
1676 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1677 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1678 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1679 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1680 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1681 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1682 | }, .3, false) | |
1683 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963495, -1.58793092, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1684 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810516179, -1.58793187, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1685 | end | |
1686 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1687 | Anim = "Fall" | |
1688 | if attack == false then | |
1689 | PlayAnimationFromTable({ | |
1690 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1691 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1692 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1693 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1694 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1695 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1696 | }, .3, false) | |
1697 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963495, -1.58793092, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1698 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810516179, -1.58793187, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1699 | end | |
1700 | elseif Torsovelocity < 1 and hit ~= nil then | |
1701 | Anim = "Idle" | |
1702 | if attack == false then | |
1703 | change = 1 | |
1704 | PlayAnimationFromTable({ | |
1705 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1706 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
1707 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
1708 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
1709 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1710 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1711 | }, .3, false) | |
1712 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963495, -1.58793092, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1713 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810516179, -1.58793187, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1714 | end | |
1715 | elseif Torsovelocity > 2 and hit ~= nil then | |
1716 | Anim = "Walk" | |
1717 | if attack == false then | |
1718 | PlayAnimationFromTable({ | |
1719 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
1720 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1721 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
1722 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
1723 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
1724 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
1725 | }, .3, false) | |
1726 | moter.C0 = clerp(moter.C0, CFrame.new(0.118963495, -1.58793092, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1727 | moter2.C0 = clerp(moter2.C0, CFrame.new(-0.0810516179, -1.58793187, -0.41859436, -0.0172099974, 0, -0.999851882, 0.999851882, 0, -0.0172099993, 0, -1, -0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1728 | end | |
1729 | end | |
1730 | if 0 < #Effects then | |
1731 | for e = 1, #Effects do | |
1732 | if Effects[e] ~= nil then | |
1733 | local Thing = Effects[e] | |
1734 | if Thing ~= nil then | |
1735 | local Part = Thing[1] | |
1736 | local Mode = Thing[2] | |
1737 | local Delay = Thing[3] | |
1738 | local IncX = Thing[4] | |
1739 | local IncY = Thing[5] | |
1740 | local IncZ = Thing[6] | |
1741 | if Thing[2] == "Shoot" then | |
1742 | local Look = Thing[1] | |
1743 | local move = 30 | |
1744 | if Thing[8] == 3 then | |
1745 | move = 10 | |
1746 | end | |
1747 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1748 | if Thing[10] ~= nil then | |
1749 | da = pos | |
1750 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1751 | cfa = CFrame.new(Thing[4], pos) | |
1752 | tehCF = cfa:lerp(cf2, 0.2) | |
1753 | Thing[1] = tehCF.lookVector | |
1754 | - | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) |
1754 | + | |
1755 | local mag = (Thing[4] - pos).magnitude | |
1756 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
1757 | if Thing[8] == 2 then | |
1758 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
1759 | end | |
1760 | Thing[4] = Thing[4] + Look * move | |
1761 | Thing[3] = Thing[3] - 1 | |
1762 | if 2 < Thing[5] then | |
1763 | Thing[5] = Thing[5] - 0.3 | |
1764 | Thing[6] = Thing[6] - 0.3 | |
1765 | - | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) |
1765 | + | |
1766 | if hit ~= nil then | |
1767 | Thing[3] = 0 | |
1768 | if Thing[8] == 1 or Thing[8] == 3 then | |
1769 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1770 | else | |
1771 | if Thing[8] == 2 then | |
1772 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1773 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1774 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lime green"), "Reference", Vector3.new()) | |
1775 | ref.Anchored = true | |
1776 | ref.CFrame = CFrame.new(pos) | |
1777 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1778 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1779 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
1780 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
1781 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1782 | end | |
1783 | end | |
1784 | end | |
1785 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lime green"), "Reference", Vector3.new()) | |
1786 | ref.Anchored = true | |
1787 | ref.CFrame = CFrame.new(pos) | |
1788 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1789 | game:GetService("Debris"):AddItem(ref, 1) | |
1790 | end | |
1791 | if Thing[3] <= 0 then | |
1792 | table.remove(Effects, e) | |
1793 | end | |
1794 | end | |
1795 | do | |
1796 | do | |
1797 | if Thing[2] == "FireWave" then | |
1798 | if Thing[3] <= Thing[4] then | |
1799 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1800 | Thing[3] = Thing[3] + 1 | |
1801 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1802 | else | |
1803 | Part.Parent = nil | |
1804 | table.remove(Effects, e) | |
1805 | end | |
1806 | end | |
1807 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1808 | if Thing[1].Transparency <= 1 then | |
1809 | if Thing[2] == "Block1" then | |
1810 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1811 | Mesh = Thing[7] | |
1812 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1813 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1814 | else | |
1815 | if Thing[2] == "Block2" then | |
1816 | Thing[1].CFrame = Thing[1].CFrame | |
1817 | Mesh = Thing[7] | |
1818 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1819 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1820 | else | |
1821 | if Thing[2] == "Fire" then | |
1822 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1823 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1824 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1825 | else | |
1826 | if Thing[2] == "Cylinder" then | |
1827 | Mesh = Thing[7] | |
1828 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1829 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1830 | else | |
1831 | if Thing[2] == "Blood" then | |
1832 | Mesh = Thing[7] | |
1833 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1834 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1835 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1836 | else | |
1837 | if Thing[2] == "Elec" then | |
1838 | Mesh = Thing[10] | |
1839 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1840 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1841 | else | |
1842 | if Thing[2] == "Disappear" then | |
1843 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1844 | else | |
1845 | if Thing[2] == "Shatter" then | |
1846 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1847 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1848 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1849 | Thing[6] = Thing[6] + Thing[5] | |
1850 | end | |
1851 | end | |
1852 | end | |
1853 | end | |
1854 | end | |
1855 | end | |
1856 | end | |
1857 | end | |
1858 | else | |
1859 | Part.Parent = nil | |
1860 | table.remove(Effects, e) | |
1861 | end | |
1862 | end | |
1863 | end | |
1864 | end | |
1865 | end | |
1866 | end | |
1867 | end | |
1868 | end | |
1869 | end | |
1870 | end |