SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | - | local Player = game.Players.localPlayer |
6 | + | do |
7 | - | local Mouse = Player:GetMouse() |
7 | + | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ||
88 | --[[By SezHu. If leaked or stolen, do not remove credit.--]] | |
89 | ||
90 | warn("Black Magic reject by SezHu") | |
91 | wait(1 / 60) | |
92 | Effects = { } | |
93 | local Player = owner | |
94 | local Character = Player.Character | |
95 | local Humanoid = Character.Humanoid | |
96 | local Head = Character.Head | |
97 | local RootPart = Character.HumanoidRootPart | |
98 | local Torso = Character.Torso | |
99 | local LeftArm = Character["Left Arm"] | |
100 | local RightArm = Character["Right Arm"] | |
101 | local LeftLeg = Character["Left Leg"] | |
102 | local RightLeg = Character["Right Leg"] | |
103 | local Camera = game.Workspace.CurrentCamera | |
104 | local RootJoint = RootPart.RootJoint | |
105 | local Equipped = false | |
106 | local Attack = false | |
107 | local Anim = 'Idle' | |
108 | local Idle = 0 | |
109 | local Combo = 1 | |
110 | local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
111 | local Velocity = RootPart.Velocity.y | |
112 | local Sine = 0 | |
113 | local Change = 1 | |
114 | local maxammo = 6 -- max ammo | |
115 | local AmmoCount = 6 --ammo in gun | |
116 | local AmmoUsage = 1 --boolets used | |
117 | local currentammo = AmmoCount | |
118 | local RbxUtility = LoadLibrary("RbxUtility") | |
119 | local Create = RbxUtility.Create | |
120 | local relodee = false | |
121 | local UIS = game:GetService("UserInputService") | |
122 | local stance = false | |
123 | local maincol = "Rust" | |
124 | local skillcolorscheme = BrickColor.new(maincol).Color | |
125 | local maincol2 = "Grey" | |
126 | local skillcolorscheme2 = BrickColor.new(maincol2).Color | |
127 | local desirefont = "SourceSansLight" | |
128 | ||
129 | local coZ = 6 | |
130 | local coX = 0 | |
131 | local coXZ = 5 | |
132 | local coXC = 8 | |
133 | local coXV = 10 | |
134 | local coC = 20 | |
135 | local coV = 25 | |
136 | ||
137 | ||
138 | local cooldownZ = 0 | |
139 | local cooldownX = 0 | |
140 | local cooldownXZ = 0 | |
141 | local cooldownXC = 0 | |
142 | local cooldownXV = 0 | |
143 | local cooldownC = 0 | |
144 | local cooldownV = 0 | |
145 | ||
146 | ||
147 | ||
148 | local scrn = Instance.new('ScreenGui', Player.PlayerGui) | |
149 | function makeframe(par, trans, pos, size, color) | |
150 | local frame = Instance.new('Frame', par) | |
151 | frame.BackgroundTransparency = trans | |
152 | frame.BorderSizePixel = 0 | |
153 | frame.Position = pos | |
154 | frame.Size = size | |
155 | frame.BackgroundColor3 = color | |
156 | return frame | |
157 | end | |
158 | ||
159 | ||
160 | frameskZ = makeframe(scrn, .8, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
161 | frameskX = makeframe(scrn, .8, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
162 | frameskXZ = makeframe(scrn, .8, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
163 | frameskXC = makeframe(scrn, .8, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
164 | frameskXV = makeframe(scrn, .8, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
165 | frameskC = makeframe(scrn, .8, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
166 | frameskV = makeframe(scrn, .8, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
167 | ||
168 | barZ = makeframe(frameskZ, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
169 | barX = makeframe(frameskX, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
170 | barXZ = makeframe(frameskXZ, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
171 | barXC = makeframe(frameskXC, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
172 | barXV = makeframe(frameskXV, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
173 | barC = makeframe(frameskC, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
174 | barV = makeframe(frameskV, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
175 | text1 = Instance.new('TextLabel', frameskZ) | |
176 | text1.BackgroundTransparency = 1 | |
177 | text1.Size = UDim2.new(1, 0, 1, 0) | |
178 | text1.Position = UDim2.new(0, 0, 0, 0) | |
179 | text1.TextColor3 = Color3.new(255, 255, 255) | |
180 | text1.TextStrokeTransparency = 0 | |
181 | text1.FontSize = Enum.FontSize.Size18 | |
182 | text1.Font = desirefont | |
183 | text1.BorderSizePixel = 0 | |
184 | text1.TextScaled = true | |
185 | text2 = Instance.new('TextLabel', frameskX) | |
186 | text2.BackgroundTransparency = 1 | |
187 | text2.Size = UDim2.new(1, 0, 1, 0) | |
188 | text2.Position = UDim2.new(0, 0, 0, 0) | |
189 | text2.TextColor3 = Color3.new(255, 255, 255) | |
190 | text2.TextStrokeTransparency = 0 | |
191 | text2.FontSize = Enum.FontSize.Size18 | |
192 | text2.Font = desirefont | |
193 | text2.BorderSizePixel = 0 | |
194 | text2.TextScaled = true | |
195 | text3 = Instance.new('TextLabel', frameskC) | |
196 | text3.BackgroundTransparency = 1 | |
197 | text3.Size = UDim2.new(1, 0, 1, 0) | |
198 | text3.Position = UDim2.new(0, 0, 0, 0) | |
199 | text3.TextColor3 = Color3.new(255, 255, 255) | |
200 | text3.TextStrokeTransparency = 0 | |
201 | text3.FontSize = Enum.FontSize.Size18 | |
202 | text3.Font = desirefont | |
203 | text3.BorderSizePixel = 0 | |
204 | text3.TextScaled = false | |
205 | text4 = Instance.new('TextLabel', frameskV) | |
206 | text4.BackgroundTransparency = 1 | |
207 | text4.Size = UDim2.new(1, 0, 1, 0) | |
208 | text4.Position = UDim2.new(0, 0, 0, 0) | |
209 | text4.TextColor3 = Color3.new(255, 255, 255) | |
210 | text4.TextStrokeTransparency = 0 | |
211 | text4.FontSize = Enum.FontSize.Size18 | |
212 | text4.Font = desirefont | |
213 | text4.BorderSizePixel = 0 | |
214 | text4.TextScaled = true | |
215 | ||
216 | text1.Text = "[Z]\n Reposition" | |
217 | text2.Text = "[X]\n Battle Stance" | |
218 | text3.Text = "[C]\n Mend" | |
219 | text4.Text = "[V]\n Unload" | |
220 | ||
221 | textXZ = Instance.new('TextLabel', frameskXZ) | |
222 | textXZ.BackgroundTransparency = 1 | |
223 | textXZ.Size = UDim2.new(1, 0, 1, 0) | |
224 | textXZ.Position = UDim2.new(0, 0, 0, 0) | |
225 | textXZ.TextColor3 = Color3.new(255, 255, 255) | |
226 | textXZ.TextStrokeTransparency = 0 | |
227 | textXZ.FontSize = Enum.FontSize.Size18 | |
228 | textXZ.Font = desirefont | |
229 | textXZ.BorderSizePixel = 0 | |
230 | textXZ.TextScaled = true | |
231 | textXC = Instance.new('TextLabel', frameskXC) | |
232 | textXC.BackgroundTransparency = 1 | |
233 | textXC.Size = UDim2.new(1, 0, 1, 0) | |
234 | textXC.Position = UDim2.new(0, 0, 0, 0) | |
235 | textXC.TextColor3 = Color3.new(255, 255, 255) | |
236 | textXC.TextStrokeTransparency = 0 | |
237 | textXC.FontSize = Enum.FontSize.Size18 | |
238 | textXC.Font = desirefont | |
239 | textXC.BorderSizePixel = 0 | |
240 | textXC.TextScaled = true | |
241 | textXV = Instance.new('TextLabel', frameskXV) | |
242 | textXV.BackgroundTransparency = 1 | |
243 | textXV.Size = UDim2.new(1, 0, 1, 0) | |
244 | textXV.Position = UDim2.new(0, 0, 0, 0) | |
245 | textXV.TextColor3 = Color3.new(255, 255, 255) | |
246 | textXV.TextStrokeTransparency = 0 | |
247 | textXV.FontSize = Enum.FontSize.Size18 | |
248 | textXV.Font = desirefont | |
249 | textXV.BorderSizePixel = 0 | |
250 | textXV.TextScaled = false | |
251 | ||
252 | textXZ.Text = " " | |
253 | textXC.Text = " " | |
254 | textXV.Text = " " | |
255 | ||
256 | ||
257 | ||
258 | frameskXZ.BackgroundTransparency = 1 | |
259 | frameskXC.BackgroundTransparency = 1 | |
260 | frameskXV.BackgroundTransparency = 1 | |
261 | barXZ.BackgroundTransparency = 1 | |
262 | barXC.BackgroundTransparency = 1 | |
263 | barXV.BackgroundTransparency = 1 | |
264 | ||
265 | ||
266 | reloadframe = makeframe(scrn, .8, UDim2.new(.8, 0, .4, 0), UDim2.new(.14, 0, .05, 0), skillcolorscheme) | |
267 | reloadbar = makeframe(reloadframe, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2) | |
268 | ||
269 | relodetext = Instance.new('TextLabel', reloadframe) | |
270 | relodetext.BackgroundTransparency = 1 | |
271 | relodetext.Size = UDim2.new(1, 0, 1, 0) | |
272 | relodetext.Position = UDim2.new(0, 0, 0, 0) | |
273 | relodetext.TextColor3 = Color3.new(255, 255, 255) | |
274 | relodetext.TextStrokeTransparency = 0 | |
275 | relodetext.FontSize = Enum.FontSize.Size24 | |
276 | relodetext.Font = desirefont | |
277 | relodetext.BorderSizePixel = 0 | |
278 | relodetext.TextScaled = false | |
279 | relodetext.Text = currentammo..'/'..maxammo | |
280 | ||
281 | ||
282 | ||
283 | ||
284 | Humanoid.WalkSpeed = 16 | |
285 | Humanoid.JumpPower = 60 | |
286 | Humanoid.Animator.Parent = nil | |
287 | Character.Animate.Parent = nil | |
288 | ||
289 | local newMotor = function(part0, part1, c0, c1) | |
290 | local w = Create('Motor'){ | |
291 | Parent = part0, | |
292 | Part0 = part0, | |
293 | Part1 = part1, | |
294 | C0 = c0, | |
295 | C1 = c1, | |
296 | } | |
297 | return w | |
298 | end | |
299 | ||
300 | ||
301 | ||
302 | function clerp(a, b, t) | |
303 | return a:lerp(b, t) | |
304 | end | |
305 | ||
306 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
307 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
308 | ||
309 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
310 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
311 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
312 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
313 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
314 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
315 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
316 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
317 | ||
318 | local rarmc1 = RW.C1 | |
319 | local larmc1 = LW.C1 | |
320 | local rlegc1 = RH.C1 | |
321 | local llegc1 = LH.C1 | |
322 | ||
323 | local resetc1 = false | |
324 | ||
325 | function PlayAnimationFromTable(table, speed, bool) | |
326 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
327 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
328 | RW.C0 = clerp(RW.C0, table[3], speed) | |
329 | LW.C0 = clerp(LW.C0, table[4], speed) | |
330 | RH.C0 = clerp(RH.C0, table[5], speed) | |
331 | LH.C0 = clerp(LH.C0, table[6], speed) | |
332 | if bool == true then | |
333 | if resetc1 == false then | |
334 | resetc1 = true | |
335 | RootJoint.C1 = RootJoint.C1 | |
336 | Torso.Neck.C1 = Torso.Neck.C1 | |
337 | RW.C1 = rarmc1 | |
338 | LW.C1 = larmc1 | |
339 | RH.C1 = rlegc1 | |
340 | LH.C1 = llegc1 | |
341 | end | |
342 | end | |
343 | end | |
344 | ||
345 | ArtificialHB = Create("BindableEvent"){ | |
346 | Parent = script, | |
347 | Name = "Heartbeat", | |
348 | } | |
349 | ||
350 | script:WaitForChild("Heartbeat") | |
351 | ||
352 | frame = 1 / 35 | |
353 | tf = 0 | |
354 | allowframeloss = false | |
355 | tossremainder = false | |
356 | lastframe = tick() | |
357 | script.Heartbeat:Fire() | |
358 | ||
359 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
360 | tf = tf + s | |
361 | if tf >= frame then | |
362 | if allowframeloss then | |
363 | script.Heartbeat:Fire() | |
364 | lastframe = tick() | |
365 | else | |
366 | for i = 1, math.floor(tf / frame) do | |
367 | script.Heartbeat:Fire() | |
368 | end | |
369 | lastframe = tick() | |
370 | end | |
371 | if tossremainder then | |
372 | tf = 0 | |
373 | else | |
374 | tf = tf - frame * math.floor(tf / frame) | |
375 | end | |
376 | end | |
377 | end) | |
378 | ||
379 | function swait(num) | |
380 | if num == 0 or num == nil then | |
381 | ArtificialHB.Event:wait() | |
382 | else | |
383 | for i = 0, num do | |
384 | ArtificialHB.Event:wait() | |
385 | end | |
386 | end | |
387 | end | |
388 | ||
389 | local m = Create("Model"){ | |
390 | Parent = Character, | |
391 | Name = "WeaponModel" | |
392 | } | |
393 | ||
394 | function RemoveOutlines(part) | |
395 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
396 | end | |
397 | ||
398 | CFuncs = { | |
399 | Part = { | |
400 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
401 | local Part = Create("Part"){ | |
402 | Parent = Parent, | |
403 | Reflectance = Reflectance, | |
404 | Transparency = Transparency, | |
405 | CanCollide = false, | |
406 | Locked = true, | |
407 | BrickColor = BrickColor.new(tostring(BColor)), | |
408 | Name = Name, | |
409 | Size = Size, | |
410 | Material = Material, | |
411 | } | |
412 | RemoveOutlines(Part) | |
413 | if Size == Vector3.new() then | |
414 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
415 | else | |
416 | Part.Size = Size | |
417 | end | |
418 | return Part | |
419 | end; | |
420 | }; | |
421 | ||
422 | Mesh = { | |
423 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
424 | local Msh = Create(Mesh){ | |
425 | Parent = Part, | |
426 | Offset = OffSet, | |
427 | Scale = Scale, | |
428 | } | |
429 | if Mesh == "SpecialMesh" then | |
430 | Msh.MeshType = MeshType | |
431 | Msh.MeshId = MeshId | |
432 | end | |
433 | return Msh | |
434 | end; | |
435 | }; | |
436 | ||
437 | Weld = { | |
438 | Create = function(Parent, Part0, Part1, C0, C1) | |
439 | local Weld = Create("Weld"){ | |
440 | Parent = Parent, | |
441 | Part0 = Part0, | |
442 | Part1 = Part1, | |
443 | C0 = C0, | |
444 | C1 = C1, | |
445 | } | |
446 | return Weld | |
447 | end; | |
448 | }; | |
449 | ||
450 | Sound = { | |
451 | Create = function(id, par, vol, pit) | |
452 | coroutine.resume(coroutine.create(function() | |
453 | local S = Create("Sound"){ | |
454 | Volume = vol, | |
455 | Pitch = pit or 1, | |
456 | SoundId = "rbxassetid://" .. id, | |
457 | Parent = par or workspace, | |
458 | } | |
459 | wait() | |
460 | S:play() | |
461 | game:GetService("Debris"):AddItem(S, 10) | |
462 | end)) | |
463 | end; | |
464 | }; | |
465 | ||
466 | ParticleEmitter = { | |
467 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
468 | local Particle = Create("ParticleEmitter"){ | |
469 | Parent = Parent, | |
470 | Color = ColorSequence.new(Color1, Color2), | |
471 | LightEmission = LightEmission, | |
472 | Size = Size, | |
473 | Texture = Texture, | |
474 | Transparency = Transparency, | |
475 | ZOffset = ZOffset, | |
476 | Acceleration = Accel, | |
477 | Drag = Drag, | |
478 | LockedToPart = LockedToPart, | |
479 | VelocityInheritance = VelocityInheritance, | |
480 | EmissionDirection = EmissionDirection, | |
481 | Enabled = Enabled, | |
482 | Lifetime = LifeTime, | |
483 | Rate = Rate, | |
484 | Rotation = Rotation, | |
485 | RotSpeed = RotSpeed, | |
486 | Speed = Speed, | |
487 | VelocitySpread = VelocitySpread, | |
488 | } | |
489 | return Particle | |
490 | end; | |
491 | }; | |
492 | ||
493 | CreateTemplate = { | |
494 | ||
495 | }; | |
496 | } | |
497 | ||
498 | --Shotgun Model | |
499 | ||
500 | Handle=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Handle",Vector3.new(0.230977222, 0.505653977, 0.244424)) | |
501 | HandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489551544, 0.226313591, 0.00205421448, -0.0140927732, -0.988225222, -0.15235588, -0.120409302, 0.152939469, -0.980872691, 0.992624283, 0.00452187657, -0.121146858)) | |
502 | fHandle=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","fHandle",Vector3.new(0.230977222, 0.505653977, 0.244424)) | |
503 | fHandleWeld=CFuncs.Weld.Create(m,Handle,fHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489551544, 0.226313591, 0.00205421448, -0.0140927732, -0.988225222, -0.15235588, -0.120409302, 0.152939469, -0.980872691, 0.992624283, 0.00452187657, -0.121146858)) | |
504 | Stockbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Stockbox",Vector3.new(1.35000181, 1.25999975, 1.21000016)) | |
505 | StockboxWeld=CFuncs.Weld.Create(m,fHandle,Stockbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.624462128, -0.121447086, -0.0863800049, 0.0217821598, 0.976389289, 0.214917779, -0.119256809, 0.215971515, -0.969089329, -0.992624402, -0.00452160835, 0.121145353)) | |
506 | Shellmaker=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Shellmaker",Vector3.new(0.294364125, 0.10708534, 0.0960408598)) | |
507 | ShellmakerWeld=CFuncs.Weld.Create(m,fHandle,Shellmaker,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.01054192, -0.63139534, -0.123239517, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
508 | bulletmaker=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","bulletmaker",Vector3.new(0.0773126334, 0.0921989903, 0.084515892)) | |
509 | bulletmakerWeld=CFuncs.Weld.Create(m,fHandle,bulletmaker,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.09943199, -0.656896591, -0.0268611908, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
510 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0763523355, 0.74047333, 0.0622474775)) | |
511 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.020904541, -2.09744072, -0.430066109, 1.1920929e-07, -7.4505806e-07, 1.00000012, 1, -2.98023224e-08, -1.78813934e-07, 2.98023224e-08, 1, 7.59959221e-07)) | |
512 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.678870738)) | |
513 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.182476982, 0.119570628, 0.16326943)) | |
514 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0352497101, 0.183197975, -0.0285701752, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
515 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.183437362, 0.465309709, 0.16326943)) | |
516 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0454616547, -0.0627765656, -0.0285644531, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012)) | |
517 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0753918514, 0.119570628, 0.172873542)) | |
518 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.129617691, 0.184212685, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
519 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0753918514, 0.371197164, 0.172873527)) | |
520 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0450191498, 0.00573158264, -0.0285778046, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012)) | |
521 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.486446053, 0.144061252)) | |
522 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.084405899, -0.0508937836, -0.0285682678, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012)) | |
523 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1)) | |
524 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.119090639, 0.144061252)) | |
525 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.16843605, 0.182041168, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
526 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1)) | |
527 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.154145062, 0.159900382, 0.16326943)) | |
528 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.22857666, -0.191133022, -0.0285720825, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
529 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0753918514, 0.112847812, 0.172873542)) | |
530 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00222587585, -0.22913456, -0.0285568237, 0.965925932, -0.258819044, 7.74860382e-07, 0.258818984, 0.965925813, 1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1)) | |
531 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.113808274, 0.144061252)) | |
532 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0371608734, -0.228617668, -0.0285663605, 0.965925932, -0.258819044, 7.74860382e-07, 0.258818984, 0.965925813, 1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1)) | |
533 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1)) | |
534 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.113808274, 0.144061252)) | |
535 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105619431, -0.289684772, -0.0285644531, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
536 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1)) | |
537 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0854762271, 0.172873542)) | |
538 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.12963295, -0.276510715, -0.0285644531, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
539 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
540 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.112847812, 0.172873542)) | |
541 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.316268921, -0.173998833, -0.0285587311, 0.500002027, 0.866024256, 2.11596489e-06, -0.866024196, 0.500001967, 5.96046448e-08, -1.07288361e-06, -1.86264515e-06, 1)) | |
542 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.54772383, 1, 1)) | |
543 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.113808274, 0.144061252)) | |
544 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.298994064, -0.173471451, -0.0285644531, 0.500002027, 0.866024256, 2.11596489e-06, -0.866024196, 0.500001967, 5.96046448e-08, -1.07288361e-06, -1.86264515e-06, 1)) | |
545 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.239147544, 1, 1)) | |
546 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0950803086, 0.172873542)) | |
547 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.208971024, -0.221178055, -0.0285568237, 0.866025448, 0.499999702, -2.38418579e-07, -0.499999732, 0.866025507, 8.7916851e-07, 6.2584877e-07, -6.55651093e-07, 1.00000012)) | |
548 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
549 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.146461785, 0.196876034, 0.16326943)) | |
550 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.327466965, -0.178565979, -0.0285739899, 0.707106829, 0.70710665, -2.08616257e-07, -0.70710665, 0.707106888, 1.93715096e-07, 2.08616257e-07, 0, 1.00000012)) | |
551 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0622474775, 0.246817216, 0.16326943)) | |
552 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409929276, -0.000652313232, -0.0285587311, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
553 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.987445176, 1, 1)) | |
554 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.256908506, 0.250178576, 0.175754741)) | |
555 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0943717957, -0.513149977, -0.0285682678, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
556 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.81730479, 0.0997623056, 0.0997624695)) | |
557 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.471679688, -0.463490486, -0.0529289246, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
558 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.504212916, 0.0997623056, 0.0997624695)) | |
559 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.374668121, -0.534323692, -0.0529251099, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
560 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0744314641, 0.272275418, 0.184398398)) | |
561 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.242843628, -0.510847807, -0.0285606384, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
562 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0744314641, 1.11887383, 0.184398398)) | |
563 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.454176903, -0.655622482, -0.0285568237, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
564 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.296285421, 0.194002435)) | |
565 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.280355453, 0.50044775, -0.0285720825, -0.965925932, -0.258818686, 0, 0.258818686, -0.965925872, 9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
566 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.200575769, 1, 1)) | |
567 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.283319652, 0.249225661, 0.184398398)) | |
568 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.314329147, -0.559855938, -0.0285587311, 0.995653629, 0.0931321532, 2.32458115e-06, -0.0931321681, 0.995653749, 7.5250864e-07, -2.29477882e-06, -9.83476639e-07, 1)) | |
569 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.133496568, 0.172873542)) | |
570 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.349269867, -0.24421072, -0.0285644531, 0.866025448, 0.499999702, -2.38418579e-07, -0.499999732, 0.866025507, 8.7916851e-07, 6.2584877e-07, -6.55651093e-07, 1.00000012)) | |
571 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
572 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.192081362, 0.172873542)) | |
573 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.293024063, -0.294204473, -0.0285720825, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
574 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
575 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542)) | |
576 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356941223, 0.0116996765, -0.0285701752, 0.707106829, 0.70710665, -2.08616257e-07, -0.70710665, 0.707106888, 1.93715096e-07, 2.08616257e-07, 0, 1.00000012)) | |
577 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
578 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542)) | |
579 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.28327179, 0.268438339, -0.0285663605, 0.258818686, 0.965925872, 1.57952309e-06, -0.965925932, 0.258818716, -5.66244125e-07, -1.07288361e-06, -1.37090683e-06, 1)) | |
580 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
581 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542)) | |
582 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.192222595, 0.423189163, -0.0285587311, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
583 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
584 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542)) | |
585 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0651254654, 0.542451859, -0.0285663605, -0.500002563, 0.866023898, -1.69873238e-06, -0.866023898, -0.500002503, -5.36441803e-07, -1.37090683e-06, 1.1920929e-06, 1.00000012)) | |
586 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
587 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.172873542)) | |
588 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.349715233, 0.488988876, -0.0285606384, -0.866025507, 0.499999702, 1.78813934e-07, -0.499999762, -0.866025507, -8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012)) | |
589 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 0.62486881, 1)) | |
590 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.172873542)) | |
591 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.468893051, 0.414321899, -0.0285682678, -0.965925932, 0.258819044, -7.74860382e-07, -0.258818984, -0.965925813, -1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1)) | |
592 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 0.62486881, 1)) | |
593 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.166150421, 0.172873542)) | |
594 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.564922333, 0.374081612, -0.0285587311, -0.999999881, 1.49011612e-08, 2.98023224e-08, 1.49011612e-08, -0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
595 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1)) | |
596 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.0622474775)) | |
597 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.446313858, 0.0350942612, -0.0285625458, 0.707106829, 0.70710665, -2.08616257e-07, -0.70710665, 0.707106888, 1.93715096e-07, 2.08616257e-07, 0, 1.00000012)) | |
598 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.393159211, 0.862414598, 0.327713668)) | |
599 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.0622474775)) | |
600 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.391670227, -0.236137867, -0.0285568237, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012)) | |
601 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.393159211, 0.862414598, 0.327713668)) | |
602 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.10526102, 0.0622474775)) | |
603 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.208478928, -0.470833778, -0.0285587311, 0.965925932, -0.258819044, 7.74860382e-07, 0.258818984, 0.965925813, 1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1)) | |
604 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.393159211, 1, 0.327713668)) | |
605 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.853799939, 0.249225661, 0.184398398)) | |
606 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.811216354, -0.600500107, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
607 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.86222541, 0.142131716, 0.142131925)) | |
608 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.88418007, -0.649424553, -0.0289115906, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
609 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.919107974, 0.0622474775, 0.184398398)) | |
610 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843883514, -0.728718758, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
611 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.11571791, 1)) | |
612 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.919107974, 0.0622474775, 0.184398398)) | |
613 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843877792, -0.746054649, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
614 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.11571791, 1)) | |
615 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.919107974, 0.0622474775, 0.152704939)) | |
616 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843877792, -0.734283447, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
617 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.401151627, 1)) | |
618 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
619 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.391284943, -0.759021759, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
620 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.223722026, 0.3008641, 1)) | |
621 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
622 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.433917999, -0.758702278, -0.0285682678, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
623 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
624 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
625 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.479598999, -0.758406639, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
626 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
627 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
628 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.519172668, -0.759467125, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
629 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
630 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
631 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.564876556, -0.759284019, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
632 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
633 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
634 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.74656105, -0.757936478, -0.0285720825, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
635 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
636 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
637 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700839996, -0.758119583, -0.0285701752, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
638 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
639 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
640 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.615558624, -0.759425163, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
641 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
642 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
643 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.661268234, -0.759130478, -0.0285720825, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
644 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
645 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
646 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.790523529, -0.757699966, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
647 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
648 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
649 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.10312653, -0.756930351, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
650 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
651 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
652 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.05741501, -0.757115364, -0.0285663605, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
653 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
654 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
655 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.836206436, -0.757403374, -0.0285663605, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
656 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
657 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
658 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.875770569, -0.75846386, -0.0285644531, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
659 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
660 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
661 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.972162247, -0.758422852, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
662 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
663 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
664 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.01785469, -0.758123398, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
665 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
666 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
667 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.921495438, -0.758282661, -0.0285682678, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
668 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
669 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
670 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.23103142, -0.755340576, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
671 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
672 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
673 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14575386, -0.756649017, -0.0285682678, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
674 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
675 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
676 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.26502037, -0.755158424, -0.0285644531, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
677 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
678 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
679 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19145584, -0.756355286, -0.0285701752, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
680 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1)) | |
681 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398)) | |
682 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.29557228, -0.757285118, -0.0285549164, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
683 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.223722026, 0.3008641, 1)) | |
684 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645)) | |
685 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.608816147, 0.439056396, -0.133686066, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
686 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645)) | |
687 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.608924866, 0.559501648, -0.141916275, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
688 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645)) | |
689 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609196663, 0.676843643, -0.133676529, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
690 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893)) | |
691 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.695789337, 0.558382034, -0.141908646, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
692 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1)) | |
693 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.163862169, 0.112265885, 0.112266079)) | |
694 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612273216, 0.558391571, -0.141902924, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
695 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164241493, 0.112265885, 0.112266079)) | |
696 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612018585, 0.438463211, -0.137260437, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
697 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893)) | |
698 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.695731163, 0.438491821, -0.137289047, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
699 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1)) | |
700 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164620817, 0.112265885, 0.112266079)) | |
701 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.611670494, 0.676483154, -0.133932114, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
702 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893)) | |
703 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.695570946, 0.676485062, -0.133947372, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
704 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1)) | |
705 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.427860439, 0.156066164, 0.156066418)) | |
706 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02061081, -0.622268677, -0.0845718384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
707 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0773126855, 0.309250325, 0.184398398)) | |
708 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.805314064, -1.1217041, -0.0285644531, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012)) | |
709 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.261230201, 0.185357824, 0.158467412)) | |
710 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.552032471, -1.27363014, -0.0285682678, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
711 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.983454704, 0.0622474775, 0.184398398)) | |
712 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.876041412, -0.700925827, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
713 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.655727208, 1)) | |
714 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.983454704, 0.0622474775, 0.184398398)) | |
715 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.822029114, -0.663985252, -0.0285663605, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
716 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.655727208, 1)) | |
717 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.983454704, 0.0622474775, 0.184398398)) | |
718 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.787355423, -0.642092705, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
719 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.655727208, 1)) | |
720 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.228096232, 1.19426513, 0.0672286227)) | |
721 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.572554588, -1.87078285, -0.0285701752, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
722 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(1.1721741, 0.0672284812, 0.0672286004)) | |
723 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.94434929, -0.457939148, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
724 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0960405394, 1.18610215, 0.119090654)) | |
725 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.60875988, -1.8666954, -0.0285606384, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
726 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0960405394, 0.837954462, 0.119090654)) | |
727 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.593738556, -1.92202759, -0.0285644531, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
728 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.217051655, 0.74047333, 0.0622474775)) | |
729 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.51939106, -2.09714317, 0.0765304565, 3.62284482e-07, -0.965925813, -0.258818895, 0.99999994, 3.27825546e-07, 8.94069672e-08, 0, -0.258818865, 0.965925932)) | |
730 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.948875785)) | |
731 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.217051655, 0.74047333, 0.0622474775)) | |
732 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.508298635, -2.09652901, -0.119865417, -1.25169754e-06, -0.965925932, 0.258818418, 1, -1.11758709e-06, 6.85453415e-07, -4.76837158e-07, 0.258818418, 0.965926051)) | |
733 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.948875785)) | |
734 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.51359856, 0.108333342, 0.108333521)) | |
735 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.70987511, -0.587060928, -0.0289077759, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
736 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.116297506, 0.126513839, 0.126514062)) | |
737 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.51787376, -0.492711067, -0.0289020538, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
738 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.281487226, 0.0818847269, 0.0818848684)) | |
739 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.59470558, -0.490480423, -0.0289134979, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
740 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.128214061, 0.210328475, 0.119090654)) | |
741 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.553534508, -2.6796627, -0.0285625458, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
742 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.133873656, 0.0622474775, 0.0622474775)) | |
743 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0289173126, -0.551986694, -2.5983963, -1.1920929e-07, 7.4505806e-07, -1.00000012, -5.96046448e-08, 1, 7.4505806e-07, 1, 7.4505806e-08, -1.49011612e-07)) | |
744 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.644316077, 0.644317031)) | |
745 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.133873656, 0.0622474775, 0.0622474775)) | |
746 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0289115906, -0.555045128, -2.70437813, -1.1920929e-07, 7.4505806e-07, -1.00000012, -5.96046448e-08, 1, 7.4505806e-07, 1, 7.4505806e-08, -1.49011612e-07)) | |
747 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.644316077, 0.644317031)) | |
748 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.133873656, 0.0622474775, 0.0622474775)) | |
749 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0289211273, -0.556861877, -2.75073242, -1.1920929e-07, 7.4505806e-07, -1.00000012, -5.96046448e-08, 1, 7.4505806e-07, 1, 7.4505806e-08, -1.49011612e-07)) | |
750 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.644316077, 0.644317031)) | |
751 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.325578123, 0.120581053, 0.120581254)) | |
752 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.89797592, -0.653188705, -0.0289173126, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
753 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0812890455, 0.0622474775)) | |
754 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.78231049, 0.759439468, 0.0285625458, -0.866025448, -0.499999702, 2.38418579e-07, -0.499999732, 0.866025507, 8.7916851e-07, -6.2584877e-07, 6.55651093e-07, -1.00000012)) | |
755 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.61715281, 1, 0.482340217)) | |
756 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0745662153, 0.0622474775)) | |
757 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76589775, -0.741744041, 0.0285568237, -0.999999881, 1.49011612e-08, 2.98023224e-08, -1.49011612e-08, 0.999999881, 0, 2.98023224e-08, 0, -1.00000012)) | |
758 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.61715281, 1, 0.482340217)) | |
759 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Lily white","Part",Vector3.new(0.0622474775, 0.0622474775, 0.0622474775)) | |
760 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.76446533, -0.764004707, -0.028553009, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012)) | |
761 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.617152989, 0.408864677, 0.339435399)) | |
762 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(1.09150016, 0.159420162, 0.175754741)) | |
763 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.903377533, -0.564111233, -0.0285682678, 0.999867797, 0.0162549913, 7.74860382e-07, -0.0162550062, 0.999867916, 8.7916851e-07, -7.15255737e-07, -8.94069672e-07, 1.00000012)) | |
764 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.799536645, 0.156538948, 0.175754741)) | |
765 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.757575989, -0.625374794, -0.0285549164, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1)) | |
766 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.15222393, 0.0696221218, 0.175754741)) | |
767 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.413620949, -0.488759995, -0.0285682678, 0.0912402272, 0.995828867, 1.47521496e-06, -0.995828867, 0.0912402719, 5.66244125e-07, 3.27825546e-07, -1.5348196e-06, 1.00000012)) | |
768 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.523900926, 0.0622474775, 0.175754741)) | |
769 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.716959, -0.339764595, -0.0285701752, 0.995828986, -0.0912401676, -5.06639481e-07, 0.0912401378, 0.995828927, 7.15255737e-07, 3.27825546e-07, -7.89761543e-07, 1)) | |
770 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
771 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.523900926, 0.0622474775, 0.175754741)) | |
772 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.607765198, -0.601490259, -0.0285663605, 0.908034444, 0.418895423, -5.66244125e-07, -0.418895513, 0.908034563, -2.60770321e-07, 3.57627869e-07, 4.61935997e-07, 1.00000012)) | |
773 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
774 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038)) | |
775 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.873703957, 0.431451797, -0.0285663605, 0.639640331, -0.768674433, -4.61935997e-07, 0.768674374, 0.639640331, 5.66244125e-07, -1.78813934e-07, -7.30156898e-07, 1)) | |
776 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
777 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038)) | |
778 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909405231, 0.553689957, -0.0285549164, 0.639640331, -0.768674433, -4.61935997e-07, 0.768674374, 0.639640331, 5.66244125e-07, -1.78813934e-07, -7.30156898e-07, 1)) | |
779 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
780 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038)) | |
781 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.927492619, 0.657333374, -0.0285587311, 0.639640331, -0.768674433, -4.61935997e-07, 0.768674374, 0.639640331, 5.66244125e-07, -1.78813934e-07, -7.30156898e-07, 1)) | |
782 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
783 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038)) | |
784 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11587906, -0.356192112, -0.028547287, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1)) | |
785 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
786 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.495088696, 0.0622474775, 0.0864367038)) | |
787 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.322112083, -1.28462601, -0.0285587311, 0.345870823, 0.938282073, -7.4505806e-07, -0.938282132, 0.345870882, 1.07288361e-06, 1.25169754e-06, 3.27825546e-07, 1.00000012)) | |
788 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
789 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.257387787, 0.159420162, 0.175754741)) | |
790 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.3693037, 0.223978043, -0.0285739899, 0.874038696, -0.485856384, 3.57627869e-07, 0.485856295, 0.874038756, 3.57627869e-07, -5.66244125e-07, -1.78813934e-07, 1.00000012)) | |
791 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.706377685, 0.0622474775, 0.0864367038)) | |
792 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.269904137, -1.45611191, -0.0285568237, -0.000838190317, 0.999999642, 7.74860382e-07, -0.999999642, -0.000838235021, 2.38418579e-07, 1.1920929e-07, -7.89761543e-07, 1.00000012)) | |
793 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1)) | |
794 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.107085116, 0.0622474775, 0.0864367038)) | |
795 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.4155426, 0.194704056, -0.028553009, 0.995828986, -0.0912401676, -5.06639481e-07, 0.0912401378, 0.995828927, 7.15255737e-07, 3.27825546e-07, -7.89761543e-07, 1)) | |
796 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.964184403, 1)) | |
797 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.181996748, 0.0622474775, 0.0864367038)) | |
798 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30640793, -0.446501732, -0.0285644531, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1)) | |
799 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.964184403, 1)) | |
800 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.196883038, 0.188232288, 0.0864367038)) | |
801 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.27062798, -0.612149715, -0.0285511017, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1)) | |
802 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.116208896, 0.737585008, 0.175754741)) | |
803 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52254105, -0.293103695, -0.0285682678, 0.999867797, 0.0162549913, 7.74860382e-07, -0.0162550062, 0.999867916, 8.7916851e-07, -7.15255737e-07, -8.94069672e-07, 1.00000012)) | |
804 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.116208896, 0.400002003, 0.175754741)) | |
805 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57855415, -0.319172859, -0.0285606384, 0.997218013, -0.0745394826, 8.94069672e-07, 0.0745394677, 0.997218013, -1.1920929e-07, -9.83476639e-07, 1.49011612e-07, 1.00000024)) | |
806 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.112847485, 0.34814018, 0.175754741)) | |
807 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.5480423, -0.172746658, -0.0285549164, 0.997943401, 0.0641013086, -2.98023224e-08, -0.0641013458, 0.997943401, 8.49366188e-07, 0, -8.64267349e-07, 1.00000012)) | |
808 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893)) | |
809 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.696815491, -0.553442001, -0.102174759, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
810 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1)) | |
811 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893)) | |
812 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.696748734, -0.673355103, -0.0975265503, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
813 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1)) | |
814 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893)) | |
815 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.696596146, -0.435348511, -0.094203949, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
816 | CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1)) | |
817 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.163862169, 0.112265885, 0.112266079)) | |
818 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.613293648, -0.553445816, -0.102149963, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
819 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164241493, 0.112265885, 0.112266079)) | |
820 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.613039017, -0.673345566, -0.0975208282, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
821 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645)) | |
822 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609944344, -0.552326202, -0.102172852, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
823 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645)) | |
824 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.610219002, -0.434988022, -0.0939350128, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
825 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645)) | |
826 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609839439, -0.672796249, -0.0939388275, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
827 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164620817, 0.112265885, 0.112266079)) | |
828 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612697601, -0.435344696, -0.0941925049, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012)) | |
829 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0622474775, 0.330372602, 0.16326943)) | |
830 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.190822601, -0.254428864, -0.0285701752, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
831 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.648010492, 1, 1)) | |
832 | Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0622474775, 0.216564372, 0.16326943)) | |
833 | PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.217577934, -0.165513992, -0.0285587311, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012)) | |
834 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.648010492, 1, 1)) | |
835 | ||
836 | ||
837 | ||
838 | function RayCast(Position, Direction, Range, Ignore) | |
839 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
840 | end | |
841 | ||
842 | FindNearestTorso = function(pos) | |
843 | local list = (game.Workspace:children()) | |
844 | local torso = nil | |
845 | local dist = 1000 | |
846 | local temp, human, temp2 = nil, nil, nil | |
847 | for x = 1, #list do | |
848 | temp2 = list[x] | |
849 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
850 | temp = temp2:findFirstChild("Torso") | |
851 | human = temp2:findFirstChild("Humanoid") | |
852 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
853 | local dohit = true | |
854 | if dohit == true then | |
855 | torso = temp | |
856 | dist = (temp.Position - pos).magnitude | |
857 | end | |
858 | end | |
859 | end | |
860 | end | |
861 | return torso, dist | |
862 | end | |
863 | ||
864 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
865 | if hit.Parent == nil then | |
866 | return | |
867 | end | |
868 | local h = hit.Parent:FindFirstChild("Humanoid") | |
869 | for _, v in pairs(hit.Parent:children()) do | |
870 | if v:IsA("Humanoid") then | |
871 | h = v | |
872 | end | |
873 | end | |
874 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
875 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
876 | if hit.Parent.DebounceHit.Value == true then | |
877 | return | |
878 | end | |
879 | end | |
880 | local c = Create("ObjectValue"){ | |
881 | Name = "creator", | |
882 | Value = game:service("Players").LocalPlayer, | |
883 | Parent = h, | |
884 | } | |
885 | game:GetService("Debris"):AddItem(c, .5) | |
886 | if HitSound ~= nil and HitPitch ~= nil then | |
887 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
888 | end | |
889 | local Damage = math.random(minim, maxim) | |
890 | local blocked = false | |
891 | local block = hit.Parent:findFirstChild("Block") | |
892 | if block ~= nil then | |
893 | if block.className == "IntValue" then | |
894 | if block.Value > 0 then | |
895 | blocked = true | |
896 | block.Value = block.Value - 1 | |
897 | print(block.Value) | |
898 | end | |
899 | end | |
900 | end | |
901 | if blocked == false then | |
902 | h.Health = h.Health - Damage | |
903 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 5)).p + Vector3.new(math.random(-5,5), math.random(3,5),0)), -Damage, 1, BrickColor.new("White").Color) | |
904 | else | |
905 | h.Health = h.Health - (Damage / 2) | |
906 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 5)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
907 | end | |
908 | if Type == "Knockdown" then | |
909 | local hum = hit.Parent.Humanoid | |
910 | hum.PlatformStand = true | |
911 | coroutine.resume(coroutine.create(function(HHumanoid) | |
912 | swait(1) | |
913 | HHumanoid.PlatformStand = false | |
914 | end), hum) | |
915 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
916 | local bodvol = Create("BodyVelocity"){ | |
917 | velocity = angle * knockback, | |
918 | P = 5000, | |
919 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
920 | Parent = hit, | |
921 | } | |
922 | local rl = Create("BodyAngularVelocity"){ | |
923 | P = 3000, | |
924 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
925 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
926 | Parent = hit, | |
927 | } | |
928 | game:GetService("Debris"):AddItem(bodvol, .5) | |
929 | game:GetService("Debris"):AddItem(rl, .5) | |
930 | elseif Type == "Normal" then | |
931 | local vp = Create("BodyVelocity"){ | |
932 | P = 500, | |
933 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
934 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
935 | } | |
936 | if knockback > 0 then | |
937 | vp.Parent = hit.Parent.Torso | |
938 | end | |
939 | game:GetService("Debris"):AddItem(vp, .5) | |
940 | elseif Type == "Up" then | |
941 | local bodyVelocity = Create("BodyVelocity"){ | |
942 | velocity = Vector3.new(0, 20, 0), | |
943 | P = 5000, | |
944 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
945 | Parent = hit, | |
946 | } | |
947 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
948 | elseif Type == "DarkUp" then | |
949 | coroutine.resume(coroutine.create(function() | |
950 | for i = 0, 1, 0.1 do | |
951 | swait() | |
952 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
953 | end | |
954 | end)) | |
955 | local bodyVelocity = Create("BodyVelocity"){ | |
956 | velocity = Vector3.new(0, 20, 0), | |
957 | P = 5000, | |
958 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
959 | Parent = hit, | |
960 | } | |
961 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
962 | elseif Type == "Snare" then | |
963 | local bp = Create("BodyPosition"){ | |
964 | P = 2000, | |
965 | D = 100, | |
966 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
967 | position = hit.Parent.Torso.Position, | |
968 | Parent = hit.Parent.Torso, | |
969 | } | |
970 | game:GetService("Debris"):AddItem(bp, 1) | |
971 | elseif Type == "Freeze" then | |
972 | local BodPos = Create("BodyPosition"){ | |
973 | P = 50000, | |
974 | D = 1000, | |
975 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
976 | position = hit.Parent.Torso.Position, | |
977 | Parent = hit.Parent.Torso, | |
978 | } | |
979 | local BodGy = Create("BodyGyro") { | |
980 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
981 | P = 20e+003, | |
982 | Parent = hit.Parent.Torso, | |
983 | cf = hit.Parent.Torso.CFrame, | |
984 | } | |
985 | hit.Parent.Torso.Anchored = true | |
986 | coroutine.resume(coroutine.create(function(Part) | |
987 | swait(1.5) | |
988 | Part.Anchored = false | |
989 | end), hit.Parent.Torso) | |
990 | game:GetService("Debris"):AddItem(BodPos, 3) | |
991 | game:GetService("Debris"):AddItem(BodGy, 3) | |
992 | end | |
993 | if Delay > 0 then | |
994 | local debounce = Create("BoolValue"){ | |
995 | Name = "DebounceHit", | |
996 | Parent = hit.Parent, | |
997 | Value = true, | |
998 | } | |
999 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1000 | end | |
1001 | ||
1002 | c = Create("ObjectValue"){ | |
1003 | Name = "creator", | |
1004 | Value = Player, | |
1005 | Parent = h, | |
1006 | } | |
1007 | game:GetService("Debris"):AddItem(c, .5) | |
1008 | end | |
1009 | end | |
1010 | ||
1011 | function ShowDamage(Pos, Text, Time, Color) | |
1012 | local Rate = (1 / 30) | |
1013 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1014 | local Text = (Text or "") | |
1015 | local Time = (Time or 2) | |
1016 | local Color = (Color or Color3.new(1, 0, 1)) | |
1017 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1018 | EffectPart.Anchored = true | |
1019 | local BillboardGui = Create("BillboardGui"){ | |
1020 | Size = UDim2.new(3, 0, 3, 0), | |
1021 | Adornee = EffectPart, | |
1022 | Parent = EffectPart, | |
1023 | } | |
1024 | local TextLabel = Create("TextLabel"){ | |
1025 | BackgroundTransparency = 1, | |
1026 | Size = UDim2.new(1, 0, 1, 0), | |
1027 | Text = Text, | |
1028 | Font = "SourceSansLight", | |
1029 | TextColor3 = Color, | |
1030 | TextScaled = true, | |
1031 | Parent = BillboardGui, | |
1032 | } | |
1033 | game.Debris:AddItem(EffectPart, (Time)) | |
1034 | EffectPart.Parent = game:GetService("Workspace") | |
1035 | delay(0, function() | |
1036 | local Frames = (Time / Rate) | |
1037 | for Frame = 1, Frames do | |
1038 | wait(Rate) | |
1039 | local Percent = (Frame / Frames) | |
1040 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1041 | TextLabel.TextTransparency = Percent | |
1042 | end | |
1043 | if EffectPart and EffectPart.Parent then | |
1044 | EffectPart:Destroy() | |
1045 | end | |
1046 | end) | |
1047 | end | |
1048 | ||
1049 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1050 | for _, c in pairs(workspace:children()) do | |
1051 | local hum = c:findFirstChild("Humanoid") | |
1052 | if hum ~= nil then | |
1053 | local head = c:findFirstChild("Torso") | |
1054 | if head ~= nil then | |
1055 | local targ = head.Position - Part.Position | |
1056 | local mag = targ.magnitude | |
1057 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1058 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch) | |
1059 | end | |
1060 | end | |
1061 | end | |
1062 | end | |
1063 | end | |
1064 | ||
1065 | EffectModel = Create("Model"){ | |
1066 | Parent = Character, | |
1067 | Name = "EffectModel", | |
1068 | } | |
1069 | ||
1070 | Effects = { | |
1071 | Block = { | |
1072 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part) | |
1073 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1074 | prt.Anchored = true | |
1075 | prt.CFrame = cframe | |
1076 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1077 | game:GetService("Debris"):AddItem(prt, 10) | |
1078 | if Type == 1 or Type == nil then | |
1079 | table.insert(Effects, { | |
1080 | prt, | |
1081 | "Block1", | |
1082 | delay, | |
1083 | x3, | |
1084 | y3, | |
1085 | z3, | |
1086 | msh | |
1087 | }) | |
1088 | elseif Type == 2 then | |
1089 | table.insert(Effects, { | |
1090 | prt, | |
1091 | "Block2", | |
1092 | delay, | |
1093 | x3, | |
1094 | y3, | |
1095 | z3, | |
1096 | msh | |
1097 | }) | |
1098 | elseif Type == 3 then | |
1099 | table.insert(Effects, { | |
1100 | prt, | |
1101 | "Block3", | |
1102 | delay, | |
1103 | x3, | |
1104 | y3, | |
1105 | z3, | |
1106 | msh, | |
1107 | Part | |
1108 | }) | |
1109 | elseif Type == 4 then | |
1110 | table.insert(Effects, { | |
1111 | prt, | |
1112 | "Block2Fire", | |
1113 | delay, | |
1114 | x3, | |
1115 | y3, | |
1116 | z3, | |
1117 | msh | |
1118 | }) | |
1119 | end | |
1120 | end | |
1121 | }; | |
1122 | ||
1123 | Sphere = { | |
1124 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent) | |
1125 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1126 | prt.Anchored = true | |
1127 | prt.CFrame = cframe | |
1128 | if parent == nil then | |
1129 | prt.Parent = workspace | |
1130 | else | |
1131 | prt.Parent = parent | |
1132 | end | |
1133 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1134 | game:GetService("Debris"):AddItem(prt, 10) | |
1135 | table.insert(Effects, { | |
1136 | prt, | |
1137 | "Cylinder", | |
1138 | delay, | |
1139 | x3, | |
1140 | y3, | |
1141 | z3, | |
1142 | msh | |
1143 | }) | |
1144 | end | |
1145 | }; | |
1146 | ||
1147 | Blood = { | |
1148 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1149 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1150 | prt.Anchored = true | |
1151 | prt.CFrame = cframe | |
1152 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1153 | game:GetService("Debris"):AddItem(prt, 10) | |
1154 | table.insert(Effects, { | |
1155 | prt, | |
1156 | "Blood", | |
1157 | delay, | |
1158 | x3, | |
1159 | y3, | |
1160 | z3, | |
1161 | msh | |
1162 | }) | |
1163 | end | |
1164 | }; | |
1165 | ||
1166 | Blast = { | |
1167 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part) | |
1168 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1169 | prt.Anchored = true | |
1170 | prt.CFrame = cframe | |
1171 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1172 | game:GetService("Debris"):AddItem(prt, 10) | |
1173 | table.insert(Effects, { | |
1174 | prt, | |
1175 | "Block4", | |
1176 | delay, | |
1177 | x3, | |
1178 | y3, | |
1179 | z3, | |
1180 | msh, | |
1181 | Part | |
1182 | }) | |
1183 | end | |
1184 | }; | |
1185 | ||
1186 | Ring = { | |
1187 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1188 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1189 | prt.Anchored = true | |
1190 | prt.CFrame = cframe | |
1191 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1192 | game:GetService("Debris"):AddItem(prt, 10) | |
1193 | table.insert(Effects, { | |
1194 | prt, | |
1195 | "Cylinder", | |
1196 | delay, | |
1197 | x3, | |
1198 | y3, | |
1199 | z3, | |
1200 | msh | |
1201 | }) | |
1202 | end | |
1203 | }; | |
1204 | ||
1205 | Cylinder = { | |
1206 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1207 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1208 | prt.Anchored = true | |
1209 | prt.CFrame = cframe | |
1210 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1211 | game:GetService("Debris"):AddItem(prt, 10) | |
1212 | table.insert(Effects, { | |
1213 | prt, | |
1214 | "Cylinder", | |
1215 | delay, | |
1216 | x3, | |
1217 | y3, | |
1218 | z3, | |
1219 | msh | |
1220 | }) | |
1221 | end | |
1222 | }; | |
1223 | ||
1224 | Head = { | |
1225 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1226 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1227 | prt.Anchored = true | |
1228 | prt.CFrame = cframe | |
1229 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1230 | game:GetService("Debris"):AddItem(prt, 10) | |
1231 | table.insert(Effects, { | |
1232 | prt, | |
1233 | "Cylinder", | |
1234 | delay, | |
1235 | x3, | |
1236 | y3, | |
1237 | z3, | |
1238 | msh | |
1239 | }) | |
1240 | end | |
1241 | }; | |
1242 | ||
1243 | Wave = { | |
1244 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1245 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1246 | prt.Anchored = true | |
1247 | prt.CFrame = cframe | |
1248 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1249 | game:GetService("Debris"):AddItem(prt, 10) | |
1250 | table.insert(Effects, { | |
1251 | prt, | |
1252 | "Cylinder", | |
1253 | delay, | |
1254 | x3, | |
1255 | y3, | |
1256 | z3, | |
1257 | msh | |
1258 | }) | |
1259 | end | |
1260 | }; | |
1261 | ||
1262 | Break = { | |
1263 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1264 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1265 | prt.Anchored = true | |
1266 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1267 | game:GetService("Debris"):AddItem(prt, 10) | |
1268 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1269 | local num = math.random(10, 50) / 1000 | |
1270 | table.insert(Effects, { | |
1271 | prt, | |
1272 | "Shatter", | |
1273 | num, | |
1274 | prt.CFrame, | |
1275 | math.random() - math.random(), | |
1276 | 0, | |
1277 | math.random(50, 100) / 100 | |
1278 | }) | |
1279 | end | |
1280 | }; | |
1281 | ||
1282 | Elec = { | |
1283 | Create = function(brickcolor, cff, x, y, z) | |
1284 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1)) | |
1285 | prt.Anchored = true | |
1286 | prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100) | |
1287 | prt.CFrame = CFrame.new(prt.Position) | |
1288 | game:GetService("Debris"):AddItem(prt, 10) | |
1289 | xval = math.random() / 9 | |
1290 | yval = math.random() / 9 | |
1291 | zval = math.random() / 9 | |
1292 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1293 | eul1 = math.random(-50, 50) | |
1294 | eul2 = math.random(-50, 50) | |
1295 | eul3 = math.random(-50, 50) | |
1296 | euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
1297 | euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
1298 | table.insert(Effects, { | |
1299 | prt, | |
1300 | "Elec", | |
1301 | .05, | |
1302 | x, | |
1303 | y, | |
1304 | z, | |
1305 | xval, | |
1306 | yval, | |
1307 | zval, | |
1308 | msh, | |
1309 | euld, | |
1310 | euld2 | |
1311 | }) | |
1312 | end | |
1313 | }; | |
1314 | ||
1315 | Elec2 = { | |
1316 | Create = function(brickcolor, cff, x, y, z) | |
1317 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1)) | |
1318 | prt.Anchored = true | |
1319 | prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100) | |
1320 | prt.CFrame = CFrame.new(prt.Position) | |
1321 | game:GetService("Debris"):AddItem(prt, 10) | |
1322 | xval = math.random() / 7 | |
1323 | yval = math.random() / 7 | |
1324 | zval = math.random() / 7 | |
1325 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1326 | eul1 = math.random(-50, 50) | |
1327 | eul2 = math.random(-50, 50) | |
1328 | eul3 = math.random(-50, 50) | |
1329 | euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
1330 | euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
1331 | table.insert(Effects, { | |
1332 | prt, | |
1333 | "Elec", | |
1334 | .1, | |
1335 | x, | |
1336 | y, | |
1337 | z, | |
1338 | xval, | |
1339 | yval, | |
1340 | zval, | |
1341 | msh, | |
1342 | euld, | |
1343 | euld2 | |
1344 | }) | |
1345 | end | |
1346 | }; | |
1347 | ||
1348 | Clone = { | |
1349 | Create = function() | |
1350 | for _, v in pairs(Torso.Parent:children()) do | |
1351 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
1352 | local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size) | |
1353 | c.Anchored = true | |
1354 | c.CFrame = v.CFrame | |
1355 | game:GetService("Debris"):AddItem(c, 5) | |
1356 | local cmsh = nil | |
1357 | if v.Name == "Head" then | |
1358 | cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale) | |
1359 | else | |
1360 | cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1361 | end | |
1362 | table.insert(Effects, { | |
1363 | c, | |
1364 | "Cylinder", | |
1365 | 0.05, | |
1366 | 0.1, | |
1367 | 0.1, | |
1368 | 0.1, | |
1369 | cmsh | |
1370 | }) | |
1371 | end | |
1372 | end | |
1373 | end | |
1374 | }; | |
1375 | ||
1376 | EffectTemplate = { | |
1377 | ||
1378 | }; | |
1379 | } | |
1380 | ||
1381 | ||
1382 | Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1383 | ||
1384 | prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", reflect, 0, brickcolor, "Effect", Vector3.new(.1, 0.5, 0.1)) | |
1385 | prt.Anchored = true | |
1386 | prt.CFrame = cframe | |
1387 | prt.Material = "Neon" | |
1388 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1389 | game:GetService("Debris"):AddItem(prt, 1) | |
1390 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1391 | ||
1392 | for i = 0, 1, delay do | |
1393 | swait() | |
1394 | Part.Transparency = i | |
1395 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1396 | end | |
1397 | Part.Parent = nil | |
1398 | end | |
1399 | ), prt, msh) | |
1400 | end | |
1401 | ||
1402 | wshoot = function(mouse, aoe , partt, SpreadAmount, multiply) | |
1403 | ||
1404 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1405 | local MainPos = partt.Position | |
1406 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
1407 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1408 | local speed = 1000 | |
1409 | local num = .5 | |
1410 | coroutine.resume(coroutine.create(function() | |
1411 | ||
1412 | repeat | |
1413 | swait() | |
1414 | local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1415 | local mag = (MainPos - pos).magnitude | |
1416 | Laser(BrickColor.new("Gold"), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), .2, .2, 0, .2, 0.1) | |
1417 | MainPos = MainPos + MouseLook.lookVector * speed | |
1418 | num = num - 1 | |
1419 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
1420 | if hit ~= nil then | |
1421 | if hit.Name == "Torso" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" then | |
1422 | num = 0 | |
1423 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1424 | refpart.Anchored = true | |
1425 | refpart.CFrame = CFrame.new(pos) | |
1426 | local hitsound = math.random(1,3) | |
1427 | if hitsound == 1 then | |
1428 | CFuncs.Sound.Create("898398743", refpart, .5, 1) | |
1429 | elseif hitsound == 2 then | |
1430 | CFuncs.Sound.Create("898398730", refpart, .5, 1) | |
1431 | elseif hitsound == 3 then | |
1432 | CFuncs.Sound.Create("898398706", refpart, .5, 1) | |
1433 | end | |
1434 | local smonk = Instance.new("ParticleEmitter",refpart) | |
1435 | smonk.LightEmission = .1 | |
1436 | smonk.Size = NumberSequence.new(0.2) | |
1437 | smonk.Texture = "http://www.roblox.com/asset/?ID=256293532" | |
1438 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)}) | |
1439 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1440 | smonk.Transparency = bbb | |
1441 | smonk.Size = aaa | |
1442 | smonk.ZOffset = 0 | |
1443 | smonk.Acceleration = Vector3.new(0, -5, 0) | |
1444 | smonk.LockedToPart = false | |
1445 | smonk.EmissionDirection = "Back" | |
1446 | smonk.Lifetime = NumberRange.new(.1, .5) | |
1447 | smonk.Rate = 50 | |
1448 | smonk.Rotation = NumberRange.new(-100, 100) | |
1449 | smonk.RotSpeed = NumberRange.new(-100, 100) | |
1450 | smonk.Speed = NumberRange.new(4) | |
1451 | smonk.VelocitySpread = 50 | |
1452 | smonk.Enabled=true | |
1453 | game:GetService("Debris"):AddItem(smonk, .3) | |
1454 | elseif hit.Name == "Head" then | |
1455 | num = 0 | |
1456 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1457 | refpart.Anchored = true | |
1458 | refpart.CFrame = CFrame.new(pos) | |
1459 | game:GetService("Debris"):AddItem(refpart, 2) | |
1460 | local smonk = Instance.new("ParticleEmitter",refpart) | |
1461 | smonk.LightEmission = .1 | |
1462 | smonk.Size = NumberSequence.new(0.2) | |
1463 | smonk.Texture = "http://www.roblox.com/asset/?ID=256293532" | |
1464 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.5)}) | |
1465 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1466 | smonk.Transparency = bbb | |
1467 | smonk.Size = aaa | |
1468 | smonk.ZOffset = 0 | |
1469 | smonk.Acceleration = Vector3.new(0, -5, 0) | |
1470 | smonk.LockedToPart = false | |
1471 | smonk.EmissionDirection = "Back" | |
1472 | smonk.Lifetime = NumberRange.new(.1, .5) | |
1473 | smonk.Rate = 50 | |
1474 | smonk.Rotation = NumberRange.new(-100, 100) | |
1475 | smonk.RotSpeed = NumberRange.new(-100, 100) | |
1476 | smonk.Speed = NumberRange.new(4) | |
1477 | smonk.VelocitySpread = 100 | |
1478 | smonk.Enabled=true | |
1479 | game:GetService("Debris"):AddItem(smonk, .3) | |
1480 | else | |
1481 | num = 0 | |
1482 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1483 | refpart.Anchored = true | |
1484 | refpart.CFrame = CFrame.new(pos) | |
1485 | CFuncs.Sound.Create("342190504", prt, 1, 1) | |
1486 | game:GetService("Debris"):AddItem(refpart, 0) | |
1487 | end | |
1488 | end | |
1489 | do | |
1490 | if num <= 0 then | |
1491 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 1, 1, "Really black", "Effect", Vector3.new()) | |
1492 | refpart.Anchored = true | |
1493 | refpart.CFrame = CFrame.new(pos) | |
1494 | if hit ~= nil then | |
1495 | MagnitudeDamage(refpart, 5, 2, 2, .01, "Normal", " ", 1) | |
1496 | end | |
1497 | game:GetService("Debris"):AddItem(refpart, 1) | |
1498 | end | |
1499 | end | |
1500 | until num <= 0 | |
1501 | end | |
1502 | )) | |
1503 | end | |
1504 | ||
1505 | ||
1506 | ||
1507 | shoot = function(mouse, aoe , partt, SpreadAmount, multiply) | |
1508 | ||
1509 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1510 | local MainPos = partt.Position | |
1511 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
1512 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1513 | local speed = 1000 | |
1514 | local num = .5 | |
1515 | coroutine.resume(coroutine.create(function() | |
1516 | ||
1517 | repeat | |
1518 | swait() | |
1519 | local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1520 | local mag = (MainPos - pos).magnitude | |
1521 | Laser(BrickColor.new("Gold"), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), .2, .2, 0, .2, 0.1) | |
1522 | MainPos = MainPos + MouseLook.lookVector * speed | |
1523 | num = num - 1 | |
1524 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
1525 | if hit ~= nil then | |
1526 | if hit.Name == "Torso" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" then | |
1527 | num = 0 | |
1528 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1529 | refpart.Anchored = true | |
1530 | refpart.CFrame = CFrame.new(pos) | |
1531 | local hitsound = math.random(1,3) | |
1532 | if hitsound == 1 then | |
1533 | CFuncs.Sound.Create("898398743", refpart, .5, 1) | |
1534 | elseif hitsound == 2 then | |
1535 | CFuncs.Sound.Create("898398730", refpart, .5, 1) | |
1536 | elseif hitsound == 3 then | |
1537 | CFuncs.Sound.Create("898398706", refpart, .5, 1) | |
1538 | end | |
1539 | local smonk = Instance.new("ParticleEmitter",refpart) | |
1540 | smonk.LightEmission = .1 | |
1541 | smonk.Size = NumberSequence.new(0.2) | |
1542 | smonk.Texture = "http://www.roblox.com/asset/?ID=256293532" | |
1543 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)}) | |
1544 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1545 | smonk.Transparency = bbb | |
1546 | smonk.Size = aaa | |
1547 | smonk.ZOffset = 0 | |
1548 | smonk.Acceleration = Vector3.new(0, -5, 0) | |
1549 | smonk.LockedToPart = false | |
1550 | smonk.EmissionDirection = "Back" | |
1551 | smonk.Lifetime = NumberRange.new(.1, .5) | |
1552 | smonk.Rate = 50 | |
1553 | smonk.Rotation = NumberRange.new(-100, 100) | |
1554 | smonk.RotSpeed = NumberRange.new(-100, 100) | |
1555 | smonk.Speed = NumberRange.new(4) | |
1556 | smonk.VelocitySpread = 50 | |
1557 | smonk.Enabled=true | |
1558 | game:GetService("Debris"):AddItem(smonk, .3) | |
1559 | elseif hit.Name == "Head" then | |
1560 | num = 0 | |
1561 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1562 | refpart.Anchored = true | |
1563 | refpart.CFrame = CFrame.new(pos) | |
1564 | game:GetService("Debris"):AddItem(refpart, 2) | |
1565 | local smonk = Instance.new("ParticleEmitter",refpart) | |
1566 | smonk.LightEmission = .1 | |
1567 | smonk.Size = NumberSequence.new(0.2) | |
1568 | smonk.Texture = "http://www.roblox.com/asset/?ID=256293532" | |
1569 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.5)}) | |
1570 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1571 | smonk.Transparency = bbb | |
1572 | smonk.Size = aaa | |
1573 | smonk.ZOffset = 0 | |
1574 | smonk.Acceleration = Vector3.new(0, -5, 0) | |
1575 | smonk.LockedToPart = false | |
1576 | smonk.EmissionDirection = "Back" | |
1577 | smonk.Lifetime = NumberRange.new(.1, .5) | |
1578 | smonk.Rate = 50 | |
1579 | smonk.Rotation = NumberRange.new(-100, 100) | |
1580 | smonk.RotSpeed = NumberRange.new(-100, 100) | |
1581 | smonk.Speed = NumberRange.new(4) | |
1582 | smonk.VelocitySpread = 100 | |
1583 | smonk.Enabled=true | |
1584 | game:GetService("Debris"):AddItem(smonk, .3) | |
1585 | else | |
1586 | num = 0 | |
1587 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1588 | refpart.Anchored = true | |
1589 | refpart.CFrame = CFrame.new(pos) | |
1590 | CFuncs.Sound.Create("342190504", prt, 1, 1) | |
1591 | game:GetService("Debris"):AddItem(refpart, 0) | |
1592 | end | |
1593 | end | |
1594 | do | |
1595 | if num <= 0 then | |
1596 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 1, 1, "Really black", "Effect", Vector3.new()) | |
1597 | refpart.Anchored = true | |
1598 | refpart.CFrame = CFrame.new(pos) | |
1599 | if hit ~= nil then | |
1600 | MagnitudeDamage(refpart, 3, 2, 5, 0, "Normal", " ", 1) | |
1601 | end | |
1602 | game:GetService("Debris"):AddItem(refpart, 1) | |
1603 | end | |
1604 | end | |
1605 | until num <= 0 | |
1606 | end | |
1607 | )) | |
1608 | end | |
1609 | ||
1610 | ||
1611 | ||
1612 | ||
1613 | ||
1614 | function fire() | |
1615 | Attack = true | |
1616 | Humanoid.WalkSpeed = 8 | |
1617 | Humanoid.JumpPower = 0 | |
1618 | Humanoid.AutoRotate = false | |
1619 | local bodygyro = Instance.new("BodyGyro",RootPart) | |
1620 | bodygyro.MaxTorque = Vector3.new(50000,50000,50000) | |
1621 | bodygyro.P = 8000 | |
1622 | CFuncs.Sound.Create("873073703", Handle, 1, 1) | |
1623 | for i = 0, 1, 0.1 do | |
1624 | swait() | |
1625 | PlayAnimationFromTable({ | |
1626 | CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1627 | CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1628 | CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1629 | CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1630 | CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1631 | CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1632 | }, .3, false) | |
1633 | bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z)) | |
1634 | end | |
1635 | ||
1636 | AmmoCount = AmmoCount - AmmoUsage | |
1637 | for i = 0, 9, 1 do | |
1638 | shoot(Mouse, 3 , bulletmaker, .15 + (Torso.Position - Mouse.Hit.p).magnitude/math.random(17,20) , 0) | |
1639 | end | |
1640 | Torso.Velocity=RootPart.CFrame.lookVector*-20 | |
1641 | Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletmaker.CFrame, .5, .5, .5, .5, .5, .5, .1, 1) | |
1642 | CFuncs.Sound.Create("1132379030", Handle, 1, 1) | |
1643 | bodygyro:Destroy() | |
1644 | for i = 0, 1, 0.1 do | |
1645 | swait() | |
1646 | PlayAnimationFromTable({ | |
1647 | CFrame.new(0.588929892, -1.11013651e-06, -0.0153462738, 0.466293842, -0.234925136, 0.85287708, 0.171010062, 0.969846427, 0.17364794, -0.867954016, 0.0648796037, 0.492407978) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1648 | CFrame.new(0.160780251, 1.50000441, 0.0393266231, 0.488946259, -0.0697783977, -0.869518578, -0.125678584, 0.980760813, -0.149376884, 0.863213003, 0.182317138, 0.470769644) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1649 | CFrame.new(1.67061281, 0.704267323, -0.691583157, 0.423231184, -0.709484339, -0.563477933, -0.879032731, -0.472217411, -0.065669328, -0.219492719, 0.52310884, -0.823517084) * CFrame.new(-.2, 0, 0) * CFrame.Angles(0, 0, 0), | |
1650 | CFrame.new(-0.0540117994, 0.73741293, -0.982708097, 0.0631480217, -0.978079677, 0.198425397, -0.319141895, -0.208172753, -0.924560905, 0.945600986, -0.00494170189, -0.325291872) * CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0), | |
1651 | CFrame.new(0.378202379, -1.77786493, -0.298971295, 0.837791204, 0.33804059, -0.428759336, -0.235888705, 0.932314754, 0.274127543, 0.492404819, -0.128522187, 0.860825062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1652 | CFrame.new(-0.773099661, -1.83571112, -0.503498793, 0.964610457, 0.171010062, -0.200704694, -0.200705469, 0.969846427, -0.138258308, 0.171009183, 0.17364794, 0.969846606) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1653 | }, .3, false) | |
1654 | end | |
1655 | Humanoid.AutoRotate = true | |
1656 | CFuncs.Sound.Create("131072992", Handle, 1, 1) | |
1657 | for i = 0, 1, 0.1 do | |
1658 | swait() | |
1659 | PlayAnimationFromTable({ | |
1660 | CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1661 | CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1662 | CFrame.new(1.51687121, 0.252128333, -0.305914342, -0.106392592, -0.288472205, -0.951559067, -0.959828019, 0.279683411, 0.0225289911, 0.259636283, 0.915729821, -0.306639969) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1663 | CFrame.new(-0.342295825, 0.26239565, -1.10844982, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1664 | CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1665 | CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1666 | }, .3, false) | |
1667 | end | |
1668 | local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Bright red", "Effect", Vector3.new(.5,.8,.5)) | |
1669 | local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3)) | |
1670 | shell.Anchored = false | |
1671 | shell.Position = Shellmaker.Position | |
1672 | shell.CanCollide = true | |
1673 | shell.Velocity=RootPart.CFrame.rightVector*20 | |
1674 | game:GetService("Debris"):AddItem(shell, 3) | |
1675 | local shellsound = math.random(1,2) | |
1676 | if shellsound == 1 then | |
1677 | CFuncs.Sound.Create("1132378823", shell, .5, 1) | |
1678 | elseif shellsound == 2 then | |
1679 | CFuncs.Sound.Create("1132378791", shell, .5, 1) | |
1680 | end | |
1681 | for i = 0, 1, 0.1 do | |
1682 | swait() | |
1683 | PlayAnimationFromTable({ | |
1684 | CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1685 | CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1686 | CFrame.new(1.64014888, 0.224238992, -0.403565288, 0.0212229788, -0.603865683, -0.796803713, -0.989261985, 0.102589145, -0.104097351, 0.144604191, 0.790456831, -0.595203996) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1687 | CFrame.new(-0.522896647, 0.315473199, -1.06896186, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1688 | CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1689 | CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1690 | }, .3, false) | |
1691 | end | |
1692 | for i = 0, .2, 0.1 do | |
1693 | swait() | |
1694 | PlayAnimationFromTable({ | |
1695 | CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), | |
1696 | CFrame.new(-0.00987245888, 1.54137087, -0.232474566, 0.983905733, 0.0593912564, -0.168529823, 0.000888057693, 0.941511214, 0.336980611, 0.17868638, -0.331706822, 0.926305413) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine/25), 0, 0), | |
1697 | CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1698 | CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1699 | CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1700 | CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1701 | }, .3, false) | |
1702 | end | |
1703 | Humanoid.WalkSpeed = 16 | |
1704 | Humanoid.JumpPower = 60 | |
1705 | Attack = false | |
1706 | end | |
1707 | ||
1708 | ||
1709 | function dryfire() | |
1710 | Attack = true | |
1711 | Humanoid.WalkSpeed = 8 | |
1712 | Humanoid.JumpPower = 0 | |
1713 | Humanoid.AutoRotate = false | |
1714 | local bodygyro = Instance.new("BodyGyro",RootPart) | |
1715 | bodygyro.MaxTorque = Vector3.new(50000,50000,50000) | |
1716 | bodygyro.P = 8000 | |
1717 | CFuncs.Sound.Create("873073703", Handle, 1, 1) | |
1718 | for i = 0, 1, 0.1 do | |
1719 | swait() | |
1720 | PlayAnimationFromTable({ | |
1721 | CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1722 | CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1723 | CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1724 | CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1725 | CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1726 | CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1727 | }, .3, false) | |
1728 | bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z)) | |
1729 | end | |
1730 | CFuncs.Sound.Create("132464034", Handle, 1, 1) | |
1731 | for i = 0, .5, 0.1 do | |
1732 | swait() | |
1733 | PlayAnimationFromTable({ | |
1734 | CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1735 | CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1736 | CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1737 | CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1738 | CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1739 | CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1740 | }, .3, false) | |
1741 | bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z)) | |
1742 | end | |
1743 | bodygyro:Destroy() | |
1744 | Humanoid.AutoRotate = true | |
1745 | Humanoid.WalkSpeed = 16 | |
1746 | Humanoid.JumpPower = 60 | |
1747 | Attack = false | |
1748 | end | |
1749 | ||
1750 | ||
1751 | ||
1752 | ||
1753 | ||
1754 | ||
1755 | ||
1756 | function relode() | |
1757 | Attack = true | |
1758 | relodee = true | |
1759 | Humanoid.WalkSpeed = 5 | |
1760 | CFuncs.Sound.Create("1132378728", Handle, .5, 1) | |
1761 | for i = 0, 1, 0.1 do | |
1762 | swait() | |
1763 | PlayAnimationFromTable({ | |
1764 | CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), | |
1765 | CFrame.new(-0.100350231, 1.4967103, -0.061891377, 0.64132297, 0.208182856, -0.738488197, -0.0762534291, 0.975015342, 0.208640277, 0.763472557, -0.0774935335, 0.641174316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1766 | CFrame.new(1.07593381, -0.046435535, 0.399106979, -0.603867352, -0.0212483108, -0.796801686, 0.102590129, 0.989258587, -0.104129925, 0.790455341, -0.144624621, -0.595201015) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1767 | CFrame.new(-0.52289784, 0.315474898, -1.0689652, 0.117606997, -0.938983917, -0.323230416, -0.303329468, 0.275966793, -0.912049174, 0.945600212, 0.205308646, -0.252365857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1768 | CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1769 | CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1770 | }, .3, false) | |
1771 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(5), math.rad(90)), 0.3) | |
1772 | end | |
1773 | for i = 0, 1, 0.1 do | |
1774 | swait() | |
1775 | PlayAnimationFromTable({ | |
1776 | CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), | |
1777 | CFrame.new(-0.100350231, 1.4967103, -0.061891377, 0.64132297, 0.208182856, -0.738488197, -0.0762534291, 0.975015342, 0.208640277, 0.763472557, -0.0774935335, 0.641174316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1778 | CFrame.new(1.28816545, 0.371927321, -0.785959482, 0.833941579, -0.0145216882, -0.551661849, -0.529568017, -0.302267253, -0.79258585, -0.155239552, 0.953112662, -0.25976342) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1779 | CFrame.new(-0.522895455, 0.31547451, -1.06896842, -0.0472328961, -0.986910462, -0.154198274, -0.250799775, 0.161142588, -0.954532683, 0.966886103, -0.0064124465, -0.255128086) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1780 | CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1781 | CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1782 | }, .3, false) | |
1783 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(5), math.rad(90)), 0.3) | |
1784 | end | |
1785 | AmmoCount = AmmoCount + AmmoUsage | |
1786 | print(AmmoCount) | |
1787 | CFuncs.Sound.Create("1001714844", Handle, 1, 1) | |
1788 | Humanoid.WalkSpeed = 16 | |
1789 | Humanoid.JumpPower = 60 | |
1790 | Attack = false | |
1791 | end | |
1792 | ||
1793 | ||
1794 | function hop() | |
1795 | Attack = true | |
1796 | CFuncs.Sound.Create("158149887", Torso, 1, 1) | |
1797 | Humanoid.Jump = true | |
1798 | Humanoid.JumpPower = 60 | |
1799 | for i = 0, .5, 0.1 do | |
1800 | swait() | |
1801 | PlayAnimationFromTable({ | |
1802 | CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1803 | CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1804 | CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1805 | CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1806 | CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1807 | CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1808 | }, .3, false) | |
1809 | end | |
1810 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
1811 | for i = 0, .9, 0.1 do | |
1812 | swait() | |
1813 | PlayAnimationFromTable({ | |
1814 | CFrame.new(0.708232701, 0.127894983, 0.246774122, 0.76604414, -0.111618884, 0.633022666, 0, 0.984807849, 0.173648044, -0.642788053, -0.13302207, 0.754406214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1815 | CFrame.new(0.0324593484, 1.43977821, -0.119624585, 0.995960355, -0.0868238062, -0.0229113102, 0.0894833133, 0.938373625, 0.333838284, -0.00748568773, -0.334539831, 0.942351937) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1816 | CFrame.new(1.69410944, 0.329396009, -0.667013586, 0.977326989, -0.133022755, 0.164733544, 0.196574897, 0.280932605, -0.939380229, 0.0786799788, 0.95046401, 0.30071193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1817 | CFrame.new(-1.50714529, 0.0157378055, -0.431941032, 0.884520769, 0.235685706, -0.402585804, -0.362369925, 0.890611291, -0.274772465, 0.29378742, 0.388926923, 0.873169541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1818 | CFrame.new(0.618915975, -1.85825384, -0.515439391, 0.98480773, 0.173648864, -1.81794167e-06, -0.17101045, 0.969846725, 0.173646331, 0.0301553011, -0.171007901, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1819 | CFrame.new(-0.523646474, -1.39458823, -0.171092927, 0.939692676, 0.342020273, 3.57627869e-07, -0.262003183, 0.719847083, 0.642786682, 0.219845772, -0.604022026, 0.766045213) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1820 | }, .3, false) | |
1821 | end | |
1822 | Torso.Velocity=RootPart.CFrame.upVector*0 | |
1823 | Humanoid.WalkSpeed = 16 | |
1824 | Humanoid.JumpPower = 60 | |
1825 | Attack = false | |
1826 | end | |
1827 | ||
1828 | ||
1829 | ||
1830 | function pump() | |
1831 | Attack = true | |
1832 | Humanoid.WalkSpeed = 8 | |
1833 | CFuncs.Sound.Create("131072992", Handle, 1, 1) | |
1834 | for i = 0, 1, 0.1 do | |
1835 | swait() | |
1836 | PlayAnimationFromTable({ | |
1837 | CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1838 | CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1839 | CFrame.new(1.51687121, 0.252128333, -0.305914342, -0.106392592, -0.288472205, -0.951559067, -0.959828019, 0.279683411, 0.0225289911, 0.259636283, 0.915729821, -0.306639969) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1840 | CFrame.new(-0.342295825, 0.26239565, -1.10844982, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1841 | CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1842 | CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1843 | }, .3, false) | |
1844 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-5), math.rad(90)), 0.3) | |
1845 | end | |
1846 | for i = 0, 1, 0.1 do | |
1847 | swait() | |
1848 | PlayAnimationFromTable({ | |
1849 | CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1850 | CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1851 | CFrame.new(1.64014888, 0.224238992, -0.403565288, 0.0212229788, -0.603865683, -0.796803713, -0.989261985, 0.102589145, -0.104097351, 0.144604191, 0.790456831, -0.595203996) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1852 | CFrame.new(-0.522896647, 0.315473199, -1.06896186, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1853 | CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1854 | CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1855 | }, .3, false) | |
1856 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-5), math.rad(90)), 0.3) | |
1857 | end | |
1858 | Humanoid.WalkSpeed = 16 | |
1859 | Humanoid.JumpPower = 60 | |
1860 | Attack = false | |
1861 | end | |
1862 | ||
1863 | ||
1864 | function patchedup() | |
1865 | Attack = true | |
1866 | Humanoid.WalkSpeed = 0 | |
1867 | Humanoid.JumpPower = 0 | |
1868 | for i = 0, .5, 0.1 do | |
1869 | swait() | |
1870 | PlayAnimationFromTable({ | |
1871 | CFrame.new(0.0266105551, -0.00228797412, -0.00301300199, 0.984924495, 0.00856173038, 0.172772706, -0.0739319623, 0.923793733, 0.375685036, -0.156389832, -0.382794857, 0.91050005) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1872 | CFrame.new(0.0833636597, 1.5589056, -0.0514357612, 0.983785033, 0.098459132, -0.149909437, -0.0804414302, 0.989283204, 0.121852726, 0.160300359, -0.107818037, 0.98116219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1873 | CFrame.new(1.75938904, 0.357653558, -0.556756616, 0.863215625, -0.470763803, -0.182319537, -0.20867531, -0.00388178229, -0.977977395, 0.459688604, 0.882250845, -0.101587564) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1874 | CFrame.new(-1.14530098, -0.0176402628, -0.497072637, 0.927982748, -0.326782674, -0.179056004, 0.238273218, 0.889843524, -0.389107317, 0.286485285, 0.318420619, 0.903622985) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1875 | CFrame.new(0.600150764, -1.42493248, -0.842450619, 0.983785033, 0.0984595343, -0.149909154, -0.0804414302, 0.989282846, 0.121855408, 0.160300359, -0.10782069, 0.981161833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1876 | CFrame.new(-0.608668685, -1.83582413, -0.778081357, 0.983785033, 0.0412500128, -0.174543589, -0.0804414302, 0.971299112, -0.22384648, 0.160300359, 0.234257326, 0.958867729) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1877 | }, .3, false) | |
1878 | end | |
1879 | ||
1880 | local heals2 = Instance.new("ParticleEmitter",LeftArm) | |
1881 | heals2.Size = NumberSequence.new(.5,0) | |
1882 | heals2.Texture = "rbxassetid://242856226" | |
1883 | heals2.ZOffset = 0 | |
1884 | heals2.Acceleration = Vector3.new(0, -5, 0) | |
1885 | heals2.Lifetime = NumberRange.new(1) | |
1886 | heals2.Rate = 5 | |
1887 | heals2.Rotation = NumberRange.new(0, 0) | |
1888 | heals2.RotSpeed = NumberRange.new(0, 0) | |
1889 | heals2.Speed = NumberRange.new(2) | |
1890 | heals2.VelocitySpread = 10 | |
1891 | heals2.Enabled=true | |
1892 | heals2.EmissionDirection = "Front" | |
1893 | local particol1 = Color3.new(0,1,0) | |
1894 | local particol2 = Color3.new(1,1,1) | |
1895 | heals2.Color = ColorSequence.new(particol1,particol2) | |
1896 | game:GetService("Debris"):AddItem(heals2, 3.5) | |
1897 | CFuncs.Sound.Create("1489909826", LeftArm, 1, .9) | |
1898 | for i = 0, 4, 1 do | |
1899 | for i = 0, .5, 0.1 do | |
1900 | swait() | |
1901 | PlayAnimationFromTable({ | |
1902 | CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), | |
1903 | CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), | |
1904 | CFrame.new(0.587695718, 0.719740391, -0.886763453, -0.226821065, 0.740158081, -0.633023083, -0.919379234, -0.377204776, -0.111617722, -0.321394086, 0.556670964, 0.766043901) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1905 | CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1906 | CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1907 | CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1908 | }, .3, false) | |
1909 | end | |
1910 | for i = 0, .5, 0.1 do | |
1911 | swait() | |
1912 | PlayAnimationFromTable({ | |
1913 | CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0 + 0.005 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1914 | CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), | |
1915 | CFrame.new(0.579867244, 0.441816211, -1.01476061, 0.218706101, 0.498854131, -0.838637173, -0.975016475, 0.0774877518, -0.208179355, -0.0388670191, 0.863215089, 0.503337979) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1916 | CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1917 | CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1918 | CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1919 | }, .3, false) | |
1920 | end | |
1921 | for i = 0, .5, 0.1 do | |
1922 | swait() | |
1923 | PlayAnimationFromTable({ | |
1924 | CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0 + 0.005 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1925 | CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), | |
1926 | CFrame.new(0.684166193, 0.417331696, -0.85110873, 0.302008986, 0.453297824, -0.838636816, -0.946748018, 0.245620534, -0.208179712, 0.111619003, 0.856849909, 0.503338397) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1927 | CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1928 | CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1929 | CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1930 | }, .3, false) | |
1931 | end | |
1932 | for i = 0, .5, 0.1 do | |
1933 | swait() | |
1934 | PlayAnimationFromTable({ | |
1935 | CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0 + 0.005 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
1936 | CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), | |
1937 | CFrame.new(0.889964521, 0.489984095, -0.478169471, 0.218706101, 0.498854131, -0.838637173, -0.975016475, 0.0774877518, -0.208179355, -0.0388670191, 0.863215089, 0.503337979) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1938 | CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
1939 | CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1940 | CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1941 | }, .3, false) | |
1942 | end | |
1943 | end | |
1944 | Attack = false | |
1945 | Humanoid.WalkSpeed = 16 | |
1946 | Humanoid.JumpPower = 60 | |
1947 | for i = 0, 9, 1 do | |
1948 | if Humanoid.Health < 100 then | |
1949 | Humanoid.Health = Humanoid.Health + 2 | |
1950 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Torso.Size.Z / 4)).p + Vector3.new(0, 2, 0)), "+2", 1, BrickColor.new("Lime green").Color) | |
1951 | CFuncs.Sound.Create("588737722", Torso, .5, 1) | |
1952 | wait(1) | |
1953 | end | |
1954 | end | |
1955 | end | |
1956 | ||
1957 | ||
1958 | function fireatwill() | |
1959 | Attack = true | |
1960 | Humanoid.WalkSpeed = 8 | |
1961 | Humanoid.AutoRotate = false | |
1962 | local bodygyro = Instance.new("BodyGyro",RootPart) | |
1963 | bodygyro.MaxTorque = Vector3.new(50000,50000,50000) | |
1964 | bodygyro.P = 8000 | |
1965 | ||
1966 | for i = 0, 6, 1 do | |
1967 | if AmmoCount <= 0 then | |
1968 | break | |
1969 | end | |
1970 | Torso.Velocity=RootPart.CFrame.lookVector*-5 | |
1971 | for i = 0, .5, 0.1 do | |
1972 | swait() | |
1973 | PlayAnimationFromTable({ | |
1974 | CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1975 | CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1976 | CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1977 | CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1978 | CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1979 | CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1980 | }, .3, false) | |
1981 | bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z)) | |
1982 | end | |
1983 | Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletmaker.CFrame, .5, .5, .5, .5, .5, .5, .1, 1) | |
1984 | CFuncs.Sound.Create("1132379030", Handle, 1, 1) | |
1985 | AmmoCount = AmmoCount - AmmoUsage | |
1986 | for i = 0, 9, 1 do | |
1987 | wshoot(Mouse, 3 , bulletmaker, .15 + (Torso.Position - Mouse.Hit.p).magnitude/15 , 0) | |
1988 | end | |
1989 | for i = 0, .5, 0.1 do | |
1990 | swait() | |
1991 | PlayAnimationFromTable({ | |
1992 | CFrame.new(0.588929892, -1.11013651e-06, -0.0153462738, 0.466293842, -0.234925136, 0.85287708, 0.171010062, 0.969846427, 0.17364794, -0.867954016, 0.0648796037, 0.492407978) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1993 | CFrame.new(0.160780251, 1.50000441, 0.0393266231, 0.488946259, -0.0697783977, -0.869518578, -0.125678584, 0.980760813, -0.149376884, 0.863213003, 0.182317138, 0.470769644) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1994 | CFrame.new(1.67061281, 0.704267323, -0.691583157, 0.423231184, -0.709484339, -0.563477933, -0.879032731, -0.472217411, -0.065669328, -0.219492719, 0.52310884, -0.823517084) * CFrame.new(-.2, 0, 0) * CFrame.Angles(0, 0, 0), | |
1995 | CFrame.new(-0.0540117994, 0.73741293, -0.982708097, 0.0631480217, -0.978079677, 0.198425397, -0.319141895, -0.208172753, -0.924560905, 0.945600986, -0.00494170189, -0.325291872) * CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0), | |
1996 | CFrame.new(0.378202379, -1.77786493, -0.298971295, 0.837791204, 0.33804059, -0.428759336, -0.235888705, 0.932314754, 0.274127543, 0.492404819, -0.128522187, 0.860825062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1997 | CFrame.new(-0.773099661, -1.83571112, -0.503498793, 0.964610457, 0.171010062, -0.200704694, -0.200705469, 0.969846427, -0.138258308, 0.171009183, 0.17364794, 0.969846606) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1998 | }, .3, false) | |
1999 | bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z)) | |
2000 | end | |
2001 | end | |
2002 | bodygyro:Destroy() | |
2003 | Humanoid.WalkSpeed = 16 | |
2004 | Humanoid.JumpPower = 60 | |
2005 | Humanoid.AutoRotate = true | |
2006 | Attack = false | |
2007 | ||
2008 | end | |
2009 | ||
2010 | function stanceintro() | |
2011 | Attack = true | |
2012 | Humanoid.WalkSpeed = 0 | |
2013 | swait() | |
2014 | PlayAnimationFromTable({ | |
2015 | CFrame.new(0.401558101, -0.0234151632, 0.119796708, 0.764670074, 0.00020499996, 0.644422114, 0.024826102, 0.999248326, -0.02977648, -0.643943787, 0.0387676619, 0.764090121) * CFrame.new(0,0 + .05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
2016 | CFrame.new(0.0190042555, 1.53773534, -0.193438619, 0.64132297, 0.076782994, -0.763419509, 0.0574810207, 0.987376094, 0.147595912, 0.765114963, -0.138538778, 0.628813386) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine/25), 0, 0), | |
2017 | CFrame.new(1.56287539, 0.196361139, -0.218576014, -0.0478557944, -0.26976496, -0.961736321, -0.464462936, 0.858424187, -0.217674509, 0.884298742, 0.436273903, -0.166376382) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2018 | CFrame.new(-0.354559392, 0.216858774, -0.992860973, -0.0544251502, -0.876319766, -0.478645861, -0.108326986, 0.481708944, -0.86961019, 0.992624402, 0.00452160835, -0.121146157) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2019 | CFrame.new(0.540573061, -1.95806193, 0.106789596, 0.93969214, 0, -0.342021883, 0, 1, 0, 0.342021853, 0, 0.93969208) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
2020 | CFrame.new(-0.461303771, -1.99999595, -0.0524673536, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
2021 | }, .3, false) | |
2022 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3) | |
2023 | Humanoid.WalkSpeed = 16 | |
2024 | Humanoid.JumpPower = 60 | |
2025 | Attack = false | |
2026 | end | |
2027 | ||
2028 | ||
2029 | function quickkick() | |
2030 | Attack = true | |
2031 | Humanoid.WalkSpeed = 0 | |
2032 | Humanoid.JumpPower = 20 | |
2033 | Humanoid.Jump = true | |
2034 | for i = 0, .3, 0.1 do | |
2035 | swait() | |
2036 | PlayAnimationFromTable({ | |
2037 | CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2038 | CFrame.new(0, 1.50351071, 0.0460739173, 1, 0, -0, 0, 1.00000012, 0, -0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2039 | CFrame.new(1.50000381, 0.0324970335, 0.425725073, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2040 | CFrame.new(-1.5, -0.159844279, 0.285122991, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2041 | CFrame.new(0.5, -1.15181708, -0.124861211, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2042 | CFrame.new(-0.5, -1.8810792, 0.500639379, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2043 | }, .3, false) | |
2044 | end | |
2045 | CFuncs.Sound.Create("200632136", Handle, 1, 1) | |
2046 | local con = RightLeg.Touched:connect(function(hit) | |
2047 | Damage(RightLeg, hit, 8, 12, 5, "Normal", RootPart, 0.2, "743521272", 1)end) | |
2048 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
2049 | for i = 0, 1, 0.1 do | |
2050 | swait() | |
2051 | PlayAnimationFromTable({ | |
2052 | CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2053 | CFrame.new(0, 1.56996083, -0.261622638, 1, 0, 0, 0, 0.939692736, 0.342019916, -0, -0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2054 | CFrame.new(1.50000381, 0.27931872, 0.728133559, 1, 0, 0, 0, 0.499999821, 0.866025627, -0, -0.866025567, 0.499999821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2055 | CFrame.new(-1.5, 0.34596175, 0.570588231, 1, 0, 0, 0, 0.499999821, 0.866025627, -0, -0.866025567, 0.499999821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2056 | CFrame.new(0.5, -1.39599705, -1.111431, 1, 0, -0, 0, 0.642786562, -0.766045451, -0, 0.766045451, 0.642786503) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2057 | CFrame.new(-0.5, -1.70923471, 0.977958977, 1, 0, 0, 0, 0.499999821, 0.866025627, -0, -0.866025567, 0.499999821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2058 | }, .3, false) | |
2059 | end | |
2060 | Torso.Velocity=RootPart.CFrame.lookVector*0 | |
2061 | con:Disconnect() | |
2062 | Humanoid.WalkSpeed = 16 | |
2063 | Humanoid.JumpPower = 60 | |
2064 | Attack = false | |
2065 | end | |
2066 | ||
2067 | function hedbap() | |
2068 | Attack = true | |
2069 | for i = 0, 1, 0.1 do | |
2070 | swait() | |
2071 | PlayAnimationFromTable({ | |
2072 | CFrame.new(-0, -0.115550078, 0.250714004, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2073 | CFrame.new(0, 1.51567197, 0.00248532044, 1, 0, -0, 0, 1, 2.98023224e-08, -0, 2.98023224e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2074 | CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2075 | CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2076 | CFrame.new(0.5, -1.48346758, 0.057243526, 1, 0, 0, 0, 0.766044796, 0.642787218, -0, -0.642787218, 0.766044855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2077 | CFrame.new(-0.499999523, -1.82032359, 0.395741045, 0.984807849, 0, 0.173647985, -0.0593910702, 0.939692736, 0.33682391, -0.163175747, -0.342019886, 0.925416768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2078 | }, .3, false) | |
2079 | end | |
2080 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
2081 | CFuncs.Sound.Create("200632136", Handle, 1, 1) | |
2082 | local con = Head.Touched:connect(function(hit) | |
2083 | Damage(RightLeg, hit, 15, 18, 3, "Knockdown", RootPart, 0.2, "1296132303", 1) Humanoid.Health = Humanoid.Health - 5 end) | |
2084 | for i = 0, 1, 0.1 do | |
2085 | swait() | |
2086 | PlayAnimationFromTable({ | |
2087 | CFrame.new(0, 0.0488227382, -0.156543747, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2088 | CFrame.new(0, 1.52236009, -0.201607227, 1, 0, 0, 0, 0.939692438, 0.34202075, 0, -0.34202075, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2089 | CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 - 0.1 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2090 | CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 - 0.1 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2091 | CFrame.new(0.5, -2.03161407, -0.00965765119, 1, 0, 0, 0, 0.98480773, 0.173648447, 0, -0.173648447, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2092 | CFrame.new(-0.5, -1.83802676, -0.920656502, 1, 0, 0, 0, 0.939692438, -0.342020959, 0, 0.342020929, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2093 | }, .3, false) | |
2094 | end | |
2095 | Attack = false | |
2096 | con:Disconnect() | |
2097 | end | |
2098 | ||
2099 | ||
2100 | function stockcrash() | |
2101 | Attack = true | |
2102 | Humanoid.WalkSpeed = 5 | |
2103 | Humanoid.JumpPower = 0 | |
2104 | CFuncs.Sound.Create("1073355392", Stockbox, 1, 1) | |
2105 | for i = 0, 1.5, 0.1 do | |
2106 | swait() | |
2107 | PlayAnimationFromTable({ | |
2108 | CFrame.new(0.0377655476, -0, -0.109542102, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2109 | CFrame.new(-4.17232513e-07, 1.49999011, -3.93390656e-06, 0.856849194, 0.197328225, -0.476309896, -0.163177073, 0.980159342, 0.112521209, 0.489063263, -0.0186908543, 0.87204814) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2110 | CFrame.new(1.75000632, 0.42197898, -0.563352466, 0.766044974, -0.64278698, -0, 0, 0, -1, 0.64278698, 0.766044974, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2111 | CFrame.new(-0.420839459, 0.476516426, -1.11699474, 0.418066114, -0.903488457, -0.09449514, -0.139175028, 0.0390909165, -0.989495933, 0.897692144, 0.42682609, -0.109400436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2112 | CFrame.new(0.637096405, -1.86514843, -0.291526765, 1, 0, 0, 0, 0.984807849, 0.173648059, 0, -0.173648059, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2113 | CFrame.new(-0.48112309, -1.99999511, 0.0593808591, 0.766043782, 0, 0.64278847, 0, 1, 0, -0.64278847, 0, 0.766043782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2114 | }, .3, false) | |
2115 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(3, .5, 1) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-100)), 0.3) | |
2116 | end | |
2117 | CFuncs.Sound.Create("1073356365", Stockbox, 1, 1) | |
2118 | local con = Stockbox.Touched:connect(function(hit) | |
2119 | Damage(Stockbox, hit, 18, 23, 5, "Knockdown", RootPart, 1, "146163534", 1) end) | |
2120 | for i = 0, .2, 0.1 do | |
2121 | swait() | |
2122 | PlayAnimationFromTable({ | |
2123 | CFrame.new(0.441541791, 2.43237423e-07, 0.00331187248, 0.336825132, -0.0593909472, 0.939692259, 0.173648059, 0.984807849, -3.82394944e-07, -0.92541635, 0.163175866, 0.342021108) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2124 | CFrame.new(-0.104509205, 1.59855092, -0.215072125, 0.890994191, 0.0636333674, -0.449533641, 0.0275982097, 0.980707407, 0.193524063, 0.453175396, -0.184835091, 0.872048259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2125 | CFrame.new(1.75627017, 0.431958854, -0.449601173, 0.754407525, -0.653558016, -0.0610871017, -0.13302204, -0.0610866398, -0.989228785, 0.642786741, 0.754407406, -0.133021802) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2126 | CFrame.new(-0.367935598, 0.648825228, -1.07648134, 0.387547314, -0.915556669, -0.107533015, -0.209657595, 0.0260535926, -0.977427781, 0.897691965, 0.401344508, -0.181856394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2127 | CFrame.new(0.358966112, -1.63310397, -0.651200593, 0.984807909, 0.17100957, 0.0301558673, -0.173648059, 0.969846368, 0.171010047, -2.23517418e-06, -0.173648521, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2128 | CFrame.new(-0.654243588, -1.85264969, 0.148285508, 0.754406095, -0.0533300862, 0.654238164, -0.133022279, 0.963592768, 0.231935903, -0.642788172, -0.262002051, 0.71984601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2129 | }, .3, false) | |
2130 | end | |
2131 | for i = 0, 1, 0.1 do | |
2132 | swait() | |
2133 | PlayAnimationFromTable({ | |
2134 | CFrame.new(0.278367251, 9.0772329e-07, 0.0731263831, 0.633022964, -0.111618958, 0.766043842, 0.173647985, 0.984807849, 5.96214491e-08, -0.754405856, 0.133021936, 0.64278841) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2135 | CFrame.new(-0.104512498, 1.59855139, -0.215077341, 0.727161527, 0.0636337325, 0.683510542, -0.172414482, 0.980707347, 0.0921231061, -0.664461732, -0.184835523, 0.724103987) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2136 | CFrame.new(0.400077015, 0.238431826, -1.01036751, 0.518464565, 0.840397179, 0.157882661, -0.035381794, 0.205562487, -0.978004277, -0.854366899, 0.50147438, 0.13631162) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2137 | CFrame.new(-1.62448943, 0.329740167, -0.818884015, 0.598198533, 0.795001924, 0.100649826, -0.176135838, 0.25297159, -0.95130527, -0.781751156, 0.551341355, 0.29135555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2138 | CFrame.new(0.302916914, -1.95092583, 0.295360684, 0.98480773, 0.171009585, 0.0301554501, -0.173648, 0.969846547, 0.1710096, -1.81794167e-06, -0.173648, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2139 | CFrame.new(-0.801789224, -1.60096383, -0.361114919, 0.974819183, 0.117734738, 0.189383537, -0.166570976, 0.949086845, 0.267373323, -0.148262233, -0.292186439, 0.944799304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2140 | }, .3, false) | |
2141 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(1, 1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-50)), 0.3) | |
2142 | end | |
2143 | Humanoid.WalkSpeed = 16 | |
2144 | Humanoid.JumpPower = 60 | |
2145 | con:Disconnect() | |
2146 | Attack = false | |
2147 | end | |
2148 | ||
2149 | ||
2150 | ||
2151 | ||
2152 | ||
2153 | ||
2154 | Mouse.KeyDown:connect(function(Key) | |
2155 | Key = Key:lower() | |
2156 | while Attack == false and UIS:IsKeyDown(Enum.KeyCode.R) and AmmoCount >= 0 and AmmoCount <= maxammo - 1 do | |
2157 | relode() | |
2158 | if Attack == false and AmmoCount == maxammo then | |
2159 | pump() | |
2160 | end | |
2161 | end | |
2162 | end) | |
2163 | ||
2164 | ||
2165 | Mouse.KeyDown:connect(function(Key) | |
2166 | Key = Key:lower() | |
2167 | while Attack == false and UIS:IsKeyDown(Enum.KeyCode.X) and cooldownX >=coX do | |
2168 | stanceintro() | |
2169 | textXZ.Text = "[X+Z]\n Quick Kick" | |
2170 | text2.Text = "[X]\n HOLD" | |
2171 | textXC.Text = "[X+C]\n Headbutt" | |
2172 | textXV.Text = "[X+V]\n Stock Swing" | |
2173 | ||
2174 | text1.Text = " " | |
2175 | text3.Text = " " | |
2176 | text4.Text = " " | |
2177 | frameskXZ.BackgroundTransparency = .5 | |
2178 | frameskXC.BackgroundTransparency = .5 | |
2179 | frameskXV.BackgroundTransparency = .5 | |
2180 | barXZ.BackgroundTransparency = 0 | |
2181 | barXC.BackgroundTransparency = 0 | |
2182 | barXV.BackgroundTransparency = 0 | |
2183 | ||
2184 | frameskZ.BackgroundTransparency = 1 | |
2185 | frameskC.BackgroundTransparency = 1 | |
2186 | frameskV.BackgroundTransparency = 1 | |
2187 | barZ.BackgroundTransparency = 1 | |
2188 | barC.BackgroundTransparency = 1 | |
2189 | barV.BackgroundTransparency = 1 | |
2190 | ||
2191 | ||
2192 | if UIS:IsKeyDown(Enum.KeyCode.X) and UIS:IsKeyDown(Enum.KeyCode.Z) and cooldownXZ >=coXZ then | |
2193 | quickkick() | |
2194 | cooldownXZ = 0 | |
2195 | elseif UIS:IsKeyDown(Enum.KeyCode.X) and UIS:IsKeyDown(Enum.KeyCode.C) and cooldownXC >=coXC then | |
2196 | hedbap() | |
2197 | cooldownXC = 0 | |
2198 | elseif UIS:IsKeyDown(Enum.KeyCode.X) and UIS:IsKeyDown(Enum.KeyCode.V) and cooldownXV >=coXV then | |
2199 | stockcrash() | |
2200 | cooldownXV = 0 | |
2201 | end | |
2202 | end | |
2203 | end) | |
2204 | ||
2205 | ||
2206 | ||
2207 | Mouse.KeyDown:connect(function(Key) | |
2208 | if Attack == false and Key == 'z' and cooldownZ >=coZ then | |
2209 | cooldownZ = 0 | |
2210 | hop() | |
2211 | elseif Attack == false and Key == 'c' and cooldownC >=coC and Humanoid.Health < 100 then | |
2212 | cooldownC = 0 | |
2213 | patchedup() | |
2214 | elseif Attack == false and Key == 'v' and cooldownV >=coV then | |
2215 | cooldownV = 0 | |
2216 | fireatwill() | |
2217 | ||
2218 | end | |
2219 | end) | |
2220 | ||
2221 | ||
2222 | Mouse.Button1Down:connect(function() | |
2223 | if Attack == false and AmmoCount > 0 then | |
2224 | fire() | |
2225 | elseif Attack == false and AmmoCount == 0 then | |
2226 | dryfire() | |
2227 | end | |
2228 | end) | |
2229 | ||
2230 | ||
2231 | function updateskills1() | |
2232 | if cooldownZ <= coZ then | |
2233 | cooldownZ = cooldownZ + 1 / 35 | |
2234 | end | |
2235 | if cooldownX <= coX then | |
2236 | cooldownX = cooldownX + 1 / 35 | |
2237 | end | |
2238 | if cooldownXZ <= coXZ then | |
2239 | cooldownXZ = cooldownXZ + 1 / 35 | |
2240 | end | |
2241 | if cooldownXC <= coXC then | |
2242 | cooldownXC = cooldownXC + 1 / 35 | |
2243 | end | |
2244 | if cooldownXV <= coXV then | |
2245 | cooldownXV = cooldownXV + 1 / 35 | |
2246 | end | |
2247 | if cooldownC <= coC then | |
2248 | cooldownC = cooldownC + 1 / 35 | |
2249 | end | |
2250 | if cooldownV <= coV then | |
2251 | cooldownV = cooldownV + 1 / 35 | |
2252 | end | |
2253 | end | |
2254 | ||
2255 | ||
2256 | while true do | |
2257 | swait() | |
2258 | for i, v in pairs(Character:GetChildren()) do | |
2259 | if v:IsA("Part") then | |
2260 | v.Material = "SmoothPlastic" | |
2261 | elseif v:IsA("Accessory") then | |
2262 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2263 | end | |
2264 | end | |
2265 | for i, v in pairs(Character:GetChildren()) do | |
2266 | if v:IsA'Model' then | |
2267 | for _, c in pairs(v:GetChildren()) do | |
2268 | if c:IsA'Part' then | |
2269 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
2270 | end | |
2271 | end | |
2272 | end | |
2273 | end | |
2274 | updateskills1() | |
2275 | barZ:TweenSize(UDim2.new(1 * (cooldownZ / coZ), 0, 1, 0), 'Out', 'Quad', .5) | |
2276 | barX:TweenSize(UDim2.new(1 * (cooldownX / coX), 0, 1, 0), 'Out', 'Quad', .5) | |
2277 | barXZ:TweenSize(UDim2.new(1 * (cooldownXZ / coXZ), 0, 1, 0), 'Out', 'Quad', .5) | |
2278 | barXC:TweenSize(UDim2.new(1 * (cooldownXC / coXC), 0, 1, 0), 'Out', 'Quad', .5) | |
2279 | barXV:TweenSize(UDim2.new(1 * (cooldownXV / coXV), 0, 1, 0), 'Out', 'Quad', .5) | |
2280 | barC:TweenSize(UDim2.new(1 * (cooldownC / coC), 0, 1, 0), 'Out', 'Quad', .5) | |
2281 | barV:TweenSize(UDim2.new(1 * (cooldownV / coV), 0, 1, 0), 'Out', 'Quad', .5) | |
2282 | ||
2283 | if AmmoCount ~= 0 then | |
2284 | relodetext.Text = '[ '..AmmoCount..' / '..maxammo..' ]' | |
2285 | elseif AmmoCount == 0 then | |
2286 | relodetext.Text = '[ Hold R to Reload. ]' | |
2287 | end | |
2288 | ||
2289 | ||
2290 | if UIS:IsKeyDown(Enum.KeyCode.X) == false then | |
2291 | text1.Text = "[Z]\n Reposition" | |
2292 | text2.Text = "[X]\n Battle Stance" | |
2293 | text3.Text = "[C]\n Mend" | |
2294 | text4.Text = "[V]\n Unload" | |
2295 | textXZ.Text = " " | |
2296 | textXC.Text = " " | |
2297 | textXV.Text = " " | |
2298 | frameskZ.BackgroundTransparency = .5 | |
2299 | frameskC.BackgroundTransparency = .5 | |
2300 | frameskV.BackgroundTransparency = .5 | |
2301 | barZ.BackgroundTransparency = 0 | |
2302 | barC.BackgroundTransparency = 0 | |
2303 | barV.BackgroundTransparency = 0 | |
2304 | ||
2305 | frameskXZ.BackgroundTransparency = 1 | |
2306 | frameskXC.BackgroundTransparency = 1 | |
2307 | frameskXV.BackgroundTransparency = 1 | |
2308 | barXZ.BackgroundTransparency = 1 | |
2309 | barXC.BackgroundTransparency = 1 | |
2310 | barXV.BackgroundTransparency = 1 | |
2311 | end | |
2312 | TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2313 | Velocity = RootPart.Velocity.y | |
2314 | Sine = Sine + Change | |
2315 | local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2316 | if RootPart.Velocity.y > 1 and hit == nil then | |
2317 | Anim = "Jump" | |
2318 | if Attack == false then | |
2319 | Change = 1 | |
2320 | PlayAnimationFromTable({ | |
2321 | CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2322 | CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2323 | CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2324 | CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2325 | CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2326 | CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2327 | }, .3, false) | |
2328 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3) | |
2329 | end | |
2330 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2331 | Anim = "Fall" | |
2332 | if Attack == false then | |
2333 | Change = 1 | |
2334 | PlayAnimationFromTable({ | |
2335 | CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2336 | CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2337 | CFrame.new(1.53209591, 0.16416876, 0.0263971146, 0.98480773, -0.173648164, -1.55591565e-07, 0.171010092, 0.969846427, 0.173648164, -0.0301535316, -0.171010077, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2338 | CFrame.new(-1.64498818, 0.287739754, -0.209731221, 0.86602509, 0.500000656, 7.92254752e-07, -0.433013529, 0.750000894, -0.499998152, -0.25, 0.433010578, 0.86602664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2339 | CFrame.new(0.5, -1.26449406, -1.10387921, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2340 | CFrame.new(-0.5, -1.24956489, -0.292783707, 1, 0, 0, 0, 0.642787695, 0.766044557, 0, -0.766044557, 0.642787695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2341 | }, .3, false) | |
2342 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3) | |
2343 | end | |
2344 | elseif TorsoVelocity < 1 and hit ~= nil then | |
2345 | Anim = "Idle" | |
2346 | if Attack == false then | |
2347 | Change = 1 | |
2348 | PlayAnimationFromTable({ | |
2349 | CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), | |
2350 | CFrame.new(-0.00987245888, 1.54137087, -0.232474566, 0.983905733, 0.0593912564, -0.168529823, 0.000888057693, 0.941511214, 0.336980611, 0.17868638, -0.331706822, 0.926305413) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine/25), 0, 0), | |
2351 | CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2352 | CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), | |
2353 | CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
2354 | CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), | |
2355 | }, .3, false) | |
2356 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3) | |
2357 | end | |
2358 | elseif TorsoVelocity > 2 and hit ~= nil then | |
2359 | Anim = "Walk" | |
2360 | if Attack == false then | |
2361 | PlayAnimationFromTable({ | |
2362 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.996187985, 0.0871556774, 0, -0.0871556699, 0.996194661) * CFrame.new(0, 0 + .05 * math.cos(Sine/25), 0) * CFrame.Angles(-.2 + 0.05 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/5), 0), | |
2363 | CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0, 0 + 0.05 * math.cos(Sine/30)) * CFrame.Angles(0 + 0.05 * math.cos(Sine/15), 0, 0), | |
2364 | CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2365 | CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2366 | CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, .21 - .1 * math.cos((Sine) / 2), -.1 + 1 * math.cos((Sine) / 4)) * CFrame.Angles(math.rad(1 - 50 * math.cos((Sine) / 4)), math.rad(0), math.rad(0 - .5 * math.cos((Sine) / 5))), | |
2367 | CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, .21 - .1 * math.cos((Sine) / 2), .1 - 1 * math.cos((Sine) / 4)) * CFrame.Angles(math.rad(-1 + 50 * math.cos((Sine) / 4)), math.rad(0), math.rad(0 + .5 * math.cos((Sine) / 5))), | |
2368 | }, .3, false) | |
2369 | fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3) | |
2370 | end | |
2371 | end | |
2372 | if #Effects > 0 then | |
2373 | for e = 1, #Effects do | |
2374 | if Effects[e] ~= nil then | |
2375 | local Thing = Effects[e] | |
2376 | if Thing ~= nil then | |
2377 | local Part = Thing[1] | |
2378 | local Mode = Thing[2] | |
2379 | local Delay = Thing[3] | |
2380 | local IncX = Thing[4] | |
2381 | local IncY = Thing[5] | |
2382 | if Thing[1].Transparency <= 1 then | |
2383 | if Thing[2] == "Block1" then | |
2384 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2385 | Mesh = Thing[7] | |
2386 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2387 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2388 | elseif Thing[2] == "Ice" then | |
2389 | if Thing[6] <= Thing[5] then | |
2390 | Thing[6] = Thing[6] + .05 | |
2391 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0) | |
2392 | else | |
2393 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2394 | end | |
2395 | elseif Thing[2] == "Shatter" then | |
2396 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2397 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2398 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2399 | Thing[6] = Thing[6] + Thing[5] | |
2400 | elseif Thing[2] == "Block2" then | |
2401 | Thing[1].CFrame = Thing[1].CFrame | |
2402 | Mesh = Thing[7] | |
2403 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2404 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2405 | elseif Thing[2] == "Block3" then | |
2406 | Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2407 | Mesh = Thing[7] | |
2408 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2409 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2410 | elseif Thing[2] == "Block4" then | |
2411 | Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
2412 | Mesh = Thing[7] | |
2413 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2414 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2415 | elseif Thing[2] == "Block2Fire" then | |
2416 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2417 | Mesh = Thing[7] | |
2418 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2419 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2420 | if Thing[1].Transparency >= .3 then | |
2421 | Thing[1].BrickColor = BrickColor.new("Bright red") | |
2422 | else | |
2423 | Thing[1].BrickColor = BrickColor.new("Bright yellow") | |
2424 | end | |
2425 | elseif Thing[2] == "Cylinder" then | |
2426 | Mesh = Thing[7] | |
2427 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2428 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2429 | elseif Thing[2] == "Blood" then | |
2430 | Mesh = Thing[7] | |
2431 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0) | |
2432 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2433 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2434 | elseif Thing[2] == "Elec" then | |
2435 | Mesh = Thing[10] | |
2436 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2437 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2438 | Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2) | |
2439 | Thing[1].Rotation = Vector3.new(0, 0, 0) | |
2440 | elseif Thing[2] == "Disappear" then | |
2441 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2442 | end | |
2443 | else | |
2444 | Part.Parent = nil | |
2445 | table.remove(Effects, e) | |
2446 | end | |
2447 | end | |
2448 | end | |
2449 | end | |
2450 | end | |
2451 | end |