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