SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | - | local Player = game.Players.EliteGuardian68 |
2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do | |
6 | print("FE Compatibility 1000hack") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | local h,t | |
87 | --Give the server mouse data every second frame, but only if the values changed | |
88 | --If player is not moving their mouse, client won't fire events | |
89 | local HB = game:GetService("RunService").Heartbeat | |
90 | while true do | |
91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
92 | h,t=Mouse.Hit,Mouse.Target | |
93 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
94 | end | |
95 | --Wait 2 frames | |
96 | for i=1,2 do | |
97 | HB:Wait() | |
98 | end | |
99 | end]==],script) | |
100 | ||
101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
102 | --Real game object | |
103 | local RealGame = game | |
104 | ||
105 | --Metatable for fake service | |
106 | local FakeService_Metatable = { | |
107 | __index = function(self,k) | |
108 | local s = rawget(self,"_RealService") | |
109 | if s then | |
110 | return typeof(s[k])=="function" | |
111 | and function(_,...)return s[k](s,...)end or s[k] | |
112 | end | |
113 | end, | |
114 | __newindex = function(self,k,v) | |
115 | local s = rawget(self,"_RealService") | |
116 | if s then s[k]=v end | |
117 | end | |
118 | } | |
119 | local function FakeService(t,RealService) | |
120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
121 | return setmetatable(t,FakeService_Metatable) | |
122 | end | |
123 | ||
124 | --Fake game object | |
125 | local FakeGame = { | |
126 | GetService = function(self,s) | |
127 | return rawget(self,s) or RealGame:GetService(s) | |
128 | end, | |
129 | Players = FakeService({ | |
130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
131 | },"Players"), | |
132 | UserInputService = FakeService(UIS,"UserInputService"), | |
133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
134 | RunService = FakeService({ | |
135 | _btrs = {}, | |
136 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
137 | BindToRenderStep = function(self,name,_,fun) | |
138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
139 | end, | |
140 | UnbindFromRenderStep = function(self,name) | |
141 | self._btrs[name]:Disconnect() | |
142 | end, | |
143 | },"RunService") | |
144 | } | |
145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
146 | FakeGame.service = FakeGame.GetService | |
147 | FakeService(FakeGame,game) | |
148 | --Changing owner to fake player object to support owner:GetMouse() | |
149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
150 | end | |
151 | wait(0.000000066) | |
152 | local Player = owner | |
153 | local char = Player.Character | |
154 | local Character = Player.Character | |
155 | local Head = Character.Head | |
156 | local done = false | |
157 | local canheal = false | |
158 | local deathchat1 = false | |
159 | local once = true | |
160 | local dead = false | |
161 | local candie = true | |
162 | local deathchat = false | |
163 | local idleon = true | |
164 | local idle1 = true | |
165 | local idle = true | |
166 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do | |
167 | if v:IsA("Accessory") then | |
168 | v:Destroy() | |
169 | end | |
170 | end | |
171 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do | |
172 | if v:IsA("Shirt") then | |
173 | v:Remove() | |
174 | end | |
175 | end | |
176 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do | |
177 | if v:IsA("Pants") then | |
178 | v:Remove() | |
179 | end | |
180 | end | |
181 | wait() | |
182 | shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character) | |
183 | shirt.Name = "Shirt" | |
184 | pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character) | |
185 | pants.Name = "Pants" | |
186 | ||
187 | local v3 = Vector3.new | |
188 | local num = 0 | |
189 | local bc = BrickColor.new | |
190 | local new = Instance.new | |
191 | ||
192 | ||
193 | Instance.new("ForceField",char).Visible = false | |
194 | local poo = Instance.new("IntValue",Character) | |
195 | poo.Name = "haha nope" | |
196 | char.Humanoid.MaxHealth = math.huge | |
197 | wait() | |
198 | char.Humanoid.Health = math.huge | |
199 | Instance.new("ForceField",char).Visible = false | |
200 | ||
201 | shirt = Instance.new("Shirt", char) | |
202 | shirt.Name = "Shirt" | |
203 | pants = Instance.new("Pants", char) | |
204 | pants.Name = "Pants" | |
205 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=984827870" | |
206 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=819422015" | |
207 | char.Head.face.Texture = "rbxassetid://1108342609" | |
208 | ||
209 | Hair7 = Instance.new("Part") | |
210 | Hair7.Parent = char | |
211 | Hair7.Name = "Hair" | |
212 | Hair7.CanCollide = false | |
213 | Hair7.Locked = true | |
214 | Hair7.TopSurface = "Smooth" | |
215 | Hair7.BottomSurface = "Smooth" | |
216 | Hair7.formFactor = "Symmetric" | |
217 | Hair7.Material = "Neon" | |
218 | Hair7.BrickColor = BrickColor.new("Really black") | |
219 | Hair7.CFrame = char.Torso.CFrame | |
220 | Hair7.Size = Vector3.new(1, 1, 1) | |
221 | Hair7.Transparency = 0 | |
222 | ||
223 | ||
224 | Weld1 = Instance.new("Weld") | |
225 | Weld1.Parent = char.Head | |
226 | Weld1.Part0 = char.Head | |
227 | Weld1.Part1 = Hair7 | |
228 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
229 | ||
230 | Mesh = Instance.new("SpecialMesh") | |
231 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
232 | Mesh.Parent = Hair7 | |
233 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
234 | Mesh.MeshType = "FileMesh" | |
235 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
236 | Mesh.TextureId = "" | |
237 | ||
238 | ||
239 | local ice = Instance.new("Part", Head) | |
240 | ice.Size = Vector3.new(0.5, 0.5, 0.5) | |
241 | ice.BrickColor = BrickColor.new("White") | |
242 | ice.CanCollide = false | |
243 | ice.TopSurface = 0 | |
244 | ice.BottomSurface = 0 | |
245 | ice.Transparency = 1 | |
246 | local ice2 = Instance.new("SpecialMesh", ice) | |
247 | ice2.MeshType = "Brick" | |
248 | ice2.Scale = Vector3.new(1, 1, 1) | |
249 | local ice3 = Instance.new("Weld", ice) | |
250 | ice3.Part0 = Head | |
251 | ice3.Part1 = ice | |
252 | ice3.C0 = CFrame.new(0, 0, -0.8) * CFrame.Angles(0, 0, 0) | |
253 | local icesmoke = Instance.new("ParticleEmitter", ice) | |
254 | icesmoke.VelocitySpread = 5 | |
255 | icesmoke.Size = NumberSequence.new({ | |
256 | NumberSequenceKeypoint.new(0, 0.01), | |
257 | NumberSequenceKeypoint.new(1, 1) | |
258 | }) | |
259 | icesmoke.Rate = math.huge | |
260 | icesmoke.Speed = NumberRange.new(1, 1) | |
261 | icesmoke.Lifetime = NumberRange.new(0.5, 0.8) | |
262 | icesmoke.Transparency = NumberSequence.new({ | |
263 | NumberSequenceKeypoint.new(0, 0.9), | |
264 | NumberSequenceKeypoint.new(1, 1) | |
265 | }) | |
266 | icesmoke.Rotation = NumberRange.new(0, 360) | |
267 | icesmoke.Name = "Smoke" | |
268 | icesmoke.LightEmission = 0 | |
269 | icesmoke.Acceleration = Vector3.new(0,0,0) | |
270 | icesmoke.Texture = "http://www.roblox.com/asset/?id=" | |
271 | icesmoke.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
272 | icesmoke.LockedToPart = true | |
273 | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name | |
274 | secondcolor = "Really black" | |
275 | wait(0.016666666666666666) | |
276 | Effects = {} | |
277 | local Player = game.Players.localPlayer | |
278 | local Character = Player.Character | |
279 | local Humanoid = Character.Humanoid | |
280 | local mouse = Player:GetMouse() | |
281 | local LeftArm = Character["Left Arm"] | |
282 | local RightArm = Character["Right Arm"] | |
283 | local LeftLeg = Character["Left Leg"] | |
284 | local RightLeg = Character["Right Leg"] | |
285 | local Head = Character.Head | |
286 | local Torso = Character.Torso | |
287 | local cam = game.Workspace.CurrentCamera | |
288 | local RootPart = Character.HumanoidRootPart | |
289 | local RootJoint = RootPart.RootJoint | |
290 | local equipped = true | |
291 | local attack = false | |
292 | local Anim = "Idle" | |
293 | local idle = 0 | |
294 | local attacktype = 1 | |
295 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
296 | local velocity = RootPart.Velocity.y | |
297 | local sine = 0 | |
298 | local change = 1 | |
299 | local grabbed = false | |
300 | local cn = CFrame.new | |
301 | local mr = math.rad | |
302 | local angles = CFrame.Angles | |
303 | local ud = UDim2.new | |
304 | local c3 = Color3.new | |
305 | local dir = { | |
306 | w = 0, | |
307 | s = 0, | |
308 | a = 0, | |
309 | d = 0 | |
310 | } | |
311 | firemode = true | |
312 | local Services = { | |
313 | SoundService = game:GetService("SoundService"), | |
314 | Players = game:GetService("Players"), | |
315 | Debris = game:GetService("Debris"), | |
316 | Workspace = game:GetService("Workspace"), | |
317 | Lighting = game:GetService("Lighting"), | |
318 | HttpService = game:GetService("HttpService"), | |
319 | InsertService = game:GetService("InsertService") | |
320 | } | |
321 | local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
322 | Humanoid.Animator:Destroy() | |
323 | Character.Animate:Destroy() | |
324 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
325 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
326 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
327 | RSH, LSH = nil, nil | |
328 | RW = Instance.new("Weld") | |
329 | LW = Instance.new("Weld") | |
330 | RH = Torso["Right Hip"] | |
331 | LH = Torso["Left Hip"] | |
332 | RSH = Torso["Right Shoulder"] | |
333 | LSH = Torso["Left Shoulder"] | |
334 | RSH.Parent = nil | |
335 | LSH.Parent = nil | |
336 | RW.Name = "RW" | |
337 | RW.Part0 = Torso | |
338 | RW.C0 = cn(1.5, 0.5, 0) | |
339 | RW.C1 = cn(0, 0.5, 0) | |
340 | RW.Part1 = RightArm | |
341 | RW.Parent = Torso | |
342 | LW.Name = "LW" | |
343 | LW.Part0 = Torso | |
344 | LW.C0 = cn(-1.5, 0.5, 0) | |
345 | LW.C1 = cn(0, 0.5, 0) | |
346 | LW.Part1 = LeftArm | |
347 | LW.Parent = Torso | |
348 | -------------- | |
349 | function clerp(a, b, t) | |
350 | local qa = { | |
351 | QuaternionFromCFrame(a) | |
352 | } | |
353 | local qb = { | |
354 | QuaternionFromCFrame(b) | |
355 | } | |
356 | local ax, ay, az = a.x, a.y, a.z | |
357 | local bx, by, bz = b.x, b.y, b.z | |
358 | local _t = 1 - t | |
359 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
360 | end | |
361 | function QuaternionFromCFrame(cf) | |
362 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
363 | local trace = m00 + m11 + m22 | |
364 | if trace > 0 then | |
365 | local s = math.sqrt(1 + trace) | |
366 | local recip = 0.5 / s | |
367 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
368 | else | |
369 | local i = 0 | |
370 | if m00 < m11 then | |
371 | i = 1 | |
372 | end | |
373 | if m22 > (i == 0 and m00 or m11) then | |
374 | i = 2 | |
375 | end | |
376 | if i == 0 then | |
377 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
378 | local recip = 0.5 / s | |
379 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
380 | elseif i == 1 then | |
381 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
382 | local recip = 0.5 / s | |
383 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
384 | elseif i == 2 then | |
385 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
386 | local recip = 0.5 / s | |
387 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
388 | end | |
389 | end | |
390 | end | |
391 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
392 | local xs, ys, zs = x + x, y + y, z + z | |
393 | local wx, wy, wz = w * xs, w * ys, w * zs | |
394 | local xx = x * xs | |
395 | local xy = x * ys | |
396 | local xz = x * zs | |
397 | local yy = y * ys | |
398 | local yz = y * zs | |
399 | local zz = z * zs | |
400 | 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)) | |
401 | end | |
402 | function QuaternionSlerp(a, b, t) | |
403 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
404 | local startInterp, finishInterp | |
405 | if cosTheta >= 1.0E-4 then | |
406 | if 1 - cosTheta > 1.0E-4 then | |
407 | local theta = math.acos(cosTheta) | |
408 | local invSinTheta = 1 / math.sin(theta) | |
409 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
410 | finishInterp = math.sin(t * theta) * invSinTheta | |
411 | else | |
412 | startInterp = 1 - t | |
413 | finishInterp = t | |
414 | end | |
415 | elseif 1 + cosTheta > 1.0E-4 then | |
416 | local theta = math.acos(-cosTheta) | |
417 | local invSinTheta = 1 / math.sin(theta) | |
418 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
419 | finishInterp = math.sin(t * theta) * invSinTheta | |
420 | else | |
421 | startInterp = t - 1 | |
422 | finishInterp = t | |
423 | end | |
424 | 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 | |
425 | end | |
426 | function swait(num) | |
427 | if num == 0 or num == nil then | |
428 | game:service("RunService").RenderStepped:wait(0) | |
429 | else | |
430 | for i = 0, num do | |
431 | game:service("RunService").RenderStepped:wait(0) | |
432 | end | |
433 | end | |
434 | end | |
435 | local RbxUtility = LoadLibrary("RbxUtility") | |
436 | local Create = RbxUtility.Create | |
437 | function RemoveOutlines(part) | |
438 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
439 | end | |
440 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
441 | local Part = Create("Part")({ | |
442 | formFactor = FormFactor, | |
443 | Parent = Parent, | |
444 | Reflectance = Reflectance, | |
445 | Transparency = Transparency, | |
446 | CanCollide = false, | |
447 | Locked = true, | |
448 | BrickColor = BrickColor.new(tostring(BColor)), | |
449 | Name = Name, | |
450 | Size = Size, | |
451 | Material = Material | |
452 | }) | |
453 | RemoveOutlines(Part) | |
454 | return Part | |
455 | end | |
456 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
457 | local Msh = Create(Mesh)({ | |
458 | Parent = Part, | |
459 | Offset = OffSet, | |
460 | Scale = Scale | |
461 | }) | |
462 | if Mesh == "SpecialMesh" then | |
463 | Msh.MeshType = MeshType | |
464 | Msh.MeshId = MeshId | |
465 | end | |
466 | return Msh | |
467 | end | |
468 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
469 | local Weld = Create("Weld")({ | |
470 | Parent = Parent, | |
471 | Part0 = Part0, | |
472 | Part1 = Part1, | |
473 | C0 = C0, | |
474 | C1 = C1 | |
475 | }) | |
476 | return Weld | |
477 | end | |
478 | function rayCast(Position, Direction, Range, Ignore) | |
479 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
480 | end | |
481 | function CreateSound(id, par, vol, pit) | |
482 | coroutine.resume(coroutine.create(function() | |
483 | local sou = Instance.new("Sound", par or workspace) | |
484 | sou.Volume = vol | |
485 | sou.Pitch = pit or 1 | |
486 | sou.SoundId = id | |
487 | wait() | |
488 | sou:play() | |
489 | game:GetService("Debris"):AddItem(sou, 6) | |
490 | end)) | |
491 | end | |
492 | function CreateSong(id, par, vol, pit) | |
493 | coroutine.resume(coroutine.create(function() | |
494 | sou2 = Instance.new("Sound", par or workspace) | |
495 | sou2.Volume = 1 | |
496 | sou2.Pitch = 1 | |
497 | sou2.SoundId = id | |
498 | wait() | |
499 | sou2:play() | |
500 | sou2.Looped = true | |
501 | end)) | |
502 | end | |
503 | CreateSong("http://www.roblox.com/asset/?id=", Character, 2) | |
504 | local function getclosest(obj, distance) | |
505 | local last, lastx = distance + 1, nil | |
506 | for i, v in pairs(workspace:GetChildren()) do | |
507 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
508 | local t = v.Torso | |
509 | local dist = t.Position - obj.Position.magnitude | |
510 | if distance >= dist and last > dist then | |
511 | last = dist | |
512 | lastx = v | |
513 | end | |
514 | end | |
515 | end | |
516 | return lastx | |
517 | end | |
518 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
519 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
520 | prt.Anchored = true | |
521 | prt.CFrame = cframe | |
522 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
523 | game:GetService("Debris"):AddItem(prt, 10) | |
524 | if Type == 1 or Type == nil then | |
525 | table.insert(Effects, { | |
526 | prt, | |
527 | "Block1", | |
528 | delay, | |
529 | x3, | |
530 | y3, | |
531 | z3, | |
532 | msh | |
533 | }) | |
534 | elseif Type == 2 then | |
535 | table.insert(Effects, { | |
536 | prt, | |
537 | "Block2", | |
538 | delay, | |
539 | x3, | |
540 | y3, | |
541 | z3, | |
542 | msh | |
543 | }) | |
544 | elseif Type == 3 then | |
545 | table.insert(Effects, { | |
546 | prt, | |
547 | "Block3", | |
548 | delay, | |
549 | x3, | |
550 | y3, | |
551 | z3, | |
552 | msh | |
553 | }) | |
554 | end | |
555 | end | |
556 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
557 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
558 | prt.Anchored = true | |
559 | prt.CFrame = cframe | |
560 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
561 | game:GetService("Debris"):AddItem(prt, 10) | |
562 | table.insert(Effects, { | |
563 | prt, | |
564 | "Cylinder", | |
565 | delay, | |
566 | x3, | |
567 | y3, | |
568 | z3, | |
569 | msh | |
570 | }) | |
571 | end | |
572 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
573 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
574 | prt.Anchored = true | |
575 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
576 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
577 | game:GetService("Debris"):AddItem(prt, 10) | |
578 | table.insert(Effects, { | |
579 | prt, | |
580 | "Cylinder", | |
581 | delay, | |
582 | x3, | |
583 | y3, | |
584 | z3, | |
585 | msh | |
586 | }) | |
587 | end | |
588 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
589 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
590 | prt.Anchored = true | |
591 | prt.CFrame = cframe | |
592 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
593 | game:GetService("Debris"):AddItem(prt, 10) | |
594 | table.insert(Effects, { | |
595 | prt, | |
596 | "Cylinder", | |
597 | delay, | |
598 | x3, | |
599 | y3, | |
600 | z3, | |
601 | msh | |
602 | }) | |
603 | end | |
604 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
605 | local prt = CreatePart(3, workspace, "", 0, 0, brickcolor, "Effect", Vector3.new()) | |
606 | prt.Anchored = true | |
607 | prt.CFrame = cframe | |
608 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
609 | game:GetService("Debris"):AddItem(prt, 10) | |
610 | table.insert(Effects, { | |
611 | prt, | |
612 | "Cylinder", | |
613 | delay, | |
614 | x3, | |
615 | y3, | |
616 | z3, | |
617 | msh | |
618 | }) | |
619 | end | |
620 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
621 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
622 | prt.Anchored = true | |
623 | prt.CFrame = cframe | |
624 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
625 | game:GetService("Debris"):AddItem(prt, 10) | |
626 | table.insert(Effects, { | |
627 | prt, | |
628 | "Cylinder", | |
629 | delay, | |
630 | x3, | |
631 | y3, | |
632 | z3, | |
633 | msh | |
634 | }) | |
635 | end | |
636 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
637 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
638 | prt.Anchored = true | |
639 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
640 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
641 | local num = math.random(10, 50) / 1000 | |
642 | game:GetService("Debris"):AddItem(prt, 10) | |
643 | table.insert(Effects, { | |
644 | prt, | |
645 | "Shatter", | |
646 | num, | |
647 | prt.CFrame, | |
648 | math.random() - math.random(), | |
649 | 0, | |
650 | math.random(50, 100) / 100 | |
651 | }) | |
652 | end | |
653 | for i = 0, 1, 0.05 do | |
654 | swait() | |
655 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
656 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1) | |
657 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
658 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3) | |
659 | if Torsovelocity.Y > 1 then | |
660 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.2) | |
661 | RH.C0 = clerp(RH.C0, cn(1, -1 + 0.1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3) | |
662 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3) | |
663 | elseif Torsovelocity.Y < 1 then | |
664 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
665 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1) | |
666 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1) | |
667 | end | |
668 | end | |
669 | attack = false | |
670 | game:GetService("RunService").Stepped:connect(function() | |
671 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
672 | velocity = RootPart.Velocity.y | |
673 | sine = sine + change | |
674 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
675 | if equipped == true or equipped == false then | |
676 | if 1 < RootPart.Velocity.y and hit == nil then | |
677 | Anim = "Jump" | |
678 | if attack == false and ice_mode == false then | |
679 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
680 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
681 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1) | |
682 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1) | |
683 | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1) | |
684 | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1) | |
685 | end | |
686 | elseif RootPart.Velocity.y < -1 and hit == nil and ice_mode == false then | |
687 | Anim = "Fall" | |
688 | if attack == false then | |
689 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
690 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
691 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) | |
692 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
693 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
694 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
695 | end | |
696 | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == false then | |
697 | Anim = "Idle" | |
698 | if attack == false then | |
699 | change = 1 | |
700 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), .1) | |
701 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(6 - 2 * math.cos(sine / 25)), math.rad(4), math.rad(-1)), .1) | |
702 | RW.C0 = clerp(RW.C0, CFrame.new(0.9, 0.5, -0.5) * angles(math.rad(60), math.rad(0), math.rad(-60 + 3 * math.cos(sine / 25))), 0.1) | |
703 | LW.C0 = clerp(LW.C0, CFrame.new(-0.9, 0.4, -0.5) * angles(math.rad(60), math.rad(0), math.rad(60 - 3 * math.cos(sine / 25))), 0.1) | |
704 | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-8 + 0 * math.cos(sine / 25)), math.rad(-1), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
705 | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-8 + 0 * math.cos(sine / 25)), math.rad(-1), math.rad(0 + 2 * math.cos(sine / 25))), .1) | |
706 | end | |
707 | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 and hit ~= nil and ice_mode == false then | |
708 | Anim = "Walk" | |
709 | if attack == false then | |
710 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 3.5)) * angles(math.rad(8), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), 0.2) | |
711 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), 0.2) | |
712 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-65 * math.cos(sine / 4)), math.rad(0), math.rad(0 * math.cos(sine / 10))), 0.2) | |
713 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(65 * math.cos(sine / 4)), math.rad(0), math.rad(0 * math.cos(sine / 10))), 0.2) | |
714 | RH.C0 = clerp(RH.C0, cn(1, -1 + 0.2 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.3) | |
715 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.3) | |
716 | end | |
717 | end | |
718 | end | |
719 | if equipped == true or equipped == false then | |
720 | if 1 < RootPart.Velocity.Y and hit == nil then | |
721 | Anim = "Jump" | |
722 | if attack == false and ice_mode == true then | |
723 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
724 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
725 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1) | |
726 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1) | |
727 | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1) | |
728 | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1) | |
729 | end | |
730 | elseif RootPart.Velocity.Y < -1 and hit == nil and ice_mode == true then | |
731 | Anim = "Fall" | |
732 | if attack == false then | |
733 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
734 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
735 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) | |
736 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
737 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
738 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
739 | end | |
740 | elseif(Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == true then | |
741 | Anim = "Idle" | |
742 | if attack == false then | |
743 | change = 0.8 | |
744 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(15)), 0.1) | |
745 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
746 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1) | |
747 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1) | |
748 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(19 + 2 * math.cos(sine / 25))), 0.1) | |
749 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 25), -0.1) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(9 + 2 * math.cos(sine / 25))), 0.1) | |
750 | end | |
751 | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 and hit ~= nil and ice_mode == true then | |
752 | Anim = "Walk" | |
753 | if attack == false then | |
754 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(-70)), 0.1) | |
755 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(70)), 0.1) | |
756 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1) | |
757 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1) | |
758 | RH.C0 = clerp(RH.C0, cn(0.6, -0.8 - 0.1 * math.cos(sine / 25), -0.5) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(4 + 2 * math.cos(sine / 25))), 0.1) | |
759 | LH.C0 = clerp(LH.C0, cn(-0.9, -0.8 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(-19 + 2 * math.cos(sine / 25))), 0.1) | |
760 | end | |
761 | end | |
762 | end | |
763 | if 0 < #Effects then | |
764 | for e = 1, #Effects do | |
765 | if Effects[e] ~= nil then | |
766 | local Thing = Effects[e] | |
767 | if Thing ~= nil then | |
768 | local Part = Thing[1] | |
769 | local Mode = Thing[2] | |
770 | local Delay = Thing[3] | |
771 | local IncX = Thing[4] | |
772 | local IncY = Thing[5] | |
773 | local IncZ = Thing[6] | |
774 | if 1 >= Thing[1].Transparency then | |
775 | if Thing[2] == "Block1" then | |
776 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
777 | local Mesh = Thing[1].Mesh | |
778 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
779 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
780 | elseif Thing[2] == "Block2" then | |
781 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, -0.3, 0) | |
782 | local Mesh = Thing[7] | |
783 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
784 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
785 | elseif Thing[2] == "Block3" then | |
786 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.2, 0) | |
787 | local Mesh = Thing[7] | |
788 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
789 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
790 | elseif Thing[2] == "Cylinder" then | |
791 | local Mesh = Thing[1].Mesh | |
792 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
793 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
794 | elseif Thing[2] == "Blood" then | |
795 | local Mesh = Thing[7] | |
796 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
797 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
798 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
799 | elseif Thing[2] == "Elec" then | |
800 | local Mesh = Thing[1].Mesh | |
801 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
802 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
803 | elseif Thing[2] == "Disappear" then | |
804 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
805 | elseif Thing[2] == "Shatter" then | |
806 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
807 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
808 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
809 | Thing[6] = Thing[6] + Thing[5] | |
810 | end | |
811 | else | |
812 | Part.Parent = nil | |
813 | table.remove(Effects, e) | |
814 | end | |
815 | end | |
816 | end | |
817 | end | |
818 | end | |
819 | end) | |
820 | function RemoveOutlines(part) | |
821 | part.TopSurface = 10 | |
822 | end | |
823 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
824 | local Part = Create("Part")({ | |
825 | Parent = Parent, | |
826 | Reflectance = Reflectance, | |
827 | Transparency = Transparency, | |
828 | CanCollide = false, | |
829 | Locked = true, | |
830 | BrickColor = BrickColor.new(tostring(BColor)), | |
831 | Name = Name, | |
832 | Size = Size, | |
833 | Material = Material | |
834 | }) | |
835 | RemoveOutlines(Part) | |
836 | return Part | |
837 | end | |
838 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
839 | local Msh = Create(Mesh)({ | |
840 | Parent = Part, | |
841 | Offset = OffSet, | |
842 | Scale = Scale | |
843 | }) | |
844 | if Mesh == "SpecialMesh" then | |
845 | Msh.MeshType = MeshType | |
846 | Msh.MeshId = MeshId | |
847 | end | |
848 | return Msh | |
849 | end | |
850 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
851 | local Weld = Create("Weld")({ | |
852 | Parent = Parent, | |
853 | Part0 = Part0, | |
854 | Part1 = Part1, | |
855 | C0 = C0, | |
856 | C1 = C1 | |
857 | }) | |
858 | return Weld | |
859 | end | |
860 | WSHM = { | |
861 | "White", | |
862 | "Pastel light blue" | |
863 | } | |
864 | WSH = WSHM[math.random(1, #WSHM)] | |
865 | function IcePartFunk(HPart, aria, Min, Max) | |
866 | IcePart = Instance.new("Part", HPart) | |
867 | IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) | |
868 | IcePart.CanCollide = false | |
869 | IuW = Instance.new("Weld") | |
870 | IuW.Name = "GuW" | |
871 | IuW.Part0 = HPart | |
872 | IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)) | |
873 | IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0) | |
874 | IuW.Part1 = IcePart | |
875 | IuW.Parent = HPart | |
876 | IcePart.Transparency = 0.85 | |
877 | IcePart.Material = "Neon" | |
878 | WSH = WSHM[math.random(1, #WSHM)] | |
879 | IcePart.BrickColor = BrickColor.new("" .. WSH) | |
880 | RemoveOutlines(IcePart) | |
881 | game:GetService("Debris"):AddItem(IuW, 4) | |
882 | game:GetService("Debris"):AddItem(IcePart, 6) | |
883 | end | |
884 | SpikeMeshId = 1033714 | |
885 | local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale) | |
886 | local Part = Instance.new("Part", Parent) | |
887 | Part.Name = Name | |
888 | Part.BrickColor = BrickColor.new(Color) | |
889 | Part.Size = Size | |
890 | Part.Material = Material | |
891 | Part.Transparency = Transparency | |
892 | Part.CanCollide = false | |
893 | RemoveOutlines(Part) | |
894 | local Mesh = Instance.new("SpecialMesh", Part) | |
895 | Mesh.MeshType = "Sphere" | |
896 | Mesh.Scale = Scale | |
897 | return Mesh and Part | |
898 | end | |
899 | CFuncs = { | |
900 | Part = { | |
901 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
902 | local Part = Create("Part")({ | |
903 | Parent = Parent, | |
904 | Reflectance = Reflectance, | |
905 | Transparency = Transparency, | |
906 | CanCollide = false, | |
907 | Locked = true, | |
908 | BrickColor = BrickColor.new(tostring(BColor)), | |
909 | Name = Name, | |
910 | Size = Size, | |
911 | Material = Material | |
912 | }) | |
913 | RemoveOutlines(Part) | |
914 | return Part | |
915 | end | |
916 | }, | |
917 | Mesh = { | |
918 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
919 | local Msh = Create(Mesh)({ | |
920 | Parent = Part, | |
921 | Offset = OffSet, | |
922 | Scale = Scale | |
923 | }) | |
924 | if Mesh == "SpecialMesh" then | |
925 | Msh.MeshType = MeshType | |
926 | Msh.MeshId = MeshId | |
927 | end | |
928 | return Msh | |
929 | end | |
930 | }, | |
931 | Mesh = { | |
932 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
933 | local Msh = Create(Mesh)({ | |
934 | Parent = Part, | |
935 | Offset = OffSet, | |
936 | Scale = Scale | |
937 | }) | |
938 | if Mesh == "SpecialMesh" then | |
939 | Msh.MeshType = MeshType | |
940 | Msh.MeshId = MeshId | |
941 | end | |
942 | return Msh | |
943 | end | |
944 | }, | |
945 | Weld = { | |
946 | Create = function(Parent, Part0, Part1, C0, C1) | |
947 | local Weld = Create("Weld")({ | |
948 | Parent = Parent, | |
949 | Part0 = Part0, | |
950 | Part1 = Part1, | |
951 | C0 = C0, | |
952 | C1 = C1 | |
953 | }) | |
954 | return Weld | |
955 | end | |
956 | }, | |
957 | Sound = { | |
958 | Create = function(id, par, vol, pit) | |
959 | coroutine.resume(coroutine.create(function() | |
960 | local S = Create("Sound")({ | |
961 | Volume = vol, | |
962 | Pitch = pit or 1, | |
963 | SoundId = id, | |
964 | Parent = par or workspace | |
965 | }) | |
966 | wait() | |
967 | S:play() | |
968 | game:GetService("Debris"):AddItem(S, 6) | |
969 | end)) | |
970 | end | |
971 | }, | |
972 | ParticleEmitter = { | |
973 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
974 | local fp = Create("ParticleEmitter")({ | |
975 | Parent = Parent, | |
976 | Color = ColorSequence.new(Color1, Color2), | |
977 | LightEmission = LightEmission, | |
978 | Size = Size, | |
979 | Texture = Texture, | |
980 | Transparency = Transparency, | |
981 | ZOffset = ZOffset, | |
982 | Acceleration = Accel, | |
983 | Drag = Drag, | |
984 | LockedToPart = LockedToPart, | |
985 | VelocityInheritance = VelocityInheritance, | |
986 | EmissionDirection = EmissionDirection, | |
987 | Enabled = Enabled, | |
988 | Lifetime = LifeTime, | |
989 | Rate = Rate, | |
990 | Rotation = Rotation, | |
991 | RotSpeed = RotSpeed, | |
992 | Speed = Speed, | |
993 | VelocitySpread = VelocitySpread | |
994 | }) | |
995 | return fp | |
996 | end | |
997 | } | |
998 | } | |
999 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1000 | if hit.Parent == nil then | |
1001 | return | |
1002 | end | |
1003 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1004 | for _, v in pairs(hit.Parent:children()) do | |
1005 | if v:IsA("Humanoid") then | |
1006 | h = v | |
1007 | end | |
1008 | end | |
1009 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1010 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1011 | return | |
1012 | end | |
1013 | local c = Create("ObjectValue")({ | |
1014 | Name = "creator", | |
1015 | Value = game:service("Players").LocalPlayer, | |
1016 | Parent = h | |
1017 | }) | |
1018 | game:GetService("Debris"):AddItem(c, 0.5) | |
1019 | if HitSound ~= nil and HitPitch ~= nil then | |
1020 | CreateSound(HitSound, hit, 1, HitPitch) | |
1021 | end | |
1022 | local Damage = math.random(minim, maxim) | |
1023 | local blocked = false | |
1024 | local block = hit.Parent:findFirstChild("Block") | |
1025 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1026 | blocked = true | |
1027 | block.Value = block.Value - 1 | |
1028 | print(block.Value) | |
1029 | end | |
1030 | if blocked == false then | |
1031 | h.Health = h.Health - Damage | |
1032 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1033 | else | |
1034 | h.Health = h.Health - Damage / 2 | |
1035 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1036 | end | |
1037 | if Type == "Knockdown" then | |
1038 | local hum = hit.Parent.Humanoid | |
1039 | hum.PlatformStand = true | |
1040 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1041 | swait(1) | |
1042 | HHumanoid.PlatformStand = false | |
1043 | end), hum) | |
1044 | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit | |
1045 | local bodvol = Create("BodyVelocity")({ | |
1046 | velocity = angle * knockback, | |
1047 | P = 5000, | |
1048 | maxForce = Vector3.new(8000, 8000, 8000), | |
1049 | Parent = hit | |
1050 | }) | |
1051 | local rl = Create("BodyAngularVelocity")({ | |
1052 | P = 3000, | |
1053 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1054 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1055 | Parent = hit | |
1056 | }) | |
1057 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1058 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1059 | elseif Type == "Normal" then | |
1060 | local vp = Create("BodyVelocity")({ | |
1061 | P = 500, | |
1062 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1063 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1064 | }) | |
1065 | if knockback > 0 then | |
1066 | vp.Parent = hit.Parent.Torso | |
1067 | end | |
1068 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1069 | elseif Type == "Impale" then | |
1070 | local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Pastel light blue", Vector3.new(1, 1, 1), "Neon", 0.7, Vector3.new(1, 25, 1)) | |
1071 | Spike.Anchored = true | |
1072 | Spike.Rotation = Vector3.new(math.random(-10, 10), 0, math.random(-10, 10)) | |
1073 | Spike.Position = hit.Parent.Torso.Position | |
1074 | for i = 1, 5 do | |
1075 | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) | |
1076 | end | |
1077 | Services.Debris:AddItem(Spike, 4) | |
1078 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2) | |
1079 | hit.Parent.Humanoid.PlatformStand = true | |
1080 | swait(1) | |
1081 | hit.Parent.Humanoid.PlatformStand = false | |
1082 | elseif Type == "Up" then | |
1083 | local bodyVelocity = Create("BodyVelocity")({ | |
1084 | velocity = Vector3.new(0, 20, 0), | |
1085 | P = 5000, | |
1086 | maxForce = Vector3.new(8000, 8000, 8000), | |
1087 | Parent = hit | |
1088 | }) | |
1089 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1090 | local bodyVelocity = Create("BodyVelocity")({ | |
1091 | velocity = Vector3.new(0, 20, 0), | |
1092 | P = 5000, | |
1093 | maxForce = Vector3.new(8000, 8000, 8000), | |
1094 | Parent = hit | |
1095 | }) | |
1096 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1097 | elseif Type == "Snare" then | |
1098 | local bp = Create("BodyPosition")({ | |
1099 | P = 900, | |
1100 | D = 1000, | |
1101 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1102 | position = hit.Parent.Torso.Position, | |
1103 | Parent = hit.Parent.Torso | |
1104 | }) | |
1105 | game:GetService("Debris"):AddItem(bp, 1) | |
1106 | elseif Type == "Slowness" then | |
1107 | local SpeedSave = hit.Parent.Humanoid.WalkSpeed | |
1108 | for i = 1, 25 do | |
1109 | hit.Parent.Humanoid.WalkSpeed = 4 | |
1110 | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) | |
1111 | end | |
1112 | wait(4) | |
1113 | hit.Parent.Humanoid.WalkSpeed = SpeedSave | |
1114 | elseif Type == "FireDmg" then | |
1115 | for i = 1, math.random(60, 150) do | |
1116 | BlockEffect(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05, 3) | |
1117 | BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05, 3) | |
1118 | BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 3) | |
1119 | wait(0.1) | |
1120 | MagniDamage(hit.Parent.Torso, 12304, 1, 8, 0, "Normal") | |
1121 | end | |
1122 | elseif Type == "Freeze" then | |
1123 | local bp = Create("BodyPosition")({ | |
1124 | P = 900, | |
1125 | D = 1000, | |
1126 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1127 | position = hit.Parent.Torso.Position, | |
1128 | Parent = hit.Parent.Torso | |
1129 | }) | |
1130 | game:GetService("Debris"):AddItem(bp, 4) | |
1131 | for i = 1, 25 do | |
1132 | IcePartFunk(hit.Parent.Torso, 1, 1.5, 2) | |
1133 | end | |
1134 | elseif Type == "Freeze2" then | |
1135 | local BodPos = Create("BodyPosition")({ | |
1136 | P = 50000, | |
1137 | D = 1000, | |
1138 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1139 | position = hit.Parent.Torso.Position, | |
1140 | Parent = hit.Parent.Torso | |
1141 | }) | |
1142 | local BodGy = Create("BodyGyro")({ | |
1143 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1144 | P = 20000, | |
1145 | Parent = hit.Parent.Torso, | |
1146 | cframe = hit.Parent.Torso.CFrame | |
1147 | }) | |
1148 | hit.Parent.Torso.Anchored = true | |
1149 | coroutine.resume(coroutine.create(function(Part) | |
1150 | swait(1.5) | |
1151 | Part.Anchored = false | |
1152 | end), hit.Parent.Torso) | |
1153 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1154 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1155 | end | |
1156 | local debounce = Create("BoolValue")({ | |
1157 | Name = "DebounceHit", | |
1158 | Parent = hit.Parent, | |
1159 | Value = true | |
1160 | }) | |
1161 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1162 | c = Instance.new("ObjectValue") | |
1163 | c.Name = "creator" | |
1164 | c.Value = Player | |
1165 | c.Parent = h | |
1166 | game:GetService("Debris"):AddItem(c, 0.5) | |
1167 | end | |
1168 | end | |
1169 | function ShowDamage(Pos, Text, Time, Color) | |
1170 | local Rate = 0.033333333333333 | |
1171 | if not Pos then | |
1172 | local Pos = Vector3.new(0, 0, 0) | |
1173 | end | |
1174 | local Text = Text or "" | |
1175 | local Time = Time or 2 | |
1176 | if not Color then | |
1177 | local Color = Color3.new(1, 0, 1) | |
1178 | end | |
1179 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1180 | EffectPart.Anchored = true | |
1181 | local BillboardGui = Create("BillboardGui")({ | |
1182 | Size = UDim2.new(3, 0, 3, 0), | |
1183 | Adornee = EffectPart, | |
1184 | Parent = EffectPart | |
1185 | }) | |
1186 | local TextLabel = Create("TextLabel")({ | |
1187 | BackgroundTransparency = 1, | |
1188 | Size = UDim2.new(1, 0, 1, 0), | |
1189 | Text = Text, | |
1190 | TextColor3 = Color, | |
1191 | TextScaled = true, | |
1192 | Font = Enum.Font.ArialBold, | |
1193 | Parent = BillboardGui | |
1194 | }) | |
1195 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1196 | EffectPart.Parent = game:GetService("Workspace") | |
1197 | delay(0, function() | |
1198 | local Frames = Time / Rate | |
1199 | for Frame = 1, Frames do | |
1200 | wait(Rate) | |
1201 | local Percent = Frame / Frames | |
1202 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1203 | TextLabel.TextTransparency = Percent | |
1204 | end | |
1205 | if EffectPart and EffectPart.Parent then | |
1206 | EffectPart:Destroy() | |
1207 | end | |
1208 | end) | |
1209 | end | |
1210 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1211 | for _, c in pairs(workspace:children()) do | |
1212 | local hum = c:findFirstChild("Humanoid") | |
1213 | if hum ~= nil then | |
1214 | local head = c:findFirstChild("Head") | |
1215 | if head ~= nil then | |
1216 | local targ = head.Position - Part.Position | |
1217 | local mag = targ.magnitude | |
1218 | if magni >= mag and c.Name ~= Player.Name then | |
1219 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=1050733875", 1) | |
1220 | end | |
1221 | end | |
1222 | end | |
1223 | end | |
1224 | end | |
1225 | function MagniKILL(Part, magni, knock, Type) | |
1226 | for _, c in pairs(workspace:children()) do | |
1227 | local hum = c:findFirstChild("Humanoid") | |
1228 | if hum ~= nil then | |
1229 | local head = c:findFirstChild("Head") | |
1230 | if head ~= nil then | |
1231 | local targ = head.Position - Part.Position | |
1232 | local mag = targ.magnitude | |
1233 | if magni >= mag and c.Name ~= Player.Name then | |
1234 | hum.Health = 0 | |
1235 | end | |
1236 | end | |
1237 | end | |
1238 | end | |
1239 | end | |
1240 | EffectModel = Instance.new("Model", Character) | |
1241 | EffectModel.Name = "Effects" | |
1242 | Effects = { | |
1243 | Block = { | |
1244 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1245 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1246 | prt.Anchored = true | |
1247 | prt.CFrame = cframe | |
1248 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1249 | game:GetService("Debris"):AddItem(prt, 10) | |
1250 | if Type == 1 or Type == nil then | |
1251 | table.insert(Effects, { | |
1252 | prt, | |
1253 | "Block1", | |
1254 | delay, | |
1255 | x3, | |
1256 | y3, | |
1257 | z3, | |
1258 | msh | |
1259 | }) | |
1260 | elseif Type == 2 then | |
1261 | table.insert(Effects, { | |
1262 | prt, | |
1263 | "Block2", | |
1264 | delay, | |
1265 | x3, | |
1266 | y3, | |
1267 | z3, | |
1268 | msh | |
1269 | }) | |
1270 | else | |
1271 | table.insert(Effects, { | |
1272 | prt, | |
1273 | "Block3", | |
1274 | delay, | |
1275 | x3, | |
1276 | y3, | |
1277 | z3, | |
1278 | msh | |
1279 | }) | |
1280 | end | |
1281 | end | |
1282 | }, | |
1283 | Sphere = { | |
1284 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1285 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1286 | prt.Anchored = true | |
1287 | prt.CFrame = cframe | |
1288 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1289 | game:GetService("Debris"):AddItem(prt, 10) | |
1290 | table.insert(Effects, { | |
1291 | prt, | |
1292 | "Cylinder", | |
1293 | delay, | |
1294 | x3, | |
1295 | y3, | |
1296 | z3, | |
1297 | msh | |
1298 | }) | |
1299 | end | |
1300 | }, | |
1301 | Cylinder = { | |
1302 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1303 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1304 | prt.Anchored = true | |
1305 | prt.CFrame = cframe | |
1306 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1307 | game:GetService("Debris"):AddItem(prt, 10) | |
1308 | table.insert(Effects, { | |
1309 | prt, | |
1310 | "Cylinder", | |
1311 | delay, | |
1312 | x3, | |
1313 | y3, | |
1314 | z3, | |
1315 | msh | |
1316 | }) | |
1317 | end | |
1318 | }, | |
1319 | Wave = { | |
1320 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1321 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1322 | prt.Anchored = true | |
1323 | prt.CFrame = cframe | |
1324 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1325 | game:GetService("Debris"):AddItem(prt, 10) | |
1326 | table.insert(Effects, { | |
1327 | prt, | |
1328 | "Cylinder", | |
1329 | delay, | |
1330 | x3, | |
1331 | y3, | |
1332 | z3, | |
1333 | msh | |
1334 | }) | |
1335 | end | |
1336 | }, | |
1337 | Ring = { | |
1338 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1339 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1340 | prt.Anchored = true | |
1341 | prt.CFrame = cframe | |
1342 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1343 | game:GetService("Debris"):AddItem(prt, 10) | |
1344 | table.insert(Effects, { | |
1345 | prt, | |
1346 | "Cylinder", | |
1347 | delay, | |
1348 | x3, | |
1349 | y3, | |
1350 | z3, | |
1351 | msh | |
1352 | }) | |
1353 | end | |
1354 | }, | |
1355 | Break = { | |
1356 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1357 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1358 | prt.Anchored = true | |
1359 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1360 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1361 | local num = math.random(10, 50) / 1000 | |
1362 | game:GetService("Debris"):AddItem(prt, 10) | |
1363 | table.insert(Effects, { | |
1364 | prt, | |
1365 | "Shatter", | |
1366 | num, | |
1367 | prt.CFrame, | |
1368 | math.random() - math.random(), | |
1369 | 0, | |
1370 | math.random(50, 100) / 100 | |
1371 | }) | |
1372 | end | |
1373 | } | |
1374 | } | |
1375 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1376 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1377 | prt.Anchored = true | |
1378 | prt.CFrame = cframe | |
1379 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1380 | game:GetService("Debris"):AddItem(prt, 10) | |
1381 | if Type == 1 or Type == nil then | |
1382 | table.insert(Effects, { | |
1383 | prt, | |
1384 | "Block1", | |
1385 | delay, | |
1386 | x3, | |
1387 | y3, | |
1388 | z3, | |
1389 | msh | |
1390 | }) | |
1391 | elseif Type == 2 then | |
1392 | table.insert(Effects, { | |
1393 | prt, | |
1394 | "Block2", | |
1395 | delay, | |
1396 | x3, | |
1397 | y3, | |
1398 | z3, | |
1399 | msh | |
1400 | }) | |
1401 | elseif Type == 3 then | |
1402 | table.insert(Effects, { | |
1403 | prt, | |
1404 | "Block3", | |
1405 | delay, | |
1406 | x3, | |
1407 | y3, | |
1408 | z3, | |
1409 | msh | |
1410 | }) | |
1411 | end | |
1412 | end | |
1413 | function CreateSound(id, par, vol, pit) | |
1414 | coroutine.resume(coroutine.create(function() | |
1415 | local sou = Instance.new("Sound", par or workspace) | |
1416 | sou.Volume = vol | |
1417 | sou.Pitch = pit or 1 | |
1418 | sou.SoundId = id | |
1419 | swait() | |
1420 | sou:play() | |
1421 | game:GetService("Debris"):AddItem(sou, 6) | |
1422 | end)) | |
1423 | end | |
1424 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1425 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1426 | prt.Anchored = true | |
1427 | prt.CFrame = cframe | |
1428 | prt.Material = "Neon" | |
1429 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1430 | game:GetService("Debris"):AddItem(prt, 10) | |
1431 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1432 | for i = 0, 6, delay do | |
1433 | swait() | |
1434 | Part.Transparency = i | |
1435 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1436 | end | |
1437 | Part.Parent = nil | |
1438 | end), prt, msh) | |
1439 | end | |
1440 | function shoottraildd(mouse, partt, SpreadAmount, dmg) ---effects | |
1441 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1442 | local MainPos = partt.Position | |
1443 | local MainPos2 = mouse + SpreadVectors | |
1444 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1445 | local speed = 1000 | |
1446 | local num = 1 | |
1447 | coroutine.resume(coroutine.create(function() | |
1448 | repeat | |
1449 | swait() | |
1450 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1451 | local mag =(MainPos - pos).magnitude | |
1452 | Laser(BrickColor.new("Lapis"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -2.175, 0, -2.175, 0.15) | |
1453 | MainPos = MainPos + MouseLook.lookVector * speed | |
1454 | num = num - 1 | |
1455 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1456 | if hit ~= nil then | |
1457 | num = 0 | |
1458 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1459 | refpart.Anchored = true | |
1460 | refpart.CFrame = CFrame.new(pos) | |
1461 | game:GetService("Debris"):AddItem(refpart, 2) | |
1462 | end | |
1463 | if num <= 0 then | |
1464 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1465 | refpart.Anchored = true | |
1466 | refpart.CFrame = CFrame.new(pos) | |
1467 | if hit ~= nil then | |
1468 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1469 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) | |
1470 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1471 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1472 | MagniDamage(refpart, 40, dmg, dmg, 0, "FireDmg") | |
1473 | end | |
1474 | game:GetService("Debris"):AddItem(refpart, 0) | |
1475 | end | |
1476 | until num <= 0 | |
1477 | end)) | |
1478 | end | |
1479 | function shoottraildd2(mouse, partt, SpreadAmount) | |
1480 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1481 | local MainPos = partt.Position | |
1482 | local MainPos2 = mouse + SpreadVectors | |
1483 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1484 | local speed = 3000 | |
1485 | local num = 1 | |
1486 | coroutine.resume(coroutine.create(function() | |
1487 | repeat | |
1488 | swait() | |
1489 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1490 | local mag = (MainPos - pos).magnitude | |
1491 | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -17.175, 0, -17.175, 0.15) | |
1492 | MainPos = MainPos + MouseLook.lookVector * speed | |
1493 | num = num - 1 | |
1494 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1495 | if hit ~= nil then | |
1496 | num = 0 | |
1497 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1498 | refpart.Anchored = true | |
1499 | refpart.CFrame = CFrame.new(pos) | |
1500 | game:GetService("Debris"):AddItem(refpart, 2) | |
1501 | end | |
1502 | if num <= 0 then | |
1503 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1504 | refpart.Anchored = true | |
1505 | refpart.CFrame = CFrame.new(pos) | |
1506 | if hit ~= nil then | |
1507 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1508 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05) | |
1509 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
1510 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
1511 | MagniKILL(refpart, 80, 0, "Normal") | |
1512 | end | |
1513 | game:GetService("Debris"):AddItem(refpart, 0) | |
1514 | end | |
1515 | until num <= 0 | |
1516 | end)) | |
1517 | end | |
1518 | function shoottraildd22(mouse, partt, SpreadAmount) | |
1519 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1520 | local MainPos = partt.Position | |
1521 | local MainPos2 = mouse + SpreadVectors | |
1522 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1523 | local speed = 900 | |
1524 | local num = 1 | |
1525 | coroutine.resume(coroutine.create(function() | |
1526 | repeat | |
1527 | swait() | |
1528 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1529 | local mag = (MainPos - pos).magnitude | |
1530 | Laser(BrickColor.new("Magenta"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -6.175, 0, -6.175, 0.15) | |
1531 | MainPos = MainPos + MouseLook.lookVector * speed | |
1532 | num = num - 1 | |
1533 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1534 | if hit ~= nil then | |
1535 | num = 0 | |
1536 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1537 | refpart.Anchored = true | |
1538 | refpart.CFrame = CFrame.new(pos) | |
1539 | game:GetService("Debris"):AddItem(refpart, 2) | |
1540 | end | |
1541 | if num <= 0 then | |
1542 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1543 | refpart.Anchored = true | |
1544 | refpart.CFrame = CFrame.new(pos) | |
1545 | if hit ~= nil then | |
1546 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1547 | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05) | |
1548 | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
1549 | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
1550 | MagniKILL(refpart, 80, 0, "Normal") | |
1551 | end | |
1552 | game:GetService("Debris"):AddItem(refpart, 0) | |
1553 | end | |
1554 | until num <= 0 | |
1555 | end)) | |
1556 | end | |
1557 | function shoottraildd3(mouse, partt, SpreadAmount, dmg) | |
1558 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1559 | local MainPos = partt.Position | |
1560 | local MainPos2 = mouse + SpreadVectors | |
1561 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1562 | local speed = 200 | |
1563 | local num = 0 | |
1564 | coroutine.resume(coroutine.create(function() | |
1565 | repeat | |
1566 | swait() | |
1567 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1568 | local mag = (MainPos - pos).magnitude | |
1569 | Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05) | |
1570 | MainPos = MainPos + MouseLook.lookVector * speed | |
1571 | num = num - 1 | |
1572 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1573 | if hit ~= nil then | |
1574 | num = 0 | |
1575 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1576 | refpart.Anchored = true | |
1577 | refpart.CFrame = CFrame.new(pos) | |
1578 | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1579 | game:GetService("Debris"):AddItem(refpart, 2) | |
1580 | end | |
1581 | if num <= 0 then | |
1582 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1583 | refpart.Anchored = true | |
1584 | refpart.CFrame = CFrame.new(pos) | |
1585 | if hit ~= nil then | |
1586 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1587 | BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) | |
1588 | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1589 | MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness") | |
1590 | end | |
1591 | game:GetService("Debris"):AddItem(refpart, 0) | |
1592 | end | |
1593 | until num <= 0 | |
1594 | end)) | |
1595 | end | |
1596 | function shoottraildd4(mouse, partt, SpreadAmount, dmg) | |
1597 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1598 | local MainPos = partt.Position | |
1599 | local MainPos2 = mouse + SpreadVectors | |
1600 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1601 | local speed = 500 | |
1602 | local num = 1 | |
1603 | coroutine.resume(coroutine.create(function() | |
1604 | repeat | |
1605 | swait() | |
1606 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1607 | local mag = (MainPos - pos).magnitude | |
1608 | Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15) | |
1609 | MainPos = MainPos + MouseLook.lookVector * speed | |
1610 | num = num - 1 | |
1611 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
1612 | if hit ~= nil then | |
1613 | num = 0 | |
1614 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1615 | refpart.Anchored = true | |
1616 | refpart.CFrame = CFrame.new(pos) | |
1617 | game:GetService("Debris"):AddItem(refpart, 2) | |
1618 | end | |
1619 | if num <= 0 then | |
1620 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
1621 | refpart.Anchored = true | |
1622 | refpart.CFrame = CFrame.new(pos) | |
1623 | if hit ~= nil then | |
1624 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
1625 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) | |
1626 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1627 | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
1628 | MagniDamage(refpart, 4, dmg, 40, 0, "Normal") | |
1629 | end | |
1630 | game:GetService("Debris"):AddItem(refpart, 0) | |
1631 | end | |
1632 | until num <= 0 | |
1633 | end)) | |
1634 | end | |
1635 | ||
1636 | ||
1637 | --- | |
1638 | ||
1639 | attackdebounce = false | |
1640 | deb=false | |
1641 | ||
1642 | ugothit=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
1643 | if hit.Parent==nil then | |
1644 | return | |
1645 | end | |
1646 | h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
1647 | for _,v in pairs(hit.Parent:children()) do | |
1648 | if v:IsA("Humanoid") then | |
1649 | h=v | |
1650 | end | |
1651 | end | |
1652 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
1653 | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
1654 | end | |
1655 | if hit.Parent.className=="Hat" then | |
1656 | hit=hit.Parent.Parent:findFirstChild("Head") | |
1657 | end | |
1658 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1659 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
1660 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1661 | return | |
1662 | end]] | |
1663 | -- hs(hit,1.2) | |
1664 | c=Instance.new("ObjectValue") | |
1665 | c.Name="creator" | |
1666 | c.Value=game:service("Players").LocalPlayer | |
1667 | c.Parent=h | |
1668 | game:GetService("Debris"):AddItem(c,.5) | |
1669 | Damage=math.random(minim,maxim) | |
1670 | -- h:TakeDamage(Damage) | |
1671 | blocked=false | |
1672 | block=hit.Parent:findFirstChild("Block") | |
1673 | if block~=nil then | |
1674 | print(block.className) | |
1675 | if block.className=="NumberValue" then | |
1676 | if block.Value>0 then | |
1677 | blocked=true | |
1678 | if decreaseblock==nil then | |
1679 | block.Value=block.Value-1 | |
1680 | end | |
1681 | end | |
1682 | end | |
1683 | if block.className=="IntValue" then | |
1684 | if block.Value>0 then | |
1685 | blocked=true | |
1686 | if decreaseblock~=nil then | |
1687 | block.Value=block.Value-1 | |
1688 | end | |
1689 | end | |
1690 | end | |
1691 | end | |
1692 | if blocked==false then | |
1693 | -- h:TakeDamage(Damage) | |
1694 | h.Health=h.Health-Damage | |
1695 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) | |
1696 | else | |
1697 | h.Health=h.Health-(Damage/2) | |
1698 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
1699 | end | |
1700 | if Type=="Knockdown" then | |
1701 | Humanoid=hit.Parent.Humanoid | |
1702 | Humanoid.PlatformStand=true | |
1703 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1704 | swait(1) | |
1705 | HHumanoid.PlatformStand=false | |
1706 | end),Humanoid) | |
1707 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1708 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1709 | local bodvol=Instance.new("BodyVelocity") | |
1710 | bodvol.velocity=angle*knockback | |
1711 | bodvol.P=5000 | |
1712 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1713 | bodvol.Parent=hit | |
1714 | rl=Instance.new("BodyAngularVelocity") | |
1715 | rl.P=3000 | |
1716 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1717 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1718 | rl.Parent=hit | |
1719 | game:GetService("Debris"):AddItem(bodvol,.5) | |
1720 | game:GetService("Debris"):AddItem(rl,.5) | |
1721 | elseif Type=="Normal" then | |
1722 | bp=Instance.new("BodyVelocity") | |
1723 | bp.P=100000 | |
1724 | bp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1725 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1726 | if KnockbackType==1 then | |
1727 | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
1728 | elseif KnockbackType==2 then | |
1729 | bp.velocity=Property.CFrame.lookVector*knockback | |
1730 | end | |
1731 | if knockback>0 then | |
1732 | bp.Parent=hit.Parent.Torso | |
1733 | ||
1734 | end | |
1735 | game:GetService("Debris"):AddItem(bp,.5) | |
1736 | elseif Type=="Up" then | |
1737 | local bodyVelocity=Instance.new("BodyVelocity") | |
1738 | bodyVelocity.velocity=vt(0,60,0) | |
1739 | bodyVelocity.P=5000 | |
1740 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1741 | bodyVelocity.Parent=hit | |
1742 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1743 | rl=Instance.new("BodyAngularVelocity") | |
1744 | rl.P=3000 | |
1745 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1746 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
1747 | rl.Parent=hit | |
1748 | game:GetService("Debris"):AddItem(rl,.5) | |
1749 | elseif Type=="Snare" then | |
1750 | bp=Instance.new("BodyPosition") | |
1751 | bp.P=2000 | |
1752 | bp.D=100 | |
1753 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1754 | bp.position=hit.Parent.Torso.Position | |
1755 | bp.Parent=hit.Parent.Torso | |
1756 | game:GetService("Debris"):AddItem(bp,1) | |
1757 | elseif Type=="Target" then | |
1758 | if Targetting==false then | |
1759 | ZTarget=hit.Parent.Torso | |
1760 | coroutine.resume(coroutine.create(function(Part) | |
1761 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1762 | swait(1) | |
1763 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1764 | end),ZTarget) | |
1765 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1766 | targetgui=Instance.new("BillboardGui") | |
1767 | targetgui.Parent=ZTarget | |
1768 | targetgui.Size=UDim2.new(10,100,10,100) | |
1769 | targ=Instance.new("ImageLabel") | |
1770 | targ.Parent=targetgui | |
1771 | targ.BackgroundTransparency=1 | |
1772 | targ.Image="rbxassetid://4834067" | |
1773 | targ.Size=UDim2.new(1,0,1,0) | |
1774 | cam.CameraType="Scriptable" | |
1775 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1776 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1777 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1778 | Targetting=true | |
1779 | RocketTarget=ZTarget | |
1780 | for i=1,Property do | |
1781 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1782 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1783 | swait() | |
1784 | end | |
1785 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1786 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1787 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1788 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
1789 | end | |
1790 | Targetting=true | |
1791 | RocketTarget=true | |
1792 | targetgui.Parent=true | |
1793 | cam.CameraType="Custom" | |
1794 | end | |
1795 | end | |
1796 | debounce=Instance.new("BoolValue") | |
1797 | debounce.Name="DebounceHit" | |
1798 | debounce.Parent=hit.Parent | |
1799 | debounce.Value=true | |
1800 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1801 | c=Instance.new("ObjectValue") | |
1802 | c.Name="creator" | |
1803 | c.Value=Player | |
1804 | c.Parent=h | |
1805 | game:GetService("Debris"):AddItem(c,.5) | |
1806 | CRIT=true | |
1807 | hitDeb=true | |
1808 | AttackPos=6 | |
1809 | end | |
1810 | end | |
1811 | ||
1812 | showDamage=function(Char,Dealt,du,Color) | |
1813 | m=Instance.new("Model") | |
1814 | m.Name=tostring(Dealt) | |
1815 | h=Instance.new("Humanoid") | |
1816 | h.Health=0 | |
1817 | h.MaxHealth=0 | |
1818 | h.Parent=m | |
1819 | c=Instance.new("Part") | |
1820 | c.Transparency=0 | |
1821 | c.BrickColor=Color | |
1822 | c.Transparency = 1 | |
1823 | c.Name="Head" | |
1824 | c.TopSurface=0 | |
1825 | c.BottomSurface=0 | |
1826 | c.formFactor="Plate" | |
1827 | c.Size=Vector3.new(1,.4,1) | |
1828 | ||
1829 | local txt = Instance.new("BillboardGui", c) | |
1830 | txt.Adornee = c | |
1831 | txt.Name = "_status" | |
1832 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1833 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1834 | local text = Instance.new("TextLabel", txt) | |
1835 | text.Size = UDim2.new(10, 0, 7, 0) | |
1836 | text.FontSize = "Size12" | |
1837 | text.TextScaled = true | |
1838 | text.TextTransparency = 0.5 | |
1839 | text.BackgroundTransparency = 1 | |
1840 | text.TextTransparency = 0.5 | |
1841 | text.TextStrokeTransparency = 0.5 | |
1842 | text.Font = "SciFi" | |
1843 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
1844 | v=Instance.new("Part") | |
1845 | v.Name = "ColorBrick" | |
1846 | v.Parent=c | |
1847 | v.FormFactor="Symmetric" | |
1848 | v.Anchored=true | |
1849 | v.CanCollide=false | |
1850 | v.BottomSurface="Smooth" | |
1851 | v.TopSurface="Smooth" | |
1852 | v.Size=Vector3.new(10,5,3) | |
1853 | v.Transparency=1 | |
1854 | v.CFrame=c.CFrame | |
1855 | v.BrickColor=BrickColor.random() | |
1856 | v.Transparency=1 | |
1857 | text.TextColor3 = t.BrickColor.Color | |
1858 | v.Shape="Block" | |
1859 | text.Text = tostring(Dealt) | |
1860 | ms=Instance.new("CylinderMesh") | |
1861 | ms.Scale=Vector3.new(.8,.8,.8) | |
1862 | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
1863 | local rndm=math.random(1,#hitsounds) | |
1864 | local r=rndm | |
1865 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]-- | |
1866 | if CRIT==true then | |
1867 | ms.Scale=Vector3.new(1,1.25,1) | |
1868 | end | |
1869 | ms.Parent=c | |
1870 | c.Reflectance=0 | |
1871 | Instance.new("BodyGyro").Parent=c | |
1872 | c.Parent=m | |
1873 | if Char:findFirstChild("Head")~=nil then | |
1874 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1875 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1876 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1877 | end | |
1878 | f=Instance.new("BodyPosition") | |
1879 | f.P=200000 | |
1880 | f.D=100 | |
1881 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1882 | f.position=c.Position+Vector3.new(0,3,0) | |
1883 | f.Parent=c | |
1884 | game:GetService("Debris"):AddItem(m,.5+du) | |
1885 | c.CanCollide=false | |
1886 | m.Parent=workspace | |
1887 | c.CanCollide=false | |
1888 | end | |
1889 | ||
1890 | ||
1891 | ------ | |
1892 | hito = function(dm, X, c, dn, dp, dq) | |
1893 | for I,dr in pairs(workspace:GetChildren()) do | |
1894 | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
1895 | local ds = dr:FindFirstChild("Humanoid") | |
1896 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
1897 | TakeDamage(ds, c) | |
1898 | if InForm == true then | |
1899 | ds.Parent:BreakJoints() | |
1900 | wait(1.2) | |
1901 | ds.Parent:Destroy() | |
1902 | end | |
1903 | ds:SetStateEnabled(16, true) | |
1904 | delay(dn, function() | |
1905 | ds:SetStateEnabled(16, true) | |
1906 | end) | |
1907 | local du = Instance.new("StringValue") | |
1908 | du.Name = "alabo" | |
1909 | du.Parent = dt | |
1910 | game.Debris:AddItem(du, dn) | |
1911 | local dv = Instance.new("Part") | |
1912 | ||
1913 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
1914 | dv.Transparency = 0.25 | |
1915 | dv.Anchored = true | |
1916 | dv.CanCollide = false | |
1917 | dv.BrickColor = BrickColor.new("White") | |
1918 | dv.Material = "Neon" | |
1919 | dv.Locked = true | |
1920 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
1921 | dv.Parent = modz | |
1922 | local dw = Instance.new("SpecialMesh") | |
1923 | dw.MeshType = "Sphere" | |
1924 | dw.Scale = Vector3.new(0.5, 0.5, 0.5) | |
1925 | dw.Parent = dv | |
1926 | game.Debris:AddItem(dv, 1) | |
1927 | local dx = Instance.new("Model") | |
1928 | dx.Name = c | |
1929 | dx.Parent = workspace | |
1930 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
1931 | local dy = Instance.new("Humanoid") | |
1932 | dy.MaxHealth = 0 | |
1933 | dy.Parent = dx | |
1934 | local dz = Instance.new("Part") | |
1935 | dz.Name = "Head" | |
1936 | dz.Locked = true | |
1937 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
1938 | dz.Position = dt.Position | |
1939 | dz.BrickColor = BrickColor.new("New Yeller") | |
1940 | dz.Material = "Neon" | |
1941 | dz.Transparency = 1 | |
1942 | dz.CanCollide = false | |
1943 | dz.Parent = dx | |
1944 | local dA = Instance.new("BodyPosition") | |
1945 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1946 | dA.P = 20000 | |
1947 | dA.D = 300 | |
1948 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
1949 | dA.Parent = dz | |
1950 | local dB = Instance.new("CylinderMesh") | |
1951 | dB.Parent = dz | |
1952 | coroutine.resume(coroutine.create(function() | |
1953 | while dB do | |
1954 | swait() | |
1955 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
1956 | end | |
1957 | end)) | |
1958 | if dp then | |
1959 | local dC = Instance.new("BodyVelocity") | |
1960 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
1961 | dC.P = 9999999999 | |
1962 | dC.Velocity = dp | |
1963 | dC.Parent = dt | |
1964 | game.Debris:AddItem(dC, dn) | |
1965 | end | |
1966 | if dq then | |
1967 | local dD = Instance.new("BodyAngularVelocity") | |
1968 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
1969 | dD.P = math.huge | |
1970 | dD.AngularVelocity = dq | |
1971 | dD.Parent = dt | |
1972 | game.Debris:AddItem(dD, dn) | |
1973 | end | |
1974 | local dE = Instance.new("Sound") | |
1975 | dE.Pitch = rd2(10, 11) / 10 | |
1976 | dE.Volume = rd2(10, 13) / 10 | |
1977 | dE.EmitterSize = 10 | |
1978 | dE.SoundId = "rbxassetid://" | |
1979 | dE.Parent = dv | |
1980 | dE:Play() | |
1981 | coroutine.resume(coroutine.create(function() | |
1982 | for I = 1, 5 do | |
1983 | swait() | |
1984 | dv.Transparency = dv.Transparency + 0.175 | |
1985 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
1986 | end | |
1987 | end)) | |
1988 | end | |
1989 | end | |
1990 | end | |
1991 | ------ | |
1992 | ||
1993 | vt = Vector3.new | |
1994 | local new = Instance.new | |
1995 | local cf = CFrame.new | |
1996 | local cfa = CFrame.Angles | |
1997 | local bc = BrickColor.new | |
1998 | ||
1999 | function bigbangattack() | |
2000 | attack = true | |
2001 | Humanoid.WalkSpeed = 0 | |
2002 | for i = 0, 8, 0.1 do | |
2003 | swait() | |
2004 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
2005 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
2006 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
2007 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
2008 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
2009 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
2010 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
2011 | end | |
2012 | local rng = Instance.new("Part", mouse) | |
2013 | rng.Anchored = true | |
2014 | rng.BrickColor = BrickColor.new("Cyan") | |
2015 | rng.CanCollide = false | |
2016 | rng.FormFactor = 3 | |
2017 | rng.Name = "Ring" | |
2018 | rng.Size = Vector3.new(0.4,0.4,0.4) | |
2019 | rng.Transparency = 0 | |
2020 | rng.TopSurface = 0 | |
2021 | rng.BottomSurface = 0 | |
2022 | rng.CFrame = RootPart.CFrame | |
2023 | local rngm = Instance.new("SpecialMesh", rng) | |
2024 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2025 | ||
2026 | local rng3 = rng:Clone() | |
2027 | rng3.Parent = char | |
2028 | local rng3m = rng3.Mesh | |
2029 | ||
2030 | local rng5 = rng:Clone() | |
2031 | rng5.Parent = char | |
2032 | rng5.BrickColor = BrickColor.new("Cyan") | |
2033 | local rng5m = rng5.Mesh | |
2034 | local rng6 = rng:Clone() | |
2035 | rng6.Material = "Plastic" | |
2036 | rng6.BrickColor = BrickColor.new("Cyan") | |
2037 | rng6.Parent = char | |
2038 | local rng6m = rng6.Mesh | |
2039 | rng6m.Scale = vt(7.5,7.5,7.5) | |
2040 | rng6m.MeshType = "FileMesh" | |
2041 | rng6m.MeshId = "rbxassetid://430736398" | |
2042 | local Must2 = Instance.new("Sound",rng6) | |
2043 | Must2.SoundId = "rbxassetid://135581154" | |
2044 | Must2.Pitch = 0.99 | |
2045 | Must2.Volume = 3 | |
2046 | Must2.Looped = false | |
2047 | wait(0) | |
2048 | Must2:Play() | |
2049 | local hita = rng6.Touched:connect(function(hit) | |
2050 | ugothit(hit,40,50,math.random(49,56),"Normal",RootJoint,.2,1) | |
2051 | end) | |
2052 | ||
2053 | rng3.CFrame = RootPart.CFrame | |
2054 | ||
2055 | rng5.CFrame = RootPart.CFrame | |
2056 | rng6.CFrame = RootPart.CFrame | |
2057 | local pie222 = Instance.new("ParticleEmitter") | |
2058 | pie222.Parent = rng6 | |
2059 | pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2060 | pie222.LightEmission = 1 | |
2061 | pie222.Size = NumberSequence.new(6,1) | |
2062 | pie222.Texture = "http://www.roblox.com/asset/?id=224413104" | |
2063 | pie222.Transparency = NumberSequence.new(0.6,1) | |
2064 | pie222.EmissionDirection = "Top" | |
2065 | pie222.Enabled = true | |
2066 | pie222.Lifetime = NumberRange.new(1) | |
2067 | pie222.Rotation = NumberRange.new(-320, 320) | |
2068 | pie222.Rate = 404 | |
2069 | pie222.Speed = NumberRange.new(0) | |
2070 | pie222.LockedToPart = false | |
2071 | pie222.VelocitySpread = 2 | |
2072 | wait() | |
2073 | local scaler = 10/5 | |
2074 | local scaler2 = 10/5 | |
2075 | for i = 0,10,0.1 do | |
2076 | swait() | |
2077 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
2078 | ||
2079 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
2080 | ||
2081 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/10 | |
2082 | rng6.Size = rng6.Size + Vector3.new(scaler2/3.8, scaler2/3.8, scaler2/3.8) | |
2083 | rng6.CFrame = rng3.CFrame | |
2084 | rng.Transparency = rng.Transparency + 1 | |
2085 | ||
2086 | rng3.Transparency = rng3.Transparency + 0.01 | |
2087 | ||
2088 | rng5.Transparency = rng5.Transparency + 0.01 | |
2089 | rng6.Transparency = rng6.Transparency + 0.021 | |
2090 | scaler = scaler - 0.125/5 | |
2091 | scaler2 = scaler2 - 0.1/5 | |
2092 | ||
2093 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
2094 | ||
2095 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0.3) | |
2096 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/1, scaler2/1, 1) | |
2097 | end | |
2098 | hita:disconnect() | |
2099 | game:GetService("Debris"):AddItem(rng, 1) | |
2100 | ||
2101 | game:GetService("Debris"):AddItem(rng3, 1) | |
2102 | ||
2103 | game:GetService("Debris"):AddItem(rng5, 1) | |
2104 | attack = false | |
2105 | pie222:Destroy() | |
2106 | Humanoid.WalkSpeed = 16 | |
2107 | end | |
2108 | ||
2109 | ||
2110 | function bigbangattack2() | |
2111 | attack = true | |
2112 | Humanoid.WalkSpeed = 0 | |
2113 | for i = 0, 8, 0.1 do | |
2114 | swait() | |
2115 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
2116 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
2117 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
2118 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
2119 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
2120 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
2121 | end | |
2122 | local rng = Instance.new("Part", RightArm) | |
2123 | rng.Anchored = true | |
2124 | rng.BrickColor = BrickColor.new("Cyan") | |
2125 | rng.CanCollide = false | |
2126 | rng.FormFactor = 3 | |
2127 | rng.Name = "Ring" | |
2128 | rng.Size = Vector3.new(0.4,0.4,0.4) | |
2129 | rng.Transparency = 0 | |
2130 | rng.TopSurface = 0 | |
2131 | rng.BottomSurface = 0 | |
2132 | rng.CFrame = RootPart.CFrame | |
2133 | local rngm = Instance.new("SpecialMesh", rng) | |
2134 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2135 | ||
2136 | local rng3 = rng:Clone() | |
2137 | rng3.Parent = char | |
2138 | local rng3m = rng3.Mesh | |
2139 | ||
2140 | local rng5 = rng:Clone() | |
2141 | rng5.Parent = char | |
2142 | rng5.BrickColor = BrickColor.new("Cyan") | |
2143 | local rng5m = rng5.Mesh | |
2144 | local rng6 = rng:Clone() | |
2145 | rng6.Material = "Plastic" | |
2146 | rng6.BrickColor = BrickColor.new("Cyan") | |
2147 | rng6.Parent = char | |
2148 | local rng6m = rng6.Mesh | |
2149 | rng6m.Scale = vt(7.5,7.5,30.5) | |
2150 | rng6m.MeshType = "FileMesh" | |
2151 | rng6m.MeshId = "rbxassetid://430736398" | |
2152 | local Must2 = Instance.new("Sound",Torso) | |
2153 | Must2.SoundId = "rbxassetid://719747626" | |
2154 | Must2.Pitch = 0.99 | |
2155 | Must2.Volume = 3 | |
2156 | Must2.Looped = false | |
2157 | wait(0) | |
2158 | Must2:Play() | |
2159 | local hita = rng6.Touched:connect(function(hit) | |
2160 | ugothit(hit,40,50,math.random(49,56),"Normal",RootJoint,.2,1) | |
2161 | end) | |
2162 | ||
2163 | rng3.CFrame = Head.CFrame | |
2164 | ||
2165 | rng5.CFrame = Head.CFrame | |
2166 | rng6.CFrame = rng5.CFrame | |
2167 | local pie222 = Instance.new("ParticleEmitter") | |
2168 | pie222.Parent = rng6 | |
2169 | pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
2170 | pie222.LightEmission = 1 | |
2171 | pie222.Size = NumberSequence.new(15,1) | |
2172 | pie222.Texture = "http://www.roblox.com/asset/?id=224413104" | |
2173 | pie222.Transparency = NumberSequence.new(0.6,1) | |
2174 | pie222.EmissionDirection = "Top" | |
2175 | pie222.Enabled = true | |
2176 | pie222.Lifetime = NumberRange.new(1) | |
2177 | pie222.Rotation = NumberRange.new(-320, 320) | |
2178 | pie222.Rate = 404 | |
2179 | pie222.Speed = NumberRange.new(0) | |
2180 | pie222.LockedToPart = false | |
2181 | pie222.VelocitySpread = 2 | |
2182 | wait() | |
2183 | local scaler = 10/5 | |
2184 | local scaler2 = 10/5 | |
2185 | for i = 0,10,0.1 do | |
2186 | swait() | |
2187 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
2188 | ||
2189 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
2190 | ||
2191 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/10 | |
2192 | rng6.Size = rng6.Size + Vector3.new(scaler2/3.8, scaler2/3.8, scaler2/0.8) | |
2193 | rng6.CFrame = rng3.CFrame | |
2194 | rng.Transparency = rng.Transparency + 1 | |
2195 | ||
2196 | rng3.Transparency = rng3.Transparency + 0.01 | |
2197 | ||
2198 | rng5.Transparency = rng5.Transparency + 0.01 | |
2199 | rng6.Transparency = rng6.Transparency + 0.021 | |
2200 | scaler = scaler - 0.125/5 | |
2201 | scaler2 = scaler2 - 0.1/5 | |
2202 | ||
2203 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
2204 | ||
2205 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0.3) | |
2206 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/1, scaler2/1, 1) | |
2207 | end | |
2208 | hita:disconnect() | |
2209 | game:GetService("Debris"):AddItem(rng, 1) | |
2210 | ||
2211 | game:GetService("Debris"):AddItem(rng3, 1) | |
2212 | ||
2213 | game:GetService("Debris"):AddItem(rng5, 1) | |
2214 | attack = false | |
2215 | pie222:Destroy() | |
2216 | Humanoid.WalkSpeed = 16 | |
2217 | end | |
2218 | ||
2219 | ||
2220 | ||
2221 | mouse.KeyDown:connect(function(key) | |
2222 | if key == "k" then | |
2223 | bigbangattack() | |
2224 | end | |
2225 | end) | |
2226 | ||
2227 | mouse.KeyDown:connect(function(k) ---galickgun | |
2228 | if attack == false and k == "n" and MV4 > 80 and firemode == true then | |
2229 | MV4 = 0 | |
2230 | local Must = Instance.new("Sound",Torso) | |
2231 | Must.SoundId = "rbxassetid://719748223" | |
2232 | Must.Pitch = 0.99 | |
2233 | Must.Volume = 3.4 | |
2234 | Must.Looped = false | |
2235 | wait(0) | |
2236 | Must:Play() | |
2237 | Humanoid.WalkSpeed = 13 | |
2238 | local Aura = Instance.new('ParticleEmitter') | |
2239 | Aura.Name = "Aura" | |
2240 | Aura.Texture = "rbxassetid://347730682" | |
2241 | Aura.Parent = Torso | |
2242 | Aura.LightEmission = 1 | |
2243 | Aura.Transparency = NumberSequence.new(0.4,1) | |
2244 | Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color) | |
2245 | Aura.Size = NumberSequence.new(1,9) | |
2246 | Aura.Rotation = NumberRange.new(-360,360) | |
2247 | Aura.LockedToPart = true | |
2248 | Aura.Lifetime = NumberRange.new(1) | |
2249 | Aura.Rate = 100 | |
2250 | Aura.Speed = NumberRange.new(0) | |
2251 | Aura.EmissionDirection = "Top" | |
2252 | local Aura2 = Instance.new('ParticleEmitter') | |
2253 | Aura2.Name = "Aura" | |
2254 | Aura2.Texture = "rbxassetid://1046299182" | |
2255 | Aura2.Parent = Torso | |
2256 | Aura2.LightEmission = 1 | |
2257 | Aura2.Transparency = NumberSequence.new(0,1) | |
2258 | Aura2.Color = ColorSequence.new(BrickColor.new("Magenta").Color) | |
2259 | Aura2.Size = NumberSequence.new(14) | |
2260 | Aura2.Rotation = NumberRange.new(-360,360) | |
2261 | Aura2.LockedToPart = true | |
2262 | Aura2.Lifetime = NumberRange.new(0.2) | |
2263 | Aura2.Rate = 20 | |
2264 | Aura2.Speed = NumberRange.new(0) | |
2265 | Aura2.EmissionDirection = "Top" | |
2266 | attack = true | |
2267 | Firepart1 = Instance.new("Part", RightArm) | |
2268 | Firepart1.Size = Vector3.new(1, 1, 1) | |
2269 | GuW1 = Instance.new("Weld") | |
2270 | GuW1.Name = "GuW" | |
2271 | GuW1.Part0 = RightArm | |
2272 | GuW1.C0 = cn(0, -1, 0) | |
2273 | GuW1.C1 = cn(0, 0, 0) | |
2274 | GuW1.Part1 = Firepart1 | |
2275 | GuW1.Parent = RightArm | |
2276 | Firepart1.Transparency = 1 | |
2277 | Firepart2 = Instance.new("Part", LeftArm) | |
2278 | Firepart2.Size = Vector3.new(1, 1, 1) | |
2279 | GuW2 = Instance.new("Weld") | |
2280 | GuW2.Name = "GuW" | |
2281 | GuW2.Part0 = LeftArm | |
2282 | GuW2.C0 = cn(0, -1, 0) | |
2283 | GuW2.C1 = cn(0, 0, 0) | |
2284 | GuW2.Part1 = Firepart2 | |
2285 | GuW2.Parent = LeftArm | |
2286 | Firepart2.Transparency = 1 | |
2287 | GuW1:Destroy() | |
2288 | GuW1 = Instance.new("Weld") | |
2289 | GuW1.Name = "GuW" | |
2290 | GuW1.Part0 = Torso | |
2291 | GuW1.C0 = cn(0, 0, -6) | |
2292 | GuW1.C1 = cn(0, 0, 0) | |
2293 | GuW1.Part1 = Firepart1 | |
2294 | GuW1.Parent = Torso | |
2295 | GuW2:Destroy() | |
2296 | GuW2 = Instance.new("Weld") | |
2297 | GuW2.Name = "GuW" | |
2298 | GuW2.Part0 = Torso | |
2299 | GuW2.C0 = cn(0, 0, -6) | |
2300 | GuW2.C1 = cn(0, 0, 0) | |
2301 | GuW2.Part1 = Firepart2 | |
2302 | GuW2.Parent = Torso | |
2303 | GuW2:Destroy() | |
2304 | GuW2 = Instance.new("Weld") | |
2305 | GuW2.Name = "GuW" | |
2306 | GuW2.Part0 = Torso | |
2307 | GuW2.C0 = cn(0, 0, -4) | |
2308 | GuW2.C1 = cn(0, 0, 0) | |
2309 | GuW2.Part1 = Firepart2 | |
2310 | GuW2.Parent = Torso | |
2311 | for i = 0, 18, 0.1 do | |
2312 | swait() | |
2313 | if Torsovelocity.Y > 2 then | |
2314 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2315 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-59)), 0.1) | |
2316 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2317 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
2318 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2319 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2320 | elseif Torsovelocity.Y < 1 then | |
2321 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.1) | |
2322 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-59)), 0.05) | |
2323 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2324 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-120), math.rad(-90)), 0.1) | |
2325 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2326 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2327 | end | |
2328 | end | |
2329 | GuW1:Destroy() | |
2330 | GuW1 = Instance.new("Weld") | |
2331 | GuW1.Name = "GuW" | |
2332 | GuW1.Part0 = Torso | |
2333 | GuW1.C0 = cn(0, 0, -15) | |
2334 | GuW1.C1 = cn(0, 0, 0) | |
2335 | GuW1.Part1 = Firepart1 | |
2336 | GuW1.Parent = Torso | |
2337 | GuW2:Destroy() | |
2338 | GuW2 = Instance.new("Weld") | |
2339 | GuW2.Name = "GuW" | |
2340 | GuW2.Part0 = Torso | |
2341 | GuW2.C0 = cn(0, 0, -17.5) | |
2342 | GuW2.C1 = cn(0, 0, 0) | |
2343 | GuW2.Part1 = Firepart2 | |
2344 | GuW2.Parent = Torso | |
2345 | local Must = Instance.new("Sound",Torso) | |
2346 | Must.SoundId = "rbxassetid://719747626" | |
2347 | Must.Pitch = 0.99 | |
2348 | Must.Volume = 3.9 | |
2349 | Must.Looped = false | |
2350 | wait(0) | |
2351 | Must:Play() | |
2352 | for i = 0, 1.25, 0.01 do | |
2353 | swait() | |
2354 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
2355 | shoottraildd22(mouse.Hit.p, Torso, 0) | |
2356 | BlockEffect(BrickColor.new("Magenta"), Torso.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
2357 | BlockEffect(BrickColor.new("Magenta"), Torso.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
2358 | if Torsovelocity.Y > 2 then | |
2359 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2360 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2361 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
2362 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
2363 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2364 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2365 | end | |
2366 | end | |
2367 | Must:Stop() | |
2368 | Aura:Destroy() | |
2369 | Aura2:Destroy() | |
2370 | wait(0.5) | |
2371 | Humanoid.WalkSpeed = 16 | |
2372 | attack = false | |
2373 | MV4 = 300 | |
2374 | Firepart1:Destroy() | |
2375 | Firepart2:Destroy() | |
2376 | end | |
2377 | end) | |
2378 | ||
2379 | ||
2380 | d = {} | |
2381 | function iteffect() | |
2382 | ||
2383 | coroutine.resume(coroutine.create(function() | |
2384 | ||
2385 | for i = 1, 10 do | |
2386 | effect = Instance.new("Part", workspace) | |
2387 | effect.Anchored = true | |
2388 | effect.CanCollide = false | |
2389 | effect.Size = Vector3.new(0.2, 3, 0.2) | |
2390 | effect.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
2391 | effect.Transparency = 0 | |
2392 | effect.Material = "Plastic" | |
2393 | effect.BrickColor = BrickColor.new("Really black") | |
2394 | table.insert(d, effect) | |
2395 | game:GetService("Debris"):AddItem(effect, 0.3) | |
2396 | end | |
2397 | ||
2398 | coroutine.resume(coroutine.create(function() | |
2399 | for i = 1, 10 do | |
2400 | for i,e in pairs(d) do | |
2401 | e.CFrame = e.CFrame * CFrame.new(0, math.random(0, 10)/10, 0) | |
2402 | e.Transparency = e.Transparency + 0.030 | |
2403 | end | |
2404 | wait(0.01) | |
2405 | end | |
2406 | ||
2407 | end)) | |
2408 | end)) | |
2409 | ||
2410 | ||
2411 | end | |
2412 | ||
2413 | tp = true | |
2414 | ||
2415 | mouse.KeyDown:connect(function(k) | |
2416 | if k == "e" then | |
2417 | if tp == true then | |
2418 | tp = false | |
2419 | local Must = Instance.new("Sound",Torso) | |
2420 | Must.SoundId = "rbxassetid://1055279036" | |
2421 | Must.Pitch = 0.99 | |
2422 | Must.Volume = 1.2 | |
2423 | Must.Looped = false | |
2424 | wait(0) | |
2425 | Must:Play() | |
2426 | Zanzoken = Instance.new("Part",char) | |
2427 | Zanzoken.Anchored = true | |
2428 | Zanzoken.CanCollide = false | |
2429 | Zanzoken.Position = v3(999,999,999) | |
2430 | Zanzoken.CFrame = Torso.CFrame | |
2431 | game.Debris:AddItem(Zanzoken,0.5) | |
2432 | Zanzoken.Transparency = 1 | |
2433 | wait() | |
2434 | idk = Instance.new("BillboardGui",Zanzoken) | |
2435 | idk.Size = UDim2.new(10,0,15,0) | |
2436 | idk.AlwaysOnTop = false | |
2437 | idk1 = Instance.new("ImageLabel",idk) | |
2438 | idk1.BackgroundTransparency = 1 | |
2439 | idk.ExtentsOffset = v3(0,0,0) | |
2440 | idk1.ImageTransparency = 0 | |
2441 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
2442 | idk1.Size = UDim2.new(2,0,1,0) | |
2443 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
2444 | idk1.Image = "rbxassetid://319554883" | |
2445 | char.Head.face.Parent = game.Lighting | |
2446 | wait(0) | |
2447 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
2448 | game.Lighting.face.Parent = char.Head | |
2449 | wait(0) | |
2450 | Zanzoken = Instance.new("Part",char) | |
2451 | Zanzoken.Anchored = true | |
2452 | Zanzoken.CanCollide = false | |
2453 | Zanzoken.Position = v3(999,999,999) | |
2454 | Zanzoken.CFrame = Torso.CFrame | |
2455 | game.Debris:AddItem(Zanzoken,0.5) | |
2456 | Zanzoken.Transparency = 1 | |
2457 | wait() | |
2458 | idk = Instance.new("BillboardGui",Zanzoken) | |
2459 | idk.Size = UDim2.new(10,0,15,0) | |
2460 | idk.AlwaysOnTop = false | |
2461 | idk1 = Instance.new("ImageLabel",idk) | |
2462 | idk1.BackgroundTransparency = 1 | |
2463 | idk.ExtentsOffset = v3(0,0,0) | |
2464 | idk1.ImageTransparency = 0 | |
2465 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
2466 | idk1.Size = UDim2.new(2,0,1,0) | |
2467 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
2468 | idk1.Image = "rbxassetid://319554883" | |
2469 | ||
2470 | wait(0.4) | |
2471 | tp = true | |
2472 | ||
2473 | ||
2474 | end | |
2475 | end | |
2476 | end) | |
2477 | ||
2478 | ||
2479 | MV4 = 300 | |
2480 | mouse.KeyDown:connect(function(k) | |
2481 | if attack == false and k == "v" and MV4 > 80 and firemode == true then | |
2482 | MV4 = 0 | |
2483 | local Must = Instance.new("Sound",workspace) | |
2484 | Must.SoundId = "rbxassetid://194135434" | |
2485 | Must.Pitch = 0.99 | |
2486 | Must.Volume = 1.7 | |
2487 | Must.Looped = true | |
2488 | wait(0) | |
2489 | Must:Play() | |
2490 | local lb = Instance.new("Part") | |
2491 | lb.Parent = char | |
2492 | lb.Material = "Neon" | |
2493 | lb.Color = BrickColor.new("Gold").Color | |
2494 | lb.CanCollide = false | |
2495 | lb.Material = "Neon" | |
2496 | lb.Size = vt(1,1,1) | |
2497 | lb.CFrame = Torso.CFrame | |
2498 | lb.Rotation = vt(0,0,0) | |
2499 | lb.Anchored = true | |
2500 | lb.Transparency = 0 | |
2501 | local thing = Instance.new("SpecialMesh",lb) | |
2502 | thing.MeshType = "FileMesh" | |
2503 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2504 | thing.Scale = vt(0,15,0) | |
2505 | local chancerot = math.random(1,2) | |
2506 | for z = 0, 4 do | |
2507 | if chancerot == 1 then | |
2508 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
2509 | elseif chancerot == 2 then | |
2510 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
2511 | end | |
2512 | lb.Transparency = lb.Transparency + 0.1 | |
2513 | thing.Scale = thing.Scale + vt(15,0,15) | |
2514 | wait() | |
2515 | end | |
2516 | for z = 0, 4 do | |
2517 | if chancerot == 1 then | |
2518 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
2519 | elseif chancerot == 2 then | |
2520 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
2521 | end | |
2522 | lb.Transparency = lb.Transparency + 0.1 | |
2523 | thing.Scale = thing.Scale + vt(15,0,15) | |
2524 | wait() | |
2525 | end | |
2526 | ||
2527 | local Aura = Instance.new('ParticleEmitter') | |
2528 | Aura.Name = "Aura" | |
2529 | Aura.Texture = "rbxassetid://347730682" | |
2530 | Aura.Parent = Torso | |
2531 | Aura.LightEmission = 1 | |
2532 | Aura.Transparency = NumberSequence.new(0.5,1) | |
2533 | Aura.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2534 | Aura.Size = NumberSequence.new(1,25) | |
2535 | Aura.Rotation = NumberRange.new(-360,360) | |
2536 | Aura.LockedToPart = true | |
2537 | Aura.Lifetime = NumberRange.new(1) | |
2538 | Aura.Rate = 100 | |
2539 | Aura.Speed = NumberRange.new(0) | |
2540 | Aura.EmissionDirection = "Top" | |
2541 | local Aura2 = Instance.new('ParticleEmitter') | |
2542 | Aura2.Name = "Aura" | |
2543 | Aura2.Texture = "rbxassetid://1046299182" | |
2544 | Aura2.Parent = Torso | |
2545 | Aura2.LightEmission = 1 | |
2546 | Aura2.Transparency = NumberSequence.new(0,1) | |
2547 | Aura2.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2548 | Aura2.Size = NumberSequence.new(55) | |
2549 | Aura2.Rotation = NumberRange.new(-360,360) | |
2550 | Aura2.LockedToPart = true | |
2551 | Aura2.Lifetime = NumberRange.new(0.2) | |
2552 | Aura2.Rate = 20 | |
2553 | Aura2.Speed = NumberRange.new(0) | |
2554 | Aura2.EmissionDirection = "Top" | |
2555 | lig = Instance.new("PointLight",Player.Character.Torso) | |
2556 | lig.Color=Color3.new(255,255,0) | |
2557 | lig.Range = 12 | |
2558 | Humanoid.WalkSpeed = 0.01 | |
2559 | attack = true | |
2560 | Firepart1 = Instance.new("Part", RightArm) | |
2561 | Firepart1.Size = Vector3.new(1, 1, 1) | |
2562 | GuW1 = Instance.new("Weld") | |
2563 | GuW1.Name = "GuW" | |
2564 | GuW1.Part0 = RightArm | |
2565 | GuW1.C0 = cn(0, -1, 0) | |
2566 | GuW1.C1 = cn(0, 0, 0) | |
2567 | GuW1.Part1 = Firepart1 | |
2568 | GuW1.Parent = RightArm | |
2569 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
2570 | Firepart1.Transparency = 1 | |
2571 | Firepart2 = Instance.new("Part", LeftArm) | |
2572 | Firepart2.Size = Vector3.new(1, 1, 1) | |
2573 | GuW2 = Instance.new("Weld") | |
2574 | GuW2.Name = "GuW" | |
2575 | GuW2.Part0 = LeftArm | |
2576 | GuW2.C0 = cn(0, -1, 0) | |
2577 | GuW2.C1 = cn(0, 0, 0) | |
2578 | GuW2.Part1 = Firepart2 | |
2579 | GuW2.Parent = LeftArm | |
2580 | Firepart2.Transparency = 1 | |
2581 | ||
2582 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8) | |
2583 | GuW1:Destroy() | |
2584 | GuW1 = Instance.new("Weld") | |
2585 | GuW1.Name = "GuW" | |
2586 | GuW1.Part0 = Torso | |
2587 | GuW1.C0 = cn(0, 0, -6) | |
2588 | GuW1.C1 = cn(0, 0, 0) | |
2589 | GuW1.Part1 = Firepart1 | |
2590 | GuW1.Parent = Torso | |
2591 | GuW2:Destroy() | |
2592 | GuW2 = Instance.new("Weld") | |
2593 | GuW2.Name = "GuW" | |
2594 | GuW2.Part0 = Torso | |
2595 | GuW2.C0 = cn(0, 0, -6) | |
2596 | GuW2.C1 = cn(0, 0, 0) | |
2597 | GuW2.Part1 = Firepart2 | |
2598 | GuW2.Parent = Torso | |
2599 | ||
2600 | GuW2:Destroy() | |
2601 | GuW2 = Instance.new("Weld") | |
2602 | GuW2.Name = "GuW" | |
2603 | GuW2.Part0 = Torso | |
2604 | GuW2.C0 = cn(0, 0, -4) | |
2605 | GuW2.C1 = cn(0, 0, 0) | |
2606 | GuW2.Part1 = Firepart2 | |
2607 | GuW2.Parent = Torso | |
2608 | for i = 0, 15, 0.1 do | |
2609 | swait() | |
2610 | if Torsovelocity.Y > 2 then | |
2611 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2612 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
2613 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
2614 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
2615 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2616 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2617 | elseif Torsovelocity.Y < 1 then | |
2618 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2619 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
2620 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
2621 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
2622 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2623 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2624 | end | |
2625 | end | |
2626 | wait(16) | |
2627 | local Aura3 = Instance.new('ParticleEmitter') | |
2628 | Aura3.Name = "Aura" | |
2629 | Aura3.Texture = "rbxassetid://1046299182" | |
2630 | Aura3.Parent = Torso | |
2631 | Aura3.LightEmission = 1 | |
2632 | Aura3.Transparency = NumberSequence.new(0.4,1) | |
2633 | Aura3.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2634 | Aura3.Size = NumberSequence.new(140) | |
2635 | Aura3.Rotation = NumberRange.new(-360,360) | |
2636 | Aura3.LockedToPart = true | |
2637 | Aura3.Lifetime = NumberRange.new(0.2) | |
2638 | Aura3.Rate = 70 | |
2639 | Aura3.Speed = NumberRange.new(0) | |
2640 | Aura3.EmissionDirection = "Top" | |
2641 | local Aura4 = Instance.new('ParticleEmitter') | |
2642 | Aura4.Name = "Aura" | |
2643 | Aura4.Texture = "rbxassetid://1046299182" | |
2644 | Aura4.Parent = Torso | |
2645 | Aura4.LightEmission = 1 | |
2646 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
2647 | Aura4.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
2648 | Aura4.Size = NumberSequence.new(190) | |
2649 | Aura4.Rotation = NumberRange.new(-360,360) | |
2650 | Aura4.LockedToPart = true | |
2651 | Aura4.Lifetime = NumberRange.new(0.2) | |
2652 | Aura4.Rate = 120 | |
2653 | Aura4.Speed = NumberRange.new(0) | |
2654 | Aura4.EmissionDirection = "Top" | |
2655 | local Aura5 = Instance.new('ParticleEmitter') | |
2656 | Aura5.Name = "Aura" | |
2657 | Aura5.Texture = "rbxassetid://347730682" | |
2658 | Aura5.Parent = Torso | |
2659 | Aura5.LightEmission = 1 | |
2660 | Aura5.Transparency = NumberSequence.new(0.2,1) | |
2661 | Aura5.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2662 | Aura5.Size = NumberSequence.new(1,65) | |
2663 | Aura5.Rotation = NumberRange.new(-360,360) | |
2664 | Aura5.LockedToPart = true | |
2665 | Aura5.Lifetime = NumberRange.new(1) | |
2666 | Aura5.Rate = 200 | |
2667 | Aura5.Speed = NumberRange.new(0) | |
2668 | Aura5.EmissionDirection = "Top" | |
2669 | local quake = Instance.new("Sound",workspace) | |
2670 | quake.SoundId = "rbxassetid://1048411878" | |
2671 | quake.Pitch = 0.99 | |
2672 | quake.Volume = 1.3 | |
2673 | quake.Looped = true | |
2674 | wait(0) | |
2675 | quake:Play() | |
2676 | local scrr = Instance.new("Sound",Torso) | |
2677 | scrr.SoundId = "rbxassetid://908472235" | |
2678 | scrr.Pitch = 0.99 | |
2679 | scrr.Volume = 0.5 | |
2680 | scrr.Looped = true | |
2681 | wait(0) | |
2682 | scrr:Play() | |
2683 | ||
2684 | for i = 0, 2, 0.1 do | |
2685 | swait() | |
2686 | local lb = Instance.new("Part") | |
2687 | lb.Parent = char | |
2688 | lb.Material = "Neon" | |
2689 | lb.Color = BrickColor.new("Gold").Color | |
2690 | lb.CanCollide = false | |
2691 | lb.Material = "Neon" | |
2692 | lb.Size = vt(0.5,0,0.5) | |
2693 | lb.CFrame = Torso.CFrame | |
2694 | lb.Rotation = vt(0,0,0) | |
2695 | lb.Anchored = true | |
2696 | lb.Transparency = 0 | |
2697 | local thing = Instance.new("SpecialMesh",lb) | |
2698 | thing.MeshType = "FileMesh" | |
2699 | thing.MeshId = "http://www.roblox.com/asset/?id=471124075" | |
2700 | thing.Scale = vt(0,15,0) | |
2701 | local chancerot = math.random(1,2) | |
2702 | for z = 0, 4 do | |
2703 | if chancerot == 1 then | |
2704 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
2705 | elseif chancerot == 2 then | |
2706 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
2707 | end | |
2708 | lb.Transparency = lb.Transparency + 0.1 | |
2709 | thing.Scale = thing.Scale + vt(0.5,0,0.5) | |
2710 | wait() | |
2711 | end | |
2712 | for z = 0, 4 do | |
2713 | if chancerot == 1 then | |
2714 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
2715 | elseif chancerot == 2 then | |
2716 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
2717 | end | |
2718 | lb.Transparency = lb.Transparency + 0.1 | |
2719 | thing.Scale = thing.Scale + vt(0.5,0,0.5) | |
2720 | wait() | |
2721 | end | |
2722 | end | |
2723 | ||
2724 | ||
2725 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1) | |
2726 | for i = 0, 24, 0.1 do | |
2727 | swait() | |
2728 | if Torsovelocity.Y > 2 then | |
2729 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2730 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2731 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2732 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
2733 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2734 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2735 | elseif Torsovelocity.Y < 1 then | |
2736 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2737 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
2738 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2739 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
2740 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2741 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2742 | end | |
2743 | end | |
2744 | wait(5) | |
2745 | GuW1:Destroy() | |
2746 | GuW1 = Instance.new("Weld") | |
2747 | GuW1.Name = "GuW" | |
2748 | GuW1.Part0 = Torso | |
2749 | GuW1.C0 = cn(0, 0, -15) | |
2750 | GuW1.C1 = cn(0, 0, 0) | |
2751 | GuW1.Part1 = Firepart1 | |
2752 | GuW1.Parent = Torso | |
2753 | GuW2:Destroy() | |
2754 | GuW2 = Instance.new("Weld") | |
2755 | GuW2.Name = "GuW" | |
2756 | GuW2.Part0 = Torso | |
2757 | GuW2.C0 = cn(0, 0, -17.5) | |
2758 | GuW2.C1 = cn(0, 0, 0) | |
2759 | GuW2.Part1 = Firepart2 | |
2760 | GuW2.Parent = Torso | |
2761 | local Must2 = Instance.new("Sound",Torso) --1048411878 | |
2762 | Must2.SoundId = "rbxassetid://950551676" | |
2763 | Must2.Pitch = 0.99 | |
2764 | Must2.Volume = math.huge | |
2765 | Must2.Looped = false | |
2766 | wait(0) | |
2767 | Must2:Play() | |
2768 | quake:Stop() | |
2769 | scrr:Stop() | |
2770 | local Gone = Instance.new('ParticleEmitter') | |
2771 | Gone.Name = "Aura" | |
2772 | Gone.Texture = "rbxassetid://1046299182" | |
2773 | Gone.Parent = Torso | |
2774 | Gone.LightEmission = 1 | |
2775 | Gone.Transparency = NumberSequence.new(0.7,1) | |
2776 | Gone.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2777 | Gone.Size = NumberSequence.new(340) | |
2778 | Gone.Rotation = NumberRange.new(-360,360) | |
2779 | Gone.LockedToPart = true | |
2780 | Gone.Lifetime = NumberRange.new(0.2) | |
2781 | Gone.Rate = 70 | |
2782 | Gone.Speed = NumberRange.new(0) | |
2783 | Gone.EmissionDirection = "Top" | |
2784 | wait(2) | |
2785 | Aura:Destroy() | |
2786 | Aura2:Destroy() | |
2787 | Aura3:Destroy() | |
2788 | Aura4:Destroy() | |
2789 | Aura5:Destroy() | |
2790 | lig:Destroy() | |
2791 | Gone:Destroy() | |
2792 | for i = 0, 3, 0.01 do | |
2793 | swait() | |
2794 | shoottraildd2(mouse.Hit.p, Torso, 0) | |
2795 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
2796 | BlockEffect(BrickColor.new("New Yeller"), Torso.CFrame, 1, 1, 1, 70, 70, 70, 0.06) | |
2797 | BlockEffect(BrickColor.new("New Yeller"), Torso.CFrame, 1, 1, 1, 69.5, 69.5, 69.5, 0.06) | |
2798 | if Torsovelocity.Y > 2 then | |
2799 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2800 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2801 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2802 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
2803 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2804 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2805 | elseif Torsovelocity.Y < 1 then | |
2806 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 40) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2807 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
2808 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
2809 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
2810 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2811 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2812 | end | |
2813 | end | |
2814 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1) | |
2815 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02) | |
2816 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04) | |
2817 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04) | |
2818 | for i = 0, 3, 0.1 do | |
2819 | swait() | |
2820 | if Torsovelocity.Y > 2 then | |
2821 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2822 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
2823 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
2824 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
2825 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2826 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2827 | elseif Torsovelocity.Y < 1 then | |
2828 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2829 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
2830 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
2831 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
2832 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2833 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2834 | end | |
2835 | end | |
2836 | wait(1) | |
2837 | Humanoid.WalkSpeed = 16 | |
2838 | attack = false | |
2839 | MV4 = 0 | |
2840 | Must:Stop() | |
2841 | Firepart1:Destroy() | |
2842 | Firepart2:Destroy() | |
2843 | end | |
2844 | end) | |
2845 | ||
2846 | ||
2847 | ||
2848 | ---forms | |
2849 | mouse.KeyDown:connect(function(key) | |
2850 | if key=="1" then | |
2851 | Base() | |
2852 | SSJ() | |
2853 | char.JumPower = 150 | |
2854 | end | |
2855 | end) | |
2856 | Health = 140,000 --------- Serious mode aura. | |
2857 | BaseHealth = 10,000 | |
2858 | ||
2859 | ||
2860 | ||
2861 | ||
2862 | SuperSaiyan = false | |
2863 | ||
2864 | Player = game.Players.LocalPlayer | |
2865 | Char = Player.Character | |
2866 | Torso = Char.Torso | |
2867 | ||
2868 | function SSJ() | |
2869 | for X = 1, 1 do wait() | |
2870 | ||
2871 | ||
2872 | wait(0) | |
2873 | for X = 1, 1 do wait() | |
2874 | local Effect = Instance.new("Part") | |
2875 | Effect.Name = "Effect" | |
2876 | Effect.Parent = Torso | |
2877 | Effect.CFrame = Torso.CFrame | |
2878 | Effect.BrickColor = BrickColor.new("Lapis") | |
2879 | Effect.Shape = "Ball" | |
2880 | Effect.Size = Vector3.new(1, 1, 1) | |
2881 | Effect.Anchored = true | |
2882 | Effect.Material = "Neon" | |
2883 | Effect.CanCollide = false | |
2884 | Effect.CFrame = Torso.CFrame | |
2885 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
2886 | Effect.Transparency = Effect.Transparency + 0.04 | |
2887 | end | |
2888 | end | |
2889 | ||
2890 | repeat | |
2891 | Torso:FindFirstChild("Effect"):Remove() | |
2892 | until Torso:FindFirstChild("Effect") == nil | |
2893 | ||
2894 | ||
2895 | local Color1 = Color3.new(255, 255, 0) | |
2896 | local Color2 = Color3.new(255, 255, 0) | |
2897 | ||
2898 | Hair7:Destroy() | |
2899 | Hair7 = Instance.new("Part") | |
2900 | Hair7.Parent = char | |
2901 | Hair7.Name = "Hair" | |
2902 | Hair7.CanCollide = false | |
2903 | Hair7.Locked = true | |
2904 | Hair7.TopSurface = "Smooth" | |
2905 | Hair7.BottomSurface = "Smooth" | |
2906 | Hair7.formFactor = "Symmetric" | |
2907 | Hair7.Material = "Neon" | |
2908 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
2909 | Hair7.CFrame = char.Torso.CFrame | |
2910 | Hair7.Size = Vector3.new(1, 1, 1) | |
2911 | Hair7.Transparency = 0 | |
2912 | ||
2913 | ||
2914 | Weld1 = Instance.new("Weld") | |
2915 | Weld1.Parent = char.Head | |
2916 | Weld1.Part0 = char.Head | |
2917 | Weld1.Part1 = Hair7 | |
2918 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
2919 | ||
2920 | Mesh = Instance.new("SpecialMesh") | |
2921 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
2922 | Mesh.Parent = Hair7 | |
2923 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
2924 | Mesh.MeshType = "FileMesh" | |
2925 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
2926 | Mesh.TextureId = "" | |
2927 | char.Head.face.Texture = "rbxassetid://1108357707" | |
2928 | local Must = Instance.new("Sound",Torso) | |
2929 | Must.SoundId = "rbxassetid://1035030726" | |
2930 | Must.Pitch = 0.99 | |
2931 | Must.Volume = 1.4 | |
2932 | Must.Looped = false | |
2933 | wait(0) | |
2934 | Must:Play() | |
2935 | a21e = new("Part",char) | |
2936 | a21e.Name = "Beam"..num | |
2937 | a21e.Locked = true | |
2938 | a21e.Size = v3(1,1,1) | |
2939 | a21e.CanCollide = false | |
2940 | a21e.BrickColor = bc("Gold") | |
2941 | a21e.Material = "Neon" | |
2942 | a21e.Transparency = 0 | |
2943 | aa21e = new("SpecialMesh",a21e) | |
2944 | a21e.Anchored = true | |
2945 | a21e.Position = RootPart.Position | |
2946 | aa21e.MeshType = "Sphere" | |
2947 | aa21e.Scale = v3(1,1,1) | |
2948 | a51e = new("Part",char) | |
2949 | a51e.Name = "Beam"..num | |
2950 | a51e.Locked = true | |
2951 | a51e.Size = v3(1,1,1) | |
2952 | a51e.CanCollide = false | |
2953 | a51e.BrickColor = bc("New Yeller") | |
2954 | a51e.Material = "Neon" | |
2955 | a51e.Transparency = 0 | |
2956 | aa51e = new("SpecialMesh",a51e) | |
2957 | a51e.Anchored = true | |
2958 | a51e.Position = RootPart.Position | |
2959 | aa51e.MeshType = "Sphere" | |
2960 | aa51e.Scale = v3(1,1,1) | |
2961 | a61e = new("Part",char) | |
2962 | a61e.Name = "Beam"..num | |
2963 | a61e.Locked = true | |
2964 | a61e.Size = v3(1,1,1) | |
2965 | a61e.CanCollide = false | |
2966 | a61e.BrickColor = bc("White") | |
2967 | a61e.Material = "Neon" | |
2968 | a61e.Transparency = 0 | |
2969 | aa61e = new("SpecialMesh",a61e) | |
2970 | a61e.Anchored = true | |
2971 | a61e.Position = RootPart.Position | |
2972 | aa61e.MeshType = "Sphere" | |
2973 | aa61e.Scale = v3(1,1,1) | |
2974 | for i = 1,50 do | |
2975 | wait() | |
2976 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
2977 | a21e.Transparency = a21e.Transparency + 0.03 | |
2978 | aa51e.Scale = aa51e.Scale + v3(1.2,1.2,1.2) | |
2979 | a51e.Transparency = a51e.Transparency + 0.03 | |
2980 | aa61e.Scale = aa61e.Scale + v3(0.5,0.5,0.5) | |
2981 | a61e.Transparency = a61e.Transparency + 0.02 | |
2982 | end | |
2983 | a61e:Destroy() | |
2984 | aa61e:Destroy() | |
2985 | a51e:Destroy() | |
2986 | aa51e:Destroy() | |
2987 | a21e:Destroy() | |
2988 | aa21e:Destroy() | |
2989 | ||
2990 | ||
2991 | local Aura = Instance.new('ParticleEmitter') | |
2992 | Aura.Name = "Aura" | |
2993 | Aura.Texture = "rbxassetid://347730682" | |
2994 | Aura.Parent = Torso | |
2995 | Aura.LightEmission = 1 | |
2996 | Aura.Transparency = NumberSequence.new(0.6,1) | |
2997 | Aura.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
2998 | Aura.Size = NumberSequence.new(5.2,3.9,0.2) | |
2999 | Aura.LockedToPart = true | |
3000 | Aura.Lifetime = NumberRange.new(1) | |
3001 | Aura.Rate = 100 | |
3002 | Aura.Speed = NumberRange.new(4.3) | |
3003 | Aura.EmissionDirection = "Top" | |
3004 | ||
3005 | SuperSaiyan = true | |
3006 | Humanoid.JumpPower = 120 | |
3007 | ||
3008 | Char.Humanoid.MaxHealth = Health | |
3009 | wait(0.3) | |
3010 | Char.Humanoid.Health = Health | |
3011 | wait(0.7) | |
3012 | Must:Destroy() | |
3013 | end | |
3014 | ||
3015 | function Base() | |
3016 | SuperSaiyan = false | |
3017 | local Effect = Instance.new("Part") | |
3018 | Effect.Name = "Effect" | |
3019 | Effect.Parent = Torso | |
3020 | Effect.CFrame = Torso.CFrame | |
3021 | Effect.BrickColor = BrickColor.new("White") | |
3022 | Effect.Shape = "Ball" | |
3023 | Effect.Size = Vector3.new(8, 8, 8) | |
3024 | Effect.Anchored = true | |
3025 | Effect.Material = "Neon" | |
3026 | Effect.CanCollide = false | |
3027 | for loop = 1, 25 do wait() | |
3028 | Effect.CFrame = Torso.CFrame | |
3029 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
3030 | Effect.Transparency = Effect.Transparency + 0.04 | |
3031 | ||
3032 | end | |
3033 | repeat | |
3034 | ||
3035 | ||
3036 | Torso:FindFirstChild("Effect"):Remove() | |
3037 | until Torso:FindFirstChild("Effect") == nil | |
3038 | ||
3039 | char.Head.face.Texture = "rbxassetid://1108342609" | |
3040 | Hair7:Destroy() | |
3041 | wait(0.1) | |
3042 | Hair7 = Instance.new("Part") | |
3043 | Hair7.Parent = char | |
3044 | Hair7.Name = "Hair" | |
3045 | Hair7.CanCollide = false | |
3046 | Hair7.Locked = true | |
3047 | Hair7.TopSurface = "Smooth" | |
3048 | Hair7.BottomSurface = "Smooth" | |
3049 | Hair7.formFactor = "Symmetric" | |
3050 | Hair7.Material = "Neon" | |
3051 | Hair7.BrickColor = BrickColor.new("Really black") | |
3052 | Hair7.CFrame = char.Torso.CFrame | |
3053 | Hair7.Size = Vector3.new(1, 1, 1) | |
3054 | Hair7.Transparency = 0 | |
3055 | ||
3056 | ||
3057 | Weld1 = Instance.new("Weld") | |
3058 | Weld1.Parent = char.Head | |
3059 | Weld1.Part0 = char.Head | |
3060 | Weld1.Part1 = Hair7 | |
3061 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3062 | ||
3063 | Mesh = Instance.new("SpecialMesh") | |
3064 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3065 | Mesh.Parent = Hair7 | |
3066 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3067 | Mesh.MeshType = "FileMesh" | |
3068 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3069 | Mesh.TextureId = "" | |
3070 | ||
3071 | ||
3072 | ||
3073 | for i, v in pairs(Torso:GetChildren()) do | |
3074 | if v:IsA('ParticleEmitter') then | |
3075 | v:Remove() | |
3076 | end | |
3077 | end | |
3078 | for i, v in pairs(LeftArm:GetChildren()) do | |
3079 | if v:IsA('ParticleEmitter') then | |
3080 | v:Remove() | |
3081 | end | |
3082 | end | |
3083 | for i, v in pairs(RightArm:GetChildren()) do | |
3084 | if v:IsA('ParticleEmitter') then | |
3085 | v:Remove() | |
3086 | end | |
3087 | end | |
3088 | for i, v in pairs(RightLeg:GetChildren()) do | |
3089 | if v:IsA('ParticleEmitter') then | |
3090 | v:Remove() | |
3091 | end | |
3092 | end | |
3093 | for i, v in pairs(LeftLeg:GetChildren()) do | |
3094 | if v:IsA('ParticleEmitter') then | |
3095 | v:Remove() | |
3096 | end | |
3097 | end | |
3098 | ||
3099 | ||
3100 | end | |
3101 | ||
3102 | mouse.KeyDown:connect(function(key) | |
3103 | if key=="9" then | |
3104 | Base() | |
3105 | end | |
3106 | end) | |
3107 | ||
3108 | mouse.KeyDown:connect(function(key) | |
3109 | if key=="4" then | |
3110 | Base() | |
3111 | SSJB() | |
3112 | char.JumPower = 150 | |
3113 | end | |
3114 | end) | |
3115 | Health = 140,000 --------- Serious mode aura. | |
3116 | BaseHealth = 10,000 | |
3117 | ||
3118 | ||
3119 | ||
3120 | ||
3121 | SuperSaiyanBlue = false | |
3122 | ||
3123 | Player = game.Players.LocalPlayer | |
3124 | Char = Player.Character | |
3125 | Torso = Char.Torso | |
3126 | ||
3127 | function SSJB() | |
3128 | for X = 1, 1 do wait() | |
3129 | ||
3130 | ||
3131 | wait(0) | |
3132 | for X = 1, 1 do wait() | |
3133 | local Effect = Instance.new("Part") | |
3134 | Effect.Name = "Effect" | |
3135 | Effect.Parent = Torso | |
3136 | Effect.CFrame = Torso.CFrame | |
3137 | Effect.BrickColor = BrickColor.new("Lapis") | |
3138 | Effect.Shape = "Ball" | |
3139 | Effect.Size = Vector3.new(1, 1, 1) | |
3140 | Effect.Anchored = true | |
3141 | Effect.Material = "Neon" | |
3142 | Effect.CanCollide = false | |
3143 | Effect.CFrame = Torso.CFrame | |
3144 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
3145 | Effect.Transparency = Effect.Transparency + 0.04 | |
3146 | end | |
3147 | end | |
3148 | ||
3149 | repeat | |
3150 | Torso:FindFirstChild("Effect"):Remove() | |
3151 | until Torso:FindFirstChild("Effect") == nil | |
3152 | ||
3153 | ||
3154 | local Color1 = Color3.new(255, 255, 0) | |
3155 | local Color2 = Color3.new(255, 255, 0) | |
3156 | ||
3157 | for i = 0, 3, 0.1 do | |
3158 | swait() | |
3159 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
3160 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
3161 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
3162 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
3163 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3164 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
3165 | end | |
3166 | ||
3167 | Hair7:Destroy() | |
3168 | wait(0.1) | |
3169 | Hair7 = Instance.new("Part") | |
3170 | Hair7.Parent = char | |
3171 | Hair7.Name = "Hair" | |
3172 | Hair7.CanCollide = false | |
3173 | Hair7.Locked = true | |
3174 | Hair7.TopSurface = "Smooth" | |
3175 | Hair7.BottomSurface = "Smooth" | |
3176 | Hair7.formFactor = "Symmetric" | |
3177 | Hair7.Material = "Neon" | |
3178 | Hair7.BrickColor = BrickColor.new("Cyan") | |
3179 | Hair7.CFrame = char.Torso.CFrame | |
3180 | Hair7.Size = Vector3.new(1, 1, 1) | |
3181 | Hair7.Transparency = 0 | |
3182 | ||
3183 | ||
3184 | Weld1 = Instance.new("Weld") | |
3185 | Weld1.Parent = char.Head | |
3186 | Weld1.Part0 = char.Head | |
3187 | Weld1.Part1 = Hair7 | |
3188 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3189 | ||
3190 | Mesh = Instance.new("SpecialMesh") | |
3191 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3192 | Mesh.Parent = Hair7 | |
3193 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3194 | Mesh.MeshType = "FileMesh" | |
3195 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3196 | Mesh.TextureId = "" | |
3197 | wait(0.1) | |
3198 | char.Head.face.Texture = "rbxassetid://262534270" | |
3199 | local Must = Instance.new("Sound",Torso) | |
3200 | Must.SoundId = "rbxassetid://874183151" | |
3201 | Must.Pitch = 0.99 | |
3202 | Must.Volume = 1.4 | |
3203 | Must.Looped = false | |
3204 | wait(0) | |
3205 | Must:Play() | |
3206 | a21e = new("Part",char) | |
3207 | a21e.Name = "Beam"..num | |
3208 | a21e.Locked = true | |
3209 | a21e.Size = v3(1,1,1) | |
3210 | a21e.CanCollide = false | |
3211 | a21e.BrickColor = bc("Toothpaste") | |
3212 | a21e.Material = "Neon" | |
3213 | a21e.Transparency = 0 | |
3214 | aa21e = new("SpecialMesh",a21e) | |
3215 | a21e.Anchored = true | |
3216 | a21e.Position = RootPart.Position | |
3217 | aa21e.MeshType = "Sphere" | |
3218 | aa21e.Scale = v3(1,1,1) | |
3219 | a51e = new("Part",char) | |
3220 | a51e.Name = "Beam"..num | |
3221 | a51e.Locked = true | |
3222 | a51e.Size = v3(1,1,1) | |
3223 | a51e.CanCollide = false | |
3224 | a51e.BrickColor = bc("Cyan") | |
3225 | a51e.Material = "Neon" | |
3226 | a51e.Transparency = 0 | |
3227 | aa51e = new("SpecialMesh",a51e) | |
3228 | a51e.Anchored = true | |
3229 | a51e.Position = RootPart.Position | |
3230 | aa51e.MeshType = "Sphere" | |
3231 | aa51e.Scale = v3(1,1,1) | |
3232 | a61e = new("Part",char) | |
3233 | a61e.Name = "Beam"..num | |
3234 | a61e.Locked = true | |
3235 | a61e.Size = v3(1,1,1) | |
3236 | a61e.CanCollide = false | |
3237 | a61e.BrickColor = bc("Lapis") | |
3238 | a61e.Material = "Neon" | |
3239 | a61e.Transparency = 0 | |
3240 | aa61e = new("SpecialMesh",a61e) | |
3241 | a61e.Anchored = true | |
3242 | a61e.Position = RootPart.Position | |
3243 | aa61e.MeshType = "Sphere" | |
3244 | aa61e.Scale = v3(1,1,1) | |
3245 | for i = 1,50 do | |
3246 | wait() | |
3247 | aa21e.Scale = aa21e.Scale + v3(2,2,2) | |
3248 | a21e.Transparency = a21e.Transparency + 0.03 | |
3249 | aa51e.Scale = aa51e.Scale + v3(2.5,2.5,2.5) | |
3250 | a51e.Transparency = a51e.Transparency + 0.03 | |
3251 | aa61e.Scale = aa61e.Scale + v3(0.5,0.5,0.5) | |
3252 | a61e.Transparency = a61e.Transparency + 0.02 | |
3253 | end | |
3254 | a61e:Destroy() | |
3255 | aa61e:Destroy() | |
3256 | a51e:Destroy() | |
3257 | aa51e:Destroy() | |
3258 | a21e:Destroy() | |
3259 | aa21e:Destroy() | |
3260 | ||
3261 | ||
3262 | local Aura = Instance.new('ParticleEmitter') | |
3263 | Aura.Name = "Aura" | |
3264 | Aura.Texture = "rbxassetid://347730682" | |
3265 | Aura.Parent = Torso | |
3266 | Aura.LightEmission = 1 | |
3267 | Aura.Transparency = NumberSequence.new(0.4,1) | |
3268 | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3269 | Aura.Size = NumberSequence.new(4,6.9,0.2) | |
3270 | Aura.LockedToPart = true | |
3271 | Aura.Lifetime = NumberRange.new(1) | |
3272 | Aura.Rate = 100 | |
3273 | Aura.Rotation = NumberRange.new(-20, 15) | |
3274 | Aura.Speed = NumberRange.new(4.3) | |
3275 | Aura.EmissionDirection = "Top" | |
3276 | local Aura = Instance.new('ParticleEmitter') | |
3277 | Aura.Name = "Aura" | |
3278 | Aura.Texture = "rbxassetid://347730682" | |
3279 | Aura.Parent = Torso | |
3280 | Aura.LightEmission = 1 | |
3281 | Aura.Transparency = NumberSequence.new(0.9,1) | |
3282 | Aura.Color = ColorSequence.new(BrickColor.new("Deep orange").Color) | |
3283 | Aura.Size = NumberSequence.new(4,6.9,0.2) | |
3284 | Aura.LockedToPart = true | |
3285 | Aura.Lifetime = NumberRange.new(1) | |
3286 | Aura.Rate = 100 | |
3287 | Aura.Rotation = NumberRange.new(-20, 15) | |
3288 | Aura.Speed = NumberRange.new(4.3) | |
3289 | Aura.EmissionDirection = "Top" | |
3290 | local tra = Instance.new('ParticleEmitter') | |
3291 | tra.Parent = Torso | |
3292 | tra.LightEmission = 1 | |
3293 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3294 | tra.Rate = 15 | |
3295 | tra.Rotation = NumberRange.new(-5, 5) | |
3296 | tra.Lifetime = NumberRange.new(1.5, 2) | |
3297 | tra.Size = NumberSequence.new(0.098,0) | |
3298 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
3299 | tra.Speed = NumberRange.new(0.5) | |
3300 | tra.VelocitySpread = 360 | |
3301 | tra.VelocityInheritance = 0.5 | |
3302 | tra.ZOffset = 2 | |
3303 | local tra = Instance.new('ParticleEmitter') | |
3304 | tra.Parent = LeftArm | |
3305 | tra.LightEmission = 1 | |
3306 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3307 | tra.Rate = 15 | |
3308 | tra.Rotation = NumberRange.new(-5, 5) | |
3309 | tra.Lifetime = NumberRange.new(1.5, 2) | |
3310 | tra.Size = NumberSequence.new(0.098,0) | |
3311 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
3312 | tra.Speed = NumberRange.new(0.5) | |
3313 | tra.VelocitySpread = 360 | |
3314 | tra.VelocityInheritance = 0.5 | |
3315 | tra.ZOffset = 2 | |
3316 | local tra = Instance.new('ParticleEmitter') | |
3317 | tra.Parent = RightArm | |
3318 | tra.LightEmission = 1 | |
3319 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3320 | tra.Rate = 15 | |
3321 | tra.Rotation = NumberRange.new(-5, 5) | |
3322 | tra.Lifetime = NumberRange.new(1.5, 2) | |
3323 | tra.Size = NumberSequence.new(0.098,0) | |
3324 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
3325 | tra.Speed = NumberRange.new(0.5) | |
3326 | tra.VelocitySpread = 360 | |
3327 | tra.VelocityInheritance = 0.5 | |
3328 | tra.ZOffset = 2 | |
3329 | local tra = Instance.new('ParticleEmitter') | |
3330 | tra.Parent = LeftLeg | |
3331 | tra.LightEmission = 1 | |
3332 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3333 | tra.Rate = 15 | |
3334 | tra.Rotation = NumberRange.new(-5, 5) | |
3335 | tra.Lifetime = NumberRange.new(1.5, 2) | |
3336 | tra.Size = NumberSequence.new(0.098,0) | |
3337 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
3338 | tra.Speed = NumberRange.new(0.5) | |
3339 | tra.VelocitySpread = 360 | |
3340 | tra.VelocityInheritance = 0.5 | |
3341 | tra.ZOffset = 2 | |
3342 | local tra = Instance.new('ParticleEmitter') | |
3343 | tra.Parent = RightLeg | |
3344 | tra.LightEmission = 1 | |
3345 | tra.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3346 | tra.Rate = 15 | |
3347 | tra.Rotation = NumberRange.new(-5, 5) | |
3348 | tra.Lifetime = NumberRange.new(1.5, 2) | |
3349 | tra.Size = NumberSequence.new(0.098,0) | |
3350 | tra.Transparency = NumberSequence.new(0.2,0.3,1) | |
3351 | tra.Speed = NumberRange.new(0.5) | |
3352 | tra.VelocitySpread = 360 | |
3353 | tra.VelocityInheritance = 0.5 | |
3354 | tra.ZOffset = 2 | |
3355 | ||
3356 | SuperSaiyanBlue = true | |
3357 | Humanoid.JumpPower = 120 | |
3358 | ||
3359 | Char.Humanoid.MaxHealth = Health | |
3360 | wait(0.3) | |
3361 | Char.Humanoid.Health = Health | |
3362 | wait(0.7) | |
3363 | Must:Destroy() | |
3364 | end | |
3365 | ||
3366 | function Base() | |
3367 | SuperSaiyanBlue = false | |
3368 | local Effect = Instance.new("Part") | |
3369 | Effect.Name = "Effect" | |
3370 | Effect.Parent = Torso | |
3371 | Effect.CFrame = Torso.CFrame | |
3372 | Effect.BrickColor = BrickColor.new("White") | |
3373 | Effect.Shape = "Ball" | |
3374 | Effect.Size = Vector3.new(8, 8, 8) | |
3375 | Effect.Anchored = true | |
3376 | Effect.Material = "Neon" | |
3377 | Effect.CanCollide = false | |
3378 | for loop = 1, 25 do wait() | |
3379 | Effect.CFrame = Torso.CFrame | |
3380 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
3381 | Effect.Transparency = Effect.Transparency + 0.04 | |
3382 | ||
3383 | end | |
3384 | repeat | |
3385 | ||
3386 | ||
3387 | Torso:FindFirstChild("Effect"):Remove() | |
3388 | until Torso:FindFirstChild("Effect") == nil | |
3389 | ||
3390 | char.Head.face.Texture = "rbxassetid://1108342609" | |
3391 | Hair7:Destroy() | |
3392 | wait(0.1) | |
3393 | Hair7 = Instance.new("Part") | |
3394 | Hair7.Parent = char | |
3395 | Hair7.Name = "Hair" | |
3396 | Hair7.CanCollide = false | |
3397 | Hair7.Locked = true | |
3398 | Hair7.TopSurface = "Smooth" | |
3399 | Hair7.BottomSurface = "Smooth" | |
3400 | Hair7.formFactor = "Symmetric" | |
3401 | Hair7.Material = "Neon" | |
3402 | Hair7.BrickColor = BrickColor.new("Really black") | |
3403 | Hair7.CFrame = char.Torso.CFrame | |
3404 | Hair7.Size = Vector3.new(1, 1, 1) | |
3405 | Hair7.Transparency = 0 | |
3406 | ||
3407 | ||
3408 | Weld1 = Instance.new("Weld") | |
3409 | Weld1.Parent = char.Head | |
3410 | Weld1.Part0 = char.Head | |
3411 | Weld1.Part1 = Hair7 | |
3412 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3413 | ||
3414 | Mesh = Instance.new("SpecialMesh") | |
3415 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3416 | Mesh.Parent = Hair7 | |
3417 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3418 | Mesh.MeshType = "FileMesh" | |
3419 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3420 | Mesh.TextureId = "" | |
3421 | ||
3422 | ||
3423 | ||
3424 | for i, v in pairs(Torso:GetChildren()) do | |
3425 | if v:IsA('ParticleEmitter') then | |
3426 | v:Remove() | |
3427 | end | |
3428 | end | |
3429 | for i, v in pairs(LeftArm:GetChildren()) do | |
3430 | if v:IsA('ParticleEmitter') then | |
3431 | v:Remove() | |
3432 | end | |
3433 | end | |
3434 | for i, v in pairs(RightArm:GetChildren()) do | |
3435 | if v:IsA('ParticleEmitter') then | |
3436 | v:Remove() | |
3437 | end | |
3438 | end | |
3439 | for i, v in pairs(RightLeg:GetChildren()) do | |
3440 | if v:IsA('ParticleEmitter') then | |
3441 | v:Remove() | |
3442 | end | |
3443 | end | |
3444 | for i, v in pairs(LeftLeg:GetChildren()) do | |
3445 | if v:IsA('ParticleEmitter') then | |
3446 | v:Remove() | |
3447 | end | |
3448 | end | |
3449 | ||
3450 | ||
3451 | end | |
3452 | mouse.KeyDown:connect(function(key) | |
3453 | if key=="9" then | |
3454 | Base() | |
3455 | end | |
3456 | end) | |
3457 | ||
3458 | mouse.KeyDown:connect(function(key) | |
3459 | if key=="2" then | |
3460 | Base() | |
3461 | SSJVEGETA() | |
3462 | char.JumPower = 150 | |
3463 | end | |
3464 | end) | |
3465 | Health = math.huge --------- Serious mode aura. | |
3466 | BaseHealth = math.huge | |
3467 | ||
3468 | ||
3469 | ||
3470 | ||
3471 | SuperVegeta = false | |
3472 | ||
3473 | Player = game.Players.LocalPlayer | |
3474 | Char = Player.Character | |
3475 | Torso = Char.Torso | |
3476 | ||
3477 | function SSJVEGETA() | |
3478 | for X = 1, 1 do wait() | |
3479 | ||
3480 | ||
3481 | wait(0) | |
3482 | for X = 1, 1 do wait() | |
3483 | local Effect = Instance.new("Part") | |
3484 | Effect.Name = "Effect" | |
3485 | Effect.Parent = Torso | |
3486 | Effect.CFrame = Torso.CFrame | |
3487 | Effect.BrickColor = BrickColor.new("Lapis") | |
3488 | Effect.Shape = "Ball" | |
3489 | Effect.Size = Vector3.new(1, 1, 1) | |
3490 | Effect.Anchored = true | |
3491 | Effect.Material = "Neon" | |
3492 | Effect.CanCollide = false | |
3493 | Effect.CFrame = Torso.CFrame | |
3494 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
3495 | Effect.Transparency = Effect.Transparency + 0.04 | |
3496 | end | |
3497 | end | |
3498 | ||
3499 | repeat | |
3500 | Torso:FindFirstChild("Effect"):Remove() | |
3501 | until Torso:FindFirstChild("Effect") == nil | |
3502 | ||
3503 | ||
3504 | local Color1 = Color3.new(255, 255, 0) | |
3505 | local Color2 = Color3.new(255, 255, 0) | |
3506 | ||
3507 | ||
3508 | Hair7:Destroy() | |
3509 | wait(0.1) | |
3510 | Hair7 = Instance.new("Part") | |
3511 | Hair7.Parent = char | |
3512 | Hair7.Name = "Hair" | |
3513 | Hair7.CanCollide = false | |
3514 | Hair7.Locked = true | |
3515 | Hair7.TopSurface = "Smooth" | |
3516 | Hair7.BottomSurface = "Smooth" | |
3517 | Hair7.formFactor = "Symmetric" | |
3518 | Hair7.Material = "Neon" | |
3519 | Hair7.BrickColor = BrickColor.new("Bright yellow") | |
3520 | Hair7.CFrame = char.Torso.CFrame | |
3521 | Hair7.Size = Vector3.new(1, 1, 1) | |
3522 | Hair7.Transparency = 0 | |
3523 | ||
3524 | ||
3525 | Weld1 = Instance.new("Weld") | |
3526 | Weld1.Parent = char.Head | |
3527 | Weld1.Part0 = char.Head | |
3528 | Weld1.Part1 = Hair7 | |
3529 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3530 | ||
3531 | Mesh = Instance.new("SpecialMesh") | |
3532 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3533 | Mesh.Parent = Hair7 | |
3534 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3535 | Mesh.MeshType = "FileMesh" | |
3536 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3537 | Mesh.TextureId = "" | |
3538 | char.Head.face.Texture = "rbxassetid://1108357707" | |
3539 | local Must = Instance.new("Sound",Torso) | |
3540 | Must.SoundId = "rbxassetid://1035030726" | |
3541 | Must.Pitch = 0.99 | |
3542 | Must.Volume = 1.4 | |
3543 | Must.Looped = false | |
3544 | wait(0) | |
3545 | Must:Play() | |
3546 | a21e = new("Part",char) | |
3547 | a21e.Name = "Beam"..num | |
3548 | a21e.Locked = true | |
3549 | a21e.Size = v3(1,1,1) | |
3550 | a21e.CanCollide = false | |
3551 | a21e.BrickColor = bc("Gold") | |
3552 | a21e.Material = "Neon" | |
3553 | a21e.Transparency = 0 | |
3554 | aa21e = new("SpecialMesh",a21e) | |
3555 | a21e.Anchored = true | |
3556 | a21e.Position = RootPart.Position | |
3557 | aa21e.MeshType = "Sphere" | |
3558 | aa21e.Scale = v3(1,1,1) | |
3559 | a51e = new("Part",char) | |
3560 | a51e.Name = "Beam"..num | |
3561 | a51e.Locked = true | |
3562 | a51e.Size = v3(1,1,1) | |
3563 | a51e.CanCollide = false | |
3564 | a51e.BrickColor = bc("New Yeller") | |
3565 | a51e.Material = "Neon" | |
3566 | a51e.Transparency = 0 | |
3567 | aa51e = new("SpecialMesh",a51e) | |
3568 | a51e.Anchored = true | |
3569 | a51e.Position = RootPart.Position | |
3570 | aa51e.MeshType = "Sphere" | |
3571 | aa51e.Scale = v3(1,1,1) | |
3572 | a61e = new("Part",char) | |
3573 | a61e.Name = "Beam"..num | |
3574 | a61e.Locked = true | |
3575 | a61e.Size = v3(1,1,1) | |
3576 | a61e.CanCollide = false | |
3577 | a61e.BrickColor = bc("White") | |
3578 | a61e.Material = "Neon" | |
3579 | a61e.Transparency = 0 | |
3580 | aa61e = new("SpecialMesh",a61e) | |
3581 | a61e.Anchored = true | |
3582 | a61e.Position = RootPart.Position | |
3583 | aa61e.MeshType = "Sphere" | |
3584 | aa61e.Scale = v3(1,1,1) | |
3585 | for i = 1,50 do | |
3586 | wait() | |
3587 | aa21e.Scale = aa21e.Scale + v3(1.6,1.6,1.6) | |
3588 | a21e.Transparency = a21e.Transparency + 0.03 | |
3589 | aa51e.Scale = aa51e.Scale + v3(2.8,2.8,2.8) | |
3590 | a51e.Transparency = a51e.Transparency + 0.03 | |
3591 | aa61e.Scale = aa61e.Scale + v3(0.5,0.5,0.5) | |
3592 | a61e.Transparency = a61e.Transparency + 0.02 | |
3593 | end | |
3594 | a61e:Destroy() | |
3595 | aa61e:Destroy() | |
3596 | a51e:Destroy() | |
3597 | aa51e:Destroy() | |
3598 | a21e:Destroy() | |
3599 | aa21e:Destroy() | |
3600 | ||
3601 | ||
3602 | local Aura = Instance.new('ParticleEmitter') | |
3603 | Aura.Name = "Aura" | |
3604 | Aura.Texture = "rbxassetid://347730682" | |
3605 | Aura.Parent = Torso | |
3606 | Aura.LightEmission = 1 | |
3607 | Aura.Transparency = NumberSequence.new(0.6,1) | |
3608 | Aura.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3609 | Aura.Size = NumberSequence.new(5.2,3.9,0.2) | |
3610 | Aura.LockedToPart = true | |
3611 | Aura.Lifetime = NumberRange.new(1) | |
3612 | Aura.Rate = 100 | |
3613 | Aura.Speed = NumberRange.new(4.3) | |
3614 | Aura.EmissionDirection = "Top" | |
3615 | local Aura = Instance.new('ParticleEmitter') | |
3616 | Aura.Name = "Aura" | |
3617 | Aura.Texture = "rbxassetid://1046299182" | |
3618 | Aura.Parent = Torso | |
3619 | Aura.LightEmission = 1 | |
3620 | Aura.Transparency = NumberSequence.new(0.6,1) | |
3621 | Aura.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
3622 | Aura.Size = NumberSequence.new(5) | |
3623 | Aura.Rotation = NumberRange.new(-20,15) | |
3624 | Aura.LockedToPart = true | |
3625 | Aura.Lifetime = NumberRange.new(0.2) | |
3626 | Aura.Rate = 20 | |
3627 | Aura.Speed = NumberRange.new(0) | |
3628 | Aura.EmissionDirection = "Top" | |
3629 | ||
3630 | SuperVegeta = true | |
3631 | Humanoid.WalkSpeed = 10 | |
3632 | Humanoid.JumpPower = 120 | |
3633 | ||
3634 | Char.Humanoid.MaxHealth = Health | |
3635 | wait(0.3) | |
3636 | Char.Humanoid.Health = Health | |
3637 | wait(0.7) | |
3638 | Must:Destroy() | |
3639 | end | |
3640 | ||
3641 | function Base() | |
3642 | SuperVegeta = false | |
3643 | local Effect = Instance.new("Part") | |
3644 | Effect.Name = "Effect" | |
3645 | Effect.Parent = Torso | |
3646 | Effect.CFrame = Torso.CFrame | |
3647 | Effect.BrickColor = BrickColor.new("White") | |
3648 | Effect.Shape = "Ball" | |
3649 | Effect.Size = Vector3.new(8, 8, 8) | |
3650 | Effect.Anchored = true | |
3651 | Effect.Material = "Neon" | |
3652 | Effect.CanCollide = false | |
3653 | for loop = 1, 25 do wait() | |
3654 | Effect.CFrame = Torso.CFrame | |
3655 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
3656 | Effect.Transparency = Effect.Transparency + 0.04 | |
3657 | ||
3658 | end | |
3659 | repeat | |
3660 | ||
3661 | ||
3662 | Torso:FindFirstChild("Effect"):Remove() | |
3663 | until Torso:FindFirstChild("Effect") == nil | |
3664 | ||
3665 | char.Head.face.Texture = "rbxassetid://1108342609" | |
3666 | Hair7:Destroy() | |
3667 | wait(0.1) | |
3668 | Hair7 = Instance.new("Part") | |
3669 | Hair7.Parent = char | |
3670 | Hair7.Name = "Hair" | |
3671 | Hair7.CanCollide = false | |
3672 | Hair7.Locked = true | |
3673 | Hair7.TopSurface = "Smooth" | |
3674 | Hair7.BottomSurface = "Smooth" | |
3675 | Hair7.formFactor = "Symmetric" | |
3676 | Hair7.Material = "Neon" | |
3677 | Hair7.BrickColor = BrickColor.new("Really black") | |
3678 | Hair7.CFrame = char.Torso.CFrame | |
3679 | Hair7.Size = Vector3.new(1, 1, 1) | |
3680 | Hair7.Transparency = 0 | |
3681 | ||
3682 | ||
3683 | Weld1 = Instance.new("Weld") | |
3684 | Weld1.Parent = char.Head | |
3685 | Weld1.Part0 = char.Head | |
3686 | Weld1.Part1 = Hair7 | |
3687 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3688 | ||
3689 | Mesh = Instance.new("SpecialMesh") | |
3690 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3691 | Mesh.Parent = Hair7 | |
3692 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3693 | Mesh.MeshType = "FileMesh" | |
3694 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3695 | Mesh.TextureId = "" | |
3696 | ||
3697 | ||
3698 | ||
3699 | for i, v in pairs(Torso:GetChildren()) do | |
3700 | if v:IsA('ParticleEmitter') then | |
3701 | v:Remove() | |
3702 | end | |
3703 | end | |
3704 | for i, v in pairs(LeftArm:GetChildren()) do | |
3705 | if v:IsA('ParticleEmitter') then | |
3706 | v:Remove() | |
3707 | end | |
3708 | end | |
3709 | for i, v in pairs(RightArm:GetChildren()) do | |
3710 | if v:IsA('ParticleEmitter') then | |
3711 | v:Remove() | |
3712 | end | |
3713 | end | |
3714 | for i, v in pairs(RightLeg:GetChildren()) do | |
3715 | if v:IsA('ParticleEmitter') then | |
3716 | v:Remove() | |
3717 | end | |
3718 | end | |
3719 | for i, v in pairs(LeftLeg:GetChildren()) do | |
3720 | if v:IsA('ParticleEmitter') then | |
3721 | v:Remove() | |
3722 | end | |
3723 | end | |
3724 | ||
3725 | ||
3726 | end | |
3727 | ||
3728 | mouse.KeyDown:connect(function(key) | |
3729 | if key=="9" then | |
3730 | Base() | |
3731 | end | |
3732 | mouse.KeyDown:connect(function(key) | |
3733 | if key=="3" then | |
3734 | Base() | |
3735 | SSJ2() | |
3736 | char.JumPower = 150 | |
3737 | end | |
3738 | end) | |
3739 | Health = math.huge --------- Serious mode aura. | |
3740 | BaseHealth = math.huge | |
3741 | ||
3742 | ||
3743 | ||
3744 | ||
3745 | SuperSaiyan2 = false | |
3746 | ||
3747 | Player = game.Players.LocalPlayer | |
3748 | Char = Player.Character | |
3749 | Torso = Char.Torso | |
3750 | ||
3751 | function SSJ2() | |
3752 | for X = 1, 1 do wait() | |
3753 | ||
3754 | ||
3755 | wait(0) | |
3756 | for X = 1, 1 do wait() | |
3757 | local Effect = Instance.new("Part") | |
3758 | Effect.Name = "Effect" | |
3759 | Effect.Parent = Torso | |
3760 | Effect.CFrame = Torso.CFrame | |
3761 | Effect.BrickColor = BrickColor.new("Lapis") | |
3762 | Effect.Shape = "Ball" | |
3763 | Effect.Size = Vector3.new(1, 1, 1) | |
3764 | Effect.Anchored = true | |
3765 | Effect.Material = "Neon" | |
3766 | Effect.CanCollide = false | |
3767 | Effect.CFrame = Torso.CFrame | |
3768 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
3769 | Effect.Transparency = Effect.Transparency + 0.04 | |
3770 | end | |
3771 | end | |
3772 | ||
3773 | repeat | |
3774 | Torso:FindFirstChild("Effect"):Remove() | |
3775 | until Torso:FindFirstChild("Effect") == nil | |
3776 | ||
3777 | ||
3778 | local Color1 = Color3.new(255, 255, 0) | |
3779 | local Color2 = Color3.new(255, 255, 0) | |
3780 | ||
3781 | ||
3782 | Hair7:Destroy() | |
3783 | wait(0.1) | |
3784 | Hair7 = Instance.new("Part") | |
3785 | Hair7.Parent = char | |
3786 | Hair7.Name = "Hair" | |
3787 | Hair7.CanCollide = false | |
3788 | Hair7.Locked = true | |
3789 | Hair7.TopSurface = "Smooth" | |
3790 | Hair7.BottomSurface = "Smooth" | |
3791 | Hair7.formFactor = "Symmetric" | |
3792 | Hair7.Material = "Neon" | |
3793 | Hair7.BrickColor = BrickColor.new("New Yeller") | |
3794 | Hair7.CFrame = char.Torso.CFrame | |
3795 | Hair7.Size = Vector3.new(1, 1, 1) | |
3796 | Hair7.Transparency = 0 | |
3797 | ||
3798 | ||
3799 | Weld1 = Instance.new("Weld") | |
3800 | Weld1.Parent = char.Head | |
3801 | Weld1.Part0 = char.Head | |
3802 | Weld1.Part1 = Hair7 | |
3803 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3804 | ||
3805 | Mesh = Instance.new("SpecialMesh") | |
3806 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3807 | Mesh.Parent = Hair7 | |
3808 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3809 | Mesh.MeshType = "FileMesh" | |
3810 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3811 | Mesh.TextureId = "" | |
3812 | char.Head.face.Texture = "rbxassetid://1108357707" | |
3813 | local Must = Instance.new("Sound",Torso) | |
3814 | Must.SoundId = "rbxassetid://1035030726" | |
3815 | Must.Pitch = 0.99 | |
3816 | Must.Volume = 1.4 | |
3817 | Must.Looped = false | |
3818 | wait(0) | |
3819 | Must:Play() | |
3820 | a21e = new("Part",char) | |
3821 | a21e.Name = "Beam"..num | |
3822 | a21e.Locked = true | |
3823 | a21e.Size = v3(1,1,1) | |
3824 | a21e.CanCollide = false | |
3825 | a21e.BrickColor = bc("Gold") | |
3826 | a21e.Material = "Neon" | |
3827 | a21e.Transparency = 0 | |
3828 | aa21e = new("SpecialMesh",a21e) | |
3829 | a21e.Anchored = true | |
3830 | a21e.Position = RootPart.Position | |
3831 | aa21e.MeshType = "Sphere" | |
3832 | aa21e.Scale = v3(1,1,1) | |
3833 | a51e = new("Part",char) | |
3834 | a51e.Name = "Beam"..num | |
3835 | a51e.Locked = true | |
3836 | a51e.Size = v3(1,1,1) | |
3837 | a51e.CanCollide = false | |
3838 | a51e.BrickColor = bc("New Yeller") | |
3839 | a51e.Material = "Neon" | |
3840 | a51e.Transparency = 0 | |
3841 | aa51e = new("SpecialMesh",a51e) | |
3842 | a51e.Anchored = true | |
3843 | a51e.Position = RootPart.Position | |
3844 | aa51e.MeshType = "Sphere" | |
3845 | aa51e.Scale = v3(1,1,1) | |
3846 | a61e = new("Part",char) | |
3847 | a61e.Name = "Beam"..num | |
3848 | a61e.Locked = true | |
3849 | a61e.Size = v3(1,1,1) | |
3850 | a61e.CanCollide = false | |
3851 | a61e.BrickColor = bc("White") | |
3852 | a61e.Material = "Neon" | |
3853 | a61e.Transparency = 0 | |
3854 | aa61e = new("SpecialMesh",a61e) | |
3855 | a61e.Anchored = true | |
3856 | a61e.Position = RootPart.Position | |
3857 | aa61e.MeshType = "Sphere" | |
3858 | aa61e.Scale = v3(1,1,1) | |
3859 | for i = 1,50 do | |
3860 | wait() | |
3861 | aa21e.Scale = aa21e.Scale + v3(1.6,1.6,1.6) | |
3862 | a21e.Transparency = a21e.Transparency + 0.03 | |
3863 | aa51e.Scale = aa51e.Scale + v3(2.8,2.8,2.8) | |
3864 | a51e.Transparency = a51e.Transparency + 0.03 | |
3865 | aa61e.Scale = aa61e.Scale + v3(0.5,0.5,0.5) | |
3866 | a61e.Transparency = a61e.Transparency + 0.02 | |
3867 | end | |
3868 | a61e:Destroy() | |
3869 | aa61e:Destroy() | |
3870 | a51e:Destroy() | |
3871 | aa51e:Destroy() | |
3872 | a21e:Destroy() | |
3873 | aa21e:Destroy() | |
3874 | ||
3875 | ||
3876 | local Aura = Instance.new('ParticleEmitter') | |
3877 | Aura.Name = "Aura" | |
3878 | Aura.Texture = "rbxassetid://347730682" | |
3879 | Aura.Parent = Torso | |
3880 | Aura.LightEmission = 1 | |
3881 | Aura.Transparency = NumberSequence.new(0.6,1) | |
3882 | Aura.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3883 | Aura.Size = NumberSequence.new(5.2,3.9,0.2) | |
3884 | Aura.LockedToPart = true | |
3885 | Aura.Lifetime = NumberRange.new(1) | |
3886 | Aura.Rate = 100 | |
3887 | Aura.Speed = NumberRange.new(4.3) | |
3888 | Aura.EmissionDirection = "Top" | |
3889 | local Aura = Instance.new('ParticleEmitter') | |
3890 | Aura.Name = "Aura" | |
3891 | Aura.Texture = "rbxassetid://1046299182" | |
3892 | Aura.Parent = Torso | |
3893 | Aura.LightEmission = 1 | |
3894 | Aura.Transparency = NumberSequence.new(0.3,1) | |
3895 | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
3896 | Aura.Size = NumberSequence.new(5) | |
3897 | Aura.Rotation = NumberRange.new(-360,360) | |
3898 | Aura.LockedToPart = true | |
3899 | Aura.Lifetime = NumberRange.new(0.2) | |
3900 | Aura.Rate = 20 | |
3901 | Aura.Speed = NumberRange.new(0) | |
3902 | Aura.EmissionDirection = "Top" | |
3903 | ||
3904 | SuperSaiyan2 = true | |
3905 | Humanoid.JumpPower = 120 | |
3906 | ||
3907 | Char.Humanoid.MaxHealth = Health | |
3908 | wait(0.3) | |
3909 | Char.Humanoid.Health = Health | |
3910 | wait(0.7) | |
3911 | Must:Destroy() | |
3912 | end | |
3913 | ||
3914 | function Base() | |
3915 | SuperSaiyan2 = false | |
3916 | local Effect = Instance.new("Part") | |
3917 | Effect.Name = "Effect" | |
3918 | Effect.Parent = Torso | |
3919 | Effect.CFrame = Torso.CFrame | |
3920 | Effect.BrickColor = BrickColor.new("White") | |
3921 | Effect.Shape = "Ball" | |
3922 | Effect.Size = Vector3.new(8, 8, 8) | |
3923 | Effect.Anchored = true | |
3924 | Effect.Material = "Neon" | |
3925 | Effect.CanCollide = false | |
3926 | for loop = 1, 25 do wait() | |
3927 | Effect.CFrame = Torso.CFrame | |
3928 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
3929 | Effect.Transparency = Effect.Transparency + 0.04 | |
3930 | ||
3931 | end | |
3932 | repeat | |
3933 | ||
3934 | ||
3935 | Torso:FindFirstChild("Effect"):Remove() | |
3936 | until Torso:FindFirstChild("Effect") == nil | |
3937 | ||
3938 | char.Head.face.Texture = "rbxassetid://1108342609" | |
3939 | Hair7:Destroy() | |
3940 | wait(0.1) | |
3941 | Hair7 = Instance.new("Part") | |
3942 | Hair7.Parent = char | |
3943 | Hair7.Name = "Hair" | |
3944 | Hair7.CanCollide = false | |
3945 | Hair7.Locked = true | |
3946 | Hair7.TopSurface = "Smooth" | |
3947 | Hair7.BottomSurface = "Smooth" | |
3948 | Hair7.formFactor = "Symmetric" | |
3949 | Hair7.Material = "Neon" | |
3950 | Hair7.BrickColor = BrickColor.new("Really black") | |
3951 | Hair7.CFrame = char.Torso.CFrame | |
3952 | Hair7.Size = Vector3.new(1, 1, 1) | |
3953 | Hair7.Transparency = 0 | |
3954 | ||
3955 | ||
3956 | Weld1 = Instance.new("Weld") | |
3957 | Weld1.Parent = char.Head | |
3958 | Weld1.Part0 = char.Head | |
3959 | Weld1.Part1 = Hair7 | |
3960 | Weld1.C0 = CFrame.new(0, 1.2, 0.64) | |
3961 | ||
3962 | Mesh = Instance.new("SpecialMesh") | |
3963 | Mesh.Offset = Vector3.new(0,-0.4,0) | |
3964 | Mesh.Parent = Hair7 | |
3965 | Mesh.Scale = Vector3.new(6.7, 6.7, 6.7) | |
3966 | Mesh.MeshType = "FileMesh" | |
3967 | Mesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
3968 | Mesh.TextureId = "" | |
3969 | ||
3970 | ||
3971 | ||
3972 | for i, v in pairs(Torso:GetChildren()) do | |
3973 | if v:IsA('ParticleEmitter') then | |
3974 | v:Remove() | |
3975 | end | |
3976 | end | |
3977 | for i, v in pairs(LeftArm:GetChildren()) do | |
3978 | if v:IsA('ParticleEmitter') then | |
3979 | v:Remove() | |
3980 | end | |
3981 | end | |
3982 | for i, v in pairs(RightArm:GetChildren()) do | |
3983 | if v:IsA('ParticleEmitter') then | |
3984 | v:Remove() | |
3985 | end | |
3986 | end | |
3987 | for i, v in pairs(RightLeg:GetChildren()) do | |
3988 | if v:IsA('ParticleEmitter') then | |
3989 | v:Remove() | |
3990 | end | |
3991 | end | |
3992 | for i, v in pairs(LeftLeg:GetChildren()) do | |
3993 | if v:IsA('ParticleEmitter') then | |
3994 | v:Remove() | |
3995 | end | |
3996 | end | |
3997 | ||
3998 | ||
3999 | end | |
4000 | end) | |
4001 | --- | |
4002 | ||
4003 | ||
4004 | ||
4005 | ||
4006 | musiccommand = 1 | |
4007 | musicwait = false | |
4008 | mouse.KeyDown:connect(function(k) | |
4009 | if k == "=" and attack == false then | |
4010 | if musiccommand == 1 and musicwait == false then | |
4011 | musicwait = true | |
4012 | sou2:Stop() | |
4013 | musiccommand = 2 | |
4014 | end | |
4015 | if musiccommand == 2 and musicwait == false then | |
4016 | musicwait = true | |
4017 | sou2:Play() | |
4018 | sou2.Volume = 2 | |
4019 | musiccommand = 3 | |
4020 | end | |
4021 | if musiccommand == 3 and musicwait == false then | |
4022 | musicwait = true | |
4023 | sou2.Volume = 0.5 | |
4024 | musiccommand = 1 | |
4025 | end | |
4026 | musicwait = false | |
4027 | end | |
4028 | end) | |
4029 | function HitpartFunk3(HPart3, Xv, Yv, Zv) | |
4030 | Hitpart3 = Instance.new("Part", HPart3) | |
4031 | Hitpart3.Size = Vector3.new(1, 1, 1) | |
4032 | Hitpart3.CanCollide = false | |
4033 | HuW3 = Instance.new("Weld") | |
4034 | HuW3.Name = "GuW" | |
4035 | HuW3.Part0 = HPart3 | |
4036 | HuW3.C0 = cn(Xv, Yv, Zv) | |
4037 | HuW3.C1 = cn(0, 0, 0) | |
4038 | HuW3.Part1 = Hitpart3 | |
4039 | HuW3.Parent = HPart3 | |
4040 | Hitpart3.Transparency = 1 | |
4041 | game:GetService("Debris"):AddItem(Hitpart3, 20) | |
4042 | end | |
4043 | function HitpartFunk2(HPart2, Xv, Yv, Zv) | |
4044 | Hitpart2 = Instance.new("Part", HPart2) | |
4045 | Hitpart2.Size = Vector3.new(1, 1, 1) | |
4046 | Hitpart2.CanCollide = false | |
4047 | HuW2 = Instance.new("Weld") | |
4048 | HuW2.Name = "GuW" | |
4049 | HuW2.Part0 = HPart2 | |
4050 | HuW2.C0 = cn(Xv, Yv, Zv) | |
4051 | HuW2.C1 = cn(0, 0, 0) | |
4052 | HuW2.Part1 = Hitpart2 | |
4053 | HuW2.Parent = HPart2 | |
4054 | Hitpart2.Transparency = 1 | |
4055 | game:GetService("Debris"):AddItem(Hitpart2, 20) | |
4056 | end | |
4057 | function HitpartFunk(HPart, Min, Max, Xv, Yv, Zv) | |
4058 | Hitpart = Instance.new("Part", HPart) | |
4059 | Hitpart.Size = Vector3.new(1, 1, 1) | |
4060 | Hitpart.CanCollide = false | |
4061 | HuW = Instance.new("Weld") | |
4062 | HuW.Name = "GuW" | |
4063 | HuW.Part0 = HPart | |
4064 | HuW.C0 = cn(Xv, Yv, Zv) | |
4065 | HuW.C1 = cn(0, 0, 0) | |
4066 | HuW.Part1 = Hitpart | |
4067 | HuW.Parent = HPart | |
4068 | Hitpart.Transparency = 1 | |
4069 | MagniDamage(Hitpart, 4.5, Min, Max, 1, "Normal") | |
4070 | end | |
4071 | wait2 = false | |
4072 | combo = 1 | |
4073 | mouse.Button1Down:connect(function(key) | |
4074 | if attack == false then | |
4075 | attack = true | |
4076 | Humanoid.WalkSpeed = 17.01 | |
4077 | if combo == 1 and wait2 == false then | |
4078 | wait2 = true | |
4079 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", LeftArm, 1, 1) | |
4080 | HitpartFunk(LeftArm, 20, 60, 0, -0.5, 0) | |
4081 | for i = 0, 1, 0.1 do | |
4082 | swait() | |
4083 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4084 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4085 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4086 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4087 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4088 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4089 | end | |
4090 | combo = 2 | |
4091 | end | |
4092 | if combo == 2 and wait2 == false then | |
4093 | wait2 = true | |
4094 | ||
4095 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", RightArm, 1, 1) | |
4096 | for i = 0, 1, 0.1 do | |
4097 | swait() | |
4098 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4099 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4100 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4101 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4102 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4103 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4104 | end | |
4105 | combo = 3 | |
4106 | end | |
4107 | if combo == 3 and wait2 == false then | |
4108 | wait2 = true | |
4109 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=232210079", LeftArm, 1, 1) | |
4110 | HitpartFunk(RightLeg, 5, 10, 0, -0.5, 0) | |
4111 | for i = 0, 1, 0.1 do | |
4112 | swait() | |
4113 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4114 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4115 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4116 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4117 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4118 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4119 | end | |
4120 | combo = 1 | |
4121 | end | |
4122 | Humanoid.WalkSpeed = 16 | |
4123 | Hitpart:Destroy() | |
4124 | wait2 = false | |
4125 | attack = false | |
4126 | end | |
4127 | end) | |
4128 | -- | |
4129 | -- | |
4130 | MV1 = 20 | |
4131 | mouse.KeyDown:connect(function(k) | |
4132 | if k == "=" and attack == false then | |
4133 | if firemode == true then | |
4134 | firemode = false | |
4135 | print("ice mode") | |
4136 | icesmoke.Acceleration = Vector3.new(0,0,0) | |
4137 | icesmoke.Texture = "http://www.roblox.com/asset/?id=243728104" | |
4138 | icesmoke.Transparency = NumberSequence.new({ | |
4139 | NumberSequenceKeypoint.new(0, 0.9), | |
4140 | NumberSequenceKeypoint.new(1, 1) | |
4141 | }) | |
4142 | icesmoke.Size = NumberSequence.new(3) | |
4143 | icesmoke.Parent = RightArm | |
4144 | else | |
4145 | firemode = true | |
4146 | print("fire mode") | |
4147 | ice_mode = false | |
4148 | game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3" | |
4149 | icesmoke.Acceleration = Vector3.new(0, 15, 0) | |
4150 | icesmoke.Rate = 400 | |
4151 | icesmoke.Texture = "http://www.roblox.com/asset/?id=11601142" | |
4152 | icesmoke.Transparency = NumberSequence.new(0.7, 1) | |
4153 | icesmoke.Size = NumberSequence.new(3) | |
4154 | icesmoke.EmissionDirection = "Top" | |
4155 | icesmoke.Parent = LeftArm | |
4156 | end | |
4157 | end | |
4158 | if attack == false and k == "x==" and MV1 > 19 and firemode == false then | |
4159 | MV1 = 90 | |
4160 | Humanoid.WalkSpeed = 15 | |
4161 | attack = true | |
4162 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=131632972", LeftArm, 1, 1.5) | |
4163 | Firepart2 = Instance.new("Part", LeftArm) | |
4164 | Firepart2.Size = Vector3.new(1, 1, 1) | |
4165 | Firepart2.CanCollide = false | |
4166 | GuW2 = Instance.new("Weld") | |
4167 | GuW2.Name = "GuW" | |
4168 | GuW2.Part0 = LeftArm | |
4169 | GuW2.C0 = cn(0, -0.5, 0) | |
4170 | GuW2.C1 = cn(0, 0, 0) | |
4171 | GuW2.Part1 = Firepart2 | |
4172 | GuW2.Parent = LeftArm | |
4173 | Firepart2.Transparency = 1 | |
4174 | MagniDamage(Firepart2, 6, 20, 40, 10, "Normal") | |
4175 | for i = 0, 2, 0.1 do | |
4176 | swait() | |
4177 | BlockEffect(BrickColor.new("Cyan"), Firepart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
4178 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4179 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4180 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4181 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(130 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4182 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4183 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4184 | end | |
4185 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", LeftArm, 1, 2.7) | |
4186 | BlockEffect(BrickColor.new("Cyan"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.025) | |
4187 | BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.02) | |
4188 | MagniDamage(Firepart2, 35, 35, 35, 0, "Freeze") | |
4189 | Humanoid.WalkSpeed = 16 | |
4190 | attack = false | |
4191 | Firepart2:Destroy() | |
4192 | end | |
4193 | end) | |
4194 | MV2 = 90 | |
4195 | ||
4196 | mouse.KeyDown:connect(function(key) | |
4197 | if key == "=" then | |
4198 | Head.Transparency = 1 | |
4199 | Torso.Transparency = 1 | |
4200 | LeftArm.Transparency = 1 | |
4201 | Head.face.Texture = "" | |
4202 | RightArm.Transparency = 1 | |
4203 | LeftLeg.Transparency = 1 | |
4204 | RightLeg.Transparency = 1 | |
4205 | mesh1.Transparency = 1 | |
4206 | mesh2.Transparency = 1 | |
4207 | mesh5.Transparency = 1 | |
4208 | mesheye.Transparency = 1 | |
4209 | mesheye1.Transparency = 1 | |
4210 | mesheye2.Transparency = 1 | |
4211 | mesheye3.Transparency = 1 | |
4212 | char.Parent = workspace.Camera | |
4213 | char.WalkSpeed = 60 | |
4214 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
4215 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
4216 | end | |
4217 | end | |
4218 | end) | |
4219 | mouse.KeyUp:connect(function(key) | |
4220 | if key == "=" then | |
4221 | Head.Transparency = 0 | |
4222 | Torso.Transparency = 0 | |
4223 | LeftArm.Transparency = 0 | |
4224 | Head.face.Texture = "" | |
4225 | RightArm.Transparency = 0 | |
4226 | LeftLeg.Transparency = 0 | |
4227 | RightLeg.Transparency = 0 | |
4228 | mesh1.Transparency = 0 | |
4229 | mesh2.Transparency = 0 | |
4230 | mesh5.Transparency = 0 | |
4231 | mesheye.Transparency = 0 | |
4232 | mesheye1.Transparency = 0 | |
4233 | mesheye2.Transparency = 0 | |
4234 | mesheye3.Transparency = 0 | |
4235 | hat1.Transparency = 0 | |
4236 | hat2.Transparency = 0 | |
4237 | hat3.Transparency = 0 | |
4238 | hat4.Transparency = 0 | |
4239 | hat5.Transparency = 0 | |
4240 | hat6.Transparency = 0 | |
4241 | hat7.Transparency = 0 | |
4242 | hat8.Transparency = 0 | |
4243 | hat9.Transparency = 0 | |
4244 | char.Parent = workspace | |
4245 | end | |
4246 | end) | |
4247 | ||
4248 | mouse.KeyDown:connect(function(k) | |
4249 | if attack == false and k == "x" and MV2 > 89 and firemode == true then | |
4250 | MV2 = 90 | |
4251 | attack = true | |
4252 | Firepart = Instance.new("Part", RightArm) | |
4253 | Firepart.Size = Vector3.new(1, 1, 1) | |
4254 | GuW = Instance.new("Weld") | |
4255 | GuW.Name = "GuW" | |
4256 | GuW.Part0 = RightArm | |
4257 | GuW.C0 = cn(0, -1, 0) | |
4258 | GuW.C1 = cn(0, 0, 0) | |
4259 | GuW.Part1 = Firepart | |
4260 | GuW.Parent = RightArm | |
4261 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.7) | |
4262 | Firepart.Transparency = 1 | |
4263 | Humanoid.WalkSpeed = 15 | |
4264 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=586187912", RightArm, 1, 0.8) | |
4265 | CreateSound("http://www.roblox.com/asset/?id=633130540", RightArm, 0.5, 1.5) | |
4266 | for i = 1, 3 do | |
4267 | BlockEffect(BrickColor.new("New Yeller"), Firepart.CFrame, 1, 1, 1, 6, 6, 6, 0.06) | |
4268 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 5.8, 5.8, 5.8, 0.06) | |
4269 | end | |
4270 | for i = 0, 3, 0.1 do | |
4271 | BlockEffect(BrickColor.new("New Yeller"), Firepart.CFrame, 1, 1, 1, 1, 1, 1, 0.06) | |
4272 | swait() | |
4273 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4274 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
4275 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(130 + 1 * math.cos(sine / 25))), 0.05) | |
4276 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
4277 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4278 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4279 | end | |
4280 | wait(1) | |
4281 | shoottraildd22(mouse.Hit.p, RightArm, 0, 10) | |
4282 | ||
4283 | Humanoid.WalkSpeed = 16 | |
4284 | attack = false | |
4285 | Firepart:Destroy() | |
4286 | end | |
4287 | ||
4288 | ||
4289 | ||
4290 | ||
4291 | if attack == false and k == "=" and MV2 > 89 and InForm == true then | |
4292 | MV2 = 90 | |
4293 | attack = true | |
4294 | Firepart = Instance.new("Part", RightArm) | |
4295 | Firepart.Size = Vector3.new(1, 1, 1) | |
4296 | GuW = Instance.new("Weld") | |
4297 | GuW.Name = "GuW" | |
4298 | GuW.Part0 = RightArm | |
4299 | GuW.C0 = cn(0, -1, 0) | |
4300 | GuW.C1 = cn(0, 0, 0) | |
4301 | GuW.Part1 = Firepart | |
4302 | GuW.Parent = RightArm | |
4303 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.7) | |
4304 | Firepart.Transparency = 1 | |
4305 | Humanoid.WalkSpeed = 0.01 | |
4306 | for i = 0, 4, 0.1 do | |
4307 | swait() | |
4308 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
4309 | BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
4310 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4311 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
4312 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(90 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1) | |
4313 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
4314 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4315 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4316 | end | |
4317 | for i = 0, 4, 0.1 do | |
4318 | swait() | |
4319 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
4320 | BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
4321 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4322 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
4323 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1) | |
4324 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
4325 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4326 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4327 | end | |
4328 | shoottraildd(mouse.Hit.p, RightArm, 0, 10) | |
4329 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433410", RightArm, 1, 0.8) | |
4330 | CreateSound("http://www.roblox.com/asset/?id=633130540", RightArm, 0.5, 1.5) | |
4331 | for i = 1, 3 do | |
4332 | BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 6, 6, 6, 0.06) | |
4333 | BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 5.8, 5.8, 5.8, 0.06) | |
4334 | end | |
4335 | for i = 0, 2, 0.1 do | |
4336 | BlockEffect(BrickColor.new("Really black"), Firepart.CFrame, 1, 1, 1, 1, 1, 1, 0.06) | |
4337 | swait() | |
4338 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4339 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
4340 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(130 + 1 * math.cos(sine / 25))), 0.05) | |
4341 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1) | |
4342 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4343 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1) | |
4344 | end | |
4345 | Humanoid.WalkSpeed = 16 | |
4346 | attack = false | |
4347 | Firepart:Destroy() | |
4348 | end | |
4349 | end) | |
4350 | Rapid = false | |
4351 | BasePart = Instance.new("Part") | |
4352 | BasePart.Shape = Enum.PartType.Block | |
4353 | BasePart.Material = Enum.Material.Neon | |
4354 | BasePart.TopSurface = Enum.SurfaceType.Smooth | |
4355 | BasePart.BottomSurface = Enum.SurfaceType.Smooth | |
4356 | BasePart.FormFactor = Enum.FormFactor.Custom | |
4357 | BasePart.Size = Vector3.new(0.2, 0.2, 0.2) | |
4358 | BasePart.CanCollide = true | |
4359 | BasePart.Locked = true | |
4360 | BasePart.Anchored = false | |
4361 | local icy_Player = game.Players.localPlayer | |
4362 | local icy_mouse = icy_Player:GetMouse() | |
4363 | ice_mode = false | |
4364 | local colors = { | |
4365 | BrickColor.new("Cyan"), | |
4366 | BrickColor.new("Medium blue"), | |
4367 | BrickColor.new("Pastel blue") | |
4368 | } | |
4369 | local root = game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") | |
4370 | if root then | |
4371 | icy_mouse.KeyDown:connect(function(k) | |
4372 | if k == "=" and firemode == false then | |
4373 | if ice_mode == true then | |
4374 | ice_mode = false | |
4375 | game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3" | |
4376 | else | |
4377 | ice_mode = true | |
4378 | game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxassetid://571670708" | |
4379 | end | |
4380 | end | |
4381 | if k == "z" and firemode == true then | |
4382 | attack = true | |
4383 | do | |
4384 | local Stop = false | |
4385 | local Version = 0 | |
4386 | local MaxSpeed = 5 | |
4387 | local Speed = 3.5 | |
4388 | local Keys = {} | |
4389 | local Force = 10000 | |
4390 | CreateSound("http://www.roblox.com/asset/?id=1056635059", Torso, 1, 1) | |
4391 | swait(0.5) | |
4392 | local Fly, Rot = char.Torso:FindFirstChild("LMMFly"), char.Torso:FindFirstChild("LMMRot") | |
4393 | if Fly then | |
4394 | Fly:Destroy() | |
4395 | end | |
4396 | if Rot then | |
4397 | Rot:Destroy() | |
4398 | end | |
4399 | Fly = Instance.new("BodyPosition", char.Torso) | |
4400 | Fly.Name = "LMMFly" | |
4401 | Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4402 | Fly.P = Force | |
4403 | Fly.position = char.Torso.Position | |
4404 | Rot = Instance.new("BodyGyro", char.Torso) | |
4405 | Rot.Name = "LMMRot" | |
4406 | Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
4407 | Rot.P = Force | |
4408 | Rot.cframe = cam.CoordinateFrame | |
4409 | CreateSound("http://www.roblox.com/asset/?id=", Fly, 2, 1.5) | |
4410 | local Thread, Old = Version, nil | |
4411 | char.Humanoid.PlatformStand = true | |
4412 | function StopFly() | |
4413 | Version = Version + 1 | |
4414 | Stop = true | |
4415 | char.Humanoid.PlatformStand = false | |
4416 | Fly:Destroy() | |
4417 | Rot:Destroy() | |
4418 | attack = false | |
4419 | end | |
4420 | char.ChildAdded:connect(function(Obj) | |
4421 | wait() | |
4422 | if Obj.Name == "LM" .. "MFlyStop" then | |
4423 | Obj:Destroy() | |
4424 | StopFly() | |
4425 | end | |
4426 | end) | |
4427 | HitpartFunk2(RightArm, 0, -0.7, 0) | |
4428 | HitpartFunk3(LeftArm, 0, -0.7, 0) | |
4429 | for i = 0, 25, 0.1 do | |
4430 | if attack == true then | |
4431 | swait() | |
4432 | ||
4433 | end | |
4434 | local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position | |
4435 | if Keys[string.char(48)] then | |
4436 | Speed = 1 | |
4437 | end | |
4438 | if Keys.w then | |
4439 | Vectoring = Vectoring + cam.CoordinateFrame.lookVector * Speed | |
4440 | end | |
4441 | if Keys.s then | |
4442 | Vectoring = Vectoring - cam.CoordinateFrame.lookVector * Speed | |
4443 | end | |
4444 | if Keys.d then | |
4445 | Vectoring = Vectoring * CFrame.new(Speed, 0, 0) | |
4446 | end | |
4447 | if Keys.a then | |
4448 | Vectoring = Vectoring * CFrame.new(-Speed, 0, 0) | |
4449 | end | |
4450 | if Keys.e or Keys[" "] then | |
4451 | Vectoring = Vectoring * CFrame.new(0, Speed, 0) | |
4452 | end | |
4453 | if Keys.q then | |
4454 | Vectoring = Vectoring * CFrame.new(0, -Speed, 0) | |
4455 | end | |
4456 | if Keys.z then | |
4457 | StopFly() | |
4458 | end | |
4459 | if Old ~= Vectoring then | |
4460 | Fly.position = Vectoring.p | |
4461 | Old = Vectoring | |
4462 | Speed = math.min(Speed + Speed * 0.025, MaxSpeed) | |
4463 | else | |
4464 | Speed = 1 | |
4465 | end | |
4466 | Rot.cframe = cam.CoordinateFrame | |
4467 | mouse.KeyDown:connect(function(Key) | |
4468 | Keys[Key] = true | |
4469 | end) | |
4470 | mouse.KeyUp:connect(function(Key) | |
4471 | Keys[Key] = false | |
4472 | end) | |
4473 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4474 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
4475 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.2) | |
4476 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.2) | |
4477 | RH.C0 = clerp(RH.C0, cn(1, -0.6, -0.4) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1) | |
4478 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.1) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.1) | |
4479 | end | |
4480 | CreateSound("http://www.roblox.com/asset/?id=633130540", Torso, 0.8, 0.8) | |
4481 | attack = false | |
4482 | char.Humanoid.PlatformStand = false | |
4483 | Fly:Destroy() | |
4484 | Rot:Destroy() | |
4485 | end | |
4486 | end | |
4487 | if k == "=" and InForm == true then | |
4488 | attack = true | |
4489 | do | |
4490 | local Stop = false | |
4491 | local Version = 0 | |
4492 | local MaxSpeed = 6 | |
4493 | local Speed = 3 | |
4494 | local Keys = {} | |
4495 | local Force = 10000 | |
4496 | CreateSound("http://www.roblox.com/asset/?id=260433410", Torso, 1, 1) | |
4497 | swait(1) | |
4498 | local Fly, Rot = char.Torso:FindFirstChild("LMMFly"), char.Torso:FindFirstChild("LMMRot") | |
4499 | if Fly then | |
4500 | Fly:Destroy() | |
4501 | end | |
4502 | if Rot then | |
4503 | Rot:Destroy() | |
4504 | end | |
4505 | Fly = Instance.new("BodyPosition", char.Torso) | |
4506 | Fly.Name = "LMMFly" | |
4507 | Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4508 | Fly.P = Force | |
4509 | Fly.position = char.Torso.Position | |
4510 | Rot = Instance.new("BodyGyro", char.Torso) | |
4511 | Rot.Name = "LMMRot" | |
4512 | Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
4513 | Rot.P = Force | |
4514 | Rot.cframe = cam.CoordinateFrame | |
4515 | CreateSound("http://www.roblox.com/asset/?id=192104941", Fly, 2, 1.5) | |
4516 | local Thread, Old = Version, nil | |
4517 | char.Humanoid.PlatformStand = true | |
4518 | function StopFly() | |
4519 | Version = Version + 1 | |
4520 | Stop = true | |
4521 | char.Humanoid.PlatformStand = false | |
4522 | Fly:Destroy() | |
4523 | Rot:Destroy() | |
4524 | attack = false | |
4525 | end | |
4526 | char.ChildAdded:connect(function(Obj) | |
4527 | wait() | |
4528 | if Obj.Name == "LM" .. "MFlyStop" then | |
4529 | Obj:Destroy() | |
4530 | StopFly() | |
4531 | end | |
4532 | end) | |
4533 | HitpartFunk2(RightArm, 0, -0.7, 0) | |
4534 | HitpartFunk3(LeftArm, 0, -0.7, 0) | |
4535 | for i = 0, 25, 0.1 do | |
4536 | if attack == true then | |
4537 | swait() | |
4538 | BlockEffect(BrickColor.new("Gold"), Hitpart2.CFrame, 13, 13, 13, 2, 2, 2, 0.1, 2) | |
4539 | BlockEffect(BrickColor.new("Really red"), Hitpart2.CFrame, 11, 11, 11, 1.8, 1.8, 1.8, 0.1, 2) | |
4540 | BlockEffect(BrickColor.new("Gold"), Hitpart3.CFrame, 13, 13, 13, 2, 2, 2, 0.1, 2) | |
4541 | BlockEffect(BrickColor.new("Really red"), Hitpart3.CFrame, 11, 11, 11, 1.8, 1.8, 1.8, 0.1, 2) | |
4542 | end | |
4543 | local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position | |
4544 | if Keys[string.char(48)] then | |
4545 | Speed = 1 | |
4546 | end | |
4547 | if Keys.w then | |
4548 | Vectoring = Vectoring + cam.CoordinateFrame.lookVector * Speed | |
4549 | end | |
4550 | if Keys.s then | |
4551 | Vectoring = Vectoring - cam.CoordinateFrame.lookVector * Speed | |
4552 | end | |
4553 | if Keys.d then | |
4554 | Vectoring = Vectoring * CFrame.new(Speed, 0, 0) | |
4555 | end | |
4556 | if Keys.a then | |
4557 | Vectoring = Vectoring * CFrame.new(-Speed, 0, 0) | |
4558 | end | |
4559 | if Keys.e or Keys[" "] then | |
4560 | Vectoring = Vectoring * CFrame.new(0, Speed, 0) | |
4561 | end | |
4562 | if Keys.q then | |
4563 | Vectoring = Vectoring * CFrame.new(0, -Speed, 0) | |
4564 | end | |
4565 | if Keys.z then | |
4566 | StopFly() | |
4567 | end | |
4568 | if Old ~= Vectoring then | |
4569 | Fly.position = Vectoring.p | |
4570 | Old = Vectoring | |
4571 | Speed = math.min(Speed + Speed * 0.025, MaxSpeed) | |
4572 | else | |
4573 | Speed = 1 | |
4574 | end | |
4575 | Rot.cframe = cam.CoordinateFrame | |
4576 | mouse.KeyDown:connect(function(Key) | |
4577 | Keys[Key] = true | |
4578 | end) | |
4579 | mouse.KeyUp:connect(function(Key) | |
4580 | Keys[Key] = false | |
4581 | end) | |
4582 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4583 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
4584 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.2) | |
4585 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.2) | |
4586 | RH.C0 = clerp(RH.C0, cn(1, -0.6, -0.4) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1) | |
4587 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.1) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.1) | |
4588 | end | |
4589 | CreateSound("http://www.roblox.com/asset/?id=633130540", Torso, 0.8, 0.8) | |
4590 | attack = false | |
4591 | char.Humanoid.PlatformStand = false | |
4592 | Fly:Destroy() | |
4593 | Rot:Destroy() | |
4594 | end | |
4595 | end | |
4596 | end) | |
4597 | game:GetService("RunService").Stepped:connect(function() | |
4598 | if ice_mode == true then | |
4599 | local part, pos, normal = workspace:FindPartOnRay(Ray.new(root.Position, Vector3.new(0, -64, 0)), game:GetService("Players").LocalPlayer.Character) | |
4600 | local icePath = BasePart:Clone() | |
4601 | icePath.Anchored = true | |
4602 | icePath.Transparency = 0.85 | |
4603 | icePath.Size = Vector3.new(3 + math.random(), 0.2 + math.random() * 0.2, 3 + math.random()) | |
4604 | icePath.CFrame = CFrame.new(pos, pos + normal) * CFrame.Angles(-math.pi / 2, math.pi * 2 * math.random(), 0) | |
4605 | icePath.BrickColor = colors[math.random(1, #colors)] | |
4606 | icePath.Parent = game:GetService("Players").LocalPlayer.Character | |
4607 | game:GetService("Debris"):AddItem(icePath, 1) | |
4608 | icePath.Velocity = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 36 | |
4609 | end | |
4610 | end) | |
4611 | end | |
4612 | MV3 = 190 | |
4613 | mouse.KeyDown:connect(function(k) | |
4614 | if attack == false and k == "=" and MV3 > 19 and hoop == true then | |
4615 | MV3 = 80 | |
4616 | attack = true | |
4617 | Humanoid.WalkSpeed = 15 | |
4618 | HitpartFunk2(RightArm, 0, -0.5, 0) | |
4619 | HitpartFunk3(LeftArm, 0, -0.5, 0) | |
4620 | for i = 0, 1.5, 0.1 do | |
4621 | swait() | |
4622 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4623 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3) | |
4624 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4625 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4626 | RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4627 | LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
4628 | end | |
4629 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", Torso, 1, 0.6) | |
4630 | for i = 0, 2, 0.1 do | |
4631 | swait() | |
4632 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4633 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
4634 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1) | |
4635 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1) | |
4636 | RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4637 | LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
4638 | end | |
4639 | for i = 0, 4.2, 0.1 do | |
4640 | swait() | |
4641 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
4642 | BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
4643 | BlockEffect(BrickColor.new("Cyan"), Hitpart3.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
4644 | BlockEffect(BrickColor.new("Medium blue"), Hitpart3.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
4645 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1.5, -1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) | |
4646 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
4647 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.1) | |
4648 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.1) | |
4649 | RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.2) | |
4650 | LH.C0 = clerp(LH.C0, cn(-1, -0.55, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
4651 | end | |
4652 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 61, 61, 61, -2, -2, -2, 0.04) | |
4653 | BlockEffect(BrickColor.new("White"), Hitpart2.CFrame, 10, 10, 10, 2, 2, 2, 0.06) | |
4654 | BlockEffect(BrickColor.new("Cyan"), Hitpart3.CFrame, 61, 61, 61, -2, -2, -2, 0.04) | |
4655 | BlockEffect(BrickColor.new("White"), Hitpart3.CFrame, 10, 10, 10, 2, 2, 2, 0.06) | |
4656 | BlockEffect(BrickColor.new("Cyan"), Torso.CFrame, 1, 1, 1, 55, 55, 55, 0.08) | |
4657 | MagniDamage(Torso, 75, 70, 75, 40, "Freeze") | |
4658 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 2, 0.5) | |
4659 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435136", Torso, 4, 1.5) | |
4660 | for i = 0, 2, 0.1 do | |
4661 | swait() | |
4662 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1.5, -1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) | |
4663 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
4664 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.1) | |
4665 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.1) | |
4666 | RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1) | |
4667 | LH.C0 = clerp(LH.C0, cn(-1, -0.55, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
4668 | end | |
4669 | for i = 0, 2, 0.1 do | |
4670 | swait() | |
4671 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4672 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3) | |
4673 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4674 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1) | |
4675 | RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4676 | LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4677 | end | |
4678 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=201858144", Torso, 3, 0.65) | |
4679 | for i = 0, 4, 0.1 do | |
4680 | swait() | |
4681 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
4682 | BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
4683 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, -0.1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
4684 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4685 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1) | |
4686 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
4687 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.1) | |
4688 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.1) | |
4689 | end | |
4690 | for i = 0, 2, 0.1 do | |
4691 | swait() | |
4692 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08) | |
4693 | BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09) | |
4694 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -0.1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4695 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(25), math.rad(0), math.rad(0)), 0.1) | |
4696 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, -0.6) * angles(math.rad(100), math.rad(0), math.rad(-25)), 0.4) | |
4697 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1) | |
4698 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.1) | |
4699 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4700 | end | |
4701 | for i = 1, 6 do | |
4702 | BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 61, 61, 61, -2, -2, -2, 0.04) | |
4703 | BlockEffect(BrickColor.new("White"), Hitpart2.CFrame, 10, 10, 10, 2, 2, 2, 0.06) | |
4704 | MagniDamage(Torso, 75, 1, 75, 40, "Impale") | |
4705 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Hitpart2, 1, 0.65) | |
4706 | wait(0.15) | |
4707 | end | |
4708 | attack = false | |
4709 | Humanoid.WalkSpeed = 16 | |
4710 | end | |
4711 | if attack == false and k == "c" and MV3 > 189 and firemode == true then | |
4712 | Humanoid.WalkSpeed = 1 | |
4713 | MV3 = 80 | |
4714 | attack = true | |
4715 | FastFireBall = Instance.new("Part", RightArm) | |
4716 | FastFireBall.Size = Vector3.new(1, 1, 1) | |
4717 | FFW = Instance.new("Weld") | |
4718 | FFW.Name = "GuW" | |
4719 | FFW.Part0 = RightArm | |
4720 | FFW.C0 = cn(0, -1, 0) | |
4721 | FFW.C1 = cn(0, 0, 0) | |
4722 | FFW.Part1 = FastFireBall | |
4723 | FFW.Parent = RightArm | |
4724 | FastFireBall.Transparency = 1 | |
4725 | FastFireBall2 = Instance.new("Part", LeftArm) | |
4726 | FastFireBall2.Size = Vector3.new(1, 1, 1) | |
4727 | FFW2 = Instance.new("Weld") | |
4728 | FFW2.Name = "GuW" | |
4729 | FFW2.Part0 = LeftArm | |
4730 | FFW2.C0 = cn(0, -1, 0) | |
4731 | FFW2.C1 = cn(0, 0, 0) | |
4732 | FFW2.Part1 = FastFireBall2 | |
4733 | FFW2.Parent = LeftArm | |
4734 | FastFireBall2.Transparency = 1 | |
4735 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.04, 1) | |
4736 | BlockEffect(BrickColor.new("Gold"), FastFireBall2.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.04, 1) | |
4737 | for i = 0, 1, 0.1 do | |
4738 | swait() | |
4739 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
4740 | BlockEffect(BrickColor.new("Gold"), FastFireBall.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
4741 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
4742 | BlockEffect(BrickColor.new("Gold"), FastFireBall2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
4743 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
4744 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4745 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2) | |
4746 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2) | |
4747 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
4748 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
4749 | end | |
4750 | BlockEffect(BrickColor.new("White"), FastFireBall.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.05) | |
4751 | BlockEffect(BrickColor.new("White"), FastFireBall2.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.05) | |
4752 | function holding() | |
4753 | if Rapid == true and ice_mode == false then | |
4754 | for i = 0, 0.8, 0.1 do | |
4755 | swait() | |
4756 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall2.CFrame, 1, 1, 1, 3, 3, 3, 0.09, 1) | |
4757 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.09, 1) | |
4758 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-20)), 0.3) | |
4759 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(5), math.rad(20)), 0.25) | |
4760 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(200), math.rad(0), math.rad(70)), 0.5) | |
4761 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(20)), 0.4) | |
4762 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(20), math.rad(0)), 0.3) | |
4763 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(20), math.rad(0)), 0.3) | |
4764 | end | |
4765 | CreateSound("http://www.roblox.com/asset/?id=201858144", FastFireBall2, 2, 2) | |
4766 | shoottraildd4(mouse.Hit.p, FastFireBall2, 0, 10) | |
4767 | for i = 0, 0.8, 0.1 do | |
4768 | swait() | |
4769 | BlockEffect(BrickColor.new("New Yeller"), FastFireBall.CFrame, 1, 1, 1, 3, 3, 3, 0.09, 1) | |
4770 | BlockEffect(BrickColor.new("Gold"), FastFireBall.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.09, 1) | |
4771 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(20)), 0.3) | |
4772 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(-5), math.rad(-20)), 0.25) | |
4773 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.4) | |
4774 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(200), math.rad(0), math.rad(-70)), 0.5) | |
4775 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.3) | |
4776 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.3) | |
4777 | end | |
4778 | CreateSound("http://www.roblox.com/asset/?id=150442604", FastFireBall, 2, 2) | |
4779 | shoottraildd4(mouse.Hit.p, FastFireBall, 0, 10) | |
4780 | holding() | |
4781 | end | |
4782 | end | |
4783 | if Rapid == false then | |
4784 | Rapid = true | |
4785 | holding() | |
4786 | end | |
4787 | end | |
4788 | end) | |
4789 | mouse.KeyUp:connect(function(k) | |
4790 | if k == "c" and Rapid == true then | |
4791 | MV3 = 180 | |
4792 | Rapid = false | |
4793 | CreateSound("http://www.roblox.com/asset/?id=150442604", Torso, 2, 0.8) | |
4794 | attack = false | |
4795 | wait(0.5) | |
4796 | Humanoid.WalkSpeed = 16 | |
4797 | FastFireBall:Destroy() | |
4798 | FastFireBall2:Destroy() | |
4799 | end | |
4800 | end) | |
4801 | ||
4802 | ||
4803 | mouse.KeyUp:connect(function(k) | |
4804 | if k == "q" then | |
4805 | Combo1() | |
4806 | end | |
4807 | end) | |
4808 | ||
4809 | mouse.KeyUp:connect(function(k) | |
4810 | if k == "r" then | |
4811 | Combo2() | |
4812 | end | |
4813 | end) | |
4814 | ||
4815 | mouse.KeyUp:connect(function(k) | |
4816 | if k == "t" then | |
4817 | Combo3() | |
4818 | end | |
4819 | end) | |
4820 | mouse.KeyUp:connect(function(k) | |
4821 | if k == "u" then | |
4822 | Combo4() | |
4823 | end | |
4824 | end) | |
4825 | ||
4826 | ||
4827 | SoundFolder = Instance.new("Folder",char) | |
4828 | SoundFolder.Name = "SoundFolder" | |
4829 | punchsound1 = Instance.new("Sound",Torso) | |
4830 | punchsound1.Volume = 1.2 | |
4831 | punchsound1.Name = "punchsound1" | |
4832 | punchsound1.Looped = false | |
4833 | punchsound1.SoundId = "rbxassetid://137579113" | |
4834 | StrongPunch = Instance.new("Sound",Torso) | |
4835 | StrongPunch.Volume = 1.6 | |
4836 | StrongPunch.Name = "StrongPunch" | |
4837 | StrongPunch.Looped = false | |
4838 | StrongPunch.SoundId = "rbxassetid://441202925" | |
4839 | StrongPunch = Instance.new("Sound",Torso) | |
4840 | StrongPunch.Volume = 1.6 | |
4841 | StrongPunch.Name = "StrongPunch" | |
4842 | StrongPunch.Looped = false | |
4843 | StrongPunch.SoundId = "rbxassetid://441202925" | |
4844 | StrongPunch1 = Instance.new("Sound",Torso) | |
4845 | StrongPunch1.Volume = 1.6 | |
4846 | StrongPunch1.Name = "StrongPunch" | |
4847 | StrongPunch1.Looped = false | |
4848 | StrongPunch1.SoundId = "rbxassetid://441202925" | |
4849 | StrongPunch2 = Instance.new("Sound",Torso) | |
4850 | StrongPunch2.Volume = 1.6 | |
4851 | StrongPunch2.Name = "StrongPunch" | |
4852 | StrongPunch.Looped = false | |
4853 | StrongPunch2.SoundId = "rbxassetid://441202925" | |
4854 | Zano = Instance.new("Sound",Torso) | |
4855 | Zano.Volume = 6 | |
4856 | Zano.Name = "Zano" | |
4857 | Zano.Looped = false | |
4858 | Zano.SoundId = "rbxassetid://744770874" | |
4859 | GroundImpact = Instance.new("Sound",Torso) | |
4860 | GroundImpact.Volume = 8 | |
4861 | GroundImpact.Name = "GroundImpact" | |
4862 | GroundImpact.Looped = false | |
4863 | GroundImpact.SoundId = "rbxassetid://165970126" | |
4864 | Break = Instance.new("Sound",Torso) | |
4865 | Break.Volume = 5 | |
4866 | Break.Name = "Bonebreak" | |
4867 | Break.Looped = false | |
4868 | Break.SoundId = "rbxassetid://314390675" | |
4869 | ||
4870 | local hit1 = false | |
4871 | local hit2 = false | |
4872 | local hit3 = false | |
4873 | local hit4 = false | |
4874 | ||
4875 | function Combo1() | |
4876 | getplayer = new("Part",char) | |
4877 | getplayer.Position = Vector3.new(999,999,999) | |
4878 | getplayer.Transparency = 1 | |
4879 | getplayer.Size = v3(3,3,3) | |
4880 | getplayer.CanCollide = false | |
4881 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
4882 | getplayer.Name = "GetPlayer" | |
4883 | ||
4884 | game.Debris:AddItem(getplayer,0.5) | |
4885 | ||
4886 | getplayer.Touched:connect(function(hit) | |
4887 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
4888 | getplayer:Destroy() | |
4889 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
4890 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
4891 | to.Anchored = true | |
4892 | idle = false | |
4893 | ||
4894 | ||
4895 | punchsound1:Play() | |
4896 | hit1 = true | |
4897 | for i = 0, 1, 0.1 do | |
4898 | swait() | |
4899 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4900 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4901 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4902 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4903 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4904 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4905 | end | |
4906 | punchsound1:Play() | |
4907 | for i = 0, 1, 0.1 do | |
4908 | swait() | |
4909 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4910 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4911 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4912 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4913 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4914 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4915 | end | |
4916 | punchsound1:Play() | |
4917 | for i = 0, 1, 0.1 do | |
4918 | swait() | |
4919 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4920 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4921 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4922 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4923 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4924 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4925 | end | |
4926 | for i = 0, 1, 0.1 do | |
4927 | swait() | |
4928 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4929 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4930 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4931 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4932 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4933 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4934 | end | |
4935 | for i = 0, 1, 0.1 do | |
4936 | swait() | |
4937 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4938 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4939 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4940 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4941 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4942 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4943 | end | |
4944 | StrongPunch1:Play() | |
4945 | for i = 0, 1, 0.1 do | |
4946 | swait() | |
4947 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4948 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4949 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4950 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4951 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4952 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4953 | end | |
4954 | for i = 0, 0.6, 0.1 do | |
4955 | swait() | |
4956 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
4957 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
4958 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
4959 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
4960 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
4961 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4962 | end | |
4963 | for i = 0, 0.6, 0.1 do | |
4964 | swait() | |
4965 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4966 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
4967 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
4968 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4969 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4970 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4971 | end | |
4972 | for i,v in pairs(to.Parent:GetChildren()) do | |
4973 | if v:IsA("Humanoid") then | |
4974 | v.Health = v.Health - 3 | |
4975 | ||
4976 | v.PlatformStand = true | |
4977 | end | |
4978 | end | |
4979 | StrongPunch:Play() | |
4980 | for i = 0, 1, 0.1 do | |
4981 | swait() | |
4982 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4983 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
4984 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4985 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
4986 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
4987 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
4988 | end | |
4989 | for i,v in pairs(to.Parent:GetChildren()) do | |
4990 | if v:IsA("Humanoid") then | |
4991 | v.Health = v.Health - 5 | |
4992 | ||
4993 | v.PlatformStand = true | |
4994 | end | |
4995 | end | |
4996 | ||
4997 | hit1 = false | |
4998 | ||
4999 | punchsound1:Play() | |
5000 | hit2 = true | |
5001 | HitpartFunk(RightArm, 10, 20, 0, -0.7, 0) | |
5002 | for i = 0, 1, 0.1 do | |
5003 | swait() | |
5004 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5005 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5006 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5007 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5008 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5009 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5010 | end | |
5011 | for i,v in pairs(to.Parent:GetChildren()) do | |
5012 | if v:IsA("Humanoid") then | |
5013 | v.Health = v.Health - 5 | |
5014 | ||
5015 | v.PlatformStand = true | |
5016 | end | |
5017 | end | |
5018 | hit2 = false | |
5019 | ||
5020 | punchsound1:Play() | |
5021 | hit3 = true | |
5022 | hit4 = true | |
5023 | ||
5024 | ||
5025 | punchsound1:Play() | |
5026 | ||
5027 | coroutine.wrap(function() | |
5028 | for i=1,5 do | |
5029 | wait() | |
5030 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,15,0)) | |
5031 | GroundImpact:Play() | |
5032 | a21e = new("Part",to) | |
5033 | a21e.Name = "Beam"..num | |
5034 | a21e.Locked = true | |
5035 | a21e.Size = v3(1,1,1) | |
5036 | a21e.CanCollide = false | |
5037 | a21e.BrickColor = bc("Gold") | |
5038 | a21e.Material = "Neon" | |
5039 | a21e.Transparency = 0 | |
5040 | aa21e = new("SpecialMesh",a21e) | |
5041 | a21e.Anchored = true | |
5042 | a21e.Position = to.Position | |
5043 | aa21e.MeshType = "Sphere" | |
5044 | aa21e.Scale = v3(1,1,1) | |
5045 | a51e = new("Part",char) | |
5046 | a51e.Name = "Beam"..num | |
5047 | a51e.Locked = true | |
5048 | a51e.Size = v3(1,1,1) | |
5049 | a51e.CanCollide = false | |
5050 | a51e.BrickColor = bc("White") | |
5051 | a51e.Material = "Neon" | |
5052 | a51e.Transparency = 0 | |
5053 | aa51e = new("SpecialMesh",a51e) | |
5054 | a51e.Anchored = true | |
5055 | a51e.Position = to.Position | |
5056 | aa51e.MeshType = "Sphere" | |
5057 | aa51e.Scale = v3(1,1,1) | |
5058 | a61e = new("Part",char) | |
5059 | a61e.Name = "Beam"..num | |
5060 | a61e.Locked = true | |
5061 | a61e.Size = v3(1,1,1) | |
5062 | a61e.CanCollide = false | |
5063 | a61e.BrickColor = bc("Really red") | |
5064 | a61e.Material = "Neon" | |
5065 | a61e.Transparency = 0 | |
5066 | aa61e = new("SpecialMesh",a61e) | |
5067 | a61e.Anchored = true | |
5068 | a61e.Position = to.Position | |
5069 | aa61e.MeshType = "Sphere" | |
5070 | aa61e.Scale = v3(1,1,1) | |
5071 | for i = 1,20 do | |
5072 | wait() | |
5073 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
5074 | a21e.Transparency = a21e.Transparency + 0.03 | |
5075 | aa51e.Scale = aa51e.Scale + v3(1.2,1.2,1.2) | |
5076 | a51e.Transparency = a51e.Transparency + 0.03 | |
5077 | aa61e.Scale = aa61e.Scale + v3(0.5,0.5,0.5) | |
5078 | a61e.Transparency = a61e.Transparency + 0.02 | |
5079 | for i,v in pairs(to.Parent:GetChildren()) do | |
5080 | if v:IsA("Humanoid") then | |
5081 | v.Health = v.Health - 0.5 | |
5082 | ||
5083 | v.PlatformStand = true | |
5084 | end | |
5085 | end | |
5086 | end | |
5087 | a61e:Destroy() | |
5088 | aa61e:Destroy() | |
5089 | a51e:Destroy() | |
5090 | aa51e:Destroy() | |
5091 | a21e:Destroy() | |
5092 | aa21e:Destroy() | |
5093 | ||
5094 | end | |
5095 | ||
5096 | ||
5097 | HitpartFunk(RightArm, 10, 20, 0, -0.7, 0) | |
5098 | for i = 0, 1, 0.1 do | |
5099 | swait() | |
5100 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5101 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5102 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5103 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5104 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5105 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5106 | end | |
5107 | ||
5108 | ||
5109 | ||
5110 | wait(0.7) | |
5111 | end)() | |
5112 | ||
5113 | ||
5114 | ||
5115 | ||
5116 | RootPart.Anchored = true | |
5117 | ||
5118 | for i = 0, 1, 0.1 do | |
5119 | swait() | |
5120 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5121 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5122 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5123 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5124 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5125 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5126 | end | |
5127 | ||
5128 | ||
5129 | StrongPunch:Play() | |
5130 | ||
5131 | ||
5132 | for i = 0, 1, 0.1 do | |
5133 | swait() | |
5134 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5135 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5136 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5137 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5138 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5139 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5140 | end | |
5141 | ||
5142 | for i = 0, 1, 0.1 do | |
5143 | swait() | |
5144 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5145 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5146 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5147 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5148 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5149 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5150 | end | |
5151 | ||
5152 | ||
5153 | ||
5154 | for i,v in pairs(to.Parent:GetChildren()) do | |
5155 | if v:IsA("Humanoid") then | |
5156 | v.Health = v.Health - 20 | |
5157 | ||
5158 | v.PlatformStand = true | |
5159 | end | |
5160 | end | |
5161 | ||
5162 | StrongPunch2:Play() | |
5163 | for i = 0, 1, 0.1 do | |
5164 | swait() | |
5165 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5166 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5167 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5168 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5169 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5170 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5171 | end | |
5172 | ||
5173 | hitground = new("Part",char) | |
5174 | hitground.Size = Vector3.new(5,5,5) | |
5175 | hitground.Name = "Ground" | |
5176 | hitground.Transparency = 1 | |
5177 | hitground.CanCollide = false | |
5178 | game.Debris:AddItem(hitground,2) | |
5179 | hitground.Position = Vector3.new(999,999,999) | |
5180 | hitgroundweld = new("Weld",hitground) | |
5181 | hitgroundweld.Part0 = to | |
5182 | hitgroundweld.Part1 = hitground | |
5183 | hitground.Touched:connect(function(hit2) | |
5184 | if hit2.Size.x > 150 then | |
5185 | hitground:Destroy() | |
5186 | ad = new("Part",char) | |
5187 | ad.Name = "NewPart" | |
5188 | ad.Size = Vector3.new(30,0.1,30) | |
5189 | ad.CanCollide = false | |
5190 | ad.Anchored = true | |
5191 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
5192 | ad.Transparency = 1 | |
5193 | aad = new("Decal",ad) | |
5194 | ||
5195 | aad.Face = "Top" | |
5196 | aad.Transparency = 1 | |
5197 | aad.Transparency = 0 | |
5198 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
5199 | smoke = new("Part",to) | |
5200 | smokemesh = new("SpecialMesh",smoke) | |
5201 | smokemesh.MeshId = "rbxassetid://928329648" | |
5202 | smoke.BrickColor = hit2.BrickColor | |
5203 | smoke.Anchored = true | |
5204 | smoke.Position = hitground.Position | |
5205 | GroundImpact:Play() | |
5206 | for i = 1,20 do | |
5207 | wait() | |
5208 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
5209 | smoke.Transparency = smoke.Transparency + 1/20 | |
5210 | end | |
5211 | smoke:Destroy() | |
5212 | wait(0.5) | |
5213 | ||
5214 | for i = 1,20 do | |
5215 | wait(0.1) | |
5216 | aad.Transparency = aad.Transparency + 1/20 | |
5217 | end | |
5218 | end | |
5219 | end) | |
5220 | to.Anchored = false | |
5221 | ys = Instance.new("BodyVelocity",to) | |
5222 | ys.Name = "GO" | |
5223 | ||
5224 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
5225 | ||
5226 | ys.Velocity = v3(0,-90,0) | |
5227 | ||
5228 | wait(1) | |
5229 | ys:Destroy() | |
5230 | ||
5231 | ||
5232 | ||
5233 | ||
5234 | ||
5235 | hit3 = false | |
5236 | hit4 = false | |
5237 | ||
5238 | ||
5239 | hit1 = false | |
5240 | hit2 = false | |
5241 | hit3 = false | |
5242 | hit4 = false | |
5243 | idle = true | |
5244 | RootPart.Anchored = false | |
5245 | end | |
5246 | end) | |
5247 | end | |
5248 | ||
5249 | ||
5250 | function Combo4() | |
5251 | getplayer = new("Part",char) | |
5252 | getplayer.Position = Vector3.new(999,999,999) | |
5253 | getplayer.Transparency = 1 | |
5254 | getplayer.Size = v3(3,3,3) | |
5255 | getplayer.CanCollide = false | |
5256 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
5257 | getplayer.Name = "GetPlayer" | |
5258 | ||
5259 | game.Debris:AddItem(getplayer,0.5) | |
5260 | ||
5261 | getplayer.Touched:connect(function(hit) | |
5262 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
5263 | getplayer:Destroy() | |
5264 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
5265 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
5266 | to.Anchored = true | |
5267 | RootPart.Anchored = true | |
5268 | idle = false | |
5269 | ||
5270 | ||
5271 | punchsound1:Play() | |
5272 | hit1 = true | |
5273 | for i = 0, 0.5, 0.1 do | |
5274 | swait() | |
5275 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5276 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5277 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5278 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5279 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5280 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5281 | end | |
5282 | punchsound1:Play() | |
5283 | for i = 0, 0.5, 0.1 do | |
5284 | swait() | |
5285 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5286 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5287 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5288 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5289 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5290 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5291 | end | |
5292 | punchsound1:Play() | |
5293 | for i = 0, 0.6, 0.1 do | |
5294 | swait() | |
5295 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5296 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5297 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5298 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5299 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5300 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5301 | end | |
5302 | for i = 0, 0.6, 0.1 do | |
5303 | swait() | |
5304 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5305 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5306 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5307 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5308 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5309 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5310 | end | |
5311 | for i = 0, 0.5, 0.1 do | |
5312 | swait() | |
5313 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5314 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5315 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5316 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5317 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5318 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5319 | end | |
5320 | punchsound1:Play() | |
5321 | for i = 0, 0.5, 0.1 do | |
5322 | swait() | |
5323 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5324 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5325 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5326 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5327 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5328 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5329 | end | |
5330 | punchsound1:Play() | |
5331 | for i = 0, 0.6, 0.1 do | |
5332 | swait() | |
5333 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5334 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5335 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5336 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5337 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5338 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5339 | end | |
5340 | for i = 0, 0.6, 0.1 do | |
5341 | swait() | |
5342 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5343 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5344 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5345 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5346 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5347 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5348 | end | |
5349 | for i = 0, 0.5, 0.1 do | |
5350 | swait() | |
5351 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5352 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5353 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5354 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5355 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5356 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5357 | end | |
5358 | punchsound1:Play() | |
5359 | for i = 0, 0.5, 0.1 do | |
5360 | swait() | |
5361 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5362 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5363 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5364 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5365 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5366 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5367 | end | |
5368 | punchsound1:Play() | |
5369 | for i = 0, 0.6, 0.1 do | |
5370 | swait() | |
5371 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5372 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5373 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5374 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5375 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5376 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5377 | end | |
5378 | for i = 0, 0.6, 0.1 do | |
5379 | swait() | |
5380 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5381 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5382 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5383 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5384 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5385 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5386 | end | |
5387 | for i = 0, 0.5, 0.1 do | |
5388 | swait() | |
5389 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5390 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5391 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5392 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5393 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5394 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5395 | end | |
5396 | punchsound1:Play() | |
5397 | for i = 0, 0.5, 0.1 do | |
5398 | swait() | |
5399 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5400 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5401 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5402 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5403 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5404 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5405 | end | |
5406 | punchsound1:Play() | |
5407 | for i = 0, 0.6, 0.1 do | |
5408 | swait() | |
5409 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5410 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5411 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5412 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5413 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5414 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5415 | end | |
5416 | for i = 0, 0.6, 0.1 do | |
5417 | swait() | |
5418 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5419 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5420 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5421 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5422 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5423 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5424 | end | |
5425 | for i = 0, 0.5, 0.1 do | |
5426 | swait() | |
5427 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5428 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5429 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5430 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5431 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5432 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5433 | end | |
5434 | punchsound1:Play() | |
5435 | for i = 0, 0.5, 0.1 do | |
5436 | swait() | |
5437 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5438 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5439 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5440 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5441 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5442 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5443 | end | |
5444 | punchsound1:Play() | |
5445 | for i = 0, 0.6, 0.1 do | |
5446 | swait() | |
5447 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5448 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5449 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5450 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5451 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5452 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5453 | end | |
5454 | StrongPunch2:Play() | |
5455 | for i = 0, 5, 0.1 do | |
5456 | swait() | |
5457 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5458 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5459 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5460 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5461 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5462 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5463 | end | |
5464 | ||
5465 | for i,v in pairs(to.Parent:GetChildren()) do | |
5466 | if v:IsA("Humanoid") then | |
5467 | v.Health = v.Health - 20 | |
5468 | ||
5469 | v.PlatformStand = true | |
5470 | end | |
5471 | end | |
5472 | to.CFrame = CFrame.new(to.CFrame.p + v3(100,5,0)) | |
5473 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(100,5,0)) | |
5474 | Zanzoken = Instance.new("Part",char) | |
5475 | Zanzoken.Anchored = true | |
5476 | Zanzoken.Position = v3(999,999,999) | |
5477 | Zanzoken.CFrame = Torso.CFrame | |
5478 | game.Debris:AddItem(Zanzoken,0.5) | |
5479 | Zanzoken.Transparency = 1 | |
5480 | Zano:Play() | |
5481 | wait() | |
5482 | idk = Instance.new("BillboardGui",Zanzoken) | |
5483 | idk.Size = UDim2.new(10,0,15,0) | |
5484 | idk.AlwaysOnTop = false | |
5485 | idk1 = Instance.new("ImageLabel",idk) | |
5486 | idk1.BackgroundTransparency = 1 | |
5487 | idk.ExtentsOffset = v3(0,0,0) | |
5488 | idk1.ImageTransparency = 0 | |
5489 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
5490 | idk1.Size = UDim2.new(2,0,1,0) | |
5491 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
5492 | idk1.Image = "rbxassetid://319554883" | |
5493 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
5494 | wait() | |
5495 | Zanzoken = Instance.new("Part",char) | |
5496 | Zanzoken.Anchored = true | |
5497 | Zanzoken.Position = v3(999,999,999) | |
5498 | Zanzoken.CFrame = Torso.CFrame | |
5499 | game.Debris:AddItem(Zanzoken,0.5) | |
5500 | Zanzoken.Transparency = 1 | |
5501 | wait() | |
5502 | idk = Instance.new("BillboardGui",Zanzoken) | |
5503 | idk.Size = UDim2.new(20,0,20,0) | |
5504 | idk.AlwaysOnTop = false | |
5505 | idk1 = Instance.new("ImageLabel",idk) | |
5506 | idk1.BackgroundTransparency = 1 | |
5507 | idk.ExtentsOffset = v3(0,0,0) | |
5508 | idk1.ImageTransparency = 0 | |
5509 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
5510 | idk1.Size = UDim2.new(2,0,1,0) | |
5511 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
5512 | idk1.Image = "rbxassetid://319554883" | |
5513 | for i = 0, 0.5, 0.1 do | |
5514 | swait() | |
5515 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5516 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5517 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5518 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5519 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5520 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5521 | end | |
5522 | punchsound1:Play() | |
5523 | for i = 0, 0.5, 0.1 do | |
5524 | swait() | |
5525 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5526 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5527 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5528 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5529 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5530 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5531 | end | |
5532 | punchsound1:Play() | |
5533 | for i = 0, 0.6, 0.1 do | |
5534 | swait() | |
5535 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5536 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5537 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5538 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5539 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5540 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5541 | end | |
5542 | for i = 0, 0.6, 0.1 do | |
5543 | swait() | |
5544 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5545 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5546 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5547 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5548 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5549 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5550 | end | |
5551 | for i = 0, 0.5, 0.1 do | |
5552 | swait() | |
5553 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5554 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5555 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5556 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5557 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5558 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5559 | end | |
5560 | punchsound1:Play() | |
5561 | for i = 0, 0.5, 0.1 do | |
5562 | swait() | |
5563 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5564 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5565 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5566 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5567 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5568 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5569 | end | |
5570 | punchsound1:Play() | |
5571 | for i = 0, 0.6, 0.1 do | |
5572 | swait() | |
5573 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5574 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5575 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5576 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5577 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5578 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5579 | end | |
5580 | for i = 0, 0.6, 0.1 do | |
5581 | swait() | |
5582 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5583 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5584 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5585 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5586 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5587 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5588 | end | |
5589 | for i = 0, 0.5, 0.1 do | |
5590 | swait() | |
5591 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5592 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5593 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5594 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5595 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5596 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5597 | end | |
5598 | punchsound1:Play() | |
5599 | for i = 0, 0.5, 0.1 do | |
5600 | swait() | |
5601 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5602 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5603 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5604 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5605 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5606 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5607 | end | |
5608 | punchsound1:Play() | |
5609 | for i = 0, 0.6, 0.1 do | |
5610 | swait() | |
5611 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5612 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5613 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5614 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5615 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5616 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5617 | end | |
5618 | for i = 0, 0.6, 0.1 do | |
5619 | swait() | |
5620 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5621 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5622 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5623 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5624 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5625 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5626 | end | |
5627 | for i = 0, 0.5, 0.1 do | |
5628 | swait() | |
5629 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5630 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5631 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5632 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5633 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5634 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5635 | end | |
5636 | punchsound1:Play() | |
5637 | for i = 0, 0.5, 0.1 do | |
5638 | swait() | |
5639 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5640 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5641 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5642 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5643 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5644 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5645 | end | |
5646 | punchsound1:Play() | |
5647 | for i = 0, 0.3, 0.1 do | |
5648 | swait() | |
5649 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5650 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5651 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5652 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5653 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5654 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5655 | end | |
5656 | for i = 0, 0.3, 0.1 do | |
5657 | swait() | |
5658 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5659 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5660 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5661 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5662 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5663 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5664 | end | |
5665 | for i = 0, 0.3, 0.1 do | |
5666 | swait() | |
5667 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5668 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5669 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5670 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5671 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5672 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5673 | end | |
5674 | punchsound1:Play() | |
5675 | for i = 0, 0.3, 0.1 do | |
5676 | swait() | |
5677 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5678 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5679 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5680 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5681 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5682 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5683 | end | |
5684 | punchsound1:Play() | |
5685 | for i = 0, 0.3, 0.1 do | |
5686 | swait() | |
5687 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5688 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5689 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5690 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5691 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5692 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5693 | end | |
5694 | for i = 0, 0.3, 0.1 do | |
5695 | swait() | |
5696 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5697 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5698 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5699 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5700 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5701 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5702 | end | |
5703 | punchsound1:Play() | |
5704 | for i = 0, 1, 0.1 do | |
5705 | swait() | |
5706 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5707 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5708 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5709 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5710 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5711 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5712 | end | |
5713 | for i = 0, 0.3, 0.1 do | |
5714 | swait() | |
5715 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5716 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5717 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5718 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5719 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5720 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5721 | end | |
5722 | punchsound1:Play() | |
5723 | for i = 0, 0.3, 0.1 do | |
5724 | swait() | |
5725 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5726 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5727 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5728 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5729 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5730 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5731 | end | |
5732 | for i = 0, 0.3, 0.1 do | |
5733 | swait() | |
5734 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5735 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5736 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5737 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5738 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5739 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5740 | end | |
5741 | for i = 0, 0.3, 0.1 do | |
5742 | swait() | |
5743 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5744 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5745 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5746 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5747 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5748 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5749 | end | |
5750 | punchsound1:Play() | |
5751 | for i = 0, 0.3, 0.1 do | |
5752 | swait() | |
5753 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5754 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5755 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5756 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5757 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5758 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5759 | end | |
5760 | punchsound1:Play() | |
5761 | for i = 0, 0.6, 0.1 do | |
5762 | swait() | |
5763 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5764 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5765 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5766 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5767 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5768 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5769 | end | |
5770 | for i = 0, 0.3, 0.1 do | |
5771 | swait() | |
5772 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5773 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5774 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5775 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5776 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5777 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5778 | end | |
5779 | for i = 0, 0.3, 0.1 do | |
5780 | swait() | |
5781 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5782 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5783 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5784 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5785 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5786 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5787 | end | |
5788 | punchsound1:Play() | |
5789 | for i = 0, 0.5, 0.1 do | |
5790 | swait() | |
5791 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5792 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5793 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5794 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5795 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5796 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5797 | end | |
5798 | punchsound1:Play() | |
5799 | for i = 0, 0.6, 0.1 do | |
5800 | swait() | |
5801 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5802 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5803 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5804 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5805 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5806 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5807 | end | |
5808 | for i = 0, 0.6, 0.1 do | |
5809 | swait() | |
5810 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5811 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5812 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5813 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5814 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5815 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5816 | end | |
5817 | for i = 0, 0.5, 0.1 do | |
5818 | swait() | |
5819 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5820 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5821 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5822 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5823 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5824 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5825 | end | |
5826 | punchsound1:Play() | |
5827 | for i = 0, 0.5, 0.1 do | |
5828 | swait() | |
5829 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5830 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5831 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5832 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5833 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5834 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5835 | end | |
5836 | punchsound1:Play() | |
5837 | for i = 0, 0.6, 0.1 do | |
5838 | swait() | |
5839 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5840 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5841 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5842 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5843 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5844 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5845 | end | |
5846 | for i = 0, 0.6, 0.1 do | |
5847 | swait() | |
5848 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5849 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5850 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5851 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5852 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5853 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5854 | end | |
5855 | for i = 0, 0.5, 0.1 do | |
5856 | swait() | |
5857 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5858 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5859 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5860 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5861 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5862 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5863 | end | |
5864 | punchsound1:Play() | |
5865 | for i = 0, 0.5, 0.1 do | |
5866 | swait() | |
5867 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5868 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5869 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5870 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5871 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5872 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5873 | end | |
5874 | punchsound1:Play() | |
5875 | for i = 0, 0.6, 0.1 do | |
5876 | swait() | |
5877 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5878 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5879 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5880 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5881 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5882 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5883 | end | |
5884 | for i = 0, 0.6, 0.1 do | |
5885 | swait() | |
5886 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5887 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5888 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5889 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5890 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5891 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5892 | end | |
5893 | punchsound1:Play() | |
5894 | for i = 0, 1, 0.1 do | |
5895 | swait() | |
5896 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5897 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5898 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5899 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5900 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5901 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5902 | end | |
5903 | for i = 0, 0.5, 0.1 do | |
5904 | swait() | |
5905 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5906 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5907 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5908 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5909 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5910 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5911 | end | |
5912 | punchsound1:Play() | |
5913 | for i = 0, 0.6, 0.1 do | |
5914 | swait() | |
5915 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5916 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5917 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5918 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5919 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5920 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5921 | end | |
5922 | for i = 0, 0.6, 0.1 do | |
5923 | swait() | |
5924 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5925 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5926 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5927 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5928 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5929 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5930 | end | |
5931 | for i = 0, 0.5, 0.1 do | |
5932 | swait() | |
5933 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5934 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5935 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5936 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5937 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5938 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5939 | end | |
5940 | punchsound1:Play() | |
5941 | for i = 0, 0.5, 0.1 do | |
5942 | swait() | |
5943 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5944 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5945 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5946 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5947 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5948 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5949 | end | |
5950 | punchsound1:Play() | |
5951 | for i = 0, 0.6, 0.1 do | |
5952 | swait() | |
5953 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5954 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5955 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5956 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5957 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5958 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5959 | end | |
5960 | for i = 0, 0.6, 0.1 do | |
5961 | swait() | |
5962 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5963 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
5964 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5965 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5966 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
5967 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5968 | end | |
5969 | for i = 0, 0.5, 0.1 do | |
5970 | swait() | |
5971 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5972 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5973 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5974 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5975 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5976 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5977 | end | |
5978 | punchsound1:Play() | |
5979 | for i = 0, 0.5, 0.1 do | |
5980 | swait() | |
5981 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
5982 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
5983 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
5984 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
5985 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
5986 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
5987 | end | |
5988 | punchsound1:Play() | |
5989 | for i = 0, 0.6, 0.1 do | |
5990 | swait() | |
5991 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
5992 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
5993 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
5994 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
5995 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
5996 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
5997 | end | |
5998 | for i = 0, 0.6, 0.1 do | |
5999 | swait() | |
6000 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6001 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6002 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6003 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6004 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6005 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6006 | end | |
6007 | for i = 0, 0.5, 0.1 do | |
6008 | swait() | |
6009 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6010 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6011 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6012 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6013 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6014 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6015 | end | |
6016 | punchsound1:Play() | |
6017 | for i = 0, 0.5, 0.1 do | |
6018 | swait() | |
6019 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6020 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6021 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6022 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6023 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6024 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6025 | end | |
6026 | punchsound1:Play() | |
6027 | for i = 0, 0.6, 0.1 do | |
6028 | swait() | |
6029 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6030 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6031 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6032 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6033 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6034 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6035 | end | |
6036 | for i = 0, 0.6, 0.1 do | |
6037 | swait() | |
6038 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6039 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6040 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6041 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6042 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6043 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6044 | end | |
6045 | for i = 0, 0.5, 0.1 do | |
6046 | swait() | |
6047 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6048 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6049 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6050 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6051 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6052 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6053 | end | |
6054 | punchsound1:Play() | |
6055 | for i = 0, 0.5, 0.1 do | |
6056 | swait() | |
6057 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6058 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6059 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6060 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6061 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6062 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6063 | end | |
6064 | punchsound1:Play() | |
6065 | for i = 0, 0.6, 0.1 do | |
6066 | swait() | |
6067 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6068 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6069 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6070 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6071 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6072 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6073 | end | |
6074 | for i = 0, 0.6, 0.1 do | |
6075 | swait() | |
6076 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6077 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6078 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6079 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6080 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6081 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6082 | end | |
6083 | punchsound1:Play() | |
6084 | for i = 0, 1, 0.1 do | |
6085 | swait() | |
6086 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6087 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6088 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6089 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6090 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6091 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6092 | end | |
6093 | for i = 0, 0.5, 0.1 do | |
6094 | swait() | |
6095 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6096 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6097 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6098 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6099 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6100 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6101 | end | |
6102 | punchsound1:Play() | |
6103 | for i = 0, 0.6, 0.1 do | |
6104 | swait() | |
6105 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6106 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6107 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6108 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6109 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6110 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6111 | end | |
6112 | for i = 0, 0.6, 0.1 do | |
6113 | swait() | |
6114 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6115 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6116 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6117 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6118 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6119 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6120 | end | |
6121 | for i = 0, 0.5, 0.1 do | |
6122 | swait() | |
6123 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6124 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6125 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6126 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6127 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6128 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6129 | end | |
6130 | punchsound1:Play() | |
6131 | for i = 0, 0.3, 0.1 do | |
6132 | swait() | |
6133 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6134 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6135 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6136 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6137 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6138 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6139 | end | |
6140 | punchsound1:Play() | |
6141 | for i = 0, 0.3, 0.1 do | |
6142 | swait() | |
6143 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6144 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6145 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6146 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6147 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6148 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6149 | end | |
6150 | for i = 0, 0.3, 0.1 do | |
6151 | swait() | |
6152 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6153 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6154 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6155 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6156 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6157 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6158 | end | |
6159 | for i = 0, 0.3, 0.1 do | |
6160 | swait() | |
6161 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6162 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6163 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6164 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6165 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6166 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6167 | end | |
6168 | punchsound1:Play() | |
6169 | for i = 0, 0.3, 0.1 do | |
6170 | swait() | |
6171 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6172 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6173 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6174 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6175 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6176 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6177 | end | |
6178 | punchsound1:Play() | |
6179 | for i = 0, 0.3, 0.1 do | |
6180 | swait() | |
6181 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6182 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6183 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6184 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6185 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6186 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6187 | end | |
6188 | for i = 0, 0.3, 0.1 do | |
6189 | swait() | |
6190 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6191 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6192 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6193 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6194 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6195 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6196 | end | |
6197 | for i = 0, 0.3, 0.1 do | |
6198 | swait() | |
6199 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6200 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6201 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6202 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6203 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6204 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6205 | end | |
6206 | punchsound1:Play() | |
6207 | for i = 0, 0.3, 0.1 do | |
6208 | swait() | |
6209 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6210 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6211 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6212 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6213 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6214 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6215 | end | |
6216 | punchsound1:Play() | |
6217 | for i = 0, 0.3, 0.1 do | |
6218 | swait() | |
6219 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6220 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6221 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6222 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6223 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6224 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6225 | end | |
6226 | for i = 0, 0.1, 0.1 do | |
6227 | swait() | |
6228 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6229 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6230 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6231 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6232 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6233 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6234 | end | |
6235 | for i = 0, 0.1, 0.1 do | |
6236 | swait() | |
6237 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6238 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6239 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6240 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6241 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6242 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6243 | end | |
6244 | punchsound1:Play() | |
6245 | for i = 0, 0.1, 0.1 do | |
6246 | swait() | |
6247 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6248 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6249 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6250 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6251 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6252 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6253 | end | |
6254 | punchsound1:Play() | |
6255 | for i = 0, 0.1, 0.1 do | |
6256 | swait() | |
6257 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6258 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6259 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6260 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6261 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6262 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6263 | end | |
6264 | for i = 0, 0.1, 0.1 do | |
6265 | swait() | |
6266 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6267 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6268 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6269 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6270 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6271 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6272 | end | |
6273 | punchsound1:Play() | |
6274 | for i = 0, 0.4, 0.1 do | |
6275 | swait() | |
6276 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6277 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6278 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6279 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6280 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6281 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6282 | end | |
6283 | for i,v in pairs(to.Parent:GetChildren()) do | |
6284 | if v:IsA("Humanoid") then | |
6285 | v.Health = v.Health - 20 | |
6286 | ||
6287 | v.PlatformStand = true | |
6288 | end | |
6289 | end | |
6290 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,50,0)) | |
6291 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,50,0)) | |
6292 | Zanzoken = Instance.new("Part",char) | |
6293 | Zanzoken.Anchored = true | |
6294 | Zanzoken.Position = v3(999,999,999) | |
6295 | Zanzoken.CFrame = Torso.CFrame | |
6296 | game.Debris:AddItem(Zanzoken,0.5) | |
6297 | Zanzoken.Transparency = 1 | |
6298 | Zano:Play() | |
6299 | wait() | |
6300 | idk = Instance.new("BillboardGui",Zanzoken) | |
6301 | idk.Size = UDim2.new(10,0,15,0) | |
6302 | idk.AlwaysOnTop = false | |
6303 | idk1 = Instance.new("ImageLabel",idk) | |
6304 | idk1.BackgroundTransparency = 1 | |
6305 | idk.ExtentsOffset = v3(0,0,0) | |
6306 | idk1.ImageTransparency = 0 | |
6307 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6308 | idk1.Size = UDim2.new(2,0,1,0) | |
6309 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6310 | idk1.Image = "rbxassetid://319554883" | |
6311 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6312 | wait() | |
6313 | Zanzoken = Instance.new("Part",char) | |
6314 | Zanzoken.Anchored = true | |
6315 | Zanzoken.Position = v3(999,999,999) | |
6316 | Zanzoken.CFrame = Torso.CFrame | |
6317 | game.Debris:AddItem(Zanzoken,0.5) | |
6318 | Zanzoken.Transparency = 1 | |
6319 | wait() | |
6320 | idk = Instance.new("BillboardGui",Zanzoken) | |
6321 | idk.Size = UDim2.new(20,0,20,0) | |
6322 | idk.AlwaysOnTop = false | |
6323 | idk1 = Instance.new("ImageLabel",idk) | |
6324 | idk1.BackgroundTransparency = 1 | |
6325 | idk.ExtentsOffset = v3(0,0,0) | |
6326 | idk1.ImageTransparency = 0 | |
6327 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6328 | idk1.Size = UDim2.new(2,0,1,0) | |
6329 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6330 | idk1.Image = "rbxassetid://319554883" | |
6331 | punchsound1:Play() | |
6332 | for i = 0, 6, 0.1 do | |
6333 | swait() | |
6334 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6335 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6336 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6337 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6338 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6339 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6340 | end | |
6341 | for i = 0, 0.6, 0.1 do | |
6342 | swait() | |
6343 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6344 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6345 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6346 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6347 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6348 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6349 | end | |
6350 | for i = 0, 0.6, 0.1 do | |
6351 | swait() | |
6352 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6353 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6354 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6355 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6356 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6357 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6358 | end | |
6359 | punchsound1:Play() | |
6360 | for i = 0, 1, 0.1 do | |
6361 | swait() | |
6362 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6363 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6364 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6365 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6366 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6367 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6368 | end | |
6369 | for i = 0, 0.6, 0.1 do | |
6370 | swait() | |
6371 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6372 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6373 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6374 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6375 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6376 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6377 | end | |
6378 | for i = 0, 0.6, 0.1 do | |
6379 | swait() | |
6380 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6381 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6382 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6383 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6384 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6385 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6386 | end | |
6387 | punchsound1:Play() | |
6388 | for i = 0, 1, 0.1 do | |
6389 | swait() | |
6390 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6391 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6392 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6393 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6394 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6395 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6396 | end | |
6397 | for i = 0, 0.6, 0.1 do | |
6398 | swait() | |
6399 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6400 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6401 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6402 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6403 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6404 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6405 | end | |
6406 | for i = 0, 0.6, 0.1 do | |
6407 | swait() | |
6408 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6409 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6410 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6411 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6412 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6413 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6414 | end | |
6415 | punchsound1:Play() | |
6416 | for i = 0, 1, 0.1 do | |
6417 | swait() | |
6418 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6419 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6420 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6421 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6422 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6423 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6424 | end | |
6425 | for i = 0, 0.6, 0.1 do | |
6426 | swait() | |
6427 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6428 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6429 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6430 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6431 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6432 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6433 | end | |
6434 | for i = 0, 0.6, 0.1 do | |
6435 | swait() | |
6436 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6437 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6438 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6439 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6440 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6441 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6442 | end | |
6443 | punchsound1:Play() | |
6444 | for i = 0, 1, 0.1 do | |
6445 | swait() | |
6446 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6447 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6448 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6449 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6450 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6451 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6452 | end | |
6453 | for i = 0, 0.6, 0.1 do | |
6454 | swait() | |
6455 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6456 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6457 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6458 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6459 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6460 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6461 | end | |
6462 | for i = 0, 0.6, 0.1 do | |
6463 | swait() | |
6464 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6465 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6466 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6467 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6468 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6469 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6470 | end | |
6471 | punchsound1:Play() | |
6472 | for i = 0, 1, 0.1 do | |
6473 | swait() | |
6474 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6475 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6476 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6477 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6478 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6479 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6480 | end | |
6481 | for i = 0, 0.6, 0.1 do | |
6482 | swait() | |
6483 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6484 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6485 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6486 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6487 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6488 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6489 | end | |
6490 | for i = 0, 0.6, 0.1 do | |
6491 | swait() | |
6492 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6493 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6494 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6495 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6496 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6497 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6498 | end | |
6499 | punchsound1:Play() | |
6500 | for i = 0, 1, 0.1 do | |
6501 | swait() | |
6502 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6503 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6504 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6505 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6506 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6507 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6508 | end | |
6509 | ||
6510 | ||
6511 | ||
6512 | for i,v in pairs(to.Parent:GetChildren()) do | |
6513 | if v:IsA("Humanoid") then | |
6514 | v.Health = v.Health - 20 | |
6515 | ||
6516 | v.PlatformStand = true | |
6517 | end | |
6518 | end | |
6519 | StrongPunch:Play() | |
6520 | for i = 0, 1, 0.1 do | |
6521 | swait() | |
6522 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6523 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6524 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6525 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6526 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6527 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6528 | end | |
6529 | for i = 0, 1, 0.1 do | |
6530 | swait() | |
6531 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6532 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6533 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6534 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6535 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6536 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6537 | end | |
6538 | for i,v in pairs(to.Parent:GetChildren()) do | |
6539 | if v:IsA("Humanoid") then | |
6540 | v.Health = v.Health - 5 | |
6541 | ||
6542 | v.PlatformStand = true | |
6543 | end | |
6544 | end | |
6545 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,200,0)) | |
6546 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,200,0)) | |
6547 | Zanzoken = Instance.new("Part",char) | |
6548 | Zanzoken.Anchored = true | |
6549 | Zanzoken.Position = v3(999,999,999) | |
6550 | Zanzoken.CFrame = Torso.CFrame | |
6551 | game.Debris:AddItem(Zanzoken,0.5) | |
6552 | Zanzoken.Transparency = 1 | |
6553 | Zano:Play() | |
6554 | wait() | |
6555 | idk = Instance.new("BillboardGui",Zanzoken) | |
6556 | idk.Size = UDim2.new(10,0,15,0) | |
6557 | idk.AlwaysOnTop = false | |
6558 | idk1 = Instance.new("ImageLabel",idk) | |
6559 | idk1.BackgroundTransparency = 1 | |
6560 | idk.ExtentsOffset = v3(0,0,0) | |
6561 | idk1.ImageTransparency = 0 | |
6562 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6563 | idk1.Size = UDim2.new(2,0,1,0) | |
6564 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6565 | idk1.Image = "rbxassetid://319554883" | |
6566 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6567 | wait() | |
6568 | Zanzoken = Instance.new("Part",char) | |
6569 | Zanzoken.Anchored = true | |
6570 | Zanzoken.Position = v3(999,999,999) | |
6571 | Zanzoken.CFrame = Torso.CFrame | |
6572 | game.Debris:AddItem(Zanzoken,0.5) | |
6573 | Zanzoken.Transparency = 1 | |
6574 | wait() | |
6575 | idk = Instance.new("BillboardGui",Zanzoken) | |
6576 | idk.Size = UDim2.new(20,0,20,0) | |
6577 | idk.AlwaysOnTop = false | |
6578 | idk1 = Instance.new("ImageLabel",idk) | |
6579 | idk1.BackgroundTransparency = 1 | |
6580 | idk.ExtentsOffset = v3(0,0,0) | |
6581 | idk1.ImageTransparency = 0 | |
6582 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6583 | idk1.Size = UDim2.new(2,0,1,0) | |
6584 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6585 | idk1.Image = "rbxassetid://319554883" | |
6586 | for i = 0, 1, 0.1 do | |
6587 | swait() | |
6588 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6589 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6590 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6591 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6592 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6593 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6594 | end | |
6595 | punchsound1:Play() | |
6596 | for i = 0, 1, 0.1 do | |
6597 | swait() | |
6598 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6599 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6600 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6601 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6602 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6603 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6604 | end | |
6605 | punchsound1:Play() | |
6606 | for i = 0, 1, 0.1 do | |
6607 | swait() | |
6608 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6609 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6610 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6611 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6612 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6613 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6614 | end | |
6615 | for i = 0, 1, 0.1 do | |
6616 | swait() | |
6617 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6618 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6619 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6620 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6621 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6622 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6623 | end | |
6624 | for i = 0, 1, 0.1 do | |
6625 | swait() | |
6626 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6627 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6628 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6629 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6630 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6631 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6632 | end | |
6633 | to.CFrame = CFrame.new(to.CFrame.p + v3(30,70,0)) | |
6634 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(30,70,0)) | |
6635 | Zanzoken = Instance.new("Part",char) | |
6636 | Zanzoken.Anchored = true | |
6637 | Zanzoken.Position = v3(999,999,999) | |
6638 | Zanzoken.CFrame = Torso.CFrame | |
6639 | game.Debris:AddItem(Zanzoken,0.5) | |
6640 | Zanzoken.Transparency = 1 | |
6641 | Zano:Play() | |
6642 | wait() | |
6643 | idk = Instance.new("BillboardGui",Zanzoken) | |
6644 | idk.Size = UDim2.new(10,0,15,0) | |
6645 | idk.AlwaysOnTop = false | |
6646 | idk1 = Instance.new("ImageLabel",idk) | |
6647 | idk1.BackgroundTransparency = 1 | |
6648 | idk.ExtentsOffset = v3(0,0,0) | |
6649 | idk1.ImageTransparency = 0 | |
6650 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6651 | idk1.Size = UDim2.new(2,0,1,0) | |
6652 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6653 | idk1.Image = "rbxassetid://319554883" | |
6654 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6655 | wait() | |
6656 | Zanzoken = Instance.new("Part",char) | |
6657 | Zanzoken.Anchored = true | |
6658 | Zanzoken.Position = v3(999,999,999) | |
6659 | Zanzoken.CFrame = Torso.CFrame | |
6660 | game.Debris:AddItem(Zanzoken,0.5) | |
6661 | Zanzoken.Transparency = 1 | |
6662 | wait() | |
6663 | idk = Instance.new("BillboardGui",Zanzoken) | |
6664 | idk.Size = UDim2.new(20,0,20,0) | |
6665 | idk.AlwaysOnTop = false | |
6666 | idk1 = Instance.new("ImageLabel",idk) | |
6667 | idk1.BackgroundTransparency = 1 | |
6668 | idk.ExtentsOffset = v3(0,0,0) | |
6669 | idk1.ImageTransparency = 0 | |
6670 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6671 | idk1.Size = UDim2.new(2,0,1,0) | |
6672 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6673 | idk1.Image = "rbxassetid://319554883" | |
6674 | StrongPunch:Play() | |
6675 | Break:Play() | |
6676 | ||
6677 | for i = 0, 6, 0.1 do | |
6678 | swait() | |
6679 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6680 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6681 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6682 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6683 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6684 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6685 | end | |
6686 | StrongPunch1:Play() | |
6687 | for i = 0, 6, 0.1 do | |
6688 | swait() | |
6689 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6690 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6691 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6692 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6693 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6694 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6695 | end | |
6696 | StrongPunch2:Play() | |
6697 | for i = 0, 7, 0.1 do | |
6698 | swait() | |
6699 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6700 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6701 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6702 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6703 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6704 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6705 | end | |
6706 | for i = 0, 1, 0.1 do | |
6707 | swait() | |
6708 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6709 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6710 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6711 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6712 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6713 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6714 | end | |
6715 | punchsound1:Play() | |
6716 | for i = 0, 1, 0.1 do | |
6717 | swait() | |
6718 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6719 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6720 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6721 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6722 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6723 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6724 | end | |
6725 | punchsound1:Play() | |
6726 | for i = 0, 1, 0.1 do | |
6727 | swait() | |
6728 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6729 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6730 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6731 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6732 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6733 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6734 | end | |
6735 | for i = 0, 1, 0.1 do | |
6736 | swait() | |
6737 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6738 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
6739 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6740 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6741 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
6742 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6743 | end | |
6744 | for i = 0, 1, 0.1 do | |
6745 | swait() | |
6746 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6747 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6748 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6749 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6750 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6751 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6752 | end | |
6753 | punchsound1:Play() | |
6754 | for i = 0, 0.5, 0.1 do | |
6755 | swait() | |
6756 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6757 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6758 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6760 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6761 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6762 | end | |
6763 | punchsound1:Play() | |
6764 | for i = 0, 0.5, 0.1 do | |
6765 | swait() | |
6766 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6767 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6768 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6769 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6770 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6771 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6772 | end | |
6773 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,-100,0)) | |
6774 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,-100,0)) | |
6775 | Zanzoken = Instance.new("Part",char) | |
6776 | Zanzoken.Anchored = true | |
6777 | Zanzoken.Position = v3(999,999,999) | |
6778 | Zanzoken.CFrame = Torso.CFrame | |
6779 | game.Debris:AddItem(Zanzoken,0.5) | |
6780 | Zanzoken.Transparency = 1 | |
6781 | Zano:Play() | |
6782 | wait() | |
6783 | idk = Instance.new("BillboardGui",Zanzoken) | |
6784 | idk.Size = UDim2.new(10,0,15,0) | |
6785 | idk.AlwaysOnTop = false | |
6786 | idk1 = Instance.new("ImageLabel",idk) | |
6787 | idk1.BackgroundTransparency = 1 | |
6788 | idk.ExtentsOffset = v3(0,0,0) | |
6789 | idk1.ImageTransparency = 0 | |
6790 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6791 | idk1.Size = UDim2.new(2,0,1,0) | |
6792 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6793 | idk1.Image = "rbxassetid://319554883" | |
6794 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
6795 | wait() | |
6796 | Zanzoken = Instance.new("Part",char) | |
6797 | Zanzoken.Anchored = true | |
6798 | Zanzoken.Position = v3(999,999,999) | |
6799 | Zanzoken.CFrame = Torso.CFrame | |
6800 | game.Debris:AddItem(Zanzoken,0.5) | |
6801 | Zanzoken.Transparency = 1 | |
6802 | wait() | |
6803 | idk = Instance.new("BillboardGui",Zanzoken) | |
6804 | idk.Size = UDim2.new(20,0,20,0) | |
6805 | idk.AlwaysOnTop = false | |
6806 | idk1 = Instance.new("ImageLabel",idk) | |
6807 | idk1.BackgroundTransparency = 1 | |
6808 | idk.ExtentsOffset = v3(0,0,0) | |
6809 | idk1.ImageTransparency = 0 | |
6810 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
6811 | idk1.Size = UDim2.new(2,0,1,0) | |
6812 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
6813 | idk1.Image = "rbxassetid://319554883" | |
6814 | for i = 0, 0.4, 0.1 do | |
6815 | swait() | |
6816 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6817 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6818 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6819 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6820 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6821 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6822 | end | |
6823 | punchsound1:Play() | |
6824 | for i = 0, 0.4, 0.1 do | |
6825 | swait() | |
6826 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6827 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6828 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6829 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6830 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6831 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6832 | end | |
6833 | for i = 0, 0.4, 0.1 do | |
6834 | swait() | |
6835 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6836 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6837 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6838 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6839 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6840 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6841 | end | |
6842 | punchsound1:Play() | |
6843 | for i = 0, 0.4, 0.1 do | |
6844 | swait() | |
6845 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6846 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6847 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6848 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6849 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6850 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6851 | end | |
6852 | for i = 0, 0.4, 0.1 do | |
6853 | swait() | |
6854 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6855 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6856 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6857 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6858 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6859 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6860 | end | |
6861 | punchsound1:Play() | |
6862 | for i = 0, 0.4, 0.1 do | |
6863 | swait() | |
6864 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6865 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6866 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6867 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6868 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6869 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6870 | end | |
6871 | for i = 0, 0.4, 0.1 do | |
6872 | swait() | |
6873 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6874 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6875 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6876 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6877 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6878 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6879 | end | |
6880 | punchsound1:Play() | |
6881 | for i = 0, 0.4, 0.1 do | |
6882 | swait() | |
6883 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6884 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6885 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6886 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6887 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6888 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6889 | end | |
6890 | for i = 0, 0.4, 0.1 do | |
6891 | swait() | |
6892 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6893 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6894 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6895 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6896 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6897 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6898 | end | |
6899 | punchsound1:Play() | |
6900 | for i = 0, 0.4, 0.1 do | |
6901 | swait() | |
6902 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6903 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6904 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6905 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6906 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6907 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6908 | end | |
6909 | for i = 0, 0.4, 0.1 do | |
6910 | swait() | |
6911 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6912 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6913 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6914 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6915 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6916 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6917 | end | |
6918 | punchsound1:Play() | |
6919 | for i = 0, 0.4, 0.1 do | |
6920 | swait() | |
6921 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6922 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6923 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6924 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6925 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6926 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6927 | end | |
6928 | for i = 0, 0.4, 0.1 do | |
6929 | swait() | |
6930 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6931 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6932 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6933 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6934 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6935 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6936 | end | |
6937 | punchsound1:Play() | |
6938 | for i = 0, 0.4, 0.1 do | |
6939 | swait() | |
6940 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
6941 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
6942 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
6943 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
6944 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
6945 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
6946 | end | |
6947 | punchsound1:Play() | |
6948 | local pie222 = Instance.new("ParticleEmitter") | |
6949 | pie222.Parent = LeftArm | |
6950 | pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
6951 | pie222.LightEmission = 1 | |
6952 | pie222.Size = NumberSequence.new(3) | |
6953 | pie222.Texture = "http://www.roblox.com/asset/?id=224413104" | |
6954 | pie222.Transparency = NumberSequence.new(0.6,1) | |
6955 | pie222.EmissionDirection = "Top" | |
6956 | pie222.Enabled = true | |
6957 | pie222.Lifetime = NumberRange.new(1) | |
6958 | pie222.Rotation = NumberRange.new(-320, 320) | |
6959 | pie222.Rate = 404 | |
6960 | pie222.Speed = NumberRange.new(0) | |
6961 | pie222.LockedToPart = false | |
6962 | pie222.VelocitySpread = 2 | |
6963 | for i = 0, 2, 0.1 do | |
6964 | swait() | |
6965 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
6966 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
6967 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
6968 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
6969 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
6970 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
6971 | end | |
6972 | wait(2) | |
6973 | bigbangattack2() | |
6974 | pie222:Destroy() | |
6975 | ||
6976 | for i,v in pairs(to.Parent:GetChildren()) do | |
6977 | if v:IsA("Humanoid") then | |
6978 | v.Health = v.Health - math.huge | |
6979 | ||
6980 | v.PlatformStand = true | |
6981 | end | |
6982 | end | |
6983 | ||
6984 | hit1 = false | |
6985 | ||
6986 | hit2 = true | |
6987 | for i,v in pairs(to.Parent:GetChildren()) do | |
6988 | if v:IsA("Humanoid") then | |
6989 | v.Health = v.Health - 10 | |
6990 | ||
6991 | v.PlatformStand = true | |
6992 | end | |
6993 | end | |
6994 | hit2 = false | |
6995 | ||
6996 | hit3 = true | |
6997 | hit4 = true | |
6998 | ||
6999 | ||
7000 | ||
7001 | ||
7002 | coroutine.wrap(function() | |
7003 | for i=1,2 do | |
7004 | wait() | |
7005 | ||
7006 | ||
7007 | ||
7008 | ||
7009 | ||
7010 | for i,v in pairs(to.Parent:GetChildren()) do | |
7011 | if v:IsA("Humanoid") then | |
7012 | v.Health = v.Health - 2 | |
7013 | ||
7014 | v.PlatformStand = true | |
7015 | end | |
7016 | end | |
7017 | end | |
7018 | ||
7019 | ||
7020 | wait(3) | |
7021 | end)() | |
7022 | ||
7023 | ||
7024 | ||
7025 | ||
7026 | ||
7027 | ||
7028 | ||
7029 | ||
7030 | ||
7031 | ||
7032 | ||
7033 | ||
7034 | ||
7035 | ||
7036 | for i,v in pairs(to.Parent:GetChildren()) do | |
7037 | if v:IsA("Humanoid") then | |
7038 | v.Health = v.Health - 10 | |
7039 | ||
7040 | v.PlatformStand = true | |
7041 | end | |
7042 | end | |
7043 | ||
7044 | ||
7045 | ||
7046 | hitground = new("Part",char) | |
7047 | hitground.Size = Vector3.new(5,5,5) | |
7048 | hitground.Name = "Ground" | |
7049 | hitground.Transparency = 1 | |
7050 | hitground.CanCollide = false | |
7051 | game.Debris:AddItem(hitground,2) | |
7052 | hitground.Position = Vector3.new(999,999,999) | |
7053 | hitgroundweld = new("Weld",hitground) | |
7054 | hitgroundweld.Part0 = to | |
7055 | hitgroundweld.Part1 = hitground | |
7056 | hitground.Touched:connect(function(hit2) | |
7057 | if hit2.Size.x > 150 then | |
7058 | hitground:Destroy() | |
7059 | ad = new("Part",char) | |
7060 | ad.Name = "NewPart" | |
7061 | ad.Size = Vector3.new(30,0.1,30) | |
7062 | ad.CanCollide = false | |
7063 | ad.Anchored = true | |
7064 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
7065 | ad.Transparency = 1 | |
7066 | aad = new("Decal",ad) | |
7067 | ||
7068 | aad.Face = "Top" | |
7069 | aad.Transparency = 1 | |
7070 | aad.Transparency = 0 | |
7071 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
7072 | smoke = new("Part",to) | |
7073 | smokemesh = new("SpecialMesh",smoke) | |
7074 | smokemesh.MeshId = "rbxassetid://928329648" | |
7075 | smoke.BrickColor = hit2.BrickColor | |
7076 | smoke.Anchored = true | |
7077 | smoke.Position = hitground.Position | |
7078 | GroundImpact:Play() | |
7079 | for i = 1,20 do | |
7080 | wait() | |
7081 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
7082 | smoke.Transparency = smoke.Transparency + 1/20 | |
7083 | end | |
7084 | smoke:Destroy() | |
7085 | wait(0.5) | |
7086 | ||
7087 | for i = 1,20 do | |
7088 | wait(0.1) | |
7089 | aad.Transparency = aad.Transparency + 1/20 | |
7090 | end | |
7091 | end | |
7092 | end) | |
7093 | ys = Instance.new("BodyVelocity",to) | |
7094 | ys.Name = "GO" | |
7095 | ||
7096 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
7097 | ||
7098 | ys.Velocity = v3(0,-90,0) | |
7099 | ||
7100 | wait(1) | |
7101 | ys:Destroy() | |
7102 | ||
7103 | ||
7104 | ||
7105 | hit3 = false | |
7106 | hit4 = false | |
7107 | ||
7108 | ||
7109 | hit1 = false | |
7110 | hit2 = false | |
7111 | hit3 = false | |
7112 | hit4 = false | |
7113 | idle = true | |
7114 | RootPart.Anchored = false | |
7115 | end | |
7116 | end) | |
7117 | end | |
7118 | ||
7119 | function Combo3() | |
7120 | getplayer = new("Part",char) | |
7121 | getplayer.Position = Vector3.new(999,999,999) | |
7122 | getplayer.Transparency = 1 | |
7123 | getplayer.Size = v3(3,3,3) | |
7124 | getplayer.CanCollide = false | |
7125 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
7126 | getplayer.Name = "GetPlayer" | |
7127 | ||
7128 | game.Debris:AddItem(getplayer,0.5) | |
7129 | ||
7130 | getplayer.Touched:connect(function(hit) | |
7131 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
7132 | getplayer:Destroy() | |
7133 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
7134 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
7135 | to.Anchored = true | |
7136 | RootPart.Anchored = true | |
7137 | idle = false | |
7138 | ||
7139 | ||
7140 | punchsound1:Play() | |
7141 | hit1 = true | |
7142 | for i = 0, 1, 0.1 do | |
7143 | swait() | |
7144 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7145 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7146 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7147 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7148 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7149 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7150 | end | |
7151 | punchsound1:Play() | |
7152 | for i = 0, 1, 0.1 do | |
7153 | swait() | |
7154 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7155 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7156 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7157 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7158 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7159 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7160 | end | |
7161 | punchsound1:Play() | |
7162 | for i = 0, 1, 0.1 do | |
7163 | swait() | |
7164 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7165 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7166 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7167 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7168 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7169 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7170 | end | |
7171 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,5,70)) | |
7172 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,5,74)) | |
7173 | Zanzoken = Instance.new("Part",char) | |
7174 | Zanzoken.Anchored = true | |
7175 | Zanzoken.Position = v3(999,999,999) | |
7176 | Zanzoken.CFrame = Torso.CFrame | |
7177 | game.Debris:AddItem(Zanzoken,0.5) | |
7178 | Zanzoken.Transparency = 1 | |
7179 | Zano:Play() | |
7180 | wait() | |
7181 | idk = Instance.new("BillboardGui",Zanzoken) | |
7182 | idk.Size = UDim2.new(10,0,15,0) | |
7183 | idk.AlwaysOnTop = false | |
7184 | idk1 = Instance.new("ImageLabel",idk) | |
7185 | idk1.BackgroundTransparency = 1 | |
7186 | idk.ExtentsOffset = v3(0,0,0) | |
7187 | idk1.ImageTransparency = 0 | |
7188 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7189 | idk1.Size = UDim2.new(2,0,1,0) | |
7190 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7191 | idk1.Image = "rbxassetid://319554883" | |
7192 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7193 | wait() | |
7194 | Zanzoken = Instance.new("Part",char) | |
7195 | Zanzoken.Anchored = true | |
7196 | Zanzoken.Position = v3(999,999,999) | |
7197 | Zanzoken.CFrame = Torso.CFrame | |
7198 | game.Debris:AddItem(Zanzoken,0.5) | |
7199 | Zanzoken.Transparency = 1 | |
7200 | wait() | |
7201 | idk = Instance.new("BillboardGui",Zanzoken) | |
7202 | idk.Size = UDim2.new(20,0,20,0) | |
7203 | idk.AlwaysOnTop = false | |
7204 | idk1 = Instance.new("ImageLabel",idk) | |
7205 | idk1.BackgroundTransparency = 1 | |
7206 | idk.ExtentsOffset = v3(0,0,0) | |
7207 | idk1.ImageTransparency = 0 | |
7208 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7209 | idk1.Size = UDim2.new(2,0,1,0) | |
7210 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7211 | idk1.Image = "rbxassetid://319554883" | |
7212 | for i = 0, 1, 0.1 do | |
7213 | swait() | |
7214 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7215 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7216 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7217 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7218 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7219 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7220 | end | |
7221 | punchsound1:Play() | |
7222 | for i = 0, 1, 0.1 do | |
7223 | swait() | |
7224 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7225 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7226 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7227 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7228 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7229 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7230 | end | |
7231 | punchsound1:Play() | |
7232 | for i = 0, 1, 0.1 do | |
7233 | swait() | |
7234 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7235 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7236 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7237 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7238 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7239 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7240 | end | |
7241 | for i = 0, 1, 0.1 do | |
7242 | swait() | |
7243 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7244 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7245 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7246 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7247 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7248 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7249 | end | |
7250 | punchsound1:Play() | |
7251 | for i = 0, 1, 0.1 do | |
7252 | swait() | |
7253 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7254 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7255 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7256 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7257 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7258 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7259 | end | |
7260 | punchsound1:Play() | |
7261 | for i = 0, 1, 0.1 do | |
7262 | swait() | |
7263 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7264 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7265 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7266 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7267 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7268 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7269 | end | |
7270 | for i = 0, 1, 0.1 do | |
7271 | swait() | |
7272 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7273 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7274 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7275 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7276 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7277 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7278 | end | |
7279 | punchsound1:Play() | |
7280 | for i = 0, 1, 0.1 do | |
7281 | swait() | |
7282 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7283 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7284 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7286 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7287 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7288 | end | |
7289 | punchsound1:Play() | |
7290 | for i,v in pairs(to.Parent:GetChildren()) do | |
7291 | if v:IsA("Humanoid") then | |
7292 | v.Health = v.Health - 10 | |
7293 | ||
7294 | v.PlatformStand = true | |
7295 | end | |
7296 | end | |
7297 | for i = 0, 1, 0.1 do | |
7298 | swait() | |
7299 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7300 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7301 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7302 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7303 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7304 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7305 | end | |
7306 | ||
7307 | for i = 0, 1, 0.1 do | |
7308 | swait() | |
7309 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7310 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7311 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7312 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7313 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7314 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7315 | end | |
7316 | punchsound1:Play() | |
7317 | for i = 0, 1, 0.1 do | |
7318 | swait() | |
7319 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7320 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7321 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7322 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7323 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7324 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7325 | end | |
7326 | for i,v in pairs(to.Parent:GetChildren()) do | |
7327 | if v:IsA("Humanoid") then | |
7328 | v.Health = v.Health - 3 | |
7329 | ||
7330 | v.PlatformStand = true | |
7331 | end | |
7332 | end | |
7333 | to.CFrame = CFrame.new(to.CFrame.p + v3(60,5,0)) | |
7334 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(60,5,0)) | |
7335 | Zanzoken = Instance.new("Part",char) | |
7336 | Zanzoken.Anchored = true | |
7337 | Zanzoken.Position = v3(999,999,999) | |
7338 | Zanzoken.CFrame = Torso.CFrame | |
7339 | game.Debris:AddItem(Zanzoken,0.5) | |
7340 | Zanzoken.Transparency = 1 | |
7341 | Zano:Play() | |
7342 | wait() | |
7343 | idk = Instance.new("BillboardGui",Zanzoken) | |
7344 | idk.Size = UDim2.new(10,0,15,0) | |
7345 | idk.AlwaysOnTop = false | |
7346 | idk1 = Instance.new("ImageLabel",idk) | |
7347 | idk1.BackgroundTransparency = 1 | |
7348 | idk.ExtentsOffset = v3(0,0,0) | |
7349 | idk1.ImageTransparency = 0 | |
7350 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7351 | idk1.Size = UDim2.new(2,0,1,0) | |
7352 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7353 | idk1.Image = "rbxassetid://319554883" | |
7354 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7355 | wait() | |
7356 | Zanzoken = Instance.new("Part",char) | |
7357 | Zanzoken.Anchored = true | |
7358 | Zanzoken.Position = v3(999,999,999) | |
7359 | Zanzoken.CFrame = Torso.CFrame | |
7360 | game.Debris:AddItem(Zanzoken,0.5) | |
7361 | Zanzoken.Transparency = 1 | |
7362 | wait() | |
7363 | idk = Instance.new("BillboardGui",Zanzoken) | |
7364 | idk.Size = UDim2.new(20,0,20,0) | |
7365 | idk.AlwaysOnTop = false | |
7366 | idk1 = Instance.new("ImageLabel",idk) | |
7367 | idk1.BackgroundTransparency = 1 | |
7368 | idk.ExtentsOffset = v3(0,0,0) | |
7369 | idk1.ImageTransparency = 0 | |
7370 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7371 | idk1.Size = UDim2.new(2,0,1,0) | |
7372 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7373 | idk1.Image = "rbxassetid://319554883" | |
7374 | for i = 0, 1, 0.1 do | |
7375 | swait() | |
7376 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7377 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7378 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7379 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7380 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7381 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7382 | end | |
7383 | for i = 0, 1, 0.1 do | |
7384 | swait() | |
7385 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7386 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7387 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7388 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7389 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7390 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7391 | end | |
7392 | punchsound1:Play() | |
7393 | for i = 0, 1, 0.1 do | |
7394 | swait() | |
7395 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7396 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7397 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7398 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7399 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7400 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7401 | end | |
7402 | for i,v in pairs(to.Parent:GetChildren()) do | |
7403 | if v:IsA("Humanoid") then | |
7404 | v.Health = v.Health - 3 | |
7405 | ||
7406 | v.PlatformStand = true | |
7407 | end | |
7408 | end | |
7409 | to.CFrame = CFrame.new(to.CFrame.p + v3(90,20,0)) | |
7410 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(90,20,0)) | |
7411 | Zanzoken = Instance.new("Part",char) | |
7412 | Zanzoken.Anchored = true | |
7413 | Zanzoken.Position = v3(999,999,999) | |
7414 | Zanzoken.CFrame = Torso.CFrame | |
7415 | game.Debris:AddItem(Zanzoken,0.5) | |
7416 | Zanzoken.Transparency = 1 | |
7417 | Zano:Play() | |
7418 | wait() | |
7419 | idk = Instance.new("BillboardGui",Zanzoken) | |
7420 | idk.Size = UDim2.new(10,0,15,0) | |
7421 | idk.AlwaysOnTop = false | |
7422 | idk1 = Instance.new("ImageLabel",idk) | |
7423 | idk1.BackgroundTransparency = 1 | |
7424 | idk.ExtentsOffset = v3(0,0,0) | |
7425 | idk1.ImageTransparency = 0 | |
7426 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7427 | idk1.Size = UDim2.new(2,0,1,0) | |
7428 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7429 | idk1.Image = "rbxassetid://319554883" | |
7430 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7431 | wait() | |
7432 | Zanzoken = Instance.new("Part",char) | |
7433 | Zanzoken.Anchored = true | |
7434 | Zanzoken.Position = v3(999,999,999) | |
7435 | Zanzoken.CFrame = Torso.CFrame | |
7436 | game.Debris:AddItem(Zanzoken,0.5) | |
7437 | Zanzoken.Transparency = 1 | |
7438 | wait() | |
7439 | idk = Instance.new("BillboardGui",Zanzoken) | |
7440 | idk.Size = UDim2.new(20,0,20,0) | |
7441 | idk.AlwaysOnTop = false | |
7442 | idk1 = Instance.new("ImageLabel",idk) | |
7443 | idk1.BackgroundTransparency = 1 | |
7444 | idk.ExtentsOffset = v3(0,0,0) | |
7445 | idk1.ImageTransparency = 0 | |
7446 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7447 | idk1.Size = UDim2.new(2,0,1,0) | |
7448 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7449 | idk1.Image = "rbxassetid://319554883" | |
7450 | punchsound1:Play() | |
7451 | for i = 0, 1, 0.1 do | |
7452 | swait() | |
7453 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7454 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7455 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7456 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7457 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7458 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7459 | end | |
7460 | punchsound1:Play() | |
7461 | for i = 0, 1, 0.1 do | |
7462 | swait() | |
7463 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7464 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7465 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7466 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7467 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7468 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7469 | end | |
7470 | ||
7471 | ||
7472 | for i,v in pairs(to.Parent:GetChildren()) do | |
7473 | if v:IsA("Humanoid") then | |
7474 | v.Health = v.Health - 20 | |
7475 | ||
7476 | v.PlatformStand = true | |
7477 | end | |
7478 | end | |
7479 | StrongPunch:Play() | |
7480 | for i = 0, 1, 0.1 do | |
7481 | swait() | |
7482 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7483 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7484 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7485 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7486 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7487 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7488 | end | |
7489 | for i = 0, 1, 0.1 do | |
7490 | swait() | |
7491 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7492 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7493 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7494 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7495 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7496 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7497 | end | |
7498 | for i,v in pairs(to.Parent:GetChildren()) do | |
7499 | if v:IsA("Humanoid") then | |
7500 | v.Health = v.Health - 3 | |
7501 | ||
7502 | v.PlatformStand = true | |
7503 | end | |
7504 | end | |
7505 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,200,0)) | |
7506 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,200,0)) | |
7507 | Zanzoken = Instance.new("Part",char) | |
7508 | Zanzoken.Anchored = true | |
7509 | Zanzoken.Position = v3(999,999,999) | |
7510 | Zanzoken.CFrame = Torso.CFrame | |
7511 | game.Debris:AddItem(Zanzoken,0.5) | |
7512 | Zanzoken.Transparency = 1 | |
7513 | Zano:Play() | |
7514 | wait() | |
7515 | idk = Instance.new("BillboardGui",Zanzoken) | |
7516 | idk.Size = UDim2.new(10,0,15,0) | |
7517 | idk.AlwaysOnTop = false | |
7518 | idk1 = Instance.new("ImageLabel",idk) | |
7519 | idk1.BackgroundTransparency = 1 | |
7520 | idk.ExtentsOffset = v3(0,0,0) | |
7521 | idk1.ImageTransparency = 0 | |
7522 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7523 | idk1.Size = UDim2.new(2,0,1,0) | |
7524 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7525 | idk1.Image = "rbxassetid://319554883" | |
7526 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7527 | wait() | |
7528 | Zanzoken = Instance.new("Part",char) | |
7529 | Zanzoken.Anchored = true | |
7530 | Zanzoken.Position = v3(999,999,999) | |
7531 | Zanzoken.CFrame = Torso.CFrame | |
7532 | game.Debris:AddItem(Zanzoken,0.5) | |
7533 | Zanzoken.Transparency = 1 | |
7534 | wait() | |
7535 | idk = Instance.new("BillboardGui",Zanzoken) | |
7536 | idk.Size = UDim2.new(20,0,20,0) | |
7537 | idk.AlwaysOnTop = false | |
7538 | idk1 = Instance.new("ImageLabel",idk) | |
7539 | idk1.BackgroundTransparency = 1 | |
7540 | idk.ExtentsOffset = v3(0,0,0) | |
7541 | idk1.ImageTransparency = 0 | |
7542 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7543 | idk1.Size = UDim2.new(2,0,1,0) | |
7544 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7545 | idk1.Image = "rbxassetid://319554883" | |
7546 | for i = 0, 1, 0.1 do | |
7547 | swait() | |
7548 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7549 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7550 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7551 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7552 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7553 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7554 | end | |
7555 | punchsound1:Play() | |
7556 | for i = 0, 1, 0.1 do | |
7557 | swait() | |
7558 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7559 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7560 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7561 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7562 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7563 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7564 | end | |
7565 | punchsound1:Play() | |
7566 | for i = 0, 1, 0.1 do | |
7567 | swait() | |
7568 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7569 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7570 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7571 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7572 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7573 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7574 | end | |
7575 | for i = 0, 1, 0.1 do | |
7576 | swait() | |
7577 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7578 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7579 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7580 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7581 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7582 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7583 | end | |
7584 | for i = 0, 1, 0.1 do | |
7585 | swait() | |
7586 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7587 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7588 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7589 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7590 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7591 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7592 | end | |
7593 | to.CFrame = CFrame.new(to.CFrame.p + v3(60,100,0)) | |
7594 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(60,140,0)) | |
7595 | Zanzoken = Instance.new("Part",char) | |
7596 | Zanzoken.Anchored = true | |
7597 | Zanzoken.Position = v3(999,999,999) | |
7598 | Zanzoken.CFrame = Torso.CFrame | |
7599 | game.Debris:AddItem(Zanzoken,0.5) | |
7600 | Zanzoken.Transparency = 1 | |
7601 | Zano:Play() | |
7602 | wait() | |
7603 | idk = Instance.new("BillboardGui",Zanzoken) | |
7604 | idk.Size = UDim2.new(10,0,15,0) | |
7605 | idk.AlwaysOnTop = false | |
7606 | idk1 = Instance.new("ImageLabel",idk) | |
7607 | idk1.BackgroundTransparency = 1 | |
7608 | idk.ExtentsOffset = v3(0,0,0) | |
7609 | idk1.ImageTransparency = 0 | |
7610 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7611 | idk1.Size = UDim2.new(2,0,1,0) | |
7612 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7613 | idk1.Image = "rbxassetid://319554883" | |
7614 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7615 | wait() | |
7616 | Zanzoken = Instance.new("Part",char) | |
7617 | Zanzoken.Anchored = true | |
7618 | Zanzoken.Position = v3(999,999,999) | |
7619 | Zanzoken.CFrame = Torso.CFrame | |
7620 | game.Debris:AddItem(Zanzoken,0.5) | |
7621 | Zanzoken.Transparency = 1 | |
7622 | wait() | |
7623 | idk = Instance.new("BillboardGui",Zanzoken) | |
7624 | idk.Size = UDim2.new(20,0,20,0) | |
7625 | idk.AlwaysOnTop = false | |
7626 | idk1 = Instance.new("ImageLabel",idk) | |
7627 | idk1.BackgroundTransparency = 1 | |
7628 | idk.ExtentsOffset = v3(0,0,0) | |
7629 | idk1.ImageTransparency = 0 | |
7630 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7631 | idk1.Size = UDim2.new(2,0,1,0) | |
7632 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7633 | idk1.Image = "rbxassetid://319554883" | |
7634 | StrongPunch:Play() | |
7635 | Break:Play() | |
7636 | local Aura4 = Instance.new('ParticleEmitter') | |
7637 | Aura4.Name = "Aura" | |
7638 | Aura4.Texture = "rbxassetid://1046299182" | |
7639 | Aura4.Parent = Torso | |
7640 | Aura4.LightEmission = 1 | |
7641 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
7642 | Aura4.Color = ColorSequence.new(BrickColor.new("White").Color) | |
7643 | Aura4.Size = NumberSequence.new(1,30) | |
7644 | Aura4.Rotation = NumberRange.new(-360,360) | |
7645 | Aura4.LockedToPart = true | |
7646 | Aura4.Lifetime = NumberRange.new(0.2) | |
7647 | Aura4.Rate = 100 | |
7648 | Aura4.Speed = NumberRange.new(0) | |
7649 | Aura4.EmissionDirection = "Top" | |
7650 | for i = 0, 6, 0.1 do | |
7651 | swait() | |
7652 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7653 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7654 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7655 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7656 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7657 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7658 | end | |
7659 | Aura4:Destroy() | |
7660 | wait(0.1) | |
7661 | local Aura4 = Instance.new('ParticleEmitter') | |
7662 | Aura4.Name = "Aura" | |
7663 | Aura4.Texture = "rbxassetid://1046299182" | |
7664 | Aura4.Parent = Torso | |
7665 | Aura4.LightEmission = 1 | |
7666 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
7667 | Aura4.Color = ColorSequence.new(BrickColor.new("White").Color) | |
7668 | Aura4.Size = NumberSequence.new(1,30) | |
7669 | Aura4.Rotation = NumberRange.new(-360,360) | |
7670 | Aura4.LockedToPart = true | |
7671 | Aura4.Lifetime = NumberRange.new(0.2) | |
7672 | Aura4.Rate = 100 | |
7673 | Aura4.Speed = NumberRange.new(0) | |
7674 | Aura4.EmissionDirection = "Top" | |
7675 | StrongPunch1:Play() | |
7676 | Break:Play() | |
7677 | for i = 0, 6, 0.1 do | |
7678 | swait() | |
7679 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7680 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7681 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7682 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7683 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7684 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7685 | end | |
7686 | Aura4:Destroy() | |
7687 | StrongPunch2:Play() | |
7688 | Break:Play() | |
7689 | local Aura4 = Instance.new('ParticleEmitter') | |
7690 | Aura4.Name = "Aura" | |
7691 | Aura4.Texture = "rbxassetid://1046299182" | |
7692 | Aura4.Parent = Torso | |
7693 | Aura4.LightEmission = 1 | |
7694 | Aura4.Transparency = NumberSequence.new(0.7,1) | |
7695 | Aura4.Color = ColorSequence.new(BrickColor.new("White").Color) | |
7696 | Aura4.Size = NumberSequence.new(1,30) | |
7697 | Aura4.Rotation = NumberRange.new(-360,360) | |
7698 | Aura4.LockedToPart = true | |
7699 | Aura4.Lifetime = NumberRange.new(0.2) | |
7700 | Aura4.Rate = 100 | |
7701 | Aura4.Speed = NumberRange.new(0) | |
7702 | Aura4.EmissionDirection = "Top" | |
7703 | for i = 0, 7, 0.1 do | |
7704 | swait() | |
7705 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7706 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7707 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7708 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7709 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7710 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7711 | end | |
7712 | to.CFrame = CFrame.new(to.CFrame.p + v3(-100,600,0)) | |
7713 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(-100,600,0)) | |
7714 | Aura4:Destroy() | |
7715 | Zanzoken = Instance.new("Part",char) | |
7716 | Zanzoken.Anchored = true | |
7717 | Zanzoken.Position = v3(999,999,999) | |
7718 | Zanzoken.CFrame = Torso.CFrame | |
7719 | game.Debris:AddItem(Zanzoken,0.5) | |
7720 | Zanzoken.Transparency = 1 | |
7721 | Zano:Play() | |
7722 | wait() | |
7723 | idk = Instance.new("BillboardGui",Zanzoken) | |
7724 | idk.Size = UDim2.new(10,0,15,0) | |
7725 | idk.AlwaysOnTop = false | |
7726 | idk1 = Instance.new("ImageLabel",idk) | |
7727 | idk1.BackgroundTransparency = 1 | |
7728 | idk.ExtentsOffset = v3(0,0,0) | |
7729 | idk1.ImageTransparency = 0 | |
7730 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7731 | idk1.Size = UDim2.new(2,0,1,0) | |
7732 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7733 | idk1.Image = "rbxassetid://319554883" | |
7734 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7735 | wait() | |
7736 | Zanzoken = Instance.new("Part",char) | |
7737 | Zanzoken.Anchored = true | |
7738 | Zanzoken.Position = v3(999,999,999) | |
7739 | Zanzoken.CFrame = Torso.CFrame | |
7740 | game.Debris:AddItem(Zanzoken,0.5) | |
7741 | Zanzoken.Transparency = 1 | |
7742 | wait() | |
7743 | idk = Instance.new("BillboardGui",Zanzoken) | |
7744 | idk.Size = UDim2.new(20,0,20,0) | |
7745 | idk.AlwaysOnTop = false | |
7746 | idk1 = Instance.new("ImageLabel",idk) | |
7747 | idk1.BackgroundTransparency = 1 | |
7748 | idk.ExtentsOffset = v3(0,0,0) | |
7749 | idk1.ImageTransparency = 0 | |
7750 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7751 | idk1.Size = UDim2.new(2,0,1,0) | |
7752 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7753 | idk1.Image = "rbxassetid://319554883" | |
7754 | for i = 0, 1, 0.1 do | |
7755 | swait() | |
7756 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7757 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7758 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7760 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7761 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7762 | end | |
7763 | punchsound1:Play() | |
7764 | for i = 0, 1, 0.1 do | |
7765 | swait() | |
7766 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7767 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7768 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7769 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7770 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7771 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7772 | end | |
7773 | punchsound1:Play() | |
7774 | for i = 0, 1, 0.1 do | |
7775 | swait() | |
7776 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7777 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7778 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7779 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7780 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7781 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7782 | end | |
7783 | for i = 0, 1, 0.1 do | |
7784 | swait() | |
7785 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7786 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
7787 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7788 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7789 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
7790 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7791 | end | |
7792 | for i = 0, 1, 0.1 do | |
7793 | swait() | |
7794 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7795 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7796 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7797 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7798 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7799 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7800 | end | |
7801 | punchsound1:Play() | |
7802 | for i = 0, 0.5, 0.1 do | |
7803 | swait() | |
7804 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7805 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7806 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7807 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7808 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7809 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7810 | end | |
7811 | punchsound1:Play() | |
7812 | for i = 0, 0.5, 0.1 do | |
7813 | swait() | |
7814 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7815 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7816 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7817 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7818 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7819 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7820 | end | |
7821 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,-800,0)) | |
7822 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,-800,0)) | |
7823 | Zanzoken = Instance.new("Part",char) | |
7824 | Zanzoken.Anchored = true | |
7825 | Zanzoken.Position = v3(999,999,999) | |
7826 | Zanzoken.CFrame = Torso.CFrame | |
7827 | game.Debris:AddItem(Zanzoken,0.5) | |
7828 | Zanzoken.Transparency = 1 | |
7829 | Zano:Play() | |
7830 | wait() | |
7831 | idk = Instance.new("BillboardGui",Zanzoken) | |
7832 | idk.Size = UDim2.new(10,0,15,0) | |
7833 | idk.AlwaysOnTop = false | |
7834 | idk1 = Instance.new("ImageLabel",idk) | |
7835 | idk1.BackgroundTransparency = 1 | |
7836 | idk.ExtentsOffset = v3(0,0,0) | |
7837 | idk1.ImageTransparency = 0 | |
7838 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7839 | idk1.Size = UDim2.new(2,0,1,0) | |
7840 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7841 | idk1.Image = "rbxassetid://319554883" | |
7842 | RootPart.CFrame = to.CFrame - to.CFrame.lookVector * 3 | |
7843 | wait() | |
7844 | Zanzoken = Instance.new("Part",char) | |
7845 | Zanzoken.Anchored = true | |
7846 | Zanzoken.Position = v3(999,999,999) | |
7847 | Zanzoken.CFrame = Torso.CFrame | |
7848 | game.Debris:AddItem(Zanzoken,0.5) | |
7849 | Zanzoken.Transparency = 1 | |
7850 | wait() | |
7851 | idk = Instance.new("BillboardGui",Zanzoken) | |
7852 | idk.Size = UDim2.new(20,0,20,0) | |
7853 | idk.AlwaysOnTop = false | |
7854 | idk1 = Instance.new("ImageLabel",idk) | |
7855 | idk1.BackgroundTransparency = 1 | |
7856 | idk.ExtentsOffset = v3(0,0,0) | |
7857 | idk1.ImageTransparency = 0 | |
7858 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7859 | idk1.Size = UDim2.new(2,0,1,0) | |
7860 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7861 | idk1.Image = "rbxassetid://319554883" | |
7862 | for i = 0, 0.4, 0.1 do | |
7863 | swait() | |
7864 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7865 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7866 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7867 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7868 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7869 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7870 | end | |
7871 | punchsound1:Play() | |
7872 | for i = 0, 0.4, 0.1 do | |
7873 | swait() | |
7874 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7875 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7876 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7877 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7878 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7879 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7880 | end | |
7881 | punchsound1:Play() | |
7882 | for i = 0, 1, 0.1 do | |
7883 | swait() | |
7884 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
7885 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
7886 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
7887 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
7888 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
7889 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
7890 | end | |
7891 | for i,v in pairs(to.Parent:GetChildren()) do | |
7892 | if v:IsA("Humanoid") then | |
7893 | v.Health = v.Health - 8 | |
7894 | ||
7895 | v.PlatformStand = true | |
7896 | end | |
7897 | end | |
7898 | ||
7899 | hit1 = false | |
7900 | ||
7901 | punchsound1:Play() | |
7902 | hit2 = true | |
7903 | for i = 0, 1, 0.1 do | |
7904 | swait() | |
7905 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
7906 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
7907 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
7908 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
7909 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
7910 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
7911 | end | |
7912 | for i,v in pairs(to.Parent:GetChildren()) do | |
7913 | if v:IsA("Humanoid") then | |
7914 | v.Health = v.Health - 10 | |
7915 | ||
7916 | v.PlatformStand = true | |
7917 | end | |
7918 | end | |
7919 | hit2 = false | |
7920 | ||
7921 | punchsound1:Play() | |
7922 | hit3 = true | |
7923 | hit4 = true | |
7924 | ||
7925 | ||
7926 | punchsound1:Play() | |
7927 | ||
7928 | ||
7929 | coroutine.wrap(function() | |
7930 | for i=1,2 do | |
7931 | wait() | |
7932 | ||
7933 | ||
7934 | ||
7935 | ||
7936 | ||
7937 | for i,v in pairs(to.Parent:GetChildren()) do | |
7938 | if v:IsA("Humanoid") then | |
7939 | v.Health = v.Health - 30 | |
7940 | ||
7941 | v.PlatformStand = true | |
7942 | end | |
7943 | end | |
7944 | end | |
7945 | ||
7946 | ||
7947 | wait(3) | |
7948 | end)() | |
7949 | ||
7950 | ||
7951 | ||
7952 | RootPart.Anchored = false | |
7953 | ||
7954 | ||
7955 | ||
7956 | ||
7957 | ||
7958 | StrongPunch:Play() | |
7959 | ||
7960 | ||
7961 | ||
7962 | ||
7963 | ||
7964 | ||
7965 | for i,v in pairs(to.Parent:GetChildren()) do | |
7966 | if v:IsA("Humanoid") then | |
7967 | v.Health = v.Health - 20 | |
7968 | ||
7969 | v.PlatformStand = true | |
7970 | end | |
7971 | end | |
7972 | ||
7973 | StrongPunch2:Play() | |
7974 | ||
7975 | ||
7976 | hitground = new("Part",char) | |
7977 | hitground.Size = Vector3.new(5,5,5) | |
7978 | hitground.Name = "Ground" | |
7979 | hitground.Transparency = 1 | |
7980 | hitground.CanCollide = false | |
7981 | game.Debris:AddItem(hitground,2) | |
7982 | hitground.Position = Vector3.new(999,999,999) | |
7983 | hitgroundweld = new("Weld",hitground) | |
7984 | hitgroundweld.Part0 = to | |
7985 | hitgroundweld.Part1 = hitground | |
7986 | hitground.Touched:connect(function(hit2) | |
7987 | if hit2.Size.x > 150 then | |
7988 | hitground:Destroy() | |
7989 | ad = new("Part",char) | |
7990 | ad.Name = "NewPart" | |
7991 | ad.Size = Vector3.new(30,0.1,30) | |
7992 | ad.CanCollide = false | |
7993 | ad.Anchored = true | |
7994 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
7995 | ad.Transparency = 1 | |
7996 | aad = new("Decal",ad) | |
7997 | ||
7998 | aad.Face = "Top" | |
7999 | aad.Transparency = 1 | |
8000 | aad.Transparency = 0 | |
8001 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
8002 | smoke = new("Part",to) | |
8003 | smokemesh = new("SpecialMesh",smoke) | |
8004 | smokemesh.MeshId = "rbxassetid://928329648" | |
8005 | smoke.BrickColor = hit2.BrickColor | |
8006 | smoke.Anchored = true | |
8007 | smoke.Position = hitground.Position | |
8008 | GroundImpact:Play() | |
8009 | for i = 1,20 do | |
8010 | wait() | |
8011 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
8012 | smoke.Transparency = smoke.Transparency + 1/20 | |
8013 | end | |
8014 | smoke:Destroy() | |
8015 | wait(0.5) | |
8016 | ||
8017 | for i = 1,20 do | |
8018 | wait(0.1) | |
8019 | aad.Transparency = aad.Transparency + 1/20 | |
8020 | end | |
8021 | end | |
8022 | end) | |
8023 | ys = Instance.new("BodyVelocity",to) | |
8024 | ys.Name = "GO" | |
8025 | ||
8026 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
8027 | ||
8028 | ys.Velocity = v3(0,-90,0) | |
8029 | ||
8030 | wait(1) | |
8031 | ys:Destroy() | |
8032 | ||
8033 | ||
8034 | ||
8035 | ||
8036 | ||
8037 | hit3 = false | |
8038 | hit4 = false | |
8039 | ||
8040 | ||
8041 | hit1 = false | |
8042 | hit2 = false | |
8043 | hit3 = false | |
8044 | hit4 = false | |
8045 | idle = true | |
8046 | RootPart.Anchored = false | |
8047 | to.Anchored = false | |
8048 | end | |
8049 | end) | |
8050 | end | |
8051 | ||
8052 | ||
8053 | function Combo2() | |
8054 | getplayer = new("Part",char) | |
8055 | getplayer.Position = Vector3.new(999,999,999) | |
8056 | getplayer.Transparency = 1 | |
8057 | getplayer.Size = v3(3,3,3) | |
8058 | getplayer.CanCollide = false | |
8059 | getplayer.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3 | |
8060 | getplayer.Name = "GetPlayer" | |
8061 | ||
8062 | game.Debris:AddItem(getplayer,0.5) | |
8063 | ||
8064 | getplayer.Touched:connect(function(hit) | |
8065 | if hit.Parent:FindFirstChild("GetPlayer") == nil and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then | |
8066 | getplayer:Destroy() | |
8067 | to = hit.Parent:findFirstChild("HumanoidRootPart") | |
8068 | to.CFrame = CFrame.new(RootPart.CFrame.p+v3(0,0.5,0)) + RootPart.CFrame.lookVector*2 | |
8069 | to.Anchored = true | |
8070 | idle = false | |
8071 | ||
8072 | ||
8073 | punchsound1:Play() | |
8074 | hit1 = true | |
8075 | for i = 0, 1, 0.1 do | |
8076 | swait() | |
8077 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
8078 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
8079 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
8080 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
8081 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
8082 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
8083 | end | |
8084 | punchsound1:Play() | |
8085 | for i = 0, 1, 0.1 do | |
8086 | swait() | |
8087 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8088 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8089 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8090 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8091 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8092 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8093 | end | |
8094 | punchsound1:Play() | |
8095 | for i = 0, 1, 0.1 do | |
8096 | swait() | |
8097 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
8098 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
8099 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
8100 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
8101 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
8102 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
8103 | end | |
8104 | for i = 0, 1, 0.1 do | |
8105 | swait() | |
8106 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8107 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8108 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8109 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8110 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8111 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8112 | end | |
8113 | for i = 0, 1, 0.1 do | |
8114 | swait() | |
8115 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
8116 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
8117 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
8118 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
8119 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
8120 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
8121 | end | |
8122 | StrongPunch1:Play() | |
8123 | for i = 0, 1, 0.1 do | |
8124 | swait() | |
8125 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8126 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8127 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8128 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8129 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8130 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8131 | end | |
8132 | for i = 0, 0.6, 0.1 do | |
8133 | swait() | |
8134 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
8135 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
8136 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
8137 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
8138 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
8139 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
8140 | end | |
8141 | for i = 0, 0.6, 0.1 do | |
8142 | swait() | |
8143 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8144 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8145 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8146 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8147 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8148 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8149 | end | |
8150 | for i,v in pairs(to.Parent:GetChildren()) do | |
8151 | if v:IsA("Humanoid") then | |
8152 | v.Health = v.Health - 6 | |
8153 | ||
8154 | v.PlatformStand = true | |
8155 | end | |
8156 | end | |
8157 | StrongPunch:Play() | |
8158 | for i = 0, 1, 0.1 do | |
8159 | swait() | |
8160 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
8161 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
8162 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8163 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8164 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
8165 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8166 | end | |
8167 | for i,v in pairs(to.Parent:GetChildren()) do | |
8168 | if v:IsA("Humanoid") then | |
8169 | v.Health = v.Health - 8 | |
8170 | ||
8171 | v.PlatformStand = true | |
8172 | end | |
8173 | end | |
8174 | ||
8175 | hit1 = false | |
8176 | ||
8177 | punchsound1:Play() | |
8178 | hit2 = true | |
8179 | for i = 0, 1, 0.1 do | |
8180 | swait() | |
8181 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8182 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8183 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8184 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8185 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8186 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8187 | end | |
8188 | for i,v in pairs(to.Parent:GetChildren()) do | |
8189 | if v:IsA("Humanoid") then | |
8190 | v.Health = v.Health - 5 | |
8191 | ||
8192 | v.PlatformStand = true | |
8193 | end | |
8194 | end | |
8195 | hit2 = false | |
8196 | ||
8197 | punchsound1:Play() | |
8198 | hit3 = true | |
8199 | hit4 = true | |
8200 | ||
8201 | ||
8202 | punchsound1:Play() | |
8203 | ||
8204 | coroutine.wrap(function() | |
8205 | for i=1,2 do | |
8206 | wait() | |
8207 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,35,0)) | |
8208 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,35,0)) | |
8209 | Zanzoken = Instance.new("Part",char) | |
8210 | Zanzoken.Anchored = true | |
8211 | Zanzoken.Position = v3(999,999,999) | |
8212 | Zanzoken.CFrame = Torso.CFrame | |
8213 | game.Debris:AddItem(Zanzoken,0.5) | |
8214 | Zanzoken.Transparency = 1 | |
8215 | Zano:Play() | |
8216 | wait() | |
8217 | idk = Instance.new("BillboardGui",Zanzoken) | |
8218 | idk.Size = UDim2.new(10,0,15,0) | |
8219 | idk.AlwaysOnTop = false | |
8220 | idk1 = Instance.new("ImageLabel",idk) | |
8221 | idk1.BackgroundTransparency = 1 | |
8222 | idk.ExtentsOffset = v3(0,0,0) | |
8223 | idk1.ImageTransparency = 0 | |
8224 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
8225 | idk1.Size = UDim2.new(2,0,1,0) | |
8226 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
8227 | idk1.Image = "rbxassetid://319554883" | |
8228 | wait() | |
8229 | Zanzoken = Instance.new("Part",char) | |
8230 | Zanzoken.Anchored = true | |
8231 | Zanzoken.Position = v3(999,999,999) | |
8232 | Zanzoken.CFrame = Torso.CFrame | |
8233 | game.Debris:AddItem(Zanzoken,0.5) | |
8234 | Zanzoken.Transparency = 1 | |
8235 | wait() | |
8236 | idk = Instance.new("BillboardGui",Zanzoken) | |
8237 | idk.Size = UDim2.new(20,0,20,0) | |
8238 | idk.AlwaysOnTop = false | |
8239 | idk1 = Instance.new("ImageLabel",idk) | |
8240 | idk1.BackgroundTransparency = 1 | |
8241 | idk.ExtentsOffset = v3(0,0,0) | |
8242 | idk1.ImageTransparency = 0 | |
8243 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
8244 | idk1.Size = UDim2.new(2,0,1,0) | |
8245 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
8246 | idk1.Image = "rbxassetid://319554883" | |
8247 | for i = 0, 1, 0.1 do | |
8248 | swait() | |
8249 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8250 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8251 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8252 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8253 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8254 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8255 | end | |
8256 | StrongPunch:Play() | |
8257 | for i,v in pairs(to.Parent:GetChildren()) do | |
8258 | if v:IsA("Humanoid") then | |
8259 | v.Health = v.Health - 10 | |
8260 | ||
8261 | v.PlatformStand = true | |
8262 | end | |
8263 | end | |
8264 | end | |
8265 | ||
8266 | ||
8267 | wait(0.7) | |
8268 | end)() | |
8269 | ||
8270 | ||
8271 | ||
8272 | ||
8273 | RootPart.Anchored = true | |
8274 | to.CFrame = CFrame.new(to.CFrame.p + v3(0,0,35)) | |
8275 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p + v3(0,0,35)) | |
8276 | Zanzoken = Instance.new("Part",char) | |
8277 | Zanzoken.Anchored = true | |
8278 | Zanzoken.Position = v3(999,999,999) | |
8279 | Zanzoken.CFrame = Torso.CFrame | |
8280 | game.Debris:AddItem(Zanzoken,0.5) | |
8281 | Zanzoken.Transparency = 1 | |
8282 | Zano:Play() | |
8283 | wait() | |
8284 | idk = Instance.new("BillboardGui",Zanzoken) | |
8285 | idk.Size = UDim2.new(10,0,15,0) | |
8286 | idk.AlwaysOnTop = false | |
8287 | idk1 = Instance.new("ImageLabel",idk) | |
8288 | idk1.BackgroundTransparency = 1 | |
8289 | idk.ExtentsOffset = v3(0,0,0) | |
8290 | idk1.ImageTransparency = 0 | |
8291 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
8292 | idk1.Size = UDim2.new(2,0,1,0) | |
8293 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
8294 | idk1.Image = "rbxassetid://319554883" | |
8295 | wait() | |
8296 | Zanzoken = Instance.new("Part",char) | |
8297 | Zanzoken.Anchored = true | |
8298 | Zanzoken.Position = v3(999,999,999) | |
8299 | Zanzoken.CFrame = Torso.CFrame | |
8300 | game.Debris:AddItem(Zanzoken,0.5) | |
8301 | Zanzoken.Transparency = 1 | |
8302 | wait() | |
8303 | idk = Instance.new("BillboardGui",Zanzoken) | |
8304 | idk.Size = UDim2.new(20,0,20,0) | |
8305 | idk.AlwaysOnTop = false | |
8306 | idk1 = Instance.new("ImageLabel",idk) | |
8307 | idk1.BackgroundTransparency = 1 | |
8308 | idk.ExtentsOffset = v3(0,0,0) | |
8309 | idk1.ImageTransparency = 0 | |
8310 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
8311 | idk1.Size = UDim2.new(2,0,1,0) | |
8312 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
8313 | idk1.Image = "rbxassetid://319554883" | |
8314 | ||
8315 | for i = 0, 1, 0.1 do | |
8316 | swait() | |
8317 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8318 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8319 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8320 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8321 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8322 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8323 | end | |
8324 | ||
8325 | ||
8326 | StrongPunch:Play() | |
8327 | ||
8328 | ||
8329 | for i = 0, 1, 0.1 do | |
8330 | swait() | |
8331 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8332 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) | |
8333 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3) | |
8334 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8335 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
8336 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
8337 | end | |
8338 | ||
8339 | for i = 0, 1, 0.1 do | |
8340 | swait() | |
8341 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3) | |
8342 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
8343 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2) | |
8344 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3) | |
8345 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
8346 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
8347 | end | |
8348 | ||
8349 | ||
8350 | ||
8351 | for i,v in pairs(to.Parent:GetChildren()) do | |
8352 | if v:IsA("Humanoid") then | |
8353 | v.Health = v.Health - 20 | |
8354 | ||
8355 | v.PlatformStand = true | |
8356 | end | |
8357 | end | |
8358 | ||
8359 | StrongPunch2:Play() | |
8360 | for i = 0, 1, 0.1 do | |
8361 | swait() | |
8362 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
8363 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
8364 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8365 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
8366 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
8367 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
8368 | end | |
8369 | ||
8370 | hitground = new("Part",char) | |
8371 | hitground.Size = Vector3.new(5,5,5) | |
8372 | hitground.Name = "Ground" | |
8373 | hitground.Transparency = 1 | |
8374 | hitground.CanCollide = false | |
8375 | game.Debris:AddItem(hitground,2) | |
8376 | hitground.Position = Vector3.new(999,999,999) | |
8377 | hitgroundweld = new("Weld",hitground) | |
8378 | hitgroundweld.Part0 = to | |
8379 | hitgroundweld.Part1 = hitground | |
8380 | hitground.Touched:connect(function(hit2) | |
8381 | if hit2.Size.x > 150 then | |
8382 | hitground:Destroy() | |
8383 | ad = new("Part",char) | |
8384 | ad.Name = "NewPart" | |
8385 | ad.Size = Vector3.new(30,0.1,30) | |
8386 | ad.CanCollide = false | |
8387 | ad.Anchored = true | |
8388 | ad.Position = Vector3.new(hitground.Position.x,hit2.Position.y,hitground.Position.z) | |
8389 | ad.Transparency = 1 | |
8390 | aad = new("Decal",ad) | |
8391 | ||
8392 | aad.Face = "Top" | |
8393 | aad.Transparency = 1 | |
8394 | aad.Transparency = 0 | |
8395 | aad.Texture = "http://www.roblox.com/asset/?id=108186785" | |
8396 | smoke = new("Part",to) | |
8397 | smokemesh = new("SpecialMesh",smoke) | |
8398 | smokemesh.MeshId = "rbxassetid://928329648" | |
8399 | smoke.BrickColor = hit2.BrickColor | |
8400 | smoke.Anchored = true | |
8401 | smoke.Position = hitground.Position | |
8402 | GroundImpact:Play() | |
8403 | for i = 1,20 do | |
8404 | wait() | |
8405 | smokemesh.Scale = smokemesh.Scale + Vector3.new(3,3,3) | |
8406 | smoke.Transparency = smoke.Transparency + 1/20 | |
8407 | end | |
8408 | smoke:Destroy() | |
8409 | wait(0.5) | |
8410 | ||
8411 | for i = 1,20 do | |
8412 | wait(0.1) | |
8413 | aad.Transparency = aad.Transparency + 1/20 | |
8414 | end | |
8415 | end | |
8416 | end) | |
8417 | to.Anchored = false | |
8418 | ys = Instance.new("BodyVelocity",to) | |
8419 | ys.Name = "GO" | |
8420 | ||
8421 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
8422 | ||
8423 | ys.Velocity = v3(0,-90,0) | |
8424 | ||
8425 | wait(1) | |
8426 | ys:Destroy() | |
8427 | ||
8428 | ||
8429 | ||
8430 | ||
8431 | ||
8432 | hit3 = false | |
8433 | hit4 = false | |
8434 | ||
8435 | ||
8436 | hit1 = false | |
8437 | hit2 = false | |
8438 | hit3 = false | |
8439 | hit4 = false | |
8440 | idle = true | |
8441 | RootPart.Anchored = false | |
8442 | end | |
8443 | end) | |
8444 | end | |
8445 | ||
8446 | function KABOOMZ222() | |
8447 | local effspwn = Instance.new("Part") | |
8448 | coroutine.resume(coroutine.create(function() | |
8449 | local sound1 = Instance.new("Sound") | |
8450 | sound1.SoundId = "rbxassetid://440145223" | |
8451 | sound1.MaxDistance = 600 | |
8452 | sound1.EmitterSize = 60 | |
8453 | sound1.Volume = 5.5 | |
8454 | sound1.Pitch = 1.3 | |
8455 | sound1.Parent = effspwn | |
8456 | local sound2 = Instance.new("Sound") | |
8457 | sound2.SoundId = "rbxassetid://440145223" | |
8458 | sound2.MaxDistance = 300 | |
8459 | sound2.EmitterSize = 20 | |
8460 | sound2.Volume = 3 | |
8461 | sound2.Pitch = 0.7 | |
8462 | sound2.Parent = effspwn | |
8463 | local sound3 = Instance.new("Sound") | |
8464 | sound3.SoundId = "rbxassetid://440145223" | |
8465 | sound2.MaxDistance = 400 | |
8466 | sound2.EmitterSize = 30 | |
8467 | sound2.Volume = 0.5 | |
8468 | sound2.Pitch = 0.5 | |
8469 | sound2.Parent = effspwn | |
8470 | sound2:Play() | |
8471 | wait() | |
8472 | sound1:Play() | |
8473 | sound3:Play() | |
8474 | end)) | |
8475 | local model = Instance.new("Model") | |
8476 | game.Debris:AddItem(model, 20) | |
8477 | model.Name = "smasheffects" | |
8478 | model.Parent = workspace | |
8479 | effspwn.Name = "spwnr" | |
8480 | effspwn.Size = Vector3.new(1, 1, 1) | |
8481 | effspwn.Anchored = true | |
8482 | effspwn.CanCollide = false | |
8483 | effspwn.Transparency = 1 | |
8484 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
8485 | effspwn.Parent = model | |
8486 | ||
8487 | ||
8488 | ||
8489 | ||
8490 | coroutine.resume(coroutine.create(function() | |
8491 | local shok = Instance.new("Part") | |
8492 | shok.Name = "whoosh" | |
8493 | shok.BrickColor = BrickColor.new("Institutional white") | |
8494 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
8495 | shok.Size = Vector3.new(1, 1, 1) | |
8496 | shok.Anchored = true | |
8497 | shok.Material = "Neon" | |
8498 | shok.Transparency = 1 | |
8499 | shok.CanCollide = false | |
8500 | shok.Parent = model | |
8501 | game.Debris:AddItem(shok, 12) | |
8502 | local mesh = Instance.new("SpecialMesh") | |
8503 | mesh.MeshType = "FileMesh" | |
8504 | mesh.MeshId = "rbxassetid://437347603" | |
8505 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
8506 | mesh.Parent = shok | |
8507 | ||
8508 | ||
8509 | ||
8510 | ||
8511 | ||
8512 | for e = 1, 8 do | |
8513 | wait() | |
8514 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
8515 | shok.Transparency = shok.Transparency + 0.035 | |
8516 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
8517 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
8518 | ||
8519 | ||
8520 | end | |
8521 | for e = 1, 16 do | |
8522 | wait() | |
8523 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
8524 | shok.Transparency = shok.Transparency + 0.11 | |
8525 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
8526 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
8527 | ||
8528 | end | |
8529 | end)) | |
8530 | coroutine.resume(coroutine.create(function() | |
8531 | local shok = Instance.new("Part") | |
8532 | shok.Name = "wring1" | |
8533 | shok.BrickColor = BrickColor.new("Institutional white") | |
8534 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
8535 | shok.Size = Vector3.new(1, 1, 1) | |
8536 | shok.Anchored = true | |
8537 | shok.Material = "Neon" | |
8538 | shok.Transparency = 0.25 | |
8539 | shok.CanCollide = false | |
8540 | shok.Parent = model | |
8541 | game.Debris:AddItem(shok, 12) | |
8542 | local mesh = Instance.new("SpecialMesh") | |
8543 | mesh.MeshType = "FileMesh" | |
8544 | mesh.MeshId = "rbxassetid://3270017" | |
8545 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
8546 | mesh.Parent = shok | |
8547 | for e = 1, 30 do | |
8548 | wait() | |
8549 | mesh.Scale = mesh.Scale + Vector3.new(0.9, 0.9, 1) | |
8550 | shok.Transparency = shok.Transparency + 0.002 | |
8551 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.52), 0.4) | |
8552 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
8553 | end | |
8554 | for e = 1, 38 do | |
8555 | wait() | |
8556 | mesh.Scale = mesh.Scale + Vector3.new(0.9, 0.9, 0.1) | |
8557 | shok.Transparency = shok.Transparency + 0.002 | |
8558 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.52), 0.4) | |
8559 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
8560 | end | |
8561 | for e = 1, 24 do | |
8562 | wait() | |
8563 | mesh.Scale = mesh.Scale + Vector3.new(0.9, 0.9, 0.1) | |
8564 | shok.Transparency = shok.Transparency + 0.03 | |
8565 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.52), 0.4) | |
8566 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
8567 | end | |
8568 | end)) | |
8569 | coroutine.resume(coroutine.create(function() | |
8570 | local shok = Instance.new("Part") | |
8571 | shok.Name = "wring2" | |
8572 | shok.BrickColor = BrickColor.new("Institutional white") | |
8573 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
8574 | shok.Size = Vector3.new(1, 1, 1) | |
8575 | shok.Anchored = true | |
8576 | shok.Material = "Neon" | |
8577 | shok.Transparency = 0.25 | |
8578 | shok.CanCollide = false | |
8579 | shok.Parent = model | |
8580 | game.Debris:AddItem(shok, 12) | |
8581 | local mesh = Instance.new("SpecialMesh") | |
8582 | mesh.MeshType = "FileMesh" | |
8583 | mesh.MeshId = "rbxassetid://3270017" | |
8584 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
8585 | mesh.Parent = shok | |
8586 | for e = 1, 30 do | |
8587 | wait() | |
8588 | mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 1.2) | |
8589 | shok.Transparency = shok.Transparency + 0.002 | |
8590 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.76), 0.4) | |
8591 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
8592 | end | |
8593 | for e = 1, 38 do | |
8594 | wait() | |
8595 | mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 0.1) | |
8596 | shok.Transparency = shok.Transparency + 0.002 | |
8597 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.76), 0.4) | |
8598 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
8599 | end | |
8600 | for e = 1, 24 do | |
8601 | wait() | |
8602 | mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 0.1) | |
8603 | shok.Transparency = shok.Transparency + 0.03 | |
8604 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.76), 0.4) | |
8605 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
8606 | end | |
8607 | end)) | |
8608 | coroutine.resume(coroutine.create(function() | |
8609 | local shok = Instance.new("Part") | |
8610 | shok.Name = "coil1" | |
8611 | shok.BrickColor = BrickColor.new("Institutional white") | |
8612 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
8613 | shok.Size = Vector3.new(1, 1, 1) | |
8614 | shok.Anchored = true | |
8615 | shok.Material = "Neon" | |
8616 | shok.Transparency = 0.25 | |
8617 | shok.CanCollide = false | |
8618 | shok.Parent = model | |
8619 | game.Debris:AddItem(shok, 12) | |
8620 | local mesh = Instance.new("SpecialMesh") | |
8621 | mesh.MeshType = "FileMesh" | |
8622 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
8623 | mesh.Scale = Vector3.new(12, 12, 12) | |
8624 | mesh.Parent = shok | |
8625 | for e = 1, 15 do | |
8626 | wait() | |
8627 | mesh.Scale = mesh.Scale + Vector3.new(1.8, 1.8, 1.5) | |
8628 | shok.Transparency = shok.Transparency + 0.004 | |
8629 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
8630 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8631 | end | |
8632 | for e = 1, 16 do | |
8633 | wait() | |
8634 | mesh.Scale = mesh.Scale + Vector3.new(1.8, 1.8, 1.5) | |
8635 | shok.Transparency = shok.Transparency + 0.004 | |
8636 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8637 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8638 | end | |
8639 | for e = 1, 12 do | |
8640 | wait() | |
8641 | mesh.Scale = mesh.Scale + Vector3.new(1.8, 1.8, 1.5) | |
8642 | shok.Transparency = shok.Transparency + 0.06 | |
8643 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8644 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8645 | end | |
8646 | end)) | |
8647 | coroutine.resume(coroutine.create(function() | |
8648 | local shok = Instance.new("Part") | |
8649 | shok.Name = "coil2" | |
8650 | shok.BrickColor = BrickColor.new("Institutional white") | |
8651 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
8652 | shok.Size = Vector3.new(1, 1, 1) | |
8653 | shok.Anchored = true | |
8654 | shok.Material = "Neon" | |
8655 | shok.Transparency = 1 | |
8656 | shok.CanCollide = false | |
8657 | shok.Parent = model | |
8658 | game.Debris:AddItem(shok, 12) | |
8659 | local mesh = Instance.new("SpecialMesh") | |
8660 | mesh.MeshType = "FileMesh" | |
8661 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
8662 | mesh.Scale = Vector3.new(6, 12, 6) | |
8663 | mesh.Parent = shok | |
8664 | for e = 1, 15 do | |
8665 | wait() | |
8666 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 1.2, 1.1) | |
8667 | shok.Transparency = shok.Transparency + 0.005 | |
8668 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
8669 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
8670 | end | |
8671 | for e = 1, 16 do | |
8672 | wait() | |
8673 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 1.2, 1.1) | |
8674 | shok.Transparency = shok.Transparency + 0.005 | |
8675 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8676 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
8677 | end | |
8678 | for e = 1, 12 do | |
8679 | wait() | |
8680 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 1.2, 1.1) | |
8681 | shok.Transparency = shok.Transparency + 0.09 | |
8682 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
8683 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
8684 | end | |
8685 | end)) | |
8686 | coroutine.resume(coroutine.create(function() | |
8687 | local shok = Instance.new("Part") | |
8688 | shok.Name = "shokwve" | |
8689 | shok.BrickColor = BrickColor.new("Institutional white") | |
8690 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
8691 | shok.Size = Vector3.new(1, 1, 1) | |
8692 | shok.Anchored = true | |
8693 | shok.Material = "Neon" | |
8694 | shok.Transparency = 0.6 | |
8695 | shok.CanCollide = false | |
8696 | shok.Parent = model | |
8697 | game.Debris:AddItem(shok, 12) | |
8698 | local mesh = Instance.new("SpecialMesh") | |
8699 | mesh.MeshType = "FileMesh" | |
8700 | mesh.MeshId = "rbxassetid://489415447" | |
8701 | mesh.Scale = Vector3.new(1, 1, 1) | |
8702 | mesh.Parent = shok | |
8703 | for e = 1, 12 do | |
8704 | wait() | |
8705 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
8706 | shok.Transparency = shok.Transparency + 0.002 | |
8707 | end | |
8708 | for e = 1, 32 do | |
8709 | wait() | |
8710 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
8711 | shok.Transparency = shok.Transparency + 0.002 | |
8712 | end | |
8713 | for e = 1, 24 do | |
8714 | wait() | |
8715 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
8716 | shok.Transparency = shok.Transparency + 0.03 | |
8717 | end | |
8718 | end)) | |
8719 | coroutine.resume(coroutine.create(function() | |
8720 | local shok = Instance.new("Part") | |
8721 | shok.Name = "shock2" | |
8722 | shok.BrickColor = BrickColor.new("Institutional white") | |
8723 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
8724 | shok.Size = Vector3.new(1, 1, 1) | |
8725 | shok.Anchored = true | |
8726 | shok.Material = "Neon" | |
8727 | shok.Transparency = 0.35 | |
8728 | shok.CanCollide = false | |
8729 | shok.Parent = model | |
8730 | game.Debris:AddItem(shok, 12) | |
8731 | local mesh = Instance.new("SpecialMesh") | |
8732 | mesh.MeshType = "FileMesh" | |
8733 | mesh.MeshId = "rbxassetid://1095709" | |
8734 | mesh.Scale = Vector3.new(12, 12, 12) | |
8735 | mesh.Parent = shok | |
8736 | for e = 1, 15 do | |
8737 | wait() | |
8738 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
8739 | shok.Transparency = shok.Transparency + 0.004 | |
8740 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8741 | end | |
8742 | for e = 1, 16 do | |
8743 | wait() | |
8744 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
8745 | shok.Transparency = shok.Transparency + 0.004 | |
8746 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8747 | end | |
8748 | for e = 1, 12 do | |
8749 | wait() | |
8750 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
8751 | shok.Transparency = shok.Transparency + 0.06 | |
8752 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
8753 | end | |
8754 | end)) | |
8755 | coroutine.resume(coroutine.create(function() | |
8756 | local shok = Instance.new("Part") | |
8757 | shok.Name = "shock3" | |
8758 | shok.BrickColor = BrickColor.new("Institutional white") | |
8759 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
8760 | shok.Size = Vector3.new(1, 1, 1) | |
8761 | shok.Anchored = true | |
8762 | shok.Material = "Neon" | |
8763 | shok.Transparency = 0.35 | |
8764 | shok.CanCollide = false | |
8765 | shok.Parent = model | |
8766 | game.Debris:AddItem(shok, 12) | |
8767 | local mesh = Instance.new("SpecialMesh") | |
8768 | mesh.MeshType = "FileMesh" | |
8769 | mesh.MeshId = "rbxassetid://1095709" | |
8770 | mesh.Scale = Vector3.new(12, 12, 12) | |
8771 | mesh.Parent = shok | |
8772 | for e = 1, 15 do | |
8773 | wait() | |
8774 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
8775 | shok.Transparency = shok.Transparency + 0.004 | |
8776 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
8777 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
8778 | end | |
8779 | for e = 1, 16 do | |
8780 | wait() | |
8781 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
8782 | shok.Transparency = shok.Transparency + 0.004 | |
8783 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
8784 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
8785 | end | |
8786 | for e = 1, 12 do | |
8787 | wait() | |
8788 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
8789 | shok.Transparency = shok.Transparency + 0.06 | |
8790 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
8791 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
8792 | end | |
8793 | end)) | |
8794 | end | |
8795 | ||
8796 | ||
8797 | ||
8798 | mouse.KeyDown:connect(function(k) | |
8799 | if attack == false and k == "=" and MV4 > 80 and firemode == true then | |
8800 | local exp = Instance.new("Explosion",Torso) | |
8801 | exp.BlastRadius = 45.5 | |
8802 | exp.BlastPressure = 100 | |
8803 | exp.Position = Torso | |
8804 | exp.Visible = true | |
8805 | end | |
8806 | end) | |
8807 | ||
8808 | MV4 = 300 | |
8809 | mouse.KeyDown:connect(function(k) | |
8810 | if attack == false and k == "8" then | |
8811 | for i, v in pairs(Torso:GetChildren()) do | |
8812 | if v:IsA('ParticleEmitter') then | |
8813 | v:Remove() | |
8814 | end | |
8815 | end | |
8816 | end | |
8817 | end) | |
8818 | ||
8819 | ||
8820 | MV4 = 300 | |
8821 | mouse.KeyDown:connect(function(k) | |
8822 | if attack == false and k == "]" and MV4 > 80 and firemode == true then | |
8823 | MV4 = 0 | |
8824 | Humanoid.WalkSpeed = 13 | |
8825 | attack = true | |
8826 | Firepart1 = Instance.new("Part", RightArm) | |
8827 | Firepart1.Size = Vector3.new(1, 1, 1) | |
8828 | GuW1 = Instance.new("Weld") | |
8829 | GuW1.Name = "GuW" | |
8830 | GuW1.Part0 = RightArm | |
8831 | GuW1.C0 = cn(0, -1, 0) | |
8832 | GuW1.C1 = cn(0, 0, 0) | |
8833 | GuW1.Part1 = Firepart1 | |
8834 | GuW1.Parent = RightArm | |
8835 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
8836 | Firepart1.Transparency = 1 | |
8837 | Firepart2 = Instance.new("Part", LeftArm) | |
8838 | Firepart2.Size = Vector3.new(1, 1, 1) | |
8839 | GuW2 = Instance.new("Weld") | |
8840 | GuW2.Name = "GuW" | |
8841 | GuW2.Part0 = LeftArm | |
8842 | GuW2.C0 = cn(0, -1, 0) | |
8843 | GuW2.C1 = cn(0, 0, 0) | |
8844 | GuW2.Part1 = Firepart2 | |
8845 | GuW2.Parent = LeftArm | |
8846 | Firepart2.Transparency = 1 | |
8847 | for i = 0, 5, 0.1 do | |
8848 | swait() | |
8849 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8850 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8851 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8852 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8853 | if Torsovelocity.Y > 2 then | |
8854 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8855 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8856 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
8857 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
8858 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
8859 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
8860 | elseif Torsovelocity.Y < 1 then | |
8861 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
8862 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
8863 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
8864 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
8865 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8866 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8867 | end | |
8868 | end | |
8869 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=331888777", Firepart2, 8, 1) | |
8870 | for i = 0, 7, 0.1 do | |
8871 | swait() | |
8872 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8873 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8874 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
8875 | BlockEffect(BrickColor.new("Plum"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
8876 | if Torsovelocity.Y > 2 then | |
8877 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8878 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
8879 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
8880 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
8881 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8882 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8883 | elseif Torsovelocity.Y < 1 then | |
8884 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
8885 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
8886 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
8887 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
8888 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8889 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
8890 | end | |
8891 | end | |
8892 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8) | |
8893 | GuW1:Destroy() | |
8894 | GuW1 = Instance.new("Weld") | |
8895 | GuW1.Name = "GuW" | |
8896 | GuW1.Part0 = Torso | |
8897 | GuW1.C0 = cn(0, 0, -6) | |
8898 | GuW1.C1 = cn(0, 0, 0) | |
8899 | GuW1.Part1 = Firepart1 | |
8900 | GuW1.Parent = Torso | |
8901 | GuW2:Destroy() | |
8902 | GuW2 = Instance.new("Weld") | |
8903 | GuW2.Name = "GuW" | |
8904 | GuW2.Part0 = Torso | |
8905 | GuW2.C0 = cn(0, 0, -6) | |
8906 | GuW2.C1 = cn(0, 0, 0) | |
8907 | GuW2.Part1 = Firepart2 | |
8908 | GuW2.Parent = Torso | |
8909 | BlockEffect(BrickColor.new("White"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
8910 | BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
8911 | GuW2:Destroy() | |
8912 | GuW2 = Instance.new("Weld") | |
8913 | GuW2.Name = "GuW" | |
8914 | GuW2.Part0 = Torso | |
8915 | GuW2.C0 = cn(0, 0, -4) | |
8916 | GuW2.C1 = cn(0, 0, 0) | |
8917 | GuW2.Part1 = Firepart2 | |
8918 | GuW2.Parent = Torso | |
8919 | ||
8920 | ||
8921 | for i = 0, 7, 0.1 do | |
8922 | swait() | |
8923 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
8924 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
8925 | if Torsovelocity.Y > 2 then | |
8926 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8927 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
8928 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
8929 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
8930 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8931 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8932 | elseif Torsovelocity.Y < 1 then | |
8933 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8934 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
8935 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
8936 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
8937 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8938 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8939 | end | |
8940 | end | |
8941 | local bp2 = Create("BodyPosition")({ | |
8942 | P = 900, | |
8943 | D = 1000, | |
8944 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
8945 | position = Torso.Position + Vector3.new(0, 60, 0), | |
8946 | Parent = Torso | |
8947 | }) | |
8948 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1) | |
8949 | for i = 0, 8, 0.1 do | |
8950 | swait() | |
8951 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
8952 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
8953 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
8954 | if Torsovelocity.Y > 2 then | |
8955 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8956 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8957 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8958 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8959 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8960 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8961 | elseif Torsovelocity.Y < 1 then | |
8962 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8963 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
8964 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8965 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8966 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8967 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8968 | end | |
8969 | end | |
8970 | for i = 0, 18, 0.1 do | |
8971 | swait() | |
8972 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
8973 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
8974 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
8975 | if Torsovelocity.Y > 2 then | |
8976 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8977 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8978 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8979 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8980 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8981 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8982 | elseif Torsovelocity.Y < 1 then | |
8983 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
8984 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
8985 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
8986 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
8987 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8988 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
8989 | end | |
8990 | end | |
8991 | GuW1:Destroy() | |
8992 | GuW1 = Instance.new("Weld") | |
8993 | GuW1.Name = "GuW" | |
8994 | GuW1.Part0 = Torso | |
8995 | GuW1.C0 = cn(0, 0, -15) | |
8996 | GuW1.C1 = cn(0, 0, 0) | |
8997 | GuW1.Part1 = Firepart1 | |
8998 | GuW1.Parent = Torso | |
8999 | GuW2:Destroy() | |
9000 | GuW2 = Instance.new("Weld") | |
9001 | GuW2.Name = "GuW" | |
9002 | GuW2.Part0 = Torso | |
9003 | GuW2.C0 = cn(0, 0, -17.5) | |
9004 | GuW2.C1 = cn(0, 0, 0) | |
9005 | GuW2.Part1 = Firepart2 | |
9006 | GuW2.Parent = Torso | |
9007 | for i = 0, 1.25, 0.01 do | |
9008 | swait() | |
9009 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9010 | shoottraildd2(mouse.Hit.p, Firepart2, 0) | |
9011 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
9012 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
9013 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
9014 | if Torsovelocity.Y > 2 then | |
9015 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9016 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9017 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9018 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9019 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9020 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9021 | elseif Torsovelocity.Y < 1 then | |
9022 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9023 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
9024 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9025 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9026 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9027 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9028 | end | |
9029 | end | |
9030 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1) | |
9031 | BlockEffect(BrickColor.new("Plum"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02) | |
9032 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04) | |
9033 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04) | |
9034 | for i = 0, 3, 0.1 do | |
9035 | swait() | |
9036 | if Torsovelocity.Y > 2 then | |
9037 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9038 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9039 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9040 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9041 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9042 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9043 | elseif Torsovelocity.Y < 1 then | |
9044 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9045 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
9046 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9047 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9048 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9049 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9050 | end | |
9051 | end | |
9052 | wait(1) | |
9053 | bp2:Destroy() | |
9054 | Humanoid.WalkSpeed = 16 | |
9055 | attack = false | |
9056 | MV4 = 0 | |
9057 | Firepart1:Destroy() | |
9058 | Firepart2:Destroy() | |
9059 | end | |
9060 | end) | |
9061 | mouse.KeyDown:connect(function(k) | |
9062 | if attack == false and k == "h" and MV4 > 80 and firemode == true then | |
9063 | MV4 = 0 | |
9064 | Humanoid.WalkSpeed = 13 | |
9065 | attack = true | |
9066 | Firepart1 = Instance.new("Part", RightArm) | |
9067 | Firepart1.Size = Vector3.new(1, 1, 1) | |
9068 | GuW1 = Instance.new("Weld") | |
9069 | GuW1.Name = "GuW" | |
9070 | GuW1.Part0 = RightArm | |
9071 | GuW1.C0 = cn(0, -1, 0) | |
9072 | GuW1.C1 = cn(0, 0, 0) | |
9073 | GuW1.Part1 = Firepart1 | |
9074 | GuW1.Parent = RightArm | |
9075 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
9076 | Firepart1.Transparency = 1 | |
9077 | Firepart2 = Instance.new("Part", LeftArm) | |
9078 | Firepart2.Size = Vector3.new(1, 1, 1) | |
9079 | GuW2 = Instance.new("Weld") | |
9080 | GuW2.Name = "GuW" | |
9081 | GuW2.Part0 = LeftArm | |
9082 | GuW2.C0 = cn(0, -1, 0) | |
9083 | GuW2.C1 = cn(0, 0, 0) | |
9084 | GuW2.Part1 = Firepart2 | |
9085 | GuW2.Parent = LeftArm | |
9086 | Firepart2.Transparency = 1 | |
9087 | GuW1:Destroy() | |
9088 | GuW1 = Instance.new("Weld") | |
9089 | GuW1.Name = "GuW" | |
9090 | GuW1.Part0 = Torso | |
9091 | GuW1.C0 = cn(0, 0, -6) | |
9092 | GuW1.C1 = cn(0, 0, 0) | |
9093 | GuW1.Part1 = Firepart1 | |
9094 | GuW1.Parent = Torso | |
9095 | GuW2:Destroy() | |
9096 | GuW2 = Instance.new("Weld") | |
9097 | GuW2.Name = "GuW" | |
9098 | GuW2.Part0 = Torso | |
9099 | GuW2.C0 = cn(0, 0, -6) | |
9100 | GuW2.C1 = cn(0, 0, 0) | |
9101 | GuW2.Part1 = Firepart2 | |
9102 | GuW2.Parent = Torso | |
9103 | GuW2:Destroy() | |
9104 | GuW2 = Instance.new("Weld") | |
9105 | GuW2.Name = "GuW" | |
9106 | GuW2.Part0 = Torso | |
9107 | GuW2.C0 = cn(0, 0, -4) | |
9108 | GuW2.C1 = cn(0, 0, 0) | |
9109 | GuW2.Part1 = Firepart2 | |
9110 | GuW2.Parent = Torso | |
9111 | for i = 0, 18, 0.1 do | |
9112 | swait() | |
9113 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9114 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9115 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9116 | if Torsovelocity.Y > 2 then | |
9117 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9118 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9119 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9120 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9121 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9122 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9123 | elseif Torsovelocity.Y < 1 then | |
9124 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9125 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9126 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9127 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9128 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9129 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9130 | end | |
9131 | end | |
9132 | GuW1:Destroy() | |
9133 | GuW1 = Instance.new("Weld") | |
9134 | GuW1.Name = "GuW" | |
9135 | GuW1.Part0 = Torso | |
9136 | GuW1.C0 = cn(0, 0, -15) | |
9137 | GuW1.C1 = cn(0, 0, 0) | |
9138 | GuW1.Part1 = Firepart1 | |
9139 | GuW1.Parent = Torso | |
9140 | GuW2:Destroy() | |
9141 | GuW2 = Instance.new("Weld") | |
9142 | GuW2.Name = "GuW" | |
9143 | GuW2.Part0 = Torso | |
9144 | GuW2.C0 = cn(0, 0, -17.5) | |
9145 | GuW2.C1 = cn(0, 0, 0) | |
9146 | GuW2.Part1 = Firepart2 | |
9147 | GuW2.Parent = Torso | |
9148 | for i = 0, 1.25, 0.01 do | |
9149 | swait() | |
9150 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9151 | shoottraildd22(mouse.Hit.p, Firepart2, 0) | |
9152 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
9153 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
9154 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
9155 | if Torsovelocity.Y > 2 then | |
9156 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9157 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9158 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9159 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9160 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9161 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9162 | end | |
9163 | end | |
9164 | wait(0.5) | |
9165 | Humanoid.WalkSpeed = 16 | |
9166 | attack = false | |
9167 | MV4 = 300 | |
9168 | Firepart1:Destroy() | |
9169 | Firepart2:Destroy() | |
9170 | end | |
9171 | ||
9172 | ||
9173 | if attack == false and k == "=" and MV4 > 19 and InForm == true then | |
9174 | MV4 = 90 | |
9175 | Humanoid.WalkSpeed = 0.01 | |
9176 | attack = true | |
9177 | Firepart1 = Instance.new("Part", RightArm) | |
9178 | Firepart1.Size = Vector3.new(1, 1, 1) | |
9179 | GuW1 = Instance.new("Weld") | |
9180 | GuW1.Name = "GuW" | |
9181 | GuW1.Part0 = RightArm | |
9182 | GuW1.C0 = cn(0, -1, 0) | |
9183 | GuW1.C1 = cn(0, 0, 0) | |
9184 | GuW1.Part1 = Firepart1 | |
9185 | GuW1.Parent = RightArm | |
9186 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7) | |
9187 | Firepart1.Transparency = 1 | |
9188 | Firepart2 = Instance.new("Part", LeftArm) | |
9189 | Firepart2.Size = Vector3.new(1, 1, 1) | |
9190 | GuW2 = Instance.new("Weld") | |
9191 | GuW2.Name = "GuW" | |
9192 | GuW2.Part0 = LeftArm | |
9193 | GuW2.C0 = cn(0, -1, 0) | |
9194 | GuW2.C1 = cn(0, 0, 0) | |
9195 | GuW2.Part1 = Firepart2 | |
9196 | GuW2.Parent = LeftArm | |
9197 | Firepart2.Transparency = 1 | |
9198 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9199 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9200 | for i = 0, 2, 0.1 do | |
9201 | swait() | |
9202 | BlockEffect(BrickColor.new("Dark blue"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9203 | BlockEffect(BrickColor.new("New Yeller"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9204 | BlockEffect(BrickColor.new("Dark blue"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9205 | BlockEffect(BrickColor.new("New Yeller"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9206 | if Torsovelocity.Y > 2 then | |
9207 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9208 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1) | |
9209 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9210 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9211 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9212 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9213 | elseif Torsovelocity.Y < 1 then | |
9214 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9215 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1) | |
9216 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9217 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9218 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9219 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9220 | end | |
9221 | end | |
9222 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9223 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9224 | for i = 0, 7, 0.1 do | |
9225 | swait() | |
9226 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9227 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9228 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9229 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9230 | if Torsovelocity.Y > 2 then | |
9231 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9232 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9233 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9234 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9235 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9236 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9237 | elseif Torsovelocity.Y < 1 then | |
9238 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9239 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9240 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9241 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9242 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9243 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9244 | end | |
9245 | end | |
9246 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9247 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9248 | for i = 0, 7, 0.1 do | |
9249 | swait() | |
9250 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9251 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9252 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9253 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9254 | if Torsovelocity.Y > 2 then | |
9255 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9256 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9257 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9258 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1) | |
9259 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9260 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9261 | elseif Torsovelocity.Y < 1 then | |
9262 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
9263 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9264 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9265 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.2) | |
9266 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9267 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9268 | end | |
9269 | end | |
9270 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3) | |
9271 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3) | |
9272 | for i = 0, 6, 0.1 do | |
9273 | swait() | |
9274 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9275 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9276 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9277 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9278 | if Torsovelocity.Y > 2 then | |
9279 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9280 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9281 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9282 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1) | |
9283 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9284 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9285 | elseif Torsovelocity.Y < 1 then | |
9286 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
9287 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9288 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1) | |
9289 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1) | |
9290 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9291 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9292 | end | |
9293 | end | |
9294 | for i = 0, 5, 0.1 do | |
9295 | swait() | |
9296 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9297 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9298 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9299 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9300 | if Torsovelocity.Y > 2 then | |
9301 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9302 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9303 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
9304 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
9305 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2) | |
9306 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2) | |
9307 | elseif Torsovelocity.Y < 1 then | |
9308 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9309 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9310 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9311 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9312 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9313 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9314 | end | |
9315 | end | |
9316 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=331888777", Firepart2, 8, 1) | |
9317 | for i = 0, 7, 0.1 do | |
9318 | swait() | |
9319 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9320 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9321 | BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06) | |
9322 | BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06) | |
9323 | if Torsovelocity.Y > 2 then | |
9324 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9325 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9326 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1) | |
9327 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1) | |
9328 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9329 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9330 | elseif Torsovelocity.Y < 1 then | |
9331 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
9332 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
9333 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9334 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9335 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9336 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
9337 | end | |
9338 | end | |
9339 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8) | |
9340 | GuW1:Destroy() | |
9341 | GuW1 = Instance.new("Weld") | |
9342 | GuW1.Name = "GuW" | |
9343 | GuW1.Part0 = Torso | |
9344 | GuW1.C0 = cn(0, 0, -6) | |
9345 | GuW1.C1 = cn(0, 0, 0) | |
9346 | GuW1.Part1 = Firepart1 | |
9347 | GuW1.Parent = Torso | |
9348 | GuW2:Destroy() | |
9349 | GuW2 = Instance.new("Weld") | |
9350 | GuW2.Name = "GuW" | |
9351 | GuW2.Part0 = Torso | |
9352 | GuW2.C0 = cn(0, 0, -6) | |
9353 | GuW2.C1 = cn(0, 0, 0) | |
9354 | GuW2.Part1 = Firepart2 | |
9355 | GuW2.Parent = Torso | |
9356 | BlockEffect(BrickColor.new("White"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
9357 | BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 20, 20, 20, 0.06) | |
9358 | GuW2:Destroy() | |
9359 | GuW2 = Instance.new("Weld") | |
9360 | GuW2.Name = "GuW" | |
9361 | GuW2.Part0 = Torso | |
9362 | GuW2.C0 = cn(0, 0, -4) | |
9363 | GuW2.C1 = cn(0, 0, 0) | |
9364 | GuW2.Part1 = Firepart2 | |
9365 | GuW2.Parent = Torso | |
9366 | for i = 0, 7, 0.1 do | |
9367 | swait() | |
9368 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9369 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9370 | if Torsovelocity.Y > 2 then | |
9371 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9372 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9373 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9374 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9375 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9376 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9377 | elseif Torsovelocity.Y < 1 then | |
9378 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9379 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
9380 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9381 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9382 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9383 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9384 | end | |
9385 | end | |
9386 | local bp2 = Create("BodyPosition")({ | |
9387 | P = 900, | |
9388 | D = 1000, | |
9389 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
9390 | position = Torso.Position + Vector3.new(0, 60, 0), | |
9391 | Parent = Torso | |
9392 | }) | |
9393 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1) | |
9394 | for i = 0, 8, 0.1 do | |
9395 | swait() | |
9396 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9397 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9398 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9399 | if Torsovelocity.Y > 2 then | |
9400 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9401 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9402 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9403 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9404 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9405 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9406 | elseif Torsovelocity.Y < 1 then | |
9407 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9408 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9409 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9410 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9411 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9412 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9413 | end | |
9414 | end | |
9415 | for i = 0, 18, 0.1 do | |
9416 | swait() | |
9417 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06) | |
9418 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06) | |
9419 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9420 | if Torsovelocity.Y > 2 then | |
9421 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9422 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9423 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9424 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9425 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9426 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9427 | elseif Torsovelocity.Y < 1 then | |
9428 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9429 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
9430 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1) | |
9431 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1) | |
9432 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9433 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9434 | end | |
9435 | end | |
9436 | GuW1:Destroy() | |
9437 | GuW1 = Instance.new("Weld") | |
9438 | GuW1.Name = "GuW" | |
9439 | GuW1.Part0 = Torso | |
9440 | GuW1.C0 = cn(0, 0, -15) | |
9441 | GuW1.C1 = cn(0, 0, 0) | |
9442 | GuW1.Part1 = Firepart1 | |
9443 | GuW1.Parent = Torso | |
9444 | GuW2:Destroy() | |
9445 | GuW2 = Instance.new("Weld") | |
9446 | GuW2.Name = "GuW" | |
9447 | GuW2.Part0 = Torso | |
9448 | GuW2.C0 = cn(0, 0, -17.5) | |
9449 | GuW2.C1 = cn(0, 0, 0) | |
9450 | GuW2.Part1 = Firepart2 | |
9451 | GuW2.Parent = Torso | |
9452 | for i = 0, 1.25, 0.01 do | |
9453 | swait() | |
9454 | Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w) | |
9455 | shoottraildd2(mouse.Hit.p, Firepart2, 0) | |
9456 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2) | |
9457 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06) | |
9458 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06) | |
9459 | if Torsovelocity.Y > 2 then | |
9460 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9461 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9462 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9463 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9464 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9465 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9466 | elseif Torsovelocity.Y < 1 then | |
9467 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9468 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05) | |
9469 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1) | |
9470 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1) | |
9471 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9472 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9473 | end | |
9474 | end | |
9475 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1) | |
9476 | BlockEffect(BrickColor.new("Really black"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02) | |
9477 | BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04) | |
9478 | BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04) | |
9479 | for i = 0, 3, 0.1 do | |
9480 | swait() | |
9481 | if Torsovelocity.Y > 2 then | |
9482 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9483 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
9484 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9485 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9486 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9487 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9488 | elseif Torsovelocity.Y < 1 then | |
9489 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9490 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
9491 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9492 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9493 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9494 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9495 | end | |
9496 | end | |
9497 | wait(1) | |
9498 | bp2:Destroy() | |
9499 | Humanoid.WalkSpeed = 16 | |
9500 | attack = false | |
9501 | MV4 = 0 | |
9502 | Firepart1:Destroy() | |
9503 | Firepart2:Destroy() | |
9504 | end | |
9505 | end) | |
9506 | whiletruewait = false | |
9507 | game:GetService("RunService").Stepped:connect(function() | |
9508 | if whiletruewait == false then | |
9509 | whiletruewait = true | |
9510 | wait() | |
9511 | whiletruewait = false | |
9512 | end | |
9513 | end) | |
9514 | game:GetService("RunService").Stepped:connect(function() | |
9515 | if whiletruewait == false then | |
9516 | if MV1 < 20 then | |
9517 | MV1 = MV1 + 0.2 | |
9518 | end | |
9519 | if MV2 < 90 then | |
9520 | MV2 = MV2 + 1 | |
9521 | end | |
9522 | if MV3 < 190 then | |
9523 | MV3 = MV3 + 0.4 | |
9524 | end | |
9525 | if MV4 < 500 then | |
9526 | MV4 = MV4 + 0.3 | |
9527 | end | |
9528 | end | |
9529 | end) | |
9530 | Humanoid.MaxHealth = 10000 | |
9531 | wait() | |
9532 | for i = 1, 6 do | |
9533 | Humanoid.Health = Humanoid.MaxHealth | |
9534 | wait() | |
9535 | end | |
9536 | ||
9537 | --- | |
9538 | GroundWave3 = function() | |
9539 | local HandCF = Torso.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) + Torso.CFrame.lookVector * 5 | |
9540 | Colors = {"White", "White"} | |
9541 | local wave = Instance.new("Part", char) | |
9542 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
9543 | wave.Anchored = true | |
9544 | wave.Name = "Wave" | |
9545 | wave.CanCollide = false | |
9546 | wave.Locked = true | |
9547 | wave.Size = Vector3.new(0.2, 0.2, 0.2) | |
9548 | wave.TopSurface = "Smooth" | |
9549 | wave.BottomSurface = "Smooth" | |
9550 | wave.Transparency = 0.10 | |
9551 | wave.CFrame = HandCF | |
9552 | wm = Instance.new("SpecialMesh",wave) | |
9553 | wm.MeshId = "rbxassetid://559831844" | |
9554 | coroutine.wrap(function() | |
9555 | for i = 1, 30, 1 do | |
9556 | wm.Scale = Vector3.new(0.4 + i*0.4, 0.4 + i*0.4, 0.4) | |
9557 | wave.Size = wm.Scale | |
9558 | wave.CFrame = HandCF | |
9559 | wave.Transparency = i/30 | |
9560 | wait() | |
9561 | end | |
9562 | wait() | |
9563 | wave:Destroy() | |
9564 | end)() | |
9565 | end | |
9566 | --- | |
9567 | ||
9568 | local v3 = Vector3.new | |
9569 | local num = 0 | |
9570 | local bc = BrickColor.new | |
9571 | local new = Instance.new | |
9572 | ||
9573 | mouse.KeyDown:connect(function(key) | |
9574 | if key=="=" then | |
9575 | Serious() | |
9576 | char.JumPower = 150 | |
9577 | end | |
9578 | end) | |
9579 | Health = math.huge --------- Serious mode aura. | |
9580 | BaseHealth = math.huge | |
9581 | ||
9582 | ||
9583 | ||
9584 | ||
9585 | InForm = false | |
9586 | ||
9587 | Player = game.Players.LocalPlayer | |
9588 | Char = Player.Character | |
9589 | Torso = Char.Torso | |
9590 | ||
9591 | function Serious() | |
9592 | for X = 1, 1 do wait() | |
9593 | ||
9594 | ||
9595 | wait(0) | |
9596 | for X = 1, 1 do wait() | |
9597 | local Effect = Instance.new("Part") | |
9598 | Effect.Name = "Effect" | |
9599 | Effect.Parent = Torso | |
9600 | Effect.CFrame = Torso.CFrame | |
9601 | Effect.BrickColor = BrickColor.new("Neon orange") | |
9602 | Effect.Shape = "Ball" | |
9603 | Effect.Size = Vector3.new(1, 1, 1) | |
9604 | Effect.Anchored = true | |
9605 | Effect.Material = "Neon" | |
9606 | Effect.CanCollide = false | |
9607 | Effect.CFrame = Torso.CFrame | |
9608 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
9609 | Effect.Transparency = Effect.Transparency + 0.04 | |
9610 | end | |
9611 | end | |
9612 | ||
9613 | repeat | |
9614 | Torso:FindFirstChild("Effect"):Remove() | |
9615 | until Torso:FindFirstChild("Effect") == nil | |
9616 | ||
9617 | ||
9618 | local Color1 = Color3.new(255, 255, 0) | |
9619 | local Color2 = Color3.new(255, 255, 0) | |
9620 | ||
9621 | for i = 0, 3, 0.1 do | |
9622 | swait() | |
9623 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
9624 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
9625 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2) | |
9626 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2) | |
9627 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9628 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
9629 | end | |
9630 | local pie22 = Instance.new("ParticleEmitter") | |
9631 | pie22.Parent = LeftArm | |
9632 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
9633 | pie22.LightEmission = 1 | |
9634 | pie22.Size = NumberSequence.new(1,2) | |
9635 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
9636 | pie22.Transparency = NumberSequence.new(0.7,1) | |
9637 | pie22.EmissionDirection = "Top" | |
9638 | pie22.Enabled = true | |
9639 | pie22.Lifetime = NumberRange.new(1) | |
9640 | pie22.Rotation = NumberRange.new(-420, 425) | |
9641 | pie22.Rate = 50 | |
9642 | pie22.Speed = NumberRange.new(1) | |
9643 | pie22.LockedToPart = false | |
9644 | pie22.VelocitySpread = 2 | |
9645 | local pie22 = Instance.new("ParticleEmitter") | |
9646 | pie22.Parent = RightArm | |
9647 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
9648 | pie22.LightEmission = 1 | |
9649 | pie22.Size = NumberSequence.new(1,2) | |
9650 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
9651 | pie22.Transparency = NumberSequence.new(0.7,1) | |
9652 | pie22.EmissionDirection = "Top" | |
9653 | pie22.Enabled = true | |
9654 | pie22.Lifetime = NumberRange.new(1) | |
9655 | pie22.Rotation = NumberRange.new(-420, 425) | |
9656 | pie22.Rate = 50 | |
9657 | pie22.Speed = NumberRange.new(1) | |
9658 | pie22.LockedToPart = false | |
9659 | pie22.VelocitySpread = 2 | |
9660 | local pie22 = Instance.new("ParticleEmitter") | |
9661 | pie22.Parent = LeftLeg | |
9662 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
9663 | pie22.LightEmission = 1 | |
9664 | pie22.Size = NumberSequence.new(1,2) | |
9665 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
9666 | pie22.Transparency = NumberSequence.new(0.8,1) | |
9667 | pie22.EmissionDirection = "Top" | |
9668 | pie22.Enabled = true | |
9669 | pie22.Lifetime = NumberRange.new(1) | |
9670 | pie22.Rotation = NumberRange.new(-420, 425) | |
9671 | pie22.Rate = 20 | |
9672 | pie22.Speed = NumberRange.new(1) | |
9673 | pie22.LockedToPart = false | |
9674 | pie22.VelocitySpread = 2 | |
9675 | local pie22 = Instance.new("ParticleEmitter") | |
9676 | pie22.Parent = RightLeg | |
9677 | pie22.Color = ColorSequence.new(BrickColor.new("Gold").Color) | |
9678 | pie22.LightEmission = 1 | |
9679 | pie22.Size = NumberSequence.new(1,2) | |
9680 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
9681 | pie22.Transparency = NumberSequence.new(0.8,1) | |
9682 | pie22.EmissionDirection = "Top" | |
9683 | pie22.Enabled = true | |
9684 | pie22.Lifetime = NumberRange.new(1) | |
9685 | pie22.Rotation = NumberRange.new(-420, 425) | |
9686 | pie22.Rate = 20 | |
9687 | pie22.Speed = NumberRange.new(1) | |
9688 | pie22.LockedToPart = false | |
9689 | pie22.VelocitySpread = 2 | |
9690 | lig = Instance.new("PointLight",Player.Character.Torso) | |
9691 | lig.Color=Color3.new(255,255,0) | |
9692 | lig.Range = 6 | |
9693 | ||
9694 | local Must = Instance.new("Sound",Torso) | |
9695 | Must.SoundId = "rbxassetid://136847579" | |
9696 | Must.Pitch = 0.99 | |
9697 | Must.Volume = 0.6 | |
9698 | Must.Looped = false | |
9699 | wait(0) | |
9700 | Must:Play() | |
9701 | a21e = new("Part",char) | |
9702 | a21e.Name = "Beam"..num | |
9703 | a21e.Locked = true | |
9704 | a21e.Size = v3(1,1,1) | |
9705 | a21e.CanCollide = false | |
9706 | a21e.BrickColor = bc("Neon orange") | |
9707 | a21e.Material = "Neon" | |
9708 | a21e.Transparency = 0 | |
9709 | aa21e = new("SpecialMesh",a21e) | |
9710 | a21e.Anchored = true | |
9711 | a21e.Position = RootPart.Position | |
9712 | aa21e.MeshType = "Sphere" | |
9713 | aa21e.Scale = v3(1,1,1) | |
9714 | for i = 1,50 do | |
9715 | wait() | |
9716 | aa21e.Scale = aa21e.Scale + v3(1,1,1) | |
9717 | a21e.Transparency = a21e.Transparency + 0.04 | |
9718 | end | |
9719 | ||
9720 | ||
9721 | local Mus = Instance.new("Sound",Torso) | |
9722 | Mus.SoundId = "rbxassetid://291165237" | |
9723 | Mus.Pitch = 0.99 | |
9724 | Mus.Volume = 0.2 | |
9725 | Mus.Looped = true | |
9726 | wait(0) | |
9727 | Mus:Play() | |
9728 | ||
9729 | InForm = true | |
9730 | Humanoid.JumpPower = 120 | |
9731 | ||
9732 | Char.Humanoid.MaxHealth = Health | |
9733 | wait(0.3) | |
9734 | Char.Humanoid.Health = Health | |
9735 | wait(0.7) | |
9736 | Must:Destroy() | |
9737 | end | |
9738 | ||
9739 | function Base() | |
9740 | InForm = false | |
9741 | local Effect = Instance.new("Part") | |
9742 | Effect.Name = "Effect" | |
9743 | Effect.Parent = Torso | |
9744 | Effect.CFrame = Torso.CFrame | |
9745 | Effect.BrickColor = BrickColor.new("White") | |
9746 | Effect.Shape = "Ball" | |
9747 | Effect.Size = Vector3.new(8, 8, 8) | |
9748 | Effect.Anchored = true | |
9749 | Effect.Material = "Neon" | |
9750 | Effect.CanCollide = false | |
9751 | for loop = 1, 25 do wait() | |
9752 | Effect.CFrame = Torso.CFrame | |
9753 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
9754 | Effect.Transparency = Effect.Transparency + 0.04 | |
9755 | ||
9756 | end | |
9757 | repeat | |
9758 | Torso:FindFirstChild("Effect"):Remove() | |
9759 | until Torso:FindFirstChild("Effect") == nil | |
9760 | ||
9761 | for i, v in pairs(Torso:GetChildren()) do | |
9762 | if v:IsA('ParticleEmitter') then | |
9763 | v:Remove() | |
9764 | end | |
9765 | end | |
9766 | char.Humanoid.MaxHealth = BaseHealth | |
9767 | wait(0.3) | |
9768 | char.Humanoid.Health = BaseHealth | |
9769 | ||
9770 | ||
9771 | end | |
9772 | ||
9773 | mouse.KeyDown:connect(function(key) | |
9774 | if key=="9" then | |
9775 | Base() | |
9776 | lig:Destroy() | |
9777 | end | |
9778 | end) | |
9779 | ||
9780 | Player.Chatted:connect(function(Message) | |
9781 | if Message == "Time to get serious." and InForm == false then | |
9782 | wait(0.10) | |
9783 | Serious() | |
9784 | end | |
9785 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
9786 | Base() | |
9787 | end | |
9788 | local ContentProvider = game:GetService("ContentProvider") | |
9789 | ||
9790 | local function LoadAssets(AssetList) | |
9791 | -- Takes an asset list and preloads it. Will not wait for them to load. | |
9792 | ||
9793 | for _, AssetId in pairs(AssetList) do | |
9794 | ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId) | |
9795 | end | |
9796 | end | |
9797 | ||
9798 | local Gibs = game.Workspace | |
9799 | ||
9800 | function Kill(Character) | |
9801 | Character.Humanoid.Health = 0 | |
9802 | local poo = Instance.new("IntValue",Character) | |
9803 | poo.Name = "haha nope" | |
9804 | local svch = Character | |
9805 | local hum = Character:findFirstChild("Humanoid") | |
9806 | Character.Archivable = true | |
9807 | local chrclone = Character:clone() | |
9808 | Character.Archivable = false | |
9809 | ||
9810 | local ch = chrclone:GetChildren() | |
9811 | local i | |
9812 | for i = 1,#ch do | |
9813 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
9814 | ch[i]:remove() | |
9815 | end | |
9816 | end | |
9817 | local function Scan(ch) | |
9818 | local e | |
9819 | for e = 1,#ch do | |
9820 | Scan(ch[e]:GetChildren()) | |
9821 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
9822 | ch[e]:remove() | |
9823 | end | |
9824 | end | |
9825 | end | |
9826 | Scan(chrclone:GetChildren()) | |
9827 | ||
9828 | local hum2 = chrclone:findFirstChild("Humanoid") | |
9829 | ||
9830 | ||
9831 | if hum2 ~= nil then | |
9832 | hum2.Name = "Humanoid2" | |
9833 | hum2.PlatformStand = true | |
9834 | hum2.Sit = true | |
9835 | hum2.MaxHealth = 0 | |
9836 | hum2.Health = 0 | |
9837 | end | |
9838 | ||
9839 | local ch = Character:GetChildren() | |
9840 | local i | |
9841 | for i = 1,#ch do | |
9842 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
9843 | ch[i]:remove() | |
9844 | end | |
9845 | end | |
9846 | ||
9847 | wait(0.2) | |
9848 | ||
9849 | local ch = Character:GetChildren() | |
9850 | local i | |
9851 | for i = 1,#ch do | |
9852 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
9853 | ch[i]:remove() | |
9854 | end | |
9855 | end | |
9856 | Character = chrclone | |
9857 | local Torso = Character.Torso | |
9858 | local movevector = Vector3.new() | |
9859 | ||
9860 | if Torso then | |
9861 | local Head = Character:FindFirstChild("Head") | |
9862 | local Limb = Character:FindFirstChild("Right Arm") | |
9863 | if Limb then | |
9864 | ||
9865 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
9866 | local Joint = Instance.new("Glue") | |
9867 | Joint.Name = "RightShoulder" | |
9868 | Joint.Part0 = Torso | |
9869 | Joint.Part1 = Limb | |
9870 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
9871 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
9872 | Joint.Parent = Torso | |
9873 | ||
9874 | local B = Instance.new("Part") | |
9875 | B.TopSurface = 0 | |
9876 | B.BottomSurface = 0 | |
9877 | B.formFactor = "Symmetric" | |
9878 | B.Size = Vector3.new(1, 1, 1) | |
9879 | B.Transparency = 1 | |
9880 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
9881 | B.Parent = Character | |
9882 | local W = Instance.new("Weld") | |
9883 | W.Part0 = Limb | |
9884 | W.Part1 = B | |
9885 | W.C0 = CFrame.new(0, -0.5, 0) | |
9886 | W.Parent = Limb | |
9887 | ||
9888 | end | |
9889 | local Limb = Character:FindFirstChild("Left Arm") | |
9890 | if Limb then | |
9891 | ||
9892 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
9893 | local Joint = Instance.new("Glue") | |
9894 | Joint.Name = "LeftShoulder" | |
9895 | Joint.Part0 = Torso | |
9896 | Joint.Part1 = Limb | |
9897 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
9898 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
9899 | Joint.Parent = Torso | |
9900 | ||
9901 | local B = Instance.new("Part") | |
9902 | B.TopSurface = 0 | |
9903 | B.BottomSurface = 0 | |
9904 | B.formFactor = "Symmetric" | |
9905 | B.Size = Vector3.new(1, 1, 1) | |
9906 | B.Transparency = 1 | |
9907 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
9908 | B.Parent = Character | |
9909 | local W = Instance.new("Weld") | |
9910 | W.Part0 = Limb | |
9911 | W.Part1 = B | |
9912 | W.C0 = CFrame.new(0, -0.5, 0) | |
9913 | W.Parent = Limb | |
9914 | ||
9915 | end | |
9916 | local Limb = Character:FindFirstChild("Right Leg") | |
9917 | if Limb then | |
9918 | ||
9919 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
9920 | local Joint = Instance.new("Glue") | |
9921 | Joint.Name = "RightHip" | |
9922 | Joint.Part0 = Torso | |
9923 | Joint.Part1 = Limb | |
9924 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
9925 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
9926 | Joint.Parent = Torso | |
9927 | ||
9928 | local B = Instance.new("Part") | |
9929 | B.TopSurface = 0 | |
9930 | B.BottomSurface = 0 | |
9931 | B.formFactor = "Symmetric" | |
9932 | B.Size = Vector3.new(1, 1, 1) | |
9933 | B.Transparency = 1 | |
9934 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
9935 | B.Parent = Character | |
9936 | local W = Instance.new("Weld") | |
9937 | W.Part0 = Limb | |
9938 | W.Part1 = B | |
9939 | W.C0 = CFrame.new(0, -0.5, 0) | |
9940 | W.Parent = Limb | |
9941 | ||
9942 | end | |
9943 | local Limb = Character:FindFirstChild("Left Leg") | |
9944 | if Limb then | |
9945 | ||
9946 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
9947 | local Joint = Instance.new("Glue") | |
9948 | Joint.Name = "LeftHip" | |
9949 | Joint.Part0 = Torso | |
9950 | Joint.Part1 = Limb | |
9951 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
9952 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
9953 | Joint.Parent = Torso | |
9954 | ||
9955 | local B = Instance.new("Part") | |
9956 | B.TopSurface = 0 | |
9957 | B.BottomSurface = 0 | |
9958 | B.formFactor = "Symmetric" | |
9959 | B.Size = Vector3.new(1, 1, 1) | |
9960 | B.Transparency = 1 | |
9961 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
9962 | B.Parent = Character | |
9963 | local W = Instance.new("Weld") | |
9964 | W.Part0 = Limb | |
9965 | W.Part1 = B | |
9966 | W.C0 = CFrame.new(0, -0.5, 0) | |
9967 | W.Parent = Limb | |
9968 | end | |
9969 | end | |
9970 | end | |
9971 | ---------- | |
9972 | ||
9973 | lerpz = function(D, E, F, G) | |
9974 | D[E] = D[E]:lerp(F, G) | |
9975 | end | |
9976 | ||
9977 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9978 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9979 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9980 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9981 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9982 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9983 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9984 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9985 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9986 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
9987 | resetlerp = function() | |
9988 | RJ.C0 = RJC0 | |
9989 | RJ.C1 = RJC1 | |
9990 | N.C0 = NC0 | |
9991 | N.C1 = NC1 | |
9992 | RS.C0 = RSC0 | |
9993 | RS.C1 = RSC1 | |
9994 | LS.C0 = LSC0 | |
9995 | LS.C1 = LSC1 | |
9996 | RH.C0 = RHC0 | |
9997 | RH.C1 = RHC1 | |
9998 | LH.C0 = LHC0 | |
9999 | LH.C1 = LHC1 | |
10000 | end | |
10001 | ------- | |
10002 | ---------- | |
10003 | hrp = char.HumanoidRootPart | |
10004 | ||
10005 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10006 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10007 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10008 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10009 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10010 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
10011 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10012 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10013 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
10014 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10015 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10016 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
10017 | RS = Torso:FindFirstChild("Right Shoulder") | |
10018 | LS = Torso:FindFirstChild("Left Shoulder") | |
10019 | RH = Torso:FindFirstChild("Right Hip") | |
10020 | LH = Torso:FindFirstChild("Left Hip") | |
10021 | RJ = hrp:FindFirstChild("RootJoint") | |
10022 | N = Torso:FindFirstChild("Neck") | |
10023 | cf = CFrame.new | |
10024 | ang = CFrame.Angles | |
10025 | rd = math.rad | |
10026 | rd2 = math.random | |
10027 | cs = ColorSequence.new | |
10028 | ns = NumberSequence.new | |
10029 | nsk = NumberSequenceKeypoint.new | |
10030 | ------------------- | |
10031 | ||
10032 | end) | |
10033 | ||
10034 | print([[ | |
10035 | ------------------------------------------------- | |
10036 | Dammit Kakorot...I swear...I WILL SURPASS YOU!! | |
10037 | -------------------------------------------------]]) |