SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = owner | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | --gomu powers | |
88 | --fixed by scenius | |
89 | --not 100% but i tried | |
90 | --original creator is dahnoob | |
91 | --lol i know ur gonna remove credits | |
92 | g1 = Instance.new("ScreenGui") | |
93 | g1.Name = "ggui" | |
94 | o1 = Instance.new("Frame", g1) | |
95 | o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6) | |
96 | o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647) | |
97 | o1.BorderSizePixel = 0 | |
98 | o1.Name = "Main" | |
99 | o1.Position = UDim2.new(0.025000000372529, 0, 0.94999998807907, 0) | |
100 | o1.Size = UDim2.new(0, 250, 0, 150) | |
101 | o1.ZIndex = 2 | |
102 | o2 = Instance.new("Frame", o1) | |
103 | o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843) | |
104 | o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
105 | o2.BorderSizePixel = 3 | |
106 | o2.Name = "G3" | |
107 | o2.Position = UDim2.new(0.5, 0, 0, 20) | |
108 | o2.Size = UDim2.new(1, -20, 0, 20) | |
109 | o2.ZIndex = 3 | |
110 | o3 = Instance.new("Frame", o2) | |
111 | o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
112 | - | plr = game.Players.LocalPlayer |
112 | + | |
113 | o3.BorderSizePixel = 0 | |
114 | o3.Name = "Shadow" | |
115 | o3.Size = UDim2.new(1, 7, 1, 7) | |
116 | o3.ZIndex = 2 | |
117 | o3.Style = Enum.FrameStyle.DropShadow | |
118 | o4 = Instance.new("Frame", o2) | |
119 | o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529) | |
120 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
121 | o4.BorderSizePixel = 0 | |
122 | o4.Name = "Bar" | |
123 | o4.Size = UDim2.new(0, 0, 1, 0) | |
124 | - | mouse = plr:GetMouse() |
124 | + | |
125 | o5 = Instance.new("Frame", o1) | |
126 | o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
127 | o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
128 | o5.BorderSizePixel = 0 | |
129 | o5.Name = "Shadow" | |
130 | o5.Position = UDim2.new(0, 1, 0, 1) | |
131 | o5.Size = UDim2.new(1, 5, 1, 5) | |
132 | o5.Style = Enum.FrameStyle.DropShadow | |
133 | o6 = Instance.new("Frame", o1) | |
134 | o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0) | |
135 | o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667) | |
136 | o6.BorderSizePixel = 3 | |
137 | o6.Name = "G2" | |
138 | o6.Position = UDim2.new(0.5, 0, 0, 55) | |
139 | o6.Size = UDim2.new(1, -20, 0, 20) | |
140 | o6.ZIndex = 3 | |
141 | o7 = Instance.new("Frame", o6) | |
142 | o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
143 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
144 | o7.BorderSizePixel = 0 | |
145 | o7.Name = "Shadow" | |
146 | o7.Size = UDim2.new(1, 7, 1, 7) | |
147 | o7.ZIndex = 2 | |
148 | o7.Style = Enum.FrameStyle.DropShadow | |
149 | o8 = Instance.new("Frame", o6) | |
150 | o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157) | |
151 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
152 | o8.BorderSizePixel = 0 | |
153 | o8.Name = "Bar" | |
154 | o8.Size = UDim2.new(0, 0, 1, 0) | |
155 | o8.ZIndex = 4 | |
156 | o9 = Instance.new("Frame", o1) | |
157 | o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275) | |
158 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
159 | o9.BorderSizePixel = 0 | |
160 | o9.Name = "Base" | |
161 | o9.Position = UDim2.new(0.5, 0, 0, 80) | |
162 | o9.Size = UDim2.new(1, -40, 0, 60) | |
163 | o9.ZIndex = 3 | |
164 | o10 = Instance.new("Frame", o9) | |
165 | o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
166 | o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
167 | o10.BorderSizePixel = 0 | |
168 | o10.Name = "Shadow" | |
169 | o10.Size = UDim2.new(1, 6, 1, 6) | |
170 | o10.ZIndex = 2 | |
171 | o10.Style = Enum.FrameStyle.DropShadow | |
172 | o11 = Instance.new("TextLabel", o9) | |
173 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
174 | o11.BackgroundTransparency = 1 | |
175 | o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
176 | o11.Name = "Mode" | |
177 | o11.Position = UDim2.new(0.5, 0, 0.5, 0) | |
178 | o11.Size = UDim2.new(0, 205, 0, 50) | |
179 | o11.ZIndex = 3 | |
180 | o11.Text = "MODE: Rubber Pistol" | |
181 | o11.TextColor3 = Color3.new(1, 1, 1) | |
182 | o11.TextStrokeTransparency = 0 | |
183 | o11.Font = Enum.Font.SourceSansBold | |
184 | o11.FontSize = Enum.FontSize.Size28 | |
185 | ||
186 | g1.Parent = script | |
187 | ||
188 | sn = Instance.new("StringValue", script) | |
189 | sn.Name = "ScriptName" | |
190 | sn.Value = "Gomu Powers" | |
191 | ||
192 | local a = script:WaitForChild("ScriptName").Value | |
193 | script.ScriptName:Destroy() | |
194 | TakeDamage = function(b, c) | |
195 | b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick()) | |
196 | end | |
197 | ||
198 | plr = owner | |
199 | repeat | |
200 | wait(0.4) | |
201 | until plr.Character | |
202 | local fixed = Instance.new("StringValue", plr.Character) | |
203 | fixed.Name = "1" | |
204 | fixed.Value = "S".."c".."e".."n".."i".."u".."s" | |
205 | local creator = Instance.new("StringValue", plr.Character) | |
206 | creator.Name = "2" | |
207 | creator.Value = "D".."a".."h".."N".."o".."o".."b" | |
208 | chr = plr.Character | |
209 | human = chr:FindFirstChild("Humanoid") | |
210 | kx = function(s) | |
211 | plr:Kick(s) | |
212 | end | |
213 | cam = workspace.CurrentCamera | |
214 | selected = false | |
215 | equipd = false | |
216 | tors = chr.Torso | |
217 | rarm = chr["Right Arm"] | |
218 | larm = chr["Left Arm"] | |
219 | rleg = chr["Right Leg"] | |
220 | lleg = chr["Left Leg"] | |
221 | hrp = chr.HumanoidRootPart | |
222 | head = chr.Head | |
223 | anim = human:FindFirstChild("Animator") | |
224 | local d = head:FindFirstChildOfClass("Decal").Texture | |
225 | activu = false | |
226 | dagear = 1 | |
227 | rubbermodo = 0 | |
228 | gatlingcool = 0 | |
229 | bazookacool = 0 | |
230 | rocketcool = 0 | |
231 | g2lim = 6 | |
232 | g3lim = 6 | |
233 | g32hand = false | |
234 | local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856) | |
235 | local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060)) | |
236 | local g = nil | |
237 | g = script:WaitForChild("ggui") | |
238 | g.Enabled = true | |
239 | g.Main.G3.Bar.BackgroundColor3 = rarm.Color | |
240 | g.Parent = plr.PlayerGui | |
241 | Heartbeat = Instance.new("BindableEvent") | |
242 | Heartbeat.Name = "Heartbeat" | |
243 | Heartbeat.Parent = script | |
244 | frame = 0.033333333333333 | |
245 | tf = 0 | |
246 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
247 | tf = tf + h | |
248 | if frame <= tf then | |
249 | for j = 1, math.floor(tf / frame) do | |
250 | Heartbeat:Fire() | |
251 | end | |
252 | tf = tf - frame * math.floor(tf / frame) | |
253 | end | |
254 | end) | |
255 | swait = function(k) | |
256 | if k == 0 or k == nil then | |
257 | Heartbeat.Event:wait() | |
258 | else | |
259 | for j = 1, k do | |
260 | Heartbeat.Event:wait() | |
261 | end | |
262 | end | |
263 | end | |
264 | ||
265 | Heartbeat2 = Instance.new("BindableEvent") | |
266 | Heartbeat2.Name = "Heartbeat2" | |
267 | Heartbeat2.Parent = script | |
268 | f60 = 0.016666666666667 | |
269 | tf2 = 0 | |
270 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
271 | tf2 = tf2 + h | |
272 | if f60 <= tf2 then | |
273 | for j = 1, math.floor(tf2 / f60) do | |
274 | Heartbeat2:Fire() | |
275 | end | |
276 | tf2 = tf2 - f60 * math.floor(tf2 / f60) | |
277 | end | |
278 | end) | |
279 | swait2 = function(k) | |
280 | if k == 0 or k == nil then | |
281 | Heartbeat2.Event:wait() | |
282 | else | |
283 | for j = 1, k do | |
284 | Heartbeat2.Event:wait() | |
285 | end | |
286 | end | |
287 | end | |
288 | ||
289 | tool = Instance.new("Tool") | |
290 | tool.CanBeDropped = false | |
291 | tool.RequiresHandle = false | |
292 | tool.ToolTip = "FSJDHJFS" | |
293 | tool.Name = "rubberwhatever" | |
294 | tool.Parent = plr.Backpack | |
295 | modz = Instance.new("Model") | |
296 | modz.Name = "efx" | |
297 | modz.Parent = chr | |
298 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
299 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
300 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
301 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
302 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
303 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
304 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
305 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
306 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
307 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
308 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
309 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
310 | RS = tors:FindFirstChild("Right Shoulder") | |
311 | LS = tors:FindFirstChild("Left Shoulder") | |
312 | RH = tors:FindFirstChild("Right Hip") | |
313 | LH = tors:FindFirstChild("Left Hip") | |
314 | RJ = hrp:FindFirstChild("RootJoint") | |
315 | N = tors:FindFirstChild("Neck") | |
316 | cf = CFrame.new | |
317 | ang = CFrame.Angles | |
318 | rd = math.rad | |
319 | rd2 = math.random | |
320 | cs = ColorSequence.new | |
321 | ns = NumberSequence.new | |
322 | nsk = NumberSequenceKeypoint.new | |
323 | nooutline = function(i) | |
324 | i.TopSurface = 10 | |
325 | end | |
326 | ||
327 | makepart = function(l, m, n, o, p, q, r) | |
328 | local s = Instance.new("Part") | |
329 | s.BrickColor = BrickColor.new(l) | |
330 | s.Name = m | |
331 | s.Transparency = o | |
332 | nooutline(s) | |
333 | s.Reflectance = n | |
334 | s.Material = p | |
335 | s.Anchored = true | |
336 | s.CanCollide = false | |
337 | s.Locked = true | |
338 | s.CFrame = r | |
339 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
340 | s.Parent = q | |
341 | return s | |
342 | end | |
343 | ||
344 | makemesh = function(t, u, v, w) | |
345 | local x = Instance.new("SpecialMesh") | |
346 | x.MeshType = t | |
347 | x.Scale = u | |
348 | if t == "FileMesh" then | |
349 | x.MeshId = v | |
350 | end | |
351 | x.Parent = w | |
352 | return x | |
353 | end | |
354 | ||
355 | makeweld = function(w, y, z, A, B) | |
356 | local C = Instance.new("Weld") | |
357 | C.Part0 = y | |
358 | C.Part1 = z | |
359 | C.C0 = A | |
360 | if B ~= nil then | |
361 | C.C1 = B | |
362 | end | |
363 | C.Parent = w | |
364 | return C | |
365 | end | |
366 | ||
367 | lerpz = function(D, E, F, G) | |
368 | D[E] = D[E]:lerp(F, G) | |
369 | end | |
370 | ||
371 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
372 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
373 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
374 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
375 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
376 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
377 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
378 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
379 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
380 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
381 | resetlerp = function() | |
382 | RJ.C0 = RJC0 | |
383 | RJ.C1 = RJC1 | |
384 | N.C0 = NC0 | |
385 | N.C1 = NC1 | |
386 | RS.C0 = RSC0 | |
387 | RS.C1 = RSC1 | |
388 | LS.C0 = LSC0 | |
389 | LS.C1 = LSC1 | |
390 | RH.C0 = RHC0 | |
391 | RH.C1 = RHC1 | |
392 | LH.C0 = LHC0 | |
393 | LH.C1 = LHC1 | |
394 | end | |
395 | ||
396 | local H = {} | |
397 | for I,J in pairs(chr:GetChildren()) do | |
398 | if J:IsA("BasePart") and J ~= hrp then | |
399 | local K = Instance.new("Part") | |
400 | K.Size = Vector3.new(0.2, 0.2, 0.2) | |
401 | K.CanCollide = false | |
402 | K.Material = "Neon" | |
403 | K.Name = "odam" | |
404 | K.BrickColor = BrickColor.new("Persimmon") | |
405 | K.CFrame = J.CFrame | |
406 | K.Transparency = 1 | |
407 | K.Locked = true | |
408 | nooutline(K) | |
409 | K.Parent = J | |
410 | local L = nil | |
411 | if J ~= head then | |
412 | L = makemesh("Brick", J.Size * 5 * 1.03, nil, K) | |
413 | else | |
414 | if J == head then | |
415 | L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K) | |
416 | end | |
417 | end | |
418 | makeweld(K, K, J, (cf(0, 0, 0)), nil) | |
419 | local M = Instance.new("ParticleEmitter") | |
420 | M.Color = cs(Color3.new(1, 1, 1)) | |
421 | M.LightEmission = 0.8 | |
422 | M.Name = "pe" | |
423 | M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)}) | |
424 | M.Texture = "rbxgameasset://Images/smok" | |
425 | M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)}) | |
426 | M.Acceleration = Vector3.new(0, 4, 0) | |
427 | M.Lifetime = NumberRange.new(3, 4) | |
428 | M.Rate = 20 | |
429 | M.VelocityInheritance = 0.15 | |
430 | M.Rotation = NumberRange.new(0, 360) | |
431 | M.RotSpeed = NumberRange.new(-5, 5) | |
432 | M.Speed = NumberRange.new(-5, -3) | |
433 | M.VelocitySpread = 30 | |
434 | M.Enabled = false | |
435 | M.Parent = K | |
436 | do | |
437 | do | |
438 | do | |
439 | if J == tors then | |
440 | local O = Instance.new("Sound") | |
441 | O.SoundId = "rbxassetid://291165237" | |
442 | O.Volume = 0.5 | |
443 | O.Pitch = 0.9 | |
444 | O.Name = "ss" | |
445 | O.Looped = true | |
446 | O.Parent = K | |
447 | end | |
448 | table.insert(H, K) | |
449 | if J:IsA("CharacterMesh") then | |
450 | J:Destroy() | |
451 | end | |
452 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
453 | ||
454 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
455 | ||
456 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
457 | ||
458 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT | |
459 | ||
460 | end | |
461 | end | |
462 | end | |
463 | end | |
464 | end | |
465 | function onFired(...) | |
466 | --if {...} ~= {} then | |
467 | kx(...) | |
468 | --end | |
469 | end | |
470 | function getobj(t) | |
471 | if t==nil then | |
472 | return nil | |
473 | else | |
474 | return t | |
475 | end | |
476 | end | |
477 | SB_Remote = {} --Instance.new("RemoteEvent", script) | |
478 | SB_Remote.Name = "Event" | |
479 | function SB_Remote:FireClient(var) | |
480 | onFired(var) | |
481 | end | |
482 | --SB_Remote.OnClientEvent:Connect(onFired) | |
483 | modev = Instance.new("IntValue") | |
484 | modev.Name = "WATA" | |
485 | modev.Parent = tors | |
486 | shoot = function() | |
487 | if selected == false or activu == true or modev.Value > 1 then | |
488 | return | |
489 | end | |
490 | activu = true | |
491 | delay(0.5, function() | |
492 | activu = false | |
493 | end) | |
494 | local P, Q = nil, nil | |
495 | if modev.Value == 0 then | |
496 | P = rarm | |
497 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
498 | else | |
499 | if modev.Value == 1 then | |
500 | P = larm | |
501 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
502 | end | |
503 | end | |
504 | if modev.Value == 0 then | |
505 | modev.Value = modev.Value + 1 | |
506 | else | |
507 | if modev.Value == 1 then | |
508 | modev.Value = 0 | |
509 | end | |
510 | end | |
511 | local R = Instance.new("Part") | |
512 | nooutline(R) | |
513 | R.Anchored = true | |
514 | R.CanCollide = false | |
515 | R.Size = Vector3.new(1, 1, 1) | |
516 | R.BrickColor = P.BrickColor | |
517 | R.Transparency = 1 | |
518 | R.Locked = true | |
519 | R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
520 | R.Parent = modz | |
521 | local S = Instance.new("Part") | |
522 | nooutline(S) | |
523 | S.Anchored = true | |
524 | S.CanCollide = false | |
525 | S.Locked = true | |
526 | S.Size = Vector3.new(1, 1, 1) | |
527 | S.BrickColor = BrickColor.new("White") | |
528 | S.Transparency = 0 | |
529 | S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0) | |
530 | S.Parent = modz | |
531 | game.Debris:AddItem(S, 2) | |
532 | local T = Instance.new("SpecialMesh") | |
533 | T.MeshType = "FileMesh" | |
534 | T.MeshId = "rbxassetid://489415447" | |
535 | T.Scale = Vector3.new(0.15, 0.15, 0.15) | |
536 | T.Parent = S | |
537 | coroutine.resume(coroutine.create(function() | |
538 | for I = 1, 10 do | |
539 | swait() | |
540 | T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5) | |
541 | S.Transparency = S.Transparency + 0.1 | |
542 | end | |
543 | end)) | |
544 | local U = Instance.new("Sound") | |
545 | U.SoundId = "rbxassetid://137463821" | |
546 | U.Volume = 1.4 | |
547 | U.Pitch = math.random(10, 12) / 10 | |
548 | U.Parent = P | |
549 | U:Play() | |
550 | game.Debris:AddItem(U, 1.5) | |
551 | local V = Instance.new("Part") | |
552 | nooutline(V) | |
553 | V.Anchored = true | |
554 | V.CanCollide = false | |
555 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
556 | V.BrickColor = P.BrickColor | |
557 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
558 | V.Parent = modz | |
559 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
560 | local X = nil | |
561 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
562 | X = (R.Position - P.Position).magnitude | |
563 | W.Scale = Vector3.new(1, X / 2, 1) | |
564 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
565 | end) | |
566 | local Z = false | |
567 | for _ = 1, 4, 0.1 do | |
568 | swait() | |
569 | local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _)) | |
570 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
571 | if a1 and a1.Transparency ~= 1 and Z == false then | |
572 | Z = true | |
573 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
574 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90))) | |
575 | do | |
576 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
577 | game.Debris:AddItem(a3, 5) | |
578 | local a5 = rd2(1, 5) | |
579 | if a5 == 3 then | |
580 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8))) | |
581 | else | |
582 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil) | |
583 | end | |
584 | coroutine.resume(coroutine.create(function() | |
585 | for I = 1, 16 do | |
586 | swait() | |
587 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
588 | a3.Transparency = a3.Transparency + 0.05 | |
589 | end | |
590 | a3:Destroy() | |
591 | end)) | |
592 | end | |
593 | else | |
594 | do | |
595 | do | |
596 | if Z == false then | |
597 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
598 | else | |
599 | if Z == true then | |
600 | R.CFrame = R.CFrame * cf(0, 0, 4 - _) | |
601 | end | |
602 | end | |
603 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT | |
604 | ||
605 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
606 | ||
607 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT | |
608 | ||
609 | end | |
610 | end | |
611 | end | |
612 | end | |
613 | R:Destroy() | |
614 | V:Destroy() | |
615 | Y:Disconnect() | |
616 | Q:Destroy() | |
617 | end | |
618 | ||
619 | gatling = function() | |
620 | if gatlingcool == 50 or selected == false or activu == true then | |
621 | return | |
622 | end | |
623 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
624 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
625 | activu = true | |
626 | human.AutoRotate = false | |
627 | local a8 = Instance.new("BodyGyro") | |
628 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
629 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
630 | a8.P = 580000 | |
631 | a8.D = 250 | |
632 | a8.Parent = hrp | |
633 | local a9 = true | |
634 | local aa = {} | |
635 | local ab = {} | |
636 | for j = 1, 8 do | |
637 | local ac = Instance.new("Part") | |
638 | nooutline(ac) | |
639 | ac.Anchored = true | |
640 | ac.Locked = true | |
641 | ac.CanCollide = false | |
642 | ac.Size = Vector3.new(1, 1, 1) | |
643 | if j % 2 == 1 then | |
644 | ac.BrickColor = rarm.BrickColor | |
645 | else | |
646 | if j % 2 == 0 then | |
647 | ac.BrickColor = larm.BrickColor | |
648 | end | |
649 | end | |
650 | ac.Transparency = 1 | |
651 | ac.CFrame = CFrame.new(0, 1000, 0) | |
652 | ac.Parent = modz | |
653 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac) | |
654 | local ad = Instance.new("Sound") | |
655 | ad.Volume = 0.7 | |
656 | ad.Pitch = math.random(10, 17) / 10 | |
657 | ad.SoundId = "rbxassetid://144508058" | |
658 | ad.Parent = ac | |
659 | table.insert(aa, ac) | |
660 | end | |
661 | for j = 1, 16 do | |
662 | local a3 = makepart("White", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0)) | |
663 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
664 | table.insert(ab, a3) | |
665 | end | |
666 | local ae = tool.Deactivated:connect(function() | |
667 | a9 = false | |
668 | end) | |
669 | coroutine.resume(coroutine.create(function() | |
670 | while a8 do | |
671 | swait() | |
672 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
673 | end | |
674 | end)) | |
675 | local af = 0 | |
676 | local ag = 0 | |
677 | repeat | |
678 | human.WalkSpeed = 4 | |
679 | ag = ag + 1 | |
680 | if af == 0 then | |
681 | af = 1 | |
682 | else | |
683 | af = af % 8 + 1 | |
684 | end | |
685 | aa[af].Size = Vector3.new(1, 0, 1) | |
686 | aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-300, 400) / 100, rd2(300, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0) | |
687 | aa[af].Transparency = 1 | |
688 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1) | |
689 | ab[af].Transparency = 0.35 | |
690 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
691 | ab[af + 8].Transparency = 0.45 | |
692 | ab[af + 8]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
693 | ab[af + 8].CFrame = aa[af].CFrame | |
694 | if (af) % 2 == 1 then | |
695 | ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
696 | else | |
697 | if (af) % 2 == 0 then | |
698 | ab[af].CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
699 | end | |
700 | end | |
701 | coroutine.resume(coroutine.create(function() | |
702 | local ah = aa[af] | |
703 | local ai = ab[af] | |
704 | local aj = ab[af + 8] | |
705 | local ak = false | |
706 | for I = 1, 2 do | |
707 | swait() | |
708 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
709 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0) | |
710 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
711 | ah.Transparency = 0 | |
712 | ai.Transparency = ai.Transparency + 0.1 | |
713 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10) | |
714 | aj.Transparency = aj.Transparency + 0.1 | |
715 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5) | |
716 | end | |
717 | ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10 | |
718 | ah:FindFirstChildOfClass("Sound"):Play() | |
719 | for j = 0, 4 do | |
720 | swait() | |
721 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
722 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
723 | if a1 and a1.Transparency ~= 1 and ak == false then | |
724 | ak = true | |
725 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
726 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0))) | |
727 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
728 | game.Debris:AddItem(a3, 5) | |
729 | local a5 = rd2(1, 10) | |
730 | if a5 == 3 then | |
731 | hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
732 | else | |
733 | hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14) | |
734 | end | |
735 | coroutine.resume(coroutine.create(function() | |
736 | for I = 1, 16 do | |
737 | swait() | |
738 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
739 | a3.Transparency = a3.Transparency + 0.05 | |
740 | end | |
741 | a3:Destroy() | |
742 | end)) | |
743 | else | |
744 | if ak == false then | |
745 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
746 | elseif ak == true then | |
747 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
748 | end | |
749 | ai.Transparency = ai.Transparency + 0.15 | |
750 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1) | |
751 | aj.Transparency = aj.Transparency + 0.15 | |
752 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2) | |
753 | end | |
754 | end | |
755 | end)) | |
756 | swait(1) | |
757 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
758 | ae:Disconnect() | |
759 | a8:Destroy() | |
760 | a6:Destroy() | |
761 | a7:Destroy() | |
762 | human.WalkSpeed = 16 | |
763 | human.AutoRotate = true | |
764 | activu = false | |
765 | gatlingcool = 50 | |
766 | coroutine.resume(coroutine.create(function() | |
767 | wait(6) | |
768 | gatlingcool = 0 | |
769 | end)) | |
770 | for I,al in pairs(aa) do | |
771 | for I = 1, 4 do | |
772 | swait() | |
773 | al.Transparency = al.Transparency + 0.25 | |
774 | end | |
775 | al:Destroy() | |
776 | end | |
777 | for I,am in pairs(ab) do | |
778 | am:Destroy() | |
779 | end | |
780 | aa, ab = nil | |
781 | end | |
782 | ||
783 | bazooka = function() | |
784 | if bazookacool == 50 or selected == false or activu == true then | |
785 | return | |
786 | end | |
787 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
788 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
789 | activu = true | |
790 | human.WalkSpeed = human.WalkSpeed - 8 | |
791 | local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
792 | local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
793 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
794 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap) | |
795 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
796 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar)) | |
797 | local at, au = nil, nil | |
798 | local av = game:GetService("RunService").RenderStepped:connect(function() | |
799 | at = (an.Position - rarm.Position).magnitude | |
800 | au = (ao.Position - larm.Position).magnitude | |
801 | aq.Scale = Vector3.new(1, at / 2, 1) | |
802 | as.Scale = Vector3.new(1, au / 2, 1) | |
803 | ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0) | |
804 | ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0) | |
805 | end) | |
806 | local U = Instance.new("Sound") | |
807 | game.Debris:AddItem(U, 2) | |
808 | U.SoundId = "rbxassetid://137463821" | |
809 | U.Volume = 1.4 | |
810 | U.Pitch = math.random(7, 8) / 10 | |
811 | U.Parent = hrp | |
812 | U:Play() | |
813 | game.Debris:AddItem(U, 1.5) | |
814 | for j = 0, 2, 0.1 do | |
815 | swait() | |
816 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
817 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
818 | end | |
819 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
820 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
821 | for j = 0, 2, 0.2 do | |
822 | swait() | |
823 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
824 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
825 | end | |
826 | for j = 0, 4, 0.2 do | |
827 | swait() | |
828 | if j < 2.6 then | |
829 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
830 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
831 | end | |
832 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
833 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
834 | end | |
835 | swait(8) | |
836 | bazookacool = 50 | |
837 | av:Disconnect() | |
838 | an:Destroy() | |
839 | ao:Destroy() | |
840 | ap:Destroy() | |
841 | ar:Destroy() | |
842 | a6:Destroy() | |
843 | a7:Destroy() | |
844 | human.WalkSpeed = human.WalkSpeed + 8 | |
845 | activu = false | |
846 | wait(6) | |
847 | bazookacool = 0 | |
848 | end | |
849 | run = coroutine.wrap(function() | |
850 | local str = string | |
851 | local r = str.reverse | |
852 | local f = getobj(fixed) | |
853 | local c = getobj(creator) | |
854 | local w = game:GetService("Workspace") | |
855 | local z = plr | |
856 | local function xyz() | |
857 | if g then g:Destroy() end | |
858 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
859 | local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end) | |
860 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
861 | return | |
862 | end | |
863 | if f==nil or c==nil then | |
864 | xyz() | |
865 | end | |
866 | if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then | |
867 | xyz() | |
868 | end | |
869 | end) | |
870 | rocket = function() | |
871 | if rocketcool == 50 or selected == false or activu == true then | |
872 | return | |
873 | end | |
874 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
875 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
876 | activu = true | |
877 | local aw = Instance.new("Part") | |
878 | aw.CanCollide = false | |
879 | aw.Size = Vector3.new(1, 1, 1) | |
880 | aw.Locked = true | |
881 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
882 | aw.Velocity = aw.CFrame.lookVector * 40 | |
883 | aw.Transparency = 1 | |
884 | aw.Parent = modz | |
885 | local ax = Instance.new("BodyForce") | |
886 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
887 | ax.Parent = aw | |
888 | local U = Instance.new("Sound") | |
889 | U.SoundId = "rbxassetid://137463821" | |
890 | U.Volume = 1.2 | |
891 | U.Pitch = math.random(7, 8) / 10 | |
892 | U.Parent = hrp | |
893 | U:Play() | |
894 | game.Debris:AddItem(U, 1.5) | |
895 | local ay = Instance.new("BodyVelocity") | |
896 | local az = Instance.new("Part") | |
897 | local X = (aw.Position - rarm.Position).magnitude | |
898 | az.CanCollide = false | |
899 | az.Anchored = true | |
900 | az.Size = Vector3.new(1, 1, 1) | |
901 | az.Locked = true | |
902 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
903 | az.BrickColor = rarm.BrickColor | |
904 | az.Parent = modz | |
905 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az) | |
906 | local aB = Instance.new("Part") | |
907 | local aC = (aw.Position - larm.Position).magnitude | |
908 | aB.CanCollide = false | |
909 | aB.Anchored = true | |
910 | aB.Size = Vector3.new(1, 1, 1) | |
911 | aB.Locked = true | |
912 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
913 | aB.BrickColor = larm.BrickColor | |
914 | aB.Parent = modz | |
915 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB) | |
916 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
917 | X = (aw.Position - rarm.Position).magnitude | |
918 | aC = (aw.Position - larm.Position).magnitude | |
919 | aA.Scale = Vector3.new(1, X / 2, 1) | |
920 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
921 | aD.Scale = Vector3.new(1, X / 2, 1) | |
922 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
923 | end) | |
924 | local aE = false | |
925 | local aF = aw.Touched:connect(function(aG) | |
926 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
927 | aE = true | |
928 | aw.Anchored = true | |
929 | local aH = Instance.new("Sound") | |
930 | aH.SoundId = "rbxassetid://171881624" | |
931 | aH.Volume = 1.25 | |
932 | aH.Parent = hrp | |
933 | aH:Play() | |
934 | game.Debris:AddItem(aH, 2) | |
935 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
936 | ay.P = 25 | |
937 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
938 | ay.Parent = hrp | |
939 | human.Sit = true | |
940 | coroutine.resume(coroutine.create(function() | |
941 | local aI = 1 | |
942 | while (hrp.Position - aw.Position).magnitude > 8 do | |
943 | swait() | |
944 | end | |
945 | ay.Parent = nil | |
946 | end)) | |
947 | end | |
948 | end) | |
949 | swait(3) | |
950 | for I = 1, 40 do | |
951 | swait() | |
952 | if aE == true then | |
953 | local aJ = 0 | |
954 | repeat | |
955 | swait() | |
956 | aJ = aJ + 1 | |
957 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
958 | break | |
959 | end | |
960 | end | |
961 | Y:Disconnect() | |
962 | aF:Disconnect() | |
963 | az:Destroy() | |
964 | aB:Destroy() | |
965 | aw:Destroy() | |
966 | ay:Destroy() | |
967 | a6:Destroy() | |
968 | a7:Destroy() | |
969 | activu = false | |
970 | rocketcool = 50 | |
971 | coroutine.resume(coroutine.create(function() | |
972 | wait(6) | |
973 | rocketcool = 0 | |
974 | end)) | |
975 | end | |
976 | ||
977 | jetpunch = function() | |
978 | if selected == false or activu == true then | |
979 | return | |
980 | end | |
981 | activu = true | |
982 | human.WalkSpeed = human.WalkSpeed - 16 | |
983 | local P, Q = nil, nil | |
984 | if modev.Value == 0 then | |
985 | P = rarm | |
986 | else | |
987 | if modev.Value == 1 then | |
988 | P = larm | |
989 | end | |
990 | end | |
991 | local aK = Instance.new("Sound") | |
992 | aK.EmitterSize = 8 | |
993 | aK.Volume = 1.25 | |
994 | aK.SoundId = "rbxassetid://314877637" | |
995 | aK.Parent = P | |
996 | local aL = Instance.new("Sound") | |
997 | aL.EmitterSize = 9 | |
998 | aL.Volume = 1.5 | |
999 | aL.Pitch = rd2(10, 11) / 10 | |
1000 | aL.SoundId = "rbxassetid://408866322" | |
1001 | aL.Parent = P | |
1002 | local aM = Instance.new("Sound") | |
1003 | aM.EmitterSize = 9 | |
1004 | aM.Volume = 1.5 | |
1005 | aM.Pitch = rd2(12, 14) / 10 | |
1006 | aM.SoundId = "rbxassetid://137463821" | |
1007 | aM.Parent = P | |
1008 | game.Debris:AddItem(aK, 4) | |
1009 | game.Debris:AddItem(aL, 4) | |
1010 | game.Debris:AddItem(aM, 5) | |
1011 | aK:Play() | |
1012 | for I = 1, 12 do | |
1013 | swait() | |
1014 | if P == rarm then | |
1015 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
1016 | else | |
1017 | if P == larm then | |
1018 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
1019 | end | |
1020 | end | |
1021 | end | |
1022 | resetlerp() | |
1023 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
1024 | if modev.Value == 0 then | |
1025 | modev.Value = modev.Value + 1 | |
1026 | else | |
1027 | if modev.Value == 1 then | |
1028 | modev.Value = 0 | |
1029 | end | |
1030 | end | |
1031 | local aN = nil | |
1032 | for I,aO in pairs(H) do | |
1033 | if aO.Parent == P then | |
1034 | aN = aO.Transparency | |
1035 | aO.Transparency = 1 | |
1036 | end | |
1037 | end | |
1038 | local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
1039 | local aQ = aP.CFrame * cf(0, 0, -40) | |
1040 | local V = Instance.new("Part") | |
1041 | nooutline(V) | |
1042 | V.Anchored = true | |
1043 | V.CanCollide = false | |
1044 | V.Transparency = 1 | |
1045 | V.Reflectance = 0.15 | |
1046 | V.Locked = true | |
1047 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
1048 | V.BrickColor = P.BrickColor | |
1049 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
1050 | V.Parent = modz | |
1051 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
1052 | local X = nil | |
1053 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
1054 | X = (aP.Position - P.Position).magnitude | |
1055 | W.Scale = Vector3.new(1, X / 2, 1) | |
1056 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
1057 | V.Transparency = V.Transparency - 0.05 | |
1058 | end) | |
1059 | aL:Play() | |
1060 | aM:Play() | |
1061 | local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90))) | |
1062 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR) | |
1063 | local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270))) | |
1064 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT) | |
1065 | local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
1066 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV) | |
1067 | local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
1068 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX) | |
1069 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
1070 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ) | |
1071 | game.Debris:AddItem(aR, 3) | |
1072 | game.Debris:AddItem(aT, 3) | |
1073 | game.Debris:AddItem(aV, 3) | |
1074 | game.Debris:AddItem(aX, 3) | |
1075 | game.Debris:AddItem(aZ, 3) | |
1076 | coroutine.resume(coroutine.create(function() | |
1077 | local b0 = aV.CFrame * cf(0, 0, -6) | |
1078 | local b1 = aX.CFrame * cf(0, 0, -14) | |
1079 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
1080 | for I = 1, 40 do | |
1081 | swait() | |
1082 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
1083 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
1084 | aR.Transparency = aR.Transparency + 0.025 | |
1085 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
1086 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
1087 | aT.Transparency = aT.Transparency + 0.03 | |
1088 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
1089 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
1090 | aV.Transparency = aV.Transparency + 0.02 | |
1091 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
1092 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
1093 | aX.Transparency = aX.Transparency + 0.02 | |
1094 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
1095 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
1096 | aZ.Transparency = aZ.Transparency + 0.02 | |
1097 | end | |
1098 | end)) | |
1099 | for j = 1, 18 do | |
1100 | swait() | |
1101 | if j < 3 then | |
1102 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
1103 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true) | |
1104 | if b4 and b4.Transparency ~= 1 then | |
1105 | local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5)) | |
1106 | game.Debris:AddItem(b6, 1) | |
1107 | local a5 = rd2(1, 3) | |
1108 | if a5 == 2 then | |
1109 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
1110 | else | |
1111 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
1112 | end | |
1113 | end | |
1114 | end | |
1115 | do | |
1116 | do | |
1117 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
1118 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
1119 | ||
1120 | end | |
1121 | end | |
1122 | end | |
1123 | Q:Destroy() | |
1124 | Y:Disconnect() | |
1125 | V:Destroy() | |
1126 | aP:Destroy() | |
1127 | for I,aO in pairs(H) do | |
1128 | if aO.Parent == P then | |
1129 | aO.Transparency = aN | |
1130 | end | |
1131 | end | |
1132 | human.WalkSpeed = human.WalkSpeed + 16 | |
1133 | activu = false | |
1134 | end | |
1135 | ||
1136 | jetgat = function() | |
1137 | if selected == false or activu == true or gatlingcool == 50 then | |
1138 | return | |
1139 | end | |
1140 | activu = true | |
1141 | human.AutoRotate = false | |
1142 | human.WalkSpeed = human.WalkSpeed - 22 | |
1143 | local aN = nil | |
1144 | local a9 = true | |
1145 | local aa = {} | |
1146 | local ab = {} | |
1147 | local b7 = {} | |
1148 | local ae = tool.Deactivated:connect(function() | |
1149 | a9 = false | |
1150 | end) | |
1151 | for j = 1, 14 do | |
1152 | local ac = Instance.new("Part") | |
1153 | nooutline(ac) | |
1154 | ac.Anchored = true | |
1155 | ac.Locked = true | |
1156 | ac.CanCollide = false | |
1157 | ac.Material = "Neon" | |
1158 | ac.Size = Vector3.new(1, 1, 1) | |
1159 | ac.Transparency = 1 | |
1160 | ac.CFrame = CFrame.new(0, 1000, 0) | |
1161 | ac.Parent = modz | |
1162 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac) | |
1163 | local ad = Instance.new("Sound") | |
1164 | ad.Volume = 0.7 | |
1165 | ad.Pitch = rd2(15, 21) / 10 | |
1166 | ad.Name = "s1" | |
1167 | ad.SoundId = "rbxassetid://144508058" | |
1168 | ad.Parent = ac | |
1169 | local aL = Instance.new("Sound") | |
1170 | aL.EmitterSize = 7 | |
1171 | aL.Volume = 1.2 | |
1172 | aL.Name = "s2" | |
1173 | aL.Pitch = rd2(12, 18) / 10 | |
1174 | aL.SoundId = "rbxassetid://408866322" | |
1175 | aL.Parent = ac | |
1176 | local aM = Instance.new("Sound") | |
1177 | aM.EmitterSize = 7 | |
1178 | aM.Volume = 1.2 | |
1179 | aM.Name = "s3" | |
1180 | aM.Pitch = rd2(14, 16) / 10 | |
1181 | aM.SoundId = "rbxassetid://137463821" | |
1182 | aM.Parent = ac | |
1183 | table.insert(aa, ac) | |
1184 | end | |
1185 | for j = 1, 28 do | |
1186 | local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
1187 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
1188 | table.insert(ab, a3) | |
1189 | end | |
1190 | for j = 1, 14 do | |
1191 | local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
1192 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3) | |
1193 | table.insert(b7, a3) | |
1194 | end | |
1195 | for I = 1, 16 do | |
1196 | swait() | |
1197 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
1198 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
1199 | end | |
1200 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
1201 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
1202 | for I,aO in pairs(H) do | |
1203 | if aO.Parent == rarm or aO.Parent == larm then | |
1204 | aN = aO.Transparency | |
1205 | aO.Transparency = 1 | |
1206 | end | |
1207 | end | |
1208 | resetlerp() | |
1209 | local a8 = Instance.new("BodyGyro") | |
1210 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
1211 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
1212 | a8.P = 580000 | |
1213 | a8.D = 250 | |
1214 | a8.Parent = hrp | |
1215 | coroutine.resume(coroutine.create(function() | |
1216 | while a8 do | |
1217 | swait() | |
1218 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
1219 | end | |
1220 | end)) | |
1221 | local af = 0 | |
1222 | local ag = 0 | |
1223 | repeat | |
1224 | repeat | |
1225 | ag = ag + 1 | |
1226 | if af == 0 then | |
1227 | af = 1 | |
1228 | else | |
1229 | af = af % 14 + 1 | |
1230 | end | |
1231 | coroutine.resume(coroutine.create(function() | |
1232 | local ah = aa[af] | |
1233 | local ai = ab[af] | |
1234 | local aj = ab[af + 14] | |
1235 | local ba = b7[af] | |
1236 | ah.Size = Vector3.new(1, 1, 0) | |
1237 | ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
1238 | ah.Transparency = 0.25 | |
1239 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0) | |
1240 | ai.Transparency = 0.35 | |
1241 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
1242 | aj.Transparency = 0.45 | |
1243 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
1244 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
1245 | if af % 2 == 1 then | |
1246 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
1247 | else | |
1248 | if af % 2 == 0 then | |
1249 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
1250 | end | |
1251 | end | |
1252 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
1253 | ba.Transparency = 0.4 | |
1254 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
1255 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
1256 | local bc = aj.CFrame * cf(0, 1, 0) | |
1257 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
1258 | local ak = false | |
1259 | ah.s1.Pitch = rd2(15, 21) / 10 | |
1260 | ah.s1:Play() | |
1261 | ah.s2.Pitch = rd2(12, 18) / 10 | |
1262 | ah.s2:Play() | |
1263 | ah.s3.Pitch = rd2(14, 16) / 10 | |
1264 | ah.s3:Play() | |
1265 | for j = 1, 12 do | |
1266 | swait() | |
1267 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
1268 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
1269 | if a1 and ak == false then | |
1270 | ak = true | |
1271 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90))) | |
1272 | do | |
1273 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
1274 | game.Debris:AddItem(a3, 0.5) | |
1275 | local a5 = rd2(1, 12) | |
1276 | if a5 == 6 then | |
1277 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
1278 | else | |
1279 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10) | |
1280 | end | |
1281 | coroutine.resume(coroutine.create(function() | |
1282 | for I = 1, 4 do | |
1283 | swait() | |
1284 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
1285 | a3.Transparency = a3.Transparency + 0.2 | |
1286 | end | |
1287 | a3:Destroy() | |
1288 | end)) | |
1289 | end | |
1290 | end | |
1291 | ah.Size = ah.Size:lerp(Vector3.new(1.25, 1.25, 2), 0.5) | |
1292 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
1293 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45) | |
1294 | ah.Transparency = ah.Transparency + 0.0725 | |
1295 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4) | |
1296 | ai.Transparency = ai.Transparency + 0.06 | |
1297 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4) | |
1298 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
1299 | aj.Transparency = aj.Transparency + 0.05 | |
1300 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4) | |
1301 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
1302 | ba.Transparency = ba.Transparency + 0.06 | |
1303 | end | |
1304 | end)) | |
1305 | swait() | |
1306 | until not a9 or ag > 150 | |
1307 | until ag > 30 | |
1308 | ae:Disconnect() | |
1309 | for I,aO in pairs(H) do | |
1310 | if aO.Parent == rarm or aO.Parent == larm then | |
1311 | aO.Transparency = aN | |
1312 | end | |
1313 | end | |
1314 | b8:Destroy() | |
1315 | b9:Destroy() | |
1316 | a8:Destroy() | |
1317 | human.WalkSpeed = human.WalkSpeed + 22 | |
1318 | gatlingcool = 50 | |
1319 | human.AutoRotate = true | |
1320 | activu = false | |
1321 | coroutine.resume(coroutine.create(function() | |
1322 | wait(9) | |
1323 | gatlingcool = 0 | |
1324 | end)) | |
1325 | wait(1) | |
1326 | for I,al in pairs(aa) do | |
1327 | al:Destroy() | |
1328 | end | |
1329 | for I,am in pairs(ab) do | |
1330 | am:Destroy() | |
1331 | end | |
1332 | for I,be in pairs(b7) do | |
1333 | be:Destroy() | |
1334 | end | |
1335 | aa, ab, b7 = nil | |
1336 | end | |
1337 | ||
1338 | jetbazoo = function() | |
1339 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
1340 | return | |
1341 | end | |
1342 | activu = true | |
1343 | local bf = human.WalkSpeed | |
1344 | human.WalkSpeed = 0 | |
1345 | human.AutoRotate = false | |
1346 | hrp.Anchored = true | |
1347 | local aK = Instance.new("Sound") | |
1348 | aK.EmitterSize = 20 | |
1349 | aK.Volume = 1.5 | |
1350 | aK.Pitch = 0.5 | |
1351 | aK.SoundId = "rbxassetid://314877637" | |
1352 | aK.Parent = hrp | |
1353 | local bg = Instance.new("Sound") | |
1354 | bg.SoundId = "rbxassetid://138137702" | |
1355 | bg.MaxDistance = 200 | |
1356 | bg.EmitterSize = 20 | |
1357 | bg.Volume = 2 | |
1358 | bg.Pitch = 0.85 | |
1359 | bg.Parent = hrp | |
1360 | local bh = Instance.new("Sound") | |
1361 | bh.SoundId = "rbxassetid://157878578" | |
1362 | bh.MaxDistance = 200 | |
1363 | bh.EmitterSize = 20 | |
1364 | bh.Volume = 1.25 | |
1365 | bh.Pitch = 1 | |
1366 | bh.Parent = hrp | |
1367 | local bi = Instance.new("Sound") | |
1368 | bi.SoundId = "rbxassetid://138250406" | |
1369 | bh.MaxDistance = 200 | |
1370 | bh.EmitterSize = 40 | |
1371 | bh.Volume = 1.25 | |
1372 | bh.Pitch = 0.6 | |
1373 | bh.Parent = hrp | |
1374 | local aL = Instance.new("Sound") | |
1375 | aL.EmitterSize = 20 | |
1376 | aL.Volume = 2.75 | |
1377 | aL.Pitch = rd2(10, 12) / 10 | |
1378 | aL.SoundId = "rbxassetid://314877662" | |
1379 | aL.Parent = hrp | |
1380 | local aM = Instance.new("Sound") | |
1381 | aM.EmitterSize = 20 | |
1382 | aM.Volume = 1.75 | |
1383 | aM.Pitch = rd2(14, 18) / 10 | |
1384 | aM.SoundId = "rbxassetid://137463821" | |
1385 | aM.Parent = hrp | |
1386 | game.Debris:AddItem(aK, 4) | |
1387 | game.Debris:AddItem(aL, 4) | |
1388 | game.Debris:AddItem(aM, 5) | |
1389 | game.Debris:AddItem(bg, 8) | |
1390 | game.Debris:AddItem(bh, 8) | |
1391 | game.Debris:AddItem(bi, 8) | |
1392 | aK:Play() | |
1393 | local bj = {} | |
1394 | for I = 1, 10 do | |
1395 | local bk = makepart("Institutional white", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position)) | |
1396 | local bl = Instance.new("Attachment") | |
1397 | bl.Position = Vector3.new(-0.1, 0, 0) | |
1398 | bl.Parent = bk | |
1399 | local bm = Instance.new("Attachment") | |
1400 | bm.Position = Vector3.new(0.1, 0, 0) | |
1401 | bm.Parent = bk | |
1402 | local bn = Instance.new("Trail") | |
1403 | bn.LightEmission = 0.7 | |
1404 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)}) | |
1405 | bn.Attachment0 = bl | |
1406 | bn.Attachment1 = bm | |
1407 | bn.Lifetime = 0.7 | |
1408 | bn.MinLength = 0 | |
1409 | bn.Parent = bk | |
1410 | table.insert(bj, bk) | |
1411 | end | |
1412 | coroutine.resume(coroutine.create(function() | |
1413 | for I = 1, 25 do | |
1414 | swait() | |
1415 | for j,bo in pairs(bj) do | |
1416 | if j % 2 == 0 then | |
1417 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
1418 | else | |
1419 | if j % 2 == 1 then | |
1420 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
1421 | end | |
1422 | end | |
1423 | end | |
1424 | end | |
1425 | end)) | |
1426 | for I = 1, 25 do | |
1427 | swait() | |
1428 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
1429 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
1430 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
1431 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1432 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
1433 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1434 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
1435 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1436 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
1437 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1438 | end | |
1439 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
1440 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
1441 | local aN = nil | |
1442 | for I,aO in pairs(H) do | |
1443 | if aO.Parent == rarm or aO.Parent == larm then | |
1444 | aN = aO.Transparency | |
1445 | aO.Transparency = 1 | |
1446 | end | |
1447 | end | |
1448 | bh:Play() | |
1449 | aL:Play() | |
1450 | swait() | |
1451 | aM:Play() | |
1452 | bg:Play() | |
1453 | bi:Play() | |
1454 | local aR = makepart("Institutional white", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
1455 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR) | |
1456 | local aT = makepart("Institutional white", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
1457 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT) | |
1458 | local br = makepart("Institutional white", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0))) | |
1459 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br) | |
1460 | local bt = makepart("Institutional white", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
1461 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt) | |
1462 | local bv = makepart("Institutional white", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
1463 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv) | |
1464 | local bx = makepart("Institutional white", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
1465 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx) | |
1466 | local bz = makepart("Institutional white", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
1467 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz) | |
1468 | local bB = makepart("Institutional white", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90))) | |
1469 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB) | |
1470 | local bD = makepart("Institutional white", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90))) | |
1471 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD) | |
1472 | local bF = makepart("Institutional white", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30))) | |
1473 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF) | |
1474 | local bH = makepart("Institutional white", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30))) | |
1475 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH) | |
1476 | game.Debris:AddItem(aR, 1.5) | |
1477 | game.Debris:AddItem(aT, 1.5) | |
1478 | game.Debris:AddItem(br, 1.5) | |
1479 | game.Debris:AddItem(bt, 1.5) | |
1480 | game.Debris:AddItem(bv, 1.5) | |
1481 | game.Debris:AddItem(bx, 1.5) | |
1482 | game.Debris:AddItem(bz, 1.5) | |
1483 | game.Debris:AddItem(bB, 1.5) | |
1484 | game.Debris:AddItem(bD, 1.5) | |
1485 | game.Debris:AddItem(bC, 1.5) | |
1486 | game.Debris:AddItem(bF, 1.5) | |
1487 | game.Debris:AddItem(bH, 1.5) | |
1488 | coroutine.resume(coroutine.create(function() | |
1489 | local bJ = aR.CFrame * cf(0, 0, -35) | |
1490 | local bK = aT.CFrame * cf(0, 0, -25) | |
1491 | local bL = hrp.CFrame * cf(0, 0, 20) | |
1492 | local bM = hrp.CFrame * cf(0, 0, 50) | |
1493 | local bN = bz.CFrame * cf(0, 0, -20) | |
1494 | local bO = bB.CFrame * cf(0, 25, 0) | |
1495 | for j = 1, 40 do | |
1496 | swait() | |
1497 | if j < 10 then | |
1498 | hito(aR, 8, 45, 0.3, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
1499 | end | |
1500 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(25)) | |
1501 | aS.Scale = aS.Scale + Vector3.new(0.1, 0.1, 0.12) | |
1502 | aR.Transparency = aR.Transparency + 0.06 | |
1503 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
1504 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
1505 | aT.Transparency = aT.Transparency + 0.04 | |
1506 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
1507 | br.Transparency = br.Transparency + 0.075 | |
1508 | bs.Scale = bs.Scale:lerp(Vector3.new(25, 25, 20), 0.3) | |
1509 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
1510 | bt.Transparency = br.Transparency + 0.05 | |
1511 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
1512 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
1513 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
1514 | if j < 4 then | |
1515 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
1516 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
1517 | else | |
1518 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
1519 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
1520 | end | |
1521 | bv.Transparency = bv.Transparency + 0.02 | |
1522 | bx.Transparency = bx.Transparency + 0.0175 | |
1523 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
1524 | bz.CFrame = bz.CFrame:lerp(bN, 0.4) | |
1525 | bz.Transparency = bz.Transparency + 0.035 | |
1526 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
1527 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
1528 | bB.Transparency = bB.Transparency + 0.0175 | |
1529 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
1530 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
1531 | bD.Transparency = bD.Transparency + 0.03 | |
1532 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
1533 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
1534 | bF.Transparency = bF.Transparency + 0.03 | |
1535 | bH.Transparency = bH.Transparency + 0.03 | |
1536 | end | |
1537 | end)) | |
1538 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
1539 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
1540 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
1541 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1542 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
1543 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1544 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
1545 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1546 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
1547 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1548 | swait() | |
1549 | bq:Destroy() | |
1550 | bp:Destroy() | |
1551 | for I,aO in pairs(H) do | |
1552 | if aO.Parent == rarm or aO.Parent == larm then | |
1553 | aO.Transparency = aN | |
1554 | end | |
1555 | end | |
1556 | for I = 1, 15 do | |
1557 | swait() | |
1558 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
1559 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
1560 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
1561 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1562 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
1563 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1564 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
1565 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1566 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
1567 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1568 | end | |
1569 | for j = 1, 10 do | |
1570 | swait() | |
1571 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1572 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1573 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1574 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1575 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1576 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1577 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1578 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1579 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1580 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1581 | end | |
1582 | resetlerp() | |
1583 | human.WalkSpeed = bf | |
1584 | human.AutoRotate = true | |
1585 | hrp.Anchored = false | |
1586 | if plr.UserId ~= 8488617 then | |
1587 | bazookacool = 50 | |
1588 | end | |
1589 | activu = false | |
1590 | swait(20) | |
1591 | for I,bP in pairs(bj) do | |
1592 | bP:Destroy() | |
1593 | end | |
1594 | bj = nil | |
1595 | wait(9) | |
1596 | bazookacool = 0 | |
1597 | end | |
1598 | ||
1599 | local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
1600 | local cb = false | |
1601 | local cc = false | |
1602 | local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
1603 | giganpist = function() | |
1604 | if selected == false or activu == true then | |
1605 | return | |
1606 | end | |
1607 | activu = true | |
1608 | human.AutoRotate = false | |
1609 | human.PlatformStand = true | |
1610 | local cH = Instance.new("BodyPosition") | |
1611 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
1612 | cH.P = 3000 | |
1613 | cH.Position = hrp.Position | |
1614 | cH.Parent = hrp | |
1615 | local a8 = Instance.new("BodyGyro") | |
1616 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
1617 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1618 | a8.P = 580000 | |
1619 | a8.D = 10000 | |
1620 | a8.Parent = hrp | |
1621 | local cI = true | |
1622 | coroutine.resume(coroutine.create(function() | |
1623 | while cI do | |
1624 | swait() | |
1625 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1626 | end | |
1627 | end)) | |
1628 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
1629 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
1630 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
1631 | for I = 1, 30 do | |
1632 | swait() | |
1633 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
1634 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
1635 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
1636 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1637 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
1638 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1639 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
1640 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1641 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
1642 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1643 | end | |
1644 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
1645 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
1646 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
1647 | for j = 1, 12 do | |
1648 | swait() | |
1649 | ce = 0.01 + j * 0.005 | |
1650 | ch = 0.03 + j * 0.01 | |
1651 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
1652 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
1653 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
1654 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1655 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
1656 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1657 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
1658 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1659 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
1660 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1661 | end | |
1662 | cI = false | |
1663 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
1664 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
1665 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1666 | swait() | |
1667 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
1668 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
1669 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1670 | for j = 1, 38 do | |
1671 | swait() | |
1672 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
1673 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
1674 | if j > 3 and j < 29 then | |
1675 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
1676 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3) | |
1677 | game.Debris:AddItem(a3, 4) | |
1678 | coroutine.resume(coroutine.create(function() | |
1679 | for I = 1, 8 do | |
1680 | swait() | |
1681 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1682 | a3.Transparency = a3.Transparency + 0.1 | |
1683 | end | |
1684 | a3:Destroy() | |
1685 | end)) | |
1686 | local a5 = rd2(1, 2) | |
1687 | if a5 == 2 then | |
1688 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
1689 | else | |
1690 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
1691 | end | |
1692 | end | |
1693 | ce = 0.01 + j * 0.018 | |
1694 | ch = 0.01 + j * 0.008 | |
1695 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
1696 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
1697 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
1698 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1699 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
1700 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1701 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
1702 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1703 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
1704 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1705 | end | |
1706 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
1707 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
1708 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1709 | human.AutoRotate = true | |
1710 | human.PlatformStand = false | |
1711 | a8:Destroy() | |
1712 | cH:Destroy() | |
1713 | activu = false | |
1714 | end | |
1715 | ||
1716 | giganbazooka = function() | |
1717 | if selected == false or activu == true then | |
1718 | return | |
1719 | end | |
1720 | activu = true | |
1721 | human.WalkSpeed = human.WalkSpeed - 11 | |
1722 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
1723 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
1724 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
1725 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
1726 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
1727 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
1728 | for I = 1, 40 do | |
1729 | swait() | |
1730 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
1731 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
1732 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
1733 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1734 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
1735 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1736 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
1737 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1738 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
1739 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1740 | end | |
1741 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
1742 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
1743 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
1744 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
1745 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
1746 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
1747 | human.AutoRotate = false | |
1748 | for j = 1, 12 do | |
1749 | swait() | |
1750 | ce = 0.01 + j * 0.005 | |
1751 | ch = 0.03 + j * 0.01 | |
1752 | cu = 0.01 + j * 0.005 | |
1753 | cw = 0.03 + j * 0.005 | |
1754 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
1755 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
1756 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
1757 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1758 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
1759 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1760 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
1761 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1762 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
1763 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1764 | end | |
1765 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
1766 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
1767 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1768 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
1769 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
1770 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
1771 | swait() | |
1772 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
1773 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
1774 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1775 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
1776 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
1777 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
1778 | for j = 1, 48 do | |
1779 | swait() | |
1780 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
1781 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
1782 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
1783 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
1784 | if j > 4 and j < 29 then | |
1785 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
1786 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3) | |
1787 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90))) | |
1788 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ) | |
1789 | game.Debris:AddItem(a3, 4) | |
1790 | coroutine.resume(coroutine.create(function() | |
1791 | for I = 1, 8 do | |
1792 | swait() | |
1793 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1794 | a3.Transparency = a3.Transparency + 0.1 | |
1795 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1796 | cJ.Transparency = cJ.Transparency + 0.1 | |
1797 | end | |
1798 | a3:Destroy() | |
1799 | cJ:Destroy() | |
1800 | end)) | |
1801 | local a5 = rd2(1, 2) | |
1802 | if a5 == 2 then | |
1803 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
1804 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
1805 | else | |
1806 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
1807 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
1808 | end | |
1809 | end | |
1810 | ce = 0.01 + j * 0.018 | |
1811 | ch = 0.01 + j * 0.008 | |
1812 | cu = 0.01 + j * 0.018 | |
1813 | cw = 0.01 + j * 0.008 | |
1814 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
1815 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
1816 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
1817 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1818 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
1819 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1820 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
1821 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1822 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
1823 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1824 | end | |
1825 | human.WalkSpeed = human.WalkSpeed + 11 | |
1826 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
1827 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
1828 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1829 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
1830 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
1831 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
1832 | human.AutoRotate = true | |
1833 | activu = false | |
1834 | end | |
1835 | ||
1836 | gigangatl = function() | |
1837 | if selected == false or activu == true or g3lim < 4 then | |
1838 | return | |
1839 | end | |
1840 | activu = true | |
1841 | human.AutoRotate = false | |
1842 | human.PlatformStand = true | |
1843 | local cH = Instance.new("BodyPosition") | |
1844 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
1845 | cH.P = 3000 | |
1846 | cH.Position = hrp.Position | |
1847 | cH.Parent = hrp | |
1848 | local a8 = Instance.new("BodyGyro") | |
1849 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
1850 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1851 | a8.P = 580000 | |
1852 | a8.D = 10000 | |
1853 | a8.Parent = hrp | |
1854 | local cI = true | |
1855 | coroutine.resume(coroutine.create(function() | |
1856 | while cI do | |
1857 | swait() | |
1858 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1859 | end | |
1860 | end)) | |
1861 | local ae = tool.Deactivated:connect(function() | |
1862 | cI = false | |
1863 | end) | |
1864 | local cL = {} | |
1865 | for I,cM in pairs(chr:GetChildren()) do | |
1866 | if cM == rarm or cM == larm then | |
1867 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM) | |
1868 | table.insert(cL, cN) | |
1869 | for I,cO in pairs(cM:GetChildren()) do | |
1870 | do | |
1871 | if cO:IsA("Part") and cO.Transparency ~= 1 then | |
1872 | do | |
1873 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO) | |
1874 | table.insert(cL, cN) | |
1875 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1876 | ||
1877 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
1878 | ||
1879 | end | |
1880 | end | |
1881 | end | |
1882 | end | |
1883 | end | |
1884 | end | |
1885 | local cP = {} | |
1886 | local cQ = {} | |
1887 | local cR = {} | |
1888 | for j = 1, 10 do | |
1889 | local cS = nil | |
1890 | if j % 2 == 0 then | |
1891 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1892 | cS.Color = bR.Color | |
1893 | cS.Reflectance = bR.Reflectance | |
1894 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
1895 | else | |
1896 | if j % 2 == 1 then | |
1897 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1898 | cS.Color = bW.Color | |
1899 | cS.Reflectance = bW.Reflectance | |
1900 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
1901 | end | |
1902 | end | |
1903 | local ad = Instance.new("Sound") | |
1904 | ad.Volume = 1 | |
1905 | ad.Pitch = math.random(4, 6) / 10 | |
1906 | ad.SoundId = "rbxassetid://144508058" | |
1907 | ad.Parent = cS | |
1908 | table.insert(cP, cS) | |
1909 | end | |
1910 | for j = 1, 10 do | |
1911 | local cS = nil | |
1912 | if j % 2 == 0 then | |
1913 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1914 | cS.Color = bU.Color | |
1915 | cS.Reflectance = bU.Reflectance | |
1916 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS) | |
1917 | else | |
1918 | if j % 2 == 1 then | |
1919 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1920 | cS.Color = bZ.Color | |
1921 | cS.Reflectance = bZ.Reflectance | |
1922 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS) | |
1923 | end | |
1924 | end | |
1925 | table.insert(cQ, cS) | |
1926 | end | |
1927 | for j = 1, 10 do | |
1928 | local cS = nil | |
1929 | if j % 2 == 0 then | |
1930 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1931 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
1932 | else | |
1933 | if j % 2 == 1 then | |
1934 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1935 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
1936 | end | |
1937 | end | |
1938 | table.insert(cR, cS) | |
1939 | end | |
1940 | local ag = 0 | |
1941 | local af = 0 | |
1942 | local cT = 14 | |
1943 | resetlerp() | |
1944 | coroutine.resume(coroutine.create(function() | |
1945 | local cU = 0 | |
1946 | while cI do | |
1947 | swait() | |
1948 | cU = cU + 1 | |
1949 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
1950 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
1951 | end | |
1952 | end)) | |
1953 | repeat | |
1954 | ag = ag + 1 | |
1955 | if af == 0 then | |
1956 | af = 1 | |
1957 | else | |
1958 | af = af % 10 + 1 | |
1959 | end | |
1960 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
1961 | cP[af].Transparency = 0.75 | |
1962 | cQ[af].Transparency = 0.75 | |
1963 | cR[af].Transparency = 0.75 | |
1964 | cT = 11 | |
1965 | else | |
1966 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
1967 | cP[af].Transparency = 0.5 | |
1968 | cQ[af].Transparency = 0.5 | |
1969 | cR[af].Transparency = 0.5 | |
1970 | cT = 8 | |
1971 | else | |
1972 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
1973 | cP[af].Transparency = 0.25 | |
1974 | cQ[af].Transparency = 0.25 | |
1975 | cR[af].Transparency = 0.25 | |
1976 | cT = 5 | |
1977 | else | |
1978 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
1979 | cP[af].Transparency = 0 | |
1980 | cQ[af].Transparency = 0 | |
1981 | cR[af].Transparency = 0 | |
1982 | cT = 3 | |
1983 | end | |
1984 | end | |
1985 | end | |
1986 | end | |
1987 | cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10)) | |
1988 | if (af) % 2 == 0 then | |
1989 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1990 | else | |
1991 | if (af) % 2 == 1 then | |
1992 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
1993 | end | |
1994 | end | |
1995 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50) | |
1996 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
1997 | coroutine.resume(coroutine.create(function() | |
1998 | local cV = af | |
1999 | local cW = cP[af] | |
2000 | local cX = cQ[af] | |
2001 | local cY = cR[af] | |
2002 | local cZ = 10 | |
2003 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10 | |
2004 | cW:FindFirstChildOfClass("Sound"):Play() | |
2005 | for j = 1, 30 do | |
2006 | swait() | |
2007 | if j < 20 then | |
2008 | local a5 = rd2(1, 3) | |
2009 | if a5 == 2 then | |
2010 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
2011 | else | |
2012 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
2013 | end | |
2014 | end | |
2015 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
2016 | if cV % 2 == 0 then | |
2017 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2018 | else | |
2019 | if cV % 2 == 1 then | |
2020 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
2021 | end | |
2022 | end | |
2023 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
2024 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5) | |
2025 | cZ = cZ - 0.45 | |
2026 | end | |
2027 | end)) | |
2028 | swait(cT) | |
2029 | until ag > 10 | |
2030 | cI = false | |
2031 | ae:Disconnect() | |
2032 | cH:Destroy() | |
2033 | a8:Destroy() | |
2034 | for I,c_ in pairs(cL) do | |
2035 | c_:Destroy() | |
2036 | end | |
2037 | for I,d0 in pairs(cP) do | |
2038 | coroutine.resume(coroutine.create(function() | |
2039 | for I = 1, 10 do | |
2040 | swait() | |
2041 | d0.Transparency = d0.Transparency + 0.1 | |
2042 | end | |
2043 | d0:Destroy() | |
2044 | end)) | |
2045 | end | |
2046 | for I,d0 in pairs(cQ) do | |
2047 | coroutine.resume(coroutine.create(function() | |
2048 | for I = 1, 10 do | |
2049 | swait() | |
2050 | d0.Transparency = d0.Transparency + 0.1 | |
2051 | end | |
2052 | d0:Destroy() | |
2053 | end)) | |
2054 | end | |
2055 | for I,d0 in pairs(cR) do | |
2056 | coroutine.resume(coroutine.create(function() | |
2057 | for I = 1, 10 do | |
2058 | swait() | |
2059 | d0.Transparency = d0.Transparency + 0.1 | |
2060 | end | |
2061 | d0:Destroy() | |
2062 | end)) | |
2063 | end | |
2064 | human.AutoRotate = true | |
2065 | human.PlatformStand = false | |
2066 | activu = false | |
2067 | end | |
2068 | ||
2069 | gear2change = function() | |
2070 | if selected == false or activu == true then | |
2071 | return | |
2072 | end | |
2073 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
2074 | activu = true | |
2075 | g.Enabled = false | |
2076 | human.AutoRotate = false | |
2077 | hrp.Anchored = true | |
2078 | human.WalkSpeed = 0 | |
2079 | local d1 = Instance.new("Sound") | |
2080 | d1.EmitterSize = 10 | |
2081 | d1.Volume = 4 | |
2082 | d1.SoundId = "rbxassetid://255289910" | |
2083 | d1.Parent = hrp | |
2084 | d1:Play() | |
2085 | game.Debris:AddItem(d1, 5) | |
2086 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
2087 | d2.Anchored = false | |
2088 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2) | |
2089 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
2090 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
2091 | d5.Anchored = false | |
2092 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5) | |
2093 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
2094 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
2095 | d8.Anchored = false | |
2096 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8) | |
2097 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
2098 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
2099 | db.Anchored = false | |
2100 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db) | |
2101 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
2102 | animo(false) | |
2103 | cam.CameraType = "Scriptable" | |
2104 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
2105 | for I = 1, 35 do | |
2106 | do | |
2107 | swait() | |
2108 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
2109 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
2110 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
2111 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
2112 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
2113 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
2114 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
2115 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
2116 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
2117 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
2118 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
2119 | end | |
2120 | end | |
2121 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
2122 | for I = 1, 25 do | |
2123 | swait() | |
2124 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
2125 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
2126 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2127 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2128 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
2129 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
2130 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2131 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2132 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2133 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
2134 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2135 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2136 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
2137 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2138 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2139 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2140 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2141 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2142 | end | |
2143 | d1.TimePosition = 1.4 | |
2144 | for I = 1, 3 do | |
2145 | swait() | |
2146 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2147 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2148 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2149 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2150 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2151 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2152 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2153 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2154 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2155 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
2156 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2157 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2158 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
2159 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2160 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2161 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2162 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2163 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2164 | end | |
2165 | for I = 1, 10 do | |
2166 | swait() | |
2167 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2168 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2169 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2170 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2171 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2172 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2173 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2174 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2175 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2176 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
2177 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2178 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2179 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
2180 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2181 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2182 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2183 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2184 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2185 | end | |
2186 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
2187 | swait(8) | |
2188 | d2:Destroy() | |
2189 | d5:Destroy() | |
2190 | d8:Destroy() | |
2191 | db:Destroy() | |
2192 | for j = 1, #H do | |
2193 | coroutine.resume(coroutine.create(function() | |
2194 | local de = H[j] | |
2195 | for I = 1, 16 do | |
2196 | swait() | |
2197 | de.Transparency = de.Transparency - 0.009375 | |
2198 | de.pe.Enabled = true | |
2199 | if de:FindFirstChild("ss") then | |
2200 | de:FindFirstChild("ss"):Play() | |
2201 | end | |
2202 | end | |
2203 | swait(120) | |
2204 | end)) | |
2205 | end | |
2206 | d1.TimePosition = 4.1 | |
2207 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
2208 | swait(8) | |
2209 | for j = 1, 35 do | |
2210 | swait() | |
2211 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2212 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
2213 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2214 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2215 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
2216 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2217 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2218 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2219 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2220 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2221 | end | |
2222 | cam.CameraType = "Custom" | |
2223 | animo(true) | |
2224 | human.WalkSpeed = 28 | |
2225 | human.JumpPower = 60 | |
2226 | hrp.Anchored = false | |
2227 | human.AutoRotate = true | |
2228 | head:FindFirstChildOfClass("Decal").Texture = d | |
2229 | for I = 1, 6 do | |
2230 | swait() | |
2231 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2232 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2233 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2234 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2235 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2236 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2237 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2238 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2239 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2240 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2241 | end | |
2242 | resetlerp() | |
2243 | dagear = 2 | |
2244 | g.Enabled = true | |
2245 | activu = false | |
2246 | else | |
2247 | do | |
2248 | if dagear == 2 then | |
2249 | activu = true | |
2250 | for j = 1, #H do | |
2251 | coroutine.resume(coroutine.create(function() | |
2252 | local de = H[j] | |
2253 | local df = nil | |
2254 | if de:FindFirstChild("ss") then | |
2255 | df = de:FindFirstChild("ss") | |
2256 | end | |
2257 | for I = 1, 16 do | |
2258 | swait() | |
2259 | de.Transparency = de.Transparency + 0.009375 | |
2260 | de.pe.Rate = de.pe.Rate - 1 | |
2261 | if de:FindFirstChild("ss") then | |
2262 | df.Volume = df.Volume - 0.03125 | |
2263 | end | |
2264 | end | |
2265 | de.pe.Rate = 20 | |
2266 | de.pe.Enabled = false | |
2267 | if de:FindFirstChild("ss") then | |
2268 | df:Stop() | |
2269 | df.Volume = 0.5 | |
2270 | end | |
2271 | end)) | |
2272 | end | |
2273 | human.WalkSpeed = 16 | |
2274 | human.JumpPower = 50 | |
2275 | dagear = 1 | |
2276 | activu = false | |
2277 | end | |
2278 | end | |
2279 | end | |
2280 | end | |
2281 | ||
2282 | gear3change = function() | |
2283 | if selected == false or activu == true then | |
2284 | return | |
2285 | end | |
2286 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
2287 | activu = true | |
2288 | g.Enabled = false | |
2289 | human.AutoRotate = false | |
2290 | hrp.Anchored = true | |
2291 | human.WalkSpeed = 0 | |
2292 | animo(false) | |
2293 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2294 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2295 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR) | |
2296 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2297 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS) | |
2298 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2299 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT) | |
2300 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2301 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU) | |
2302 | cam.CameraType = "Scriptable" | |
2303 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
2304 | for I = 1, 26 do | |
2305 | swait() | |
2306 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2307 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
2308 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
2309 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2310 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
2311 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2312 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
2313 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2314 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
2315 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2316 | end | |
2317 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082" | |
2318 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
2319 | for j = 1, 37 do | |
2320 | swait() | |
2321 | local dg = rd2(-80, 80) / (38 - j) | |
2322 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
2323 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
2324 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
2325 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2326 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
2327 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2328 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
2329 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2330 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
2331 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2332 | end | |
2333 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406" | |
2334 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
2335 | for I = 1, 15 do | |
2336 | swait() | |
2337 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
2338 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
2339 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
2340 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2341 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
2342 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2343 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
2344 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2345 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
2346 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2347 | end | |
2348 | bQ.Transparency = 1 | |
2349 | bR.Transparency = 0 | |
2350 | bS.Transparency = 0 | |
2351 | bT.Transparency = 0 | |
2352 | bU.Transparency = 0 | |
2353 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2354 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2355 | c7 = (bQ.Position - rarm.Position).magnitude | |
2356 | c8 = (bR.Position - bQ.Position).magnitude | |
2357 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
2358 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
2359 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
2360 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
2361 | for I = 1, 50 do | |
2362 | swait() | |
2363 | c7 = (bQ.Position - rarm.Position).magnitude | |
2364 | c8 = (bR.Position - bQ.Position).magnitude | |
2365 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
2366 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
2367 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
2368 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
2369 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
2370 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
2371 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
2372 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
2373 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
2374 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
2375 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
2376 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
2377 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
2378 | end | |
2379 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2380 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
2381 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2382 | ck = Vector3.new(60, 70, 60) | |
2383 | cm = 3.5 | |
2384 | co = 5 | |
2385 | cj = 0.3--speed of hand | |
2386 | cq = Vector3.new(0.16, 0.16, 0.16) | |
2387 | cb = true | |
2388 | coroutine.resume(coroutine.create(function() | |
2389 | while cb == true do | |
2390 | swait2() | |
2391 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
2392 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
2393 | c7 = (bQ.Position - rarm.Position).magnitude | |
2394 | c8 = (bR.Position - bQ.Position).magnitude | |
2395 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
2396 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
2397 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
2398 | b_.Scale = b_.Scale:lerp(ck, cl) | |
2399 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
2400 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
2401 | c2.Scale = c2.Scale:lerp(cq, cr) | |
2402 | end | |
2403 | end)) | |
2404 | print("bless the meme") | |
2405 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
2406 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
2407 | for j = 1, 80 do | |
2408 | swait() | |
2409 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
2410 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
2411 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
2412 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2413 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
2414 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2415 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
2416 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2417 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
2418 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2419 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
2420 | end | |
2421 | head:FindFirstChildOfClass("Decal").Texture = d | |
2422 | cam.CameraType = "Custom" | |
2423 | dagear = 3 | |
2424 | human.AutoRotate = true | |
2425 | hrp.Anchored = false | |
2426 | human.WalkSpeed = 12 | |
2427 | g.Enabled = true | |
2428 | activu = false | |
2429 | --fixing the hand movement | |
2430 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
2431 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
2432 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
2433 | ce = 0.01 | |
2434 | ch = 0.01 | |
2435 | cd = cf() | |
2436 | cg = cf() | |
2437 | for j = 1, 38 do | |
2438 | --swait() | |
2439 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
2440 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
2441 | ce = 0.01 + j * 0.018 | |
2442 | ch = 0.01 + j * 0.008 | |
2443 | end | |
2444 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2445 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
2446 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2447 | --done fixing hand xd | |
2448 | elseif dagear == 3 then | |
2449 | activu = true | |
2450 | human.WalkSpeed = 0 | |
2451 | human.AutoRotate = false | |
2452 | hrp.Anchored = true | |
2453 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2454 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2455 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
2456 | ck = Vector3.new(0, 1, 0) | |
2457 | cm = 0 | |
2458 | co = 0 | |
2459 | cq = Vector3.new(0, 1, 0) | |
2460 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2461 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2462 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
2463 | cz = Vector3.new(0, 1, 0) | |
2464 | cB = 0 | |
2465 | cD = 0 | |
2466 | cF = Vector3.new(0, 1, 0) | |
2467 | for j = 1, 40 do | |
2468 | swait() | |
2469 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
2470 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
2471 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
2472 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2473 | if g32hand then | |
2474 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
2475 | else | |
2476 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
2477 | end | |
2478 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2479 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
2480 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2481 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
2482 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2483 | end | |
2484 | cb = false | |
2485 | cc = false | |
2486 | bQ:Destroy() | |
2487 | bR:Destroy() | |
2488 | bS:Destroy() | |
2489 | bT:Destroy() | |
2490 | bU:Destroy() | |
2491 | if g32hand then | |
2492 | bV:Destroy() | |
2493 | bW:Destroy() | |
2494 | bX:Destroy() | |
2495 | bY:Destroy() | |
2496 | bZ:Destroy() | |
2497 | end | |
2498 | for I = 1, 13 do | |
2499 | swait() | |
2500 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2501 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2502 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2503 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2504 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2505 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2506 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2507 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2508 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2509 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2510 | end | |
2511 | resetlerp() | |
2512 | animo(true) | |
2513 | human.WalkSpeed = 16 | |
2514 | dagear = 1 | |
2515 | g32hand = false | |
2516 | human.AutoRotate = true | |
2517 | hrp.Anchored = false | |
2518 | activu = false | |
2519 | end | |
2520 | --a8:Destroy() | |
2521 | --cH:Destroy() | |
2522 | activu = false | |
2523 | end | |
2524 | ||
2525 | g3twohand = function() | |
2526 | if selected == false or activu == true then | |
2527 | return | |
2528 | end | |
2529 | if not g32hand then | |
2530 | activu = true | |
2531 | local bf = human.WalkSpeed | |
2532 | human.WalkSpeed = 0 | |
2533 | cc = true | |
2534 | g.Enabled = false | |
2535 | human.AutoRotate = false | |
2536 | hrp.Anchored = true | |
2537 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame) | |
2538 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2539 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW) | |
2540 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2541 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX) | |
2542 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2543 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY) | |
2544 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2545 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ) | |
2546 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
2547 | dh.Anchored = false | |
2548 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh) | |
2549 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
2550 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
2551 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
2552 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2553 | for I = 1, 25 do | |
2554 | swait() | |
2555 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
2556 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2557 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2558 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
2559 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2560 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
2561 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2562 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
2563 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2564 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
2565 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2566 | end | |
2567 | bW.Transparency = 0 | |
2568 | bX.Transparency = 0 | |
2569 | bY.Transparency = 0 | |
2570 | bZ.Transparency = 0 | |
2571 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2572 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2573 | c9 = (bV.Position - larm.Position).magnitude | |
2574 | ca = (bW.Position - bV.Position).magnitude | |
2575 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
2576 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
2577 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
2578 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2579 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
2580 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2581 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2582 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
2583 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
2584 | cz = Vector3.new(60, 70, 60) | |
2585 | cB = 3.5 | |
2586 | cD = 5 | |
2587 | cF = Vector3.new(0.16, 0.16, 0.16) | |
2588 | cC = 0.3 | |
2589 | cE = 0.3 | |
2590 | cy = 0.3 | |
2591 | cu = 0.3 | |
2592 | cw = 0.3 | |
2593 | cA = 0.3 | |
2594 | cG = 0.3 | |
2595 | coroutine.resume(coroutine.create(function() | |
2596 | while cc == true do | |
2597 | swait2() | |
2598 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
2599 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
2600 | c9 = (bV.Position - larm.Position).magnitude | |
2601 | ca = (bW.Position - bV.Position).magnitude | |
2602 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
2603 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
2604 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
2605 | c3.Scale = c3.Scale:lerp(cz, cA) | |
2606 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
2607 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
2608 | c6.Scale = c6.Scale:lerp(cF, cG) | |
2609 | end | |
2610 | end)) | |
2611 | for I = 1, 30 do | |
2612 | swait() | |
2613 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
2614 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
2615 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
2616 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
2617 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2618 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
2619 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2620 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
2621 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2622 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
2623 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2624 | end | |
2625 | dh:Destroy() | |
2626 | human.WalkSpeed = bf | |
2627 | hrp.Anchored = false | |
2628 | human.AutoRotate = true | |
2629 | g.Enabled = true | |
2630 | g32hand = true | |
2631 | activu = false | |
2632 | end | |
2633 | end | |
2634 | ||
2635 | busolelel = function() | |
2636 | if activu == true or selected == false then | |
2637 | return | |
2638 | end | |
2639 | if dagear == 3 then | |
2640 | if bR.Reflectance <= 0 then | |
2641 | selected = false | |
2642 | local dk = Instance.new("Sound") | |
2643 | dk.SoundId = "rbxassetid://315030459" | |
2644 | dk.Volume = 1.25 | |
2645 | dk.TimePosition = 0.22 | |
2646 | dk.Pitch = 1.03 | |
2647 | dk.Parent = tors | |
2648 | game.Debris:AddItem(dk, 3) | |
2649 | dk:Play() | |
2650 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
2651 | ck = Vector3.new(70, 80, 70) | |
2652 | cq = Vector3.new(0.19, 0.19, 0.19) | |
2653 | cz = Vector3.new(70, 80, 70) | |
2654 | cF = Vector3.new(0.19, 0.19, 0.19) | |
2655 | for I = 1, 20 do | |
2656 | swait() | |
2657 | bR.Reflectance = bR.Reflectance + 0.02 | |
2658 | bR.Color = bR.Color:lerp(dl, 0.15) | |
2659 | bU.Reflectance = bU.Reflectance + 0.02 | |
2660 | bU.Color = bU.Color:lerp(dl, 0.15) | |
2661 | if g32hand then | |
2662 | bW.Reflectance = bW.Reflectance + 0.02 | |
2663 | bW.Color = bW.Color:lerp(dl, 0.15) | |
2664 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
2665 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
2666 | end | |
2667 | end | |
2668 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
2669 | ck = Vector3.new(60, 70, 60) | |
2670 | cq = Vector3.new(0.16, 0.16, 0.16) | |
2671 | cz = Vector3.new(60, 70, 60) | |
2672 | cF = Vector3.new(0.16, 0.16, 0.16) | |
2673 | for I = 1, 20 do | |
2674 | swait() | |
2675 | bR.Reflectance = bR.Reflectance - 0.01 | |
2676 | bR.Color = bR.Color:lerp(dl, 0.15) | |
2677 | bU.Reflectance = bU.Reflectance - 0.01 | |
2678 | bU.Color = bU.Color:lerp(dl, 0.15) | |
2679 | if g32hand then | |
2680 | bW.Reflectance = bW.Reflectance - 0.01 | |
2681 | bW.Color = bW.Color:lerp(dl, 0.15) | |
2682 | bZ.Reflectance = bW.Reflectance - 0.01 | |
2683 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
2684 | end | |
2685 | end | |
2686 | bR.Color = dl | |
2687 | bU.Color = dl | |
2688 | if g32hand then | |
2689 | bW.Color = dl | |
2690 | bZ.Color = dl | |
2691 | end | |
2692 | selected = true | |
2693 | else | |
2694 | do | |
2695 | selected = false | |
2696 | for I = 1, 20 do | |
2697 | swait() | |
2698 | bR.Reflectance = bR.Reflectance - 0.01 | |
2699 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
2700 | bU.Reflectance = bU.Reflectance - 0.01 | |
2701 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
2702 | if g32hand then | |
2703 | bW.Reflectance = bW.Reflectance - 0.01 | |
2704 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
2705 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
2706 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
2707 | end | |
2708 | end | |
2709 | bR.Color = rarm.Color | |
2710 | bU.Color = rarm.Color | |
2711 | bR.Reflectance = 0 | |
2712 | bU.Reflectance = 0 | |
2713 | if g32hand then | |
2714 | bW.Color = larm.Color | |
2715 | bZ.Color = larm.Color | |
2716 | bW.Reflectance = 0 | |
2717 | bZ.Reflectance = 0 | |
2718 | end | |
2719 | selected = true | |
2720 | end | |
2721 | end | |
2722 | end | |
2723 | end | |
2724 | ||
2725 | hito = function(dm, X, c, dn, dp, dq) | |
2726 | for I,dr in pairs(workspace:GetChildren()) do | |
2727 | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
2728 | local ds = dr:FindFirstChild("Humanoid") | |
2729 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
2730 | TakeDamage(ds, c) | |
2731 | ds:SetStateEnabled(16, true) | |
2732 | delay(dn, function() | |
2733 | ds:SetStateEnabled(16, true) | |
2734 | end) | |
2735 | local du = Instance.new("StringValue") | |
2736 | du.Name = "alabo" | |
2737 | du.Parent = dt | |
2738 | game.Debris:AddItem(du, dn) | |
2739 | local dv = Instance.new("Part") | |
2740 | nooutline(dv) | |
2741 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
2742 | dv.Transparency = 0.25 | |
2743 | dv.Anchored = true | |
2744 | dv.CanCollide = false | |
2745 | dv.BrickColor = BrickColor.new("Institutional white") | |
2746 | dv.Locked = true | |
2747 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
2748 | dv.Parent = modz | |
2749 | local dw = Instance.new("SpecialMesh") | |
2750 | dw.MeshType = "Sphere" | |
2751 | dw.Scale = Vector3.new(3.5, 3.5, 3.5) | |
2752 | dw.Parent = dv | |
2753 | game.Debris:AddItem(dv, 1) | |
2754 | local dx = Instance.new("Model") | |
2755 | dx.Name = c | |
2756 | dx.Parent = workspace | |
2757 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
2758 | local dy = Instance.new("Humanoid") | |
2759 | dy.MaxHealth = 0 | |
2760 | dy.Parent = dx | |
2761 | local dz = Instance.new("Part") | |
2762 | dz.Name = "Head" | |
2763 | dz.Locked = true | |
2764 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
2765 | dz.Position = dt.Position | |
2766 | dz.BrickColor = BrickColor.new("Bright red") | |
2767 | dz.CanCollide = false | |
2768 | dz.Parent = dx | |
2769 | local dA = Instance.new("BodyPosition") | |
2770 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2771 | dA.P = 20000 | |
2772 | dA.D = 300 | |
2773 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
2774 | dA.Parent = dz | |
2775 | local dB = Instance.new("CylinderMesh") | |
2776 | dB.Parent = dz | |
2777 | coroutine.resume(coroutine.create(function() | |
2778 | while dB do | |
2779 | swait() | |
2780 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
2781 | end | |
2782 | end)) | |
2783 | if dp then | |
2784 | local dC = Instance.new("BodyVelocity") | |
2785 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
2786 | dC.P = 9999999999 | |
2787 | dC.Velocity = dp | |
2788 | dC.Parent = dt | |
2789 | game.Debris:AddItem(dC, dn) | |
2790 | end | |
2791 | if dq then | |
2792 | local dD = Instance.new("BodyAngularVelocity") | |
2793 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
2794 | dD.P = math.huge | |
2795 | dD.AngularVelocity = dq | |
2796 | dD.Parent = dt | |
2797 | game.Debris:AddItem(dD, dn) | |
2798 | end | |
2799 | local dE = Instance.new("Sound") | |
2800 | dE.Pitch = rd2(10, 11) / 10 | |
2801 | dE.Volume = rd2(10, 13) / 10 | |
2802 | dE.EmitterSize = 10 | |
2803 | dE.SoundId = "rbxassetid://294188918" | |
2804 | dE.Parent = dv | |
2805 | dE:Play() | |
2806 | coroutine.resume(coroutine.create(function() | |
2807 | for I = 1, 5 do | |
2808 | swait() | |
2809 | dv.Transparency = dv.Transparency + 0.175 | |
2810 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
2811 | end | |
2812 | end)) | |
2813 | end | |
2814 | end | |
2815 | end | |
2816 | ||
2817 | animo = function(dF) | |
2818 | if anim then | |
2819 | if dF == true then | |
2820 | anim.Parent = human | |
2821 | chr.Animate.Disabled = false | |
2822 | elseif dF == false then | |
2823 | chr.Animate.Disabled = true | |
2824 | anim.Parent = nil | |
2825 | end | |
2826 | end | |
2827 | end | |
2828 | ||
2829 | local dG = function(dH, dv, dw, aO, dI, i) | |
2830 | if dH == 0 then | |
2831 | return dv | |
2832 | end | |
2833 | dH = dH / aO | |
2834 | if dH == 1 then | |
2835 | return dv + dw | |
2836 | end | |
2837 | if not i then | |
2838 | i = aO * 0.3 | |
2839 | end | |
2840 | local h = nil | |
2841 | if not dI or dI < math.abs(dw) then | |
2842 | dI = dw | |
2843 | h = i / 4 | |
2844 | else | |
2845 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
2846 | end | |
2847 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
2848 | end | |
2849 | ||
2850 | local dJ = false | |
2851 | updateguimode = function() | |
2852 | local dK = function(dL, dM, dH) | |
2853 | return (1 - dH) * dL + dH * dM | |
2854 | end | |
2855 | ||
2856 | local dN, dO = nil, nil | |
2857 | if dagear == 1 then | |
2858 | dN = "Rubber" | |
2859 | elseif dagear == 2 then | |
2860 | dN = "Jet" | |
2861 | elseif dagear == 3 then | |
2862 | dN = "Gigant" | |
2863 | end | |
2864 | if rubbermodo == 0 then | |
2865 | dO = "Pistol" | |
2866 | elseif rubbermodo == 1 then | |
2867 | dO = "Gatling" | |
2868 | elseif rubbermodo == 2 then | |
2869 | dO = "Bazooka" | |
2870 | elseif rubbermodo == 3 then | |
2871 | dO = "Rocket" | |
2872 | end | |
2873 | g.Main.Base.Mode.Text = "MODE: " .. dN .. " " .. dO | |
2874 | if dJ == false then | |
2875 | dJ = true | |
2876 | elseif dJ == true then | |
2877 | dJ = false | |
2878 | swait() | |
2879 | dJ = true | |
2880 | end | |
2881 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do | |
2882 | if not dJ then | |
2883 | break | |
2884 | end | |
2885 | game:GetService("RunService").RenderStepped:wait() | |
2886 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
2887 | end | |
2888 | end | |
2889 | - | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) |
2889 | + | |
2890 | mouse.KeyDown:connect(function(dP) | |
2891 | if dP == "q" and activu == false then | |
2892 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
2893 | rubbermodo = 0 | |
2894 | else | |
2895 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
2896 | rubbermodo = 1 | |
2897 | else | |
2898 | if rubbermodo == 0 then | |
2899 | rubbermodo = 1 | |
2900 | else | |
2901 | if rubbermodo == 1 then | |
2902 | rubbermodo = 2 | |
2903 | else | |
2904 | if rubbermodo == 2 then | |
2905 | rubbermodo = 3 | |
2906 | else | |
2907 | rubbermodo = 0 | |
2908 | end | |
2909 | end | |
2910 | end | |
2911 | end | |
2912 | end | |
2913 | updateguimode() | |
2914 | else | |
2915 | if dP == "e" and activu == false then | |
2916 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
2917 | rubbermodo = 0 | |
2918 | else | |
2919 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
2920 | rubbermodo = 1 | |
2921 | else | |
2922 | if dagear == 1 then | |
2923 | if rubbermodo == 1 then | |
2924 | rubbermodo = 0 | |
2925 | else | |
2926 | if rubbermodo == 2 then | |
2927 | rubbermodo = 1 | |
2928 | else | |
2929 | if rubbermodo == 3 then | |
2930 | rubbermodo = 2 | |
2931 | else | |
2932 | if rubbermodo <= 0 then | |
2933 | rubbermodo = 3 | |
2934 | end | |
2935 | end | |
2936 | end | |
2937 | end | |
2938 | else | |
2939 | if rubbermodo == 1 then | |
2940 | rubbermodo = 0 | |
2941 | else | |
2942 | rubbermodo = 1 | |
2943 | end | |
2944 | end | |
2945 | end | |
2946 | end | |
2947 | updateguimode() | |
2948 | else | |
2949 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
2950 | gear2change() | |
2951 | rubbermodo = 0 | |
2952 | updateguimode() | |
2953 | else | |
2954 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
2955 | gear3change() | |
2956 | rubbermodo = 0 | |
2957 | updateguimode() | |
2958 | else | |
2959 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
2960 | g3twohand() | |
2961 | rubbermodo = 2 | |
2962 | updateguimode() | |
2963 | else | |
2964 | if dP == "b" and plr.UserId == 8488617 then | |
2965 | busolelel() | |
2966 | end | |
2967 | end | |
2968 | end | |
2969 | end | |
2970 | end | |
2971 | end | |
2972 | end) | |
2973 | ]] | |
2974 | owner:GetMouse().KeyDown:connect(function(dP) | |
2975 | if dP == "q" and activu == false then -- Does nothing? | |
2976 | if dagear == 2 and rubbermodo > 1 then | |
2977 | rubbermodo = 0 | |
2978 | elseif dagear == 3 and g32hand and rubbermodo > 1 then | |
2979 | rubbermodo = 1 | |
2980 | elseif rubbermodo == 0 then | |
2981 | rubbermodo = 1 | |
2982 | elseif rubbermodo == 1 then | |
2983 | rubbermodo = 2 | |
2984 | elseif rubbermodo == 2 then | |
2985 | rubbermodo = 3 | |
2986 | else | |
2987 | rubbermodo = 0 | |
2988 | end | |
2989 | updateguimode() | |
2990 | end | |
2991 | if dP == "f" and activu == false then | |
2992 | gear2change() | |
2993 | rubbermodo = 0 | |
2994 | updateguimode() | |
2995 | end | |
2996 | if dP == "t" and activu == false and dagear == 3 then | |
2997 | g3twohand() | |
2998 | rubbermodo = 2 | |
2999 | updateguimode() | |
3000 | end | |
3001 | if dP == "j" and activu == false then | |
3002 | gear3change() | |
3003 | rubbermodo = 0 | |
3004 | updateguimode() | |
3005 | end | |
3006 | if dP == "b" and plr.UserId == 8488617 then | |
3007 | busolelel() | |
3008 | end | |
3009 | end) | |
3010 | tool.Activated:connect(function() | |
3011 | if human.Health <= 0 then | |
3012 | return | |
3013 | end | |
3014 | if dagear == 1 then | |
3015 | if rubbermodo == 0 then | |
3016 | shoot() | |
3017 | elseif rubbermodo == 1 then | |
3018 | gatling() | |
3019 | elseif rubbermodo == 2 then | |
3020 | bazooka() | |
3021 | elseif rubbermodo == 3 then | |
3022 | rocket() | |
3023 | end | |
3024 | elseif dagear == 2 then | |
3025 | if rubbermodo == 0 then | |
3026 | jetpunch() | |
3027 | elseif rubbermodo == 1 then | |
3028 | jetgat() | |
3029 | elseif rubbermodo == 2 then | |
3030 | jetbazoo() | |
3031 | end | |
3032 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
3033 | giganpist() | |
3034 | end | |
3035 | if dagear == 3 and g32hand then | |
3036 | if rubbermodo == 2 then | |
3037 | giganbazooka() | |
3038 | elseif rubbermodo == 1 then | |
3039 | gigangatl() | |
3040 | end | |
3041 | end | |
3042 | end) | |
3043 | tool.Equipped:connect(function() | |
3044 | selected = true | |
3045 | end) | |
3046 | tool.Unequipped:connect(function() | |
3047 | selected = false | |
3048 | end) | |
3049 | human.Died:connect(function() | |
3050 | if cam.CameraType == "Scriptable" then | |
3051 | cam.CameraType = "Custom" | |
3052 | end | |
3053 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
3054 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
3055 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
3056 | ck = Vector3.new(0, 0, 0) | |
3057 | cm = 0 | |
3058 | co = 0 | |
3059 | cq = Vector3.new(0, 0, 0) | |
3060 | end) | |
3061 | animpose = "Idle" | |
3062 | sine = 0 | |
3063 | charge = 1 | |
3064 | cos = math.cos | |
3065 | run() | |
3066 | game:GetService("RunService").RenderStepped:connect(function() | |
3067 | sine = sine + charge | |
3068 | if sine >= 100000000 then | |
3069 | sine = 0 | |
3070 | end | |
3071 | if sine % 60 == 0 then | |
3072 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
3073 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
3074 | end | |
3075 | --[[repeat | |
3076 | repeat | |
3077 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
3078 | if g3lim <= 0 then | |
3079 | game:GetService("RunService").RenderStepped:wait() | |
3080 | end | |
3081 | end | |
3082 | until activu == false | |
3083 | until selected == true | |
3084 | gear3change() | |
3085 | rubbermodo = 0 | |
3086 | updateguimode() | |
3087 | if g32hand then | |
3088 | g3lim = g3lim - 2 | |
3089 | else | |
3090 | if not g32hand then | |
3091 | g3lim = g3lim - 1 | |
3092 | end | |
3093 | end | |
3094 | repeat | |
3095 | repeat | |
3096 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
3097 | if g2lim <= 0 then | |
3098 | game:GetService("RunService").RenderStepped:wait() | |
3099 | end | |
3100 | end | |
3101 | until activu == false | |
3102 | until selected == true | |
3103 | gear2change() | |
3104 | rubbermodo = 0 | |
3105 | updateguimode() | |
3106 | g2lim = g2lim - 1 | |
3107 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
3108 | if g2lim < 59 then | |
3109 | g2lim = g2lim + 1 | |
3110 | end | |
3111 | if g3lim < 59 then | |
3112 | g3lim = g3lim + 1 | |
3113 | end | |
3114 | end]] | |
3115 | if dagear == 3 and activu == false then | |
3116 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
3117 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false) | |
3118 | local dS = human:GetState() | |
3119 | if dS.Value == 13 then | |
3120 | animpose = "Sitting" | |
3121 | else | |
3122 | if hrp.Velocity.y > 1 and dR == nil then | |
3123 | animpose = "Jumping" | |
3124 | else | |
3125 | if hrp.Velocity.y < -1 and dR == nil then | |
3126 | animpose = "Falling" | |
3127 | else | |
3128 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
3129 | animpose = "Idle" | |
3130 | else | |
3131 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
3132 | animpose = "Walking" | |
3133 | else | |
3134 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
3135 | animpose = "TooFast" | |
3136 | end | |
3137 | end | |
3138 | end | |
3139 | end | |
3140 | end | |
3141 | end | |
3142 | if animpose == "Idle" then | |
3143 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
3144 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
3145 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
3146 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3147 | if g32hand then | |
3148 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
3149 | else | |
3150 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
3151 | end | |
3152 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3153 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
3154 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3155 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
3156 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3157 | end | |
3158 | if animpose == "Walking" then | |
3159 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
3160 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
3161 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
3162 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3163 | if g32hand then | |
3164 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
3165 | else | |
3166 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
3167 | end | |
3168 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3169 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3) | |
3170 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3171 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3) | |
3172 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3173 | end | |
3174 | end | |
3175 | end) | |
3176 | dispose = function() | |
3177 | for j,dT in pairs(getfenv(0)) do | |
3178 | dT = nil | |
3179 | end | |
3180 | error = nil | |
3181 | print = nil | |
3182 | warn = nil | |
3183 | script:Destroy() | |
3184 | script = nil | |
3185 | end | |
3186 | ||
3187 | human.Died:connect(dispose) | |
3188 | chr.Changed:connect(function() | |
3189 | if chr.Parent == nil then | |
3190 | dispose() | |
3191 | end | |
3192 | end) |