SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has convert to FE by who i don't know? | |
2 | ||
3 | - | local p = game:GetService("Players").LocalPlayer |
3 | + | ----------------------------------------------------- |
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,game,owner = owner,game | |
6 | local RealPlayer = Player | |
7 | - | local mouse = p:GetMouse() |
7 | + | do |
8 | print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!") | |
9 | local rp = RealPlayer | |
10 | script.Parent = rp.Character | |
11 | ||
12 | --RemoteEvent for communicating | |
13 | local Event = Instance.new("RemoteEvent") | |
14 | Event.Name = "UserInput_Event" | |
15 | ||
16 | --Fake event to make stuff like Mouse.KeyDown work | |
17 | local function fakeEvent() | |
18 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
19 | t.connect = t.Connect | |
20 | return t | |
21 | end | |
22 | ||
23 | --Creating fake input objects with fake variables | |
24 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
25 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
26 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
27 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
28 | end} | |
29 | --Merged 2 functions into one by checking amount of arguments | |
30 | CAS.UnbindAction = CAS.BindAction | |
31 | ||
32 | --This function will trigger the events that have been :Connect()'ed | |
33 | local function te(self,ev,...) | |
34 | local t = m[ev] | |
35 | if t and t._fakeEvent then | |
36 | for _,f in pairs(t.Functions) do | |
37 | f(...) | |
38 | end | |
39 | end | |
40 | end | |
41 | m.TrigEvent = te | |
42 | UIS.TrigEvent = te | |
43 | ||
44 | Event.OnServerEvent:Connect(function(plr,io) | |
45 | if plr~=rp then return end | |
46 | m.Target = io.Target | |
47 | m.Hit = io.Hit | |
48 | if not io.isMouse then | |
49 | local b = io.UserInputState == Enum.UserInputState.Begin | |
50 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
51 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
52 | end | |
53 | for _,t in pairs(CAS.Actions) do | |
54 | for _,k in pairs(t.Keys) do | |
55 | if k==io.KeyCode then | |
56 | t.Function(t.Name,io.UserInputState,io) | |
57 | end | |
58 | end | |
59 | end | |
60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
62 | end | |
63 | end) | |
64 | Event.Parent = NLS([==[ | |
65 | local Player = game:GetService("Players").LocalPlayer | |
66 | local Event = script:WaitForChild("UserInput_Event") | |
67 | ||
68 | local Mouse = Player:GetMouse() | |
69 | local UIS = game:GetService("UserInputService") | |
70 | local input = function(io,a) | |
71 | if a then return end | |
72 | --Since InputObject is a client-side instance, we create and pass table instead | |
73 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
74 | end | |
75 | UIS.InputBegan:Connect(input) | |
76 | UIS.InputEnded:Connect(input) | |
77 | ||
78 | local h,t | |
79 | --Give the server mouse data 30 times every second, but only if the values changed | |
80 | --If player is not moving their mouse, client won't fire events | |
81 | while wait(1/30) do | |
82 | if h~=Mouse.Hit or t~=Mouse.Target then | |
83 | h,t=Mouse.Hit,Mouse.Target | |
84 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
85 | end | |
86 | end]==],Player.Character) | |
87 | ||
88 | ----Sandboxed game object that allows the usage of client-side methods and services | |
89 | --Real game object | |
90 | local _rg = game | |
91 | ||
92 | --Metatable for fake service | |
93 | local fsmt = { | |
94 | __index = function(self,k) | |
95 | local s = rawget(self,"_RealService") | |
96 | if s then return s[k] end | |
97 | end, | |
98 | __newindex = function(self,k,v) | |
99 | local s = rawget(self,"_RealService") | |
100 | if s then s[k]=v end | |
101 | end, | |
102 | __call = function(self,...) | |
103 | local s = rawget(self,"_RealService") | |
104 | if s then return s(...) end | |
105 | end | |
106 | } | |
107 | local function FakeService(t,RealService) | |
108 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
109 | return setmetatable(t,fsmt) | |
110 | end | |
111 | ||
112 | --Fake game object | |
113 | local g = { | |
114 | GetService = function(self,s) | |
115 | return self[s] | |
116 | end, | |
117 | Players = FakeService({ | |
118 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
119 | },"Players"), | |
120 | UserInputService = FakeService(UIS,"UserInputService"), | |
121 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
122 | } | |
123 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
124 | g.service = g.GetService | |
125 | ||
126 | g.RunService = FakeService({ | |
127 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
128 | BindToRenderStep = function(self,name,_,fun) | |
129 | ||
130 | end, | |
131 | UnbindFromRenderStep = function(self,name) | |
132 | self._btrs[name]:Disconnect() | |
133 | end, | |
134 | },"RunService") | |
135 | ||
136 | setmetatable(g,{ | |
137 | __index=function(self,s) | |
138 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
139 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
140 | end, | |
141 | __newindex = fsmt.__newindex, | |
142 | __call = fsmt.__call | |
143 | }) | |
144 | --Changing owner to fake player object to support owner:GetMouse() | |
145 | game,owner = g,g.Players.LocalPlayer | |
146 | end | |
147 | wait(2) | |
148 | ||
149 | local p = owner | |
150 | local plr = game:GetService("Players").LocalPlayer | |
151 | local player = game:GetService("Players").LocalPlayer | |
152 | local char = p.Character | |
153 | local larm = char:WaitForChild("Left Arm") | |
154 | local rarm = char:WaitForChild("Right Arm") | |
155 | local lleg = char:WaitForChild("Left Leg") | |
156 | local rleg = char:WaitForChild("Right Leg") | |
157 | local hed = char:WaitForChild("Head") | |
158 | local torso = char:WaitForChild("Torso") | |
159 | local root = char:WaitForChild("HumanoidRootPart") | |
160 | local hum = char:FindFirstChildOfClass("Humanoid") | |
161 | local debris = game:GetService("Debris") | |
162 | local run = game:GetService("RunService") | |
163 | local rs = run.RenderStepped | |
164 | local cam = workspace.CurrentCamera | |
165 | local movement = 4 | |
166 | local change = 0.4 | |
167 | local DebrisModel = Instance.new("Model",char) | |
168 | local stealth = false | |
169 | local debounce = false | |
170 | ------------------------------------------------------- | |
171 | local Player_Size = 4 | |
172 | if Player_Size ~= 4 then | |
173 | root.Size = root.Size * Player_Size | |
174 | torso.Size = torso.Size * Player_Size | |
175 | hed.Size = hed.Size * Player_Size | |
176 | rarm.Size = rarm.Size * Player_Size | |
177 | larm.Size = larm.Size * Player_Size | |
178 | rleg.Size = rleg.Size * Player_Size | |
179 | lleg.Size = lleg.Size * Player_Size | |
180 | end | |
181 | ---------------------------------------------------------------------------------- | |
182 | it = Instance.new | |
183 | hum.MaxHealth = 500000000000000000000000000000000000000000000000 | |
184 | hum.Health = hum.MaxHealth | |
185 | themeid = 0 | |
186 | themepitch = 1 | |
187 | TorsoColor = torso.BrickColor | |
188 | RightLeg = CFrame.new(0.5,-1,0) | |
189 | LeftLeg = CFrame.new(-0.5,-1,0) | |
190 | RunService = game:service'RunService' | |
191 | lefth = (torso.CFrame*LeftLeg) | |
192 | righth = (torso.CFrame*RightLeg) | |
193 | speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z) | |
194 | local Lighty = game:GetService"Lighting" | |
195 | EffectModel = Instance.new("Model", char) | |
196 | Effects = { | |
197 | Block = { | |
198 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
199 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
200 | prt.Anchored = true | |
201 | prt.CFrame = cframe | |
202 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
203 | game:GetService("Debris"):AddItem(prt, 10) | |
204 | if Type == 1 or Type == nil then | |
205 | table.insert(Effects, { | |
206 | prt, | |
207 | "Block1", | |
208 | delay, | |
209 | x3, | |
210 | y3, | |
211 | z3, | |
212 | msh | |
213 | }) | |
214 | elseif Type == 2 then | |
215 | table.insert(Effects, { | |
216 | prt, | |
217 | "Block2", | |
218 | delay, | |
219 | x3, | |
220 | y3, | |
221 | z3, | |
222 | msh | |
223 | }) | |
224 | else | |
225 | table.insert(Effects, { | |
226 | prt, | |
227 | "Block3", | |
228 | delay, | |
229 | x3, | |
230 | y3, | |
231 | z3, | |
232 | msh | |
233 | }) | |
234 | end | |
235 | end | |
236 | }, | |
237 | Sphere = { | |
238 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
239 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
240 | prt.Anchored = true | |
241 | prt.CFrame = cframe | |
242 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
243 | game:GetService("Debris"):AddItem(prt, 10) | |
244 | table.insert(Effects, { | |
245 | prt, | |
246 | "Cylinder", | |
247 | delay, | |
248 | x3, | |
249 | y3, | |
250 | z3, | |
251 | msh | |
252 | }) | |
253 | end | |
254 | }, | |
255 | Cylinder = { | |
256 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
257 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
258 | prt.Anchored = true | |
259 | prt.CFrame = cframe | |
260 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
261 | game:GetService("Debris"):AddItem(prt, 10) | |
262 | table.insert(Effects, { | |
263 | prt, | |
264 | "Cylinder", | |
265 | delay, | |
266 | x3, | |
267 | y3, | |
268 | z3, | |
269 | msh | |
270 | }) | |
271 | end | |
272 | }, | |
273 | Wave = { | |
274 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
275 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
276 | prt.Anchored = true | |
277 | prt.CFrame = cframe | |
278 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
279 | game:GetService("Debris"):AddItem(prt, 10) | |
280 | table.insert(Effects, { | |
281 | prt, | |
282 | "Cylinder", | |
283 | delay, | |
284 | x3 / 60, | |
285 | y3 / 60, | |
286 | z3 / 60, | |
287 | msh | |
288 | }) | |
289 | end | |
290 | }, | |
291 | Ring = { | |
292 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
293 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
294 | prt.Anchored = true | |
295 | prt.CFrame = cframe | |
296 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
297 | game:GetService("Debris"):AddItem(prt, 10) | |
298 | table.insert(Effects, { | |
299 | prt, | |
300 | "Cylinder", | |
301 | delay, | |
302 | x3, | |
303 | y3, | |
304 | z3, | |
305 | msh | |
306 | }) | |
307 | end | |
308 | }, | |
309 | Break = { | |
310 | Create = function(brickcolor, cframe, x1, y1, z1) | |
311 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
312 | prt.Anchored = true | |
313 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
314 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
315 | local num = math.random(10, 50) / 1000 | |
316 | game:GetService("Debris"):AddItem(prt, 10) | |
317 | table.insert(Effects, { | |
318 | prt, | |
319 | "Shatter", | |
320 | num, | |
321 | prt.CFrame, | |
322 | math.random() - math.random(), | |
323 | 0, | |
324 | math.random(50, 100) / 100 | |
325 | }) | |
326 | end | |
327 | }, | |
328 | Spiral = { | |
329 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
330 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
331 | prt.Anchored = true | |
332 | prt.CFrame = cframe | |
333 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
334 | game:GetService("Debris"):AddItem(prt, 10) | |
335 | table.insert(Effects, { | |
336 | prt, | |
337 | "Cylinder", | |
338 | delay, | |
339 | x3, | |
340 | y3, | |
341 | z3, | |
342 | msh | |
343 | }) | |
344 | end | |
345 | }, | |
346 | Push = { | |
347 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
348 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
349 | prt.Anchored = true | |
350 | prt.CFrame = cframe | |
351 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
352 | game:GetService("Debris"):AddItem(prt, 10) | |
353 | table.insert(Effects, { | |
354 | prt, | |
355 | "Cylinder", | |
356 | delay, | |
357 | x3, | |
358 | y3, | |
359 | z3, | |
360 | msh | |
361 | }) | |
362 | end | |
363 | } | |
364 | } | |
365 | local NeckS = Instance.new("Part",char) | |
366 | NeckS.Size = Vector3.new(1.2,1,1.2) | |
367 | NeckS.Material = "SmoothPlastic" | |
368 | NeckS.BrickColor = BrickColor.new("Bright yellow") | |
369 | NeckS.CanCollide = false | |
370 | local Neck3 = Instance.new("Weld",NeckS) | |
371 | Neck3.Part0 = larm | |
372 | Neck3.Part1 = NeckS | |
373 | Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0)) | |
374 | local Black = Instance.new("Part",NeckS)--First Stone, Yellow | |
375 | Black.Size = Vector3.new(0.3,0.3,0.3) | |
376 | Black.Material = "Neon" | |
377 | Black.BrickColor = BrickColor.new("New Yeller") | |
378 | Black.CanCollide = false | |
379 | local BlackM = Instance.new("SpecialMesh",Black) | |
380 | BlackM.MeshType = 3 | |
381 | local Black1 = Instance.new("Weld",Black) | |
382 | Black1.Part0 = NeckS | |
383 | Black1.Part1 = Black | |
384 | Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
385 | local Stone2 = Instance.new("Part",NeckS)--First Circle | |
386 | Stone2.Size = Vector3.new(0.2,0.2,0.2) | |
387 | Stone2.Material = "Neon" | |
388 | Stone2.BrickColor = BrickColor.new("Magenta") | |
389 | Stone2.CanCollide = false | |
390 | local Stone22 = Instance.new("SpecialMesh",Stone2) | |
391 | Stone22.MeshType = 3 | |
392 | local Stone222 = Instance.new("Weld",Stone2) | |
393 | Stone222.Part0 = NeckS | |
394 | Stone222.Part1 = Stone2 | |
395 | Stone222.C0 = CFrame.new(0.23,-0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
396 | local Stone3 = Instance.new("Part",NeckS)--First Circle | |
397 | Stone3.Size = Vector3.new(0.2,0.2,0.2) | |
398 | Stone3.Material = "Neon" | |
399 | Stone3.BrickColor = BrickColor.new("Lapis") | |
400 | Stone3.CanCollide = false | |
401 | local Stone33 = Instance.new("SpecialMesh",Stone3) | |
402 | Stone33.MeshType = 3 | |
403 | local Stone333 = Instance.new("Weld",Stone3) | |
404 | Stone333.Part0 = NeckS | |
405 | Stone333.Part1 = Stone3 | |
406 | Stone333.C0 = CFrame.new(0.23,-0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
407 | local Stone4 = Instance.new("Part",NeckS)--First Circle | |
408 | Stone4.Size = Vector3.new(0.2,0.2,0.2) | |
409 | Stone4.Material = "Neon" | |
410 | Stone4.BrickColor = BrickColor.new("Really red") | |
411 | Stone4.CanCollide = false | |
412 | local Stone44 = Instance.new("SpecialMesh",Stone4) | |
413 | Stone44.MeshType = 3 | |
414 | local Stone444 = Instance.new("Weld",Stone4) | |
415 | Stone444.Part0 = NeckS | |
416 | Stone444.Part1 = Stone4 | |
417 | Stone444.C0 = CFrame.new(0.23,-0.47,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
418 | local Stone5 = Instance.new("Part",NeckS)--First Circle | |
419 | Stone5.Size = Vector3.new(0.2,0.2,0.2) | |
420 | Stone5.Material = "Neon" | |
421 | Stone5.BrickColor = BrickColor.new("CGA brown") | |
422 | Stone5.CanCollide = false | |
423 | local Stone55 = Instance.new("SpecialMesh",Stone5) | |
424 | Stone55.MeshType = 3 | |
425 | local Stone555 = Instance.new("Weld",Stone5) | |
426 | Stone555.Part0 = NeckS | |
427 | Stone555.Part1 = Stone5 | |
428 | Stone555.C0 = CFrame.new(0.23,-0.47,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
429 | ||
430 | local Stone6 = Instance.new("Part",NeckS)--First Circle | |
431 | Stone6.Size = Vector3.new(0.2,0.2,0.2) | |
432 | Stone6.Material = "Neon" | |
433 | Stone6.BrickColor = BrickColor.new("Lime green") | |
434 | Stone6.CanCollide = false | |
435 | local Stone66 = Instance.new("SpecialMesh",Stone6) | |
436 | Stone66.MeshType = 3 | |
437 | local Stone666 = Instance.new("Weld",Stone6) | |
438 | Stone666.Part0 = NeckS | |
439 | Stone666.Part1 = Stone6 | |
440 | Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
441 | ||
442 | local Grab = Instance.new("Part",hed) | |
443 | Grab.Size = Vector3.new(4.9,5,4.9) | |
444 | Grab.CanCollide = false | |
445 | Grab.BrickColor = BrickColor.new("Deep orange") | |
446 | Grab.Transparency = 1 | |
447 | local Grabo = Instance.new("Weld",Grab) | |
448 | Grabo.Part0 = hed | |
449 | Grabo.Part1 = Grab | |
450 | Grabo.C0 = CFrame.new(0,-1.5,0) | |
451 | ||
452 | local AuraB = Instance.new("Part",hed) | |
453 | AuraB.Size = Vector3.new(2,1,2) | |
454 | AuraB.CanCollide = false | |
455 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
456 | AuraB.Transparency = 1 | |
457 | local AuraBo = Instance.new("Weld",AuraB) | |
458 | AuraBo.Part0 = hed | |
459 | AuraBo.Part1 = AuraB | |
460 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
461 | ||
462 | local FZcharge3 = Instance.new("ParticleEmitter",Grab) | |
463 | FZcharge3.Texture = "rbxassetid://249481494" | |
464 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255)) | |
465 | FZcharge3.EmissionDirection = "Top" | |
466 | FZcharge3.Speed = NumberRange.new(8) | |
467 | FZcharge3.Size = NumberSequence.new(8,0) | |
468 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
469 | FZcharge3.Drag = 1.2 | |
470 | FZcharge3.LockedToPart = true | |
471 | FZcharge3.Lifetime = NumberRange.new(1) | |
472 | FZcharge3.Rate = 195 | |
473 | FZcharge3.LightEmission = 0 | |
474 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
475 | FZcharge3.VelocitySpread = 100.2 | |
476 | FZcharge3.ZOffset = 2.5 | |
477 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655" | |
478 | wait(0.001) | |
479 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://" | |
480 | for i,v in pairs(char:GetChildren()) do | |
481 | if v ~= root then | |
482 | if v:IsA("Part") then | |
483 | v.Transparency = 1 | |
484 | elseif v:IsA("Accoutrement") then | |
485 | v:FindFirstChildOfClass("Part").Transparency = 1 | |
486 | end | |
487 | end | |
488 | end | |
489 | for i,v in pairs(NeckS:GetChildren()) do | |
490 | if v ~= root then | |
491 | if v:IsA("Part") then | |
492 | v.Transparency = 1 | |
493 | elseif v:IsA("Accoutrement") then | |
494 | v:FindFirstChildOfClass("Part").Transparency = 1 | |
495 | end | |
496 | end | |
497 | end | |
498 | wait(5) | |
499 | FZcharge3.Rate = 0 | |
500 | for i,v in pairs(char:GetChildren()) do | |
501 | if v ~= root then | |
502 | if v:IsA("Part") then | |
503 | v.Transparency = 0 | |
504 | elseif v:IsA("Accoutrement") then | |
505 | v:FindFirstChildOfClass("Part").Transparency = 0 | |
506 | end | |
507 | end | |
508 | end | |
509 | for i,v in pairs(NeckS:GetChildren()) do | |
510 | if v ~= root then | |
511 | if v:IsA("Part") then | |
512 | v.Transparency = 0 | |
513 | elseif v:IsA("Accoutrement") then | |
514 | v:FindFirstChildOfClass("Part").Transparency = 0 | |
515 | end | |
516 | end | |
517 | end | |
518 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655" | |
519 | local SFXZ = Instance.new("Sound",torso) | |
520 | SFXZ.SoundId = "rbxassetid://915686003" | |
521 | SFXZ.Volume = 3 | |
522 | SFXZ.Pitch = 1 | |
523 | SFXZ.Looped = false | |
524 | wait(0.01) | |
525 | SFXZ:Play() | |
526 | nooutline = function(part) | |
527 | part.TopSurface = 10 | |
528 | end | |
529 | local Mode = false | |
530 | part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
531 | local fp = it("Part") | |
532 | fp.formFactor = formfactor | |
533 | fp.Parent = parent | |
534 | fp.Reflectance = reflectance | |
535 | fp.Transparency = transparency | |
536 | fp.CanCollide = false | |
537 | fp.Locked = true | |
538 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
539 | fp.Name = name | |
540 | fp.Size = size | |
541 | fp.Position = char.Torso.Position | |
542 | nooutline(fp) | |
543 | fp.Material = material | |
544 | fp:BreakJoints() | |
545 | return fp | |
546 | end | |
547 | ||
548 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
549 | local mesh = it(Mesh) | |
550 | mesh.Parent = part | |
551 | if Mesh == "SpecialMesh" then | |
552 | mesh.MeshType = meshtype | |
553 | mesh.MeshId = meshid | |
554 | end | |
555 | mesh.Offset = offset | |
556 | mesh.Scale = scale | |
557 | return mesh | |
558 | end | |
559 | ||
560 | weld = function(parent, part0, part1, c0, c1) | |
561 | local weld = it("Weld") | |
562 | weld.Parent = parent | |
563 | weld.Part0 = part0 | |
564 | weld.Part1 = part1 | |
565 | weld.C0 = c0 | |
566 | weld.C1 = c1 | |
567 | return weld | |
568 | end | |
569 | local Create = LoadLibrary("RbxUtility").Create | |
570 | ArtificialHB = Create("BindableEvent", script){ | |
571 | Parent = script, | |
572 | Name = "Heartbeat", | |
573 | } | |
574 | ||
575 | function RemoveOutlines(part) | |
576 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
577 | end | |
578 | CFuncs = { | |
579 | Part = { | |
580 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
581 | local Part = Create("Part"){ | |
582 | Parent = Parent, | |
583 | Reflectance = Reflectance, | |
584 | Transparency = Transparency, | |
585 | CanCollide = false, | |
586 | Locked = true, | |
587 | BrickColor = BrickColor.new(tostring(BColor)), | |
588 | Name = Name, | |
589 | Size = Size, | |
590 | Material = Material, | |
591 | } | |
592 | RemoveOutlines(Part) | |
593 | return Part | |
594 | end; | |
595 | }; | |
596 | ||
597 | Mesh = { | |
598 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
599 | local Msh = Create(Mesh){ | |
600 | Parent = Part, | |
601 | Offset = OffSet, | |
602 | Scale = Scale, | |
603 | } | |
604 | if Mesh == "SpecialMesh" then | |
605 | Msh.MeshType = MeshType | |
606 | Msh.MeshId = MeshId | |
607 | end | |
608 | return Msh | |
609 | end; | |
610 | }; | |
611 | ||
612 | Weld = { | |
613 | Create = function(Parent, Part0, Part1, C0, C1) | |
614 | local Weld = Create("Weld"){ | |
615 | Parent = Parent, | |
616 | Part0 = Part0, | |
617 | Part1 = Part1, | |
618 | C0 = C0, | |
619 | C1 = C1, | |
620 | } | |
621 | return Weld | |
622 | end; | |
623 | }; | |
624 | ||
625 | Sound = { | |
626 | Create = function(id, par, vol, pit) | |
627 | local Sound = Create("Sound"){ | |
628 | Volume = vol, | |
629 | Pitch = pit or 1, | |
630 | SoundId = "rbxassetid://" .. id, | |
631 | Parent = par or workspace, | |
632 | } | |
633 | Sound:play() | |
634 | return Sound | |
635 | end; | |
636 | }; | |
637 | ||
638 | Decal = { | |
639 | Create = function(Color, Texture, Transparency, Name, Parent) | |
640 | local Decal = Create("Decal"){ | |
641 | Color3 = Color, | |
642 | Texture = "rbxassetid://" .. Texture, | |
643 | Transparency = Transparency, | |
644 | Name = Name, | |
645 | Parent = Parent, | |
646 | } | |
647 | return Decal | |
648 | end; | |
649 | }; | |
650 | ||
651 | BillboardGui = { | |
652 | Create = function(Parent, Image, Position, Size) | |
653 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
654 | BillPar.CFrame = CFrame.new(Position) | |
655 | local Bill = Create("BillboardGui"){ | |
656 | Parent = BillPar, | |
657 | Adornee = BillPar, | |
658 | Size = UDim2.new(1, 0, 1, 0), | |
659 | SizeOffset = Vector2.new(Size, Size), | |
660 | } | |
661 | local d = Create("ImageLabel", Bill){ | |
662 | Parent = Bill, | |
663 | BackgroundTransparency = 1, | |
664 | Size = UDim2.new(1, 0, 1, 0), | |
665 | Image = "rbxassetid://" .. Image, | |
666 | } | |
667 | return BillPar | |
668 | end | |
669 | }; | |
670 | ||
671 | ParticleEmitter = { | |
672 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
673 | local Particle = Create("ParticleEmitter"){ | |
674 | Parent = Parent, | |
675 | Color = ColorSequence.new(Color1, Color2), | |
676 | LightEmission = LightEmission, | |
677 | Size = Size, | |
678 | Texture = Texture, | |
679 | Transparency = Transparency, | |
680 | ZOffset = ZOffset, | |
681 | Acceleration = Accel, | |
682 | Drag = Drag, | |
683 | LockedToPart = LockedToPart, | |
684 | VelocityInheritance = VelocityInheritance, | |
685 | EmissionDirection = EmissionDirection, | |
686 | Enabled = Enabled, | |
687 | Lifetime = LifeTime, | |
688 | Rate = Rate, | |
689 | Rotation = Rotation, | |
690 | RotSpeed = RotSpeed, | |
691 | Speed = Speed, | |
692 | VelocitySpread = VelocitySpread, | |
693 | } | |
694 | return Particle | |
695 | end; | |
696 | }; | |
697 | ||
698 | CreateTemplate = { | |
699 | ||
700 | }; | |
701 | } | |
702 | NewInstance = function(instance,parent,properties) | |
703 | local inst = Instance.new(instance) | |
704 | inst.Parent = parent | |
705 | if(properties)then | |
706 | for i,v in next, properties do | |
707 | pcall(function() inst[i] = v end) | |
708 | end | |
709 | end | |
710 | return inst; | |
711 | end | |
712 | ||
713 | function rayCast(Position, Direction, Range, Ignore) | |
714 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
715 | end | |
716 | local m = Create("Model"){ | |
717 | Parent = char, | |
718 | Name = "WeaponModel", | |
719 | } | |
720 | HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977)) | |
721 | HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1)) | |
722 | HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109)) | |
723 | HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
724 | Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292)) | |
725 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0)) | |
726 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
727 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
728 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
729 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481)) | |
730 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0)) | |
731 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0)) | |
732 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1)) | |
733 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041)) | |
734 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0)) | |
735 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1)) | |
736 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
737 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
738 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481)) | |
739 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
740 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0)) | |
741 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249)) | |
742 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
743 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0)) | |
744 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384)) | |
745 | Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
746 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
747 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654)) | |
748 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
749 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0)) | |
750 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249)) | |
751 | Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
752 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
753 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654)) | |
754 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607)) | |
755 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0)) | |
756 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
757 | Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
758 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
759 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654)) | |
760 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
761 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0)) | |
762 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384)) | |
763 | Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384)) | |
764 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
765 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1)) | |
766 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
767 | PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
768 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481)) | |
769 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904)) | |
770 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1)) | |
771 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1)) | |
772 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904)) | |
773 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1)) | |
774 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1)) | |
775 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904)) | |
776 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1)) | |
777 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1)) | |
778 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976)) | |
779 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
780 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097)) | |
781 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
782 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611)) | |
783 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
784 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904)) | |
785 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1)) | |
786 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1)) | |
787 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064)) | |
788 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
789 | CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654)) | |
790 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064)) | |
791 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
792 | CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654)) | |
793 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324)) | |
794 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
795 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1)) | |
796 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904)) | |
797 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1)) | |
798 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1)) | |
799 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904)) | |
800 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1)) | |
801 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1)) | |
802 | Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966)) | |
803 | Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
804 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
805 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
806 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945)) | |
807 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064)) | |
808 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
809 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199)) | |
810 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
811 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
812 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907)) | |
813 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648)) | |
814 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
815 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1)) | |
816 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
817 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
818 | CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684)) | |
819 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064)) | |
820 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0)) | |
821 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
822 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064)) | |
823 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
824 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
825 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064)) | |
826 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
827 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199)) | |
828 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
829 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
830 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978)) | |
831 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064)) | |
832 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
833 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
834 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064)) | |
835 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
836 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
837 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064)) | |
838 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
839 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086)) | |
840 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064)) | |
841 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
842 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
843 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703)) | |
844 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
845 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
846 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
847 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907)) | |
848 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064)) | |
849 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
850 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712)) | |
851 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064)) | |
852 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
853 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
854 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283)) | |
855 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
856 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1)) | |
857 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
858 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
859 | CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684)) | |
860 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
861 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
862 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907)) | |
863 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064)) | |
864 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
865 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
866 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064)) | |
867 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
868 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
869 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961)) | |
870 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
871 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1)) | |
872 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683)) | |
873 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
874 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1)) | |
875 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703)) | |
876 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
877 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1)) | |
878 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064)) | |
879 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0)) | |
880 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684)) | |
881 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064)) | |
882 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
883 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064)) | |
884 | Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064)) | |
885 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
886 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086)) | |
887 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
888 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
889 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907)) | |
890 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064)) | |
891 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
892 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064)) | |
893 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
894 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
895 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907)) | |
896 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064)) | |
897 | Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0)) | |
898 | CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945)) | |
899 | Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064)) | |
900 | Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
901 | CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105)) | |
902 | Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064)) | |
903 | Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0)) | |
904 | CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105)) | |
905 | Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966)) | |
906 | Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1)) | |
907 | CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1)) | |
908 | sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new()) | |
909 | sref.Anchored = true | |
910 | ||
911 | ACOS = math.acos | |
912 | ang = CFrame.Angles | |
913 | SIN = math.sin | |
914 | cf = CFrame.new | |
915 | COS = math.cos | |
916 | rd = math.rad | |
917 | rd2 = math.random | |
918 | Heartbeat = Instance.new("BindableEvent") | |
919 | Heartbeat.Name = "Heartbeat" | |
920 | Heartbeat.Parent = script | |
921 | local LeftShoulder = torso["Left Shoulder"] | |
922 | local Left_Hip = torso["Left Hip"] | |
923 | local RightShoulder = torso["Right Shoulder"] | |
924 | local Right_Hip = torso["Right Hip"] | |
925 | ||
926 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
927 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
928 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
929 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
930 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
931 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
932 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
933 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
934 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
935 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
936 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
937 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
938 | RS = torso:FindFirstChild("Right Shoulder") | |
939 | LS = torso:FindFirstChild("Left Shoulder") | |
940 | RH = torso:FindFirstChild("Right Hip") | |
941 | LH = torso:FindFirstChild("Left Hip") | |
942 | RJ = root:FindFirstChild("RootJoint") | |
943 | N = torso:FindFirstChild("Neck") | |
944 | ||
945 | ||
946 | local UltimateBattle = Instance.new("Sound",hed) | |
947 | UltimateBattle.SoundId = "rbxassetid://1333021608" | |
948 | UltimateBattle.Pitch = 1 | |
949 | UltimateBattle.Looped = true | |
950 | UltimateBattle.Volume = 5 | |
951 | UltimateBattle:Play() | |
952 | ||
953 | ||
954 | ||
955 | ||
956 | ||
957 | ||
958 | function QuaternionFromCFrame(cf) | |
959 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
960 | local trace = m00 + m11 + m22 | |
961 | if trace > 0 then | |
962 | local s = math.sqrt(1 + trace) | |
963 | local recip = 0.5 / s | |
964 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
965 | else | |
966 | local i = 0 | |
967 | if m11 > m00 then | |
968 | i = 1 | |
969 | end | |
970 | if m22 > (i == 0 and m00 or m11) then | |
971 | i = 2 | |
972 | end | |
973 | if i == 0 then | |
974 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
975 | local recip = 0.5 / s | |
976 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
977 | elseif i == 1 then | |
978 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
979 | local recip = 0.5 / s | |
980 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
981 | elseif i == 2 then | |
982 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
983 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
984 | end | |
985 | end | |
986 | end | |
987 | ||
988 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
989 | local xs, ys, zs = x + x, y + y, z + z | |
990 | local wx, wy, wz = w * xs, w * ys, w * zs | |
991 | local xx = x * xs | |
992 | local xy = x * ys | |
993 | local xz = x * zs | |
994 | local yy = y * ys | |
995 | local yz = y * zs | |
996 | local zz = z * zs | |
997 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
998 | end | |
999 | ||
1000 | function QuaternionSlerp(a, b, t) | |
1001 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1002 | local startInterp, finishInterp; | |
1003 | if cosTheta >= 0.0001 then | |
1004 | if (1 - cosTheta) > 0.0001 then | |
1005 | local theta = ACOS(cosTheta) | |
1006 | local invSinTheta = 1 / SIN(theta) | |
1007 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
1008 | finishInterp = SIN(t * theta) * invSinTheta | |
1009 | else | |
1010 | startInterp = 1 - t | |
1011 | finishInterp = t | |
1012 | end | |
1013 | else | |
1014 | if (1 + cosTheta) > 0.0001 then | |
1015 | local theta = ACOS(-cosTheta) | |
1016 | local invSinTheta = 1 / SIN(theta) | |
1017 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
1018 | finishInterp = SIN(t * theta) * invSinTheta | |
1019 | else | |
1020 | startInterp = t - 1 | |
1021 | finishInterp = t | |
1022 | end | |
1023 | end | |
1024 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
1025 | end | |
1026 | ||
1027 | function Clerp(a, b, t) | |
1028 | local qa = {QuaternionFromCFrame(a)} | |
1029 | local qb = {QuaternionFromCFrame(b)} | |
1030 | local ax, ay, az = a.x, a.y, a.z | |
1031 | local bx, by, bz = b.x, b.y, b.z | |
1032 | local _t = 1 - t | |
1033 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1034 | end | |
1035 | ||
1036 | main = {r = 0;g = 100;b = 255;v = 1} | |
1037 | if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end | |
1038 | if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end | |
1039 | if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end | |
1040 | if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end | |
1041 | if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end | |
1042 | if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end | |
1043 | pr = p:FindFirstChild("rcolor") | |
1044 | pg = p:FindFirstChild("gcolor") | |
1045 | pb = p:FindFirstChild("bcolor") | |
1046 | pv = p:FindFirstChild("vcolor") | |
1047 | idth = p:FindFirstChild("idtheme") | |
1048 | pith = p:FindFirstChild("pitchtheme") | |
1049 | main_color = Color3.fromRGB(main.r,main.g,main.b) | |
1050 | explosionid = {144699494,144699494} | |
1051 | punch = {545219984} | |
1052 | --919941001 | |
1053 | Prefix = "/" | |
1054 | p.Chatted:connect(function(msg) | |
1055 | ||
1056 | if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then | |
1057 | local v = tonumber(msg:sub(#Prefix+#'color r '+1)) | |
1058 | main.r = v | |
1059 | elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then | |
1060 | local v = tonumber(msg:sub(#Prefix+#'color g '+1)) | |
1061 | main.g = v | |
1062 | elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then | |
1063 | local v = tonumber(msg:sub(#Prefix+#'color b '+1)) | |
1064 | main.b = v | |
1065 | elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then | |
1066 | local v = tonumber(msg:sub(#Prefix+#'color v '+1)) | |
1067 | if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end | |
1068 | ||
1069 | elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then | |
1070 | local v = tonumber(msg:sub(#Prefix+#'theme '+1)) | |
1071 | themeid = v | |
1072 | music(themeid,themepitch) | |
1073 | ||
1074 | elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then | |
1075 | local v = tonumber(msg:sub(#Prefix+#'pitch '+1)) | |
1076 | themepitch = v | |
1077 | music(themeid,themepitch) | |
1078 | ||
1079 | elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then | |
1080 | local v = msg:sub(#Prefix+#'prefix '+1) | |
1081 | Prefix = v | |
1082 | ||
1083 | elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then | |
1084 | main.r = 0 | |
1085 | main.g = 100 | |
1086 | main.b = 255 | |
1087 | main.v = 1 | |
1088 | themeid = 556122490 | |
1089 | themepitch = 1 | |
1090 | music(themeid,themepitch) | |
1091 | ||
1092 | end | |
1093 | ||
1094 | end) | |
1095 | ---------------------------------------------------------------------------- | |
1096 | no_anim = false | |
1097 | attack = false | |
1098 | attacking = false | |
1099 | canjump = true | |
1100 | aiming_anim = false | |
1101 | animid = math.random(0,1) | |
1102 | timer = 0 | |
1103 | bg = Instance.new("BodyGyro",root) | |
1104 | bg.P = 100000 | |
1105 | bg.D = 100 | |
1106 | ---------------------------------------------------------------------------- | |
1107 | ||
1108 | ---- | |
1109 | function rswait(value) | |
1110 | if value ~= nil and value ~= 0 then | |
1111 | for i=1,value do | |
1112 | rs:wait() | |
1113 | end | |
1114 | else | |
1115 | rs:wait() | |
1116 | end | |
1117 | end | |
1118 | ||
1119 | ---- | |
1120 | local maincolor = BrickColor.new("Really red") | |
1121 | function Eviscerate(dude) | |
1122 | if dude.Name ~= char then | |
1123 | ||
1124 | local val = Instance.new("BoolValue", dude) | |
1125 | val.Name = "IsHit" | |
1126 | local ds = coroutine.wrap(function() | |
1127 | dude:BreakJoints() | |
1128 | wait(0) | |
1129 | local Vanish = Instance.new("Sound",dude) | |
1130 | Vanish.SoundId = "rbxassetid://427025525" | |
1131 | Vanish.Volume = 0.5 | |
1132 | Vanish.Pitch = 0.6 | |
1133 | Vanish.Looped = false | |
1134 | wait(0.01) | |
1135 | Vanish:Play() | |
1136 | coroutine.resume(coroutine.create(function() | |
1137 | for i, v in pairs(dude:GetChildren()) do | |
1138 | if v:IsA("Accessory") then | |
1139 | v:Destroy() | |
1140 | end | |
1141 | ||
1142 | if v:IsA("CharacterMesh") then | |
1143 | v:Destroy() | |
1144 | end | |
1145 | if v:IsA("Model") then | |
1146 | v:Destroy() | |
1147 | end | |
1148 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1149 | for x, o in pairs(v:GetChildren()) do | |
1150 | if o:IsA("Decal") then | |
1151 | o:Destroy() | |
1152 | end | |
1153 | end | |
1154 | coroutine.resume(coroutine.create(function() | |
1155 | v.Material = "Grass" | |
1156 | v.CanCollide = false | |
1157 | ||
1158 | coroutine.resume(coroutine.create(function() | |
1159 | for i = 1,45 do | |
1160 | v.Transparency = v.Transparency + 0.04 | |
1161 | wait(0.00000000001) | |
1162 | end | |
1163 | ||
1164 | ||
1165 | end)) | |
1166 | ||
1167 | local Aura = Instance.new("ParticleEmitter",v) | |
1168 | Aura.Texture = "rbxassetid://1084976679" | |
1169 | Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color) | |
1170 | Aura.EmissionDirection = "Top" | |
1171 | Aura.Speed = NumberRange.new(0) | |
1172 | Aura.Size = NumberSequence.new(2.5) | |
1173 | Aura.Transparency = NumberSequence.new(0,1) | |
1174 | Aura.Drag = 0.4 | |
1175 | Aura.LightInfluence = 0 | |
1176 | Aura.LockedToPart = true | |
1177 | Aura.Lifetime = NumberRange.new(0.9) | |
1178 | Aura.Rate = 260 | |
1179 | Aura.LightEmission = 1 | |
1180 | Aura.Rotation = NumberRange.new(-360,360) | |
1181 | Aura.VelocitySpread = 0 | |
1182 | Aura.Acceleration = Vector3.new(0,10,0) | |
1183 | Aura.ZOffset = 0.2 | |
1184 | local BodPoss = Instance.new("BodyPosition", v) | |
1185 | BodPoss.P = 3000 | |
1186 | BodPoss.D = 1000 | |
1187 | BodPoss.maxForce = Vector3.new(500, 5000, 500) | |
1188 | BodPoss.position = v.Position + Vector3.new(rd2(-2, 0), rd2(-0, 0), rd2(-0, 0)) | |
1189 | v.BrickColor = BrickColor.new("Dirt brown") | |
1190 | ||
1191 | wait(1.3) | |
1192 | Aura.Enabled = false | |
1193 | wait(1.5) | |
1194 | v:Destroy() | |
1195 | ||
1196 | dude:Destroy() | |
1197 | end)) | |
1198 | end | |
1199 | ||
1200 | end | |
1201 | end)) | |
1202 | end) | |
1203 | ds() | |
1204 | end | |
1205 | end | |
1206 | function Snap(dude) | |
1207 | if dude.Name ~= char then | |
1208 | local bgf = Instance.new("BodyGyro", dude.Head) | |
1209 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0) | |
1210 | local val = Instance.new("BoolValue", dude) | |
1211 | val.Name = "IsHit" | |
1212 | local ds = coroutine.wrap(function() | |
1213 | dude:BreakJoints() | |
1214 | wait(0) | |
1215 | ||
1216 | coroutine.resume(coroutine.create(function() | |
1217 | for i, v in pairs(dude:GetChildren()) do | |
1218 | if v:IsA("Accessory") then | |
1219 | v:Destroy() | |
1220 | end | |
1221 | ||
1222 | if v:IsA("CharacterMesh") then | |
1223 | v:Destroy() | |
1224 | end | |
1225 | if v:IsA("Model") then | |
1226 | v:Destroy() | |
1227 | end | |
1228 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1229 | for x, o in pairs(v:GetChildren()) do | |
1230 | if o:IsA("Decal") then | |
1231 | o:Destroy() | |
1232 | end | |
1233 | end | |
1234 | coroutine.resume(coroutine.create(function() | |
1235 | ||
1236 | v.Material = "Neon" | |
1237 | local PartEmmit1 = Instance.new("ParticleEmitter", v) | |
1238 | PartEmmit1.LightEmission = 1 | |
1239 | PartEmmit1.Texture = "rbxassetid://520049620" | |
1240 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1241 | PartEmmit1.Rate = 150 | |
1242 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1243 | PartEmmit1.Size = NumberSequence.new({ | |
1244 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1245 | NumberSequenceKeypoint.new(1, 0, 0) | |
1246 | }) | |
1247 | PartEmmit1.Transparency = NumberSequence.new({ | |
1248 | NumberSequenceKeypoint.new(0, 0, 0), | |
1249 | NumberSequenceKeypoint.new(1, 1, 0) | |
1250 | }) | |
1251 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1252 | PartEmmit1.VelocitySpread = 30000 | |
1253 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1254 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1255 | local BodPoss = Instance.new("BodyPosition", v) | |
1256 | BodPoss.P = 3000 | |
1257 | BodPoss.D = 1000 | |
1258 | BodPoss.maxForce = Vector3.new(200000, 200000, 200000) | |
1259 | BodPoss.position = v.Position + Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1)) | |
1260 | v.BrickColor = BrickColor.new("Really red") | |
1261 | coroutine.resume(coroutine.create(function() | |
1262 | for i = 0, 49 do | |
1263 | swait(1) | |
1264 | ||
1265 | end | |
1266 | wait(0.5) | |
1267 | PartEmmit1.Enabled = false | |
1268 | wait(3) | |
1269 | v:Destroy() | |
1270 | dude:Destroy() | |
1271 | end)) | |
1272 | end)) | |
1273 | end | |
1274 | end | |
1275 | end)) | |
1276 | end) | |
1277 | ds() | |
1278 | end | |
1279 | end | |
1280 | function Rock(stone) | |
1281 | if stone.Name ~= char then | |
1282 | ||
1283 | local val = Instance.new("BoolValue", stone) | |
1284 | val.Name = "IsHit" | |
1285 | local ds = coroutine.wrap(function() | |
1286 | stone:BreakJoints() | |
1287 | wait(0) | |
1288 | ||
1289 | coroutine.resume(coroutine.create(function() | |
1290 | for i, v in pairs(stone:GetChildren()) do | |
1291 | if v:IsA("Accessory") then | |
1292 | v:Destroy() | |
1293 | end | |
1294 | ||
1295 | if v:IsA("CharacterMesh") then | |
1296 | v:Destroy() | |
1297 | end | |
1298 | if v:IsA("Model") then | |
1299 | v:Destroy() | |
1300 | end | |
1301 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1302 | for x, o in pairs(v:GetChildren()) do | |
1303 | if o:IsA("Decal") then | |
1304 | o:Destroy() | |
1305 | end | |
1306 | end | |
1307 | coroutine.resume(coroutine.create(function() | |
1308 | ||
1309 | v.Material = "Slate" | |
1310 | v.CanCollide = true | |
1311 | local BodPoss = Instance.new("BodyPosition", v) | |
1312 | BodPoss.P = 3000 | |
1313 | BodPoss.D = 1000 | |
1314 | BodPoss.maxForce = Vector3.new(500, 5000, 500) | |
1315 | BodPoss.position = v.Position + Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0)) | |
1316 | ||
1317 | v.BrickColor = BrickColor.new("Dark stone grey") | |
1318 | wait(0.1) | |
1319 | BodPoss:Destroy() | |
1320 | coroutine.resume(coroutine.create(function() | |
1321 | for i = 0, 49 do | |
1322 | swait(1) | |
1323 | ||
1324 | end | |
1325 | wait(0.5) | |
1326 | ||
1327 | wait(3) | |
1328 | ||
1329 | end)) | |
1330 | end)) | |
1331 | end | |
1332 | end | |
1333 | end)) | |
1334 | end) | |
1335 | ds() | |
1336 | end | |
1337 | end | |
1338 | ---------------------------------------------------------------------------- | |
1339 | local instinct = true | |
1340 | ||
1341 | ||
1342 | --- | |
1343 | Instance.new("ForceField",char).Visible = false | |
1344 | hum:SetStateEnabled("Dead",false) | |
1345 | hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
1346 | --- | |
1347 | ||
1348 | --- | |
1349 | ||
1350 | local MUI = false | |
1351 | ||
1352 | ||
1353 | max = 0 | |
1354 | function music(id,pitch) | |
1355 | max = 0 | |
1356 | if id == "Stop" then | |
1357 | if not torso:FindFirstChild("MusicRuin") then | |
1358 | soundz = Instance.new("Sound",torso) | |
1359 | end | |
1360 | soundz:Stop() | |
1361 | else | |
1362 | if not torso:FindFirstChild("MusicRuin") then | |
1363 | soundz = Instance.new("Sound",torso) | |
1364 | end | |
1365 | soundz.MaxDistance = 150*5 | |
1366 | soundz.EmitterSize = 150/5 | |
1367 | soundz.Volume = 10 | |
1368 | soundz.Name = "MusicRuin" | |
1369 | soundz.Looped = true | |
1370 | soundz.PlaybackSpeed = pitch | |
1371 | soundz.SoundId = "rbxassetid://"..id | |
1372 | soundz:Stop() | |
1373 | soundz:Play() | |
1374 | end | |
1375 | end | |
1376 | ||
1377 | ---------------------------------------------------------------------------- | |
1378 | ||
1379 | function lerp(a, b, t) | |
1380 | return a + (b - a)*t | |
1381 | end | |
1382 | ||
1383 | ---------------------------------------------------------------------------- | |
1384 | ||
1385 | function Lerp(c1,c2,al) | |
1386 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1387 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1388 | for i,v in pairs(com1) do | |
1389 | com1[i] = v+(com2[i]-v)*al | |
1390 | end | |
1391 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1392 | end | |
1393 | ||
1394 | ---------------------------------------------------------------------------- | |
1395 | ||
1396 | function slerp(a, b, t) | |
1397 | dot = a:Dot(b) | |
1398 | if dot > 0.99999 or dot < -0.99999 then | |
1399 | return t <= 0.5 and a or b | |
1400 | else | |
1401 | r = math.acos(dot) | |
1402 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
1403 | end | |
1404 | end | |
1405 | ||
1406 | ---------------------------------------------------------------------------- | |
1407 | ||
1408 | function clerp(c1,c2,al) | |
1409 | ||
1410 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1411 | ||
1412 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1413 | ||
1414 | for i,v in pairs(com1) do | |
1415 | ||
1416 | com1[i] = lerp(v,com2[i],al) | |
1417 | ||
1418 | end | |
1419 | ||
1420 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1421 | ||
1422 | end | |
1423 | ||
1424 | ---------------------------------------------------------------------------- | |
1425 | ||
1426 | ||
1427 | ||
1428 | ------------------- | |
1429 | function findAllNearestTorso(pos,dist) | |
1430 | local list = game.Workspace:children() | |
1431 | local torso = {} | |
1432 | local temp = nil | |
1433 | local human = nil | |
1434 | local temp2 = nil | |
1435 | for x = 1, #list do | |
1436 | temp2 = list[x] | |
1437 | if (temp2.className == "Model") and (temp2 ~= char) then | |
1438 | local nayem = "Torso" | |
1439 | if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end | |
1440 | temp = temp2:findFirstChild(nayem) | |
1441 | human = temp2:findFirstChildOfClass("Humanoid") | |
1442 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
1443 | if (temp.Position - pos).magnitude < dist then | |
1444 | table.insert(torso,temp) | |
1445 | dist = (temp.Position - pos).magnitude | |
1446 | end | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | return torso | |
1451 | end | |
1452 | ||
1453 | ---------------------------------------------------------------------------- | |
1454 | ||
1455 | local isAPlayer | |
1456 | function checkIfNotPlayer(model) | |
1457 | coroutine.resume(coroutine.create(function() | |
1458 | if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then | |
1459 | isAPlayer = true | |
1460 | else | |
1461 | isAPlayer = false | |
1462 | end | |
1463 | end)) | |
1464 | return isAPlayer | |
1465 | end | |
1466 | ||
1467 | ---------------------------------------------------------------------------- | |
1468 | ||
1469 | function computeDirection(vec) | |
1470 | local lenSquared = vec.magnitude * vec.magnitude | |
1471 | local invSqrt = 1 / math.sqrt(lenSquared) | |
1472 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
1473 | end | |
1474 | ||
1475 | ---------------------------------------------------------------------------- | |
1476 | ||
1477 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
1478 | ||
1479 | local wld = Instance.new("Weld", wp1) | |
1480 | ||
1481 | wld.Part0 = wp0 | |
1482 | ||
1483 | wld.Part1 = wp1 | |
1484 | ||
1485 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
1486 | ||
1487 | return wld | |
1488 | ||
1489 | end | |
1490 | ||
1491 | ---------------------------------------------------------------------------- | |
1492 | ||
1493 | function weld(model) | |
1494 | local parts,last = {} | |
1495 | local function scan(parent) | |
1496 | for _,v in pairs(parent:GetChildren()) do | |
1497 | if (v:IsA("BasePart")) then | |
1498 | if (last) then | |
1499 | local w = Instance.new("Weld") | |
1500 | w.Name = ("%s_Weld"):format(v.Name) | |
1501 | w.Part0,w.Part1 = last,v | |
1502 | w.C0 = last.CFrame:inverse() | |
1503 | w.C1 = v.CFrame:inverse() | |
1504 | w.Parent = last | |
1505 | end | |
1506 | last = v | |
1507 | table.insert(parts,v) | |
1508 | end | |
1509 | scan(v) | |
1510 | end | |
1511 | end | |
1512 | scan(model) | |
1513 | for _,v in pairs(parts) do | |
1514 | v.Anchored = false | |
1515 | v.Locked = true | |
1516 | end | |
1517 | end | |
1518 | ||
1519 | ---------------------------------------------------------------------------- | |
1520 | ||
1521 | function sound(id,position,vol,pitch,dist,start,finish) | |
1522 | coroutine.resume(coroutine.create(function() | |
1523 | ||
1524 | local part = Instance.new("Part",DebrisModel) | |
1525 | part.Anchored = true | |
1526 | part.Position = position | |
1527 | part.Size = Vector3.new(0,0,0) | |
1528 | part.CanCollide = false | |
1529 | part.Transparency = 1 | |
1530 | ||
1531 | soundasd = Instance.new("Sound",part) | |
1532 | ||
1533 | soundasd.SoundId = "rbxassetid://"..id | |
1534 | ||
1535 | if vol ~= nil then | |
1536 | soundasd.Volume = vol | |
1537 | end | |
1538 | ||
1539 | if pitch ~= nil then | |
1540 | soundasd.PlaybackSpeed = pitch | |
1541 | end | |
1542 | ||
1543 | if dist ~= nil then | |
1544 | soundasd.MaxDistance = dist*5 | |
1545 | soundasd.EmitterSize = dist/5 | |
1546 | end | |
1547 | ||
1548 | delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end) | |
1549 | ||
1550 | soundasd:Play() | |
1551 | ||
1552 | end)) | |
1553 | return soundasd | |
1554 | end | |
1555 | ||
1556 | function createsound(id,parent) | |
1557 | ||
1558 | local soundz = Instance.new("Sound",parent) | |
1559 | ||
1560 | soundz.SoundId = "rbxassetid://"..id | |
1561 | ||
1562 | return soundz | |
1563 | ||
1564 | end | |
1565 | ||
1566 | function playsound(sond,vol,pitch,start) | |
1567 | ||
1568 | if vol ~= nil then | |
1569 | sond.Volume = vol | |
1570 | end | |
1571 | ||
1572 | if pitch ~= nil then | |
1573 | sond.PlaybackSpeed = pitch | |
1574 | end | |
1575 | ||
1576 | if start ~= nil then | |
1577 | sond.TimePosition = start | |
1578 | end | |
1579 | ||
1580 | sond:Play() | |
1581 | ||
1582 | end | |
1583 | ||
1584 | ---------------------------------------------------------------------------- | |
1585 | eColors={"Really red","Really black"} | |
1586 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) | |
1587 | local magz = (Part0 - Part1).magnitude | |
1588 | local curpos = Part0 | |
1589 | local trz = {-Offset,Offset} | |
1590 | for i=1,Times do | |
1591 | local li = Instance.new("Part", DebrisModel) | |
1592 | li.TopSurface =0 | |
1593 | li.Material = Enum.Material.Neon | |
1594 | li.BottomSurface = 0 | |
1595 | li.Anchored = true | |
1596 | li.Locked = true | |
1597 | li.Transparency = Trans or 0.4 | |
1598 | li.BrickColor = BrickColor.new(Color) | |
1599 | li.formFactor = "Custom" | |
1600 | li.CanCollide = false | |
1601 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
1602 | local lim = Instance.new("BlockMesh",li) | |
1603 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
1604 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
1605 | if Times == i then | |
1606 | local magz2 = (curpos - Part1).magnitude | |
1607 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
1608 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
1609 | else | |
1610 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
1611 | end | |
1612 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
1613 | li.Name = "LIGHTNING" | |
1614 | end | |
1615 | end | |
1616 | ||
1617 | ---------------------------------------------------------------------------- | |
1618 | ||
1619 | ||
1620 | local HBill = Instance.new("BillboardGui",hed) | |
1621 | local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame") | |
1622 | local HName = Instance.new("TextLabel") | |
1623 | HBill.Size = UDim2.new(15,0,2.2,0) | |
1624 | HBill.StudsOffset = Vector3.new(3.675,1.2,0) | |
1625 | HBill.AlwaysOnTop = true | |
1626 | HBill.Enabled = true | |
1627 | HMain.BackgroundColor3 = Color3.new(0, 0, 0) | |
1628 | HMain.BackgroundTransparency = 1 | |
1629 | HMain.Size = UDim2.new(.5,0,.2,0) | |
1630 | HName.Parent = HMain | |
1631 | HName.BackgroundTransparency = 1 | |
1632 | HName.BackgroundColor3 = Color3.new(255,255,255) | |
1633 | HName.BorderColor3 = Color3.new(0,0,0) | |
1634 | HName.BorderSizePixel = 2 | |
1635 | HName.TextTransparency = 1 | |
1636 | HName.Size = UDim2.new(1,0,.75,0) | |
1637 | HName.Font = "Code" | |
1638 | HName.Text = [[ok]] | |
1639 | HName.TextScaled = true | |
1640 | HName.TextColor3 = Color3.new(0.5,0.5,0.5) | |
1641 | HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1) | |
1642 | HName.TextStrokeTransparency = 1 | |
1643 | HName.TextYAlignment = "Bottom" | |
1644 | ||
1645 | local HBill = Instance.new("BillboardGui",hed) | |
1646 | local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame") | |
1647 | local HName = Instance.new("TextLabel") | |
1648 | HBill.Size = UDim2.new(15,0,2.2,0) | |
1649 | HBill.StudsOffset = Vector3.new(3.675,2,0) | |
1650 | HBill.AlwaysOnTop = true | |
1651 | HBill.Enabled = true | |
1652 | HMain.BackgroundColor3 = Color3.new(0, 0, 0) | |
1653 | HMain.BackgroundTransparency = 1 | |
1654 | HMain.Size = UDim2.new(.5,0,.5,0) | |
1655 | HName.Parent = HMain | |
1656 | HName.BackgroundTransparency = 1 | |
1657 | HName.BackgroundColor3 = Color3.new(255,255,255) | |
1658 | HName.BorderColor3 = Color3.new(0,0,0) | |
1659 | HName.BorderSizePixel = 2 | |
1660 | HName.Size = UDim2.new(1,0,.75,0) | |
1661 | HName.Font = "Code" | |
1662 | HName.TextTransparency = 1 | |
1663 | HName.Text = [[hi]] | |
1664 | HName.TextScaled = true | |
1665 | HName.TextColor3 = Color3.new(0,0,0) | |
1666 | HName.TextStrokeColor3 = Color3.new(255,255,255) | |
1667 | HName.TextStrokeTransparency = 1 | |
1668 | HName.TextYAlignment = "Bottom" | |
1669 | ||
1670 | function bigboomrektxd() | |
1671 | coroutine.resume(coroutine.create(function() | |
1672 | local magnitude = nil | |
1673 | local Position = nil | |
1674 | if animid == 0 then | |
1675 | Position = larm.Position | |
1676 | else | |
1677 | Position = rarm.Position | |
1678 | end | |
1679 | --sound(743499393,Position,10,math.random(6,8)/10) | |
1680 | sound(1050751126,Position,10,math.random(10,12)/10,50) | |
1681 | ||
1682 | local Part1 = Instance.new("Part") | |
1683 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1684 | mesh2.MeshId = "rbxassetid://559831844" | |
1685 | mesh2.Scale = Vector3.new(0,0,0.4) | |
1686 | Part1.Material = Enum.Material.Neon | |
1687 | Part1.CanCollide = false | |
1688 | Part1.BrickColor = BrickColor.new("White") | |
1689 | Part1.Parent = DebrisModel | |
1690 | Part1.Size = Vector3.new(0,0,0) | |
1691 | Part1.Anchored = true | |
1692 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
1693 | Part1.Name = "EXPLOSION2" | |
1694 | ||
1695 | local Part0 = Instance.new("Part",DebrisModel) | |
1696 | local PointLight2 = Instance.new("PointLight") | |
1697 | Part0.Name = "Bullet" | |
1698 | Part0.Material = Enum.Material.Neon | |
1699 | Part0.BrickColor = BrickColor.new("New Yeller") | |
1700 | Part0.Anchored = false | |
1701 | Part0.Size = Vector3.new(5, 5, 5) | |
1702 | local mesh = Instance.new("SpecialMesh",Part0) | |
1703 | mesh.MeshType = Enum.MeshType.Sphere | |
1704 | local bforce = Instance.new("BodyForce",Part0) | |
1705 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
1706 | Part0.CanCollide = false | |
1707 | PointLight2.Parent = Part0 | |
1708 | PointLight2.Color = Part0.Color | |
1709 | local Target = mouse.Hit.p | |
1710 | local direction = Target - Position | |
1711 | local direction = computeDirection(direction) | |
1712 | local pos = Position + (direction * 2) | |
1713 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0) | |
1714 | Part0.Velocity = direction * 60 | |
1715 | local asd = nil | |
1716 | local loop = nil | |
1717 | delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
1718 | loop = rs:connect(function() | |
1719 | local asdf = math.random(500,1000)/1000 | |
1720 | local Part1 = Instance.new("Part") | |
1721 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1722 | mesh2.MeshType = Enum.MeshType.Sphere | |
1723 | Part1.Material = Enum.Material.Neon | |
1724 | Part1.CanCollide = false | |
1725 | Part1.BrickColor = BrickColor.new("Gold") | |
1726 | Part1.Parent = DebrisModel | |
1727 | Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf) | |
1728 | Part1.Anchored = true | |
1729 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750)) | |
1730 | Part1.Name = "SMOKE" | |
1731 | end) | |
1732 | asd = Part0.Touched:connect(function(ht) | |
1733 | local hit=ht.Parent | |
1734 | if checkIfNotPlayer(ht) == true and ht.CanCollide == true then | |
1735 | asd:disconnect() | |
1736 | loop:disconnect() | |
1737 | Part0:Destroy() | |
1738 | ||
1739 | sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80) | |
1740 | for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do | |
1741 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
1742 | v:Destroy() | |
1743 | else | |
1744 | v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10)) | |
1745 | end | |
1746 | local Position = Part0.Position | |
1747 | local Target = v.Position | |
1748 | local direction = Target - Position | |
1749 | local direction = computeDirection(direction) | |
1750 | local bv = Instance.new("BodyVelocity",v) | |
1751 | bv.Velocity = direction * (50 - ((Position - Target).magnitude/2)) | |
1752 | debris:AddItem(bv,1) | |
1753 | end | |
1754 | for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end | |
1755 | for z=1,math.random(2,3) do | |
1756 | local asdf = math.random(-5,5)*10-(i/20)*8 | |
1757 | local Part1 = Instance.new("Part") | |
1758 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1759 | mesh2.MeshType = Enum.MeshType.Sphere | |
1760 | mesh2.Scale = Vector3.new(0,0,0) | |
1761 | Part1.Material = Enum.Material.Neon | |
1762 | Part1.CanCollide = false | |
1763 | Part1.BrickColor = BrickColor.new("Gold") | |
1764 | Part1.Parent = DebrisModel | |
1765 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
1766 | Part1.Anchored = true | |
1767 | local a = i*0.5 | |
1768 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a)) | |
1769 | Part1.Name = "EXPLOSION" | |
1770 | end | |
1771 | end | |
1772 | ||
1773 | end | |
1774 | end) | |
1775 | end)) | |
1776 | end | |
1777 | ||
1778 | ||
1779 | function WhiteBall() | |
1780 | coroutine.resume(coroutine.create(function() | |
1781 | local magnitude = nil | |
1782 | local Position = nil | |
1783 | if animid == 0 then | |
1784 | Position = larm.Position | |
1785 | else | |
1786 | Position = rarm.Position | |
1787 | end | |
1788 | --sound(743499393,Position,10,math.random(6,8)/10) | |
1789 | sound(1050751126,Position,10,math.random(4,5)/10,100) | |
1790 | ||
1791 | local Part1 = Instance.new("Part") | |
1792 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1793 | mesh2.MeshId = "rbxassetid://559831844" | |
1794 | mesh2.Scale = Vector3.new(0,0,0.4) | |
1795 | Part1.Material = Enum.Material.Neon | |
1796 | Part1.CanCollide = false | |
1797 | Part1.BrickColor = BrickColor.new("White") | |
1798 | Part1.Parent = DebrisModel | |
1799 | Part1.Size = Vector3.new(0,0,0) | |
1800 | Part1.Anchored = true | |
1801 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
1802 | Part1.Name = "EXPLOSION3" | |
1803 | ||
1804 | local Part0 = Instance.new("Part",DebrisModel) | |
1805 | local PointLight2 = Instance.new("PointLight") | |
1806 | Part0.Name = "Bullet" | |
1807 | Part0.Material = Enum.Material.Neon | |
1808 | Part0.BrickColor = BrickColor.new("White") | |
1809 | Part0.Anchored = false | |
1810 | Part0.Size = Vector3.new(5, 5, 5) | |
1811 | local mesh = Instance.new("SpecialMesh",Part0) | |
1812 | mesh.MeshType = Enum.MeshType.Sphere | |
1813 | mesh.Scale = Vector3.new(3,3,3) | |
1814 | local bforce = Instance.new("BodyForce",Part0) | |
1815 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
1816 | Part0.CanCollide = false | |
1817 | PointLight2.Parent = Part0 | |
1818 | PointLight2.Color = Part0.Color | |
1819 | local Target = mouse.Hit.p | |
1820 | local direction = Target - Position | |
1821 | local direction = computeDirection(direction) | |
1822 | local pos = Position + (direction * 2) | |
1823 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0) | |
1824 | Part0.Velocity = direction * 150 | |
1825 | local asd = nil | |
1826 | local loop = nil | |
1827 | delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
1828 | loop = rs:connect(function() | |
1829 | local asdf = math.random(500,1000)/1000 | |
1830 | local Part1 = Instance.new("Part") | |
1831 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1832 | mesh2.MeshType = Enum.MeshType.Sphere | |
1833 | Part1.Material = Enum.Material.Neon | |
1834 | Part1.CanCollide = false | |
1835 | Part1.BrickColor = BrickColor.new("White") | |
1836 | Part1.Parent = DebrisModel | |
1837 | Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf) | |
1838 | Part1.Anchored = true | |
1839 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750)) | |
1840 | Part1.Name = "SMOKE" | |
1841 | end) | |
1842 | asd = Part0.Touched:connect(function(ht) | |
1843 | local hit=ht.Parent | |
1844 | if checkIfNotPlayer(ht) == true and ht.CanCollide == true then | |
1845 | asd:disconnect() | |
1846 | loop:disconnect() | |
1847 | Part0:Destroy() | |
1848 | ||
1849 | sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500) | |
1850 | for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do | |
1851 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
1852 | v:Destroy() | |
1853 | else | |
1854 | v.Parent:BreakJoints() | |
1855 | end | |
1856 | local Position = Part0.Position | |
1857 | local Target = v.Position | |
1858 | local direction = Target - Position | |
1859 | local direction = computeDirection(direction) | |
1860 | local bv = Instance.new("BodyVelocity",v) | |
1861 | bv.Velocity = direction * (120 - ((Position - Target).magnitude/2)) | |
1862 | debris:AddItem(bv,1) | |
1863 | end | |
1864 | for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end | |
1865 | for z=1,math.random(2,3) do | |
1866 | local asdf = math.random(-5,5)*10-(i/20)*12 | |
1867 | local Part1 = Instance.new("Part") | |
1868 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1869 | mesh2.MeshType = Enum.MeshType.Sphere | |
1870 | mesh2.Scale = Vector3.new(0,0,0) | |
1871 | Part1.Material = Enum.Material.Neon | |
1872 | Part1.CanCollide = false | |
1873 | Part1.BrickColor = BrickColor.new("White") | |
1874 | Part1.Parent = DebrisModel | |
1875 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
1876 | Part1.Anchored = true | |
1877 | local a = i*5 | |
1878 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a)) | |
1879 | Part1.Name = "EXPLOSION4" | |
1880 | end | |
1881 | end | |
1882 | ||
1883 | end | |
1884 | end) | |
1885 | end)) | |
1886 | end | |
1887 | ||
1888 | ||
1889 | function AirPunch() | |
1890 | coroutine.resume(coroutine.create(function() | |
1891 | local magnitude = nil | |
1892 | local Position = nil | |
1893 | if animid == 0 then | |
1894 | Position = larm.Position | |
1895 | else | |
1896 | Position = rarm.Position | |
1897 | end | |
1898 | --sound(743499393,Position,10,math.random(6,8)/10) | |
1899 | local Sound2 = Instance.new("Sound",hed) | |
1900 | Sound2.SoundId = "rbxassetid://138137702" | |
1901 | Sound2.Volume = 5 | |
1902 | Sound2.Pitch = 1 | |
1903 | Sound2.Looped = false | |
1904 | Sound2:Play() | |
1905 | ||
1906 | local Part1 = Instance.new("Part") | |
1907 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
1908 | mesh2.MeshId = "rbxassetid://559831844" | |
1909 | mesh2.Scale = Vector3.new(0,0,0.4) | |
1910 | Part1.Material = Enum.Material.Neon | |
1911 | Part1.CanCollide = false | |
1912 | Part1.BrickColor = BrickColor.new("White") | |
1913 | Part1.Parent = DebrisModel | |
1914 | Part1.Size = Vector3.new(0,0,0) | |
1915 | Part1.Anchored = true | |
1916 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
1917 | Part1.Name = "EXPLOSION3" | |
1918 | ||
1919 | local Part0 = Instance.new("Part",DebrisModel) | |
1920 | local PointLight2 = Instance.new("PointLight") | |
1921 | Part0.Name = "Bullet" | |
1922 | Part0.Material = Enum.Material.Neon | |
1923 | Part0.BrickColor = BrickColor.new("White") | |
1924 | Part0.Anchored = false | |
1925 | Part0.Size = Vector3.new(20,20,20) | |
1926 | Part0.Transparency = 0.5 | |
1927 | local mesh = Instance.new("SpecialMesh",Part0) | |
1928 | mesh.MeshId = "rbxassetid://437347603" | |
1929 | mesh.Scale = Vector3.new(2.3,2.3,2.7) | |
1930 | ||
1931 | ||
1932 | coroutine.resume(coroutine.create(function() | |
1933 | for i = 3,3 do | |
1934 | ||
1935 | ||
1936 | ||
1937 | coroutine.resume(coroutine.create(function() | |
1938 | for i = 1,100 do | |
1939 | Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2) | |
1940 | ||
1941 | wait(0.00000000001) | |
1942 | end | |
1943 | ||
1944 | ||
1945 | end)) | |
1946 | wait(0.3) | |
1947 | end | |
1948 | end)) | |
1949 | ||
1950 | ||
1951 | local bforce = Instance.new("BodyForce",Part0) | |
1952 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
1953 | Part0.CanCollide = false | |
1954 | PointLight2.Parent = Part0 | |
1955 | PointLight2.Color = Part0.Color | |
1956 | local Target = mouse.Hit.p | |
1957 | local direction = Target - Position | |
1958 | local direction = computeDirection(direction) | |
1959 | local pos = Position + (direction * 2) | |
1960 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55) | |
1961 | coroutine.resume(coroutine.create(function() | |
1962 | for i = 3,300 do | |
1963 | Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4) | |
1964 | ||
1965 | ||
1966 | wait(0.00000000001) | |
1967 | end | |
1968 | ||
1969 | ||
1970 | end)) | |
1971 | local FZcharge3 = Instance.new("ParticleEmitter",Part0) | |
1972 | FZcharge3.Texture = "rbxassetid://174073769" | |
1973 | FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1974 | FZcharge3.EmissionDirection = "Top" | |
1975 | FZcharge3.Speed = NumberRange.new(5) | |
1976 | FZcharge3.Size = NumberSequence.new(10,0) | |
1977 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
1978 | FZcharge3.Drag = 1.2 | |
1979 | FZcharge3.LockedToPart = false | |
1980 | FZcharge3.Lifetime = NumberRange.new(2) | |
1981 | FZcharge3.Rate = 105 | |
1982 | FZcharge3.LightEmission = 0.8 | |
1983 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
1984 | FZcharge3.VelocitySpread = 100 | |
1985 | FZcharge3.ZOffset = 1 | |
1986 | coroutine.resume(coroutine.create(function() | |
1987 | for i = 1,3 do | |
1988 | local HQ = Instance.new("Part",Part0) | |
1989 | HQ.Size = Vector3.new(1,1,1) | |
1990 | HQ.BrickColor = BrickColor.new("White") | |
1991 | HQ.Material = "Neon" | |
1992 | HQ.Anchored = true | |
1993 | HQ.CanCollide = false | |
1994 | HQ.Transparency = 0 | |
1995 | HQ.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
1996 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
1997 | HQ2.MeshId = "rbxassetid://20329976" | |
1998 | HQ2.Scale = Vector3.new(1,1,1) | |
1999 | local ZQW = Instance.new("Part",Part0) | |
2000 | ZQW.Size = Vector3.new(1,1,1) | |
2001 | ZQW.BrickColor = BrickColor.new("White") | |
2002 | ZQW.Material = "Neon" | |
2003 | ZQW.Transparency = 1 | |
2004 | ZQW.Anchored = true | |
2005 | ZQW.CanCollide = false | |
2006 | ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0) | |
2007 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
2008 | ZQW2.MeshType = "Sphere" | |
2009 | ZQW2.Scale = Vector3.new(1,1,1) | |
2010 | local H = Instance.new("Part",Part0) | |
2011 | H.Size = Vector3.new(1,1,1) | |
2012 | H.BrickColor = BrickColor.new("White") | |
2013 | H.CanCollide = false | |
2014 | H.Anchored = true | |
2015 | H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
2016 | local H2 = Instance.new("SpecialMesh",H) | |
2017 | H2.MeshId = "rbxassetid://3270017" | |
2018 | coroutine.resume(coroutine.create(function() | |
2019 | for i = 3,90 do | |
2020 | ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2) | |
2021 | ZQW.Transparency = ZQW.Transparency + 0.06 | |
2022 | HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2) | |
2023 | HQ.Transparency = HQ.Transparency + 0.05 | |
2024 | H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2) | |
2025 | H.Transparency = H.Transparency + 0.05 | |
2026 | wait(0.00000000001) | |
2027 | end | |
2028 | HQ:Destroy() | |
2029 | H2:Destroy() | |
2030 | H:Destroy() | |
2031 | HQ2:Destroy() | |
2032 | ZQW:Destroy() | |
2033 | ZQW2:Destroy() | |
2034 | end)) | |
2035 | wait(0.3) | |
2036 | end | |
2037 | end)) | |
2038 | local asd = nil | |
2039 | local loop = nil | |
2040 | delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
2041 | loop = rs:connect(function() | |
2042 | local asdf = math.random(100,1000)/1000 | |
2043 | local Part1 = Instance.new("Part") | |
2044 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2045 | mesh2.MeshType = Enum.MeshType.Sphere | |
2046 | Part1.Material = Enum.Material.Neon | |
2047 | Part1.CanCollide = false | |
2048 | Part1.Transparency = 0.9 | |
2049 | Part1.BrickColor = BrickColor.new("White") | |
2050 | Part1.Parent = DebrisModel | |
2051 | Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf) | |
2052 | Part1.Anchored = true | |
2053 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750)) | |
2054 | Part1.Name = "SMOKE" | |
2055 | end) | |
2056 | asd = Part0.Touched:connect(function(ht) | |
2057 | local hit=ht.Parent | |
2058 | ||
2059 | ||
2060 | for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do | |
2061 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
2062 | v:Destroy() | |
2063 | else | |
2064 | v.Parent.Humanoid:TakeDamage(100000) | |
2065 | ||
2066 | ||
2067 | ||
2068 | end | |
2069 | local Position = Part0.Position | |
2070 | local Target = v.Position | |
2071 | local direction = Target - Position | |
2072 | local direction = computeDirection(direction) | |
2073 | local bv = Instance.new("BodyVelocity",v) | |
2074 | bv.Velocity = direction * (50 - ((Position - Target).magnitude/2)) | |
2075 | debris:AddItem(bv,1) | |
2076 | end | |
2077 | ||
2078 | ||
2079 | end) | |
2080 | end)) | |
2081 | end | |
2082 | ||
2083 | function DetroitSmash() | |
2084 | coroutine.resume(coroutine.create(function() | |
2085 | local magnitude = nil | |
2086 | local Position = nil | |
2087 | if animid == 0 then | |
2088 | Position = larm.Position | |
2089 | else | |
2090 | Position = rarm.Position | |
2091 | end | |
2092 | --sound(743499393,Position,10,math.random(6,8)/10) | |
2093 | sound(1050751126,Position,10,math.random(4,5)/10,100) | |
2094 | ||
2095 | local Part1 = Instance.new("Part") | |
2096 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2097 | mesh2.MeshId = "rbxassetid://559831844" | |
2098 | mesh2.Scale = Vector3.new(0,0,0.4) | |
2099 | Part1.Material = Enum.Material.Neon | |
2100 | Part1.CanCollide = false | |
2101 | Part1.BrickColor = BrickColor.new("White") | |
2102 | Part1.Parent = DebrisModel | |
2103 | Part1.Size = Vector3.new(0,0,0) | |
2104 | Part1.Anchored = true | |
2105 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
2106 | Part1.Name = "EXPLOSION3" | |
2107 | ||
2108 | ||
2109 | ||
2110 | ||
2111 | ||
2112 | ||
2113 | ||
2114 | ||
2115 | ||
2116 | local Target = mouse.Hit.p | |
2117 | local direction = Target - Position | |
2118 | local direction = computeDirection(direction) | |
2119 | local pos = Position + (direction * 2) | |
2120 | ||
2121 | ||
2122 | ||
2123 | local asd = nil | |
2124 | local loop = nil | |
2125 | ||
2126 | local asdf = math.random(100,1000)/1000 | |
2127 | local Part1 = Instance.new("Part") | |
2128 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2129 | mesh2.MeshType = Enum.MeshType.Sphere | |
2130 | Part1.Material = Enum.Material.Neon | |
2131 | Part1.CanCollide = false | |
2132 | Part1.Transparency = 0.9 | |
2133 | Part1.BrickColor = BrickColor.new("Institutional white") | |
2134 | Part1.Parent = DebrisModel | |
2135 | Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf) | |
2136 | Part1.Anchored = true | |
2137 | Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750)) | |
2138 | Part1.Name = "SMOKE" | |
2139 | ||
2140 | ||
2141 | ||
2142 | ||
2143 | sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50) | |
2144 | for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do | |
2145 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
2146 | v:Destroy() | |
2147 | else | |
2148 | v.Parent.Humanoid:TakeDamage(100000000000000) | |
2149 | ||
2150 | ||
2151 | ||
2152 | end | |
2153 | local Position = Part1.Position | |
2154 | local Target = v.Position | |
2155 | local direction = Target - Position | |
2156 | local direction = computeDirection(direction) | |
2157 | local bv = Instance.new("BodyVelocity",v) | |
2158 | bv.Velocity = direction * (50 - ((Position - Target).magnitude/2)) | |
2159 | debris:AddItem(bv,1) | |
2160 | end | |
2161 | for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end | |
2162 | for z=1,math.random(1,2) do | |
2163 | local asdf = math.random(-5,5)*3-(i/20)*10 | |
2164 | local Part1 = Instance.new("Part") | |
2165 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2166 | mesh2.MeshType = Enum.MeshType.Sphere | |
2167 | mesh2.Scale = Vector3.new(0,0,0) | |
2168 | Part1.Material = Enum.Material.SmoothPlastic | |
2169 | Part1.CanCollide = false | |
2170 | Part1.BrickColor = BrickColor.new("Institutional white") | |
2171 | Part1.Parent = DebrisModel | |
2172 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
2173 | Part1.Anchored = true | |
2174 | Part1.Transparency = 0.3 | |
2175 | local a = i*0.9 | |
2176 | Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1,1)*a,math.random(-1,1),math.random(-1,1)*a)) | |
2177 | Part1.Name = "EXPLOSION4" | |
2178 | end | |
2179 | end | |
2180 | end)) | |
2181 | end | |
2182 | ||
2183 | function DelawareSmash() | |
2184 | coroutine.resume(coroutine.create(function() | |
2185 | local magnitude = nil | |
2186 | local Position = nil | |
2187 | if animid == 0 then | |
2188 | Position = larm.Position | |
2189 | else | |
2190 | Position = rarm.Position | |
2191 | end | |
2192 | --sound(743499393,Position,10,math.random(6,8)/10) | |
2193 | local Sound2 = Instance.new("Sound",hed) | |
2194 | Sound2.SoundId = "rbxassetid://138137702" | |
2195 | Sound2.Volume = 5 | |
2196 | Sound2.Pitch = 0.9 | |
2197 | Sound2.Looped = false | |
2198 | Sound2:Play() | |
2199 | ||
2200 | local Part1 = Instance.new("Part") | |
2201 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2202 | mesh2.MeshId = "rbxassetid://559831844" | |
2203 | mesh2.Scale = Vector3.new(0,0,0.4) | |
2204 | Part1.Material = Enum.Material.Neon | |
2205 | Part1.CanCollide = false | |
2206 | Part1.BrickColor = BrickColor.new("White") | |
2207 | Part1.Parent = DebrisModel | |
2208 | Part1.Size = Vector3.new(0,0,0) | |
2209 | Part1.Anchored = true | |
2210 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
2211 | Part1.Name = "EXPLOSION3" | |
2212 | ||
2213 | local Part0 = Instance.new("Part",DebrisModel) | |
2214 | local PointLight2 = Instance.new("PointLight") | |
2215 | PointLight2.Brightness = 100 | |
2216 | PointLight2.Range = 40 | |
2217 | Part0.Name = "Bullet" | |
2218 | Part0.Material = Enum.Material.Glass | |
2219 | Part0.BrickColor = BrickColor.new("White") | |
2220 | Part0.Anchored = false | |
2221 | Part0.Size = Vector3.new(20,20,20) | |
2222 | Part0.Transparency = 0.5 | |
2223 | local mesh = Instance.new("SpecialMesh",Part0) | |
2224 | mesh.MeshId = "rbxassetid://437347603" | |
2225 | mesh.Scale = Vector3.new(4.3,4.3,6.7) | |
2226 | local Music = Instance.new("Sound",Part0) | |
2227 | Music.SoundId = "rbxassetid://362395087" | |
2228 | Music.Pitch = 0.8 | |
2229 | Music.Looped = true | |
2230 | Music.Volume = 5 | |
2231 | ||
2232 | Music:Play() | |
2233 | ||
2234 | coroutine.resume(coroutine.create(function() | |
2235 | for i = 3,3 do | |
2236 | ||
2237 | ||
2238 | ||
2239 | coroutine.resume(coroutine.create(function() | |
2240 | for i = 1,400 do | |
2241 | Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2) | |
2242 | ||
2243 | wait() | |
2244 | end | |
2245 | ||
2246 | ||
2247 | end)) | |
2248 | wait(0.3) | |
2249 | end | |
2250 | end)) | |
2251 | ||
2252 | ||
2253 | local bforce = Instance.new("BodyForce",Part0) | |
2254 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
2255 | Part0.CanCollide = false | |
2256 | PointLight2.Parent = Part0 | |
2257 | PointLight2.Color = Part0.Color | |
2258 | local Target = mouse.Hit.p | |
2259 | local direction = Target - Position | |
2260 | local direction = computeDirection(direction) | |
2261 | local pos = Position + (direction * 2) | |
2262 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55) | |
2263 | ||
2264 | coroutine.resume(coroutine.create(function() | |
2265 | for i = 3,300 do | |
2266 | Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -18), 0.4) | |
2267 | ||
2268 | ||
2269 | wait() | |
2270 | end | |
2271 | ||
2272 | ||
2273 | end)) | |
2274 | local FZcharge3 = Instance.new("ParticleEmitter",Part0) | |
2275 | FZcharge3.Texture = "rbxassetid://174073769" | |
2276 | FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color) | |
2277 | FZcharge3.EmissionDirection = "Top" | |
2278 | FZcharge3.Speed = NumberRange.new(5) | |
2279 | FZcharge3.Size = NumberSequence.new(40,0) | |
2280 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
2281 | FZcharge3.Drag = 1.2 | |
2282 | FZcharge3.LockedToPart = false | |
2283 | FZcharge3.Lifetime = NumberRange.new(3) | |
2284 | FZcharge3.Rate = 105 | |
2285 | FZcharge3.LightEmission = 0.8 | |
2286 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
2287 | FZcharge3.VelocitySpread = 100 | |
2288 | FZcharge3.ZOffset = 1 | |
2289 | local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0) | |
2290 | local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-15.5,0) | |
2291 | local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
2292 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2293 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5 | |
2294 | ||
2295 | coroutine.resume(coroutine.create(function() | |
2296 | for i = 1,60 do | |
2297 | local HQ = Instance.new("Part",Part0) | |
2298 | HQ.Size = Vector3.new(1,1,1) | |
2299 | HQ.BrickColor = BrickColor.new("White") | |
2300 | HQ.Material = Enum.Material.Glass | |
2301 | HQ.Anchored = true | |
2302 | HQ.CanCollide = false | |
2303 | HQ.Transparency = 0 | |
2304 | HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-20)*CFrame.Angles(1.55,0,0) | |
2305 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2306 | HQ2.MeshId = "rbxassetid://20329976" | |
2307 | HQ2.Scale = Vector3.new(14.5,14.5,14.5) | |
2308 | local ZQW = Instance.new("Part",Part0) | |
2309 | ZQW.Size = Vector3.new(1,1,1) | |
2310 | ZQW.BrickColor = BrickColor.new("White") | |
2311 | ZQW.Material = Enum.Material.Glass | |
2312 | ZQW.Transparency = 1 | |
2313 | ZQW.Anchored = true | |
2314 | ZQW.CanCollide = false | |
2315 | ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0) | |
2316 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
2317 | ZQW2.MeshType = "Sphere" | |
2318 | ZQW2.Scale = Vector3.new(14.5,14.5,2.5) | |
2319 | local H = Instance.new("Part",Part0) | |
2320 | H.Size = Vector3.new(1,1,1) | |
2321 | H.BrickColor = BrickColor.new("White") | |
2322 | H.CanCollide = false | |
2323 | H.Anchored = true | |
2324 | H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0) | |
2325 | local H2 = Instance.new("SpecialMesh",H) | |
2326 | H2.MeshId = "rbxassetid://3270017" | |
2327 | H2.Scale = Vector3.new(14.5,14.5,2.5) | |
2328 | coroutine.resume(coroutine.create(function() | |
2329 | for i = 1,90 do | |
2330 | ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2) | |
2331 | ZQW.Transparency = ZQW.Transparency + 0.06 | |
2332 | HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2) | |
2333 | HQ.Transparency = HQ.Transparency + 0.05 | |
2334 | H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2) | |
2335 | H.Transparency = H.Transparency + 0.05 | |
2336 | wait(0.00000000001) | |
2337 | end | |
2338 | HQ:Destroy() | |
2339 | H2:Destroy() | |
2340 | H:Destroy() | |
2341 | HQ2:Destroy() | |
2342 | ZQW:Destroy() | |
2343 | ZQW2:Destroy() | |
2344 | end)) | |
2345 | ||
2346 | wait(0.1) | |
2347 | ||
2348 | end | |
2349 | ||
2350 | end)) | |
2351 | local asd = nil | |
2352 | local loop = nil | |
2353 | delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
2354 | loop = rs:connect(function() | |
2355 | local asdf = math.random(100,1000)/1000 | |
2356 | local Part1 = Instance.new("Part") | |
2357 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2358 | mesh2.MeshType = Enum.MeshType.Sphere | |
2359 | Part1.Material = Enum.Material.Neon | |
2360 | Part1.CanCollide = false | |
2361 | Part1.Transparency = 0.9 | |
2362 | Part1.BrickColor = BrickColor.new("White") | |
2363 | Part1.Parent = DebrisModel | |
2364 | Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf) | |
2365 | Part1.Anchored = true | |
2366 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750)) | |
2367 | Part1.Name = "SMOKE" | |
2368 | end) | |
2369 | asd = Part0.Touched:connect(function(ht) | |
2370 | local hit=ht.Parent | |
2371 | ||
2372 | ||
2373 | ||
2374 | ||
2375 | for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do | |
2376 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
2377 | v:Destroy() | |
2378 | else | |
2379 | v.Parent.Humanoid:TakeDamage(1000) | |
2380 | v.Velocity = Part0.CFrame.lookVector * 100 | |
2381 | ||
2382 | end | |
2383 | ||
2384 | local Position = Part0.Position | |
2385 | local Target = v.Position | |
2386 | local direction = Target - Position | |
2387 | local direction = computeDirection(direction) | |
2388 | local bv = Instance.new("BodyVelocity",v) | |
2389 | bv.Velocity = direction * (50 - ((Position - Target).magnitude/2)) | |
2390 | debris:AddItem(bv,1) | |
2391 | end | |
2392 | ||
2393 | ||
2394 | end) | |
2395 | end)) | |
2396 | end | |
2397 | ||
2398 | ||
2399 | ||
2400 | function unused() | |
2401 | coroutine.resume(coroutine.create(function() | |
2402 | local magnitude = nil | |
2403 | local Position = nil | |
2404 | if animid == 0 then | |
2405 | Position = larm.Position | |
2406 | else | |
2407 | Position = rarm.Position | |
2408 | end | |
2409 | --sound(743499393,Position,10,math.random(6,8)/10) | |
2410 | sound(1050751126,Position,10,math.random(4,5)/10,100) | |
2411 | ||
2412 | local Part1 = Instance.new("Part") | |
2413 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2414 | mesh2.MeshId = "rbxassetid://559831844" | |
2415 | mesh2.Scale = Vector3.new(0,0,0.4) | |
2416 | Part1.Material = Enum.Material.Neon | |
2417 | Part1.CanCollide = false | |
2418 | Part1.BrickColor = BrickColor.new("White") | |
2419 | Part1.Parent = DebrisModel | |
2420 | Part1.Size = Vector3.new(0,0,0) | |
2421 | Part1.Anchored = true | |
2422 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
2423 | Part1.Name = "EXPLOSION3" | |
2424 | ||
2425 | local Part0 = Instance.new("Part",DebrisModel) | |
2426 | local PointLight2 = Instance.new("PointLight") | |
2427 | Part0.Name = "Bullet" | |
2428 | Part0.Material = Enum.Material.Neon | |
2429 | Part0.BrickColor = BrickColor.new("White") | |
2430 | Part0.Anchored = false | |
2431 | Part0.Size = Vector3.new(1,1,1) | |
2432 | Part0.Transparency = 0.5 | |
2433 | local mesh = Instance.new("SpecialMesh",Part0) | |
2434 | mesh.MeshId = "rbxassetid://437347603" | |
2435 | mesh.Scale = Vector3.new(1.3,1.3,4.4) | |
2436 | local bforce = Instance.new("BodyForce",Part0) | |
2437 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
2438 | Part0.CanCollide = false | |
2439 | PointLight2.Parent = Part0 | |
2440 | PointLight2.Color = Part0.Color | |
2441 | local Target = mouse.Hit.p | |
2442 | local direction = Target - Position | |
2443 | local direction = computeDirection(direction) | |
2444 | local pos = Position + (direction * 2) | |
2445 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55) | |
2446 | Part0.Velocity = direction * 750 | |
2447 | local asd = nil | |
2448 | local loop = nil | |
2449 | delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
2450 | loop = rs:connect(function() | |
2451 | local asdf = math.random(500,1000)/1000 | |
2452 | local Part1 = Instance.new("Part") | |
2453 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2454 | mesh2.MeshType = Enum.MeshType.Sphere | |
2455 | Part1.Material = Enum.Material.Neon | |
2456 | Part1.CanCollide = false | |
2457 | Part1.BrickColor = BrickColor.new("White") | |
2458 | Part1.Parent = DebrisModel | |
2459 | Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf) | |
2460 | Part1.Anchored = true | |
2461 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750)) | |
2462 | Part1.Name = "SMOKE" | |
2463 | end) | |
2464 | asd = Part0.Touched:connect(function(ht) | |
2465 | local hit=ht.Parent | |
2466 | if checkIfNotPlayer(ht) == true and ht.CanCollide == true then | |
2467 | asd:disconnect() | |
2468 | loop:disconnect() | |
2469 | Part0:Destroy() | |
2470 | ||
2471 | sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50) | |
2472 | for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do | |
2473 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then | |
2474 | v:Destroy() | |
2475 | else | |
2476 | v.Parent:BreakJoints() | |
2477 | local Fl = Instance.new("BodyVelocity",v.Parent.Head) | |
2478 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2479 | Fl.velocity = Part0.CFrame.lookVector*395 | |
2480 | wait(0.05) | |
2481 | Fl:remove() | |
2482 | ||
2483 | end | |
2484 | local Position = Part0.Position | |
2485 | local Target = v.Position | |
2486 | local direction = Target - Position | |
2487 | local direction = computeDirection(direction) | |
2488 | local bv = Instance.new("BodyVelocity",v) | |
2489 | bv.Velocity = direction * (120 - ((Position - Target).magnitude/2)) | |
2490 | debris:AddItem(bv,1) | |
2491 | end | |
2492 | for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end | |
2493 | for z=1,math.random(2,3) do | |
2494 | local asdf = math.random(-5,5)*2-(i/2)*10 | |
2495 | local Part1 = Instance.new("Part") | |
2496 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
2497 | mesh2.MeshType = Enum.MeshType.Sphere | |
2498 | mesh2.Scale = Vector3.new(0,0,0) | |
2499 | Part1.Material = Enum.Material.Neon | |
2500 | Part1.CanCollide = false | |
2501 | Part1.BrickColor = BrickColor.new("White") | |
2502 | Part1.Parent = DebrisModel | |
2503 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
2504 | Part1.Anchored = true | |
2505 | local a = i*0.7 | |
2506 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a)) | |
2507 | Part1.Name = "EXPLOSION4" | |
2508 | end | |
2509 | end | |
2510 | ||
2511 | end | |
2512 | end) | |
2513 | end)) | |
2514 | end | |
2515 | ||
2516 | ||
2517 | ||
2518 | ||
2519 | ||
2520 | ||
2521 | function lerpz(joint, prop, cfrmz, alp) | |
2522 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
2523 | end | |
2524 | function resetlerp() | |
2525 | RJ.C0 = RJC0 | |
2526 | RJ.C1 = RJC1 | |
2527 | N.C0 = NC0 | |
2528 | N.C1 = NC1 | |
2529 | RS.C0 = RSC0 | |
2530 | RS.C1 = RSC1 | |
2531 | LS.C0 = LSC0 | |
2532 | LS.C1 = LSC1 | |
2533 | RH.C0 = RHC0 | |
2534 | RH.C1 = RHC1 | |
2535 | LH.C0 = LHC0 | |
2536 | end | |
2537 | function swait(num) | |
2538 | if num == 0 or num == nil then | |
2539 | Heartbeat.Event:wait() | |
2540 | else | |
2541 | for i = 1, num do | |
2542 | Heartbeat.Event:wait() | |
2543 | end | |
2544 | end | |
2545 | end | |
2546 | mouse.KeyDown:connect(function(k) | |
2547 | if k == "=" and MUI == true then | |
2548 | instinct = false | |
2549 | animid = 5 | |
2550 | no_anim = true | |
2551 | for _ = 1, 45 do | |
2552 | swait() | |
2553 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2) | |
2554 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2) | |
2555 | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2) | |
2556 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
2557 | lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2) | |
2558 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2) | |
2559 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2) | |
2560 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
2561 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) | |
2562 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
2563 | ||
2564 | end | |
2565 | AirPunchStrong() | |
2566 | wait(0.2) | |
2567 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
2568 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
2569 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm | |
2570 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm | |
2571 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2572 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2573 | wait(0.5) | |
2574 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
2575 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
2576 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm | |
2577 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm | |
2578 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2579 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2580 | AirPunchStrong() | |
2581 | wait(0.2) | |
2582 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
2583 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
2584 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm | |
2585 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm | |
2586 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2587 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2588 | wait(0.5) | |
2589 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head | |
2590 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso | |
2591 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm | |
2592 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm | |
2593 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2594 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2595 | AirPunchStrong() | |
2596 | wait(0.2) | |
2597 | no_anim = false | |
2598 | instinct = true | |
2599 | end | |
2600 | end) | |
2601 | ||
2602 | ||
2603 | ||
2604 | local attacktype = 1 | |
2605 | mouse.Button1Down:connect(function() | |
2606 | if attack == false and attacktype == 1 and MUI == false then | |
2607 | Hit() | |
2608 | attacktype = 2 | |
2609 | elseif attack == false and attacktype == 2 and MUI == false then | |
2610 | Hit2() | |
2611 | attacktype = 1 | |
2612 | end | |
2613 | end) | |
2614 | ||
2615 | ||
2616 | mouse.Button1Down:connect(function() | |
2617 | if attack == false and attacktype == 1 and MUI == true then | |
2618 | HitFC() | |
2619 | attacktype = 2 | |
2620 | elseif attack == false and attacktype == 2 and MUI == true then | |
2621 | HitFC2() | |
2622 | attacktype = 1 | |
2623 | end | |
2624 | end) | |
2625 | function Hit() | |
2626 | if not D then D = true | |
2627 | animid = 5 | |
2628 | no_anim = true | |
2629 | ||
2630 | local Grab = Instance.new("Part",larm) | |
2631 | Grab.Size = Vector3.new(4,4,4) | |
2632 | Grab.CanCollide = false | |
2633 | Grab.BrickColor = BrickColor.new("Deep orange") | |
2634 | Grab.Transparency = math.huge | |
2635 | local Grabo = Instance.new("Weld",Grab) | |
2636 | Grabo.Part0 = larm | |
2637 | Grabo.Part1 = Grab | |
2638 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
2639 | local SFXZ = Instance.new("Sound",torso) | |
2640 | SFXZ.SoundId = "rbxassetid://169259383" | |
2641 | SFXZ.Volume = 1 | |
2642 | SFXZ.Pitch = 1.5 | |
2643 | SFXZ.Looped = false | |
2644 | wait(0.01) | |
2645 | SFXZ:Play() | |
2646 | ||
2647 | Grab.Touched:connect(function(hit) | |
2648 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then | |
2649 | Grab:Destroy() | |
2650 | SFXZ:Destroy() | |
2651 | ||
2652 | hit.Parent.Humanoid:TakeDamage(5000000000000000) | |
2653 | local Smash = Instance.new("Part",char) | |
2654 | Smash.Size = Vector3.new(30,30,30) | |
2655 | Smash.BrickColor = BrickColor.new("New Yeller") | |
2656 | Smash.CanCollide = false | |
2657 | Smash.Anchored = true | |
2658 | Smash.Transparency = 0.1 | |
2659 | Smash.CFrame = root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55) | |
2660 | local Smash2 = Instance.new("SpecialMesh",Smash) | |
2661 | Smash2.MeshId = "rbxassetid://437347603" | |
2662 | Smash2.Scale = Vector3.new(2.8,2.8,2.94) | |
2663 | local Sound2 = Instance.new("Sound",Smash) | |
2664 | Sound2.SoundId = "rbxassetid://138137702" | |
2665 | Sound2.Volume = 0.9 | |
2666 | Sound2.Pitch = 1 | |
2667 | Sound2.Looped = false | |
2668 | Sound2:Play() | |
2669 | local Sound = Instance.new("Sound",torso) | |
2670 | Sound.SoundId = "rbxassetid://0" | |
2671 | Sound.Volume = 7 | |
2672 | Sound.Pitch = 1 | |
2673 | Sound.Looped = false | |
2674 | Sound:Play() | |
2675 | coroutine.resume(coroutine.create(function() | |
2676 | for i = 3,100 do | |
2677 | ||
2678 | Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1) | |
2679 | Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame * CFrame.new(0, 0, -11), 0.4) | |
2680 | ||
2681 | ||
2682 | Smash.Transparency = Smash.Transparency + 0.09 | |
2683 | ||
2684 | wait(0.00000000001) | |
2685 | end | |
2686 | Smash:Destroy() | |
2687 | ||
2688 | end)) | |
2689 | ||
2690 | ||
2691 | coroutine.resume(coroutine.create(function() | |
2692 | for i = 1,3 do | |
2693 | local HQ = Instance.new("Part",root) | |
2694 | HQ.Size = Vector3.new(1,1,1) | |
2695 | HQ.BrickColor = BrickColor.new("Medium stone grey") | |
2696 | HQ.Material = "Neon" | |
2697 | HQ.Anchored = true | |
2698 | HQ.CanCollide = false | |
2699 | HQ.Transparency = 0 | |
2700 | HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,1.55) | |
2701 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2702 | HQ2.MeshId = "rbxassetid://3270017" | |
2703 | HQ2.Scale = Vector3.new(1,1,1) | |
2704 | local ZQW = Instance.new("Part",root) | |
2705 | ZQW.Size = Vector3.new(1,1,1) | |
2706 | ZQW.BrickColor = BrickColor.new("Medium stone grey") | |
2707 | ZQW.Material = "Neon" | |
2708 | ZQW.Transparency = 1 | |
2709 | ZQW.Anchored = true | |
2710 | ZQW.CanCollide = false | |
2711 | ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0) | |
2712 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
2713 | ZQW2.MeshType = "Sphere" | |
2714 | ZQW2.Scale = Vector3.new(1,1,1) | |
2715 | local H = Instance.new("Part",root) | |
2716 | H.Size = Vector3.new(1,1,1) | |
2717 | H.BrickColor = BrickColor.new("Medium stone grey") | |
2718 | H.CanCollide = false | |
2719 | H.Anchored = true | |
2720 | H.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
2721 | local H2 = Instance.new("SpecialMesh",H) | |
2722 | H2.MeshId = "rbxassetid://3270017" | |
2723 | coroutine.resume(coroutine.create(function() | |
2724 | for i = 3,90 do | |
2725 | ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2) | |
2726 | ZQW.Transparency = ZQW.Transparency + 0.06 | |
2727 | HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2) | |
2728 | HQ.Transparency = HQ.Transparency + 0.05 | |
2729 | H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2) | |
2730 | H.Transparency = H.Transparency + 0.05 | |
2731 | wait(0.00000000001) | |
2732 | end | |
2733 | HQ:Destroy() | |
2734 | H2:Destroy() | |
2735 | H:Destroy() | |
2736 | HQ2:Destroy() | |
2737 | ZQW:Destroy() | |
2738 | ZQW2:Destroy() | |
2739 | end)) | |
2740 | wait(0.3) | |
2741 | end | |
2742 | end)) | |
2743 | local Spinn = Instance.new("Part",char) | |
2744 | Spinn.Size = Vector3.new(1,1,1) | |
2745 | Spinn.BrickColor = BrickColor.new("New Yeller") | |
2746 | Spinn.CanCollide = false | |
2747 | Spinn.Transparency = 0.1 | |
2748 | Spinn.Anchored = true | |
2749 | Spinn.Material = "Neon" | |
2750 | Spinn.CFrame = root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
2751 | local Spinn2 = Instance.new("SpecialMesh",Spinn) | |
2752 | Spinn2.MeshId = "rbxassetid://881809484" | |
2753 | Spinn2.Scale = Vector3.new(20,20,20) | |
2754 | coroutine.resume(coroutine.create(function() | |
2755 | for i = 3,300 do | |
2756 | Spinn.Transparency = Spinn.Transparency + 0.05 | |
2757 | ||
2758 | Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2) | |
2759 | wait(0.00000000001) | |
2760 | end | |
2761 | end)) | |
2762 | ||
2763 | ||
2764 | local Spinn = Instance.new("Part",char) | |
2765 | Spinn.Size = Vector3.new(1,1,1) | |
2766 | Spinn.BrickColor = BrickColor.new("New Yeller") | |
2767 | Spinn.CanCollide = false | |
2768 | Spinn.Transparency = 0.1 | |
2769 | Spinn.Anchored = true | |
2770 | Spinn.Material = "Neon" | |
2771 | Spinn.CFrame = root.CFrame*CFrame.new(0,0,-10)*CFrame.Angles(0,0,0) | |
2772 | local Spinn2 = Instance.new("SpecialMesh",Spinn) | |
2773 | Spinn2.MeshType = 3 | |
2774 | Spinn2.Scale = Vector3.new(6,6,35) | |
2775 | coroutine.resume(coroutine.create(function() | |
2776 | for i = 3,300 do | |
2777 | Spinn.Transparency = Spinn.Transparency + 0.05 | |
2778 | ||
2779 | ||
2780 | wait(0.00000000001) | |
2781 | end | |
2782 | end)) | |
2783 | ||
2784 | local SFXZ = Instance.new("Sound",hed) | |
2785 | SFXZ.SoundId = "rbxassetid://260430060" | |
2786 | SFXZ.Volume = 3 | |
2787 | SFXZ.Pitch = 1 | |
2788 | SFXZ.Looped = false | |
2789 | wait(0.01) | |
2790 | SFXZ:Play() | |
2791 | ||
2792 | end | |
2793 | SFXZ:Destroy() | |
2794 | end) | |
2795 | ||
2796 | for i= 1,5 do | |
2797 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
2798 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso | |
2799 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm | |
2800 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm | |
2801 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg | |
2802 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg | |
2803 | wait() | |
2804 | end | |
2805 | ||
2806 | coroutine.resume(coroutine.create(function() | |
2807 | wait(0.5) | |
2808 | Grab:remove() | |
2809 | end)) | |
2810 | no_anim = false | |
2811 | Grab:Destroy() | |
2812 | wait(0) | |
2813 | D = false | |
2814 | end | |
2815 | end | |
2816 | function Hit2() | |
2817 | if not D then D = true | |
2818 | no_anim = true | |
2819 | local Grab = Instance.new("Part",rarm) | |
2820 | Grab.Size = Vector3.new(4,4,4) | |
2821 | Grab.CanCollide = false | |
2822 | Grab.BrickColor = BrickColor.new("Deep orange") | |
2823 | Grab.Transparency = math.huge | |
2824 | local Grabo = Instance.new("Weld",Grab) | |
2825 | Grabo.Part0 = rarm | |
2826 | Grabo.Part1 = Grab | |
2827 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
2828 | local SFXZ = Instance.new("Sound",torso) | |
2829 | SFXZ.SoundId = "rbxassetid://169259383" | |
2830 | SFXZ.Volume = 1 | |
2831 | SFXZ.Pitch = 1 | |
2832 | SFXZ.Looped = false | |
2833 | wait(0.01) | |
2834 | SFXZ:Play() | |
2835 | ||
2836 | Grab.Touched:connect(function(hit) | |
2837 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then | |
2838 | Grab:Destroy() | |
2839 | SFXZ:Destroy() | |
2840 | hit.Parent.Humanoid:TakeDamage(50) | |
2841 | local Cloud3 = Instance.new("Part",char) | |
2842 | Cloud3.Size = Vector3.new(1,1,1) | |
2843 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
2844 | Cloud3.Anchored = true | |
2845 | Cloud3.Material = "Neon" | |
2846 | Cloud3.CanCollide = false | |
2847 | Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0) | |
2848 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
2849 | Cloud4.MeshId = "rbxassetid://3270017" | |
2850 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
2851 | ||
2852 | ||
2853 | ||
2854 | coroutine.resume(coroutine.create(function() | |
2855 | for i = 3,650 do | |
2856 | ||
2857 | ||
2858 | ||
2859 | ||
2860 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
2861 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
2862 | ||
2863 | ||
2864 | ||
2865 | ||
2866 | wait(0.00000000001) | |
2867 | end | |
2868 | end)) | |
2869 | local SFXZ = Instance.new("Sound",hed) | |
2870 | SFXZ.SoundId = "rbxassetid://260430060" | |
2871 | SFXZ.Volume = 3 | |
2872 | SFXZ.Pitch = 1.2 | |
2873 | SFXZ.Looped = false | |
2874 | wait(0.01) | |
2875 | SFXZ:Play() | |
2876 | ||
2877 | end | |
2878 | SFXZ:Destroy() | |
2879 | end) | |
2880 | for i = 1, 5 do | |
2881 | wait() | |
2882 | ||
2883 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso | |
2884 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm | |
2885 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm | |
2886 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2887 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2888 | end | |
2889 | ||
2890 | coroutine.resume(coroutine.create(function() | |
2891 | wait(0.5) | |
2892 | Grab:remove() | |
2893 | end)) | |
2894 | no_anim = false | |
2895 | Grab:Destroy() | |
2896 | wait(0) | |
2897 | D = false | |
2898 | end | |
2899 | end | |
2900 | ||
2901 | function HitFC() | |
2902 | if not D then D = true | |
2903 | animid = 5 | |
2904 | no_anim = true | |
2905 | local Grab = Instance.new("Part",larm) | |
2906 | Grab.Size = Vector3.new(3,3,3) | |
2907 | Grab.CanCollide = false | |
2908 | Grab.BrickColor = BrickColor.new("Deep orange") | |
2909 | Grab.Transparency = math.huge | |
2910 | local Grabo = Instance.new("Weld",Grab) | |
2911 | Grabo.Part0 = larm | |
2912 | Grabo.Part1 = Grab | |
2913 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
2914 | local SFXZ = Instance.new("Sound",torso) | |
2915 | SFXZ.SoundId = "rbxassetid://169259383" | |
2916 | SFXZ.Volume = 1 | |
2917 | SFXZ.Pitch = 1.5 | |
2918 | SFXZ.Looped = false | |
2919 | wait(0.01) | |
2920 | SFXZ:Play() | |
2921 | ||
2922 | Grab.Touched:connect(function(hit) | |
2923 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then | |
2924 | Grab:Destroy() | |
2925 | SFXZ:Destroy() | |
2926 | hit.Parent.Humanoid:TakeDamage(250) | |
2927 | local Cloud3 = Instance.new("Part",char) | |
2928 | Cloud3.Size = Vector3.new(1,1,1) | |
2929 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
2930 | Cloud3.Anchored = true | |
2931 | Cloud3.Material = "Neon" | |
2932 | Cloud3.CanCollide = false | |
2933 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
2934 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
2935 | Cloud4.MeshId = "rbxassetid://3270017" | |
2936 | Cloud4.Scale = Vector3.new(1.6,1.6,0.4) | |
2937 | ||
2938 | ||
2939 | ||
2940 | coroutine.resume(coroutine.create(function() | |
2941 | for i = 3,650 do | |
2942 | ||
2943 | ||
2944 | ||
2945 | ||
2946 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
2947 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5) | |
2948 | ||
2949 | ||
2950 | ||
2951 | ||
2952 | wait(0.00000000001) | |
2953 | end | |
2954 | end)) | |
2955 | local SFXZ = Instance.new("Sound",hed) | |
2956 | SFXZ.SoundId = "rbxassetid://260430060" | |
2957 | SFXZ.Volume = 3 | |
2958 | SFXZ.Pitch = 1 | |
2959 | SFXZ.Looped = false | |
2960 | wait(0.01) | |
2961 | SFXZ:Play() | |
2962 | ||
2963 | end | |
2964 | SFXZ:Destroy() | |
2965 | end) | |
2966 | ||
2967 | for i = 1, 2 do | |
2968 | wait() | |
2969 | ||
2970 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
2971 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm | |
2972 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm | |
2973 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
2974 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
2975 | end | |
2976 | ||
2977 | coroutine.resume(coroutine.create(function() | |
2978 | wait(0.5) | |
2979 | Grab:remove() | |
2980 | end)) | |
2981 | no_anim = false | |
2982 | Grab:Destroy() | |
2983 | wait(0) | |
2984 | D = false | |
2985 | end | |
2986 | end | |
2987 | function HitFC2() | |
2988 | if not D then D = true | |
2989 | no_anim = true | |
2990 | local Grab = Instance.new("Part",rarm) | |
2991 | Grab.Size = Vector3.new(3,3,3) | |
2992 | Grab.CanCollide = false | |
2993 | Grab.BrickColor = BrickColor.new("Deep orange") | |
2994 | Grab.Transparency = math.huge | |
2995 | local Grabo = Instance.new("Weld",Grab) | |
2996 | Grabo.Part0 = rarm | |
2997 | Grabo.Part1 = Grab | |
2998 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
2999 | local SFXZ = Instance.new("Sound",torso) | |
3000 | SFXZ.SoundId = "rbxassetid://169259383" | |
3001 | SFXZ.Volume = 1 | |
3002 | SFXZ.Pitch = 1 | |
3003 | SFXZ.Looped = false | |
3004 | wait(0.01) | |
3005 | SFXZ:Play() | |
3006 | ||
3007 | Grab.Touched:connect(function(hit) | |
3008 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then | |
3009 | Grab:Destroy() | |
3010 | SFXZ:Destroy() | |
3011 | hit.Parent.Humanoid:TakeDamage(250) | |
3012 | local Cloud3 = Instance.new("Part",char) | |
3013 | Cloud3.Size = Vector3.new(1,1,1) | |
3014 | Cloud3.BrickColor = BrickColor.new("Medium stone grey") | |
3015 | Cloud3.Anchored = true | |
3016 | Cloud3.Material = "Neon" | |
3017 | Cloud3.CanCollide = false | |
3018 | Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0) | |
3019 | local Cloud4 = Instance.new("SpecialMesh",Cloud3) | |
3020 | Cloud4.MeshId = "rbxassetid://3270017" | |
3021 | Cloud4.Scale = Vector3.new(1.6,1.6,0.4) | |
3022 | ||
3023 | ||
3024 | ||
3025 | coroutine.resume(coroutine.create(function() | |
3026 | for i = 3,650 do | |
3027 | ||
3028 | ||
3029 | ||
3030 | ||
3031 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
3032 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2) | |
3033 | ||
3034 | ||
3035 | ||
3036 | ||
3037 | wait(0.00000000001) | |
3038 | end | |
3039 | end)) | |
3040 | local SFXZ = Instance.new("Sound",hed) | |
3041 | SFXZ.SoundId = "rbxassetid://260430060" | |
3042 | SFXZ.Volume = 3 | |
3043 | SFXZ.Pitch = 1.2 | |
3044 | SFXZ.Looped = false | |
3045 | wait(0.01) | |
3046 | SFXZ:Play() | |
3047 | ||
3048 | end | |
3049 | SFXZ:Destroy() | |
3050 | end) | |
3051 | for i = 1, 2 do | |
3052 | wait() | |
3053 | ||
3054 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso | |
3055 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm | |
3056 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm | |
3057 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
3058 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
3059 | end | |
3060 | ||
3061 | coroutine.resume(coroutine.create(function() | |
3062 | wait(0.5) | |
3063 | Grab:remove() | |
3064 | end)) | |
3065 | no_anim = false | |
3066 | Grab:Destroy() | |
3067 | wait(0) | |
3068 | D = false | |
3069 | end | |
3070 | end | |
3071 | ||
3072 | ||
3073 | ||
3074 | ||
3075 | mouse.KeyDown:connect(function(key) | |
3076 | if key == '1' then | |
3077 | no_anim = true | |
3078 | local Aura = Instance.new("ParticleEmitter",Stone4) | |
3079 | Aura.Texture = "rbxassetid://271370648" | |
3080 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
3081 | Aura.EmissionDirection = "Top" | |
3082 | Aura.Speed = NumberRange.new(0) | |
3083 | Aura.Size = NumberSequence.new(2.5) | |
3084 | Aura.Transparency = NumberSequence.new(0,1) | |
3085 | Aura.Drag = 0.4 | |
3086 | Aura.LightInfluence = 0 | |
3087 | Aura.LockedToPart = true | |
3088 | Aura.Lifetime = NumberRange.new(0.9) | |
3089 | Aura.Rate = 60 | |
3090 | Aura.LightEmission = 0.6 | |
3091 | Aura.Rotation = NumberRange.new(-360,360) | |
3092 | Aura.VelocitySpread = 0 | |
3093 | Aura.Acceleration = Vector3.new(0,0,0) | |
3094 | Aura.ZOffset = 0.2 | |
3095 | LockOn() | |
3096 | for i = 1, 20 do | |
3097 | wait() | |
3098 | ||
3099 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
3100 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm | |
3101 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm | |
3102 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
3103 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
3104 | end | |
3105 | no_anim = false | |
3106 | Aura.Rate = 0 | |
3107 | end | |
3108 | end) | |
3109 | ||
3110 | mouse.KeyDown:connect(function(key) | |
3111 | if key == '2' then | |
3112 | Bring() | |
3113 | end | |
3114 | end) | |
3115 | ||
3116 | function LockOn() | |
3117 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3118 | TargetSelect(mouse.Target.Parent) | |
3119 | Rock(mouse.Target.Parent) | |
3120 | end | |
3121 | end | |
3122 | ||
3123 | ||
3124 | function Bring() | |
3125 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
3126 | TargetSelect(mouse.Target.Parent) | |
3127 | ||
3128 | end | |
3129 | end | |
3130 | function swait(num) | |
3131 | if num == 0 or num == nil then | |
3132 | ArtificialHB.Event:wait() | |
3133 | else | |
3134 | for i = 0, num do | |
3135 | ArtificialHB.Event:wait() | |
3136 | end | |
3137 | end | |
3138 | end | |
3139 | ||
3140 | ArtificialHB = Instance.new("BindableEvent", script) | |
3141 | ArtificialHB.Name = "Heartbeat" | |
3142 | ||
3143 | script:WaitForChild("Heartbeat") | |
3144 | ||
3145 | function TargetSelect(person) | |
3146 | local dd=coroutine.wrap(function() | |
3147 | if targetted ~= person then | |
3148 | targetted = person | |
3149 | for i = 0, 2, 0.1 do | |
3150 | swait() | |
3151 | end | |
3152 | end | |
3153 | end) | |
3154 | dd() | |
3155 | end | |
3156 | local RbxUtility = LoadLibrary("RbxUtility") | |
3157 | local Create = RbxUtility.Create | |
3158 | function HomingAttack() | |
3159 | ||
3160 | ||
3161 | ||
3162 | ||
3163 | if targetted == nil then | |
3164 | ||
3165 | end | |
3166 | ||
3167 | ||
3168 | targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1) | |
3169 | ||
3170 | ||
3171 | ||
3172 | ||
3173 | ||
3174 | end | |
3175 | mouse.KeyDown:connect(function(key) | |
3176 | if key == '3' then | |
3177 | HomingAttack() | |
3178 | end | |
3179 | end) | |
3180 | ||
3181 | function laz0r() | |
3182 | ||
3183 | local Position = nil | |
3184 | if animid == 0 then | |
3185 | Position = NeckS.Position | |
3186 | else | |
3187 | Position = NeckS.Position | |
3188 | end | |
3189 | ||
3190 | local Part1 = Instance.new("Part") | |
3191 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
3192 | mesh2.MeshId = "rbxassetid://559831844" | |
3193 | mesh2.Scale = Vector3.new(0,0,0.4) | |
3194 | Part1.Material = Enum.Material.Neon | |
3195 | Part1.CanCollide = false | |
3196 | Part1.BrickColor = BrickColor.new("White") | |
3197 | Part1.Parent = DebrisModel | |
3198 | Part1.Size = Vector3.new(0,0,0) | |
3199 | Part1.Anchored = true | |
3200 | Part1.CFrame = CFrame.new(Position) | |
3201 | Part1.Name = "EXPLOSION3" | |
3202 | ||
3203 | local Part0 = Instance.new("Part",DebrisModel) | |
3204 | Part0.Name = "Bullet" | |
3205 | Part0.Material = Enum.Material.Neon | |
3206 | Part0.BrickColor = BrickColor.new("Magenta") | |
3207 | Part0.Anchored = true | |
3208 | local mesh = Instance.new("SpecialMesh",Part0) | |
3209 | mesh.MeshType = Enum.MeshType.Sphere | |
3210 | Part0.CanCollide = false | |
3211 | local Target = mouse.Hit.p | |
3212 | local direction = Target - Position | |
3213 | local direction = computeDirection(direction) | |
3214 | local ray = Ray.new(Position, (Target).unit*1048) | |
3215 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
3216 | Part0.Size = Vector3.new(9,1,9) | |
3217 | mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1) | |
3218 | local pos = Position + (direction * (mesh.Scale.Y/2)) | |
3219 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0) | |
3220 | ||
3221 | clashpart = Instance.new("Part",DebrisModel) | |
3222 | clashpart.Size = Vector3.new(50,50,50) | |
3223 | clashpart.CanCollide = false | |
3224 | clashpart.Anchored = true | |
3225 | clashpart.Transparency = 1 | |
3226 | clashpart.BrickColor = BrickColor.new("Magenta") | |
3227 | clashpart.Name = "StarLightClash" | |
3228 | clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p) | |
3229 | ||
3230 | ||
3231 | ||
3232 | local z = 10 | |
3233 | for i = 1,100 do rs:wait() | |
3234 | if animid == 0 then | |
3235 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
3236 | Position = root.Position | |
3237 | else | |
3238 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
3239 | Position = root.Position | |
3240 | end | |
3241 | ||
3242 | local Target = mouse.Hit.p | |
3243 | local direction = Target - Position | |
3244 | local direction = computeDirection(direction) | |
3245 | local ray = Ray.new(Position, (Target-Position).unit*1048) | |
3246 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
3247 | Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5)) | |
3248 | mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1) | |
3249 | mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0) | |
3250 | local pos = Position + (direction * (mesh.Scale.Y/0)) | |
3251 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0) | |
3252 | clashpart.CFrame = CFrame.new(endPoint, root.Position) | |
3253 | ||
3254 | local Position = mouse.Hit.p | |
3255 | local Target = root.Position | |
3256 | local direction = Target - Position | |
3257 | local direction = computeDirection(direction) | |
3258 | root.Velocity = direction * 5 | |
3259 | ||
3260 | if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end | |
3261 | ||
3262 | Part1 = Part0:Clone() | |
3263 | Part1.Parent = DebrisModel | |
3264 | Part1.BrickColor = BrickColor.new("Magenta") | |
3265 | Part1.Name = "SMOKE2" | |
3266 | ||
3267 | if part ~= nil then | |
3268 | if part.Name == "StarLightClash" then | |
3269 | local asdf = math.random(0,5)*20 | |
3270 | local Part1 = Instance.new("Part") | |
3271 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
3272 | mesh2.MeshType = Enum.MeshType.Sphere | |
3273 | mesh2.Scale = Vector3.new(0,0,0) | |
3274 | Part1.Material = Enum.Material.Neon | |
3275 | Part1.CanCollide = false | |
3276 | Part1.BrickColor = BrickColor.new("Magenta") | |
3277 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
3278 | Part1.Anchored = true | |
3279 | local a = 1.5 | |
3280 | Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a)) | |
3281 | Part1.Name = "EXPLOSION" | |
3282 | else | |
3283 | local asdf = math.random(0,5)*10 | |
3284 | local Part1 = Instance.new("Part") | |
3285 | local mesh2 = Instance.new("SpecialMesh",Part1) | |
3286 | mesh2.MeshType = Enum.MeshType.Sphere | |
3287 | mesh2.Scale = Vector3.new(0,0,0) | |
3288 | Part1.Material = Enum.Material.Neon | |
3289 | Part1.CanCollide = false | |
3290 | Part1.BrickColor = BrickColor.new("Magenta") | |
3291 | Part1.Parent = DebrisModel | |
3292 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
3293 | Part1.Anchored = true | |
3294 | local a = 1.5 | |
3295 | Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a)) | |
3296 | Part1.Name = "EXPLOSION" | |
3297 | end | |
3298 | end | |
3299 | ||
3300 | for i,v in pairs(findAllNearestTorso(endPoint,50)) do | |
3301 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then | |
3302 | v:Destroy() | |
3303 | else | |
3304 | v.Parent:BreakJoints() | |
3305 | end | |
3306 | local Position = mouse.Hit.p | |
3307 | local Target = v.Position | |
3308 | local direction = Target - Position | |
3309 | local direction = computeDirection(direction) | |
3310 | local bv = Instance.new("BodyVelocity",v) | |
3311 | bv.Velocity = direction * (10 - ((Position - Target).magnitude/2)) | |
3312 | debris:AddItem(bv,1) | |
3313 | end | |
3314 | ||
3315 | end | |
3316 | clashpart:Destroy() | |
3317 | Part0:Destroy() | |
3318 | wait(0.3) | |
3319 | aiming_anim = false | |
3320 | delay(0.3,function() debounce = false end) | |
3321 | end | |
3322 | ||
3323 | ||
3324 | mouse.KeyDown:connect(function(k) | |
3325 | if k == "u" and Mode == false then | |
3326 | ||
3327 | animid = 5 | |
3328 | no_anim = true | |
3329 | hum.WalkSpeed = 0 | |
3330 | ||
3331 | ||
3332 | ||
3333 | for i = 1, 30 do | |
3334 | wait() | |
3335 | ||
3336 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
3337 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm | |
3338 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm | |
3339 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
3340 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
3341 | end | |
3342 | wait(2) | |
3343 | local Grab = Instance.new("Part",hed) | |
3344 | Grab.Size = Vector3.new(3.9,5,3.9) | |
3345 | Grab.CanCollide = false | |
3346 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3347 | Grab.Transparency = 1 | |
3348 | local Grabo = Instance.new("Weld",Grab) | |
3349 | Grabo.Part0 = hed | |
3350 | Grabo.Part1 = Grab | |
3351 | Grabo.C0 = CFrame.new(0,-1.5,0) | |
3352 | ||
3353 | local AuraB = Instance.new("Part",hed) | |
3354 | AuraB.Size = Vector3.new(2,1,2) | |
3355 | AuraB.CanCollide = false | |
3356 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
3357 | AuraB.Transparency = 1 | |
3358 | local AuraBo = Instance.new("Weld",AuraB) | |
3359 | AuraBo.Part0 = hed | |
3360 | AuraBo.Part1 = AuraB | |
3361 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
3362 | ||
3363 | local FZcharge3 = Instance.new("ParticleEmitter",Grab) | |
3364 | FZcharge3.Texture = "rbxassetid://249481494" | |
3365 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255)) | |
3366 | FZcharge3.EmissionDirection = "Top" | |
3367 | FZcharge3.Speed = NumberRange.new(2) | |
3368 | FZcharge3.Size = NumberSequence.new(4,0) | |
3369 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
3370 | FZcharge3.Drag = 1.2 | |
3371 | FZcharge3.LockedToPart = true | |
3372 | FZcharge3.Lifetime = NumberRange.new(1) | |
3373 | FZcharge3.Rate = 195 | |
3374 | FZcharge3.LightEmission = 0.3 | |
3375 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
3376 | FZcharge3.VelocitySpread = 0.2 | |
3377 | FZcharge3.ZOffset = 2.5 | |
3378 | wait(1) | |
3379 | FZcharge3.Rate = 0 | |
3380 | UltimateBattle.Volume = 0 | |
3381 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://" | |
3382 | for i,v in pairs(char:GetChildren()) do | |
3383 | if v ~= root then | |
3384 | if v:IsA("Part") then | |
3385 | v.Transparency = 1 | |
3386 | elseif v:IsA("Accoutrement") then | |
3387 | v:FindFirstChildOfClass("Part").Transparency = 1 | |
3388 | end | |
3389 | end | |
3390 | end | |
3391 | for i,v in pairs(NeckS:GetChildren()) do | |
3392 | if v ~= root then | |
3393 | if v:IsA("Part") then | |
3394 | v.Transparency = 1 | |
3395 | elseif v:IsA("Accoutrement") then | |
3396 | v:FindFirstChildOfClass("Part").Transparency = 1 | |
3397 | end | |
3398 | end | |
3399 | end | |
3400 | ||
3401 | wait(2.2) | |
3402 | FZcharge3.Rate = 195 | |
3403 | root.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
3404 | ||
3405 | for i,v in pairs(char:GetChildren()) do | |
3406 | if v ~= root then | |
3407 | if v:IsA("Part") then | |
3408 | v.Transparency = 0 | |
3409 | elseif v:IsA("Accoutrement") then | |
3410 | v:FindFirstChildOfClass("Part").Transparency = 0 | |
3411 | end | |
3412 | end | |
3413 | end | |
3414 | for i,v in pairs(NeckS:GetChildren()) do | |
3415 | if v ~= root then | |
3416 | if v:IsA("Part") then | |
3417 | v.Transparency = 0 | |
3418 | elseif v:IsA("Accoutrement") then | |
3419 | v:FindFirstChildOfClass("Part").Transparency = 0 | |
3420 | end | |
3421 | end | |
3422 | end | |
3423 | hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655" | |
3424 | wait(1) | |
3425 | UltimateBattle.Volume = 5 | |
3426 | FZcharge3.Rate = 0 | |
3427 | hum.WalkSpeed = 16 | |
3428 | wait(1) | |
3429 | Grab:Destroy() | |
3430 | no_anim = false | |
3431 | end | |
3432 | end) | |
3433 | mouse.KeyDown:connect(function(k) | |
3434 | if k == "u" and Mode == true then | |
3435 | ||
3436 | ||
3437 | root.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
3438 | ||
3439 | ||
3440 | end | |
3441 | end) | |
3442 | ------------------------------------------------------- | |
3443 | ||
3444 | mouse.KeyDown:connect(function(k) | |
3445 | if k == "z" then | |
3446 | local FZcharge3 = Instance.new("ParticleEmitter",Stone6) | |
3447 | FZcharge3.Texture = "rbxassetid://165211997" | |
3448 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0)) | |
3449 | FZcharge3.EmissionDirection = "Top" | |
3450 | FZcharge3.Speed = NumberRange.new(8) | |
3451 | FZcharge3.Size = NumberSequence.new(0.5,0) | |
3452 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
3453 | FZcharge3.Drag = 1.2 | |
3454 | FZcharge3.LockedToPart = false | |
3455 | FZcharge3.Lifetime = NumberRange.new(0.5) | |
3456 | FZcharge3.Rate = 195 | |
3457 | FZcharge3.LightEmission = 1 | |
3458 | FZcharge3.VelocitySpread = 100 | |
3459 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
3460 | FZcharge3.VelocitySpread = 100.2 | |
3461 | FZcharge3.ZOffset = 1 | |
3462 | local CHAINLINKS = {} | |
3463 | local POS = mouse.Hit.p | |
3464 | local CHAINS = false | |
3465 | local CHAINLINKS = {} | |
3466 | local A = Instance.new("Attachment",NeckS) | |
3467 | A.Position = Vector3.new(0.3,0,0)*Player_Size | |
3468 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
3469 | local B = Instance.new("Attachment",NeckS) | |
3470 | B.Position = Vector3.new(-0.3,0,0)*Player_Size | |
3471 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
3472 | local C = Instance.new("Attachment",NeckS) | |
3473 | C.Position = Vector3.new(0.3,-0.1,0)*Player_Size | |
3474 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
3475 | local D = Instance.new("Attachment",NeckS) | |
3476 | D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size | |
3477 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
3478 | local LIGHT = Instance.new("Attachment",NeckS) | |
3479 | LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size | |
3480 | local LIGHT2 = Instance.new("PointLight",larm) | |
3481 | LIGHT2.Range = 6 | |
3482 | LIGHT2.Brightness = 20 | |
3483 | LIGHT2.Color = Color3.new(0, 255, 0) | |
3484 | for i = 1, 2 do | |
3485 | local TWIST = -2 | |
3486 | local START = A | |
3487 | local END = B | |
3488 | if i == 1 then | |
3489 | START = B | |
3490 | END = A | |
3491 | end | |
3492 | local ChainLink = Instance.new("Beam",torso) | |
3493 | ChainLink.Texture = "rbxassetid://165211997" | |
3494 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0)) | |
3495 | ChainLink.TextureSpeed = 5 | |
3496 | ChainLink.Width0 = 1 | |
3497 | ChainLink.Width1 = 1 | |
3498 | ChainLink.TextureLength = 1.5 | |
3499 | ChainLink.Attachment0 = START | |
3500 | ChainLink.Attachment1 = END | |
3501 | ChainLink.CurveSize0 = TWIST | |
3502 | ChainLink.CurveSize1 = TWIST | |
3503 | --ChainLink.FaceCamera = true | |
3504 | ChainLink.Segments = 45 | |
3505 | ChainLink.Transparency = NumberSequence.new(0) | |
3506 | table.insert(CHAINLINKS,ChainLink) | |
3507 | end | |
3508 | coroutine.resume(coroutine.create(function() | |
3509 | for i = 3,80000000000000000000000000000 do | |
3510 | hum.Health = hum.MaxHealth | |
3511 | ||
3512 | ||
3513 | coroutine.resume(coroutine.create(function() | |
3514 | for i = 1,15 do | |
3515 | ||
3516 | wait(0.00000000001) | |
3517 | end | |
3518 | ||
3519 | ||
3520 | ||
3521 | end)) | |
3522 | wait(0.06) | |
3523 | end | |
3524 | end)) | |
3525 | ||
3526 | end | |
3527 | end) | |
3528 | ||
3529 | mouse.KeyDown:connect(function(k) | |
3530 | if k == "k" then | |
3531 | no_anim = true | |
3532 | local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0) | |
3533 | local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0) | |
3534 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
3535 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3536 | Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5 | |
3537 | for i = 1,7 do | |
3538 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3539 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso | |
3540 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm | |
3541 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm | |
3542 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
3543 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
3544 | wait() | |
3545 | end | |
3546 | wait(0.7) | |
3547 | local Grab = Instance.new("Part",NeckS) | |
3548 | Grab.Size = Vector3.new(4,4,4) | |
3549 | Grab.CanCollide = false | |
3550 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3551 | Grab.Transparency = math.huge | |
3552 | local Grabo = Instance.new("Weld",Grab) | |
3553 | Grabo.Part0 = larm | |
3554 | Grabo.Part1 = Grab | |
3555 | Grabo.C0 = CFrame.new(0,-0.1,0) | |
3556 | Grab.Touched:connect(function(hit) | |
3557 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= player.Character.Name then | |
3558 | Grab:Destroy() | |
3559 | no_anim = true | |
3560 | local SFXZ = Instance.new("Sound",root) | |
3561 | SFXZ.SoundId = "rbxassetid://1699290293" | |
3562 | SFXZ.Volume = 7 | |
3563 | SFXZ.Pitch = 1 | |
3564 | SFXZ.Looped = false | |
3565 | wait(0.01) | |
3566 | SFXZ:Play() | |
3567 | hit.Parent:BreakJoints() | |
3568 | Snap(hit.Parent) | |
3569 | ||
3570 | ||
3571 | ||
3572 | ||
3573 | end | |
3574 | end) | |
3575 | for i= 1,10 do | |
3576 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
3577 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso | |
3578 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm | |
3579 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm | |
3580 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg | |
3581 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg | |
3582 | wait() | |
3583 | end | |
3584 | FlyAt:Destroy() | |
3585 | no_anim = false | |
3586 | ||
3587 | end | |
3588 | end) | |
3589 | ||
3590 | ||
3591 | mouse.KeyDown:connect(function(k) | |
3592 | if k == "y" then | |
3593 | instinct = false | |
3594 | animid = 5 | |
3595 | no_anim = true | |
3596 | ||
3597 | local sbs = Instance.new("BodyPosition", torso) | |
3598 | sbs.P = 9000 | |
3599 | sbs.D = 1000 | |
3600 | sbs.maxForce = Vector3.new(900000, 900000000, 900000) | |
3601 | sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0) | |
3602 | for i = 1, 20 do | |
3603 | wait() | |
3604 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head | |
3605 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
3606 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm | |
3607 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm | |
3608 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg | |
3609 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg | |
3610 | end | |
3611 | coroutine.resume(coroutine.create(function() | |
3612 | for i = 3,8 do | |
3613 | local Ball = Instance.new("Part",char) | |
3614 | Ball.Size = Vector3.new(1,1,1) | |
3615 | Ball.BrickColor = BrickColor.new("Magenta") | |
3616 | Ball.Material = "Neon" | |
3617 | Ball.Anchored = true | |
3618 | Ball.CanCollide = false | |
3619 | Ball.Transparency = 0 | |
3620 | Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
3621 | local Ball2 = Instance.new("SpecialMesh",Ball) | |
3622 | Ball2.MeshType = 3 | |
3623 | Ball2.Scale = Vector3.new(2,2,2) | |
3624 | ||
3625 | ||
3626 | ||
3627 | ||
3628 | coroutine.resume(coroutine.create(function() | |
3629 | for i = 1,15 do | |
3630 | Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4) | |
3631 | Ball.Transparency = Ball.Transparency + 0.06 | |
3632 | wait(0.00000000001) | |
3633 | end | |
3634 | Ball:Destroy() | |
3635 | ||
3636 | ||
3637 | end)) | |
3638 | wait(0.06) | |
3639 | end | |
3640 | end)) | |
3641 | root.Anchored = true | |
3642 | g = Instance.new("Explosion") | |
3643 | g.Parent = workspace | |
3644 | g.Position = root.Position | |
3645 | g.BlastRadius = 90 | |
3646 | g.BlastPressure = 4000200 | |
3647 | g.Visible = false | |
3648 | for i = 1, 70 do | |
3649 | wait() | |
3650 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head | |
3651 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
3652 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm | |
3653 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm | |
3654 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg | |
3655 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
3656 | end | |
3657 | wait(0.2) | |
3658 | ||
3659 | sbs:Destroy() | |
3660 | no_anim = false | |
3661 | root.Anchored = false | |
3662 | ||
3663 | end | |
3664 | end) | |
3665 | local deb = false | |
3666 | function smooth(obj) | |
3667 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
3668 | for i,v in pairs(sides) do | |
3669 | obj[v.."Surface"] = "SmoothNoOutlines" | |
3670 | end | |
3671 | end | |
3672 | local multiplier = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
3673 | function hurt(hit, dmg) | |
3674 | if hit.Parent then | |
3675 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
3676 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
3677 | if hum then | |
3678 | if hum.Parent.Name ~= plr.Name then | |
3679 | if dmg == "Kill" or hum.Health > 100000 then | |
3680 | hit.Parent:BreakJoints() | |
3681 | return true | |
3682 | else | |
3683 | if math.random(0, 100) == 50 then | |
3684 | hit.Parent:BreakJoints() | |
3685 | else | |
3686 | hit.Parent:BreakJoints() | |
3687 | end | |
3688 | return true | |
3689 | end | |
3690 | end | |
3691 | end | |
3692 | end | |
3693 | end | |
3694 | local push = 100 | |
3695 | local huge = Vector3.new(math.huge,math.huge,math.huge) | |
3696 | function gethum(obj) | |
3697 | if obj.Parent then | |
3698 | if obj.Parent:FindFirstChild("Humanoid") then | |
3699 | if obj.Parent.Name ~= plr.Name then | |
3700 | return obj.Parent:FindFirstChildOfClass("Humanoid") | |
3701 | end | |
3702 | end | |
3703 | end | |
3704 | end | |
3705 | ||
3706 | mouse.KeyDown:connect(function(key) | |
3707 | if key == "p" and not deb and not attacking then | |
3708 | deb = true | |
3709 | no_anim = true | |
3710 | ||
3711 | local Aura = Instance.new("ParticleEmitter",Stone2) | |
3712 | Aura.Texture = "rbxassetid://271370648" | |
3713 | Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color) | |
3714 | Aura.EmissionDirection = "Top" | |
3715 | Aura.Speed = NumberRange.new(0) | |
3716 | Aura.Size = NumberSequence.new(2.5) | |
3717 | Aura.Transparency = NumberSequence.new(0,1) | |
3718 | Aura.Drag = 0.4 | |
3719 | Aura.LightInfluence = 0 | |
3720 | Aura.LockedToPart = true | |
3721 | Aura.Lifetime = NumberRange.new(0.9) | |
3722 | Aura.Rate = 60 | |
3723 | Aura.LightEmission = 0.6 | |
3724 | Aura.Rotation = NumberRange.new(-360,360) | |
3725 | Aura.VelocitySpread = 0 | |
3726 | Aura.Acceleration = Vector3.new(0,0,0) | |
3727 | Aura.ZOffset = 0.2 | |
3728 | ||
3729 | for i = 1, 10 do | |
3730 | wait() | |
3731 | ||
3732 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
3733 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm | |
3734 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm | |
3735 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
3736 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
3737 | end | |
3738 | Aura.Rate = 0 | |
3739 | ||
3740 | for i = 0, 10 do | |
3741 | spawn(function() | |
3742 | local p = Instance.new("Part") | |
3743 | p.Anchored = true | |
3744 | p.CanCollide = false | |
3745 | p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-12,12),-10,math.random(-12,12)) | |
3746 | smooth(p) | |
3747 | p.BrickColor = BrickColor.DarkGray() | |
3748 | p.Material = Enum.Material.Slate | |
3749 | p.Size = Vector3.new(9,9,9) | |
3750 | p.Transparency = 0 | |
3751 | ||
3752 | p.Parent = workspace | |
3753 | local FlyAt = Instance.new("Attachment",p)FlyAt.Position = Vector3.new(0,2.5,0) | |
3754 | local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0) | |
3755 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
3756 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3757 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5 | |
3758 | local endcf = p.CFrame *CFrame.new(0,30,0) | |
3759 | for i = 0, 20 do | |
3760 | p.CFrame = p.CFrame:Lerp(endcf, 0.3) | |
3761 | wait() | |
3762 | end | |
3763 | local z = Instance.new("Part") | |
3764 | z.CFrame = p.CFrame | |
3765 | z.CFrame = CFrame.new(z.Position, mouse.Hit.p) | |
3766 | local bv = Instance.new("BodyVelocity", p) | |
3767 | bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3768 | bv.Velocity = z.CFrame.lookVector*140 | |
3769 | p.Anchored = false | |
3770 | z:Destroy() | |
3771 | p.CanCollide = false | |
3772 | local connection | |
3773 | spawn(function() | |
3774 | local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) | |
3775 | repeat wait() | |
3776 | p.CFrame = p.CFrame *angle | |
3777 | until not p or p.CanCollide | |
3778 | end) | |
3779 | ||
3780 | connection = p.Touched:connect(function(hit) | |
3781 | hurt(hit, math.random(5,5)) | |
3782 | if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then | |
3783 | p.CanCollide = true | |
3784 | end | |
3785 | end) | |
3786 | game.Debris:AddItem(p, 5) | |
3787 | end) | |
3788 | ||
3789 | wait() | |
3790 | deb = false | |
3791 | no_anim = false | |
3792 | end | |
3793 | end | |
3794 | end) | |
3795 | function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts) | |
3796 | local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf; | |
3797 | return p | |
3798 | end | |
3799 | ||
3800 | function doMesh(parent,meshType,meshId,scale) | |
3801 | local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale | |
3802 | return m | |
3803 | end | |
3804 | local EP=Instance.new("Model",char) | |
3805 | function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame) | |
3806 | local cw1=coroutine.wrap(function() | |
3807 | for i=1,repeatloop do | |
3808 | local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts) | |
3809 | local z=doMesh(x,meshType,meshId,scale) | |
3810 | ||
3811 | local cw2=coroutine.wrap(function() | |
3812 | for i=1,loop do | |
3813 | if loopTransparency then | |
3814 | x.Transparency=i/loop | |
3815 | z.Scale=z.Scale+scaleAdd | |
3816 | x.CFrame=x.CFrame*loopCFrame | |
3817 | wait() | |
3818 | else | |
3819 | z.Scale=z.Scale+scaleAdd | |
3820 | x.CFrame=x.CFrame*loopCFrame | |
3821 | end | |
3822 | end | |
3823 | x:Destroy() | |
3824 | end) | |
3825 | cw2() | |
3826 | swait(repeatLoopWait) | |
3827 | end | |
3828 | end) | |
3829 | cw1() | |
3830 | end | |
3831 | if MUI == true then | |
3832 | ||
3833 | speed=0.15 | |
3834 | sound(438666277,2,1.5,torso) | |
3835 | coroutine.resume(coroutine.create(function() | |
3836 | for i=1,20 do | |
3837 | magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0)) | |
3838 | swait(3) | |
3839 | end | |
3840 | end)) | |
3841 | for i=0,1,0.1*speed do | |
3842 | if lastAnim~=thisAnim then break end | |
3843 | ||
3844 | ||
3845 | ||
3846 | swait() | |
3847 | end | |
3848 | ||
3849 | doingMove=true | |
3850 | ||
3851 | coroutine.resume(coroutine.create(function() | |
3852 | for i=1,200 do | |
3853 | magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3854 | swait() | |
3855 | end | |
3856 | end)) | |
3857 | ||
3858 | local beam=Instance.new("Part",char) | |
3859 | beam.Anchored=true | |
3860 | beam.CanCollide=false | |
3861 | beam.BrickColor=BrickColor.new("Institutional white") | |
3862 | beam.Material="Neon" | |
3863 | beam.Transparency=0.5 | |
3864 | ||
3865 | sound(415700134,1.75,0.85,torso) | |
3866 | ||
3867 | coroutine.resume(coroutine.create(function() | |
3868 | while true do | |
3869 | if not doingMove then break end | |
3870 | local dis=(torso.Position-mouse.Hit.p).magnitude | |
3871 | beam.Size=Vector3.new(2,2,dis) | |
3872 | beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2) | |
3873 | swait() | |
3874 | end | |
3875 | end)) | |
3876 | ||
3877 | coroutine.resume(coroutine.create(function() | |
3878 | for i=1,20 do | |
3879 | if not doingMove then break end | |
3880 | magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0)) | |
3881 | magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0)) | |
3882 | coroutine.resume(coroutine.create(function() | |
3883 | for i=1,7 do | |
3884 | magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random())) | |
3885 | end | |
3886 | end)) | |
3887 | for i,v in pairs(workspace:GetChildren()) do | |
3888 | if v:findFirstChild("Humanoid")~=nil and v~=char then | |
3889 | if (v:WaitForChild("Torso").Position-mouse.Hit.p).magnitude<=10 then | |
3890 | v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20) | |
3891 | end | |
3892 | end | |
3893 | end | |
3894 | swait(10) | |
3895 | end | |
3896 | end)) | |
3897 | ||
3898 | for i=0,2,0.1*speed do | |
3899 | if lastAnim~=thisAnim then break end | |
3900 | ||
3901 | ||
3902 | ||
3903 | swait() | |
3904 | end | |
3905 | ||
3906 | beam:Destroy() | |
3907 | lastAnim=nil | |
3908 | lastPriority=0 | |
3909 | doingMove=false | |
3910 | end | |
3911 | ||
3912 | function chestBeam() | |
3913 | ||
3914 | ||
3915 | MUI = true | |
3916 | ||
3917 | ||
3918 | end | |
3919 | mouse.KeyDown:connect(function(k) | |
3920 | if k == "n" then | |
3921 | chestBeam() | |
3922 | end | |
3923 | end) | |
3924 | mouse.KeyDown:connect(function(k) | |
3925 | if k == "v" then | |
3926 | UltimateBattle:Stop() | |
3927 | Mode = true | |
3928 | local SFXZ = Instance.new("Sound",torso) | |
3929 | SFXZ.SoundId = "rbxassetid://316675316" | |
3930 | SFXZ.Volume = 8 | |
3931 | SFXZ.Pitch = 1 | |
3932 | SFXZ.Looped = true | |
3933 | wait(0.01) | |
3934 | SFXZ:Play() | |
3935 | local Wind = Instance.new("Sound",torso) | |
3936 | Wind.SoundId = "rbxassetid://142840797" | |
3937 | Wind.Volume = 0.5 | |
3938 | Wind.Pitch = 1 | |
3939 | Wind.Looped = true | |
3940 | wait(0.01) | |
3941 | Wind:Play() | |
3942 | ||
3943 | ||
3944 | Grab.Touched:connect(function(hit) | |
3945 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
3946 | hit.Parent:BreakJoints() | |
3947 | wait(0.2) | |
3948 | hit.Parent:Destroy() | |
3949 | ||
3950 | ||
3951 | ||
3952 | end | |
3953 | end) | |
3954 | hum.WalkSpeed = 55 | |
3955 | ||
3956 | local FZcharge3 = Instance.new("ParticleEmitter",NeckS) | |
3957 | FZcharge3.Texture = "rbxassetid://37329477" | |
3958 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) | |
3959 | FZcharge3.EmissionDirection = "Top" | |
3960 | FZcharge3.Speed = NumberRange.new(8) | |
3961 | FZcharge3.Size = NumberSequence.new(0.5,0) | |
3962 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
3963 | FZcharge3.Drag = 1.2 | |
3964 | FZcharge3.LockedToPart = false | |
3965 | FZcharge3.Lifetime = NumberRange.new(0.5) | |
3966 | FZcharge3.Rate = 195 | |
3967 | FZcharge3.LightEmission = 1 | |
3968 | FZcharge3.VelocitySpread = 100 | |
3969 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
3970 | FZcharge3.VelocitySpread = 100.2 | |
3971 | FZcharge3.ZOffset = 1 | |
3972 | local StoneEf2 = Instance.new("ParticleEmitter",Stone4) | |
3973 | StoneEf2.Texture = "rbxassetid://37329477" | |
3974 | StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0)) | |
3975 | StoneEf2.EmissionDirection = "Top" | |
3976 | StoneEf2.Speed = NumberRange.new(8) | |
3977 | StoneEf2.Size = NumberSequence.new(0.5,0) | |
3978 | StoneEf2.Transparency = NumberSequence.new(0,1) | |
3979 | StoneEf2.LockedToPart = false | |
3980 | StoneEf2.Lifetime = NumberRange.new(0.5) | |
3981 | StoneEf2.Rate = 195 | |
3982 | StoneEf2.LightEmission = 1 | |
3983 | StoneEf2.VelocitySpread = 100 | |
3984 | StoneEf2.Rotation = NumberRange.new(-360,360) | |
3985 | StoneEf2.VelocitySpread = 100.2 | |
3986 | StoneEf2.ZOffset = 1 | |
3987 | local StoneEf3 = Instance.new("ParticleEmitter",Stone3) | |
3988 | StoneEf3.Texture = "rbxassetid://74675986" | |
3989 | StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207)) | |
3990 | StoneEf3.EmissionDirection = "Top" | |
3991 | StoneEf3.Speed = NumberRange.new(8) | |
3992 | StoneEf3.Size = NumberSequence.new(0.5,0) | |
3993 | StoneEf3.Transparency = NumberSequence.new(0,1) | |
3994 | StoneEf3.LockedToPart = false | |
3995 | StoneEf3.Lifetime = NumberRange.new(0.5) | |
3996 | StoneEf3.Rate = 195 | |
3997 | StoneEf3.LightEmission = 1 | |
3998 | StoneEf3.VelocitySpread = 100 | |
3999 | StoneEf3.Rotation = NumberRange.new(-360,360) | |
4000 | StoneEf3.VelocitySpread = 100.2 | |
4001 | StoneEf3.ZOffset = 1 | |
4002 | local StoneEf5 = Instance.new("ParticleEmitter",Stone5) | |
4003 | StoneEf5.Texture = "rbxassetid://73229113" | |
4004 | StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0)) | |
4005 | StoneEf5.EmissionDirection = "Top" | |
4006 | StoneEf5.Speed = NumberRange.new(8) | |
4007 | StoneEf5.Size = NumberSequence.new(0.5,0) | |
4008 | StoneEf5.Transparency = NumberSequence.new(0,1) | |
4009 | StoneEf5.LockedToPart = false | |
4010 | StoneEf5.Lifetime = NumberRange.new(0.5) | |
4011 | StoneEf5.Rate = 195 | |
4012 | StoneEf5.LightEmission = 1 | |
4013 | StoneEf5.VelocitySpread = 100 | |
4014 | StoneEf5.Rotation = NumberRange.new(-360,360) | |
4015 | StoneEf5.VelocitySpread = 100.2 | |
4016 | StoneEf5.ZOffset = 1 | |
4017 | local CHAINLINKS = {} | |
4018 | local POS = mouse.Hit.p | |
4019 | local CHAINS = false | |
4020 | local CHAINLINKS = {} | |
4021 | local A = Instance.new("Attachment",root) | |
4022 | A.Position = Vector3.new(0.5,0,0)*Player_Size | |
4023 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
4024 | local B = Instance.new("Attachment",root) | |
4025 | B.Position = Vector3.new(-0.5,0,0)*Player_Size | |
4026 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
4027 | local C = Instance.new("Attachment",root) | |
4028 | C.Position = Vector3.new(0.5,-0.1,0)*Player_Size | |
4029 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
4030 | local D = Instance.new("Attachment",root) | |
4031 | D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size | |
4032 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
4033 | local LIGHT = Instance.new("Attachment",root) | |
4034 | LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size | |
4035 | local LIGHT2 = Instance.new("PointLight",larm) | |
4036 | LIGHT2.Range = 6 | |
4037 | LIGHT2.Brightness = 20 | |
4038 | LIGHT2.Color = Color3.new(255, 255, 0) | |
4039 | for i = 1, 2 do | |
4040 | local TWIST = -1 | |
4041 | local START = A | |
4042 | local END = B | |
4043 | if i == 1 then | |
4044 | START = B | |
4045 | END = A | |
4046 | end | |
4047 | local ChainLink = Instance.new("Beam",torso) | |
4048 | ChainLink.Texture = "rbxassetid://37329477" | |
4049 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) | |
4050 | ChainLink.TextureSpeed = 5 | |
4051 | ChainLink.Width0 = 1 | |
4052 | ChainLink.Width1 = 1 | |
4053 | ChainLink.TextureLength = 2.5 | |
4054 | ChainLink.Attachment0 = START | |
4055 | ChainLink.Attachment1 = END | |
4056 | ChainLink.CurveSize0 = TWIST | |
4057 | ChainLink.CurveSize1 = TWIST | |
4058 | --ChainLink.FaceCamera = true | |
4059 | ChainLink.Segments = 85 | |
4060 | ChainLink.Transparency = NumberSequence.new(0) | |
4061 | table.insert(CHAINLINKS,ChainLink) | |
4062 | end | |
4063 | coroutine.resume(coroutine.create(function() | |
4064 | for i = 3,60060 do | |
4065 | ||
4066 | ||
4067 | local HQG = Instance.new("Part",char) | |
4068 | HQG.Size = Vector3.new(1,0,1) | |
4069 | HQG.BrickColor = BrickColor.new("Ghost grey") | |
4070 | HQG.Material = "Neon" | |
4071 | HQG.Anchored = true | |
4072 | HQG.CanCollide = false | |
4073 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4074 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
4075 | HQG2.MeshId = "rbxassetid://1726537151" | |
4076 | HQG2.Scale = Vector3.new(0.01,0.01,0.01) | |
4077 | ||
4078 | ||
4079 | coroutine.resume(coroutine.create(function() | |
4080 | for i = 1,200 do | |
4081 | ||
4082 | ||
4083 | HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01) | |
4084 | HQG.Transparency = HQG.Transparency + 0.07 | |
4085 | HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0) | |
4086 | ||
4087 | wait(0.00000000001) | |
4088 | end | |
4089 | ||
4090 | HQG:Destroy() | |
4091 | HQG2:Destroy() | |
4092 | ||
4093 | end)) | |
4094 | ||
4095 | ||
4096 | wait(0.3) | |
4097 | end | |
4098 | end)) | |
4099 | end | |
4100 | end) | |
4101 | ||
4102 | ||
4103 | ||
4104 | mouse.KeyDown:connect(function(k) | |
4105 | if k == "j" then | |
4106 | ||
4107 | animid = 5 | |
4108 | no_anim = true | |
4109 | ||
4110 | ||
4111 | local Aura = Instance.new("ParticleEmitter",Stone2) | |
4112 | Aura.Texture = "rbxassetid://271370648" | |
4113 | Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color) | |
4114 | Aura.EmissionDirection = "Top" | |
4115 | Aura.Speed = NumberRange.new(0) | |
4116 | Aura.Size = NumberSequence.new(2.5) | |
4117 | Aura.Transparency = NumberSequence.new(0,1) | |
4118 | Aura.Drag = 0.4 | |
4119 | Aura.LightInfluence = 0 | |
4120 | Aura.LockedToPart = true | |
4121 | Aura.Lifetime = NumberRange.new(0.9) | |
4122 | Aura.Rate = 60 | |
4123 | Aura.LightEmission = 0.6 | |
4124 | Aura.Rotation = NumberRange.new(-360,360) | |
4125 | Aura.VelocitySpread = 0 | |
4126 | Aura.Acceleration = Vector3.new(0,0,0) | |
4127 | Aura.ZOffset = 0.2 | |
4128 | ||
4129 | for i = 1, 30 do | |
4130 | wait() | |
4131 | ||
4132 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
4133 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm | |
4134 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm | |
4135 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4136 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
4137 | end | |
4138 | ||
4139 | ||
4140 | local HQ = Instance.new("Part",char) | |
4141 | HQ.Size = Vector3.new(1,0,1) | |
4142 | HQ.BrickColor = BrickColor.new("Grey") | |
4143 | HQ.Material = "Neon" | |
4144 | HQ.Anchored = true | |
4145 | HQ.CanCollide = false | |
4146 | HQ.Transparency = 0.7 | |
4147 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4148 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4149 | HQ2.MeshId = "rbxassetid://20329976" | |
4150 | HQ2.Scale = Vector3.new(1,1,1) | |
4151 | ||
4152 | local HQG = Instance.new("Part",char) | |
4153 | HQG.Size = Vector3.new(1,0,1) | |
4154 | HQG.BrickColor = BrickColor.new("Grey") | |
4155 | HQG.Material = "Neon" | |
4156 | HQG.Anchored = true | |
4157 | HQG.Transparency = 0.7 | |
4158 | HQG.CanCollide = false | |
4159 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4160 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
4161 | HQG2.MeshId = "rbxassetid://20329976" | |
4162 | HQG2.Scale = Vector3.new(1,1,1) | |
4163 | ||
4164 | ||
4165 | coroutine.resume(coroutine.create(function() | |
4166 | for i = 1,200 do | |
4167 | HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5) | |
4168 | HQ.Transparency = HQ.Transparency + 0.01 | |
4169 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4170 | ||
4171 | HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1) | |
4172 | HQG.Transparency = HQG.Transparency + 0.01 | |
4173 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4174 | ||
4175 | wait(0.00000000001) | |
4176 | ||
4177 | ||
4178 | end | |
4179 | HQ:Destroy() | |
4180 | HQ2:Destroy() | |
4181 | HQG:Destroy() | |
4182 | HQG2:Destroy() | |
4183 | end)) | |
4184 | ||
4185 | laz0r() | |
4186 | wait(0.5) | |
4187 | no_anim = false | |
4188 | Aura.Rate = 0 | |
4189 | ||
4190 | instinct = true | |
4191 | end | |
4192 | end) | |
4193 | ||
4194 | ||
4195 | ||
4196 | ||
4197 | ||
4198 | mouse.KeyDown:connect(function(key) | |
4199 | if key == "r" then | |
4200 | local Aura = Instance.new('ParticleEmitter',Stone3) | |
4201 | Aura.Texture = "rbxassetid://271370648" | |
4202 | Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color) | |
4203 | Aura.EmissionDirection = "Top" | |
4204 | Aura.Speed = NumberRange.new(0) | |
4205 | Aura.Size = NumberSequence.new(2.5) | |
4206 | Aura.Transparency = NumberSequence.new(0,1) | |
4207 | Aura.Drag = 0.4 | |
4208 | Aura.LightInfluence = 0 | |
4209 | Aura.LockedToPart = true | |
4210 | Aura.Lifetime = NumberRange.new(0.9) | |
4211 | Aura.Rate = 60 | |
4212 | Aura.LightEmission = 0.6 | |
4213 | Aura.Rotation = NumberRange.new(-360,360) | |
4214 | Aura.VelocitySpread = 0 | |
4215 | Aura.Acceleration = Vector3.new(0,0,0) | |
4216 | Aura.ZOffset = 0.2 | |
4217 | no_anim = true | |
4218 | for i = 1, 15 do | |
4219 | wait() | |
4220 | ||
4221 | torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2) | |
4222 | larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4) | |
4223 | end | |
4224 | ||
4225 | local Grab = Instance.new("Part",root) | |
4226 | Grab.Size = Vector3.new(5.2,5.8,3.9) | |
4227 | Grab.CanCollide = true | |
4228 | Grab.Material = "Neon" | |
4229 | Grab.BrickColor = BrickColor.new("Cyan") | |
4230 | Grab.Transparency = 0.5 | |
4231 | local Hat2 = Instance.new("SpecialMesh",Grab) | |
4232 | Hat2.MeshType = 3 | |
4233 | Hat2.Scale = Vector3.new(3.35,3.15,0.95) | |
4234 | local Grabo = Instance.new("Weld",Grab) | |
4235 | Grabo.Part0 = root | |
4236 | Grabo.Part1 = Grab | |
4237 | Grabo.C0 = CFrame.new(0,0.3,-6.8) | |
4238 | ||
4239 | local AuraB = Instance.new("Part",root) | |
4240 | AuraB.Size = Vector3.new(2,1,2) | |
4241 | AuraB.CanCollide = false | |
4242 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
4243 | AuraB.Transparency = 1 | |
4244 | local AuraBo = Instance.new("Weld",AuraB) | |
4245 | AuraBo.Part0 = root | |
4246 | AuraBo.Part1 = AuraB | |
4247 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
4248 | Grab.Touched:connect(function(hit) | |
4249 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
4250 | ||
4251 | ||
4252 | hit.Anchored = false | |
4253 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
4254 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
4255 | Fl.velocity = root.CFrame.lookVector*340 | |
4256 | wait(0.05) | |
4257 | Fl:remove() | |
4258 | ||
4259 | end | |
4260 | end) | |
4261 | ||
4262 | ||
4263 | end | |
4264 | end) | |
4265 | mouse.KeyUp:connect(function(key) | |
4266 | if key == "r" then | |
4267 | ||
4268 | for i, v in pairs(root:GetChildren()) do | |
4269 | if v:IsA("Part")then | |
4270 | v:Remove() | |
4271 | end | |
4272 | end | |
4273 | for i, v in pairs(Stone3:GetChildren()) do | |
4274 | if v:IsA('ParticleEmitter')then | |
4275 | v.Rate = 0 | |
4276 | end | |
4277 | end | |
4278 | ||
4279 | no_anim = false | |
4280 | end | |
4281 | end) | |
4282 | ||
4283 | ||
4284 | mouse.KeyDown:connect(function(key) | |
4285 | if key == "n" then | |
4286 | ||
4287 | end | |
4288 | end) | |
4289 | ||
4290 | ||
4291 | mouse.KeyDown:connect(function(key) | |
4292 | if key == "t" then | |
4293 | local Aura = Instance.new("ParticleEmitter",Stone4) | |
4294 | Aura.Texture = "rbxassetid://271370648" | |
4295 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
4296 | Aura.EmissionDirection = "Top" | |
4297 | Aura.Speed = NumberRange.new(0) | |
4298 | Aura.Size = NumberSequence.new(2.5) | |
4299 | Aura.Transparency = NumberSequence.new(0,1) | |
4300 | Aura.Drag = 0.4 | |
4301 | Aura.LightInfluence = 0 | |
4302 | Aura.LockedToPart = true | |
4303 | Aura.Lifetime = NumberRange.new(0.9) | |
4304 | Aura.Rate = 60 | |
4305 | Aura.LightEmission = 0.6 | |
4306 | Aura.Rotation = NumberRange.new(-360,360) | |
4307 | Aura.VelocitySpread = 0 | |
4308 | Aura.Acceleration = Vector3.new(0,0,0) | |
4309 | Aura.ZOffset = 0.2 | |
4310 | no_anim = true | |
4311 | for i = 1, 15 do | |
4312 | wait() | |
4313 | ||
4314 | torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2) | |
4315 | larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4) | |
4316 | end | |
4317 | ||
4318 | local Grab = Instance.new("Part",root) | |
4319 | Grab.Size = Vector3.new(5.2,5.8,3.9) | |
4320 | Grab.CanCollide = false | |
4321 | Grab.Material = "Neon" | |
4322 | Grab.BrickColor = BrickColor.new("Really red") | |
4323 | Grab.Transparency = 0.5 | |
4324 | local Hat2 = Instance.new("SpecialMesh",Grab) | |
4325 | Hat2.MeshType = 3 | |
4326 | Hat2.Scale = Vector3.new(3.35,3.15,0.95) | |
4327 | local Grabo = Instance.new("Weld",Grab) | |
4328 | Grabo.Part0 = root | |
4329 | Grabo.Part1 = Grab | |
4330 | Grabo.C0 = CFrame.new(0,0.3,-6.8) | |
4331 | ||
4332 | local AuraB = Instance.new("Part",root) | |
4333 | AuraB.Size = Vector3.new(2,1,2) | |
4334 | AuraB.CanCollide = false | |
4335 | AuraB.BrickColor = BrickColor.new("Deep orange") | |
4336 | AuraB.Transparency = 1 | |
4337 | local AuraBo = Instance.new("Weld",AuraB) | |
4338 | AuraBo.Part0 = root | |
4339 | AuraBo.Part1 = AuraB | |
4340 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
4341 | Grab.Touched:connect(function(hit) | |
4342 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then | |
4343 | ||
4344 | ||
4345 | Snap(hit.Parent) | |
4346 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
4347 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
4348 | Fl.velocity = root.CFrame.lookVector*340 | |
4349 | wait(0.05) | |
4350 | Fl:remove() | |
4351 | ||
4352 | end | |
4353 | end) | |
4354 | ||
4355 | ||
4356 | end | |
4357 | end) | |
4358 | mouse.KeyUp:connect(function(key) | |
4359 | if key == "t" then | |
4360 | ||
4361 | for i, v in pairs(root:GetChildren()) do | |
4362 | if v:IsA("Part")then | |
4363 | v:Remove() | |
4364 | end | |
4365 | end | |
4366 | for i, v in pairs(Stone4:GetChildren()) do | |
4367 | if v:IsA("ParticleEmitter")then | |
4368 | v.Rate = 0 | |
4369 | end | |
4370 | end | |
4371 | ||
4372 | no_anim = false | |
4373 | end | |
4374 | end) | |
4375 | ||
4376 | ||
4377 | mouse.KeyDown:connect(function(k) | |
4378 | if k == "e" and MUI == false then --highjump | |
4379 | ||
4380 | animid = 5 | |
4381 | no_anim = true | |
4382 | ||
4383 | local sbs = Instance.new("BodyPosition", torso) | |
4384 | sbs.P = 9000 | |
4385 | sbs.D = 1000 | |
4386 | sbs.maxForce = Vector3.new(900000, 9000000000, 900000) | |
4387 | sbs.position = torso.CFrame.p + Vector3.new(0, 150, 0) | |
4388 | local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0) | |
4389 | local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0) | |
4390 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
4391 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4392 | Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5 | |
4393 | ||
4394 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
4395 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
4396 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm | |
4397 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm | |
4398 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4399 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg | |
4400 | ||
4401 | ||
4402 | ||
4403 | local HQ = Instance.new("Part",char) | |
4404 | HQ.Size = Vector3.new(1,0,1) | |
4405 | HQ.BrickColor = BrickColor.new("New Yeller") | |
4406 | HQ.Material = "Neon" | |
4407 | HQ.Anchored = true | |
4408 | HQ.CanCollide = false | |
4409 | HQ.Transparency = 0.7 | |
4410 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4411 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4412 | HQ2.MeshId = "rbxassetid://20329976" | |
4413 | HQ2.Scale = Vector3.new(1,50,1) | |
4414 | ||
4415 | local HQG = Instance.new("Part",char) | |
4416 | HQG.Size = Vector3.new(1,0,1) | |
4417 | HQG.BrickColor = BrickColor.new("Grey") | |
4418 | HQG.Material = "Neon" | |
4419 | HQG.Anchored = true | |
4420 | HQG.Transparency = 0.7 | |
4421 | HQG.CanCollide = false | |
4422 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4423 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
4424 | HQG2.MeshId = "rbxassetid://20329976" | |
4425 | HQG2.Scale = Vector3.new(1,1,1) | |
4426 | ||
4427 | ||
4428 | coroutine.resume(coroutine.create(function() | |
4429 | for i = 1,500 do | |
4430 | HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5) | |
4431 | HQ.Transparency = HQ.Transparency + 0.005 | |
4432 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4433 | ||
4434 | HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1) | |
4435 | HQG.Transparency = HQG.Transparency + 0.005 | |
4436 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4437 | ||
4438 | wait(0.00000000001) | |
4439 | ||
4440 | ||
4441 | end | |
4442 | HQ:Destroy() | |
4443 | HQ2:Destroy() | |
4444 | HQG:Destroy() | |
4445 | HQG2:Destroy() | |
4446 | end)) | |
4447 | ||
4448 | ||
4449 | wait(0.5) | |
4450 | sbs:Destroy() | |
4451 | ||
4452 | FlyAt:Destroy() | |
4453 | wait(0.2) | |
4454 | ||
4455 | no_anim = false | |
4456 | instinct = true | |
4457 | end | |
4458 | end) | |
4459 | ||
4460 | ||
4461 | mouse.KeyDown:connect(function(k) | |
4462 | if k == "e" and MUI == true then --highjump | |
4463 | ||
4464 | animid = 5 | |
4465 | no_anim = true | |
4466 | hum.WalkSpeed = 60 | |
4467 | local sbs = Instance.new("BodyPosition", torso) | |
4468 | sbs.P = 9000 | |
4469 | sbs.D = 1000 | |
4470 | sbs.maxForce = Vector3.new(900000, 9000000000, 900000) | |
4471 | sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0) | |
4472 | local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0) | |
4473 | local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0) | |
4474 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
4475 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4476 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5 | |
4477 | ||
4478 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head | |
4479 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
4480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm | |
4481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm | |
4482 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4483 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg | |
4484 | ||
4485 | ||
4486 | ||
4487 | local HQ = Instance.new("Part",char) | |
4488 | HQ.Size = Vector3.new(1,0,1) | |
4489 | HQ.BrickColor = BrickColor.new("Grey") | |
4490 | HQ.Material = "Neon" | |
4491 | HQ.Anchored = true | |
4492 | HQ.CanCollide = false | |
4493 | HQ.Transparency = 0.7 | |
4494 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4495 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4496 | HQ2.MeshId = "rbxassetid://20329976" | |
4497 | HQ2.Scale = Vector3.new(1,1,1) | |
4498 | ||
4499 | local HQG = Instance.new("Part",char) | |
4500 | HQG.Size = Vector3.new(1,0,1) | |
4501 | HQG.BrickColor = BrickColor.new("Grey") | |
4502 | HQG.Material = "Neon" | |
4503 | HQG.Anchored = true | |
4504 | HQG.Transparency = 0.7 | |
4505 | HQG.CanCollide = false | |
4506 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4507 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
4508 | HQG2.MeshId = "rbxassetid://20329976" | |
4509 | HQG2.Scale = Vector3.new(1,1,1) | |
4510 | ||
4511 | ||
4512 | coroutine.resume(coroutine.create(function() | |
4513 | for i = 1,200 do | |
4514 | HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5) | |
4515 | HQ.Transparency = HQ.Transparency + 0.01 | |
4516 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4517 | ||
4518 | HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1) | |
4519 | HQG.Transparency = HQG.Transparency + 0.01 | |
4520 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4521 | ||
4522 | wait(0.00000000001) | |
4523 | ||
4524 | ||
4525 | end | |
4526 | HQ:Destroy() | |
4527 | HQ2:Destroy() | |
4528 | HQG:Destroy() | |
4529 | HQG2:Destroy() | |
4530 | end)) | |
4531 | ||
4532 | ||
4533 | wait(0.5) | |
4534 | sbs:Destroy() | |
4535 | hum.WalkSpeed = 260 | |
4536 | FlyAt:Destroy() | |
4537 | wait(0.2) | |
4538 | hum.WalkSpeed = 16 | |
4539 | no_anim = false | |
4540 | instinct = true | |
4541 | end | |
4542 | end) | |
4543 | ||
4544 | mouse.KeyDown:connect(function(k) | |
4545 | if k == "q" and MUI == false then --highjump | |
4546 | ||
4547 | animid = 5 | |
4548 | no_anim = true | |
4549 | ||
4550 | local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0) | |
4551 | local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0) | |
4552 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
4553 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4554 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5 | |
4555 | local bv = Instance.new("BodyVelocity") | |
4556 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4557 | bv.velocity = root.CFrame.lookVector*200 | |
4558 | bv.Parent = root | |
4559 | ||
4560 | ||
4561 | ||
4562 | for i = 1, 30 do | |
4563 | wait() | |
4564 | ||
4565 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
4566 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
4567 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
4568 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
4569 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg | |
4570 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg | |
4571 | end | |
4572 | ||
4573 | ||
4574 | ||
4575 | ||
4576 | ||
4577 | ||
4578 | ||
4579 | ||
4580 | ||
4581 | wait(0.5) | |
4582 | bv:Destroy() | |
4583 | ||
4584 | wait(0.2) | |
4585 | ||
4586 | ||
4587 | FlyAt:Destroy() | |
4588 | no_anim = false | |
4589 | end | |
4590 | end) | |
4591 | holdclick=false | |
4592 | ||
4593 | mouse.KeyDown:connect(function(k) | |
4594 | if k == "q" and MUI == true then --highjump | |
4595 | ||
4596 | animid = 5 | |
4597 | no_anim = true | |
4598 | hum.WalkSpeed = 60 | |
4599 | local bv = Instance.new("BodyVelocity") | |
4600 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4601 | bv.velocity = root.CFrame.lookVector*190 | |
4602 | bv.Parent = root | |
4603 | ||
4604 | local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0) | |
4605 | local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,0) | |
4606 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
4607 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
4608 | Speed.Color = ColorSequence.new(Color3.fromRGB(4, 175, 236)) Speed.LightEmission = 5 | |
4609 | ||
4610 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.8)--torso | |
4611 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)), 0.8)--rarm | |
4612 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-85),math.rad(0),math.rad(0)), 0.8)--larm | |
4613 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4614 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg | |
4615 | ||
4616 | ||
4617 | ||
4618 | local HQ = Instance.new("Part",char) | |
4619 | HQ.Size = Vector3.new(1,0,1) | |
4620 | HQ.BrickColor = BrickColor.new("Grey") | |
4621 | HQ.Material = "Neon" | |
4622 | HQ.Anchored = true | |
4623 | HQ.CanCollide = false | |
4624 | HQ.Transparency = 0.7 | |
4625 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0) | |
4626 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4627 | HQ2.MeshId = "rbxassetid://20329976" | |
4628 | HQ2.Scale = Vector3.new(1,1,1) | |
4629 | ||
4630 | local HQG = Instance.new("Part",char) | |
4631 | HQG.Size = Vector3.new(1,0,1) | |
4632 | HQG.BrickColor = BrickColor.new("Grey") | |
4633 | HQG.Material = "Neon" | |
4634 | HQG.Anchored = true | |
4635 | HQG.Transparency = 0.7 | |
4636 | HQG.CanCollide = false | |
4637 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0) | |
4638 | local HQG2 = Instance.new("SpecialMesh",HQG) | |
4639 | HQG2.MeshId = "rbxassetid://20329976" | |
4640 | HQG2.Scale = Vector3.new(1,1,1) | |
4641 | ||
4642 | ||
4643 | coroutine.resume(coroutine.create(function() | |
4644 | for i = 1,200 do | |
4645 | HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5) | |
4646 | HQ.Transparency = HQ.Transparency + 0.01 | |
4647 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4648 | ||
4649 | HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1) | |
4650 | HQG.Transparency = HQG.Transparency + 0.01 | |
4651 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
4652 | ||
4653 | wait() | |
4654 | ||
4655 | ||
4656 | end | |
4657 | HQ:Destroy() | |
4658 | HQ2:Destroy() | |
4659 | HQG:Destroy() | |
4660 | HQG2:Destroy() | |
4661 | end)) | |
4662 | ||
4663 | ||
4664 | wait(0.5) | |
4665 | bv:Destroy() | |
4666 | hum.WalkSpeed = 60 | |
4667 | wait(0.2) | |
4668 | hum.WalkSpeed = 16 | |
4669 | FlyAt:Destroy() | |
4670 | no_anim = false | |
4671 | instinct = true | |
4672 | end | |
4673 | end) | |
4674 | mouse.KeyDown:connect(function(k) | |
4675 | if k == "l" then | |
4676 | ||
4677 | animid = 5 | |
4678 | no_anim = true | |
4679 | UltimateBattle:Stop() | |
4680 | ||
4681 | ||
4682 | for i = 1, 10 do | |
4683 | wait() | |
4684 | ||
4685 | ||
4686 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
4687 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm | |
4688 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.8)--larm | |
4689 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4690 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
4691 | end | |
4692 | wait(2) | |
4693 | local SFXZ = Instance.new("Sound",char) | |
4694 | SFXZ.SoundId = "rbxassetid://242076158" | |
4695 | SFXZ.Volume = 10 | |
4696 | SFXZ.Pitch = 1 | |
4697 | SFXZ.Looped = false | |
4698 | wait(0.01) | |
4699 | SFXZ:Play() | |
4700 | ||
4701 | for i = 1, 10 do | |
4702 | wait() | |
4703 | ||
4704 | ||
4705 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
4706 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm | |
4707 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 0.8)--larm | |
4708 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
4709 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
4710 | end | |
4711 | ||
4712 | ||
4713 | coroutine.resume(coroutine.create(function() | |
4714 | for i = 3,80 do | |
4715 | local Ball = Instance.new("Part",char) | |
4716 | Ball.Size = Vector3.new(0,0,0) | |
4717 | Ball.BrickColor = BrickColor.new("White") | |
4718 | Ball.Material = "Neon" | |
4719 | Ball.Anchored = true | |
4720 | Ball.CanCollide = false | |
4721 | Ball.Transparency = 0 | |
4722 | Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
4723 | local Ball2 = Instance.new("SpecialMesh",Ball) | |
4724 | Ball2.MeshType = 3 | |
4725 | Ball2.Scale = Vector3.new(0.4,0.4,0.4) | |
4726 | ||
4727 | ||
4728 | ||
4729 | ||
4730 | coroutine.resume(coroutine.create(function() | |
4731 | for i = 1,15 do | |
4732 | Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4) | |
4733 | Ball.Transparency = Ball.Transparency + 0.06 | |
4734 | ||
4735 | wait(0.00000000001) | |
4736 | end | |
4737 | Ball:Destroy() | |
4738 | ||
4739 | ||
4740 | end)) | |
4741 | wait(0.02) | |
4742 | end | |
4743 | end)) | |
4744 | ||
4745 | wait(5) | |
4746 | ||
4747 | ||
4748 | ||
4749 | ||
4750 | coroutine.wrap(function() | |
4751 | for i,v in next, workspace:children() do | |
4752 | if v:IsA"Model" or v:IsA"Part" then | |
4753 | if v:FindFirstChildOfClass"Humanoid" and v ~= char then | |
4754 | Eviscerate(v) | |
4755 | if v:FindFirstChildOfClass"Humanoid" then Eviscerate(v) end | |
4756 | wait(.15) | |
4757 | end | |
4758 | end | |
4759 | end | |
4760 | end)() | |
4761 | ||
4762 | ||
4763 | wait(10) | |
4764 | no_anim = false | |
4765 | ||
4766 | ||
4767 | ||
4768 | end | |
4769 | end) | |
4770 | ||
4771 | ||
4772 | ||
4773 | ||
4774 | ||
4775 | ||
4776 | ||
4777 | ||
4778 | ||
4779 | ||
4780 | ||
4781 | ||
4782 | ||
4783 | ||
4784 | mouse.KeyDown:connect(function(key) | |
4785 | if debounce == false then | |
4786 | if key == "=" and MUI == true then | |
4787 | dashasdf() | |
4788 | elseif key == "=" and cooldownult == false then | |
4789 | cooldownult = true | |
4790 | if animid == 0 then | |
4791 | animid = 1 | |
4792 | else | |
4793 | animid = 0 | |
4794 | end | |
4795 | debounce = true | |
4796 | holdr = true | |
4797 | aiming_anim = true | |
4798 | wait(0.2) | |
4799 | repeat | |
4800 | rs:wait() | |
4801 | timer = 150 | |
4802 | until holdr == false | |
4803 | nukewelpo() | |
4804 | ||
4805 | local Position = mouse.Hit.p | |
4806 | local Target = root.Position | |
4807 | local direction = Target - Position | |
4808 | local direction = computeDirection(direction) | |
4809 | root.Velocity = direction * 300 | |
4810 | ||
4811 | aiming_anim = false | |
4812 | delay(5,function() cooldownult = false end) | |
4813 | delay(1,function() debounce = false end) | |
4814 | ||
4815 | elseif key == "=" then | |
4816 | debounce = true | |
4817 | if animid == 0 then | |
4818 | animid = 1 | |
4819 | else | |
4820 | animid = 0 | |
4821 | end | |
4822 | holdq = true | |
4823 | attack = true | |
4824 | ||
4825 | ||
4826 | ||
4827 | ||
4828 | repeat rs:wait() timer = 150 until holdq == false | |
4829 | laz0r() | |
4830 | attack = false | |
4831 | ||
4832 | end | |
4833 | end | |
4834 | ||
4835 | end) | |
4836 | ||
4837 | mouse.KeyUp:connect(function(key) | |
4838 | if key == "=" then | |
4839 | holdq = false | |
4840 | elseif key == "=" then | |
4841 | holdr = false | |
4842 | end | |
4843 | end) | |
4844 | -- | |
4845 | hum.Name = 'Goku' | |
4846 | ---------------------------------------------------------------------------- | |
4847 | music(themeid,themepitch) | |
4848 | velocityYFall=0 | |
4849 | velocityYFall2=0 | |
4850 | velocityYFall3=0 | |
4851 | velocityYFall4=0 | |
4852 | neckrotY=0 | |
4853 | neckrotY2=0 | |
4854 | torsorotY=0 | |
4855 | torsorotY2=0 | |
4856 | torsoY=0 | |
4857 | torsoY2=0 | |
4858 | sine = 0 | |
4859 | newWeld(torso, larm, -1.5, 0.5, 0) | |
4860 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
4861 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
4862 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
4863 | newWeld(torso, hed, 0, 1.5, 0) | |
4864 | newWeld(torso, lleg, -0.5, -1, 0) | |
4865 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
4866 | newWeld(torso, rleg, 0.5, -1, 0) | |
4867 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
4868 | newWeld(root, torso, 0, -1, 0) | |
4869 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
4870 | ||
4871 | rs:connect(function() | |
4872 | ||
4873 | bg.MaxTorque = Vector3.new(0,0,0) | |
4874 | ||
4875 | for i,v in pairs(DebrisModel:GetChildren()) do | |
4876 | ||
4877 | ||
4878 | if v.Name == "EXPLOSION" then | |
4879 | local change = 0.04-(v.Transparency*0.02) | |
4880 | local vm = v:FindFirstChildOfClass("SpecialMesh") | |
4881 | vm.Scale = vm.Scale + Vector3.new(change,change,change) | |
4882 | v.Transparency = v.Transparency + 0.02 | |
4883 | if v.Transparency >= 1 then | |
4884 | v:Destroy() | |
4885 | end | |
4886 | ||
4887 | elseif v.Name == "EXPLOSION2" then | |
4888 | local change = 0.04-(v.Transparency*0.04) | |
4889 | local vm = v:FindFirstChildOfClass("SpecialMesh") | |
4890 | vm.Scale = vm.Scale + Vector3.new(change,change,0) | |
4891 | v.Transparency = v.Transparency + 0.025 | |
4892 | if v.Transparency >= 1 then | |
4893 | v:Destroy() | |
4894 | end | |
4895 | ||
4896 | elseif v.Name == "EXPLOSION3" then | |
4897 | local change = 0.5-(v.Transparency*0.5) | |
4898 | local vm = v:FindFirstChildOfClass("SpecialMesh") | |
4899 | vm.Scale = vm.Scale + Vector3.new(change,change,0) | |
4900 | v.Transparency = v.Transparency + 0.1 | |
4901 | if v.Transparency >= 1 then | |
4902 | v:Destroy() | |
4903 | end | |
4904 | ||
4905 | elseif v.Name == "EXPLOSION4" then | |
4906 | local change = 0.15-(v.Transparency*0.125) | |
4907 | local vm = v:FindFirstChildOfClass("SpecialMesh") | |
4908 | vm.Scale = vm.Scale + Vector3.new(change,change,change) | |
4909 | v.Transparency = v.Transparency + 0.01 | |
4910 | if v.Transparency >= 1 then | |
4911 | v:Destroy() | |
4912 | end | |
4913 | ||
4914 | elseif v.Name == "SMOKE" then | |
4915 | local vm = v:FindFirstChildOfClass("SpecialMesh") | |
4916 | vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075) | |
4917 | if vm.Scale.X <= 0 then | |
4918 | v:Destroy() | |
4919 | end | |
4920 | ||
4921 | elseif v.Name == "SMOKE2" then | |
4922 | local change = 2-(v.Transparency*2) | |
4923 | local vm = v:FindFirstChildOfClass("SpecialMesh") | |
4924 | local Position = nil | |
4925 | if animid == 0 then | |
4926 | Position = larm.Position | |
4927 | else | |
4928 | Position = rarm.Position | |
4929 | end | |
4930 | local Target = mouse.Hit.p | |
4931 | local direction = Target - Position | |
4932 | local direction = computeDirection(direction) | |
4933 | local ray = Ray.new(Position, (Target-Position).unit*1048) | |
4934 | local part, endPoint = workspace:FindPartOnRay(ray, char) | |
4935 | vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change) | |
4936 | local pos = Position + (direction * (vm.Scale.Y/2)) | |
4937 | v.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0) | |
4938 | vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0) | |
4939 | v.Transparency = v.Transparency + 0.1 | |
4940 | if v.Transparency >= 1 then | |
4941 | v:Destroy() | |
4942 | end | |
4943 | ||
4944 | ||
4945 | elseif v.Name == "LIGHTNING" then | |
4946 | local vm = v:FindFirstChildOfClass("BlockMesh") | |
4947 | vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0) | |
4948 | if vm.Scale.X <= 0 then | |
4949 | v:Destroy() | |
4950 | end | |
4951 | ||
4952 | end | |
4953 | end | |
4954 | ||
4955 | if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then | |
4956 | velocityYFall = root.Velocity.Y/1.5 | |
4957 | end | |
4958 | if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then | |
4959 | velocityYFall2 = root.Velocity.Y/180 | |
4960 | end | |
4961 | if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then | |
4962 | velocityYFall3 = root.Velocity.Y/1.5 | |
4963 | end | |
4964 | if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then | |
4965 | velocityYFall4 = root.Velocity.Y/1.5 | |
4966 | end | |
4967 | if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then | |
4968 | neckrotY = root.RotVelocity.Y/6 | |
4969 | end | |
4970 | if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then | |
4971 | neckrotY2 = root.RotVelocity.Y/8 | |
4972 | end | |
4973 | ||
4974 | if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then | |
4975 | torsorotY = root.RotVelocity.Y/6 | |
4976 | end | |
4977 | if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then | |
4978 | torsorotY2 = root.RotVelocity.Y/8 | |
4979 | end | |
4980 | ||
4981 | ||
4982 | torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20 | |
4983 | torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36 | |
4984 | ||
4985 | ||
4986 | local SINE = 0 | |
4987 | local jumped = false | |
4988 | local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0)) | |
4989 | local part1, endPoint = workspace:FindPartOnRay(ray1, char) | |
4990 | local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0)) | |
4991 | local part2, endPoint = workspace:FindPartOnRay(ray2, char) | |
4992 | local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0)) | |
4993 | local part3, endPoint = workspace:FindPartOnRay(ray3, char) | |
4994 | local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0)) | |
4995 | local part4, endPoint = workspace:FindPartOnRay(ray4, char) | |
4996 | ||
4997 | if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end | |
4998 | ||
4999 | local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0)) | |
5000 | local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char) | |
5001 | local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100) | |
5002 | local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100) | |
5003 | ||
5004 | local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0)) | |
5005 | local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char) | |
5006 | local sizem = 1 | |
5007 | if no_anim == false then | |
5008 | if hum.Health > 0 then | |
5009 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then | |
5010 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1) | |
5011 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1) | |
5012 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
5013 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
5014 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1) | |
5015 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
5016 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2) | |
5017 | elseif jumped == true then | |
5018 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1) | |
5019 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1) | |
5020 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2) | |
5021 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2) | |
5022 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1) | |
5023 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2) | |
5024 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2) | |
5025 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then | |
5026 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1) | |
5027 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1) | |
5028 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2) | |
5029 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2) | |
5030 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1) | |
5031 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2) | |
5032 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2) | |
5033 | end | |
5034 | for i=1,5 do | |
5035 | if aiming_anim == true then | |
5036 | bg.MaxTorque = Vector3.new(9e9,9e9,9e9) | |
5037 | if jumped == false then | |
5038 | bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z)) | |
5039 | else | |
5040 | bg.CFrame = CFrame.new(root.Position,mouse.Hit.p) | |
5041 | end | |
5042 | if animid == 0 then | |
5043 | hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4) | |
5044 | torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2) | |
5045 | larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4) | |
5046 | else | |
5047 | if animid == 5 then | |
5048 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head | |
5049 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso | |
5050 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm | |
5051 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm | |
5052 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg | |
5053 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg | |
5054 | else | |
5055 | hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4) | |
5056 | torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2) | |
5057 | rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4) | |
5058 | end | |
5059 | end | |
5060 | else | |
5061 | if timer <= 0 then | |
5062 | animid = math.random(0,1) | |
5063 | else | |
5064 | timer = timer - 1 | |
5065 | end | |
5066 | end | |
5067 | end | |
5068 | end | |
5069 | end | |
5070 | main_color = Color3.fromRGB(main.r,main.g,main.b) | |
5071 | pr.Value = main.r | |
5072 | pg.Value = main.g | |
5073 | pb.Value = main.b | |
5074 | pv.Value = main.v | |
5075 | idth.Value = themeid | |
5076 | pith.Value = themepitch | |
5077 | HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2) | |
5078 | HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v) | |
5079 | sine = sine + change | |
5080 | if hum.Health <= 0 then | |
5081 | debounce = true | |
5082 | end | |
5083 | end) |