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