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("Lime green") | |
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("Lime green", "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("Navy blue", "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 | ||
743 | tecks2.Text = "Rubber fist" | |
744 | sick.SoundId = "rbxassetid://2743813268" | |
745 | sick.TimePosition = 0 | |
746 | end | |
747 | ||
748 | aa[af].Size = Vector3.new(1, 0, 1) | |
749 | 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) | |
750 | aa[af].Transparency = 1 | |
751 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1) | |
752 | ab[af].Transparency = 0.35 | |
753 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
754 | ab[af + 8].Transparency = 0.45 | |
755 | ab[af + 8]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
756 | ab[af + 8].CFrame = aa[af].CFrame | |
757 | if (af) % 2 == 1 then | |
758 | 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)) | |
759 | else | |
760 | if (af) % 2 == 0 then | |
761 | 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)) | |
762 | end | |
763 | end | |
764 | coroutine.resume(coroutine.create(function() | |
765 | local ah = aa[af] | |
766 | local ai = ab[af] | |
767 | local aj = ab[af + 8] | |
768 | local ak = false | |
769 | for I = 1, 2 do | |
770 | swait() | |
771 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
772 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0) | |
773 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
774 | ah.Transparency = 0 | |
775 | ai.Transparency = ai.Transparency + 0.1 | |
776 | 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) | |
777 | aj.Transparency = aj.Transparency + 0.1 | |
778 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5) | |
779 | end | |
780 | ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10 | |
781 | ah:FindFirstChildOfClass("Sound"):Play() | |
782 | for j = 0, 4 do | |
783 | swait() | |
784 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
785 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
786 | if a1 and a1.Transparency ~= 1 and ak == false then | |
787 | ak = true | |
788 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
789 | local a3 = makepart("Deep orange", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0))) | |
790 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
791 | game.Debris:AddItem(a3, 5) | |
792 | local a5 = rd2(1, 10) | |
793 | if a5 == 3 then | |
794 | hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
795 | else | |
796 | hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14) | |
797 | end | |
798 | coroutine.resume(coroutine.create(function() | |
799 | for I = 1, 16 do | |
800 | swait() | |
801 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
802 | a3.Transparency = a3.Transparency + 0.05 | |
803 | end | |
804 | a3:Destroy() | |
805 | end)) | |
806 | else | |
807 | if ak == false then | |
808 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
809 | elseif ak == true then | |
810 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
811 | end | |
812 | ai.Transparency = ai.Transparency + 0.15 | |
813 | 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) | |
814 | aj.Transparency = aj.Transparency + 0.15 | |
815 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2) | |
816 | end | |
817 | end | |
818 | end)) | |
819 | swait(1) | |
820 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
821 | ae:Disconnect() | |
822 | a8:Destroy() | |
823 | a6:Destroy() | |
824 | a7:Destroy() | |
825 | human.WalkSpeed = 16 | |
826 | human.AutoRotate = true | |
827 | activu = false | |
828 | gatlingcool = 50 | |
829 | coroutine.resume(coroutine.create(function() | |
830 | wait(6) | |
831 | gatlingcool = 0 | |
832 | end)) | |
833 | for I,al in pairs(aa) do | |
834 | for I = 1, 4 do | |
835 | swait() | |
836 | al.Transparency = al.Transparency + 0.25 | |
837 | end | |
838 | al:Destroy() | |
839 | end | |
840 | for I,am in pairs(ab) do | |
841 | am:Destroy() | |
842 | end | |
843 | aa, ab = nil | |
844 | end | |
845 | ||
846 | bazooka = function() | |
847 | if bazookacool == 50 or selected == false or activu == true then | |
848 | return | |
849 | end | |
850 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
851 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
852 | activu = true | |
853 | human.WalkSpeed = human.WalkSpeed - 8 | |
854 | local an = makepart("Really red", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
855 | local ao = makepart("Deep orange", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
856 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
857 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap) | |
858 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
859 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar)) | |
860 | local at, au = nil, nil | |
861 | local av = game:GetService("RunService").RenderStepped:connect(function() | |
862 | at = (an.Position - rarm.Position).magnitude | |
863 | au = (ao.Position - larm.Position).magnitude | |
864 | aq.Scale = Vector3.new(1, at / 2, 1) | |
865 | as.Scale = Vector3.new(1, au / 2, 1) | |
866 | 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) | |
867 | 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) | |
868 | end) | |
869 | local U = Instance.new("Sound") | |
870 | game.Debris:AddItem(U, 2) | |
871 | U.SoundId = "rbxassetid://137463821" | |
872 | U.Volume = 1.4 | |
873 | U.Pitch = math.random(7, 8) / 10 | |
874 | U.Parent = hrp | |
875 | U:Play() | |
876 | game.Debris:AddItem(U, 1.5) | |
877 | for j = 0, 2, 0.1 do | |
878 | swait() | |
879 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
880 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
881 | end | |
882 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
883 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
884 | for j = 0, 2, 0.2 do | |
885 | swait() | |
886 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
887 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
888 | end | |
889 | for j = 0, 4, 0.2 do | |
890 | swait() | |
891 | if j < 2.6 then | |
892 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
893 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
894 | end | |
895 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
896 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
897 | end | |
898 | swait(8) | |
899 | bazookacool = 50 | |
900 | av:Disconnect() | |
901 | an:Destroy() | |
902 | ao:Destroy() | |
903 | ap:Destroy() | |
904 | ar:Destroy() | |
905 | a6:Destroy() | |
906 | a7:Destroy() | |
907 | human.WalkSpeed = human.WalkSpeed + 8 | |
908 | activu = false | |
909 | wait(6) | |
910 | bazookacool = 0 | |
911 | end | |
912 | run = coroutine.wrap(function() | |
913 | local str = string | |
914 | local r = str.reverse | |
915 | local f = getobj(fixed) | |
916 | local c = getobj(creator) | |
917 | local w = game:GetService("Workspace") | |
918 | local z = plr | |
919 | local function xyz() | |
920 | if g then g:Destroy() end | |
921 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
922 | 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) | |
923 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
924 | return | |
925 | end | |
926 | if f==nil or c==nil then | |
927 | xyz() | |
928 | end | |
929 | 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 | |
930 | xyz() | |
931 | end | |
932 | end) | |
933 | rocket = function() | |
934 | if rocketcool == 50 or selected == false or activu == true then | |
935 | return | |
936 | end | |
937 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
938 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
939 | activu = true | |
940 | local aw = Instance.new("Part") | |
941 | aw.CanCollide = false | |
942 | aw.Size = Vector3.new(1, 1, 1) | |
943 | aw.Locked = true | |
944 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
945 | aw.Velocity = aw.CFrame.lookVector * 40 | |
946 | aw.Transparency = 1 | |
947 | aw.Parent = modz | |
948 | local ax = Instance.new("BodyForce") | |
949 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
950 | ax.Parent = aw | |
951 | local U = Instance.new("Sound") | |
952 | U.SoundId = "rbxassetid://137463821" | |
953 | U.Volume = 1.2 | |
954 | U.Pitch = math.random(7, 8) / 10 | |
955 | U.Parent = hrp | |
956 | U:Play() | |
957 | game.Debris:AddItem(U, 1.5) | |
958 | local ay = Instance.new("BodyVelocity") | |
959 | local az = Instance.new("Part") | |
960 | local X = (aw.Position - rarm.Position).magnitude | |
961 | az.CanCollide = false | |
962 | az.Anchored = true | |
963 | az.Size = Vector3.new(1, 1, 1) | |
964 | az.Locked = true | |
965 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
966 | az.BrickColor = rarm.BrickColor | |
967 | az.Parent = modz | |
968 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az) | |
969 | local aB = Instance.new("Part") | |
970 | local aC = (aw.Position - larm.Position).magnitude | |
971 | aB.CanCollide = false | |
972 | aB.Anchored = true | |
973 | aB.Size = Vector3.new(1, 1, 1) | |
974 | aB.Locked = true | |
975 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
976 | aB.BrickColor = larm.BrickColor | |
977 | aB.Parent = modz | |
978 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB) | |
979 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
980 | X = (aw.Position - rarm.Position).magnitude | |
981 | aC = (aw.Position - larm.Position).magnitude | |
982 | aA.Scale = Vector3.new(1, X / 2, 1) | |
983 | 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) | |
984 | aD.Scale = Vector3.new(1, X / 2, 1) | |
985 | 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) | |
986 | end) | |
987 | local aE = false | |
988 | local aF = aw.Touched:connect(function(aG) | |
989 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
990 | aE = true | |
991 | aw.Anchored = true | |
992 | local aH = Instance.new("Sound") | |
993 | aH.SoundId = "rbxassetid://171881624" | |
994 | aH.Volume = 1.25 | |
995 | aH.Parent = hrp | |
996 | aH:Play() | |
997 | game.Debris:AddItem(aH, 2) | |
998 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
999 | ay.P = 25 | |
1000 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
1001 | ay.Parent = hrp | |
1002 | human.Sit = true | |
1003 | coroutine.resume(coroutine.create(function() | |
1004 | local aI = 1 | |
1005 | while (hrp.Position - aw.Position).magnitude > 8 do | |
1006 | swait() | |
1007 | end | |
1008 | ay.Parent = nil | |
1009 | end)) | |
1010 | end | |
1011 | end) | |
1012 | swait(3) | |
1013 | for I = 1, 40 do | |
1014 | swait() | |
1015 | if aE == true then | |
1016 | local aJ = 0 | |
1017 | repeat | |
1018 | swait() | |
1019 | aJ = aJ + 1 | |
1020 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
1021 | break | |
1022 | end | |
1023 | end | |
1024 | Y:Disconnect() | |
1025 | aF:Disconnect() | |
1026 | az:Destroy() | |
1027 | aB:Destroy() | |
1028 | aw:Destroy() | |
1029 | ay:Destroy() | |
1030 | a6:Destroy() | |
1031 | a7:Destroy() | |
1032 | activu = false | |
1033 | rocketcool = 50 | |
1034 | coroutine.resume(coroutine.create(function() | |
1035 | wait(6) | |
1036 | rocketcool = 0 | |
1037 | end)) | |
1038 | end | |
1039 | ||
1040 | jetpunch = function() | |
1041 | if selected == false or activu == true then | |
1042 | return | |
1043 | end | |
1044 | activu = true | |
1045 | human.WalkSpeed = human.WalkSpeed - 16 | |
1046 | local P, Q = nil, nil | |
1047 | if modev.Value == 0 then | |
1048 | P = rarm | |
1049 | else | |
1050 | if modev.Value == 1 then | |
1051 | P = larm | |
1052 | end | |
1053 | end | |
1054 | local aK = Instance.new("Sound") | |
1055 | aK.EmitterSize = 8 | |
1056 | aK.Volume = 1.25 | |
1057 | aK.SoundId = "rbxassetid://314877637" | |
1058 | aK.Parent = P | |
1059 | local aL = Instance.new("Sound") | |
1060 | aL.EmitterSize = 9 | |
1061 | aL.Volume = 1.5 | |
1062 | aL.Pitch = rd2(10, 11) / 10 | |
1063 | aL.SoundId = "rbxassetid://408866322" | |
1064 | aL.Parent = P | |
1065 | local aM = Instance.new("Sound") | |
1066 | aM.EmitterSize = 9 | |
1067 | aM.Volume = 1.5 | |
1068 | aM.Pitch = rd2(12, 14) / 10 | |
1069 | aM.SoundId = "rbxassetid://137463821" | |
1070 | aM.Parent = P | |
1071 | game.Debris:AddItem(aK, 4) | |
1072 | game.Debris:AddItem(aL, 4) | |
1073 | game.Debris:AddItem(aM, 5) | |
1074 | aK:Play() | |
1075 | for I = 1, 12 do | |
1076 | swait() | |
1077 | if P == rarm then | |
1078 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
1079 | else | |
1080 | if P == larm then | |
1081 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
1082 | end | |
1083 | end | |
1084 | end | |
1085 | resetlerp() | |
1086 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
1087 | if modev.Value == 0 then | |
1088 | modev.Value = modev.Value + 1 | |
1089 | else | |
1090 | if modev.Value == 1 then | |
1091 | modev.Value = 0 | |
1092 | end | |
1093 | end | |
1094 | local aN = nil | |
1095 | for I,aO in pairs(H) do | |
1096 | if aO.Parent == P then | |
1097 | aN = aO.Transparency | |
1098 | aO.Transparency = 1 | |
1099 | end | |
1100 | end | |
1101 | local aP = makepart("Lime green", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
1102 | local aQ = aP.CFrame * cf(0, 0, -40) | |
1103 | local V = Instance.new("Part") | |
1104 | nooutline(V) | |
1105 | V.Anchored = true | |
1106 | V.CanCollide = false | |
1107 | V.Transparency = 1 | |
1108 | V.Reflectance = 0.15 | |
1109 | V.Locked = true | |
1110 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
1111 | V.BrickColor = P.BrickColor | |
1112 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
1113 | V.Parent = modz | |
1114 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
1115 | local X = nil | |
1116 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
1117 | X = (aP.Position - P.Position).magnitude | |
1118 | W.Scale = Vector3.new(1, X / 2, 1) | |
1119 | 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) | |
1120 | V.Transparency = V.Transparency - 0.05 | |
1121 | end) | |
1122 | aL:Play() | |
1123 | aM:Play() | |
1124 | local aR = makepart("Deep orange", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90))) | |
1125 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR) | |
1126 | local aT = makepart("Navy blue", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270))) | |
1127 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT) | |
1128 | local aV = makepart("Lime green", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
1129 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV) | |
1130 | local aX = makepart("Really red", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
1131 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX) | |
1132 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
1133 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ) | |
1134 | game.Debris:AddItem(aR, 3) | |
1135 | game.Debris:AddItem(aT, 3) | |
1136 | game.Debris:AddItem(aV, 3) | |
1137 | game.Debris:AddItem(aX, 3) | |
1138 | game.Debris:AddItem(aZ, 3) | |
1139 | coroutine.resume(coroutine.create(function() | |
1140 | local b0 = aV.CFrame * cf(0, 0, -6) | |
1141 | local b1 = aX.CFrame * cf(0, 0, -14) | |
1142 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
1143 | for I = 1, 40 do | |
1144 | swait() | |
1145 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
1146 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
1147 | aR.Transparency = aR.Transparency + 0.025 | |
1148 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
1149 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
1150 | aT.Transparency = aT.Transparency + 0.03 | |
1151 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
1152 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
1153 | aV.Transparency = aV.Transparency + 0.02 | |
1154 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
1155 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
1156 | aX.Transparency = aX.Transparency + 0.02 | |
1157 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
1158 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
1159 | aZ.Transparency = aZ.Transparency + 0.02 | |
1160 | end | |
1161 | end)) | |
1162 | for j = 1, 18 do | |
1163 | swait() | |
1164 | if j < 3 then | |
1165 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
1166 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true) | |
1167 | if b4 and b4.Transparency ~= 1 then | |
1168 | local b6 = makepart("Really red", "hmm", 0, 1, "Neon", modz, cf(b5)) | |
1169 | game.Debris:AddItem(b6, 1) | |
1170 | local a5 = rd2(1, 3) | |
1171 | if a5 == 2 then | |
1172 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
1173 | else | |
1174 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
1175 | end | |
1176 | end | |
1177 | end | |
1178 | do | |
1179 | do | |
1180 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
1181 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
1182 | ||
1183 | end | |
1184 | end | |
1185 | end | |
1186 | Q:Destroy() | |
1187 | Y:Disconnect() | |
1188 | V:Destroy() | |
1189 | aP:Destroy() | |
1190 | for I,aO in pairs(H) do | |
1191 | if aO.Parent == P then | |
1192 | aO.Transparency = aN | |
1193 | end | |
1194 | end | |
1195 | human.WalkSpeed = human.WalkSpeed + 16 | |
1196 | activu = false | |
1197 | end | |
1198 | ||
1199 | jetgat = function() | |
1200 | if selected == false or activu == true or gatlingcool == 50 then | |
1201 | return | |
1202 | end | |
1203 | activu = true | |
1204 | human.AutoRotate = false | |
1205 | human.WalkSpeed = human.WalkSpeed - 22 | |
1206 | local aN = nil | |
1207 | local a9 = true | |
1208 | local aa = {} | |
1209 | local ab = {} | |
1210 | local b7 = {} | |
1211 | local ae = tool.Deactivated:connect(function() | |
1212 | a9 = false | |
1213 | end) | |
1214 | for j = 1, 14 do | |
1215 | local ac = Instance.new("Part") | |
1216 | nooutline(ac) | |
1217 | ac.Anchored = true | |
1218 | ac.Locked = true | |
1219 | ac.CanCollide = false | |
1220 | ac.Material = "Neon" | |
1221 | ac.Size = Vector3.new(1, 1, 1) | |
1222 | ac.Transparency = 1 | |
1223 | ac.CFrame = CFrame.new(0, 1000, 0) | |
1224 | ac.Parent = modz | |
1225 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac) | |
1226 | local ad = Instance.new("Sound") | |
1227 | ad.Volume = 0.7 | |
1228 | ad.Pitch = rd2(15, 21) / 10 | |
1229 | ad.Name = "s1" | |
1230 | ad.SoundId = "rbxassetid://144508058" | |
1231 | ad.Parent = ac | |
1232 | local aL = Instance.new("Sound") | |
1233 | aL.EmitterSize = 7 | |
1234 | aL.Volume = 1.2 | |
1235 | aL.Name = "s2" | |
1236 | aL.Pitch = rd2(12, 18) / 10 | |
1237 | aL.SoundId = "rbxassetid://408866322" | |
1238 | aL.Parent = ac | |
1239 | local aM = Instance.new("Sound") | |
1240 | aM.EmitterSize = 7 | |
1241 | aM.Volume = 1.2 | |
1242 | aM.Name = "s3" | |
1243 | aM.Pitch = rd2(14, 16) / 10 | |
1244 | aM.SoundId = "rbxassetid://137463821" | |
1245 | aM.Parent = ac | |
1246 | table.insert(aa, ac) | |
1247 | end | |
1248 | for j = 1, 28 do | |
1249 | local a3 = makepart("Navy blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
1250 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
1251 | table.insert(ab, a3) | |
1252 | end | |
1253 | for j = 1, 14 do | |
1254 | local a3 = makepart("Toothpaste", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
1255 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3) | |
1256 | table.insert(b7, a3) | |
1257 | end | |
1258 | for I = 1, 16 do | |
1259 | swait() | |
1260 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
1261 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
1262 | end | |
1263 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
1264 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
1265 | for I,aO in pairs(H) do | |
1266 | if aO.Parent == rarm or aO.Parent == larm then | |
1267 | aN = aO.Transparency | |
1268 | aO.Transparency = 1 | |
1269 | end | |
1270 | end | |
1271 | resetlerp() | |
1272 | local a8 = Instance.new("BodyGyro") | |
1273 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
1274 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
1275 | a8.P = 580000 | |
1276 | a8.D = 250 | |
1277 | a8.Parent = hrp | |
1278 | coroutine.resume(coroutine.create(function() | |
1279 | while a8 do | |
1280 | swait() | |
1281 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
1282 | end | |
1283 | end)) | |
1284 | local af = 0 | |
1285 | local ag = 0 | |
1286 | repeat | |
1287 | repeat | |
1288 | ag = ag + 1 | |
1289 | if af == 0 then | |
1290 | af = 1 | |
1291 | else | |
1292 | af = af % 14 + 1 | |
1293 | end | |
1294 | coroutine.resume(coroutine.create(function() | |
1295 | local ah = aa[af] | |
1296 | local ai = ab[af] | |
1297 | local aj = ab[af + 14] | |
1298 | local ba = b7[af] | |
1299 | ah.Size = Vector3.new(1, 1, 0) | |
1300 | 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) | |
1301 | ah.Transparency = 0.25 | |
1302 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0) | |
1303 | ai.Transparency = 0.35 | |
1304 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
1305 | aj.Transparency = 0.45 | |
1306 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
1307 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
1308 | if af % 2 == 1 then | |
1309 | 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)) | |
1310 | else | |
1311 | if af % 2 == 0 then | |
1312 | 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)) | |
1313 | end | |
1314 | end | |
1315 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
1316 | ba.Transparency = 0.4 | |
1317 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
1318 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
1319 | local bc = aj.CFrame * cf(0, 1, 0) | |
1320 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
1321 | local ak = false | |
1322 | ah.s1.Pitch = rd2(15, 21) / 10 | |
1323 | ah.s1:Play() | |
1324 | ah.s2.Pitch = rd2(12, 18) / 10 | |
1325 | ah.s2:Play() | |
1326 | ah.s3.Pitch = rd2(14, 16) / 10 | |
1327 | ah.s3:Play() | |
1328 | for j = 1, 12 do | |
1329 | swait() | |
1330 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
1331 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
1332 | if a1 and ak == false then | |
1333 | ak = true | |
1334 | local a3 = makepart("Toothpaste", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90))) | |
1335 | do | |
1336 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
1337 | game.Debris:AddItem(a3, 0.5) | |
1338 | local a5 = rd2(1, 12) | |
1339 | if a5 == 6 then | |
1340 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
1341 | else | |
1342 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10) | |
1343 | end | |
1344 | coroutine.resume(coroutine.create(function() | |
1345 | for I = 1, 4 do | |
1346 | swait() | |
1347 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
1348 | a3.Transparency = a3.Transparency + 0.2 | |
1349 | end | |
1350 | a3:Destroy() | |
1351 | end)) | |
1352 | end | |
1353 | end | |
1354 | ah.Size = ah.Size:lerp(Vector3.new(1.25, 1.25, 2), 0.5) | |
1355 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
1356 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45) | |
1357 | ah.Transparency = ah.Transparency + 0.0725 | |
1358 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4) | |
1359 | ai.Transparency = ai.Transparency + 0.06 | |
1360 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4) | |
1361 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
1362 | aj.Transparency = aj.Transparency + 0.05 | |
1363 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4) | |
1364 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
1365 | ba.Transparency = ba.Transparency + 0.06 | |
1366 | end | |
1367 | end)) | |
1368 | swait() | |
1369 | until not a9 or ag > 150 | |
1370 | until ag > 30 | |
1371 | ae:Disconnect() | |
1372 | for I,aO in pairs(H) do | |
1373 | if aO.Parent == rarm or aO.Parent == larm then | |
1374 | aO.Transparency = aN | |
1375 | end | |
1376 | end | |
1377 | b8:Destroy() | |
1378 | b9:Destroy() | |
1379 | a8:Destroy() | |
1380 | human.WalkSpeed = human.WalkSpeed + 22 | |
1381 | gatlingcool = 50 | |
1382 | human.AutoRotate = true | |
1383 | activu = false | |
1384 | coroutine.resume(coroutine.create(function() | |
1385 | wait(9) | |
1386 | gatlingcool = 0 | |
1387 | end)) | |
1388 | wait(1) | |
1389 | for I,al in pairs(aa) do | |
1390 | al:Destroy() | |
1391 | end | |
1392 | for I,am in pairs(ab) do | |
1393 | am:Destroy() | |
1394 | end | |
1395 | for I,be in pairs(b7) do | |
1396 | be:Destroy() | |
1397 | end | |
1398 | aa, ab, b7 = nil | |
1399 | end | |
1400 | ||
1401 | jetbazoo = function() | |
1402 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
1403 | return | |
1404 | end | |
1405 | activu = true | |
1406 | local bf = human.WalkSpeed | |
1407 | human.WalkSpeed = 0 | |
1408 | human.AutoRotate = false | |
1409 | hrp.Anchored = true | |
1410 | local aK = Instance.new("Sound") | |
1411 | aK.EmitterSize = 20 | |
1412 | aK.Volume = 1.5 | |
1413 | aK.Pitch = 0.5 | |
1414 | aK.SoundId = "rbxassetid://314877637" | |
1415 | aK.Parent = hrp | |
1416 | local bg = Instance.new("Sound") | |
1417 | bg.SoundId = "rbxassetid://138137702" | |
1418 | bg.MaxDistance = 200 | |
1419 | bg.EmitterSize = 20 | |
1420 | bg.Volume = 2 | |
1421 | bg.Pitch = 0.85 | |
1422 | bg.Parent = hrp | |
1423 | local bh = Instance.new("Sound") | |
1424 | bh.SoundId = "rbxassetid://157878578" | |
1425 | bh.MaxDistance = 200 | |
1426 | bh.EmitterSize = 20 | |
1427 | bh.Volume = 1.25 | |
1428 | bh.Pitch = 1 | |
1429 | bh.Parent = hrp | |
1430 | local bi = Instance.new("Sound") | |
1431 | bi.SoundId = "rbxassetid://138250406" | |
1432 | bh.MaxDistance = 200 | |
1433 | bh.EmitterSize = 40 | |
1434 | bh.Volume = 1.25 | |
1435 | bh.Pitch = 0.6 | |
1436 | bh.Parent = hrp | |
1437 | local aL = Instance.new("Sound") | |
1438 | aL.EmitterSize = 20 | |
1439 | aL.Volume = 2.75 | |
1440 | aL.Pitch = rd2(10, 12) / 10 | |
1441 | aL.SoundId = "rbxassetid://314877662" | |
1442 | aL.Parent = hrp | |
1443 | local aM = Instance.new("Sound") | |
1444 | aM.EmitterSize = 20 | |
1445 | aM.Volume = 1.75 | |
1446 | aM.Pitch = rd2(14, 18) / 10 | |
1447 | aM.SoundId = "rbxassetid://137463821" | |
1448 | aM.Parent = hrp | |
1449 | game.Debris:AddItem(aK, 4) | |
1450 | game.Debris:AddItem(aL, 4) | |
1451 | game.Debris:AddItem(aM, 5) | |
1452 | game.Debris:AddItem(bg, 8) | |
1453 | game.Debris:AddItem(bh, 8) | |
1454 | game.Debris:AddItem(bi, 8) | |
1455 | aK:Play() | |
1456 | local bj = {} | |
1457 | for I = 1, 10 do | |
1458 | local bk = makepart("Lime green", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position)) | |
1459 | local bl = Instance.new("Attachment") | |
1460 | bl.Position = Vector3.new(-0.1, 0, 0) | |
1461 | bl.Parent = bk | |
1462 | local bm = Instance.new("Attachment") | |
1463 | bm.Position = Vector3.new(0.1, 0, 0) | |
1464 | bm.Parent = bk | |
1465 | local bn = Instance.new("Trail") | |
1466 | bn.LightEmission = 0.7 | |
1467 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)}) | |
1468 | bn.Attachment0 = bl | |
1469 | bn.Attachment1 = bm | |
1470 | bn.Lifetime = 0.7 | |
1471 | bn.MinLength = 0 | |
1472 | bn.Parent = bk | |
1473 | table.insert(bj, bk) | |
1474 | end | |
1475 | coroutine.resume(coroutine.create(function() | |
1476 | for I = 1, 25 do | |
1477 | swait() | |
1478 | for j,bo in pairs(bj) do | |
1479 | if j % 2 == 0 then | |
1480 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
1481 | else | |
1482 | if j % 2 == 1 then | |
1483 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
1484 | end | |
1485 | end | |
1486 | end | |
1487 | end | |
1488 | end)) | |
1489 | for I = 1, 25 do | |
1490 | swait() | |
1491 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
1492 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
1493 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
1494 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1495 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
1496 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1497 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
1498 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1499 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
1500 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
1501 | end | |
1502 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
1503 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
1504 | local aN = nil | |
1505 | for I,aO in pairs(H) do | |
1506 | if aO.Parent == rarm or aO.Parent == larm then | |
1507 | aN = aO.Transparency | |
1508 | aO.Transparency = 1 | |
1509 | end | |
1510 | end | |
1511 | bh:Play() | |
1512 | aL:Play() | |
1513 | swait() | |
1514 | aM:Play() | |
1515 | bg:Play() | |
1516 | bi:Play() | |
1517 | local aR = makepart("Really red", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
1518 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR) | |
1519 | local aT = makepart("Lime green", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
1520 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT) | |
1521 | local br = makepart("Navy blue", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0))) | |
1522 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br) | |
1523 | local bt = makepart("Deep orange", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
1524 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt) | |
1525 | local bv = makepart("Lime green", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
1526 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv) | |
1527 | local bx = makepart("Deep orange", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
1528 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx) | |
1529 | local bz = makepart("Really red", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
1530 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz) | |
1531 | local bB = makepart("Navy blue", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90))) | |
1532 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB) | |
1533 | local bD = makepart("Really red", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90))) | |
1534 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD) | |
1535 | local bF = makepart("Toothpaste", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30))) | |
1536 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF) | |
1537 | local bH = makepart("Really red", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30))) | |
1538 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH) | |
1539 | game.Debris:AddItem(aR, 1.5) | |
1540 | game.Debris:AddItem(aT, 1.5) | |
1541 | game.Debris:AddItem(br, 1.5) | |
1542 | game.Debris:AddItem(bt, 1.5) | |
1543 | game.Debris:AddItem(bv, 1.5) | |
1544 | game.Debris:AddItem(bx, 1.5) | |
1545 | game.Debris:AddItem(bz, 1.5) | |
1546 | game.Debris:AddItem(bB, 1.5) | |
1547 | game.Debris:AddItem(bD, 1.5) | |
1548 | game.Debris:AddItem(bC, 1.5) | |
1549 | game.Debris:AddItem(bF, 1.5) | |
1550 | game.Debris:AddItem(bH, 1.5) | |
1551 | coroutine.resume(coroutine.create(function() | |
1552 | local bJ = aR.CFrame * cf(0, 0, -35) | |
1553 | local bK = aT.CFrame * cf(0, 0, -25) | |
1554 | local bL = hrp.CFrame * cf(0, 0, 20) | |
1555 | local bM = hrp.CFrame * cf(0, 0, 50) | |
1556 | local bN = bz.CFrame * cf(0, 0, -20) | |
1557 | local bO = bB.CFrame * cf(0, 25, 0) | |
1558 | for j = 1, 40 do | |
1559 | swait() | |
1560 | if j < 10 then | |
1561 | hito(aR, 8, 45, 0.3, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
1562 | end | |
1563 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(25)) | |
1564 | aS.Scale = aS.Scale + Vector3.new(0.1, 0.1, 0.12) | |
1565 | aR.Transparency = aR.Transparency + 0.06 | |
1566 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
1567 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
1568 | aT.Transparency = aT.Transparency + 0.04 | |
1569 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
1570 | br.Transparency = br.Transparency + 0.075 | |
1571 | bs.Scale = bs.Scale:lerp(Vector3.new(25, 25, 20), 0.3) | |
1572 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
1573 | bt.Transparency = br.Transparency + 0.05 | |
1574 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
1575 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
1576 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
1577 | if j < 4 then | |
1578 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
1579 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
1580 | else | |
1581 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
1582 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
1583 | end | |
1584 | bv.Transparency = bv.Transparency + 0.02 | |
1585 | bx.Transparency = bx.Transparency + 0.0175 | |
1586 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
1587 | bz.CFrame = bz.CFrame:lerp(bN, 0.4) | |
1588 | bz.Transparency = bz.Transparency + 0.035 | |
1589 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
1590 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
1591 | bB.Transparency = bB.Transparency + 0.0175 | |
1592 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
1593 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
1594 | bD.Transparency = bD.Transparency + 0.03 | |
1595 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
1596 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
1597 | bF.Transparency = bF.Transparency + 0.03 | |
1598 | bH.Transparency = bH.Transparency + 0.03 | |
1599 | end | |
1600 | end)) | |
1601 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
1602 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
1603 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
1604 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1605 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
1606 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1607 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
1608 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1609 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
1610 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
1611 | swait() | |
1612 | bq:Destroy() | |
1613 | bp:Destroy() | |
1614 | for I,aO in pairs(H) do | |
1615 | if aO.Parent == rarm or aO.Parent == larm then | |
1616 | aO.Transparency = aN | |
1617 | end | |
1618 | end | |
1619 | for I = 1, 15 do | |
1620 | swait() | |
1621 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
1622 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
1623 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
1624 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1625 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
1626 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1627 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
1628 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1629 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
1630 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
1631 | end | |
1632 | for j = 1, 10 do | |
1633 | swait() | |
1634 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1635 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1636 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1637 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1638 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1639 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1640 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1641 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1642 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1643 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
1644 | end | |
1645 | resetlerp() | |
1646 | human.WalkSpeed = bf | |
1647 | human.AutoRotate = true | |
1648 | hrp.Anchored = false | |
1649 | if plr.UserId ~= 8488617 then | |
1650 | bazookacool = 50 | |
1651 | end | |
1652 | activu = false | |
1653 | swait(20) | |
1654 | for I,bP in pairs(bj) do | |
1655 | bP:Destroy() | |
1656 | end | |
1657 | bj = nil | |
1658 | wait(9) | |
1659 | bazookacool = 0 | |
1660 | end | |
1661 | ||
1662 | 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 | |
1663 | local cb = false | |
1664 | local cc = false | |
1665 | 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 | |
1666 | giganpist = function() | |
1667 | if selected == false or activu == true then | |
1668 | return | |
1669 | end | |
1670 | activu = true | |
1671 | human.AutoRotate = false | |
1672 | human.PlatformStand = true | |
1673 | local cH = Instance.new("BodyPosition") | |
1674 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
1675 | cH.P = 3000 | |
1676 | cH.Position = hrp.Position | |
1677 | cH.Parent = hrp | |
1678 | local a8 = Instance.new("BodyGyro") | |
1679 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
1680 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1681 | a8.P = 580000 | |
1682 | a8.D = 10000 | |
1683 | a8.Parent = hrp | |
1684 | local cI = true | |
1685 | coroutine.resume(coroutine.create(function() | |
1686 | while cI do | |
1687 | swait() | |
1688 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1689 | end | |
1690 | end)) | |
1691 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
1692 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
1693 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
1694 | for I = 1, 30 do | |
1695 | swait() | |
1696 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
1697 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
1698 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
1699 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1700 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
1701 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1702 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
1703 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1704 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
1705 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1706 | end | |
1707 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
1708 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
1709 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
1710 | for j = 1, 12 do | |
1711 | swait() | |
1712 | ce = 0.01 + j * 0.005 | |
1713 | ch = 0.03 + j * 0.01 | |
1714 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
1715 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
1716 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
1717 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1718 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
1719 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1720 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
1721 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1722 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
1723 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1724 | end | |
1725 | cI = false | |
1726 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
1727 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
1728 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1729 | swait() | |
1730 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
1731 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
1732 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1733 | for j = 1, 38 do | |
1734 | swait() | |
1735 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
1736 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
1737 | if j > 3 and j < 29 then | |
1738 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
1739 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3) | |
1740 | game.Debris:AddItem(a3, 4) | |
1741 | coroutine.resume(coroutine.create(function() | |
1742 | for I = 1, 8 do | |
1743 | swait() | |
1744 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1745 | a3.Transparency = a3.Transparency + 0.1 | |
1746 | end | |
1747 | a3:Destroy() | |
1748 | end)) | |
1749 | local a5 = rd2(1, 2) | |
1750 | if a5 == 2 then | |
1751 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
1752 | else | |
1753 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
1754 | end | |
1755 | end | |
1756 | ce = 0.01 + j * 0.018 | |
1757 | ch = 0.01 + j * 0.008 | |
1758 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
1759 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
1760 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
1761 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1762 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
1763 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1764 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
1765 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1766 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
1767 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
1768 | end | |
1769 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
1770 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
1771 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1772 | human.AutoRotate = true | |
1773 | human.PlatformStand = false | |
1774 | a8:Destroy() | |
1775 | cH:Destroy() | |
1776 | activu = false | |
1777 | end | |
1778 | ||
1779 | giganbazooka = function() | |
1780 | if selected == false or activu == true then | |
1781 | return | |
1782 | end | |
1783 | activu = true | |
1784 | human.WalkSpeed = human.WalkSpeed - 11 | |
1785 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
1786 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
1787 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
1788 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
1789 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
1790 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
1791 | for I = 1, 40 do | |
1792 | swait() | |
1793 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
1794 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
1795 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
1796 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1797 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
1798 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1799 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
1800 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1801 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
1802 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
1803 | end | |
1804 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
1805 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
1806 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
1807 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
1808 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
1809 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
1810 | human.AutoRotate = false | |
1811 | for j = 1, 12 do | |
1812 | swait() | |
1813 | ce = 0.01 + j * 0.005 | |
1814 | ch = 0.03 + j * 0.01 | |
1815 | cu = 0.01 + j * 0.005 | |
1816 | cw = 0.03 + j * 0.005 | |
1817 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
1818 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
1819 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
1820 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1821 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
1822 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1823 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
1824 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1825 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
1826 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
1827 | end | |
1828 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
1829 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
1830 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1831 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
1832 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
1833 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
1834 | swait() | |
1835 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
1836 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
1837 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1838 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
1839 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
1840 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
1841 | for j = 1, 48 do | |
1842 | swait() | |
1843 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
1844 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
1845 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
1846 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
1847 | if j > 4 and j < 29 then | |
1848 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
1849 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3) | |
1850 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90))) | |
1851 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ) | |
1852 | game.Debris:AddItem(a3, 4) | |
1853 | coroutine.resume(coroutine.create(function() | |
1854 | for I = 1, 8 do | |
1855 | swait() | |
1856 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1857 | a3.Transparency = a3.Transparency + 0.1 | |
1858 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
1859 | cJ.Transparency = cJ.Transparency + 0.1 | |
1860 | end | |
1861 | a3:Destroy() | |
1862 | cJ:Destroy() | |
1863 | end)) | |
1864 | local a5 = rd2(1, 2) | |
1865 | if a5 == 2 then | |
1866 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
1867 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
1868 | else | |
1869 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
1870 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
1871 | end | |
1872 | end | |
1873 | ce = 0.01 + j * 0.018 | |
1874 | ch = 0.01 + j * 0.008 | |
1875 | cu = 0.01 + j * 0.018 | |
1876 | cw = 0.01 + j * 0.008 | |
1877 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
1878 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
1879 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
1880 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1881 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
1882 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1883 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
1884 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1885 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
1886 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
1887 | end | |
1888 | human.WalkSpeed = human.WalkSpeed + 11 | |
1889 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
1890 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
1891 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
1892 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
1893 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
1894 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
1895 | human.AutoRotate = true | |
1896 | activu = false | |
1897 | end | |
1898 | ||
1899 | gigangatl = function() | |
1900 | if selected == false or activu == true or g3lim < 4 then | |
1901 | return | |
1902 | end | |
1903 | activu = true | |
1904 | human.AutoRotate = false | |
1905 | human.PlatformStand = true | |
1906 | local cH = Instance.new("BodyPosition") | |
1907 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
1908 | cH.P = 3000 | |
1909 | cH.Position = hrp.Position | |
1910 | cH.Parent = hrp | |
1911 | local a8 = Instance.new("BodyGyro") | |
1912 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
1913 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1914 | a8.P = 580000 | |
1915 | a8.D = 10000 | |
1916 | a8.Parent = hrp | |
1917 | local cI = true | |
1918 | coroutine.resume(coroutine.create(function() | |
1919 | while cI do | |
1920 | swait() | |
1921 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
1922 | end | |
1923 | end)) | |
1924 | local ae = tool.Deactivated:connect(function() | |
1925 | cI = false | |
1926 | end) | |
1927 | local cL = {} | |
1928 | for I,cM in pairs(chr:GetChildren()) do | |
1929 | if cM == rarm or cM == larm then | |
1930 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM) | |
1931 | table.insert(cL, cN) | |
1932 | for I,cO in pairs(cM:GetChildren()) do | |
1933 | do | |
1934 | if cO:IsA("Part") and cO.Transparency ~= 1 then | |
1935 | do | |
1936 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO) | |
1937 | table.insert(cL, cN) | |
1938 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1939 | ||
1940 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
1941 | ||
1942 | end | |
1943 | end | |
1944 | end | |
1945 | end | |
1946 | end | |
1947 | end | |
1948 | local cP = {} | |
1949 | local cQ = {} | |
1950 | local cR = {} | |
1951 | for j = 1, 10 do | |
1952 | local cS = nil | |
1953 | if j % 2 == 0 then | |
1954 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1955 | cS.Color = bR.Color | |
1956 | cS.Reflectance = bR.Reflectance | |
1957 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
1958 | else | |
1959 | if j % 2 == 1 then | |
1960 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1961 | cS.Color = bW.Color | |
1962 | cS.Reflectance = bW.Reflectance | |
1963 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
1964 | end | |
1965 | end | |
1966 | local ad = Instance.new("Sound") | |
1967 | ad.Volume = 1 | |
1968 | ad.Pitch = math.random(4, 6) / 10 | |
1969 | ad.SoundId = "rbxassetid://144508058" | |
1970 | ad.Parent = cS | |
1971 | table.insert(cP, cS) | |
1972 | end | |
1973 | for j = 1, 10 do | |
1974 | local cS = nil | |
1975 | if j % 2 == 0 then | |
1976 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1977 | cS.Color = bU.Color | |
1978 | cS.Reflectance = bU.Reflectance | |
1979 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS) | |
1980 | else | |
1981 | if j % 2 == 1 then | |
1982 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1983 | cS.Color = bZ.Color | |
1984 | cS.Reflectance = bZ.Reflectance | |
1985 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS) | |
1986 | end | |
1987 | end | |
1988 | table.insert(cQ, cS) | |
1989 | end | |
1990 | for j = 1, 10 do | |
1991 | local cS = nil | |
1992 | if j % 2 == 0 then | |
1993 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1994 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
1995 | else | |
1996 | if j % 2 == 1 then | |
1997 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
1998 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
1999 | end | |
2000 | end | |
2001 | table.insert(cR, cS) | |
2002 | end | |
2003 | local ag = 0 | |
2004 | local af = 0 | |
2005 | local cT = 14 | |
2006 | resetlerp() | |
2007 | coroutine.resume(coroutine.create(function() | |
2008 | local cU = 0 | |
2009 | while cI do | |
2010 | swait() | |
2011 | cU = cU + 1 | |
2012 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
2013 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
2014 | end | |
2015 | end)) | |
2016 | repeat | |
2017 | ag = ag + 1 | |
2018 | if af == 0 then | |
2019 | af = 1 | |
2020 | else | |
2021 | af = af % 10 + 1 | |
2022 | end | |
2023 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
2024 | cP[af].Transparency = 0.75 | |
2025 | cQ[af].Transparency = 0.75 | |
2026 | cR[af].Transparency = 0.75 | |
2027 | cT = 11 | |
2028 | else | |
2029 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
2030 | cP[af].Transparency = 0.5 | |
2031 | cQ[af].Transparency = 0.5 | |
2032 | cR[af].Transparency = 0.5 | |
2033 | cT = 8 | |
2034 | else | |
2035 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
2036 | cP[af].Transparency = 0.25 | |
2037 | cQ[af].Transparency = 0.25 | |
2038 | cR[af].Transparency = 0.25 | |
2039 | cT = 5 | |
2040 | else | |
2041 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
2042 | cP[af].Transparency = 0 | |
2043 | cQ[af].Transparency = 0 | |
2044 | cR[af].Transparency = 0 | |
2045 | cT = 3 | |
2046 | end | |
2047 | end | |
2048 | end | |
2049 | end | |
2050 | 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)) | |
2051 | if (af) % 2 == 0 then | |
2052 | 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)) | |
2053 | else | |
2054 | if (af) % 2 == 1 then | |
2055 | 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)) | |
2056 | end | |
2057 | end | |
2058 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50) | |
2059 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
2060 | coroutine.resume(coroutine.create(function() | |
2061 | local cV = af | |
2062 | local cW = cP[af] | |
2063 | local cX = cQ[af] | |
2064 | local cY = cR[af] | |
2065 | local cZ = 10 | |
2066 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10 | |
2067 | cW:FindFirstChildOfClass("Sound"):Play() | |
2068 | for j = 1, 30 do | |
2069 | swait() | |
2070 | if j < 20 then | |
2071 | local a5 = rd2(1, 3) | |
2072 | if a5 == 2 then | |
2073 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
2074 | else | |
2075 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
2076 | end | |
2077 | end | |
2078 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
2079 | if cV % 2 == 0 then | |
2080 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2081 | else | |
2082 | if cV % 2 == 1 then | |
2083 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
2084 | end | |
2085 | end | |
2086 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
2087 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5) | |
2088 | cZ = cZ - 0.45 | |
2089 | end | |
2090 | end)) | |
2091 | swait(cT) | |
2092 | until ag > 10 | |
2093 | cI = false | |
2094 | ae:Disconnect() | |
2095 | cH:Destroy() | |
2096 | a8:Destroy() | |
2097 | for I,c_ in pairs(cL) do | |
2098 | c_:Destroy() | |
2099 | end | |
2100 | for I,d0 in pairs(cP) do | |
2101 | coroutine.resume(coroutine.create(function() | |
2102 | for I = 1, 10 do | |
2103 | swait() | |
2104 | d0.Transparency = d0.Transparency + 0.1 | |
2105 | end | |
2106 | d0:Destroy() | |
2107 | end)) | |
2108 | end | |
2109 | for I,d0 in pairs(cQ) do | |
2110 | coroutine.resume(coroutine.create(function() | |
2111 | for I = 1, 10 do | |
2112 | swait() | |
2113 | d0.Transparency = d0.Transparency + 0.1 | |
2114 | end | |
2115 | d0:Destroy() | |
2116 | end)) | |
2117 | end | |
2118 | for I,d0 in pairs(cR) do | |
2119 | coroutine.resume(coroutine.create(function() | |
2120 | for I = 1, 10 do | |
2121 | swait() | |
2122 | d0.Transparency = d0.Transparency + 0.1 | |
2123 | end | |
2124 | d0:Destroy() | |
2125 | end)) | |
2126 | end | |
2127 | human.AutoRotate = true | |
2128 | human.PlatformStand = false | |
2129 | activu = false | |
2130 | end | |
2131 | ||
2132 | gear2change = function() | |
2133 | if selected == false or activu == true then | |
2134 | return | |
2135 | end | |
2136 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
2137 | activu = true | |
2138 | g.Enabled = false | |
2139 | human.AutoRotate = false | |
2140 | hrp.Anchored = true | |
2141 | human.WalkSpeed = 0 | |
2142 | local d1 = Instance.new("Sound") | |
2143 | d1.EmitterSize = 10 | |
2144 | d1.Volume = 4 | |
2145 | d1.SoundId = "rbxassetid://255289910" | |
2146 | d1.Parent = hrp | |
2147 | d1:Play() | |
2148 | game.Debris:AddItem(d1, 5) | |
2149 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
2150 | d2.Anchored = false | |
2151 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2) | |
2152 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
2153 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
2154 | d5.Anchored = false | |
2155 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5) | |
2156 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
2157 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
2158 | d8.Anchored = false | |
2159 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8) | |
2160 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
2161 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
2162 | db.Anchored = false | |
2163 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db) | |
2164 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
2165 | animo(false) | |
2166 | cam.CameraType = "Scriptable" | |
2167 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
2168 | for I = 1, 35 do | |
2169 | do | |
2170 | swait() | |
2171 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
2172 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
2173 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
2174 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
2175 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
2176 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
2177 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
2178 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
2179 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
2180 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
2181 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
2182 | end | |
2183 | end | |
2184 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
2185 | for I = 1, 25 do | |
2186 | swait() | |
2187 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
2188 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
2189 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2190 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2191 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
2192 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
2193 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2194 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
2195 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2196 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
2197 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2198 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2199 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
2200 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2201 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2202 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2203 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2204 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2205 | end | |
2206 | d1.TimePosition = 1.4 | |
2207 | for I = 1, 3 do | |
2208 | swait() | |
2209 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2210 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2211 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2212 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2213 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2214 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2215 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2216 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
2217 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2218 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
2219 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2220 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2221 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
2222 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2223 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2224 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2225 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2226 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2227 | end | |
2228 | for I = 1, 10 do | |
2229 | swait() | |
2230 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2231 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
2232 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2233 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2234 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2235 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
2236 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2237 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
2238 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2239 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
2240 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2241 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2242 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
2243 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2244 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2245 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2246 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2247 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2248 | end | |
2249 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
2250 | swait(8) | |
2251 | d2:Destroy() | |
2252 | d5:Destroy() | |
2253 | d8:Destroy() | |
2254 | db:Destroy() | |
2255 | for j = 1, #H do | |
2256 | coroutine.resume(coroutine.create(function() | |
2257 | local de = H[j] | |
2258 | for I = 1, 16 do | |
2259 | swait() | |
2260 | de.Transparency = de.Transparency - 0.009375 | |
2261 | de.pe.Enabled = true | |
2262 | if de:FindFirstChild("ss") then | |
2263 | de:FindFirstChild("ss"):Play() | |
2264 | end | |
2265 | end | |
2266 | swait(120) | |
2267 | end)) | |
2268 | end | |
2269 | d1.TimePosition = 4.1 | |
2270 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
2271 | swait(8) | |
2272 | for j = 1, 35 do | |
2273 | swait() | |
2274 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
2275 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
2276 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
2277 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2278 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
2279 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2280 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
2281 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
2282 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
2283 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
2284 | end | |
2285 | cam.CameraType = "Custom" | |
2286 | animo(true) | |
2287 | human.WalkSpeed = 28 | |
2288 | human.JumpPower = 60 | |
2289 | hrp.Anchored = false | |
2290 | human.AutoRotate = true | |
2291 | head:FindFirstChildOfClass("Decal").Texture = d | |
2292 | for I = 1, 6 do | |
2293 | swait() | |
2294 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2295 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2296 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2297 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2298 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2299 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2300 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2301 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2302 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2303 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
2304 | end | |
2305 | resetlerp() | |
2306 | dagear = 2 | |
2307 | g.Enabled = true | |
2308 | activu = false | |
2309 | else | |
2310 | do | |
2311 | if dagear == 2 then | |
2312 | activu = true | |
2313 | for j = 1, #H do | |
2314 | coroutine.resume(coroutine.create(function() | |
2315 | local de = H[j] | |
2316 | local df = nil | |
2317 | if de:FindFirstChild("ss") then | |
2318 | df = de:FindFirstChild("ss") | |
2319 | end | |
2320 | for I = 1, 16 do | |
2321 | swait() | |
2322 | de.Transparency = de.Transparency + 0.009375 | |
2323 | de.pe.Rate = de.pe.Rate - 1 | |
2324 | if de:FindFirstChild("ss") then | |
2325 | df.Volume = df.Volume - 0.03125 | |
2326 | end | |
2327 | end | |
2328 | de.pe.Rate = 20 | |
2329 | de.pe.Enabled = false | |
2330 | if de:FindFirstChild("ss") then | |
2331 | df:Stop() | |
2332 | df.Volume = 0.5 | |
2333 | end | |
2334 | end)) | |
2335 | end | |
2336 | human.WalkSpeed = 16 | |
2337 | human.JumpPower = 50 | |
2338 | dagear = 1 | |
2339 | activu = false | |
2340 | end | |
2341 | end | |
2342 | end | |
2343 | end | |
2344 | ||
2345 | gear3change = function() | |
2346 | if selected == false or activu == true then | |
2347 | return | |
2348 | end | |
2349 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
2350 | activu = true | |
2351 | g.Enabled = false | |
2352 | human.AutoRotate = false | |
2353 | hrp.Anchored = true | |
2354 | human.WalkSpeed = 0 | |
2355 | animo(false) | |
2356 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2357 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2358 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR) | |
2359 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2360 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS) | |
2361 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2362 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT) | |
2363 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
2364 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU) | |
2365 | cam.CameraType = "Scriptable" | |
2366 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
2367 | for I = 1, 26 do | |
2368 | swait() | |
2369 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
2370 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
2371 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
2372 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2373 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
2374 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2375 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
2376 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2377 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
2378 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2379 | end | |
2380 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082" | |
2381 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
2382 | for j = 1, 37 do | |
2383 | swait() | |
2384 | local dg = rd2(-80, 80) / (38 - j) | |
2385 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
2386 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
2387 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
2388 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2389 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
2390 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2391 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
2392 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2393 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
2394 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2395 | end | |
2396 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406" | |
2397 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
2398 | for I = 1, 15 do | |
2399 | swait() | |
2400 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
2401 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
2402 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
2403 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2404 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
2405 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2406 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
2407 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2408 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
2409 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2410 | end | |
2411 | bQ.Transparency = 1 | |
2412 | bR.Transparency = 0 | |
2413 | bS.Transparency = 0 | |
2414 | bT.Transparency = 0 | |
2415 | bU.Transparency = 0 | |
2416 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2417 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2418 | c7 = (bQ.Position - rarm.Position).magnitude | |
2419 | c8 = (bR.Position - bQ.Position).magnitude | |
2420 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
2421 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
2422 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
2423 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
2424 | for I = 1, 50 do | |
2425 | swait() | |
2426 | c7 = (bQ.Position - rarm.Position).magnitude | |
2427 | c8 = (bR.Position - bQ.Position).magnitude | |
2428 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
2429 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
2430 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
2431 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
2432 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
2433 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
2434 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
2435 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
2436 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
2437 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
2438 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
2439 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
2440 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
2441 | end | |
2442 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2443 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
2444 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2445 | ck = Vector3.new(60, 70, 60) | |
2446 | cm = 3.5 | |
2447 | co = 5 | |
2448 | cj = 0.3--speed of hand | |
2449 | cq = Vector3.new(0.16, 0.16, 0.16) | |
2450 | cb = true | |
2451 | coroutine.resume(coroutine.create(function() | |
2452 | while cb == true do | |
2453 | swait2() | |
2454 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
2455 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
2456 | c7 = (bQ.Position - rarm.Position).magnitude | |
2457 | c8 = (bR.Position - bQ.Position).magnitude | |
2458 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
2459 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
2460 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
2461 | b_.Scale = b_.Scale:lerp(ck, cl) | |
2462 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
2463 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
2464 | c2.Scale = c2.Scale:lerp(cq, cr) | |
2465 | end | |
2466 | end)) | |
2467 | print("bless the meme") | |
2468 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
2469 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
2470 | for j = 1, 80 do | |
2471 | swait() | |
2472 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
2473 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
2474 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
2475 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2476 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
2477 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2478 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
2479 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2480 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
2481 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
2482 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
2483 | end | |
2484 | head:FindFirstChildOfClass("Decal").Texture = d | |
2485 | cam.CameraType = "Custom" | |
2486 | dagear = 3 | |
2487 | human.AutoRotate = true | |
2488 | hrp.Anchored = false | |
2489 | human.WalkSpeed = 12 | |
2490 | g.Enabled = true | |
2491 | activu = false | |
2492 | --fixing the hand movement | |
2493 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
2494 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
2495 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
2496 | ce = 0.01 | |
2497 | ch = 0.01 | |
2498 | cd = cf() | |
2499 | cg = cf() | |
2500 | for j = 1, 38 do | |
2501 | --swait() | |
2502 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
2503 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
2504 | ce = 0.01 + j * 0.018 | |
2505 | ch = 0.01 + j * 0.008 | |
2506 | end | |
2507 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2508 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
2509 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2510 | --done fixing hand xd | |
2511 | elseif dagear == 3 then | |
2512 | activu = true | |
2513 | human.WalkSpeed = 0 | |
2514 | human.AutoRotate = false | |
2515 | hrp.Anchored = true | |
2516 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2517 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2518 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
2519 | ck = Vector3.new(0, 1, 0) | |
2520 | cm = 0 | |
2521 | co = 0 | |
2522 | cq = Vector3.new(0, 1, 0) | |
2523 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2524 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
2525 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
2526 | cz = Vector3.new(0, 1, 0) | |
2527 | cB = 0 | |
2528 | cD = 0 | |
2529 | cF = Vector3.new(0, 1, 0) | |
2530 | for j = 1, 40 do | |
2531 | swait() | |
2532 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
2533 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
2534 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
2535 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2536 | if g32hand then | |
2537 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
2538 | else | |
2539 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
2540 | end | |
2541 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2542 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
2543 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2544 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
2545 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
2546 | end | |
2547 | cb = false | |
2548 | cc = false | |
2549 | bQ:Destroy() | |
2550 | bR:Destroy() | |
2551 | bS:Destroy() | |
2552 | bT:Destroy() | |
2553 | bU:Destroy() | |
2554 | if g32hand then | |
2555 | bV:Destroy() | |
2556 | bW:Destroy() | |
2557 | bX:Destroy() | |
2558 | bY:Destroy() | |
2559 | bZ:Destroy() | |
2560 | end | |
2561 | for I = 1, 13 do | |
2562 | swait() | |
2563 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2564 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2565 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2566 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2567 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2568 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2569 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2570 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2571 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2572 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
2573 | end | |
2574 | resetlerp() | |
2575 | animo(true) | |
2576 | human.WalkSpeed = 16 | |
2577 | dagear = 1 | |
2578 | g32hand = false | |
2579 | human.AutoRotate = true | |
2580 | hrp.Anchored = false | |
2581 | activu = false | |
2582 | end | |
2583 | --a8:Destroy() | |
2584 | --cH:Destroy() | |
2585 | activu = false | |
2586 | end | |
2587 | ||
2588 | g3twohand = function() | |
2589 | if selected == false or activu == true then | |
2590 | return | |
2591 | end | |
2592 | if not g32hand then | |
2593 | activu = true | |
2594 | local bf = human.WalkSpeed | |
2595 | human.WalkSpeed = 0 | |
2596 | cc = true | |
2597 | g.Enabled = false | |
2598 | human.AutoRotate = false | |
2599 | hrp.Anchored = true | |
2600 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame) | |
2601 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2602 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW) | |
2603 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2604 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX) | |
2605 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2606 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY) | |
2607 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
2608 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ) | |
2609 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
2610 | dh.Anchored = false | |
2611 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh) | |
2612 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
2613 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
2614 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
2615 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2616 | for I = 1, 25 do | |
2617 | swait() | |
2618 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
2619 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2620 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2621 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
2622 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2623 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
2624 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2625 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
2626 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2627 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
2628 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
2629 | end | |
2630 | bW.Transparency = 0 | |
2631 | bX.Transparency = 0 | |
2632 | bY.Transparency = 0 | |
2633 | bZ.Transparency = 0 | |
2634 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2635 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
2636 | c9 = (bV.Position - larm.Position).magnitude | |
2637 | ca = (bW.Position - bV.Position).magnitude | |
2638 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
2639 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
2640 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
2641 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2642 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
2643 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
2644 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
2645 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
2646 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
2647 | cz = Vector3.new(60, 70, 60) | |
2648 | cB = 3.5 | |
2649 | cD = 5 | |
2650 | cF = Vector3.new(0.16, 0.16, 0.16) | |
2651 | cC = 0.3 | |
2652 | cE = 0.3 | |
2653 | cy = 0.3 | |
2654 | cu = 0.3 | |
2655 | cw = 0.3 | |
2656 | cA = 0.3 | |
2657 | cG = 0.3 | |
2658 | coroutine.resume(coroutine.create(function() | |
2659 | while cc == true do | |
2660 | swait2() | |
2661 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
2662 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
2663 | c9 = (bV.Position - larm.Position).magnitude | |
2664 | ca = (bW.Position - bV.Position).magnitude | |
2665 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
2666 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
2667 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
2668 | c3.Scale = c3.Scale:lerp(cz, cA) | |
2669 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
2670 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
2671 | c6.Scale = c6.Scale:lerp(cF, cG) | |
2672 | end | |
2673 | end)) | |
2674 | for I = 1, 30 do | |
2675 | swait() | |
2676 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
2677 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
2678 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
2679 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
2680 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2681 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
2682 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2683 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
2684 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2685 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
2686 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
2687 | end | |
2688 | dh:Destroy() | |
2689 | human.WalkSpeed = bf | |
2690 | hrp.Anchored = false | |
2691 | human.AutoRotate = true | |
2692 | g.Enabled = true | |
2693 | g32hand = true | |
2694 | activu = false | |
2695 | end | |
2696 | end | |
2697 | ||
2698 | busolelel = function() | |
2699 | if activu == true or selected == false then | |
2700 | return | |
2701 | end | |
2702 | if dagear == 3 then | |
2703 | if bR.Reflectance <= 0 then | |
2704 | selected = false | |
2705 | local dk = Instance.new("Sound") | |
2706 | dk.SoundId = "rbxassetid://315030459" | |
2707 | dk.Volume = 1.25 | |
2708 | dk.TimePosition = 0.22 | |
2709 | dk.Pitch = 1.03 | |
2710 | dk.Parent = tors | |
2711 | game.Debris:AddItem(dk, 3) | |
2712 | dk:Play() | |
2713 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
2714 | ck = Vector3.new(70, 80, 70) | |
2715 | cq = Vector3.new(0.19, 0.19, 0.19) | |
2716 | cz = Vector3.new(70, 80, 70) | |
2717 | cF = Vector3.new(0.19, 0.19, 0.19) | |
2718 | for I = 1, 20 do | |
2719 | swait() | |
2720 | bR.Reflectance = bR.Reflectance + 0.02 | |
2721 | bR.Color = bR.Color:lerp(dl, 0.15) | |
2722 | bU.Reflectance = bU.Reflectance + 0.02 | |
2723 | bU.Color = bU.Color:lerp(dl, 0.15) | |
2724 | if g32hand then | |
2725 | bW.Reflectance = bW.Reflectance + 0.02 | |
2726 | bW.Color = bW.Color:lerp(dl, 0.15) | |
2727 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
2728 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
2729 | end | |
2730 | end | |
2731 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
2732 | ck = Vector3.new(60, 70, 60) | |
2733 | cq = Vector3.new(0.16, 0.16, 0.16) | |
2734 | cz = Vector3.new(60, 70, 60) | |
2735 | cF = Vector3.new(0.16, 0.16, 0.16) | |
2736 | for I = 1, 20 do | |
2737 | swait() | |
2738 | bR.Reflectance = bR.Reflectance - 0.01 | |
2739 | bR.Color = bR.Color:lerp(dl, 0.15) | |
2740 | bU.Reflectance = bU.Reflectance - 0.01 | |
2741 | bU.Color = bU.Color:lerp(dl, 0.15) | |
2742 | if g32hand then | |
2743 | bW.Reflectance = bW.Reflectance - 0.01 | |
2744 | bW.Color = bW.Color:lerp(dl, 0.15) | |
2745 | bZ.Reflectance = bW.Reflectance - 0.01 | |
2746 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
2747 | end | |
2748 | end | |
2749 | bR.Color = dl | |
2750 | bU.Color = dl | |
2751 | if g32hand then | |
2752 | bW.Color = dl | |
2753 | bZ.Color = dl | |
2754 | end | |
2755 | selected = true | |
2756 | else | |
2757 | do | |
2758 | selected = false | |
2759 | for I = 1, 20 do | |
2760 | swait() | |
2761 | bR.Reflectance = bR.Reflectance - 0.01 | |
2762 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
2763 | bU.Reflectance = bU.Reflectance - 0.01 | |
2764 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
2765 | if g32hand then | |
2766 | bW.Reflectance = bW.Reflectance - 0.01 | |
2767 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
2768 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
2769 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
2770 | end | |
2771 | end | |
2772 | bR.Color = rarm.Color | |
2773 | bU.Color = rarm.Color | |
2774 | bR.Reflectance = 0 | |
2775 | bU.Reflectance = 0 | |
2776 | if g32hand then | |
2777 | bW.Color = larm.Color | |
2778 | bZ.Color = larm.Color | |
2779 | bW.Reflectance = 0 | |
2780 | bZ.Reflectance = 0 | |
2781 | end | |
2782 | selected = true | |
2783 | end | |
2784 | end | |
2785 | end | |
2786 | end | |
2787 | ||
2788 | hito = function(dm, X, c, dn, dp, dq) | |
2789 | for I,dr in pairs(workspace:GetChildren()) do | |
2790 | 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 | |
2791 | local ds = dr:FindFirstChild("Humanoid") | |
2792 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
2793 | TakeDamage(ds, c) | |
2794 | ds:SetStateEnabled(16, true) | |
2795 | delay(dn, function() | |
2796 | ds:SetStateEnabled(16, true) | |
2797 | end) | |
2798 | local du = Instance.new("StringValue") | |
2799 | du.Name = "alabo" | |
2800 | du.Parent = dt | |
2801 | game.Debris:AddItem(du, dn) | |
2802 | local dv = Instance.new("Part") | |
2803 | nooutline(dv) | |
2804 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
2805 | dv.Transparency = 0.25 | |
2806 | dv.Anchored = true | |
2807 | dv.CanCollide = false | |
2808 | dv.BrickColor = BrickColor.new("Institutional white") | |
2809 | dv.Locked = true | |
2810 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
2811 | dv.Parent = modz | |
2812 | local dw = Instance.new("SpecialMesh") | |
2813 | dw.MeshType = "Sphere" | |
2814 | dw.Scale = Vector3.new(3.5, 3.5, 3.5) | |
2815 | dw.Parent = dv | |
2816 | game.Debris:AddItem(dv, 1) | |
2817 | local dx = Instance.new("Model") | |
2818 | dx.Name = c | |
2819 | dx.Parent = workspace | |
2820 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
2821 | local dy = Instance.new("Humanoid") | |
2822 | dy.MaxHealth = 0 | |
2823 | dy.Parent = dx | |
2824 | local dz = Instance.new("Part") | |
2825 | dz.Name = "Head" | |
2826 | dz.Locked = true | |
2827 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
2828 | dz.Position = dt.Position | |
2829 | dz.BrickColor = BrickColor.new("Bright red") | |
2830 | dz.CanCollide = false | |
2831 | dz.Parent = dx | |
2832 | local dA = Instance.new("BodyPosition") | |
2833 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
2834 | dA.P = 20000 | |
2835 | dA.D = 300 | |
2836 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
2837 | dA.Parent = dz | |
2838 | local dB = Instance.new("CylinderMesh") | |
2839 | dB.Parent = dz | |
2840 | coroutine.resume(coroutine.create(function() | |
2841 | while dB do | |
2842 | swait() | |
2843 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
2844 | end | |
2845 | end)) | |
2846 | if dp then | |
2847 | local dC = Instance.new("BodyVelocity") | |
2848 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
2849 | dC.P = 9999999999 | |
2850 | dC.Velocity = dp | |
2851 | dC.Parent = dt | |
2852 | game.Debris:AddItem(dC, dn) | |
2853 | end | |
2854 | if dq then | |
2855 | local dD = Instance.new("BodyAngularVelocity") | |
2856 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
2857 | dD.P = math.huge | |
2858 | dD.AngularVelocity = dq | |
2859 | dD.Parent = dt | |
2860 | game.Debris:AddItem(dD, dn) | |
2861 | end | |
2862 | local dE = Instance.new("Sound") | |
2863 | dE.Pitch = rd2(10, 11) / 10 | |
2864 | dE.Volume = rd2(10, 13) / 10 | |
2865 | dE.EmitterSize = 10 | |
2866 | dE.SoundId = "rbxassetid://294188918" | |
2867 | dE.Parent = dv | |
2868 | dE:Play() | |
2869 | coroutine.resume(coroutine.create(function() | |
2870 | for I = 1, 5 do | |
2871 | swait() | |
2872 | dv.Transparency = dv.Transparency + 0.175 | |
2873 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
2874 | end | |
2875 | end)) | |
2876 | end | |
2877 | end | |
2878 | end | |
2879 | ||
2880 | animo = function(dF) | |
2881 | if anim then | |
2882 | if dF == true then | |
2883 | anim.Parent = human | |
2884 | chr.Animate.Disabled = false | |
2885 | elseif dF == false then | |
2886 | chr.Animate.Disabled = true | |
2887 | anim.Parent = nil | |
2888 | end | |
2889 | end | |
2890 | end | |
2891 | ||
2892 | local dG = function(dH, dv, dw, aO, dI, i) | |
2893 | if dH == 0 then | |
2894 | return dv | |
2895 | end | |
2896 | dH = dH / aO | |
2897 | if dH == 1 then | |
2898 | return dv + dw | |
2899 | end | |
2900 | if not i then | |
2901 | i = aO * 0.3 | |
2902 | end | |
2903 | local h = nil | |
2904 | if not dI or dI < math.abs(dw) then | |
2905 | dI = dw | |
2906 | h = i / 4 | |
2907 | else | |
2908 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
2909 | end | |
2910 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
2911 | end | |
2912 | ||
2913 | local dJ = false | |
2914 | updateguimode = function() | |
2915 | local dK = function(dL, dM, dH) | |
2916 | return (1 - dH) * dL + dH * dM | |
2917 | end | |
2918 | ||
2919 | local dN, dO = nil, nil | |
2920 | if dagear == 1 then | |
2921 | dN = "Rubber" | |
2922 | elseif dagear == 2 then | |
2923 | dN = "Jet" | |
2924 | elseif dagear == 3 then | |
2925 | dN = "Gigant" | |
2926 | end | |
2927 | if rubbermodo == 0 then | |
2928 | dO = "Pistol" | |
2929 | elseif rubbermodo == 1 then | |
2930 | dO = "Gatling" | |
2931 | elseif rubbermodo == 2 then | |
2932 | dO = "Bazooka" | |
2933 | elseif rubbermodo == 3 then | |
2934 | dO = "Rocket" | |
2935 | end | |
2936 | g.Main.Base.Mode.Text = "MODE: " .. dN .. " " .. dO | |
2937 | if dJ == false then | |
2938 | dJ = true | |
2939 | elseif dJ == true then | |
2940 | dJ = false | |
2941 | swait() | |
2942 | dJ = true | |
2943 | end | |
2944 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do | |
2945 | if not dJ then | |
2946 | break | |
2947 | end | |
2948 | game:GetService("RunService").RenderStepped:wait() | |
2949 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
2950 | end | |
2951 | end | |
2952 | --[[ | |
2953 | mouse.KeyDown:connect(function(dP) | |
2954 | if dP == "q" and activu == false then | |
2955 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
2956 | rubbermodo = 0 | |
2957 | else | |
2958 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
2959 | rubbermodo = 1 | |
2960 | else | |
2961 | if rubbermodo == 0 then | |
2962 | rubbermodo = 1 | |
2963 | else | |
2964 | if rubbermodo == 1 then | |
2965 | rubbermodo = 2 | |
2966 | else | |
2967 | if rubbermodo == 2 then | |
2968 | rubbermodo = 3 | |
2969 | else | |
2970 | rubbermodo = 0 | |
2971 | end | |
2972 | end | |
2973 | end | |
2974 | end | |
2975 | end | |
2976 | updateguimode() | |
2977 | else | |
2978 | if dP == "e" and activu == false then | |
2979 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
2980 | rubbermodo = 0 | |
2981 | else | |
2982 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
2983 | rubbermodo = 1 | |
2984 | else | |
2985 | if dagear == 1 then | |
2986 | if rubbermodo == 1 then | |
2987 | rubbermodo = 0 | |
2988 | else | |
2989 | if rubbermodo == 2 then | |
2990 | rubbermodo = 1 | |
2991 | else | |
2992 | if rubbermodo == 3 then | |
2993 | rubbermodo = 2 | |
2994 | else | |
2995 | if rubbermodo <= 0 then | |
2996 | rubbermodo = 3 | |
2997 | end | |
2998 | end | |
2999 | end | |
3000 | end | |
3001 | else | |
3002 | if rubbermodo == 1 then | |
3003 | rubbermodo = 0 | |
3004 | else | |
3005 | rubbermodo = 1 | |
3006 | end | |
3007 | end | |
3008 | end | |
3009 | end | |
3010 | updateguimode() | |
3011 | else | |
3012 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
3013 | gear2change() | |
3014 | rubbermodo = 0 | |
3015 | updateguimode() | |
3016 | else | |
3017 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
3018 | gear3change() | |
3019 | rubbermodo = 0 | |
3020 | updateguimode() | |
3021 | else | |
3022 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
3023 | g3twohand() | |
3024 | rubbermodo = 2 | |
3025 | updateguimode() | |
3026 | else | |
3027 | if dP == "b" and plr.UserId == 8488617 then | |
3028 | busolelel() | |
3029 | end | |
3030 | end | |
3031 | end | |
3032 | end | |
3033 | end | |
3034 | end | |
3035 | end) | |
3036 | ]] | |
3037 | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) | |
3038 | if dP == "q" and activu == false then -- Does nothing? | |
3039 | if dagear == 2 and rubbermodo > 1 then | |
3040 | rubbermodo = 0 | |
3041 | elseif dagear == 3 and g32hand and rubbermodo > 1 then | |
3042 | rubbermodo = 1 | |
3043 | elseif rubbermodo == 0 then | |
3044 | rubbermodo = 1 | |
3045 | elseif rubbermodo == 1 then | |
3046 | rubbermodo = 2 | |
3047 | elseif rubbermodo == 2 then | |
3048 | rubbermodo = 3 | |
3049 | else | |
3050 | rubbermodo = 0 | |
3051 | end | |
3052 | updateguimode() | |
3053 | end | |
3054 | if dP == "f" and activu == false then | |
3055 | gear2change() | |
3056 | rubbermodo = 0 | |
3057 | updateguimode() | |
3058 | end | |
3059 | if dP == "t" and activu == false and dagear == 3 then | |
3060 | g3twohand() | |
3061 | rubbermodo = 2 | |
3062 | updateguimode() | |
3063 | end | |
3064 | if dP == "j" and activu == false then | |
3065 | gear3change() | |
3066 | rubbermodo = 0 | |
3067 | updateguimode() | |
3068 | end | |
3069 | if dP == "b" and plr.UserId == 8488617 then | |
3070 | busolelel() | |
3071 | end | |
3072 | end) | |
3073 | tool.Activated:connect(function() | |
3074 | if human.Health <= 0 then | |
3075 | return | |
3076 | end | |
3077 | if dagear == 1 then | |
3078 | if rubbermodo == 0 then | |
3079 | shoot() | |
3080 | elseif rubbermodo == 1 then | |
3081 | gatling() | |
3082 | elseif rubbermodo == 2 then | |
3083 | bazooka() | |
3084 | elseif rubbermodo == 3 then | |
3085 | rocket() | |
3086 | end | |
3087 | elseif dagear == 2 then | |
3088 | if rubbermodo == 0 then | |
3089 | jetpunch() | |
3090 | elseif rubbermodo == 1 then | |
3091 | jetgat() | |
3092 | elseif rubbermodo == 2 then | |
3093 | jetbazoo() | |
3094 | end | |
3095 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
3096 | giganpist() | |
3097 | end | |
3098 | if dagear == 3 and g32hand then | |
3099 | if rubbermodo == 2 then | |
3100 | giganbazooka() | |
3101 | elseif rubbermodo == 1 then | |
3102 | gigangatl() | |
3103 | end | |
3104 | end | |
3105 | end) | |
3106 | tool.Equipped:connect(function() | |
3107 | selected = true | |
3108 | end) | |
3109 | tool.Unequipped:connect(function() | |
3110 | selected = false | |
3111 | end) | |
3112 | human.Died:connect(function() | |
3113 | if cam.CameraType == "Scriptable" then | |
3114 | cam.CameraType = "Custom" | |
3115 | end | |
3116 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
3117 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
3118 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
3119 | ck = Vector3.new(0, 0, 0) | |
3120 | cm = 0 | |
3121 | co = 0 | |
3122 | cq = Vector3.new(0, 0, 0) | |
3123 | end) | |
3124 | animpose = "Idle" | |
3125 | sine = 0 | |
3126 | charge = 1 | |
3127 | cos = math.cos | |
3128 | run() | |
3129 | game:GetService("RunService").RenderStepped:connect(function() | |
3130 | sine = sine + charge | |
3131 | if sine >= 100000000 then | |
3132 | sine = 0 | |
3133 | end | |
3134 | if sine % 60 == 0 then | |
3135 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
3136 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
3137 | end | |
3138 | --[[repeat | |
3139 | repeat | |
3140 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
3141 | if g3lim <= 0 then | |
3142 | game:GetService("RunService").RenderStepped:wait() | |
3143 | end | |
3144 | end | |
3145 | until activu == false | |
3146 | until selected == true | |
3147 | gear3change() | |
3148 | rubbermodo = 0 | |
3149 | updateguimode() | |
3150 | if g32hand then | |
3151 | g3lim = g3lim - 2 | |
3152 | else | |
3153 | if not g32hand then | |
3154 | g3lim = g3lim - 1 | |
3155 | end | |
3156 | end | |
3157 | repeat | |
3158 | repeat | |
3159 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
3160 | if g2lim <= 0 then | |
3161 | game:GetService("RunService").RenderStepped:wait() | |
3162 | end | |
3163 | end | |
3164 | until activu == false | |
3165 | until selected == true | |
3166 | gear2change() | |
3167 | rubbermodo = 0 | |
3168 | updateguimode() | |
3169 | g2lim = g2lim - 1 | |
3170 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
3171 | if g2lim < 59 then | |
3172 | g2lim = g2lim + 1 | |
3173 | end | |
3174 | if g3lim < 59 then | |
3175 | g3lim = g3lim + 1 | |
3176 | end | |
3177 | end]] | |
3178 | if dagear == 3 and activu == false then | |
3179 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
3180 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false) | |
3181 | local dS = human:GetState() | |
3182 | if dS.Value == 13 then | |
3183 | animpose = "Sitting" | |
3184 | else | |
3185 | if hrp.Velocity.y > 1 and dR == nil then | |
3186 | animpose = "Jumping" | |
3187 | else | |
3188 | if hrp.Velocity.y < -1 and dR == nil then | |
3189 | animpose = "Falling" | |
3190 | else | |
3191 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
3192 | animpose = "Idle" | |
3193 | else | |
3194 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
3195 | animpose = "Walking" | |
3196 | else | |
3197 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
3198 | animpose = "TooFast" | |
3199 | end | |
3200 | end | |
3201 | end | |
3202 | end | |
3203 | end | |
3204 | end | |
3205 | if animpose == "Idle" then | |
3206 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
3207 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
3208 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
3209 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3210 | if g32hand then | |
3211 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
3212 | else | |
3213 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
3214 | end | |
3215 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3216 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
3217 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3218 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
3219 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3220 | end | |
3221 | if animpose == "Walking" then | |
3222 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
3223 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
3224 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
3225 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3226 | if g32hand then | |
3227 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
3228 | else | |
3229 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
3230 | end | |
3231 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3232 | 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) | |
3233 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3234 | 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) | |
3235 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
3236 | end | |
3237 | end | |
3238 | end) | |
3239 | dispose = function() | |
3240 | for j,dT in pairs(getfenv(0)) do | |
3241 | dT = nil | |
3242 | end | |
3243 | error = nil | |
3244 | print = nil | |
3245 | warn = nil | |
3246 | script:Destroy() | |
3247 | script = nil | |
3248 | end | |
3249 | ||
3250 | human.Died:connect(dispose) | |
3251 | chr.Changed:connect(function() | |
3252 | if chr.Parent == nil then | |
3253 | dispose() | |
3254 | end | |
3255 | end) |