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