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