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