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