SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|' | |
143 | wait(1) | |
144 | plr = game.Players.LocalPlayer | |
145 | char = plr.Character | |
146 | hum = char.Humanoid | |
147 | local cam = game.Workspace.CurrentCamera | |
148 | t = char.Torso | |
149 | h = char.Head | |
150 | ra = char["Right Arm"] | |
151 | la = char["Left Arm"] | |
152 | rl = char["Right Leg"] | |
153 | ll = char["Left Leg"] | |
154 | tors = char.Torso | |
155 | lleg = char["Left Leg"] | |
156 | root = char.HumanoidRootPart | |
157 | char.Humanoid.MaxHealth = 250000 | |
158 | wait() | |
159 | char.Humanoid.Health = 250000 | |
160 | hed = char.Head | |
161 | rleg = char["Right Leg"] | |
162 | rarm = char["Right Arm"] | |
163 | larm = char["Left Arm"] | |
164 | vt = Vector3.new | |
165 | bc = BrickColor.new | |
166 | br = BrickColor.random | |
167 | it = Instance.new | |
168 | cf = CFrame.new | |
169 | local rock3 = false | |
170 | local rock2 = false | |
171 | local rock = false | |
172 | New = function(Object, Parent, Name, Data) | |
173 | local Object = Instance.new(Object) | |
174 | for Index, Value in pairs(Data or {}) do | |
175 | Object[Index] = Value | |
176 | end | |
177 | Object.Parent = Parent | |
178 | Object.Name = Name | |
179 | return Object | |
180 | end | |
181 | ||
182 | local v3 = Vector3.new | |
183 | local ns = NumberSequence.new | |
184 | local nr = NumberRange.new | |
185 | local new = Instance.new | |
186 | local cf = CFrame.new | |
187 | local cfa = CFrame.Angles | |
188 | local bc = BrickColor.new | |
189 | ----------------------------------- | |
190 | function chatfunc(text) | |
191 | local chat = coroutine.wrap(function() | |
192 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
193 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
194 | end | |
195 | local naeeym2 = Instance.new("BillboardGui",Character) | |
196 | naeeym2.Size = UDim2.new(0,100,0,40) | |
197 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
198 | naeeym2.Adornee = Character.Head | |
199 | naeeym2.Name = "TalkingBillBoard" | |
200 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
201 | tecks2.BackgroundTransparency = 1 | |
202 | tecks2.BorderSizePixel = 0 | |
203 | tecks2.Text = "" | |
204 | tecks2.Font = "ArialBold" | |
205 | tecks2.TextSize = 30 | |
206 | tecks2.TextStrokeTransparency = 0 | |
207 | tecks2.TextColor3 = Color3.new(255,255,0) | |
208 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
209 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
210 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
211 | tecks3.BackgroundTransparency = 1 | |
212 | tecks3.BorderSizePixel = 0 | |
213 | tecks3.Text = "" | |
214 | tecks3.Font = "ArialBold" | |
215 | tecks3.TextSize = 30 | |
216 | tecks3.TextStrokeTransparency = 0 | |
217 | tecks3.TextColor3 = Color3.new(255,255,0) | |
218 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
219 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
220 | for i = 1,string.len(text),1 do | |
221 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, .6, .8) | |
222 | tecks2.Text = string.sub(text,1,i) | |
223 | tecks3.Text = string.sub(text,1,i) | |
224 | wait(0.01) | |
225 | end | |
226 | wait(2) | |
227 | for i = 1, 50 do | |
228 | swait() | |
229 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
230 | tecks2.Rotation = tecks2.Rotation - .8 | |
231 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
232 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
233 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
234 | tecks3.Rotation = tecks2.Rotation + .8 | |
235 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
236 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
237 | end | |
238 | naeeym2:Destroy() | |
239 | end) | |
240 | chat() | |
241 | end | |
242 | function onChatted(msg) | |
243 | chatfunc(msg) | |
244 | end | |
245 | if rock == true then | |
246 | wait(math.random(0.1,0.5)) | |
247 | ay = new("Part",tors) | |
248 | ay.Name = "NewPart2" | |
249 | ay.Size = v3(0.3,0.3,0.3) | |
250 | ay.CanCollide = false | |
251 | for i,v in pairs(workspace:GetChildren()) do | |
252 | if v:IsA("Part") then | |
253 | if v.Size.x > 150 then | |
254 | ||
255 | ||
256 | ay.BrickColor = v.BrickColor | |
257 | ay.Material = v.Material | |
258 | ay.Transparency = v.Transparency | |
259 | end | |
260 | end | |
261 | end | |
262 | ay.Position = v3(999,999,999) | |
263 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
264 | ys = Instance.new("BodyVelocity",ay) | |
265 | ys.Name = "GO" | |
266 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
267 | ||
268 | ys.Velocity = v3(0,6,0) | |
269 | game.Debris:AddItem(ay,math.random(3,4)) | |
270 | end | |
271 | ||
272 | ----------------------------------- | |
273 | ||
274 | local Create = LoadLibrary("RbxUtility").Create | |
275 | ||
276 | CFuncs = { | |
277 | ["Part"] = { | |
278 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
279 | local Part = Create("Part"){ | |
280 | Parent = Parent, | |
281 | Reflectance = Reflectance, | |
282 | Transparency = Transparency, | |
283 | CanCollide = false, | |
284 | Locked = true, | |
285 | BrickColor = BrickColor.new(tostring(BColor)), | |
286 | Name = Name, | |
287 | Size = Size, | |
288 | Material = Material, | |
289 | } | |
290 | RemoveOutlines(Part) | |
291 | return Part | |
292 | end; | |
293 | }; | |
294 | ||
295 | ["Mesh"] = { | |
296 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
297 | local Msh = Create(Mesh){ | |
298 | Parent = Part, | |
299 | Offset = OffSet, | |
300 | Scale = Scale, | |
301 | } | |
302 | if Mesh == "SpecialMesh" then | |
303 | Msh.MeshType = MeshType | |
304 | Msh.MeshId = MeshId | |
305 | end | |
306 | return Msh | |
307 | end; | |
308 | }; | |
309 | ||
310 | ["Mesh"] = { | |
311 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
312 | local Msh = Create(Mesh){ | |
313 | Parent = Part, | |
314 | Offset = OffSet, | |
315 | Scale = Scale, | |
316 | } | |
317 | if Mesh == "SpecialMesh" then | |
318 | Msh.MeshType = MeshType | |
319 | Msh.MeshId = MeshId | |
320 | end | |
321 | return Msh | |
322 | end; | |
323 | }; | |
324 | ||
325 | ["Weld"] = { | |
326 | Create = function(Parent, Part0, Part1, C0, C1) | |
327 | local Weld = Create("Weld"){ | |
328 | Parent = Parent, | |
329 | Part0 = Part0, | |
330 | Part1 = Part1, | |
331 | C0 = C0, | |
332 | C1 = C1, | |
333 | } | |
334 | return Weld | |
335 | end; | |
336 | }; | |
337 | ||
338 | ["Sound"] = { | |
339 | Create = function(id, par, vol, pit) | |
340 | coroutine.resume(coroutine.create(function() | |
341 | local S = Create("Sound"){ | |
342 | Volume = vol, | |
343 | Pitch = pit or 1, | |
344 | SoundId = id, | |
345 | Parent = par or workspace, | |
346 | } | |
347 | wait() | |
348 | S:play() | |
349 | game:GetService("Debris"):AddItem(S, 10) | |
350 | end)) | |
351 | end; | |
352 | }; | |
353 | ||
354 | ["ParticleEmitter"] = { | |
355 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
356 | local fp = Create("ParticleEmitter"){ | |
357 | Parent = Parent, | |
358 | Color = ColorSequence.new(Color1, Color2), | |
359 | LightEmission = LightEmission, | |
360 | Size = Size, | |
361 | Texture = Texture, | |
362 | Transparency = Transparency, | |
363 | ZOffset = ZOffset, | |
364 | Acceleration = Accel, | |
365 | Drag = Drag, | |
366 | LockedToPart = LockedToPart, | |
367 | VelocityInheritance = VelocityInheritance, | |
368 | EmissionDirection = EmissionDirection, | |
369 | Enabled = Enabled, | |
370 | Lifetime = LifeTime, | |
371 | Rate = Rate, | |
372 | Rotation = Rotation, | |
373 | RotSpeed = RotSpeed, | |
374 | Speed = Speed, | |
375 | VelocitySpread = VelocitySpread, | |
376 | } | |
377 | return fp | |
378 | end; | |
379 | }; | |
380 | ||
381 | CreateTemplate = { | |
382 | ||
383 | }; | |
384 | } | |
385 | ||
386 | ||
387 | ||
388 | New = function(Object, Parent, Name, Data) | |
389 | local Object = Instance.new(Object) | |
390 | for Index, Value in pairs(Data or {}) do | |
391 | Object[Index] = Value | |
392 | end | |
393 | Object.Parent = Parent | |
394 | Object.Name = Name | |
395 | return Object | |
396 | end | |
397 | local m = Instance.new("Model",char) | |
398 | ||
399 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
400 | local p = Instance.new("Part") | |
401 | p.Parent = parent | |
402 | p.Size = Vector3.new(1,1,1) | |
403 | p.Transparency = transparency | |
404 | p.Reflectance = reflectance | |
405 | p.CanCollide = false | |
406 | p.Locked = true | |
407 | p.BrickColor = brickcolor | |
408 | p.Material = material | |
409 | return p | |
410 | end | |
411 | ||
412 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
413 | local mesh = Instance.new("SpecialMesh",parent) | |
414 | mesh.MeshType = meshtype | |
415 | mesh.Scale = Vector3.new(x1,y1,z1) | |
416 | return mesh | |
417 | end | |
418 | ||
419 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
420 | local mesh = Instance.new("SpecialMesh",parent) | |
421 | mesh.MeshType = "FileMesh" | |
422 | mesh.MeshId = meshid | |
423 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
424 | mesh.Scale = Vector3.new(x1,y1,z1) | |
425 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
426 | return mesh | |
427 | end | |
428 | ||
429 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
430 | local weld = Instance.new("Weld") | |
431 | weld.Parent = parent | |
432 | weld.Part0 = part0 | |
433 | weld.Part1 = part1 | |
434 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
435 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
436 | return weld | |
437 | end | |
438 | ||
439 | ||
440 | function ApplyTrig(Num,Func) | |
441 | local Min,Max = Func(0),Func(1) | |
442 | local i = Func(Num) | |
443 | return (i-Min)/(Max-Min) | |
444 | --[[if Func == "sin" then | |
445 | return (math.sin((1-Num)*math.pi)+1)/2 | |
446 | elseif Func == "cos" then | |
447 | return (math.cos((1-Num)*math.pi)+1)/2 | |
448 | end]] | |
449 | end | |
450 | ||
451 | local acos = math.acos | |
452 | local sqrt = math.sqrt | |
453 | local Vec3 = Vector3.new | |
454 | ||
455 | local function toAxisAngle(CFr) | |
456 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
457 | local Angle = math.acos((R00+R11+R22-1)/2) | |
458 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
459 | A = A == 0 and 0.00001 or A | |
460 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
461 | B = B == 0 and 0.00001 or B | |
462 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
463 | C = C == 0 and 0.00001 or C | |
464 | local x = (R21-R12)/sqrt(A) | |
465 | local y = (R02-R20)/sqrt(B) | |
466 | local z = (R10-R01)/sqrt(C) | |
467 | return Vec3(x,y,z),Angle | |
468 | end | |
469 | ||
470 | local fromAxisAngle = CFrame.fromAxisAngle | |
471 | ||
472 | function LerpCFrame(CFrame1,CFrame2,Num) | |
473 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
474 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
475 | end | |
476 | ||
477 | ||
478 | ||
479 | ||
480 | ||
481 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
482 | CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
483 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
484 | CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
485 | ||
486 | Player=game:GetService("Players").LocalPlayer | |
487 | Character=Player.Character | |
488 | PlayerGui=Player.PlayerGui | |
489 | Backpack=Player.Backpack | |
490 | Torso=Character.Torso | |
491 | Head=Character.Head | |
492 | Humanoid=Character.Humanoid | |
493 | m=Instance.new('Model',Character) | |
494 | LeftArm=Character["Left Arm"] | |
495 | LeftLeg=Character["Left Leg"] | |
496 | RightArm=Character["Right Arm"] | |
497 | RightLeg=Character["Right Leg"] | |
498 | LS=Torso["Left Shoulder"] | |
499 | LH=Torso["Left Hip"] | |
500 | RS=Torso["Right Shoulder"] | |
501 | RH=Torso["Right Hip"] | |
502 | Face = Head.face | |
503 | Neck=Torso.Neck | |
504 | it=Instance.new | |
505 | attacktype=1 | |
506 | vt=Vector3.new | |
507 | cf=CFrame.new | |
508 | euler=CFrame.fromEulerAnglesXYZ | |
509 | angles=CFrame.Angles | |
510 | cloaked=false | |
511 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
512 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
513 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
514 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
515 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
516 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
517 | RootPart=Character.HumanoidRootPart | |
518 | RootJoint=RootPart.RootJoint | |
519 | RootCF=euler(-1.57,0,3.14) | |
520 | attack = false | |
521 | attackdebounce = false | |
522 | deb=false | |
523 | equipped=true | |
524 | hand=false | |
525 | MMouse=nil | |
526 | combo=0 | |
527 | mana=0 | |
528 | trispeed=.2 | |
529 | attackmode='none' | |
530 | local idle=0 | |
531 | local Effects={} | |
532 | local gun=false | |
533 | local shoot=false | |
534 | local sine = 0 | |
535 | local change = 1 | |
536 | player=nil | |
537 | --char.Shirt:Remove() | |
538 | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end | |
539 | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end | |
540 | wait()--shirt = Instance.new("Shirt", char) | |
541 | --shirt.Name = "Shirt" | |
542 | --pants = Instance.new("Pants", char) | |
543 | --pants.Name = "Pants" | |
544 | shirt = Instance.new("Shirt", char) | |
545 | shirt.Name = "Shirt" | |
546 | pants = Instance.new("Pants", char) | |
547 | pants.Name = "Pants" | |
548 | char.Head.face.Texture = "rbxassetid://29291814" | |
549 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=548416871" | |
550 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=465693223" | |
551 | hum.JumpPower = 120 | |
552 | Instance.new("ForceField",char).Visible = false | |
553 | tp = true | |
554 | hum.WalkSpeed = 20 | |
555 | local ChatService = game:GetService("Chat") | |
556 | local player = game.Players.LocalPlayer | |
557 | m=player:GetMouse() | |
558 | bb = Instance.new("BillboardGui",player.Character.Head) | |
559 | bb.Enabled = true | |
560 | ||
561 | ||
562 | ||
563 | ||
564 | Hair7 = Instance.new("Part") | |
565 | Hair7.Parent = char | |
566 | Hair7.Name = "Hair" | |
567 | Hair7.CanCollide = false | |
568 | Hair7.Locked = true | |
569 | Hair7.TopSurface = "Smooth" | |
570 | Hair7.BottomSurface = "Smooth" | |
571 | Hair7.formFactor = "Symmetric" | |
572 | Hair7.Material = "Neon" | |
573 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
574 | Hair7.CFrame = char.Torso.CFrame | |
575 | Hair7.Size = Vector3.new(1, 1, 1) | |
576 | Hair7.Transparency = 0 | |
577 | ||
578 | ||
579 | Weld1 = Instance.new("Weld") | |
580 | Weld1.Parent = char.Head | |
581 | Weld1.Part0 = char.Head | |
582 | Weld1.Part1 = Hair7 | |
583 | Weld1.C0 = CFrame.new(0, 1, 0) | |
584 | ||
585 | Mesh = Instance.new("SpecialMesh") | |
586 | Mesh.Offset = Vector3.new(0,-0.7,0) | |
587 | Mesh.Parent = Hair7 | |
588 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
589 | Mesh.MeshType = "FileMesh" | |
590 | Mesh.MeshId = "http://www.roblox.com/asset/?id=212966179" | |
591 | Mesh.TextureId = "http://www.roblox.com/asset/?id=575345085" | |
592 | ||
593 | ||
594 | asd = Instance.new("Sound",char) | |
595 | asd.SoundId = "http://www.roblox.com/asset/?id = 335204822" | |
596 | asd.Volume = 3 | |
597 | asd.Looped = true | |
598 | ||
599 | ||
600 | ||
601 | ||
602 | ||
603 | ||
604 | ||
605 | ||
606 | for i,v in pairs(char:GetChildren()) do | |
607 | if v.ClassName == "Accessory" then | |
608 | v:Destroy() | |
609 | end | |
610 | end | |
611 | ||
612 | Hair7 = Instance.new("Part") | |
613 | Hair7.Parent = char | |
614 | Hair7.Name = "Hair" | |
615 | Hair7.CanCollide = false | |
616 | Hair7.Locked = true | |
617 | Hair7.TopSurface = "Smooth" | |
618 | Hair7.BottomSurface = "Smooth" | |
619 | Hair7.formFactor = "Symmetric" | |
620 | Hair7.Material = "Neon" | |
621 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
622 | Hair7.CFrame = char.Torso.CFrame | |
623 | Hair7.Size = Vector3.new(1, 1, 1) | |
624 | Hair7.Transparency = 0 | |
625 | ||
626 | ||
627 | Weld1 = Instance.new("Weld") | |
628 | Weld1.Parent = char.Head | |
629 | Weld1.Part0 = char.Head | |
630 | Weld1.Part1 = Hair7 | |
631 | Weld1.C0 = CFrame.new(0, 1, 0) | |
632 | ||
633 | Mesh = Instance.new("SpecialMesh") | |
634 | Mesh.Offset = Vector3.new(0,-0.4,0.1) | |
635 | Mesh.Parent = Hair7 | |
636 | Mesh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
637 | Mesh.MeshType = "FileMesh" | |
638 | Mesh.MeshId = "http://www.roblox.com/asset/?id=" | |
639 | Mesh.TextureId = "" | |
640 | ||
641 | ||
642 | ||
643 | ||
644 | ||
645 | local txt = Instance.new("BillboardGui", char) | |
646 | CV="Lime green" | |
647 | txt.Adornee = char .Head | |
648 | txt.Name = "_status" | |
649 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
650 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
651 | local text = Instance.new("TextLabel", txt) | |
652 | text.Size = UDim2.new(10, 0, 7, 0) | |
653 | text.FontSize = "Size24" | |
654 | text.TextScaled = true | |
655 | text.TextTransparency = 0 | |
656 | text.BackgroundTransparency = 1 | |
657 | text.TextTransparency = 0 | |
658 | text.TextStrokeTransparency = 0 | |
659 | text.Font = "Bodoni" | |
660 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
661 | text.TextColor3 = Color3.fromRGB(255,255,0) | |
662 | text.Text = " " | |
663 | v=Instance.new("Part") | |
664 | v.Name = "ColorBrick" | |
665 | v.Parent= plr.Character | |
666 | v.FormFactor="Symmetric" | |
667 | v.Anchored=true | |
668 | v.CanCollide=false | |
669 | v.BottomSurface="Smooth" | |
670 | v.TopSurface="Smooth" | |
671 | v.Size=Vector3.new(10,5,3) | |
672 | v.Transparency=0 | |
673 | v.CFrame=char.Torso.CFrame | |
674 | v.BrickColor=BrickColor.new("Lime green") | |
675 | v.Transparency=1 | |
676 | v.Shape="Block" | |
677 | ||
678 | mouse=Player:GetMouse() | |
679 | --save shoulders | |
680 | RSH, LSH=nil, nil | |
681 | --welds | |
682 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
683 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
684 | LH=Torso["Left Hip"] | |
685 | RH=Torso["Right Hip"] | |
686 | TorsoColor=Torso.BrickColor | |
687 | function NoOutline(Part) | |
688 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
689 | end | |
690 | player=Player | |
691 | ch=Character | |
692 | RSH=ch.Torso["Right Shoulder"] | |
693 | LSH=ch.Torso["Left Shoulder"] | |
694 | -- | |
695 | RSH.Parent=nil | |
696 | LSH.Parent=nil | |
697 | -- | |
698 | RW.Name="Right Shoulder" | |
699 | RW.Part0=ch.Torso | |
700 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
701 | RW.C1=cf(0, 0.5, 0) | |
702 | RW.Part1=ch["Right Arm"] | |
703 | RW.Parent=ch.Torso | |
704 | -- | |
705 | LW.Name="Left Shoulder" | |
706 | LW.Part0=ch.Torso | |
707 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
708 | LW.C1=cf(0, 0.5, 0) | |
709 | LW.Part1=ch["Left Arm"] | |
710 | LW.Parent=ch.Torso | |
711 | ||
712 | local Stats=Instance.new("BoolValue") | |
713 | Stats.Name="Stats" | |
714 | Stats.Parent=Character | |
715 | local Atk=Instance.new("NumberValue") | |
716 | Atk.Name="Damage" | |
717 | Atk.Parent=Stats | |
718 | Atk.Value=1 | |
719 | local Def=Instance.new("NumberValue") | |
720 | Def.Name="Defense" | |
721 | Def.Parent=Stats | |
722 | Def.Value=1 | |
723 | local Speed=Instance.new("NumberValue") | |
724 | Speed.Name="Speed" | |
725 | Speed.Parent=Stats | |
726 | Speed.Value=1 | |
727 | local Mvmt=Instance.new("NumberValue") | |
728 | Mvmt.Name="Movement" | |
729 | Mvmt.Parent=Stats | |
730 | Mvmt.Value=1 | |
731 | ||
732 | local donum=0 | |
733 | ||
734 | ||
735 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
736 | local fp=it("Part") | |
737 | fp.formFactor=formfactor | |
738 | fp.Parent=parent | |
739 | fp.Reflectance=reflectance | |
740 | fp.Transparency=transparency | |
741 | fp.CanCollide=false | |
742 | fp.Locked=true | |
743 | fp.BrickColor=brickcolor | |
744 | fp.Name=name | |
745 | fp.Size=size | |
746 | fp.Position=Torso.Position | |
747 | NoOutline(fp) | |
748 | fp.Material="SmoothPlastic" | |
749 | fp:BreakJoints() | |
750 | return fp | |
751 | end | |
752 | ||
753 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
754 | local mesh=it(Mesh) | |
755 | mesh.Parent=part | |
756 | if Mesh=="SpecialMesh" then | |
757 | mesh.MeshType=meshtype | |
758 | if meshid~="nil" then | |
759 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
760 | end | |
761 | end | |
762 | mesh.Offset=offset | |
763 | mesh.Scale=scale | |
764 | return mesh | |
765 | end | |
766 | ||
767 | function weld(parent,part0,part1,c0) | |
768 | local weld=it("Weld") | |
769 | weld.Parent=parent | |
770 | weld.Part0=part0 | |
771 | weld.Part1=part1 | |
772 | weld.C0=c0 | |
773 | return weld | |
774 | end | |
775 | ||
776 | local Color1=Torso.BrickColor | |
777 | ||
778 | local bodvel=Instance.new("BodyVelocity") | |
779 | local bg=Instance.new("BodyGyro") | |
780 | ||
781 | function swait(num) | |
782 | if num==0 or num==nil then | |
783 | game:service'RunService'.Stepped:wait(0) | |
784 | else | |
785 | for i=0,num do | |
786 | game:service'RunService'.Stepped:wait(0) | |
787 | end | |
788 | end | |
789 | end | |
790 | ||
791 | ||
792 | so = function(id,par,vol,pit) | |
793 | coroutine.resume(coroutine.create(function() | |
794 | local sou = Instance.new("Sound",par or workspace) | |
795 | sou.Volume=vol | |
796 | sou.Pitch=pit or 1 | |
797 | sou.SoundId=id | |
798 | swait() | |
799 | sou:play() | |
800 | game:GetService("Debris"):AddItem(sou,6) | |
801 | end)) | |
802 | end | |
803 | ||
804 | function clerp(a,b,t) | |
805 | local qa = {QuaternionFromCFrame(a)} | |
806 | local qb = {QuaternionFromCFrame(b)} | |
807 | local ax, ay, az = a.x, a.y, a.z | |
808 | local bx, by, bz = b.x, b.y, b.z | |
809 | local _t = 1-t | |
810 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
811 | end | |
812 | ||
813 | function QuaternionFromCFrame(cf) | |
814 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
815 | local trace = m00 + m11 + m22 | |
816 | if trace > 0 then | |
817 | local s = math.sqrt(1 + trace) | |
818 | local recip = 0.5/s | |
819 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
820 | else | |
821 | local i = 0 | |
822 | if m11 > m00 then | |
823 | i = 1 | |
824 | end | |
825 | if m22 > (i == 0 and m00 or m11) then | |
826 | i = 2 | |
827 | end | |
828 | if i == 0 then | |
829 | local s = math.sqrt(m00-m11-m22+1) | |
830 | local recip = 0.5/s | |
831 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
832 | elseif i == 1 then | |
833 | local s = math.sqrt(m11-m22-m00+1) | |
834 | local recip = 0.5/s | |
835 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
836 | elseif i == 2 then | |
837 | local s = math.sqrt(m22-m00-m11+1) | |
838 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
839 | end | |
840 | end | |
841 | end | |
842 | ||
843 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
844 | local xs, ys, zs = x + x, y + y, z + z | |
845 | local wx, wy, wz = w*xs, w*ys, w*zs | |
846 | local xx = x*xs | |
847 | local xy = x*ys | |
848 | local xz = x*zs | |
849 | local yy = y*ys | |
850 | local yz = y*zs | |
851 | local zz = z*zs | |
852 | 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)) | |
853 | end | |
854 | ||
855 | function QuaternionSlerp(a, b, t) | |
856 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
857 | local startInterp, finishInterp; | |
858 | if cosTheta >= 0.0001 then | |
859 | if (1 - cosTheta) > 0.0001 then | |
860 | local theta = math.acos(cosTheta) | |
861 | local invSinTheta = 1/math.sin(theta) | |
862 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
863 | finishInterp = math.sin(t*theta)*invSinTheta | |
864 | else | |
865 | startInterp = 1-t | |
866 | finishInterp = t | |
867 | end | |
868 | else | |
869 | if (1+cosTheta) > 0.0001 then | |
870 | local theta = math.acos(-cosTheta) | |
871 | local invSinTheta = 1/math.sin(theta) | |
872 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
873 | finishInterp = math.sin(t*theta)*invSinTheta | |
874 | else | |
875 | startInterp = t-1 | |
876 | finishInterp = t | |
877 | end | |
878 | end | |
879 | 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 | |
880 | end | |
881 | ||
882 | local function CFrameFromTopBack(at, top, back) | |
883 | local right = top:Cross(back) | |
884 | return CFrame.new(at.x, at.y, at.z, | |
885 | right.x, top.x, back.x, | |
886 | right.y, top.y, back.y, | |
887 | right.z, top.z, back.z) | |
888 | end | |
889 | ||
890 | function Triangle(a, b, c) | |
891 | local edg1 = (c-a):Dot((b-a).unit) | |
892 | local edg2 = (a-b):Dot((c-b).unit) | |
893 | local edg3 = (b-c):Dot((a-c).unit) | |
894 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
895 | a, b, c = a, b, c | |
896 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
897 | a, b, c = b, c, a | |
898 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
899 | a, b, c = c, a, b | |
900 | else | |
901 | assert(false, "unreachable") | |
902 | end | |
903 | ||
904 | local len1 = (c-a):Dot((b-a).unit) | |
905 | local len2 = (b-a).magnitude - len1 | |
906 | local width = (a + (b-a).unit*len1 - c).magnitude | |
907 | ||
908 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
909 | ||
910 | local list = {} | |
911 | ||
912 | if len1 > 0.01 then | |
913 | local w1 = Instance.new('WedgePart', m) | |
914 | game:GetService("Debris"):AddItem(w1,5) | |
915 | w1.Material = "SmoothPlastic" | |
916 | w1.FormFactor = 'Custom' | |
917 | w1.BrickColor = BrickColor.new("Really red") | |
918 | w1.Transparency = 0 | |
919 | w1.Reflectance = 0 | |
920 | w1.Material = "SmoothPlastic" | |
921 | w1.CanCollide = false | |
922 | local l1 = Instance.new("PointLight",w1) | |
923 | l1.Color = Color3.new(170,0,0) | |
924 | NoOutline(w1) | |
925 | local sz = Vector3.new(0.2, width, len1) | |
926 | w1.Size = sz | |
927 | local sp = Instance.new("SpecialMesh",w1) | |
928 | sp.MeshType = "Wedge" | |
929 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
930 | w1:BreakJoints() | |
931 | w1.Anchored = true | |
932 | w1.Parent = workspace | |
933 | w1.Transparency = 0.7 | |
934 | table.insert(Effects,{w1,"Disappear",.01}) | |
935 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
936 | table.insert(list,w1) | |
937 | end | |
938 | ||
939 | if len2 > 0.01 then | |
940 | local w2 = Instance.new('WedgePart', m) | |
941 | game:GetService("Debris"):AddItem(w2,5) | |
942 | w2.Material = "SmoothPlastic" | |
943 | w2.FormFactor = 'Custom' | |
944 | w2.BrickColor = BrickColor.new("Really red") | |
945 | w2.Transparency = 0 | |
946 | w2.Reflectance = 0 | |
947 | w2.Material = "SmoothPlastic" | |
948 | w2.CanCollide = false | |
949 | local l2 = Instance.new("PointLight",w2) | |
950 | l2.Color = Color3.new(170,0,0) | |
951 | NoOutline(w2) | |
952 | local sz = Vector3.new(0.2, width, len2) | |
953 | w2.Size = sz | |
954 | local sp = Instance.new("SpecialMesh",w2) | |
955 | sp.MeshType = "Wedge" | |
956 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
957 | w2:BreakJoints() | |
958 | w2.Anchored = true | |
959 | w2.Parent = workspace | |
960 | w2.Transparency = 0.7 | |
961 | table.insert(Effects,{w2,"Disappear",.01}) | |
962 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
963 | table.insert(list,w2) | |
964 | end | |
965 | return unpack(list) | |
966 | end | |
967 | ||
968 | ||
969 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
970 | if hit.Parent==nil then | |
971 | return | |
972 | end | |
973 | h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
974 | for _,v in pairs(hit.Parent:children()) do | |
975 | if v:IsA("Humanoid") then | |
976 | h=v | |
977 | end | |
978 | end | |
979 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
980 | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
981 | end | |
982 | if hit.Parent.className=="Hat" then | |
983 | hit=hit.Parent.Parent:findFirstChild("Head") | |
984 | end | |
985 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
986 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
987 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
988 | return | |
989 | end]] | |
990 | -- hs(hit,1.2) | |
991 | c=Instance.new("ObjectValue") | |
992 | c.Name="creator" | |
993 | c.Value=game:service("Players").LocalPlayer | |
994 | c.Parent=h | |
995 | game:GetService("Debris"):AddItem(c,.5) | |
996 | Damage=math.random(minim,maxim) | |
997 | -- h:TakeDamage(Damage) | |
998 | blocked=false | |
999 | block=hit.Parent:findFirstChild("Block") | |
1000 | if block~=nil then | |
1001 | print(block.className) | |
1002 | if block.className=="NumberValue" then | |
1003 | if block.Value>0 then | |
1004 | blocked=true | |
1005 | if decreaseblock==nil then | |
1006 | block.Value=block.Value-1 | |
1007 | end | |
1008 | end | |
1009 | end | |
1010 | if block.className=="IntValue" then | |
1011 | if block.Value>0 then | |
1012 | blocked=true | |
1013 | if decreaseblock~=nil then | |
1014 | block.Value=block.Value-1 | |
1015 | end | |
1016 | end | |
1017 | end | |
1018 | end | |
1019 | if blocked==false then | |
1020 | -- h:TakeDamage(Damage) | |
1021 | h.Health=h.Health-Damage | |
1022 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) | |
1023 | else | |
1024 | h.Health=h.Health-(Damage/2) | |
1025 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
1026 | end | |
1027 | if Type=="Knockdown" then | |
1028 | hum=hit.Parent.Humanoid | |
1029 | hum.PlatformStand=true | |
1030 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1031 | swait(1) | |
1032 | HHumanoid.PlatformStand=false | |
1033 | end),hum) | |
1034 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1035 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1036 | local bodvol=Instance.new("BodyVelocity") | |
1037 | bodvol.velocity=angle*knockback | |
1038 | bodvol.P=0 | |
1039 | bodvol.maxForce=Vector3.new(0, 0, 0) | |
1040 | bodvol.Parent=hit | |
1041 | rl=Instance.new("BodyAngularVelocity") | |
1042 | rl.P=0 | |
1043 | rl.maxTorque=Vector3.new(0,0,0)*5 | |
1044 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1045 | rl.Parent=hit | |
1046 | game:GetService("Debris"):AddItem(bodvol,.5) | |
1047 | game:GetService("Debris"):AddItem(rl,.5) | |
1048 | elseif Type=="Normal" then | |
1049 | bp=Instance.new("BodyVelocity") | |
1050 | bp.P=0 | |
1051 | bp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1052 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1053 | if KnockbackType==1 then | |
1054 | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
1055 | elseif KnockbackType==2 then | |
1056 | bp.velocity=Property.CFrame.lookVector*knockback | |
1057 | end | |
1058 | if knockback>0 then | |
1059 | bp.Parent=hit.Parent.Torso | |
1060 | if rubbermodo == 1 then | |
1061 | hit.Parent:BreakJoints() | |
1062 | end | |
1063 | ||
1064 | end | |
1065 | game:GetService("Debris"):AddItem(bp,.5) | |
1066 | elseif Type=="Up" then | |
1067 | local bodyVelocity=Instance.new("BodyVelocity") | |
1068 | bodyVelocity.velocity=vt(0,60,0) | |
1069 | bodyVelocity.P=0 | |
1070 | bodyVelocity.maxForce=Vector3.new(0,0,0) | |
1071 | bodyVelocity.Parent=hit | |
1072 | game:GetService("Debris"):AddItem(bodyVelocity,0) | |
1073 | rl=Instance.new("BodyAngularVelocity") | |
1074 | rl.P=0 | |
1075 | rl.maxTorque=Vector3.new(5,5,5)*50 | |
1076 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
1077 | rl.Parent=hit | |
1078 | game:GetService("Debris"):AddItem(rl,.5) | |
1079 | elseif Type=="Snare" then | |
1080 | bp=Instance.new("BodyPosition") | |
1081 | bp.P=0 | |
1082 | bp.D=0 | |
1083 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1084 | bp.position=hit.Parent.Torso.Position | |
1085 | bp.Parent=hit.Parent.Torso | |
1086 | game:GetService("Debris"):AddItem(bp,0) | |
1087 | elseif Type=="Target" then | |
1088 | if Targetting==false then | |
1089 | ZTarget=hit.Parent.Torso | |
1090 | coroutine.resume(coroutine.create(function(Part) | |
1091 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1092 | swait(1) | |
1093 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
1094 | end),ZTarget) | |
1095 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1096 | targetgui=Instance.new("BillboardGui") | |
1097 | targetgui.Parent=ZTarget | |
1098 | targetgui.Size=UDim2.new(10,100,10,100) | |
1099 | targ=Instance.new("ImageLabel") | |
1100 | targ.Parent=targetgui | |
1101 | targ.BackgroundTransparency=1 | |
1102 | targ.Image="rbxassetid://4834067" | |
1103 | targ.Size=UDim2.new(1,0,1,0) | |
1104 | cam.CameraType="Scriptable" | |
1105 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1106 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1107 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1108 | Targetting=true | |
1109 | RocketTarget=ZTarget | |
1110 | for i=1,Property do | |
1111 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1112 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1113 | swait() | |
1114 | end | |
1115 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1116 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1117 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1118 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
1119 | end | |
1120 | Targetting=true | |
1121 | RocketTarget=true | |
1122 | targetgui.Parent=true | |
1123 | cam.CameraType="Custom" | |
1124 | end | |
1125 | end | |
1126 | debounce=Instance.new("BoolValue") | |
1127 | debounce.Name="DebounceHit" | |
1128 | debounce.Parent=hit.Parent | |
1129 | debounce.Value=true | |
1130 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1131 | c=Instance.new("ObjectValue") | |
1132 | c.Name="creator" | |
1133 | c.Value=Player | |
1134 | c.Parent=h | |
1135 | game:GetService("Debris"):AddItem(c,.5) | |
1136 | CRIT=true | |
1137 | hitDeb=true | |
1138 | AttackPos=6 | |
1139 | end | |
1140 | end | |
1141 | ||
1142 | showDamage=function(Char,Dealt,du,Color) | |
1143 | m=Instance.new("Model") | |
1144 | m.Name=tostring(Dealt) | |
1145 | h=Instance.new("Humanoid") | |
1146 | h.Health=0 | |
1147 | h.MaxHealth=0 | |
1148 | h.Parent=m | |
1149 | c=Instance.new("Part") | |
1150 | c.Transparency=0 | |
1151 | c.BrickColor=Color | |
1152 | c.Transparency = 1 | |
1153 | c.Name="Head" | |
1154 | c.TopSurface=0 | |
1155 | c.BottomSurface=0 | |
1156 | c.formFactor="Plate" | |
1157 | c.Size=Vector3.new(1,.4,1) | |
1158 | ||
1159 | local txt = Instance.new("BillboardGui", c) | |
1160 | txt.Adornee = c | |
1161 | txt.Name = "_status" | |
1162 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1163 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1164 | local text = Instance.new("TextLabel", txt) | |
1165 | text.Size = UDim2.new(1, 0, 1, 0) | |
1166 | text.FontSize = "Size12" | |
1167 | text.TextScaled = true | |
1168 | text.TextTransparency = 1 | |
1169 | text.BackgroundTransparency = 1 | |
1170 | text.TextTransparency = 1 | |
1171 | text.TextStrokeTransparency = 1 | |
1172 | text.Font = "SciFi" | |
1173 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
1174 | v=Instance.new("Part") | |
1175 | v.Name = "ColorBrick" | |
1176 | v.Parent=c | |
1177 | v.FormFactor="Symmetric" | |
1178 | v.Anchored=true | |
1179 | v.CanCollide=false | |
1180 | v.BottomSurface="Smooth" | |
1181 | v.TopSurface="Smooth" | |
1182 | v.Size=Vector3.new(10,5,3) | |
1183 | v.Transparency=1 | |
1184 | v.CFrame=c.CFrame | |
1185 | v.BrickColor=BrickColor.random() | |
1186 | v.Transparency=1 | |
1187 | text.TextColor3 = t.BrickColor.Color | |
1188 | v.Shape="Block" | |
1189 | text.Text = tostring(Dealt) | |
1190 | ms=Instance.new("CylinderMesh") | |
1191 | ms.Scale=Vector3.new(.8,.8,.8) | |
1192 | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
1193 | local rndm=math.random(1,#hitsounds) | |
1194 | local r=rndm | |
1195 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]-- | |
1196 | if CRIT==true then | |
1197 | ms.Scale=Vector3.new(1,1.25,1) | |
1198 | end | |
1199 | ms.Parent=c | |
1200 | c.Reflectance=0 | |
1201 | Instance.new("BodyGyro").Parent=c | |
1202 | c.Parent=m | |
1203 | if Char:findFirstChild("Head")~=nil then | |
1204 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1205 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1206 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1207 | end | |
1208 | f=Instance.new("BodyPosition") | |
1209 | f.P=200000 | |
1210 | f.D=100 | |
1211 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1212 | f.position=c.Position+Vector3.new(0,3,0) | |
1213 | f.Parent=c | |
1214 | game:GetService("Debris"):AddItem(m,.5+du) | |
1215 | c.CanCollide=false | |
1216 | m.Parent=workspace | |
1217 | c.CanCollide=false | |
1218 | end | |
1219 | ||
1220 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1221 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1222 | end | |
1223 | ||
1224 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
1225 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1226 | prt.Anchored=true | |
1227 | prt.CFrame=cframe | |
1228 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
1229 | --http://www.roblox.com/asset/?id=4770560 | |
1230 | game:GetService("Debris"):AddItem(prt,2) | |
1231 | CF=prt.CFrame | |
1232 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
1233 | for i=0,1,0.2 do | |
1234 | wait() | |
1235 | Part.CFrame=CF*cf(0,0,-0.4) | |
1236 | end | |
1237 | for i=0,1,delay do | |
1238 | wait() | |
1239 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
1240 | Mesh.Scale=Mesh.Scale | |
1241 | end | |
1242 | for i=0,1,0.1 do | |
1243 | wait() | |
1244 | Part.Transparency=i | |
1245 | end | |
1246 | Part.Parent=nil | |
1247 | end),prt,msh,CF) | |
1248 | end | |
1249 | ||
1250 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1251 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1252 | prt.Anchored=true | |
1253 | prt.Material = "Plastic" | |
1254 | prt.CFrame=cframe | |
1255 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1256 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1257 | game:GetService("Debris"):AddItem(prt,5) | |
1258 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1259 | for i=0,1,delay do | |
1260 | swait() | |
1261 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1262 | Part.Transparency=i | |
1263 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1264 | end | |
1265 | Part.Parent=nil | |
1266 | end),prt,msh) | |
1267 | end | |
1268 | ||
1269 | ||
1270 | ||
1271 | ||
1272 | function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1273 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3)) | |
1274 | prt.Anchored=true | |
1275 | prt.Material = "Neon" | |
1276 | prt.CFrame=cframe | |
1277 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1278 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1279 | game:GetService("Debris"):AddItem(prt,1) | |
1280 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1281 | for i=0,1,delay do | |
1282 | swait() | |
1283 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1284 | Part.Transparency=i | |
1285 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1286 | end | |
1287 | Part.Parent=nil | |
1288 | end),prt,msh) | |
1289 | end | |
1290 | ||
1291 | ||
1292 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1293 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1294 | prt.Anchored=true | |
1295 | prt.Material = "Neon" | |
1296 | prt.CFrame=cframe | |
1297 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1298 | game:GetService("Debris"):AddItem(prt,5) | |
1299 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1300 | local rtype = rottype | |
1301 | for i=0,1,delay do | |
1302 | swait() | |
1303 | if rtype == 1 then | |
1304 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1305 | elseif rtype == 2 then | |
1306 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1307 | end | |
1308 | Part.Transparency=i | |
1309 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1310 | end | |
1311 | Part.Parent=nil | |
1312 | end),prt,msh) | |
1313 | end | |
1314 | ||
1315 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1316 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1317 | prt.Anchored=true | |
1318 | prt.CFrame=cframe | |
1319 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1320 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1321 | game:GetService("Debris"):AddItem(prt,5) | |
1322 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1323 | for i=0,1,delay do | |
1324 | wait() | |
1325 | Part.Transparency=i | |
1326 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1327 | end | |
1328 | Part.Parent=nil | |
1329 | end),prt,msh) | |
1330 | end | |
1331 | ||
1332 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1333 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1334 | prt.Anchored=true | |
1335 | prt.Material = "Neon" | |
1336 | prt.CFrame=cframe | |
1337 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1338 | game:GetService("Debris"):AddItem(prt,5) | |
1339 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1340 | local rtype = rottype | |
1341 | for i=0,1,delay do | |
1342 | swait() | |
1343 | if rtype == 1 then | |
1344 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1345 | elseif rtype == 2 then | |
1346 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1347 | end | |
1348 | Part.Transparency=i | |
1349 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1350 | end | |
1351 | Part.Parent=nil | |
1352 | end),prt,msh) | |
1353 | end | |
1354 | ||
1355 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1356 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1357 | prt.Anchored=true | |
1358 | prt.Material = "Neon" | |
1359 | prt.CFrame=cframe | |
1360 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1361 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1362 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1363 | game:GetService("Debris"):AddItem(prt,5) | |
1364 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1365 | local rtype = rottype | |
1366 | for i=0,1,delay do | |
1367 | swait() | |
1368 | if rtype == 1 then | |
1369 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1370 | elseif rtype == 2 then | |
1371 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1372 | end | |
1373 | dec.Transparency=i | |
1374 | dec2.Transparency=i | |
1375 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1376 | end | |
1377 | Part.Parent=nil | |
1378 | end),prt,msh) | |
1379 | end | |
1380 | ||
1381 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1382 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1383 | prt.Anchored=true | |
1384 | prt.Material = "Neon" | |
1385 | prt.CFrame=cframe | |
1386 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1387 | game:GetService("Debris"):AddItem(prt,5) | |
1388 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1389 | local rtype = rottype | |
1390 | for i=0,1,delay do | |
1391 | swait() | |
1392 | if rtype == 1 then | |
1393 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1394 | elseif rtype == 2 then | |
1395 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1396 | end | |
1397 | prt.Transparency=i | |
1398 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1399 | end | |
1400 | Part.Parent=nil | |
1401 | end),prt,msh) | |
1402 | end | |
1403 | ||
1404 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
1405 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1406 | prt.Anchored=true | |
1407 | prt.Material = "Neon" | |
1408 | prt.CFrame=cframe | |
1409 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
1410 | game:GetService("Debris"):AddItem(prt,5) | |
1411 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1412 | local rtype = rottype | |
1413 | for i=0,1,delay do | |
1414 | swait() | |
1415 | if rtype == 1 then | |
1416 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
1417 | elseif rtype == 2 then | |
1418 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
1419 | end | |
1420 | prt.Transparency=i | |
1421 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
1422 | end | |
1423 | Part.Parent=nil | |
1424 | end),prt,msh) | |
1425 | end | |
1426 | ||
1427 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
1428 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1429 | prt.Anchored=true | |
1430 | prt.Material = "Neon" | |
1431 | prt.CFrame=cframe | |
1432 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1433 | game:GetService("Debris"):AddItem(prt,5) | |
1434 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1435 | local rtype = rottype | |
1436 | for i=0,1,delay do | |
1437 | swait() | |
1438 | if rtype == 1 then | |
1439 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1440 | elseif rtype == 2 then | |
1441 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1442 | end | |
1443 | prt.Transparency=i | |
1444 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1445 | end | |
1446 | Part.Parent=nil | |
1447 | end),prt,msh) | |
1448 | end | |
1449 | ||
1450 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
1451 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1452 | prt.Material = "Neon" | |
1453 | prt.Anchored=true | |
1454 | prt.CFrame=cframe | |
1455 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
1456 | local wld=weld(prt,prt,Parent,cframe) | |
1457 | game:GetService("Debris"):AddItem(prt,5) | |
1458 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1459 | for i=0,1,delay do | |
1460 | wait() | |
1461 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
1462 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1463 | Part.Transparency=i | |
1464 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1465 | end | |
1466 | Part.Parent=nil | |
1467 | end),prt,msh,wld) | |
1468 | end | |
1469 | ||
1470 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
1471 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1472 | prt.Anchored=false | |
1473 | prt.CFrame=cframe | |
1474 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1475 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
1476 | game:GetService("Debris"):AddItem(prt,5) | |
1477 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1478 | for i=0,1,delay do | |
1479 | wait() | |
1480 | Weld.C0=euler(i*20,0,0) | |
1481 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1482 | Part.Transparency=i | |
1483 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1484 | end | |
1485 | Part.Parent=nil | |
1486 | end),prt,msh,wld) | |
1487 | end | |
1488 | ||
1489 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1490 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1491 | prt.Anchored=true | |
1492 | prt.CFrame=cframe | |
1493 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1494 | game:GetService("Debris"):AddItem(prt,2) | |
1495 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1496 | for i=0,1,delay do | |
1497 | wait() | |
1498 | Part.CFrame=Part.CFrame | |
1499 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1500 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1501 | prt2.Anchored=true | |
1502 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1503 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
1504 | game:GetService("Debris"):AddItem(prt2,2) | |
1505 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1506 | for i=0,1,0.1 do | |
1507 | wait() | |
1508 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
1509 | end | |
1510 | Part.Parent=nil | |
1511 | end),prt2,msh2) | |
1512 | end | |
1513 | for i=0,1,delay*2 do | |
1514 | wait() | |
1515 | Part.CFrame=Part.CFrame | |
1516 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
1517 | end | |
1518 | Part.Parent=nil | |
1519 | end),prt,msh) | |
1520 | end | |
1521 | ||
1522 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1523 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1524 | prt.Anchored=true | |
1525 | prt.CFrame=cframe | |
1526 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1527 | game:GetService("Debris"):AddItem(prt,2) | |
1528 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1529 | for i=0,1,delay do | |
1530 | wait() | |
1531 | Part.CFrame=Part.CFrame | |
1532 | Part.Transparency=i | |
1533 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1534 | end | |
1535 | Part.Parent=nil | |
1536 | end),prt,msh) | |
1537 | end | |
1538 | ||
1539 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
1540 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1541 | prt.Anchored=true | |
1542 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1543 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1544 | game:GetService("Debris"):AddItem(prt,2) | |
1545 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
1546 | CF=Part.CFrame | |
1547 | Numbb=0 | |
1548 | randnumb=math.random()/10 | |
1549 | rand1=math.random()/10 | |
1550 | for i=0,1,rand1 do | |
1551 | wait() | |
1552 | CF=CF*cf(0,math.random()/2,0) | |
1553 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
1554 | Part.CFrame=CF*euler(Numbb,0,0) | |
1555 | Part.Transparency=i | |
1556 | Numbb=Numbb+randnumb | |
1557 | end | |
1558 | Part.Parent=nil | |
1559 | end),prt,CF,Numbb,randnumb) | |
1560 | end | |
1561 | ||
1562 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1563 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1564 | prt.Anchored=true | |
1565 | prt.CFrame=cframe | |
1566 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
1567 | game:GetService("Debris"):AddItem(prt,5) | |
1568 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1569 | for i=0,1,delay do | |
1570 | wait() | |
1571 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
1572 | Part.Transparency=i | |
1573 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1574 | end | |
1575 | Part.Parent=nil | |
1576 | end),prt,msh) | |
1577 | end | |
1578 | ||
1579 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1580 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1581 | prt.Anchored=true | |
1582 | prt.CFrame=cframe | |
1583 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
1584 | game:GetService("Debris"):AddItem(prt,2) | |
1585 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1586 | for i=0,1,delay do | |
1587 | wait() | |
1588 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
1589 | Part.Transparency=i | |
1590 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1591 | end | |
1592 | Part.Parent=nil | |
1593 | end),prt,msh) | |
1594 | end | |
1595 | ||
1596 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
1597 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1598 | prt.Anchored=true | |
1599 | prt.CFrame=cframe*cf(x,y,z) | |
1600 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
1601 | game:GetService("Debris"):AddItem(prt,5) | |
1602 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
1603 | local num=math.random() | |
1604 | local num2=math.random(-3,2)+math.random() | |
1605 | local numm=0 | |
1606 | for i=0,1,delay*2 do | |
1607 | swait() | |
1608 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
1609 | Part.Transparency=i | |
1610 | numm=numm+0.01 | |
1611 | end | |
1612 | Part.Parent=nil | |
1613 | Mesh.Parent=nil | |
1614 | end),prt,msh,x,y,z) | |
1615 | end | |
1616 | ||
1617 | function dmgstart(dmg,what) | |
1618 | hitcon = what.Touched:connect(function(hit) | |
1619 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
1620 | if hum and not hum:IsDescendantOf(Character) then | |
1621 | hum:TakeDamage(dmg) | |
1622 | end | |
1623 | end) | |
1624 | end | |
1625 | ||
1626 | function dmgstop() | |
1627 | hitcon:disconnect() | |
1628 | end | |
1629 | ||
1630 | function Cloak() | |
1631 | Face.Parent=nil | |
1632 | cloaked=true | |
1633 | for _,v in pairs(Torso.Parent:children()) do | |
1634 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
1635 | coroutine.resume(coroutine.create(function() | |
1636 | for i=0,1,0.2 do | |
1637 | wait() | |
1638 | v.Transparency=i | |
1639 | end | |
1640 | v.Transparency=1 | |
1641 | end)) | |
1642 | end | |
1643 | if v.className=="Hat" then | |
1644 | hatp=v.Handle | |
1645 | coroutine.resume(coroutine.create(function(derp) | |
1646 | for i=0,1,0.2 do | |
1647 | wait() | |
1648 | derp.Transparency=i | |
1649 | end | |
1650 | derp.Transparency=1 | |
1651 | end),hatp) | |
1652 | end | |
1653 | end | |
1654 | for _,v in pairs(m:children()) do | |
1655 | if v.className=="Part" then | |
1656 | coroutine.resume(coroutine.create(function() | |
1657 | for i=0,1,0.2 do | |
1658 | wait() | |
1659 | v.Transparency=i | |
1660 | end | |
1661 | v.Transparency=1 | |
1662 | end)) | |
1663 | end | |
1664 | end | |
1665 | end | |
1666 | ||
1667 | function UnCloak() | |
1668 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
1669 | Face.Parent=Head | |
1670 | cloaked=false | |
1671 | for _,v in pairs(Torso.Parent:children()) do | |
1672 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
1673 | coroutine.resume(coroutine.create(function() | |
1674 | for i=0,1,0.1 do | |
1675 | wait() | |
1676 | v.Transparency=v.Transparency-0.1 | |
1677 | end | |
1678 | v.Transparency=0 | |
1679 | end)) | |
1680 | end | |
1681 | if v.className=="Hat" then | |
1682 | hatp=v.Handle | |
1683 | coroutine.resume(coroutine.create(function(derp) | |
1684 | for i=0,1,0.1 do | |
1685 | wait() | |
1686 | derp.Transparency=derp.Transparency-0.1 | |
1687 | end | |
1688 | derp.Transparency=0 | |
1689 | end),hatp) | |
1690 | end | |
1691 | end | |
1692 | for _,v in pairs(m:children()) do | |
1693 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
1694 | coroutine.resume(coroutine.create(function() | |
1695 | for i=0,1,0.1 do | |
1696 | wait() | |
1697 | v.Transparency=v.Transparency-0.1 | |
1698 | end | |
1699 | v.Transparency=0 | |
1700 | end)) | |
1701 | v.Transparency=0 | |
1702 | end | |
1703 | end | |
1704 | end | |
1705 | ||
1706 | local jumped = false | |
1707 | function jump() | |
1708 | attack = true | |
1709 | jumped = true | |
1710 | hum.WalkSpeed = 0 | |
1711 | chatfunc("I need more speed!") | |
1712 | local pie22 = Instance.new("ParticleEmitter") | |
1713 | pie22.Parent = larm | |
1714 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1715 | pie22.LightEmission = 1 | |
1716 | pie22.Size = NumberSequence.new(2) | |
1717 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1718 | pie22.Transparency = NumberSequence.new(0.7) | |
1719 | pie22.EmissionDirection = "Top" | |
1720 | pie22.Enabled = true | |
1721 | pie22.Lifetime = NumberRange.new(0.1) | |
1722 | pie22.Rotation = NumberRange.new(-420, 425) | |
1723 | pie22.Rate = 300 | |
1724 | pie22.Speed = NumberRange.new(4) | |
1725 | pie22.LockedToPart = true | |
1726 | pie22.VelocitySpread = 360 | |
1727 | local pie222 = Instance.new("ParticleEmitter") | |
1728 | pie222.Parent = rarm | |
1729 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1730 | pie222.LightEmission = 1 | |
1731 | pie222.Size = NumberSequence.new(2) | |
1732 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1733 | pie222.Transparency = NumberSequence.new(0.7) | |
1734 | pie222.EmissionDirection = "Top" | |
1735 | pie222.Enabled = true | |
1736 | pie222.Lifetime = NumberRange.new(0.1) | |
1737 | pie222.Rotation = NumberRange.new(-420, 425) | |
1738 | pie222.Rate = 300 | |
1739 | pie222.Speed = NumberRange.new(4) | |
1740 | pie222.LockedToPart = true | |
1741 | pie222.VelocitySpread = 360 | |
1742 | local pie2242 = Instance.new("ParticleEmitter") | |
1743 | pie2242.Parent = lleg | |
1744 | pie2242.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1745 | pie2242.LightEmission = 1 | |
1746 | pie2242.Size = NumberSequence.new(2) | |
1747 | pie2242.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1748 | pie2242.Transparency = NumberSequence.new(0.7) | |
1749 | pie2242.EmissionDirection = "Top" | |
1750 | pie2242.Enabled = true | |
1751 | pie2242.Lifetime = NumberRange.new(0.1) | |
1752 | pie2242.Rotation = NumberRange.new(-420, 425) | |
1753 | pie2242.Rate = 300 | |
1754 | pie2242.Speed = NumberRange.new(4) | |
1755 | pie2242.LockedToPart = true | |
1756 | pie2242.VelocitySpread = 360 | |
1757 | local pie22442 = Instance.new("ParticleEmitter") | |
1758 | pie22442.Parent = rleg | |
1759 | pie22442.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1760 | pie22442.LightEmission = 1 | |
1761 | pie22442.Size = NumberSequence.new(2) | |
1762 | pie22442.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1763 | pie22442.Transparency = NumberSequence.new(0.7) | |
1764 | pie22442.EmissionDirection = "Top" | |
1765 | pie22442.Enabled = true | |
1766 | pie22442.Lifetime = NumberRange.new(0.1) | |
1767 | pie22442.Rotation = NumberRange.new(-420, 425) | |
1768 | pie22442.Rate = 300 | |
1769 | pie22442.Speed = NumberRange.new(4) | |
1770 | pie22442.LockedToPart = true | |
1771 | pie22442.VelocitySpread = 360 | |
1772 | local pie2222 = Instance.new("ParticleEmitter") | |
1773 | pie2222.Parent = hed | |
1774 | pie2222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1775 | pie2222.LightEmission = 1 | |
1776 | pie2222.Size = NumberSequence.new(20) | |
1777 | pie2222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1778 | pie2222.Transparency = NumberSequence.new(0.7) | |
1779 | pie2222.EmissionDirection = "Top" | |
1780 | pie2222.Enabled = true | |
1781 | pie2222.Lifetime = NumberRange.new(0.1) | |
1782 | pie2222.Rotation = NumberRange.new(-420, 425) | |
1783 | pie2222.Rate = 300 | |
1784 | pie2222.Speed = NumberRange.new(4) | |
1785 | pie2222.LockedToPart = true | |
1786 | pie2222.VelocitySpread = 360 | |
1787 | MagicBlock(bc("New Yeller"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
1788 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7) | |
1789 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7) | |
1790 | for i = 0,15,0.1 do | |
1791 | swait() | |
1792 | MagicBlock(bc("New Yeller"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1793 | MagicBlock(bc("New Yeller"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1794 | RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05) | |
1795 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(15)),.05) | |
1796 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05) | |
1797 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05) | |
1798 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
1799 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
1800 | end | |
1801 | ||
1802 | local bv = Instance.new("BodyVelocity") | |
1803 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1804 | bv.velocity = root.CFrame.lookVector*150 | |
1805 | bv.Parent = root | |
1806 | game:GetService("Debris"):AddItem(bv, 0.5) | |
1807 | local rng = Instance.new("Part", char) | |
1808 | rng.Anchored = true | |
1809 | rng.BrickColor = BrickColor.new("Neon orange") | |
1810 | rng.CanCollide = false | |
1811 | rng.FormFactor = 3 | |
1812 | rng.Name = "Ring" | |
1813 | rng.Size = Vector3.new(1, 1, 1) | |
1814 | rng.Transparency = 0 | |
1815 | rng.TopSurface = 0 | |
1816 | rng.BottomSurface = 0 | |
1817 | rng.Position = root.Position | |
1818 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1819 | local rngm = Instance.new("SpecialMesh", rng) | |
1820 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1821 | local rng2 = rng:Clone() | |
1822 | rng2.Parent = char | |
1823 | local rng2m = rng2.Mesh | |
1824 | local rng3 = rng:Clone() | |
1825 | rng3.Parent = char | |
1826 | rng3.BrickColor = BrickColor.new("New Yeller") | |
1827 | local rng3m = rng3.Mesh | |
1828 | local rng4 = rng:Clone() | |
1829 | rng4.Parent = char | |
1830 | local rng4m = rng4.Mesh | |
1831 | local rng5 = rng:Clone() | |
1832 | rng5.Parent = char | |
1833 | rng5.BrickColor = BrickColor.new("New Yeller") | |
1834 | local rng5m = rng5.Mesh | |
1835 | CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1) | |
1836 | wait() | |
1837 | local scaler = 10 | |
1838 | local scaler2 = 10 | |
1839 | game:GetService("Debris"):AddItem(bv, 2.4) | |
1840 | hum.WalkSpeed = 50 | |
1841 | MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015) | |
1842 | for i = 0,10,0.1 do | |
1843 | swait() | |
1844 | rng.Transparency = rng.Transparency + 0.01 | |
1845 | rng2.Transparency = rng2.Transparency + 0.01 | |
1846 | rng3.Transparency = rng3.Transparency + 0.01 | |
1847 | rng4.Transparency = rng4.Transparency + 0.01 | |
1848 | rng5.Transparency = rng5.Transparency + 0.01 | |
1849 | scaler = scaler - 0.125 | |
1850 | scaler2 = scaler2 - 0.1 | |
1851 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20) | |
1852 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30) | |
1853 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40) | |
1854 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50) | |
1855 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1856 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5) | |
1857 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5) | |
1858 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5) | |
1859 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5) | |
1860 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5) | |
1861 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5) | |
1862 | end | |
1863 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1864 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1865 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
1866 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
1867 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
1868 | hum.WalkSpeed = 126 | |
1869 | pie2222:Destroy() | |
1870 | attack = false | |
1871 | jumped = false | |
1872 | wait(20) | |
1873 | chatfunc("Too much energy..") | |
1874 | asd1 = Instance.new("Sound",char) | |
1875 | asd1.SoundId = "http://www.roblox.com/asset/?id = 3264923" | |
1876 | asd1.Volume = 1.5 | |
1877 | asd1.Looped = false | |
1878 | asd1:Play() | |
1879 | pie22:Destroy() | |
1880 | pie222:Destroy() | |
1881 | pie2242:Destroy() | |
1882 | pie22442:Destroy() | |
1883 | hum.WalkSpeed = 16 | |
1884 | end | |
1885 | ||
1886 | function dash() | |
1887 | attack = true | |
1888 | jumped = true | |
1889 | hum.WalkSpeed = 16 | |
1890 | killbrick = Instance.new("Part",char) | |
1891 | killbrick.Size = Vector3.new(1,1,1) | |
1892 | killbrick.Transparency = 1 | |
1893 | killbrick:BreakJoints() | |
1894 | killbrick.CanCollide = false | |
1895 | local wel = Instance.new("Weld",killbrick) | |
1896 | wel.Part0 = killbrick | |
1897 | wel.Part1 = char["Left Arm"] | |
1898 | wel.C0 = CFrame.new(0,1,0) | |
1899 | local bv = Instance.new("BodyVelocity") | |
1900 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1901 | bv.velocity = root.CFrame.lookVector*150 | |
1902 | bv.Parent = root | |
1903 | char.Head.face.Texture = "rbxassetid://126198982" | |
1904 | game:GetService("Debris"):AddItem(bv, 1) | |
1905 | local rng = Instance.new("Part", char) | |
1906 | rng.Anchored = true | |
1907 | rng.BrickColor = BrickColor.new("Neon orange") | |
1908 | rng.CanCollide = false | |
1909 | rng.FormFactor = 3 | |
1910 | rng.Name = "Ring" | |
1911 | rng.Size = Vector3.new(1, 1, 1) | |
1912 | rng.Transparency = 0 | |
1913 | rng.TopSurface = 0 | |
1914 | rng.BottomSurface = 0 | |
1915 | rng.CFrame = root.CFrame | |
1916 | local rngm = Instance.new("SpecialMesh", rng) | |
1917 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1918 | local rng2 = rng:Clone() | |
1919 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
1920 | rng2.Parent = char | |
1921 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1922 | local rng2m = rng2.Mesh | |
1923 | local rng3 = rng:Clone() | |
1924 | rng3.Parent = char | |
1925 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
1926 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
1927 | local rng3m = rng3.Mesh | |
1928 | local rng4 = rng:Clone() | |
1929 | rng4.Parent = char | |
1930 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
1931 | local rng4m = rng4.Mesh | |
1932 | local rng5 = rng:Clone() | |
1933 | rng5.Parent = char | |
1934 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
1935 | local rng5m = rng5.Mesh | |
1936 | local rng6 = rng:Clone() | |
1937 | rng6.Material = "Neon" | |
1938 | rng6.CanCollide = false | |
1939 | rng6.BrickColor = BrickColor.new("Neon orange") | |
1940 | rng6.Parent = LeftLeg | |
1941 | local rng6m = rng6.Mesh | |
1942 | rng6m.Scale = vt(1,1,1) | |
1943 | rng6m.MeshType = "Sphere" | |
1944 | local rng7 = rng:Clone() | |
1945 | rng7.Material = "Plastic" | |
1946 | rng7.CanCollide = false | |
1947 | rng7.BrickColor = BrickColor.new("Bright red") | |
1948 | rng7.Parent = LeftLeg | |
1949 | local rng7m = rng7.Mesh | |
1950 | rng7m.Scale = vt(1,1,1) | |
1951 | rng7m.MeshType = "Sphere" | |
1952 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
1953 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
1954 | wait() | |
1955 | local scaler = 10/5 | |
1956 | local scaler2 = 10/5 | |
1957 | local hit = rng6.Touched:connect(function(hit) | |
1958 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1959 | end) | |
1960 | for i = 0,10,0.1 do | |
1961 | swait() | |
1962 | rng.Transparency = rng.Transparency + 0.01 | |
1963 | rng2.Transparency = rng2.Transparency + 0.01 | |
1964 | rng3.Transparency = rng3.Transparency + 0.01 | |
1965 | rng4.Transparency = rng4.Transparency + 0.01 | |
1966 | rng5.Transparency = rng5.Transparency + 0.01 | |
1967 | rng6.Transparency = rng5.Transparency + 0.001 | |
1968 | rng7.Transparency = rng5.Transparency + 0.001 | |
1969 | scaler = scaler - 0.125/5 | |
1970 | scaler2 = scaler2 - 0.1/5 | |
1971 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
1972 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
1973 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
1974 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
1975 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
1976 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
1977 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1978 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
1979 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
1980 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
1981 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
1982 | rng6.CFrame = rng3.CFrame | |
1983 | rng7.CFrame = rng3.CFrame | |
1984 | end | |
1985 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1986 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1987 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
1988 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
1989 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
1990 | hum.WalkSpeed = 16 | |
1991 | hit:disconnect() | |
1992 | attack = false | |
1993 | killbrick:Destroy() | |
1994 | char.Head.face.Texture = "rbxassetid://29291814" | |
1995 | jumped = false | |
1996 | end | |
1997 | ||
1998 | ||
1999 | ||
2000 | function daash() | |
2001 | attack = false | |
2002 | jumped = false | |
2003 | hum.WalkSpeed = 16 | |
2004 | local bv = Instance.new("BodyVelocity") | |
2005 | bv.maxForce = Vector3.new(6000,6000,6000) | |
2006 | bv.velocity = root.CFrame.lookVector*150 | |
2007 | bv.Parent = root | |
2008 | char.Head.face.Texture = "rbxassetid://126198982" | |
2009 | game:GetService("Debris"):AddItem(bv, 1) | |
2010 | local rng = Instance.new("Part", char) | |
2011 | rng.Anchored = true | |
2012 | rng.BrickColor = BrickColor.new("White") | |
2013 | rng.CanCollide = false | |
2014 | rng.FormFactor = 3 | |
2015 | rng.Name = "Ring" | |
2016 | rng.Size = Vector3.new(1, 1, 1) | |
2017 | rng.Transparency = 0 | |
2018 | rng.TopSurface = 0 | |
2019 | rng.BottomSurface = 0 | |
2020 | rng.CFrame = root.CFrame | |
2021 | local rngm = Instance.new("SpecialMesh", rng) | |
2022 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2023 | local rng2 = rng:Clone() | |
2024 | rng2.BrickColor = BrickColor.new("White") | |
2025 | rng2.Parent = char | |
2026 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
2027 | local rng2m = rng2.Mesh | |
2028 | ||
2029 | local rng5m = rng.Mesh | |
2030 | CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1) | |
2031 | wait() | |
2032 | local scaler = 10/5 | |
2033 | local scaler2 = 10/5 | |
2034 | local hit = rng.Touched:connect(function(hit) | |
2035 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
2036 | end) | |
2037 | for i = 0,10,0.1 do | |
2038 | swait() | |
2039 | MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
2040 | MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
2041 | rng.Transparency = rng.Transparency + 0.01 | |
2042 | rng2.Transparency = rng2.Transparency + 0.01 | |
2043 | ||
2044 | ||
2045 | scaler = scaler - 0.125/5 | |
2046 | scaler2 = scaler2 - 0.125/5 | |
2047 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0) | |
2048 | ||
2049 | ||
2050 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2051 | ||
2052 | end | |
2053 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2054 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2055 | hum.WalkSpeed = 16 | |
2056 | hit:disconnect() | |
2057 | attack = false | |
2058 | char.Head.face.Texture = "rbxassetid://29291814" | |
2059 | jumped = false | |
2060 | end | |
2061 | ||
2062 | ||
2063 | ||
2064 | function dashh() | |
2065 | attack = true | |
2066 | jumped = true | |
2067 | hum.WalkSpeed = 16 | |
2068 | local BV = Instance.new("BodyVelocity") | |
2069 | BV = Instance.new("BodyVelocity", tors) | |
2070 | BV.maxForce = Vector3.new(0,10000,0) | |
2071 | BV.P = 1000 | |
2072 | BV.velocity = Vector3.new(0,800,0) | |
2073 | char.Head.face.Texture = "rbxassetid://126198982" | |
2074 | game:GetService("Debris"):AddItem(BV, 1) | |
2075 | local rng = Instance.new("Part", char) | |
2076 | rng.Anchored = true | |
2077 | rng.BrickColor = BrickColor.new("Neon orange") | |
2078 | rng.CanCollide = false | |
2079 | rng.FormFactor = 3 | |
2080 | rng.Name = "Ring" | |
2081 | rng.Size = Vector3.new(1, 1, 1) | |
2082 | rng.Transparency = 0 | |
2083 | rng.TopSurface = 0 | |
2084 | rng.BottomSurface = 0 | |
2085 | rng.CFrame = root.CFrame | |
2086 | local rngm = Instance.new("SpecialMesh", rng) | |
2087 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2088 | local rng2 = rng:Clone() | |
2089 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
2090 | rng2.Parent = char | |
2091 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
2092 | local rng2m = rng2.Mesh | |
2093 | local rng3 = rng:Clone() | |
2094 | rng3.Parent = char | |
2095 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
2096 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
2097 | local rng3m = rng3.Mesh | |
2098 | local rng4 = rng:Clone() | |
2099 | rng4.Parent = char | |
2100 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
2101 | local rng4m = rng4.Mesh | |
2102 | local rng5 = rng:Clone() | |
2103 | rng5.Parent = char | |
2104 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
2105 | local rng5m = rng5.Mesh | |
2106 | local rng6 = rng:Clone() | |
2107 | rng6.Material = "Neon" | |
2108 | rng6.CanCollide = false | |
2109 | rng6.BrickColor = BrickColor.new("Neon orange") | |
2110 | rng6.Parent = LeftLeg | |
2111 | local rng6m = rng6.Mesh | |
2112 | rng6m.Scale = vt(1,1,1) | |
2113 | rng6m.MeshType = "Sphere" | |
2114 | local rng7 = rng:Clone() | |
2115 | rng7.Material = "Plastic" | |
2116 | rng7.CanCollide = false | |
2117 | rng7.BrickColor = BrickColor.new("Bright red") | |
2118 | rng7.Parent = LeftLeg | |
2119 | local rng7m = rng7.Mesh | |
2120 | rng7m.Scale = vt(1,1,1) | |
2121 | rng7m.MeshType = "Sphere" | |
2122 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
2123 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2124 | wait() | |
2125 | local scaler = 10/5 | |
2126 | local scaler2 = 10/5 | |
2127 | local hit = rng6.Touched:connect(function(hit) | |
2128 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
2129 | end) | |
2130 | for i = 0,10,0.1 do | |
2131 | swait() | |
2132 | MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
2133 | MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
2134 | rng.Transparency = rng.Transparency + 0.01 | |
2135 | rng2.Transparency = rng2.Transparency + 0.01 | |
2136 | rng3.Transparency = rng3.Transparency + 0.01 | |
2137 | rng4.Transparency = rng4.Transparency + 0.01 | |
2138 | rng5.Transparency = rng5.Transparency + 0.01 | |
2139 | rng6.Transparency = rng5.Transparency + 0.001 | |
2140 | rng7.Transparency = rng5.Transparency + 0.001 | |
2141 | scaler = scaler - 0.125/5 | |
2142 | scaler2 = scaler2 - 0.1/5 | |
2143 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2144 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
2145 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2146 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
2147 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
2148 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
2149 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2150 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
2151 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
2152 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
2153 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
2154 | rng6.CFrame = rng3.CFrame | |
2155 | rng7.CFrame = rng3.CFrame | |
2156 | end | |
2157 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2158 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2159 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2160 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2161 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2162 | hum.WalkSpeed = 16 | |
2163 | hit:disconnect() | |
2164 | attack = false | |
2165 | char.Head.face.Texture = "rbxassetid://29291814" | |
2166 | jumped = false | |
2167 | end | |
2168 | ||
2169 | ||
2170 | function dashs() | |
2171 | attack = true | |
2172 | jumped = true | |
2173 | hum.WalkSpeed = 16 | |
2174 | local bv = Instance.new("BodyVelocity") | |
2175 | bv.maxForce = Vector3.new(0, 0, 0) | |
2176 | bv.velocity = root.CFrame.lookVector*150 | |
2177 | bv.Parent = root | |
2178 | char.Head.face.Texture = "rbxassetid://126198982" | |
2179 | game:GetService("Debris"):AddItem(bv, 1) | |
2180 | local rng = Instance.new("Part", char) | |
2181 | rng.Anchored = true | |
2182 | rng.BrickColor = BrickColor.new("Neon orange") | |
2183 | rng.CanCollide = false | |
2184 | rng.FormFactor = 3 | |
2185 | rng.Name = "Ring" | |
2186 | rng.Size = Vector3.new(1, 1, 1) | |
2187 | rng.Transparency = 0 | |
2188 | rng.TopSurface = 0 | |
2189 | rng.BottomSurface = 0 | |
2190 | rng.CFrame = root.CFrame | |
2191 | local rngm = Instance.new("SpecialMesh", rng) | |
2192 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2193 | local rng2 = rng:Clone() | |
2194 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
2195 | rng2.Parent = char | |
2196 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
2197 | local rng2m = rng2.Mesh | |
2198 | local rng3 = rng:Clone() | |
2199 | rng3.Parent = char | |
2200 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
2201 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*60 | |
2202 | local rng3m = rng3.Mesh | |
2203 | local rng4 = rng:Clone() | |
2204 | rng4.Parent = char | |
2205 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
2206 | local rng4m = rng4.Mesh | |
2207 | local rng5 = rng:Clone() | |
2208 | rng5.Parent = char | |
2209 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
2210 | local rng5m = rng5.Mesh | |
2211 | local rng6 = rng:Clone() | |
2212 | rng6.Material = "Neon" | |
2213 | rng6.CanCollide = false | |
2214 | rng6.BrickColor = BrickColor.new("Neon orange") | |
2215 | rng6.Parent = LeftLeg | |
2216 | local rng6m = rng6.Mesh | |
2217 | rng6m.Scale = vt(1,1,1) | |
2218 | rng6m.MeshType = "Sphere" | |
2219 | local rng7 = rng:Clone() | |
2220 | rng7.Material = "Plastic" | |
2221 | rng7.CanCollide = false | |
2222 | rng7.BrickColor = BrickColor.new("Bright red") | |
2223 | rng7.Parent = LeftLeg | |
2224 | local rng7m = rng7.Mesh | |
2225 | rng7m.Scale = vt(1,1,1) | |
2226 | rng7m.MeshType = "Sphere" | |
2227 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
2228 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2229 | wait() | |
2230 | local scaler = 10/5 | |
2231 | local scaler2 = 10/5 | |
2232 | local hit = rng6.Touched:connect(function(hit) | |
2233 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
2234 | end) | |
2235 | for i = 0,10,0.1 do | |
2236 | swait() | |
2237 | rng.Transparency = rng.Transparency + 0.01 | |
2238 | rng2.Transparency = rng2.Transparency + 0.01 | |
2239 | rng3.Transparency = rng3.Transparency + 0.01 | |
2240 | rng4.Transparency = rng4.Transparency + 0.01 | |
2241 | rng5.Transparency = rng5.Transparency + 0.01 | |
2242 | rng6.Transparency = rng5.Transparency + 0.001 | |
2243 | rng7.Transparency = rng5.Transparency + 0.001 | |
2244 | scaler = scaler - 0.125/5 | |
2245 | scaler2 = scaler2 - 0.1/5 | |
2246 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2247 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2248 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2249 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2250 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5) | |
2251 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3) | |
2252 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2253 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
2254 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
2255 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
2256 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
2257 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
2258 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
2259 | rng6.CFrame = rng3.CFrame | |
2260 | rng7.CFrame = rng3.CFrame | |
2261 | end | |
2262 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2263 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2264 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2265 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2266 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2267 | hum.WalkSpeed = 16 | |
2268 | hit:disconnect() | |
2269 | attack = false | |
2270 | char.Head.face.Texture = "rbxassetid://29291814" | |
2271 | jumped = false | |
2272 | end | |
2273 | ||
2274 | ||
2275 | ||
2276 | ||
2277 | m.KeyDown:connect(function(key) | |
2278 | if key == "j" then | |
2279 | if tp == true then | |
2280 | tp = false | |
2281 | char.Head.face.Parent = game.Lighting | |
2282 | asd1 = Instance.new("Sound",char) | |
2283 | asd1.SoundId = "http://www.roblox.com/asset/?id = 153613030" | |
2284 | asd1.Volume = 0.5 | |
2285 | asd1.Looped = false | |
2286 | asd1:Play() | |
2287 | v:Destroy() | |
2288 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 | |
2289 | end | |
2290 | ||
2291 | end | |
2292 | wait(0.2) | |
2293 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
2294 | end | |
2295 | ||
2296 | end | |
2297 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
2298 | char.HumanoidRootPart.Transparency = 1 | |
2299 | game.Lighting.face.Parent = char.Head | |
2300 | wait(0.7) | |
2301 | ||
2302 | tp = true | |
2303 | ||
2304 | ||
2305 | end | |
2306 | end | |
2307 | end) | |
2308 | ||
2309 | ||
2310 | ---------------------------------------------------- | |
2311 | Debounces = { | |
2312 | CanAttack = true; | |
2313 | NoIdl = false; | |
2314 | Slashing = false; | |
2315 | Slashed = false; | |
2316 | RPunch = false; | |
2317 | RPunched = false; | |
2318 | LPunch = false; | |
2319 | LPunched = false; | |
2320 | } | |
2321 | local Touche = {char.Name, } | |
2322 | ---------------------------------------------------- | |
2323 | ||
2324 | ||
2325 | local rs = game:GetService("RunService").RenderStepped | |
2326 | ||
2327 | ||
2328 | mouse.KeyDown:connect(function(key) | |
2329 | if key == "-" then | |
2330 | if Charging == false then | |
2331 | Charging = true | |
2332 | if Debounces.CanAttack == true then | |
2333 | Debounces.CanAttack = false | |
2334 | Debounces.NoIdl = true | |
2335 | Debounces.on = true | |
2336 | for i = 1,20 do | |
2337 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2338 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2339 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2340 | tors.Weld.C0 = Lerp(tors.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2341 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2342 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2343 | if Debounces.on == false then break end | |
2344 | rs:wait() | |
2345 | end | |
2346 | --[[for i = 1,20 do | |
2347 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
2348 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
2349 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2350 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
2351 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2352 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2353 | if Debounces.on == false then break end | |
2354 | rs:wait() | |
2355 | end]]-- | |
2356 | pt=Instance.new('Part',tors) | |
2357 | pt.Anchored=true | |
2358 | pt.CanCollide=false | |
2359 | pt.Locked = true | |
2360 | pt.FormFactor='Custom' | |
2361 | pt.Size=Vector3.new(1,1,1) | |
2362 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2363 | pt.Transparency=.6 | |
2364 | pt.BrickColor=BrickColor.new('New Yeller') | |
2365 | msh=Instance.new('SpecialMesh',pt) | |
2366 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2367 | msh.Scale=Vector3.new(8,4,8) | |
2368 | pt2=pt:clone() | |
2369 | pt2.Parent = tors | |
2370 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2371 | pt2.BrickColor=BrickColor.new("New Yeller") | |
2372 | msh2=msh:clone() | |
2373 | msh2.Parent=pt2 | |
2374 | msh2.Scale=Vector3.new(10,5,10) | |
2375 | ||
2376 | ||
2377 | ||
2378 | bl = Instance.new("Part", char) | |
2379 | bl.Locked = true | |
2380 | bl.Name = "Shell" | |
2381 | bl.BrickColor = BrickColor.new("New Yeller") | |
2382 | bl.Anchored = true | |
2383 | bl.CanCollide = false | |
2384 | bl.Transparency = 0 | |
2385 | bl.Reflectance = 0 | |
2386 | bl.BottomSurface = 0 | |
2387 | bl.TopSurface = 0 | |
2388 | bl.Shape = 0 | |
2389 | blm = Instance.new("SpecialMesh",bl) | |
2390 | blm.MeshType = "Sphere" | |
2391 | blm.Scale = Vector3.new(1,1,1) | |
2392 | blm.MeshId = "rbxassetid://9982590" | |
2393 | ||
2394 | coroutine.resume(coroutine.create(function() | |
2395 | for i=1, math.huge, 4 do | |
2396 | if Charging == true then | |
2397 | rs:wait() | |
2398 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2399 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
2400 | bl.Transparency = bl.Transparency + 0.005 | |
2401 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2402 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2403 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2404 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2405 | elseif Charging == false then break | |
2406 | end | |
2407 | end | |
2408 | end)) | |
2409 | ||
2410 | repeat | |
2411 | local p = Instance.new('Part',tors) | |
2412 | p.formFactor = 'Custom' | |
2413 | p.Size = Vector3.new(1,1,1) | |
2414 | p.BrickColor = workspace.Base.BrickColor | |
2415 | p.CanCollide = false | |
2416 | p.Transparency = 0 | |
2417 | p.Anchored = true | |
2418 | p.Locked=true | |
2419 | p.Material = workspace.Base.Material | |
2420 | local m = Instance.new("BlockMesh",p) | |
2421 | m.Scale = Vector3.new(s,s,s) | |
2422 | p.CFrame = tors.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
2423 | --[[coroutine.wrap(function() | |
2424 | wait(2) | |
2425 | while Charging == true do | |
2426 | wait(2) | |
2427 | GroundWave1() | |
2428 | wait(2) | |
2429 | end | |
2430 | end)()]]-- | |
2431 | Spawn(function() | |
2432 | while rs:wait() do | |
2433 | if Charging == true then | |
2434 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
2435 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
2436 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
2437 | tors.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2438 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
2439 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
2440 | elseif Charging == false then break | |
2441 | end | |
2442 | end | |
2443 | end) | |
2444 | Spawn(function() | |
2445 | while rs:wait() do | |
2446 | if p.Transparency >= 1 then p:Destroy() break end | |
2447 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2448 | p.Transparency = p.Transparency+0.01 | |
2449 | end | |
2450 | end) | |
2451 | wait(.3) | |
2452 | until Charging == false | |
2453 | end | |
2454 | end | |
2455 | end | |
2456 | end) | |
2457 | ---------------------------------------------------- | |
2458 | mouse.KeyUp:connect(function(key) | |
2459 | if key == "r" then | |
2460 | if Charging == true then | |
2461 | Charging = false | |
2462 | pt:Destroy() | |
2463 | pt2:Destroy() | |
2464 | bl:Destroy() | |
2465 | if Debounces.CanAttack == false then | |
2466 | Debounces.CanAttack = true | |
2467 | Debounces.NoIdl = false | |
2468 | Debounces.on = false | |
2469 | end | |
2470 | end | |
2471 | end | |
2472 | end) | |
2473 | ||
2474 | ||
2475 | ---------------------------------------------------- | |
2476 | mouse.KeyDown:connect(function(key) | |
2477 | if key == "p" then | |
2478 | if Debounces.CanAttack == true then | |
2479 | Debounces.CanAttack = false | |
2480 | Debounces.on = true | |
2481 | Debounces.NoIdl = true | |
2482 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2483 | Debounces.RPunch = true | |
2484 | Debounces.LPunch = true | |
2485 | Debounces.ks = true | |
2486 | Debounces.ks2 = true | |
2487 | for i = 1, 3 do | |
2488 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2489 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2490 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2491 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2492 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2493 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2494 | if Debounces.on == false then break end | |
2495 | wait() | |
2496 | end | |
2497 | for i = 1, 3 do | |
2498 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2499 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2500 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2501 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2502 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2503 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2504 | if Debounces.on == false then break end | |
2505 | wait() | |
2506 | end | |
2507 | for i = 1, 3 do | |
2508 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2509 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2510 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2511 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2512 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2513 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2514 | if Debounces.on == false then break end | |
2515 | wait() | |
2516 | end | |
2517 | for i = 1, 3 do | |
2518 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2519 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2520 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2521 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2522 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2523 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2524 | if Debounces.on == false then break end | |
2525 | wait() | |
2526 | end | |
2527 | for i = 1, 3 do | |
2528 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2529 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2530 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2531 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2532 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2533 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2534 | if Debounces.on == false then break end | |
2535 | wait() | |
2536 | end | |
2537 | for i = 1, 3 do | |
2538 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2539 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2540 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2541 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2542 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2543 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2544 | if Debounces.on == false then break end | |
2545 | wait() | |
2546 | end | |
2547 | for i = 1, 3 do | |
2548 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2549 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2550 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2551 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2552 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2553 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2554 | if Debounces.on == false then break end | |
2555 | wait() | |
2556 | end | |
2557 | for i = 1, 3 do | |
2558 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2559 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2560 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2561 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2562 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2563 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2564 | if Debounces.on == false then break end | |
2565 | wait() | |
2566 | end | |
2567 | for i = 1, 3 do | |
2568 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2569 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2570 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2571 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2574 | if Debounces.on == false then break end | |
2575 | wait() | |
2576 | end | |
2577 | for i = 1, 3 do | |
2578 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2579 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2580 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2581 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2582 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2583 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2584 | if Debounces.on == false then break end | |
2585 | wait() | |
2586 | end | |
2587 | for i = 1, 3 do | |
2588 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2589 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2591 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2592 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2593 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2594 | if Debounces.on == false then break end | |
2595 | wait() | |
2596 | end | |
2597 | for i = 1, 3 do | |
2598 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2599 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2600 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2601 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2602 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2603 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2604 | if Debounces.on == false then break end | |
2605 | wait() | |
2606 | end | |
2607 | for i = 1, 3 do | |
2608 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2609 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2610 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2611 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2612 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2613 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2614 | if Debounces.on == false then break end | |
2615 | wait() | |
2616 | end | |
2617 | for i = 1, 3 do | |
2618 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2619 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2620 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2621 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2622 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2623 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2624 | if Debounces.on == false then break end | |
2625 | wait() | |
2626 | end | |
2627 | for i = 1, 3 do | |
2628 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2629 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2630 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2631 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2632 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2633 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2634 | if Debounces.on == false then break end | |
2635 | wait() | |
2636 | end | |
2637 | for i = 1, 3 do | |
2638 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2639 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2640 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2641 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2642 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2643 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2644 | if Debounces.on == false then break end | |
2645 | wait() | |
2646 | end | |
2647 | for i = 1, 3 do | |
2648 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2649 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2650 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2651 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2652 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2653 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2654 | if Debounces.on == false then break end | |
2655 | wait() | |
2656 | end | |
2657 | for i = 1, 3 do | |
2658 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2659 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2660 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2661 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2662 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2663 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2664 | if Debounces.on == false then break end | |
2665 | wait() | |
2666 | end | |
2667 | for i = 1, 3 do | |
2668 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2669 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2670 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2671 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2672 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2673 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2674 | if Debounces.on == false then break end | |
2675 | wait() | |
2676 | end | |
2677 | for i = 1, 3 do | |
2678 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2679 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2680 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2681 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2682 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2683 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2684 | if Debounces.on == false then break end | |
2685 | wait() | |
2686 | end | |
2687 | Debounces.LPunch = false | |
2688 | Debounces.RPunch = false | |
2689 | Debounces.ks = false | |
2690 | Debounces.ks2 = false | |
2691 | if Debounces.CanAttack == false then | |
2692 | Debounces.CanAttack = true | |
2693 | Debounces.on = false | |
2694 | Debounces.NoIdl = false | |
2695 | end | |
2696 | end | |
2697 | end | |
2698 | end) | |
2699 | ||
2700 | ||
2701 | ||
2702 | function punch() | |
2703 | attack = true | |
2704 | jumped = true | |
2705 | killbrick = Instance.new("Part",rarm) | |
2706 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
2707 | killbrick.Transparency = 1 | |
2708 | killbrick:BreakJoints() | |
2709 | killbrick.CanCollide = false | |
2710 | killbrick.Anchored = true | |
2711 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
2712 | local bv = Instance.new("BodyVelocity") | |
2713 | bv.maxForce = Vector3.new(1,1,1) | |
2714 | bv.velocity = root.CFrame.lookVector*150 | |
2715 | bv.Parent = root | |
2716 | game:GetService("Debris"):AddItem(bv, 1) | |
2717 | local rng = Instance.new("Part", char) | |
2718 | rng.Anchored = true | |
2719 | rng.BrickColor = BrickColor.new("New Yeller") | |
2720 | rng.CanCollide = false | |
2721 | rng.FormFactor = 3 | |
2722 | rng.Name = "Ring" | |
2723 | rng.Size = Vector3.new(1, 1, 1) | |
2724 | rng.Transparency = 0 | |
2725 | rng.TopSurface = 0 | |
2726 | rng.BottomSurface = 0 | |
2727 | rng.CFrame = root.CFrame | |
2728 | local rngm = Instance.new("SpecialMesh", rng) | |
2729 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2730 | local rng2 = rng:Clone() | |
2731 | rng2.BrickColor = BrickColor.new("New Yeller") | |
2732 | rng2.Parent = char | |
2733 | rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2734 | local rng2m = rng2.Mesh | |
2735 | local rng3 = rng:Clone() | |
2736 | rng3.Parent = char | |
2737 | rng3.BrickColor = BrickColor.new("Institutional white") | |
2738 | rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2739 | local rng3m = Instance.new("SpecialMesh", rng3) | |
2740 | rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722" | |
2741 | local rng4 = rng:Clone() | |
2742 | rng4.Parent = char | |
2743 | rng4.BrickColor = BrickColor.new("New Yeller") | |
2744 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*12 | |
2745 | local rng4m = rng4.Mesh | |
2746 | local rng5 = rng:Clone() | |
2747 | rng5.Parent = char | |
2748 | rng5.BrickColor = BrickColor.new("New Yeller") | |
2749 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
2750 | local rng5m = rng5.Mesh | |
2751 | local rng6 = rng:Clone() | |
2752 | rng6.Material = "Neon" | |
2753 | rng6.CanCollide = false | |
2754 | rng6.BrickColor = BrickColor.new("New Yeller") | |
2755 | rng6.Parent = LeftLeg | |
2756 | local rng6m = rng6.Mesh | |
2757 | rng6m.Scale = vt(1,1,1) | |
2758 | rng6m.MeshType = "Sphere" | |
2759 | local rng7 = rng:Clone() | |
2760 | rng7.Material = "Plastic" | |
2761 | rng7.CanCollide = false | |
2762 | rng7.BrickColor = BrickColor.new("New Yeller") | |
2763 | rng7.Parent = LeftLeg | |
2764 | local rng7m = rng7.Mesh | |
2765 | rng7m.Scale = vt(1,1,1) | |
2766 | rng7m.MeshType = "Sphere" | |
2767 | CFuncs["Sound"].Create("rbxassetid://137579113", root, 1, 1) | |
2768 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2769 | wait() | |
2770 | local scaler = 10/5 | |
2771 | local scaler2 = 10/5 | |
2772 | local hit = rng6.Touched:connect(function(hit) | |
2773 | Damagefunc(hit,405,505,math.random(400,500),"Normal",root,.2,1) | |
2774 | CRIT=true | |
2775 | end) | |
2776 | for i = 0,10,0.1 do | |
2777 | swait() | |
2778 | rng.Transparency = rng.Transparency + 0.01 | |
2779 | rng2.Transparency = rng2.Transparency + 0.01 | |
2780 | rng3.Transparency = rng3.Transparency + 0.01 | |
2781 | rng4.Transparency = rng4.Transparency + 0.01 | |
2782 | rng5.Transparency = rng5.Transparency + 0.01 | |
2783 | rng6.Transparency = rng5.Transparency + 0.1 | |
2784 | rng7.Transparency = rng5.Transparency + 0.1 | |
2785 | scaler = scaler - 0.125/5 | |
2786 | scaler2 = scaler2 - 0.1/5 | |
2787 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2788 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/13.5, scaler2/13.5, 0) | |
2789 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2790 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
2791 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2) | |
2792 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
2793 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2794 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
2795 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
2796 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
2797 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
2798 | rng6.CFrame = killbrick.CFrame | |
2799 | rng7.CFrame = killbrick.CFrame | |
2800 | end | |
2801 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2802 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2803 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2804 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2805 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2806 | hit:disconnect() | |
2807 | rng:Destroy() | |
2808 | rng2:Destroy() | |
2809 | rng3:Destroy() | |
2810 | rng4:Destroy() | |
2811 | rng5:Destroy() | |
2812 | rng6:Destroy() | |
2813 | rng7:Destroy() | |
2814 | attack = false | |
2815 | killbrick:Destroy() | |
2816 | jumped = false | |
2817 | lig:Remove() | |
2818 | end | |
2819 | ||
2820 | ||
2821 | m.KeyDown:connect(function(key) | |
2822 | if key == "k" then | |
2823 | if punch == true then | |
2824 | punch = false | |
2825 | org = char.Torso["Left Shoulder"].C0 | |
2826 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
2827 | killbrick = Instance.new("Part",char) | |
2828 | killbrick.Size = Vector3.new(5,6,5) | |
2829 | killbrick.Transparency = 1 | |
2830 | killbrick:BreakJoints() | |
2831 | killbrick.CanCollide = false | |
2832 | local wel = Instance.new("Weld",killbrick) | |
2833 | wel.Part0 = killbrick | |
2834 | wel.Part1 = char["Left Arm"] | |
2835 | wel.C0 = CFrame.new(0,1,0) | |
2836 | force = 90 | |
2837 | ||
2838 | killbrick.Touched:connect(function(h) | |
2839 | local x = h.Parent.Humanoid | |
2840 | if x.Health >= 100 then | |
2841 | fling = false | |
2842 | end | |
2843 | if x.Health < 100 then | |
2844 | fling = true | |
2845 | end | |
2846 | local stop = h.Parent.Torso.Velocity | |
2847 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2848 | safe = true | |
2849 | else safe = false | |
2850 | end | |
2851 | if x then | |
2852 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2853 | safe = true | |
2854 | else safe = false | |
2855 | end | |
2856 | if safe == false then | |
2857 | if fling == true then | |
2858 | force = 900 | |
2859 | ||
2860 | end | |
2861 | if fling == false then | |
2862 | force = 200 | |
2863 | end | |
2864 | wait(0.2) | |
2865 | ||
2866 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
2867 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
2868 | boom:Play() | |
2869 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
2870 | ||
2871 | ||
2872 | wait(0) | |
2873 | x.Parent:Destroy() | |
2874 | GroundWave2() | |
2875 | wait() | |
2876 | safe = true | |
2877 | bodyforc:Remove() | |
2878 | h.Parent.Torso.Velocity = stop | |
2879 | ||
2880 | end | |
2881 | end | |
2882 | end) | |
2883 | ||
2884 | ||
2885 | ||
2886 | ||
2887 | ||
2888 | ||
2889 | ||
2890 | ||
2891 | ||
2892 | ||
2893 | local rng = Instance.new("Part", char) | |
2894 | rng.Anchored = true | |
2895 | rng.BrickColor = BrickColor.new("Institutional white") | |
2896 | rng.CanCollide = false | |
2897 | rng.FormFactor = 3 | |
2898 | rng.Name = "Ring" | |
2899 | rng.Size = Vector3.new(1, 1, 1) | |
2900 | rng.Transparency = 0.8 | |
2901 | rng.TopSurface = 0 | |
2902 | rng.BottomSurface = 0 | |
2903 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
2904 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
2905 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2906 | local rngm = Instance.new("SpecialMesh", rng) | |
2907 | rngm.MeshId = "http://www.roblox.com/asset/?id=437347603" | |
2908 | rngm.Scale = Vector3.new(0.1, 0.1, 0.1) | |
2909 | wait(0.1) | |
2910 | ||
2911 | ||
2912 | ||
2913 | boom2:Play() | |
2914 | coroutine.wrap(function() | |
2915 | for i = 1, 10, .4 do | |
2916 | rngm.Scale = Vector3.new(0.2 + i*0.2, 0.2 + i*0.2, 1) | |
2917 | ||
2918 | wait() | |
2919 | end | |
2920 | wait() | |
2921 | rng:Destroy() | |
2922 | killbrick:Remove() | |
2923 | wait(0.5) | |
2924 | char.Torso["Left Shoulder"].C0 = org | |
2925 | wait(1) | |
2926 | ||
2927 | punch = true | |
2928 | wait() | |
2929 | end)() | |
2930 | ||
2931 | ||
2932 | ||
2933 | end | |
2934 | ||
2935 | ||
2936 | wait(.1) | |
2937 | ||
2938 | ||
2939 | end | |
2940 | end) | |
2941 | ||
2942 | local handle = Instance.new("Part") | |
2943 | handle.Parent = Character | |
2944 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
2945 | handle.Archivable = true | |
2946 | handle.Transparency = 1 | |
2947 | handle.CanCollide = false | |
2948 | handle.BrickColor = BrickColor.new("White") | |
2949 | handle.Material = "Neon" | |
2950 | local handlmesh = Instance.new("BlockMesh",handle) | |
2951 | handlmesh.Scale = Vector3.new(1,1,1) | |
2952 | local handleweld = Instance.new("Weld") | |
2953 | handleweld.Parent = handle | |
2954 | handleweld.Part0 = rarm | |
2955 | handleweld.Part1 = handle | |
2956 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2957 | handleweld.Part0 = rarm | |
2958 | local meshtype = "Sphere" | |
2959 | ||
2960 | function InfernoComet() | |
2961 | attack = true | |
2962 | chatfunc(" ") | |
2963 | handleweld.Part0 = rarm | |
2964 | local tra = Instance.new("ParticleEmitter",handle) | |
2965 | tra.Texture = "rbxassetid://209852980" | |
2966 | tra.LightEmission = 0 | |
2967 | tra.Rate = 99999 | |
2968 | tra.Lifetime = NumberRange.new(0.25) | |
2969 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2970 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
2971 | tra.Speed = NumberRange.new(0) | |
2972 | tra.Rotation = NumberRange.new(-500,500) | |
2973 | tra.VelocitySpread = 90000 | |
2974 | tra.LockedToPart = true | |
2975 | tra.RotSpeed = NumberRange.new(-500,500) | |
2976 | local tra2 = Instance.new("ParticleEmitter",handle) | |
2977 | tra2.Texture = "http://www.roblox.com/asset/?id=209852980" | |
2978 | tra2.LightEmission = 0 | |
2979 | tra2.Rate = 50 | |
2980 | tra2.Lifetime = NumberRange.new(0.5) | |
2981 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2982 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
2983 | tra2.Speed = NumberRange.new(0) | |
2984 | tra2.Rotation = NumberRange.new(-500,500) | |
2985 | tra2.VelocitySpread = 90000 | |
2986 | tra2.LockedToPart = true | |
2987 | tra2.RotSpeed = NumberRange.new(-500,500) | |
2988 | for i = 0,4,0.1 do | |
2989 | swait() | |
2990 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2991 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
2992 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
2993 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
2994 | end | |
2995 | local sa = Instance.new("Sound",handle) | |
2996 | sa.SoundId = "rbxassetid://304448425" | |
2997 | sa.Volume = 1 | |
2998 | sa.Pitch = 1 | |
2999 | sa:Play() | |
3000 | tra.Rate = 0 | |
3001 | tra2.Rate = 0 | |
3002 | local lb = Instance.new("Part") | |
3003 | lb.Parent = char | |
3004 | lb.Material = "Neon" | |
3005 | lb.Color = BrickColor.new("Cyan").Color | |
3006 | lb.CanCollide = false | |
3007 | lb.Shape = "Ball" | |
3008 | lb.CFrame = handle.CFrame | |
3009 | lb.Anchored = true | |
3010 | lb.Transparency = 1 | |
3011 | lb.Size = vt(1,1,1) | |
3012 | local thing = Instance.new("SpecialMesh",lb) | |
3013 | thing.MeshType = meshtype | |
3014 | local hitted = false | |
3015 | lb.Anchored = false | |
3016 | local trail = Instance.new("ParticleEmitter",lb) | |
3017 | trail.Texture = "rbxassetid://209852980" | |
3018 | trail.LightEmission = 1 | |
3019 | trail.Rate = 9999 | |
3020 | trail.Lifetime = NumberRange.new(1.5) | |
3021 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3022 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3023 | trail.Speed = NumberRange.new(0,0) | |
3024 | trail.Rotation = NumberRange.new(-500,500) | |
3025 | trail.RotSpeed = NumberRange.new(-500,500) | |
3026 | local bv = Instance.new("BodyVelocity") | |
3027 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3028 | bv.velocity = mouse.Hit.lookVector *75 | |
3029 | bv.Parent = lb | |
3030 | wait(0.05) | |
3031 | lb.Touched:connect(function(hit) | |
3032 | if hitted == false then | |
3033 | hitted = true | |
3034 | trail.Rate = 0 | |
3035 | lb.Anchored = true | |
3036 | local aa = Instance.new("Part") | |
3037 | local val = 1*3.5 | |
3038 | aa.Parent = lb | |
3039 | local exsound = Instance.new("Sound",aa) | |
3040 | exsound.SoundId = "rbxassetid://402347142" | |
3041 | exsound.Volume = 3.5 | |
3042 | exsound.Pitch = 1 | |
3043 | exsound:Play() | |
3044 | aa.Material = "Neon" | |
3045 | aa.Color = BrickColor.new("Gold").Color | |
3046 | aa.CanCollide = false | |
3047 | aa.Shape = "Ball" | |
3048 | aa.CFrame = lb.CFrame | |
3049 | aa.Anchored = true | |
3050 | aa.Transparency = 0 | |
3051 | aa.Size = vt(1,1,1) | |
3052 | local thinger = Instance.new("SpecialMesh",aa) | |
3053 | thinger.MeshType = meshtype | |
3054 | thinger.Scale = vt(15,15,15) | |
3055 | local explosion = Instance.new("Explosion",aa) | |
3056 | explosion.Position = aa.Position | |
3057 | explosion.BlastRadius = 22.5 | |
3058 | explosion.BlastPressure = 100 | |
3059 | local exp = Instance.new("ParticleEmitter",aa) | |
3060 | exp.Texture = "rbxassetid://209852980" | |
3061 | exp.LightEmission = 1 | |
3062 | exp.Rate = 9000000000 | |
3063 | exp.Lifetime = NumberRange.new(1) | |
3064 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3065 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3066 | exp.Speed = NumberRange.new(100) | |
3067 | exp.VelocitySpread = 9000000 | |
3068 | exp.Rotation = NumberRange.new(-500,500) | |
3069 | exp.RotSpeed = NumberRange.new(-500,500) | |
3070 | local expa = Instance.new("ParticleEmitter",aa) | |
3071 | expa.Texture = "rbxassetid://209852980" | |
3072 | expa.LightEmission = 1 | |
3073 | expa.Rate = 9000000000 | |
3074 | expa.Lifetime = NumberRange.new(2.75) | |
3075 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
3076 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3077 | expa.Speed = NumberRange.new(100) | |
3078 | expa.VelocitySpread = 9000000 | |
3079 | expa.Rotation = NumberRange.new(-500,500) | |
3080 | expa.RotSpeed = NumberRange.new(-500,500) | |
3081 | local exp2 = exp:Clone() | |
3082 | exp2.Parent = aa | |
3083 | local exp3 = exp:Clone() | |
3084 | exp3.Parent = aa | |
3085 | local exp4 = exp:Clone() | |
3086 | exp4.Parent = aa | |
3087 | local exp5 = exp:Clone() | |
3088 | exp5.Parent = aa | |
3089 | local exp6 = exp:Clone() | |
3090 | exp6.Parent = aa | |
3091 | local exp7 = exp:Clone() | |
3092 | exp7.Parent = aa | |
3093 | local expa2 = expa:Clone() | |
3094 | expa2.Parent = aa | |
3095 | local expa3 = expa:Clone() | |
3096 | expa3.Parent = aa | |
3097 | local expa4 = expa:Clone() | |
3098 | expa4.Parent = aa | |
3099 | local expa5 = expa:Clone() | |
3100 | expa5.Parent = aa | |
3101 | local expa6 = expa:Clone() | |
3102 | expa6.Parent = aa | |
3103 | local expa7 = expa:Clone() | |
3104 | expa7.Parent = aa | |
3105 | for i = 0, 1 do | |
3106 | val = val - 0.025*3.5 | |
3107 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3108 | wait() | |
3109 | end | |
3110 | exp.Rate = 0 | |
3111 | exp2.Rate = 0 | |
3112 | exp3.Rate = 0 | |
3113 | exp4.Rate = 0 | |
3114 | exp5.Rate = 0 | |
3115 | exp6.Rate = 0 | |
3116 | exp7.Rate = 0 | |
3117 | for i = 0, 1 do | |
3118 | val = val - 0.025*3.5 | |
3119 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3120 | wait() | |
3121 | end | |
3122 | expa.Rate = 0 | |
3123 | expa2.Rate = 0 | |
3124 | expa3.Rate = 0 | |
3125 | expa4.Rate = 0 | |
3126 | expa5.Rate = 0 | |
3127 | expa6.Rate = 0 | |
3128 | expa7.Rate = 0 | |
3129 | for i = 0, 21 do | |
3130 | val = val - 0.025*3.5 | |
3131 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3132 | wait() | |
3133 | end | |
3134 | for i = 0, 74 do | |
3135 | val = val - 0.0145 | |
3136 | aa.Transparency = aa.Transparency + 0.0145 | |
3137 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3138 | wait() | |
3139 | end | |
3140 | end | |
3141 | end) | |
3142 | attack = false | |
3143 | wait(30) | |
3144 | sa:Destroy() | |
3145 | tra:Destroy() | |
3146 | tra2:Destroy() | |
3147 | lb:Destroy() | |
3148 | end | |
3149 | ||
3150 | function Crater(Torso,Radius) | |
3151 | spawn(function() | |
3152 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
3153 | local Ignore = {} | |
3154 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
3155 | if v.Character ~= nil then | |
3156 | Ignore[#Ignore+1] = v.Character | |
3157 | end | |
3158 | end | |
3159 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
3160 | if Hit == nil then return end | |
3161 | local Parts = {} | |
3162 | for i = 1,360,10 do | |
3163 | local P = Instance.new("Part",Torso.Parent) | |
3164 | P.Anchored = true | |
3165 | P.FormFactor = "Custom" | |
3166 | P.BrickColor = Hit.BrickColor | |
3167 | P.Material = Hit.Material | |
3168 | P.TopSurface = "Smooth" | |
3169 | P.BottomSurface = "Smooth" | |
3170 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
3171 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
3172 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
3173 | if math.random(0,5) == 0 then -- rubble | |
3174 | local P = Instance.new("Part",Torso.Parent) | |
3175 | P.Anchored = true | |
3176 | P.FormFactor = "Custom" | |
3177 | P.BrickColor = Hit.BrickColor | |
3178 | P.Material = Hit.Material | |
3179 | P.TopSurface = "Smooth" | |
3180 | P.BottomSurface = "Smooth" | |
3181 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
3182 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
3183 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
3184 | end | |
3185 | end | |
3186 | for i = 0,1,0.05 do | |
3187 | for i2,v in pairs(Parts) do | |
3188 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
3189 | end | |
3190 | wait(0.02) | |
3191 | end | |
3192 | for i,v in pairs(Parts) do | |
3193 | if v[1].Size.X > 2.1 then | |
3194 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
3195 | end | |
3196 | v[1].Anchored = false | |
3197 | end | |
3198 | for i = 0,1,0.05 do | |
3199 | for i2,v in pairs(Parts) do | |
3200 | v[1].Transparency = i | |
3201 | if i == 1 then | |
3202 | v[1]:Destroy() | |
3203 | elseif i >= 0.25 then | |
3204 | v[1].CanCollide = false | |
3205 | end | |
3206 | end | |
3207 | wait(0.02) | |
3208 | end | |
3209 | Parts = nil | |
3210 | end) | |
3211 | end | |
3212 | ||
3213 | ||
3214 | function InfernoWrath() | |
3215 | attack = true | |
3216 | chatfunc("FULL BLAST!") | |
3217 | local pie22 = Instance.new("ParticleEmitter") | |
3218 | pie22.Parent = larm | |
3219 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3220 | pie22.LightEmission = 1 | |
3221 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
3222 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3223 | pie22.Transparency = NumberSequence.new(0.7) | |
3224 | pie22.EmissionDirection = "Top" | |
3225 | pie22.Enabled = true | |
3226 | pie22.Lifetime = NumberRange.new(1) | |
3227 | pie22.Rotation = NumberRange.new(-420, 425) | |
3228 | pie22.Rate = 400 | |
3229 | pie22.Speed = NumberRange.new(1) | |
3230 | pie22.LockedToPart = false | |
3231 | pie22.VelocitySpread = 2 | |
3232 | local pie222 = Instance.new("ParticleEmitter") | |
3233 | pie222.Parent = rarm | |
3234 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3235 | pie222.LightEmission = 1 | |
3236 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3237 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3238 | pie222.Transparency = NumberSequence.new(0.7) | |
3239 | pie222.EmissionDirection = "Top" | |
3240 | pie222.Enabled = true | |
3241 | pie222.Lifetime = NumberRange.new(1) | |
3242 | pie222.Rotation = NumberRange.new(-420, 425) | |
3243 | pie222.Rate = 400 | |
3244 | pie222.Speed = NumberRange.new(1) | |
3245 | pie222.LockedToPart = false | |
3246 | pie222.VelocitySpread = 2 | |
3247 | local pie2222 = Instance.new("ParticleEmitter") | |
3248 | pie2222.Parent = lleg | |
3249 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3250 | pie2222.LightEmission = 1 | |
3251 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3252 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3253 | pie2222.Transparency = NumberSequence.new(0.7) | |
3254 | pie2222.EmissionDirection = "Top" | |
3255 | pie2222.Enabled = true | |
3256 | pie2222.Lifetime = NumberRange.new(1) | |
3257 | pie2222.Rotation = NumberRange.new(-420, 425) | |
3258 | pie2222.Rate = 400 | |
3259 | pie2222.Speed = NumberRange.new(1) | |
3260 | pie2222.LockedToPart = false | |
3261 | pie2222.VelocitySpread = 2 | |
3262 | local pie22222 = Instance.new("ParticleEmitter") | |
3263 | pie22222.Parent = rleg | |
3264 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3265 | pie22222.LightEmission = 1 | |
3266 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3267 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3268 | pie22222.Transparency = NumberSequence.new(0.7) | |
3269 | pie22222.EmissionDirection = "Top" | |
3270 | pie22222.Enabled = true | |
3271 | pie22222.Lifetime = NumberRange.new(1) | |
3272 | pie22222.Rotation = NumberRange.new(-420, 425) | |
3273 | pie22222.Rate = 400 | |
3274 | pie22222.Speed = NumberRange.new(1) | |
3275 | pie22222.LockedToPart = false | |
3276 | pie22222.VelocitySpread = 2 | |
3277 | local pie2242 = Instance.new("ParticleEmitter") | |
3278 | pie2242.Parent = tors | |
3279 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3280 | pie2242.LightEmission = 1 | |
3281 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
3282 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3283 | pie2242.Transparency = NumberSequence.new(0.7) | |
3284 | pie2242.EmissionDirection = "Top" | |
3285 | pie2242.Enabled = true | |
3286 | pie2242.Lifetime = NumberRange.new(1) | |
3287 | pie2242.Rotation = NumberRange.new(-420, 425) | |
3288 | pie2242.Rate = 400 | |
3289 | pie2242.Speed = NumberRange.new(1) | |
3290 | pie2242.LockedToPart = false | |
3291 | pie2242.VelocitySpread = 2 | |
3292 | for i = 0,4,0.1 do | |
3293 | swait() | |
3294 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3295 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3296 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3297 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3298 | end | |
3299 | hum.WalkSpeed = 16 | |
3300 | local lb = Instance.new("Part") | |
3301 | lb.Parent = char | |
3302 | lb.Material = "Neon" | |
3303 | lb.Color = BrickColor.new("Gold").Color | |
3304 | lb.CanCollide = false | |
3305 | lb.Shape = "Ball" | |
3306 | lb.CFrame = tors.CFrame | |
3307 | lb.Anchored = true | |
3308 | lb.Transparency = 1 | |
3309 | lb.Size = vt(1,1,1) | |
3310 | local thing = Instance.new("SpecialMesh",lb) | |
3311 | thing.MeshType = meshtype | |
3312 | for i = 0, 4 do | |
3313 | local lbr = Instance.new("Part") | |
3314 | lbr.Parent = char | |
3315 | lbr.Material = "Neon" | |
3316 | lbr.Color = BrickColor.new("Gold").Color | |
3317 | lbr.CanCollide = false | |
3318 | lbr.Shape = "Ball" | |
3319 | lbr.CFrame = lb.CFrame | |
3320 | lbr.Anchored = true | |
3321 | lbr.Transparency = 1 | |
3322 | lbr.Size = vt(1,1,1) | |
3323 | local thinga = Instance.new("SpecialMesh",lbr) | |
3324 | thinga.MeshType = meshtype | |
3325 | thinga.Scale = vt(20*6,20*6,20*6) | |
3326 | for z = 0, 19 do | |
3327 | wait(0.025) | |
3328 | lbr.Transparency = lbr.Transparency - 0.05 | |
3329 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
3330 | end | |
3331 | lbr:Destroy() | |
3332 | end | |
3333 | local aa = Instance.new("Part") | |
3334 | local val = 1*7.5 | |
3335 | aa.Parent = lb | |
3336 | local exsound = Instance.new("Sound",handle) | |
3337 | exsound.SoundId = "rbxassetid://402347142" | |
3338 | exsound.Volume = 10 | |
3339 | exsound.Pitch = 1 | |
3340 | exsound:Play() | |
3341 | aa.Material = "Neon" | |
3342 | aa.Color = BrickColor.new("New Yeller").Color | |
3343 | aa.CanCollide = false | |
3344 | aa.Shape = "Ball" | |
3345 | aa.CFrame = lb.CFrame | |
3346 | aa.Anchored = true | |
3347 | aa.Transparency = 0 | |
3348 | aa.Size = vt(1,1,1) | |
3349 | local thinger = Instance.new("SpecialMesh",aa) | |
3350 | thinger.MeshType = meshtype | |
3351 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
3352 | local explosion = Instance.new("Explosion",aa) | |
3353 | explosion.Position = aa.Position | |
3354 | explosion.BlastRadius = 500000000000 | |
3355 | explosion.BlastPressure = 6000 | |
3356 | local exp = Instance.new("ParticleEmitter",aa) | |
3357 | exp.Texture = "rbxassetid://296874871" | |
3358 | exp.LightEmission = 1 | |
3359 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
3360 | exp.Rate = 9000000000 | |
3361 | exp.Lifetime = NumberRange.new(1) | |
3362 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3363 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3364 | exp.Speed = NumberRange.new(115) | |
3365 | exp.VelocitySpread = 9000000 | |
3366 | exp.Rotation = NumberRange.new(-500,500) | |
3367 | exp.RotSpeed = NumberRange.new(-500,500) | |
3368 | local expa = Instance.new("ParticleEmitter",aa) | |
3369 | expa.Texture = "rbxassetid://296874871" | |
3370 | expa.LightEmission = 1 | |
3371 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
3372 | expa.Rate = 9000000000 | |
3373 | expa.Lifetime = NumberRange.new(2.75) | |
3374 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
3375 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3376 | expa.Speed = NumberRange.new(115) | |
3377 | expa.VelocitySpread = 9000000 | |
3378 | expa.Rotation = NumberRange.new(-500,500) | |
3379 | expa.RotSpeed = NumberRange.new(-500,500) | |
3380 | local exp2 = exp:Clone() | |
3381 | exp2.Parent = aa | |
3382 | local exp3 = exp:Clone() | |
3383 | exp3.Parent = aa | |
3384 | local exp4 = exp:Clone() | |
3385 | exp4.Parent = aa | |
3386 | local exp5 = exp:Clone() | |
3387 | exp5.Parent = aa | |
3388 | local exp6 = exp:Clone() | |
3389 | exp6.Parent = aa | |
3390 | local exp7 = exp:Clone() | |
3391 | exp7.Parent = aa | |
3392 | local expa2 = expa:Clone() | |
3393 | expa2.Parent = aa | |
3394 | local expa3 = expa:Clone() | |
3395 | expa3.Parent = aa | |
3396 | local expa4 = expa:Clone() | |
3397 | expa4.Parent = aa | |
3398 | local expa5 = expa:Clone() | |
3399 | expa5.Parent = aa | |
3400 | local expa6 = expa:Clone() | |
3401 | expa6.Parent = aa | |
3402 | local expa7 = expa:Clone() | |
3403 | expa7.Parent = aa | |
3404 | Crater(head,60) | |
3405 | ||
3406 | for i = 0, 1 do | |
3407 | val = val - 0.025*7.5 | |
3408 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3409 | wait() | |
3410 | end | |
3411 | exp.Rate = 0 | |
3412 | exp2.Rate = 0 | |
3413 | exp3.Rate = 0 | |
3414 | exp4.Rate = 0 | |
3415 | exp5.Rate = 0 | |
3416 | exp6.Rate = 0 | |
3417 | exp7.Rate = 0 | |
3418 | for i = 0, 1 do | |
3419 | val = val - 0.025*7.5 | |
3420 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3421 | wait() | |
3422 | end | |
3423 | hum.WalkSpeed = 16 | |
3424 | pie22:Destroy() | |
3425 | pie222:Destroy() | |
3426 | pie2222:Destroy() | |
3427 | pie22222:Destroy() | |
3428 | pie2242:Destroy() | |
3429 | attack = false | |
3430 | expa.Rate = 0 | |
3431 | expa2.Rate = 0 | |
3432 | expa3.Rate = 0 | |
3433 | expa4.Rate = 0 | |
3434 | expa5.Rate = 0 | |
3435 | expa6.Rate = 0 | |
3436 | expa7.Rate = 0 | |
3437 | for i = 0, 21 do | |
3438 | val = val - 0.025*7.5 | |
3439 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3440 | wait() | |
3441 | end | |
3442 | for i = 0, 74 do | |
3443 | val = val - 0.0145 | |
3444 | aa.Transparency = aa.Transparency + 0.0145 | |
3445 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3446 | wait() | |
3447 | end | |
3448 | wait(5) | |
3449 | lb:Destroy() | |
3450 | end | |
3451 | ||
3452 | ||
3453 | ||
3454 | function Lerp(c1,c2,al) | |
3455 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
3456 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
3457 | for i,v in pairs(com1) do | |
3458 | com1[i] = v+(com2[i]-v)*al | |
3459 | end | |
3460 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
3461 | end | |
3462 | ----- | |
3463 | ||
3464 | ----- | |
3465 | ||
3466 | ------------------------------------------------------------------ | |
3467 | --Blocking | |
3468 | ---------------------------------------------------------------- | |
3469 | mouse.KeyDown:connect(function(key) | |
3470 | if key == "-" then | |
3471 | if attack == true then | |
3472 | attack = false | |
3473 | canidle = false | |
3474 | canwalk = false | |
3475 | ||
3476 | block = true | |
3477 | ||
3478 | end | |
3479 | end | |
3480 | end) | |
3481 | mouse.KeyUp:connect(function(key) | |
3482 | if key == "-" then | |
3483 | if attack == false then | |
3484 | attack = true | |
3485 | canidle = true | |
3486 | block = false | |
3487 | canwalk = true | |
3488 | ||
3489 | ||
3490 | end | |
3491 | end | |
3492 | end) | |
3493 | ---- | |
3494 | if block == true then | |
3495 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
3496 | Torso.Weld.C0 = Lerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso | |
3497 | RW.Weld.C0 = Lerp(RW.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm | |
3498 | LW.Weld.C0 = Lerp(LW.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm | |
3499 | RH.Weld.C0 = Lerp(RH.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg | |
3500 | LH.Weld.C0 = Lerp(LH.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg | |
3501 | ||
3502 | ||
3503 | end | |
3504 | ---- | |
3505 | function punchd() | |
3506 | attack = true | |
3507 | jumped = true | |
3508 | hum.WalkSpeed = 30 | |
3509 | killbrick = Instance.new("Part",rarm) | |
3510 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3511 | killbrick.Transparency = 1 | |
3512 | killbrick:BreakJoints() | |
3513 | killbrick.CanCollide = false | |
3514 | killbrick.Anchored = true | |
3515 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3516 | lig = Instance.new("PointLight",player.Character.Torso) | |
3517 | lig.Color=Color3.new(255,255,0) | |
3518 | lig.Range = 20 | |
3519 | local bv = Instance.new("BodyVelocity") | |
3520 | bv.maxForce = Vector3.new(1,1,1) | |
3521 | bv.velocity = root.CFrame.lookVector*150 | |
3522 | bv.Parent = root | |
3523 | char.Head.face.Texture = "rbxassetid://126198982" | |
3524 | game:GetService("Debris"):AddItem(bv, 1) | |
3525 | local rng = Instance.new("Part", char) | |
3526 | rng.Anchored = true | |
3527 | rng.BrickColor = BrickColor.new("Neon orange") | |
3528 | rng.CanCollide = false | |
3529 | rng.FormFactor = 3 | |
3530 | rng.Name = "Ring" | |
3531 | rng.Size = Vector3.new(1, 1, 1) | |
3532 | rng.Transparency = 0 | |
3533 | rng.TopSurface = 0 | |
3534 | rng.BottomSurface = 0 | |
3535 | rng.CFrame = root.CFrame | |
3536 | local rngm = Instance.new("SpecialMesh", rng) | |
3537 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3538 | local rng2 = rng:Clone() | |
3539 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3540 | rng2.Parent = char | |
3541 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3542 | local rng2m = rng2.Mesh | |
3543 | local rng3 = rng:Clone() | |
3544 | rng3.Parent = char | |
3545 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3546 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3547 | local rng3m = rng3.Mesh | |
3548 | local rng4 = rng:Clone() | |
3549 | rng4.Parent = char | |
3550 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3551 | local rng4m = rng4.Mesh | |
3552 | local rng5 = rng:Clone() | |
3553 | rng5.Parent = char | |
3554 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3555 | local rng5m = rng5.Mesh | |
3556 | local rng6 = rng:Clone() | |
3557 | rng6.Material = "Neon" | |
3558 | rng6.CanCollide = false | |
3559 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3560 | rng6.Parent = LeftLeg | |
3561 | local rng6m = rng6.Mesh | |
3562 | rng6m.Scale = vt(1,1,1) | |
3563 | rng6m.MeshType = "Sphere" | |
3564 | local rng7 = rng:Clone() | |
3565 | rng7.Material = "Plastic" | |
3566 | rng7.CanCollide = false | |
3567 | rng7.BrickColor = BrickColor.new("Bright red") | |
3568 | rng7.Parent = LeftLeg | |
3569 | local rng7m = rng7.Mesh | |
3570 | rng7m.Scale = vt(1,1,1) | |
3571 | rng7m.MeshType = "Sphere" | |
3572 | CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1) | |
3573 | CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1) | |
3574 | wait() | |
3575 | local scaler = 10/5 | |
3576 | local scaler2 = 10/5 | |
3577 | local hit = rng6.Touched:connect(function(hit) | |
3578 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
3579 | CRIT=true | |
3580 | end) | |
3581 | for i = 0,10,0.1 do | |
3582 | swait() | |
3583 | rng.Transparency = rng.Transparency + 0.01 | |
3584 | rng2.Transparency = rng2.Transparency + 0.01 | |
3585 | rng3.Transparency = rng3.Transparency + 0.01 | |
3586 | rng4.Transparency = rng4.Transparency + 0.01 | |
3587 | rng5.Transparency = rng5.Transparency + 0.01 | |
3588 | rng6.Transparency = rng5.Transparency + 0.001 | |
3589 | rng7.Transparency = rng5.Transparency + 0.001 | |
3590 | scaler = scaler - 0.125/5 | |
3591 | scaler2 = scaler2 - 0.1/5 | |
3592 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0) | |
3593 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3594 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
3595 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3596 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
3597 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3598 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3599 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
3600 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3601 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
3602 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
3603 | rng6.CFrame = killbrick.CFrame | |
3604 | rng7.CFrame = killbrick.CFrame | |
3605 | end | |
3606 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3607 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3608 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3609 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3610 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3611 | hum.WalkSpeed = 16 | |
3612 | hit:disconnect() | |
3613 | attack = false | |
3614 | killbrick:Destroy() | |
3615 | char.Head.face.Texture = "rbxassetid://29291814" | |
3616 | jumped = false | |
3617 | lig:Remove() | |
3618 | end | |
3619 | ||
3620 | ||
3621 | ||
3622 | ||
3623 | ||
3624 | ||
3625 | function shock() | |
3626 | attack = true | |
3627 | jumped = true | |
3628 | hum.WalkSpeed = 16 | |
3629 | killbrick = Instance.new("Part",rarm) | |
3630 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3631 | killbrick.Transparency = 1 | |
3632 | killbrick:BreakJoints() | |
3633 | killbrick.CanCollide = false | |
3634 | killbrick.Anchored = true | |
3635 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3636 | lig = Instance.new("PointLight",player.Character.Torso) | |
3637 | lig.Color=Color3.new(255,0,0) | |
3638 | lig.Range = 20 | |
3639 | local bv = Instance.new("BodyVelocity") | |
3640 | bv.maxForce = Vector3.new(1,1,1) | |
3641 | bv.velocity = root.CFrame.lookVector*150 | |
3642 | bv.Parent = root | |
3643 | char.Head.face.Texture = "rbxassetid://126198982" | |
3644 | game:GetService("Debris"):AddItem(bv, 1) | |
3645 | local rng = Instance.new("Part", char) | |
3646 | rng.Anchored = true | |
3647 | rng.BrickColor = BrickColor.new("Neon orange") | |
3648 | rng.CanCollide = false | |
3649 | rng.FormFactor = 3 | |
3650 | rng.Name = "Ring" | |
3651 | rng.Size = Vector3.new(1, 1, 1) | |
3652 | rng.Transparency = 0 | |
3653 | rng.TopSurface = 0 | |
3654 | rng.BottomSurface = 0 | |
3655 | rng.CFrame = root.CFrame | |
3656 | local rngm = Instance.new("SpecialMesh", rng) | |
3657 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3658 | local rng2 = rng:Clone() | |
3659 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3660 | rng2.Parent = char | |
3661 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3662 | local rng2m = rng2.Mesh | |
3663 | local rng3 = rng:Clone() | |
3664 | rng3.Parent = char | |
3665 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3666 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3667 | local rng3m = rng3.Mesh | |
3668 | local rng4 = rng:Clone() | |
3669 | rng4.Parent = char | |
3670 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3671 | local rng4m = rng4.Mesh | |
3672 | local rng5 = rng:Clone() | |
3673 | rng5.Parent = char | |
3674 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3675 | local rng5m = rng5.Mesh | |
3676 | local rng6 = rng:Clone() | |
3677 | rng6.Material = "Neon" | |
3678 | rng6.CanCollide = false | |
3679 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3680 | rng6.Parent = LeftLeg | |
3681 | local rng6m = rng6.Mesh | |
3682 | rng6m.Scale = vt(1,1,1) | |
3683 | rng6m.MeshType = "Sphere" | |
3684 | local rng7 = rng:Clone() | |
3685 | rng7.Material = "Plastic" | |
3686 | rng7.CanCollide = false | |
3687 | rng7.BrickColor = BrickColor.new("Bright red") | |
3688 | rng7.Parent = LeftLeg | |
3689 | local rng7m = rng7.Mesh | |
3690 | rng7m.Scale = vt(1,1,1) | |
3691 | rng7m.MeshType = "Sphere" | |
3692 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3693 | wait() | |
3694 | local scaler = 10/5 | |
3695 | local scaler2 = 10/5 | |
3696 | local hit = rng6.Touched:connect(function(hit) | |
3697 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
3698 | end) | |
3699 | for i = 0,10,0.1 do | |
3700 | swait() | |
3701 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3702 | rng.Transparency = rng.Transparency + 0.01 | |
3703 | rng2.Transparency = rng2.Transparency + 0.01 | |
3704 | rng3.Transparency = rng3.Transparency + 0.01 | |
3705 | rng4.Transparency = rng4.Transparency + 0.01 | |
3706 | rng5.Transparency = rng5.Transparency + 0.01 | |
3707 | rng6.Transparency = rng5.Transparency + 0.001 | |
3708 | rng7.Transparency = rng5.Transparency + 0.001 | |
3709 | scaler = scaler - 0.125/5 | |
3710 | scaler2 = scaler2 - 0.1/5 | |
3711 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0) | |
3712 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0) | |
3713 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0) | |
3714 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0) | |
3715 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
3716 | rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
3717 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3718 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
3719 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3720 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3721 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3722 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3723 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3724 | rng6.CFrame = killbrick.CFrame | |
3725 | rng7.CFrame = killbrick.CFrame | |
3726 | end | |
3727 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3728 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3729 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3730 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3731 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3732 | hum.WalkSpeed = 16 | |
3733 | hit:disconnect() | |
3734 | attack = false | |
3735 | killbrick:Destroy() | |
3736 | char.Head.face.Texture = "rbxassetid://29291814" | |
3737 | jumped = false | |
3738 | lig:Remove() | |
3739 | end | |
3740 | ||
3741 | ||
3742 | function punch3() | |
3743 | attack = true | |
3744 | jumped = true | |
3745 | hum.WalkSpeed = 16 | |
3746 | killbrick = Instance.new("Part",rarm) | |
3747 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3748 | killbrick.Transparency = 1 | |
3749 | killbrick:BreakJoints() | |
3750 | killbrick.CanCollide = false | |
3751 | killbrick.Anchored = true | |
3752 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3753 | ||
3754 | killbrick2 = Instance.new("Part",rarm) | |
3755 | killbrick2.Size = Vector3.new(0.1,0.1,0.1) | |
3756 | killbrick2.Transparency = 1 | |
3757 | killbrick2:BreakJoints() | |
3758 | killbrick2.CanCollide = false | |
3759 | killbrick2.Anchored = true | |
3760 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30) | |
3761 | lig = Instance.new("PointLight",player.Character.Torso) | |
3762 | lig.Color=Color3.new(255,0,0) | |
3763 | lig.Range = 20 | |
3764 | local bv = Instance.new("BodyVelocity") | |
3765 | bv.maxForce = Vector3.new(1,1,1) | |
3766 | bv.velocity = root.CFrame.lookVector*150 | |
3767 | bv.Parent = root | |
3768 | char.Head.face.Texture = "rbxassetid://126198982" | |
3769 | game:GetService("Debris"):AddItem(bv, 1) | |
3770 | local rng = Instance.new("Part", char) | |
3771 | rng.Anchored = true | |
3772 | rng.BrickColor = BrickColor.new("Neon orange") | |
3773 | rng.CanCollide = false | |
3774 | rng.FormFactor = 3 | |
3775 | rng.Name = "Ring" | |
3776 | rng.Size = Vector3.new(1, 1, 1) | |
3777 | rng.Transparency = 0 | |
3778 | rng.TopSurface = 0 | |
3779 | rng.BottomSurface = 0 | |
3780 | rng.CFrame = root.CFrame | |
3781 | local rngm = Instance.new("SpecialMesh", rng) | |
3782 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3783 | local rng2 = rng:Clone() | |
3784 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3785 | rng2.Parent = char | |
3786 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3787 | local rng2m = rng2.Mesh | |
3788 | local rng3 = rng:Clone() | |
3789 | rng3.Parent = char | |
3790 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3791 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3792 | local rng3m = rng3.Mesh | |
3793 | local rng4 = rng:Clone() | |
3794 | rng4.Parent = char | |
3795 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3796 | local rng4m = rng4.Mesh | |
3797 | local rng5 = rng:Clone() | |
3798 | rng5.Parent = char | |
3799 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3800 | local rng5m = rng5.Mesh | |
3801 | local rng6 = rng:Clone() | |
3802 | rng6.Material = "Neon" | |
3803 | rng6.CanCollide = false | |
3804 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3805 | rng6.Parent = LeftLeg | |
3806 | local rng6m = rng6.Mesh | |
3807 | rng6m.Scale = vt(1,1,1) | |
3808 | rng6m.MeshType = "Sphere" | |
3809 | local rng7 = rng:Clone() | |
3810 | rng7.Material = "Plastic" | |
3811 | rng7.CanCollide = false | |
3812 | rng7.BrickColor = BrickColor.new("Bright red") | |
3813 | rng7.Parent = LeftLeg | |
3814 | local rng7m = rng7.Mesh | |
3815 | rng7m.Scale = vt(1,1,1) | |
3816 | rng7m.MeshType = "Sphere" | |
3817 | local rng8 = rng6:Clone() | |
3818 | rng8.Material = "Neon" | |
3819 | rng8.CanCollide = false | |
3820 | rng8.BrickColor = BrickColor.new("Neon orange") | |
3821 | rng8.Parent = LeftLeg | |
3822 | local rng8m = rng7.Mesh | |
3823 | rng8m.Scale = vt(1,1,1) | |
3824 | rng8m.MeshType = "Sphere" | |
3825 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3826 | wait() | |
3827 | local scaler = 10/5 | |
3828 | local scaler2 = 10/5 | |
3829 | local hit = rng8.Touched:connect(function(hit) | |
3830 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
3831 | end) | |
3832 | for i = 0,10,0.1 do | |
3833 | swait() | |
3834 | rng.Transparency = rng.Transparency + 0.01 | |
3835 | rng2.Transparency = rng2.Transparency + 0.01 | |
3836 | rng3.Transparency = rng3.Transparency + 0.01 | |
3837 | rng4.Transparency = rng4.Transparency + 0.01 | |
3838 | rng5.Transparency = rng5.Transparency + 0.01 | |
3839 | rng6.Transparency = rng5.Transparency + 0.001 | |
3840 | rng7.Transparency = rng5.Transparency + 0.001 | |
3841 | rng8.Transparency = rng5.Transparency + 0.001 | |
3842 | scaler = scaler - 0.125/5 | |
3843 | scaler2 = scaler2 - 0.1/5 | |
3844 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0) | |
3845 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0) | |
3846 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0) | |
3847 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3848 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
3849 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3850 | rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3851 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3852 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
3853 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
3854 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
3855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
3856 | rng6.CFrame = killbrick.CFrame | |
3857 | rng7.CFrame = killbrick.CFrame | |
3858 | rng8.CFrame = killbrick2.CFrame | |
3859 | end | |
3860 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3861 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3862 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3863 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3864 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3865 | hum.WalkSpeed = 16 | |
3866 | hit:disconnect() | |
3867 | attack = false | |
3868 | killbrick:Destroy() | |
3869 | char.Head.face.Texture = "rbxassetid://29291814" | |
3870 | jumped = false | |
3871 | lig:Remove() | |
3872 | end | |
3873 | ||
3874 | ||
3875 | ||
3876 | function boom() | |
3877 | attack = true | |
3878 | jumped = true | |
3879 | hum.WalkSpeed = 0 | |
3880 | MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
3881 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
3882 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7) | |
3883 | for i = 0,15,0.1 do | |
3884 | swait() | |
3885 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3886 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
3887 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3888 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3889 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3890 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3891 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3892 | char.Head.face.Texture = "rbxassetid://126198982" | |
3893 | end | |
3894 | local rng = Instance.new("Part", char) | |
3895 | rng.Anchored = true | |
3896 | rng.BrickColor = BrickColor.new("Neon orange") | |
3897 | rng.CanCollide = false | |
3898 | rng.FormFactor = 3 | |
3899 | rng.Name = "Ring" | |
3900 | rng.Size = Vector3.new(1, 1, 1) | |
3901 | rng.Transparency = 0 | |
3902 | rng.TopSurface = 0 | |
3903 | rng.BottomSurface = 0 | |
3904 | rng.Position = root.Position | |
3905 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
3906 | local rngm = Instance.new("SpecialMesh", rng) | |
3907 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3908 | local rng2 = rng:Clone() | |
3909 | rng2.Parent = char | |
3910 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3911 | local rng2m = rng2.Mesh | |
3912 | local rng3 = rng:Clone() | |
3913 | rng3.Parent = char | |
3914 | local rng3m = rng3.Mesh | |
3915 | local rng4 = rng:Clone() | |
3916 | rng4.Parent = char | |
3917 | local rng4m = rng4.Mesh | |
3918 | local rng5 = rng:Clone() | |
3919 | rng5.Parent = char | |
3920 | rng5.BrickColor = BrickColor.new("Dark stone grey") | |
3921 | local rng5m = rng5.Mesh | |
3922 | local hit = rng5.Touched:connect(function(hit) | |
3923 | Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1) | |
3924 | end) | |
3925 | MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015) | |
3926 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1) | |
3927 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85) | |
3928 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1) | |
3929 | wait() | |
3930 | local scaler = 10 | |
3931 | local scaler2 = 10 | |
3932 | for i = 0,10,0.1 do | |
3933 | swait() | |
3934 | rng.Transparency = rng.Transparency + 0.01 | |
3935 | rng2.Transparency = rng2.Transparency + 0.01 | |
3936 | rng3.Transparency = rng3.Transparency + 0.01 | |
3937 | rng4.Transparency = rng4.Transparency + 0.01 | |
3938 | rng5.Transparency = rng5.Transparency + 0.01 | |
3939 | scaler = scaler - 0.125 | |
3940 | scaler2 = scaler2 - 0.1 | |
3941 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4) | |
3942 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3) | |
3943 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2) | |
3944 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1) | |
3945 | rng5.Size = rng5m.Scale | |
3946 | rng5.CFrame = rng.CFrame | |
3947 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5) | |
3948 | text.Text = " DIE! " | |
3949 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
3950 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3951 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3952 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3953 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3954 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3955 | end | |
3956 | hit:disconnect() | |
3957 | game:GetService("Debris"):AddItem(rng, 1) | |
3958 | game:GetService("Debris"):AddItem(rng2, 1) | |
3959 | game:GetService("Debris"):AddItem(rng3, 1) | |
3960 | game:GetService("Debris"):AddItem(rng4, 1) | |
3961 | game:GetService("Debris"):AddItem(rng5, 1) | |
3962 | hum.WalkSpeed = 16 | |
3963 | attack = false | |
3964 | text.Text = " " | |
3965 | char.Head.face.Texture = "rbxassetid://29291814" | |
3966 | jumped = false | |
3967 | end | |
3968 | ||
3969 | function shooty() | |
3970 | attack = true | |
3971 | MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
3972 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
3973 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7) | |
3974 | for i = 0,15,0.1 do | |
3975 | swait() | |
3976 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3977 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
3978 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
3979 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
3980 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
3981 | char.Head.face.Texture = "rbxassetid://126198982" | |
3982 | end | |
3983 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3984 | local a = Instance.new("Part",Character) | |
3985 | a.Name = "Direction" | |
3986 | a.Anchored = true | |
3987 | a.BrickColor = bc("Neon orange") | |
3988 | a.Material = "Neon" | |
3989 | a.Transparency = 1 | |
3990 | a.CanCollide = false | |
3991 | local ray = Ray.new( | |
3992 | root.CFrame.p, -- origin | |
3993 | (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction | |
3994 | ) | |
3995 | local ignore = Character | |
3996 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3997 | a.BottomSurface = 10 | |
3998 | a.TopSurface = 10 | |
3999 | local distance = (root.CFrame.p - position).magnitude | |
4000 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
4001 | a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0) | |
4002 | local lb = Instance.new("Part") | |
4003 | lb.Parent = char | |
4004 | lb.BrickColor = bc("Neon orange") | |
4005 | local pie22 = Instance.new("ParticleEmitter") | |
4006 | pie22.Parent = char.Torso | |
4007 | pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color) | |
4008 | pie22.LightEmission = 0 | |
4009 | pie22.Size = NumberSequence.new(10,5) | |
4010 | pie22.Texture = "http://www.roblox.com/asset/?id=254959503" | |
4011 | pie22.Transparency = NumberSequence.new(0, 1) | |
4012 | pie22.EmissionDirection = "Top" | |
4013 | pie22.Enabled = true | |
4014 | pie22.Lifetime = NumberRange.new(1) | |
4015 | pie22.Rotation = NumberRange.new(-17, 17) | |
4016 | pie22.Rate = 200 | |
4017 | pie22.Speed = NumberRange.new(3) | |
4018 | pie22.LockedToPart = false | |
4019 | pie22.VelocitySpread = 3 | |
4020 | pie22.Name = "Haa" | |
4021 | pie22.Parent = lb | |
4022 | lb.CanCollide = false | |
4023 | lb.Material = "Neon" | |
4024 | lb.Anchored = true | |
4025 | lb.TopSurface = 0 | |
4026 | lb.BottomSurface = 0 | |
4027 | lb.Transparency = 0 | |
4028 | lb.Size = vt(0.5,0.5,0.5) | |
4029 | lb.CFrame = sorb.CFrame | |
4030 | lb.Anchored = false | |
4031 | local thingery = Instance.new("SpecialMesh",lb) | |
4032 | thingery.MeshType = "Sphere" | |
4033 | thingery.Scale = vt(25,25,25) | |
4034 | game:GetService("Debris"):AddItem(lb, 10) | |
4035 | local bv = Instance.new("BodyVelocity") | |
4036 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4037 | bv.velocity = a.CFrame.lookVector*150 | |
4038 | bv.Parent = lb | |
4039 | game:GetService("Debris"):AddItem(a, 0.1) | |
4040 | wait(0.05) | |
4041 | local hitted = false | |
4042 | lb.Touched:connect(function(hit) | |
4043 | if hitted == false then | |
4044 | hitted = true | |
4045 | lb.Anchored = true | |
4046 | lb.Transparency = 1 | |
4047 | local rng = Instance.new("Part", char) | |
4048 | rng.Anchored = true | |
4049 | rng.BrickColor = BrickColor.new("Neon orange") | |
4050 | rng.CanCollide = false | |
4051 | rng.FormFactor = 3 | |
4052 | rng.Name = "Ring" | |
4053 | rng.Size = Vector3.new(1, 1, 1) | |
4054 | rng.Transparency = 0 | |
4055 | rng.TopSurface = 0 | |
4056 | rng.BottomSurface = 0 | |
4057 | rng.CFrame = lb.CFrame | |
4058 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
4059 | local rngm = Instance.new("SpecialMesh", rng) | |
4060 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4061 | local rng2 = rng:Clone() | |
4062 | rng2.Parent = char | |
4063 | local rng2m = rng2.Mesh | |
4064 | local rng3 = rng:Clone() | |
4065 | rng3.Parent = char | |
4066 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
4067 | local rng3m = rng3.Mesh | |
4068 | local rng4 = rng:Clone() | |
4069 | rng4.Parent = char | |
4070 | local rng4m = rng4.Mesh | |
4071 | local rng5 = rng:Clone() | |
4072 | rng5.Parent = char | |
4073 | rng5.BrickColor = BrickColor.new("Dark stone grey") | |
4074 | rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
4075 | local rng5m = rng5.Mesh | |
4076 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
4077 | rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
4078 | rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
4079 | MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015) | |
4080 | local rng6 = rng:Clone() | |
4081 | rng6.Material = "Neon" | |
4082 | rng6.Parent = char | |
4083 | local rng6m = rng6.Mesh | |
4084 | rng6m.Scale = vt(1,1,1) | |
4085 | rng6m.MeshType = "Sphere" | |
4086 | local hita = rng6.Touched:connect(function(hit) | |
4087 | Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1) | |
4088 | end) | |
4089 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1) | |
4090 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75) | |
4091 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4092 | local scaler = 5 | |
4093 | local scaler2 = 5 | |
4094 | for i = 0,20,0.1 do | |
4095 | swait() | |
4096 | rng.Transparency = rng.Transparency + 0.005 | |
4097 | rng2.Transparency = rng2.Transparency + 0.005 | |
4098 | rng3.Transparency = rng3.Transparency + 0.005 | |
4099 | rng4.Transparency = rng4.Transparency + 0.005 | |
4100 | rng5.Transparency = rng5.Transparency + 0.005 | |
4101 | rng6.Transparency = rng6.Transparency + 0.005 | |
4102 | scaler = scaler - 0.005/2 | |
4103 | scaler2 = scaler2 - 0.05/2 | |
4104 | rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3) | |
4105 | rng6.CFrame = rng.CFrame | |
4106 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
4107 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
4108 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
4109 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
4110 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
4111 | end | |
4112 | hita:disconnect() | |
4113 | game:GetService("Debris"):AddItem(rng, 1) | |
4114 | game:GetService("Debris"):AddItem(rng2, 1) | |
4115 | game:GetService("Debris"):AddItem(rng3, 1) | |
4116 | game:GetService("Debris"):AddItem(rng4, 1) | |
4117 | game:GetService("Debris"):AddItem(rng5, 1) | |
4118 | game:GetService("Debris"):AddItem(rng6, 1) | |
4119 | end | |
4120 | end) | |
4121 | for i = 0,2,0.1 do | |
4122 | swait() | |
4123 | MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
4124 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
4125 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
4126 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
4127 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
4128 | text.Text = " DIE! " | |
4129 | end | |
4130 | attack = false | |
4131 | text.Text = " " | |
4132 | char.Head.face.Texture = "rbxassetid://29291814" | |
4133 | end | |
4134 | ||
4135 | function superpunch() | |
4136 | attack = true | |
4137 | jumped = true | |
4138 | hum.WalkSpeed = 16 | |
4139 | chatfunc("Grrr..") | |
4140 | rock = true | |
4141 | for i = 0, 5 do | |
4142 | local lb = Instance.new("Part") | |
4143 | lb.Parent = char | |
4144 | lb.Material = "Neon" | |
4145 | lb.Color = BrickColor.new("Gold").Color | |
4146 | lb.CanCollide = false | |
4147 | lb.Material = "Neon" | |
4148 | lb.Size = vt(1,1,1) | |
4149 | lb.CFrame = tors.CFrame | |
4150 | lb.Rotation = vt(0,0,0) | |
4151 | lb.Anchored = true | |
4152 | lb.Transparency = 0 | |
4153 | local thing = Instance.new("SpecialMesh",lb) | |
4154 | thing.MeshType = "FileMesh" | |
4155 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4156 | thing.Scale = vt(0,15,0) | |
4157 | local chancerot = math.random(1,2) | |
4158 | for z = 0, 4 do | |
4159 | if chancerot == 1 then | |
4160 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
4161 | elseif chancerot == 2 then | |
4162 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
4163 | end | |
4164 | lb.Transparency = lb.Transparency + 0.1 | |
4165 | thing.Scale = thing.Scale + vt(15,0,15) | |
4166 | wait() | |
4167 | end | |
4168 | for z = 0, 4 do | |
4169 | if chancerot == 1 then | |
4170 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
4171 | elseif chancerot == 2 then | |
4172 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
4173 | end | |
4174 | lb.Transparency = lb.Transparency + 0.1 | |
4175 | thing.Scale = thing.Scale + vt(15,0,15) | |
4176 | wait() | |
4177 | end | |
4178 | lb:Destroy() | |
4179 | end | |
4180 | wait(0) | |
4181 | text.Text = " " | |
4182 | wait(0.5) | |
4183 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
4184 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7) | |
4185 | wait(0) | |
4186 | chatfunc("Incinerate!") | |
4187 | for i = 0,15,0.1 do | |
4188 | swait() | |
4189 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
4190 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
4191 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
4192 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
4193 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
4194 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
4195 | char.Head.face.Texture = "rbxassetid://126198982" | |
4196 | end | |
4197 | local rng = Instance.new("Part", char) | |
4198 | rng.Anchored = true | |
4199 | rng.BrickColor = BrickColor.new("New Yeller") | |
4200 | rng.CanCollide = false | |
4201 | rng.FormFactor = 3 | |
4202 | rng.Name = "Ring" | |
4203 | rng.Size = Vector3.new(1, 1, 1) | |
4204 | rng.Transparency = 0 | |
4205 | rng.TopSurface = 0 | |
4206 | rng.BottomSurface = 0 | |
4207 | rng.CFrame = root.CFrame | |
4208 | local rngm = Instance.new("SpecialMesh", rng) | |
4209 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4210 | local rng2 = rng:Clone() | |
4211 | rng2.Parent = char | |
4212 | rng2.BrickColor = BrickColor.new("Neon orange") | |
4213 | local rng2m = rng2.Mesh | |
4214 | local rng3 = rng:Clone() | |
4215 | rng3.Parent = char | |
4216 | local rng3m = rng3.Mesh | |
4217 | local rng4 = rng:Clone() | |
4218 | rng4.Parent = char | |
4219 | rng4.BrickColor = BrickColor.new("Neon orange") | |
4220 | local rng4m = rng4.Mesh | |
4221 | local rng5 = rng:Clone() | |
4222 | rng5.Parent = char | |
4223 | local rng5m = rng5.Mesh | |
4224 | local rng6 = rng:Clone() | |
4225 | rng6.Material = "Neon" | |
4226 | rng6.Parent = char | |
4227 | local rng6m = rng6.Mesh | |
4228 | rng6m.Scale = vt(1,1,1) | |
4229 | rng6m.MeshType = "Sphere" | |
4230 | local hita = rng6.Touched:connect(function(hit) | |
4231 | Damagefunc(hit,3000000,4400000,math.random(3000000,4000000),"Normal",root,.2,1) | |
4232 | end) | |
4233 | rng2.CFrame = root.CFrame | |
4234 | rng3.CFrame = root.CFrame | |
4235 | rng4.CFrame = root.CFrame | |
4236 | rng5.CFrame = root.CFrame | |
4237 | rng6.CFrame = root.CFrame | |
4238 | CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1) | |
4239 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85) | |
4240 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4241 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4242 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4243 | wait() | |
4244 | local scaler = 10/5 | |
4245 | local scaler2 = 10/5 | |
4246 | MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015) | |
4247 | for i = 0,10,0.1 do | |
4248 | swait() | |
4249 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
4250 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25 | |
4251 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
4252 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75 | |
4253 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2 | |
4254 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4) | |
4255 | rng6.CFrame = rng.CFrame | |
4256 | rng.Transparency = rng.Transparency + 0.01 | |
4257 | rng2.Transparency = rng2.Transparency + 0.01 | |
4258 | rng3.Transparency = rng3.Transparency + 0.01 | |
4259 | rng4.Transparency = rng4.Transparency + 0.01 | |
4260 | rng5.Transparency = rng5.Transparency + 0.01 | |
4261 | rng6.Transparency = rng6.Transparency + 0.01 | |
4262 | scaler = scaler - 0.125/5 | |
4263 | scaler2 = scaler2 - 0.1/5 | |
4264 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
4265 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
4266 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
4267 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
4268 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2) | |
4269 | end | |
4270 | hita:disconnect() | |
4271 | rng6:Destroy() | |
4272 | Crater(head,60) | |
4273 | game:GetService("Debris"):AddItem(rng, 1) | |
4274 | game:GetService("Debris"):AddItem(rng2, 1) | |
4275 | game:GetService("Debris"):AddItem(rng3, 1) | |
4276 | game:GetService("Debris"):AddItem(rng4, 1) | |
4277 | game:GetService("Debris"):AddItem(rng5, 1) | |
4278 | hum.WalkSpeed = 16 | |
4279 | attack = false | |
4280 | char.Head.face.Texture = "rbxassetid://29291814" | |
4281 | jumped = false | |
4282 | end | |
4283 | ||
4284 | ||
4285 | ||
4286 | --Gomu powers by DahNoob | |
4287 | --Gui Fixed by Biologically_Noob | |
4288 | --Originally fixed by scenius | |
4289 | --lol i know ur gonna remove credits | |
4290 | g1 = Instance.new("ScreenGui") | |
4291 | g1.Name = "ggui" | |
4292 | o1 = Instance.new("Frame", g1) | |
4293 | o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6) | |
4294 | o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647) | |
4295 | o1.BorderSizePixel = 0 | |
4296 | o1.Name = "Main" | |
4297 | o1.Position = UDim2.new(0.025, 0, 0.65, 0) | |
4298 | o1.Size = UDim2.new(0,0,0) | |
4299 | o1.ZIndex = 2 | |
4300 | o2 = Instance.new("Frame", o1) | |
4301 | o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843) | |
4302 | o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
4303 | o2.BorderSizePixel = 3 | |
4304 | o2.Name = "G3" | |
4305 | o2.Position = UDim2.new(0.05, 0, 0, 20) | |
4306 | o2.Size = UDim2.new(0,0,0) | |
4307 | o2.ZIndex = 3 | |
4308 | o3 = Instance.new("Frame", o2) | |
4309 | o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4310 | o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4311 | o3.BorderSizePixel = 0 | |
4312 | o3.Name = "Shadow" | |
4313 | o3.Size = UDim2.new(0,0,0) | |
4314 | o3.ZIndex = 2 | |
4315 | o3.Style = Enum.FrameStyle.DropShadow | |
4316 | o4 = Instance.new("Frame", o2) | |
4317 | o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529) | |
4318 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4319 | o4.BorderSizePixel = 0 | |
4320 | o4.Name = "Bar" | |
4321 | o4.Size = UDim2.new(0,0,0) | |
4322 | o4.ZIndex = 4 | |
4323 | o5 = Instance.new("Frame", o1) | |
4324 | o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4325 | o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4326 | o5.BorderSizePixel = 0 | |
4327 | o5.Name = "Shadow" | |
4328 | o5.Position = UDim2.new(0, 1, 0, 1) | |
4329 | o5.Size = UDim2.new(0,0,0) | |
4330 | o5.Style = Enum.FrameStyle.DropShadow | |
4331 | o6 = Instance.new("Frame", o1) | |
4332 | o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0) | |
4333 | o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667) | |
4334 | o6.BorderSizePixel = 3 | |
4335 | o6.Name = "G2" | |
4336 | o6.Position = UDim2.new(0.05, 0, 0, 55) | |
4337 | o6.Size = UDim2.new(0,0,0) | |
4338 | o6.ZIndex = 3 | |
4339 | o7 = Instance.new("Frame", o6) | |
4340 | o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4341 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4342 | o7.BorderSizePixel = 0 | |
4343 | o7.Name = "Shadow" | |
4344 | o7.Size = UDim2.new(0,0,0) | |
4345 | o7.ZIndex = 2 | |
4346 | o7.Style = Enum.FrameStyle.DropShadow | |
4347 | o8 = Instance.new("Frame", o6) | |
4348 | o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157) | |
4349 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4350 | o8.BorderSizePixel = 0 | |
4351 | o8.Name = "Bar" | |
4352 | o8.Size = UDim2.new(0,0,0) | |
4353 | o8.ZIndex = 4 | |
4354 | o9 = Instance.new("Frame", o1) | |
4355 | o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275) | |
4356 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4357 | o9.BorderSizePixel = 0 | |
4358 | o9.Name = "Base" | |
4359 | o9.Position = UDim2.new(0.05, 0, 0, 80) | |
4360 | o9.Size = UDim2.new(0,0,0) | |
4361 | o9.ZIndex = 3 | |
4362 | o10 = Instance.new("Frame", o9) | |
4363 | o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4364 | o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4365 | o10.BorderSizePixel = 0 | |
4366 | o10.Name = "Shadow" | |
4367 | o10.Size = UDim2.new(0,0,0) | |
4368 | o10.ZIndex = 2 | |
4369 | o10.Style = Enum.FrameStyle.DropShadow | |
4370 | o11 = Instance.new("TextLabel", o9) | |
4371 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
4372 | o11.BackgroundTransparency = 1 | |
4373 | o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4374 | o11.Name = "Mode" | |
4375 | o11.Position = UDim2.new(0.05, 0,0.1, 0) | |
4376 | o11.Size = UDim2.new(0, 205, 0, 50) | |
4377 | o11.ZIndex = 3 | |
4378 | o11.Text = " " | |
4379 | o11.TextColor3 = Color3.new(1, 1, 1) | |
4380 | o11.TextStrokeTransparency = 0 | |
4381 | o11.Font = Enum.Font.SourceSansBold | |
4382 | o11.FontSize = Enum.FontSize.Size28 | |
4383 | ||
4384 | g1.Parent = script | |
4385 | ||
4386 | sn = Instance.new("StringValue", script) | |
4387 | sn.Name = "ScriptName" | |
4388 | sn.Value = "Gomu Powers" | |
4389 | ||
4390 | local a = script:WaitForChild("ScriptName").Value | |
4391 | script.ScriptName:Destroy() | |
4392 | TakeDamage = function(b, c) | |
4393 | b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick()) | |
4394 | end | |
4395 | ||
4396 | plr = game.Players.LocalPlayer | |
4397 | repeat | |
4398 | wait(0.4) | |
4399 | until plr.Character | |
4400 | local fixed = Instance.new("StringValue", plr.Character) | |
4401 | fixed.Name = "1" | |
4402 | fixed.Value = "S".."c".."e".."n".."i".."u".."s" | |
4403 | local creator = Instance.new("StringValue", plr.Character) | |
4404 | creator.Name = "2" | |
4405 | creator.Value = "D".."a".."h".."N".."o".."o".."b" | |
4406 | chr = plr.Character | |
4407 | human = chr:FindFirstChild("Humanoid") | |
4408 | mouse = plr:GetMouse() | |
4409 | kx = function(s) | |
4410 | plr:Kick(s) | |
4411 | end | |
4412 | cam = workspace.CurrentCamera | |
4413 | selected = false | |
4414 | equipd = false | |
4415 | tors = chr.Torso | |
4416 | rarm = chr["Right Arm"] | |
4417 | larm = chr["Left Arm"] | |
4418 | rleg = chr["Right Leg"] | |
4419 | lleg = chr["Left Leg"] | |
4420 | hrp = chr.HumanoidRootPart | |
4421 | head = chr.Head | |
4422 | anim = human:FindFirstChild("Animator") | |
4423 | local d = head:FindFirstChildOfClass("Decal").Texture | |
4424 | activu = false | |
4425 | dagear = 1 | |
4426 | rubbermodo = 0 | |
4427 | gatlingcool = 0 | |
4428 | bazookacool = 0 | |
4429 | rocketcool = 0 | |
4430 | g2lim = 6 | |
4431 | g3lim = 6 | |
4432 | g32hand = false | |
4433 | local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856) | |
4434 | local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060)) | |
4435 | local g = nil | |
4436 | g = script:WaitForChild("ggui") | |
4437 | g.Enabled = true | |
4438 | g.Main.G3.Bar.BackgroundColor3 = rarm.Color | |
4439 | g.Parent = plr.PlayerGui | |
4440 | Heartbeat = Instance.new("BindableEvent") | |
4441 | Heartbeat.Name = "Heartbeat" | |
4442 | Heartbeat.Parent = script | |
4443 | frame = 0.033333333333333 | |
4444 | tf = 0 | |
4445 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
4446 | tf = tf + h | |
4447 | if frame <= tf then | |
4448 | for j = 1, math.floor(tf / frame) do | |
4449 | Heartbeat:Fire() | |
4450 | end | |
4451 | tf = tf - frame * math.floor(tf / frame) | |
4452 | end | |
4453 | end) | |
4454 | swait = function(k) | |
4455 | if k == 0 or k == nil then | |
4456 | Heartbeat.Event:wait() | |
4457 | else | |
4458 | for j = 1, k do | |
4459 | Heartbeat.Event:wait() | |
4460 | end | |
4461 | end | |
4462 | end | |
4463 | ||
4464 | Heartbeat2 = Instance.new("BindableEvent") | |
4465 | Heartbeat2.Name = "Heartbeat2" | |
4466 | Heartbeat2.Parent = script | |
4467 | f60 = 0.016666666666667 | |
4468 | tf2 = 0 | |
4469 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
4470 | tf2 = tf2 + h | |
4471 | if f60 <= tf2 then | |
4472 | for j = 1, math.floor(tf2 / f60) do | |
4473 | Heartbeat2:Fire() | |
4474 | end | |
4475 | tf2 = tf2 - f60 * math.floor(tf2 / f60) | |
4476 | end | |
4477 | end) | |
4478 | swait2 = function(k) | |
4479 | if k == 0 or k == nil then | |
4480 | Heartbeat2.Event:wait() | |
4481 | else | |
4482 | for j = 1, k do | |
4483 | Heartbeat2.Event:wait() | |
4484 | end | |
4485 | end | |
4486 | end | |
4487 | ||
4488 | tool = Instance.new("Tool") | |
4489 | tool.CanBeDropped = false | |
4490 | tool.RequiresHandle = false | |
4491 | tool.ToolTip = "FSJDHJFS" | |
4492 | tool.Name = "Machine" | |
4493 | tool.Parent = plr.Backpack | |
4494 | modz = Instance.new("Model") | |
4495 | modz.Name = "efx" | |
4496 | modz.Parent = chr | |
4497 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4498 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4499 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4500 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4501 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4502 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4503 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4504 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4505 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4506 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4507 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4508 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4509 | RS = tors:FindFirstChild("Right Shoulder") | |
4510 | LS = tors:FindFirstChild("Left Shoulder") | |
4511 | RH = tors:FindFirstChild("Right Hip") | |
4512 | LH = tors:FindFirstChild("Left Hip") | |
4513 | RJ = hrp:FindFirstChild("RootJoint") | |
4514 | N = tors:FindFirstChild("Neck") | |
4515 | cf = CFrame.new | |
4516 | ang = CFrame.Angles | |
4517 | rd = math.rad | |
4518 | rd2 = math.random | |
4519 | cs = ColorSequence.new | |
4520 | ns = NumberSequence.new | |
4521 | nsk = NumberSequenceKeypoint.new | |
4522 | nooutline = function(i) | |
4523 | i.TopSurface = 10 | |
4524 | end | |
4525 | ||
4526 | makepart = function(l, m, n, o, p, q, r) | |
4527 | local s = Instance.new("Part") | |
4528 | s.BrickColor = BrickColor.new(l) | |
4529 | s.Name = m | |
4530 | s.Transparency = o | |
4531 | nooutline(s) | |
4532 | s.Reflectance = n | |
4533 | s.Material = p | |
4534 | s.Anchored = true | |
4535 | s.CanCollide = false | |
4536 | s.Locked = true | |
4537 | s.CFrame = r | |
4538 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
4539 | s.Parent = q | |
4540 | return s | |
4541 | end | |
4542 | ||
4543 | makemesh = function(t, u, v, w) | |
4544 | local x = Instance.new("SpecialMesh") | |
4545 | x.MeshType = t | |
4546 | x.Scale = u | |
4547 | if t == "FileMesh" then | |
4548 | x.MeshId = v | |
4549 | end | |
4550 | x.Parent = w | |
4551 | return x | |
4552 | end | |
4553 | ||
4554 | makeweld = function(w, y, z, A, B) | |
4555 | local C = Instance.new("Weld") | |
4556 | C.Part0 = y | |
4557 | C.Part1 = z | |
4558 | C.C0 = A | |
4559 | if B ~= nil then | |
4560 | C.C1 = B | |
4561 | end | |
4562 | C.Parent = w | |
4563 | return C | |
4564 | end | |
4565 | ||
4566 | lerpz = function(D, E, F, G) | |
4567 | D[E] = D[E]:lerp(F, G) | |
4568 | end | |
4569 | ||
4570 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4571 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4572 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4573 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4574 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4575 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4576 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4577 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4578 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4579 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4580 | resetlerp = function() | |
4581 | RJ.C0 = RJC0 | |
4582 | RJ.C1 = RJC1 | |
4583 | N.C0 = NC0 | |
4584 | N.C1 = NC1 | |
4585 | RS.C0 = RSC0 | |
4586 | RS.C1 = RSC1 | |
4587 | LS.C0 = LSC0 | |
4588 | LS.C1 = LSC1 | |
4589 | RH.C0 = RHC0 | |
4590 | RH.C1 = RHC1 | |
4591 | LH.C0 = LHC0 | |
4592 | LH.C1 = LHC1 | |
4593 | end | |
4594 | ||
4595 | local H = {} | |
4596 | for I,J in pairs(chr:GetChildren()) do | |
4597 | if J:IsA("BasePart") and J ~= hrp then | |
4598 | local K = Instance.new("Part") | |
4599 | K.Size = Vector3.new(0.2, 0.2, 0.2) | |
4600 | K.CanCollide = false | |
4601 | K.Material = "Neon" | |
4602 | K.Name = "odam" | |
4603 | K.BrickColor = BrickColor.new("Persimmon") | |
4604 | K.CFrame = J.CFrame | |
4605 | K.Transparency = 1 | |
4606 | K.Locked = true | |
4607 | nooutline(K) | |
4608 | K.Parent = J | |
4609 | local L = nil | |
4610 | if J ~= head then | |
4611 | L = makemesh("Brick", J.Size * 5 * 1.03, nil, K) | |
4612 | else | |
4613 | if J == head then | |
4614 | L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K) | |
4615 | end | |
4616 | end | |
4617 | makeweld(K, K, J, (cf(0, 0, 0)), nil) | |
4618 | local M = Instance.new("ParticleEmitter") | |
4619 | M.Color = cs(Color3.new(1, 1, 1)) | |
4620 | M.LightEmission = 0.8 | |
4621 | M.Name = "pe" | |
4622 | M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)}) | |
4623 | M.Texture = "rbxgameasset://Images/smok" | |
4624 | M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)}) | |
4625 | M.Acceleration = Vector3.new(0, 4, 0) | |
4626 | M.Lifetime = NumberRange.new(3, 4) | |
4627 | M.Rate = 20 | |
4628 | M.VelocityInheritance = 0.15 | |
4629 | M.Rotation = NumberRange.new(0, 360) | |
4630 | M.RotSpeed = NumberRange.new(-5, 5) | |
4631 | M.Speed = NumberRange.new(-5, -3) | |
4632 | M.VelocitySpread = 30 | |
4633 | M.Enabled = false | |
4634 | M.Parent = K | |
4635 | do | |
4636 | do | |
4637 | do | |
4638 | if J == tors then | |
4639 | local O = Instance.new("Sound") | |
4640 | O.SoundId = "rbxassetid://291165237" | |
4641 | O.Volume = 0.5 | |
4642 | O.Pitch = 0.9 | |
4643 | O.Name = "ss" | |
4644 | O.Looped = true | |
4645 | O.Parent = K | |
4646 | end | |
4647 | table.insert(H, K) | |
4648 | if J:IsA("CharacterMesh") then | |
4649 | J:Destroy() | |
4650 | end | |
4651 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
4652 | ||
4653 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
4654 | ||
4655 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
4656 | ||
4657 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT | |
4658 | ||
4659 | end | |
4660 | end | |
4661 | end | |
4662 | end | |
4663 | end | |
4664 | function onFired(...) | |
4665 | --if {...} ~= {} then | |
4666 | kx(...) | |
4667 | --end | |
4668 | end | |
4669 | function getobj(t) | |
4670 | if t==nil then | |
4671 | return nil | |
4672 | else | |
4673 | return t | |
4674 | end | |
4675 | end | |
4676 | SB_Remote = {} --Instance.new("RemoteEvent", script) | |
4677 | SB_Remote.Name = "Event" | |
4678 | function SB_Remote:FireClient(var) | |
4679 | onFired(var) | |
4680 | end | |
4681 | --SB_Remote.OnClientEvent:Connect(onFired) | |
4682 | modev = Instance.new("IntValue") | |
4683 | modev.Name = "WATA" | |
4684 | modev.Parent = tors | |
4685 | shoot = function() | |
4686 | if selected == false or activu == true or modev.Value > 1 then | |
4687 | return | |
4688 | end | |
4689 | activu = true | |
4690 | delay(0.5, function() | |
4691 | activu = false | |
4692 | end) | |
4693 | local P, Q = nil, nil | |
4694 | if modev.Value == 0 then | |
4695 | P = rarm | |
4696 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
4697 | else | |
4698 | if modev.Value == 1 then | |
4699 | P = larm | |
4700 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
4701 | end | |
4702 | end | |
4703 | if modev.Value == 0 then | |
4704 | modev.Value = modev.Value + 1 | |
4705 | else | |
4706 | if modev.Value == 1 then | |
4707 | modev.Value = 0 | |
4708 | end | |
4709 | end | |
4710 | local R = Instance.new("Part") | |
4711 | nooutline(R) | |
4712 | R.Anchored = true | |
4713 | R.CanCollide = false | |
4714 | R.Size = Vector3.new(1, 1, 1) | |
4715 | R.BrickColor = P.BrickColor | |
4716 | R.Transparency = 1 | |
4717 | R.Locked = true | |
4718 | R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
4719 | R.Parent = modz | |
4720 | local S = Instance.new("Part") | |
4721 | nooutline(S) | |
4722 | S.Anchored = true | |
4723 | S.CanCollide = false | |
4724 | S.Locked = true | |
4725 | S.Size = Vector3.new(1, 1, 1) | |
4726 | S.BrickColor = BrickColor.new("White") | |
4727 | S.Transparency = 0 | |
4728 | S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0) | |
4729 | S.Parent = modz | |
4730 | game.Debris:AddItem(S, 2) | |
4731 | local T = Instance.new("SpecialMesh") | |
4732 | T.MeshType = "FileMesh" | |
4733 | T.MeshId = "rbxassetid://489415447" | |
4734 | T.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4735 | T.Parent = S | |
4736 | coroutine.resume(coroutine.create(function() | |
4737 | for I = 1, 10 do | |
4738 | swait() | |
4739 | T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5) | |
4740 | S.Transparency = S.Transparency + 0.1 | |
4741 | end | |
4742 | end)) | |
4743 | local U = Instance.new("Sound") | |
4744 | U.SoundId = "rbxassetid://137463821" | |
4745 | U.Volume = 1.4 | |
4746 | U.Pitch = math.random(10, 12) / 10 | |
4747 | U.Parent = P | |
4748 | U:Play() | |
4749 | game.Debris:AddItem(U, 1.5) | |
4750 | local V = Instance.new("Part") | |
4751 | nooutline(V) | |
4752 | V.Anchored = true | |
4753 | V.CanCollide = false | |
4754 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
4755 | V.BrickColor = P.BrickColor | |
4756 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
4757 | V.Parent = modz | |
4758 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
4759 | local X = nil | |
4760 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
4761 | X = (R.Position - P.Position).magnitude | |
4762 | W.Scale = Vector3.new(1, X / 2, 1) | |
4763 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
4764 | end) | |
4765 | local Z = false | |
4766 | for _ = 1, 4, 0.1 do | |
4767 | swait() | |
4768 | local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _)) | |
4769 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
4770 | if a1 and a1.Transparency ~= 1 and Z == false then | |
4771 | Z = true | |
4772 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
4773 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90))) | |
4774 | do | |
4775 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
4776 | game.Debris:AddItem(a3, 5) | |
4777 | local a5 = rd2(1, 5) | |
4778 | if a5 == 3 then | |
4779 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8))) | |
4780 | else | |
4781 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil) | |
4782 | end | |
4783 | coroutine.resume(coroutine.create(function() | |
4784 | for I = 1, 16 do | |
4785 | swait() | |
4786 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
4787 | a3.Transparency = a3.Transparency + 0.05 | |
4788 | end | |
4789 | a3:Destroy() | |
4790 | end)) | |
4791 | end | |
4792 | else | |
4793 | do | |
4794 | do | |
4795 | if Z == false then | |
4796 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
4797 | else | |
4798 | if Z == true then | |
4799 | R.CFrame = R.CFrame * cf(0, 0, 4 - _) | |
4800 | end | |
4801 | end | |
4802 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT | |
4803 | ||
4804 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
4805 | ||
4806 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT | |
4807 | ||
4808 | end | |
4809 | end | |
4810 | end | |
4811 | end | |
4812 | R:Destroy() | |
4813 | V:Destroy() | |
4814 | Y:Disconnect() | |
4815 | Q:Destroy() | |
4816 | end | |
4817 | ||
4818 | gatling = function() | |
4819 | if gatlingcool == 50 or selected == false or activu == true then | |
4820 | return | |
4821 | end | |
4822 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
4823 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
4824 | activu = true | |
4825 | chatfunc("Machine Gun Blows!") | |
4826 | asd1 = Instance.new("Sound",char) | |
4827 | asd1.SoundId = "http://www.roblox.com/asset/?id = 337638956" | |
4828 | asd1.Volume = 1 | |
4829 | asd1.Looped = true | |
4830 | asd1:Play() | |
4831 | local pie22 = Instance.new("ParticleEmitter") | |
4832 | pie22.Parent = lleg | |
4833 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4834 | pie22.LightEmission = 1 | |
4835 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
4836 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4837 | pie22.Transparency = NumberSequence.new(0.7) | |
4838 | pie22.EmissionDirection = "Top" | |
4839 | pie22.Enabled = true | |
4840 | pie22.Lifetime = NumberRange.new(1) | |
4841 | pie22.Rotation = NumberRange.new(-420, 425) | |
4842 | pie22.Rate = 400 | |
4843 | pie22.Speed = NumberRange.new(1) | |
4844 | pie22.LockedToPart = false | |
4845 | pie22.VelocitySpread = 2 | |
4846 | local pie222 = Instance.new("ParticleEmitter") | |
4847 | pie222.Parent = rleg | |
4848 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4849 | pie222.LightEmission = 1 | |
4850 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4851 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4852 | pie222.Transparency = NumberSequence.new(0.7) | |
4853 | pie222.EmissionDirection = "Top" | |
4854 | pie222.Enabled = true | |
4855 | pie222.Lifetime = NumberRange.new(1) | |
4856 | pie222.Rotation = NumberRange.new(-420, 425) | |
4857 | pie222.Rate = 400 | |
4858 | pie222.Speed = NumberRange.new(1) | |
4859 | pie222.LockedToPart = false | |
4860 | pie222.VelocitySpread = 2 | |
4861 | local pie2222 = Instance.new("ParticleEmitter") | |
4862 | pie2222.Parent = lleg | |
4863 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4864 | pie2222.LightEmission = 1 | |
4865 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4866 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4867 | pie2222.Transparency = NumberSequence.new(0.7) | |
4868 | pie2222.EmissionDirection = "Top" | |
4869 | pie2222.Enabled = true | |
4870 | pie2222.Lifetime = NumberRange.new(1) | |
4871 | pie2222.Rotation = NumberRange.new(-420, 425) | |
4872 | pie2222.Rate = 400 | |
4873 | pie2222.Speed = NumberRange.new(1) | |
4874 | pie2222.LockedToPart = false | |
4875 | pie2222.VelocitySpread = 2 | |
4876 | local pie22222 = Instance.new("ParticleEmitter") | |
4877 | pie22222.Parent = rleg | |
4878 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4879 | pie22222.LightEmission = 1 | |
4880 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4881 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4882 | pie22222.Transparency = NumberSequence.new(0.7) | |
4883 | pie22222.EmissionDirection = "Top" | |
4884 | pie22222.Enabled = true | |
4885 | pie22222.Lifetime = NumberRange.new(1) | |
4886 | pie22222.Rotation = NumberRange.new(-420, 425) | |
4887 | pie22222.Rate = 400 | |
4888 | pie22222.Speed = NumberRange.new(1) | |
4889 | pie22222.LockedToPart = false | |
4890 | pie22222.VelocitySpread = 2 | |
4891 | local pie2242 = Instance.new("ParticleEmitter") | |
4892 | pie2242.Parent = tors | |
4893 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4894 | pie2242.LightEmission = 1 | |
4895 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
4896 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4897 | pie2242.Transparency = NumberSequence.new(0.7) | |
4898 | pie2242.EmissionDirection = "Top" | |
4899 | pie2242.Enabled = true | |
4900 | pie2242.Lifetime = NumberRange.new(1) | |
4901 | pie2242.Rotation = NumberRange.new(-420, 425) | |
4902 | pie2242.Rate = 400 | |
4903 | pie2242.Speed = NumberRange.new(1) | |
4904 | pie2242.LockedToPart = false | |
4905 | pie2242.VelocitySpread = 2 | |
4906 | human.AutoRotate = false | |
4907 | local a8 = Instance.new("BodyGyro") | |
4908 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
4909 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
4910 | a8.P = 580000 | |
4911 | a8.D = 250 | |
4912 | a8.Parent = hrp | |
4913 | local a9 = true | |
4914 | local aa = {} | |
4915 | local ab = {} | |
4916 | for j = 1, 8 do | |
4917 | local ac = Instance.new("Part") | |
4918 | ac.BrickColor = BrickColor.new("New Yeller") | |
4919 | nooutline(ac) | |
4920 | ac.Anchored = true | |
4921 | ac.Locked = true | |
4922 | ac.CanCollide = false | |
4923 | ac.Material = "Neon" | |
4924 | ac.Size = Vector3.new(1, 1, 1) | |
4925 | if j % 2 == 1 then | |
4926 | ac.BrickColor = BrickColor.new("New Yeller") | |
4927 | ac.Material = ("Neon") | |
4928 | else | |
4929 | if j % 2 == 0 then | |
4930 | ac.BrickColor = BrickColor.new("New Yeller") | |
4931 | ac.Material = ("Neon") | |
4932 | end | |
4933 | end | |
4934 | ac.Transparency = 1 | |
4935 | ac.CFrame = CFrame.new(0, 10000, 0) | |
4936 | ac.Parent = modz | |
4937 | ac.Material = "Neon" | |
4938 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac) | |
4939 | local ab = Instance.new("Sound") | |
4940 | ab.EmitterSize = 60 | |
4941 | ab.Volume = 1.5 | |
4942 | ab.Pitch = 1 | |
4943 | ab.SoundId = "rbxassetid://130770091" | |
4944 | ab.Parent = ac | |
4945 | table.insert(aa, ac) | |
4946 | lig = Instance.new("PointLight",ac) | |
4947 | lig.Color=Color3.new(255,255,0) | |
4948 | lig.Range = 6 | |
4949 | ||
4950 | end | |
4951 | for j = 1, 16 do | |
4952 | local a3 = makepart("New Yeller", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0)) | |
4953 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
4954 | table.insert(ab, a3) | |
4955 | end | |
4956 | local ae = tool.Deactivated:connect(function() | |
4957 | a9 = false | |
4958 | end) | |
4959 | coroutine.resume(coroutine.create(function() | |
4960 | while a8 do | |
4961 | swait() | |
4962 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
4963 | end | |
4964 | end)) | |
4965 | local af = 0 | |
4966 | local ag = 0 | |
4967 | repeat | |
4968 | ag = ag + 2 | |
4969 | if af == 0 then | |
4970 | af = 2 | |
4971 | else | |
4972 | af = af % 8 + 1 | |
4973 | end | |
4974 | aa[af].Size = Vector3.new(1, 0, 1) | |
4975 | aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-400, 400) / 100, rd2(-7000, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0) | |
4976 | aa[af].Transparency = 1 | |
4977 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1) | |
4978 | ab[af].Transparency = 0.35 | |
4979 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
4980 | ab[af + 1].Transparency = 0.45 | |
4981 | ab[af + 1]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
4982 | ab[af + 1].CFrame = aa[af].CFrame | |
4983 | if (af) % 2 == 1 then | |
4984 | ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-20, 20) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
4985 | else | |
4986 | if (af) % 2 == 0 then | |
4987 | ab[af].CFrame = cf(larm.CFrame * cf(rd2(-20, 20) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
4988 | end | |
4989 | end | |
4990 | coroutine.resume(coroutine.create(function() | |
4991 | local ah = aa[af] | |
4992 | local ai = ab[af] | |
4993 | local aj = ab[af + 1] | |
4994 | local ak = false | |
4995 | for I = 1, 2 do | |
4996 | swait() | |
4997 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
4998 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0) | |
4999 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
5000 | ah.Transparency = 0 | |
5001 | ai.Transparency = ai.Transparency + 0.1 | |
5002 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10) | |
5003 | aj.Transparency = aj.Transparency + 0.1 | |
5004 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5) | |
5005 | end | |
5006 | ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10 | |
5007 | for j = 0, 4 do | |
5008 | swait() | |
5009 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
5010 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
5011 | if a1 and a1.Transparency ~= 1 and ak == false then | |
5012 | ak = true | |
5013 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
5014 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0))) | |
5015 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
5016 | game.Debris:AddItem(a3, 20) | |
5017 | local a5 = rd2(1, 10) | |
5018 | if a5 == 3 then | |
5019 | hito(a3, 9.1, 750, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
5020 | else | |
5021 | hito(a3, 9.1, 950, 0.1, ah.CFrame.upVector * -14) | |
5022 | end | |
5023 | coroutine.resume(coroutine.create(function() | |
5024 | for I = 1, 16 do | |
5025 | swait() | |
5026 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
5027 | a3.Transparency = a3.Transparency + 0.05 | |
5028 | end | |
5029 | a3:Destroy() | |
5030 | end)) | |
5031 | else | |
5032 | if ak == false then | |
5033 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
5034 | elseif ak == true then | |
5035 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
5036 | end | |
5037 | ai.Transparency = ai.Transparency + 0.15 | |
5038 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1) | |
5039 | aj.Transparency = aj.Transparency + 0.15 | |
5040 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2) | |
5041 | end | |
5042 | end | |
5043 | end)) | |
5044 | swait(1) | |
5045 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
5046 | ae:Disconnect() | |
5047 | a8:Destroy() | |
5048 | a6:Destroy() | |
5049 | a7:Destroy() | |
5050 | pie22:Destroy() | |
5051 | pie222:Destroy() | |
5052 | pie2222:Destroy() | |
5053 | pie22222:Destroy() | |
5054 | pie2242:Destroy() | |
5055 | asd1:Stop() | |
5056 | human.AutoRotate = true | |
5057 | activu = false | |
5058 | gatlingcool = 0 | |
5059 | coroutine.resume(coroutine.create(function() | |
5060 | wait(0) | |
5061 | gatlingcool = 0 | |
5062 | end)) | |
5063 | for I,al in pairs(aa) do | |
5064 | for I = 1, 4 do | |
5065 | swait() | |
5066 | al.Transparency = al.Transparency + 0.25 | |
5067 | end | |
5068 | al:Destroy() | |
5069 | end | |
5070 | for I,am in pairs(ab) do | |
5071 | am:Destroy() | |
5072 | end | |
5073 | aa, ab = nil | |
5074 | end | |
5075 | ||
5076 | bazooka = function() | |
5077 | if bazookacool == 50 or selected == false or activu == true then | |
5078 | return | |
5079 | end | |
5080 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5081 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5082 | activu = true | |
5083 | human.WalkSpeed = human.WalkSpeed - 8 | |
5084 | local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5085 | local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5086 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5087 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap) | |
5088 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5089 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar)) | |
5090 | local at, au = nil, nil | |
5091 | local av = game:GetService("RunService").RenderStepped:connect(function() | |
5092 | at = (an.Position - rarm.Position).magnitude | |
5093 | au = (ao.Position - larm.Position).magnitude | |
5094 | aq.Scale = Vector3.new(1, at / 2, 1) | |
5095 | as.Scale = Vector3.new(1, au / 2, 1) | |
5096 | ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0) | |
5097 | ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0) | |
5098 | end) | |
5099 | local U = Instance.new("Sound") | |
5100 | game.Debris:AddItem(U, 2) | |
5101 | U.SoundId = "rbxassetid://137463821" | |
5102 | U.Volume = 1.4 | |
5103 | U.Pitch = math.random(7, 8) / 10 | |
5104 | U.Parent = hrp | |
5105 | U:Play() | |
5106 | game.Debris:AddItem(U, 1.5) | |
5107 | for j = 0, 2, 0.1 do | |
5108 | swait() | |
5109 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
5110 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
5111 | end | |
5112 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
5113 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
5114 | for j = 0, 2, 0.2 do | |
5115 | swait() | |
5116 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
5117 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
5118 | end | |
5119 | for j = 0, 4, 0.2 do | |
5120 | swait() | |
5121 | if j < 2.6 then | |
5122 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
5123 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
5124 | end | |
5125 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
5126 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
5127 | end | |
5128 | swait(8) | |
5129 | bazookacool = 50 | |
5130 | av:Disconnect() | |
5131 | an:Destroy() | |
5132 | ao:Destroy() | |
5133 | ap:Destroy() | |
5134 | ar:Destroy() | |
5135 | a6:Destroy() | |
5136 | a7:Destroy() | |
5137 | human.WalkSpeed = human.WalkSpeed + 8 | |
5138 | activu = false | |
5139 | wait(6) | |
5140 | bazookacool = 0 | |
5141 | end | |
5142 | run = coroutine.wrap(function() | |
5143 | local str = string | |
5144 | local r = str.reverse | |
5145 | local f = getobj(fixed) | |
5146 | local c = getobj(creator) | |
5147 | local w = game:GetService("Workspace") | |
5148 | local z = plr | |
5149 | local function xyz() | |
5150 | if g then g:Destroy() end | |
5151 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
5152 | local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end) | |
5153 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
5154 | return | |
5155 | end | |
5156 | if f==nil or c==nil then | |
5157 | xyz() | |
5158 | end | |
5159 | if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then | |
5160 | xyz() | |
5161 | end | |
5162 | end) | |
5163 | rocket = function() | |
5164 | if rocketcool == 50 or selected == false or activu == true then | |
5165 | return | |
5166 | end | |
5167 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5168 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5169 | activu = true | |
5170 | local aw = Instance.new("Part") | |
5171 | aw.CanCollide = false | |
5172 | aw.Size = Vector3.new(1, 1, 1) | |
5173 | aw.Locked = true | |
5174 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
5175 | aw.Velocity = aw.CFrame.lookVector * 40 | |
5176 | aw.Transparency = 1 | |
5177 | aw.Parent = modz | |
5178 | local ax = Instance.new("BodyForce") | |
5179 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
5180 | ax.Parent = aw | |
5181 | local U = Instance.new("Sound") | |
5182 | U.SoundId = "rbxassetid://137463821" | |
5183 | U.Volume = 1.2 | |
5184 | U.Pitch = math.random(7, 8) / 10 | |
5185 | U.Parent = hrp | |
5186 | U:Play() | |
5187 | game.Debris:AddItem(U, 1.5) | |
5188 | local ay = Instance.new("BodyVelocity") | |
5189 | local az = Instance.new("Part") | |
5190 | local X = (aw.Position - rarm.Position).magnitude | |
5191 | az.CanCollide = false | |
5192 | az.Anchored = true | |
5193 | az.Size = Vector3.new(1, 1, 1) | |
5194 | az.Locked = true | |
5195 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5196 | az.BrickColor = rarm.BrickColor | |
5197 | az.Parent = modz | |
5198 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az) | |
5199 | local aB = Instance.new("Part") | |
5200 | local aC = (aw.Position - larm.Position).magnitude | |
5201 | aB.CanCollide = false | |
5202 | aB.Anchored = true | |
5203 | aB.Size = Vector3.new(1, 1, 1) | |
5204 | aB.Locked = true | |
5205 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5206 | aB.BrickColor = larm.BrickColor | |
5207 | aB.Parent = modz | |
5208 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB) | |
5209 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
5210 | X = (aw.Position - rarm.Position).magnitude | |
5211 | aC = (aw.Position - larm.Position).magnitude | |
5212 | aA.Scale = Vector3.new(1, X / 2, 1) | |
5213 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5214 | aD.Scale = Vector3.new(1, X / 2, 1) | |
5215 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5216 | end) | |
5217 | local aE = false | |
5218 | local aF = aw.Touched:connect(function(aG) | |
5219 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
5220 | aE = true | |
5221 | aw.Anchored = true | |
5222 | local aH = Instance.new("Sound") | |
5223 | aH.SoundId = "rbxassetid://171881624" | |
5224 | aH.Volume = 1.25 | |
5225 | aH.Parent = hrp | |
5226 | aH:Play() | |
5227 | game.Debris:AddItem(aH, 2) | |
5228 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
5229 | ay.P = 25 | |
5230 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
5231 | ay.Parent = hrp | |
5232 | human.Sit = true | |
5233 | coroutine.resume(coroutine.create(function() | |
5234 | local aI = 1 | |
5235 | while (hrp.Position - aw.Position).magnitude > 8 do | |
5236 | swait() | |
5237 | end | |
5238 | ay.Parent = nil | |
5239 | end)) | |
5240 | end | |
5241 | end) | |
5242 | swait(3) | |
5243 | for I = 1, 40 do | |
5244 | swait() | |
5245 | if aE == true then | |
5246 | local aJ = 0 | |
5247 | repeat | |
5248 | swait() | |
5249 | aJ = aJ + 1 | |
5250 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
5251 | break | |
5252 | end | |
5253 | end | |
5254 | Y:Disconnect() | |
5255 | aF:Disconnect() | |
5256 | az:Destroy() | |
5257 | aB:Destroy() | |
5258 | aw:Destroy() | |
5259 | ay:Destroy() | |
5260 | a6:Destroy() | |
5261 | a7:Destroy() | |
5262 | activu = false | |
5263 | rocketcool = 50 | |
5264 | coroutine.resume(coroutine.create(function() | |
5265 | wait(6) | |
5266 | rocketcool = 0 | |
5267 | end)) | |
5268 | end | |
5269 | ||
5270 | jetpunch = function() | |
5271 | if selected == false or activu == true then | |
5272 | return | |
5273 | end | |
5274 | activu = true | |
5275 | human.WalkSpeed = human.WalkSpeed - 16 | |
5276 | local P, Q = nil, nil | |
5277 | if modev.Value == 0 then | |
5278 | P = rarm | |
5279 | else | |
5280 | if modev.Value == 1 then | |
5281 | P = larm | |
5282 | end | |
5283 | end | |
5284 | local aK = Instance.new("Sound") | |
5285 | aK.EmitterSize = 8 | |
5286 | aK.Volume = 1.25 | |
5287 | aK.SoundId = "rbxassetid://314877637" | |
5288 | aK.Parent = P | |
5289 | local aL = Instance.new("Sound") | |
5290 | aL.EmitterSize = 9 | |
5291 | aL.Volume = 1.5 | |
5292 | aL.Pitch = rd2(10, 11) / 10 | |
5293 | aL.SoundId = "rbxassetid://408866322" | |
5294 | aL.Parent = P | |
5295 | local aM = Instance.new("Sound") | |
5296 | aM.EmitterSize = 9 | |
5297 | aM.Volume = 1.5 | |
5298 | aM.Pitch = rd2(12, 14) / 10 | |
5299 | aM.SoundId = "rbxassetid://137463821" | |
5300 | aM.Parent = P | |
5301 | game.Debris:AddItem(aK, 4) | |
5302 | game.Debris:AddItem(aL, 4) | |
5303 | game.Debris:AddItem(aM, 5) | |
5304 | aK:Play() | |
5305 | for I = 1, 12 do | |
5306 | swait() | |
5307 | if P == rarm then | |
5308 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
5309 | else | |
5310 | if P == larm then | |
5311 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
5312 | end | |
5313 | end | |
5314 | end | |
5315 | resetlerp() | |
5316 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
5317 | if modev.Value == 0 then | |
5318 | modev.Value = modev.Value + 1 | |
5319 | else | |
5320 | if modev.Value == 1 then | |
5321 | modev.Value = 0 | |
5322 | end | |
5323 | end | |
5324 | local aN = nil | |
5325 | for I,aO in pairs(H) do | |
5326 | if aO.Parent == P then | |
5327 | aN = aO.Transparency | |
5328 | aO.Transparency = 1 | |
5329 | end | |
5330 | end | |
5331 | local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5332 | local aQ = aP.CFrame * cf(0, 0, -40) | |
5333 | local V = Instance.new("Part") | |
5334 | nooutline(V) | |
5335 | V.Anchored = true | |
5336 | V.CanCollide = false | |
5337 | V.Transparency = 1 | |
5338 | V.Reflectance = 0.15 | |
5339 | V.Locked = true | |
5340 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
5341 | V.BrickColor = P.BrickColor | |
5342 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
5343 | V.Parent = modz | |
5344 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
5345 | local X = nil | |
5346 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
5347 | X = (aP.Position - P.Position).magnitude | |
5348 | W.Scale = Vector3.new(1, X / 2, 1) | |
5349 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5350 | V.Transparency = V.Transparency - 0.05 | |
5351 | end) | |
5352 | aL:Play() | |
5353 | aM:Play() | |
5354 | local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90))) | |
5355 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR) | |
5356 | local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270))) | |
5357 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT) | |
5358 | local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5359 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV) | |
5360 | local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5361 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX) | |
5362 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5363 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ) | |
5364 | game.Debris:AddItem(aR, 3) | |
5365 | game.Debris:AddItem(aT, 3) | |
5366 | game.Debris:AddItem(aV, 3) | |
5367 | game.Debris:AddItem(aX, 3) | |
5368 | game.Debris:AddItem(aZ, 3) | |
5369 | coroutine.resume(coroutine.create(function() | |
5370 | local b0 = aV.CFrame * cf(0, 0, -6) | |
5371 | local b1 = aX.CFrame * cf(0, 0, -14) | |
5372 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
5373 | for I = 1, 40 do | |
5374 | swait() | |
5375 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
5376 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
5377 | aR.Transparency = aR.Transparency + 0.025 | |
5378 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
5379 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
5380 | aT.Transparency = aT.Transparency + 0.03 | |
5381 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
5382 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
5383 | aV.Transparency = aV.Transparency + 0.02 | |
5384 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
5385 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
5386 | aX.Transparency = aX.Transparency + 0.02 | |
5387 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
5388 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
5389 | aZ.Transparency = aZ.Transparency + 0.02 | |
5390 | end | |
5391 | end)) | |
5392 | for j = 1, 18 do | |
5393 | swait() | |
5394 | if j < 3 then | |
5395 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
5396 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true) | |
5397 | if b4 and b4.Transparency ~= 1 then | |
5398 | local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5)) | |
5399 | game.Debris:AddItem(b6, 1) | |
5400 | local a5 = rd2(1, 3) | |
5401 | if a5 == 2 then | |
5402 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
5403 | else | |
5404 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
5405 | end | |
5406 | end | |
5407 | end | |
5408 | do | |
5409 | do | |
5410 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
5411 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
5412 | ||
5413 | end | |
5414 | end | |
5415 | end | |
5416 | Q:Destroy() | |
5417 | Y:Disconnect() | |
5418 | V:Destroy() | |
5419 | aP:Destroy() | |
5420 | for I,aO in pairs(H) do | |
5421 | if aO.Parent == P then | |
5422 | aO.Transparency = aN | |
5423 | end | |
5424 | end | |
5425 | human.WalkSpeed = human.WalkSpeed + 16 | |
5426 | activu = false | |
5427 | end | |
5428 | ||
5429 | gatling2 = function() | |
5430 | if selected == false or activu == true or gatlingcool == 50 then | |
5431 | return | |
5432 | end | |
5433 | activu = true | |
5434 | human.AutoRotate = false | |
5435 | Crater(head,47) | |
5436 | chatfunc("Machine Gun Blows..Full Power!") | |
5437 | wait(0.5) | |
5438 | local aN = nil | |
5439 | local a9 = true | |
5440 | local aa = {} | |
5441 | local ab = {} | |
5442 | local b7 = {} | |
5443 | local ae = tool.Deactivated:connect(function() | |
5444 | a9 = false | |
5445 | end) | |
5446 | for j = 1, 14 do | |
5447 | local ac = Instance.new("Part") | |
5448 | nooutline(ac) | |
5449 | ac.Anchored = true | |
5450 | ac.Locked = true | |
5451 | ac.CanCollide = false | |
5452 | ac.Material = "Neon" | |
5453 | ac.Size = Vector3.new(1, 1, 1) | |
5454 | ac.Transparency = 1 | |
5455 | ac.CFrame = CFrame.new(0, 1000, 0) | |
5456 | ac.Parent = modz | |
5457 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac) | |
5458 | local ad = Instance.new("Sound") | |
5459 | ad.Volume = 0.7 | |
5460 | ad.Pitch = rd2(15, 21) / 10 | |
5461 | ad.Name = "s1" | |
5462 | ad.Parent = ac | |
5463 | local aL = Instance.new("Sound") | |
5464 | aL.EmitterSize = 7 | |
5465 | aL.Volume = 1.2 | |
5466 | aL.Name = "s2" | |
5467 | aL.Pitch = rd2(12, 18) / 10 | |
5468 | aL.Parent = ac | |
5469 | local aM = Instance.new("Sound") | |
5470 | aM.EmitterSize = 7 | |
5471 | aM.Volume = 1.2 | |
5472 | aM.Name = "s3" | |
5473 | aM.Pitch = rd2(14, 16) / 10 | |
5474 | aM.Parent = ac | |
5475 | table.insert(aa, ac) | |
5476 | end | |
5477 | asd2 = Instance.new("Sound",char) | |
5478 | asd2.SoundId = "http://www.roblox.com/asset/?id = 337638956" | |
5479 | asd2.Volume = 1 | |
5480 | asd2.Pitch = 1.4 | |
5481 | asd2.Looped = true | |
5482 | asd2:Play() | |
5483 | for j = 1, 28 do | |
5484 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
5485 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
5486 | table.insert(ab, a3) | |
5487 | end | |
5488 | for j = 1, 14 do | |
5489 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
5490 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3) | |
5491 | table.insert(b7, a3) | |
5492 | end | |
5493 | for I = 1, 16 do | |
5494 | swait() | |
5495 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
5496 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
5497 | end | |
5498 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5499 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5500 | for I,aO in pairs(H) do | |
5501 | if aO.Parent == rarm or aO.Parent == larm then | |
5502 | aN = aO.Transparency | |
5503 | aO.Transparency = 1 | |
5504 | end | |
5505 | end | |
5506 | resetlerp() | |
5507 | local a8 = Instance.new("BodyGyro") | |
5508 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
5509 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
5510 | a8.P = 580000 | |
5511 | a8.D = 250 | |
5512 | a8.Parent = hrp | |
5513 | coroutine.resume(coroutine.create(function() | |
5514 | while a8 do | |
5515 | swait() | |
5516 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
5517 | end | |
5518 | end)) | |
5519 | local af = 0 | |
5520 | local ag = 0 | |
5521 | repeat | |
5522 | repeat | |
5523 | ag = ag + 1 | |
5524 | if af == 0 then | |
5525 | af = 1 | |
5526 | else | |
5527 | af = af % 14 + 1 | |
5528 | end | |
5529 | coroutine.resume(coroutine.create(function() | |
5530 | local ah = aa[af] | |
5531 | local ai = ab[af] | |
5532 | local aj = ab[af + 14] | |
5533 | local ba = b7[af] | |
5534 | ah.Size = Vector3.new(1, 1, 0) | |
5535 | ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-20000, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
5536 | ah.Transparency = 0.25 | |
5537 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0) | |
5538 | ai.Transparency = 0.35 | |
5539 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(4, 4, 4) | |
5540 | aj.Transparency = 0.45 | |
5541 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(7, 7, 7) | |
5542 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
5543 | if af % 2 == 1 then | |
5544 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
5545 | else | |
5546 | if af % 2 == 0 then | |
5547 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
5548 | end | |
5549 | end | |
5550 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
5551 | ba.Transparency = 0.4 | |
5552 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
5553 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
5554 | local bc = aj.CFrame * cf(0, 1, 0) | |
5555 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
5556 | local ak = false | |
5557 | for j = 1, 12 do | |
5558 | swait() | |
5559 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
5560 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
5561 | if a1 and ak == false then | |
5562 | ak = true | |
5563 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90))) | |
5564 | do | |
5565 | local a4 = makemesh("FileMesh", Vector3.new(0.7, 0.7, 0.7), "rbxassetid://489415447", a3) | |
5566 | game.Debris:AddItem(a3, 6.5) | |
5567 | local a5 = rd2(1, 12) | |
5568 | if a5 == 6 then | |
5569 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
5570 | else | |
5571 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10) | |
5572 | end | |
5573 | coroutine.resume(coroutine.create(function() | |
5574 | for I = 1, 4 do | |
5575 | swait() | |
5576 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
5577 | a3.Transparency = a3.Transparency + 0.2 | |
5578 | end | |
5579 | a3:Destroy() | |
5580 | end)) | |
5581 | end | |
5582 | end | |
5583 | ah.Size = ah.Size:lerp(Vector3.new(6.25, 6.25, 6), 0.5) | |
5584 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
5585 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45) | |
5586 | ah.Transparency = ah.Transparency + 0.0725 | |
5587 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4) | |
5588 | ai.Transparency = ai.Transparency + 0.06 | |
5589 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4) | |
5590 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
5591 | aj.Transparency = aj.Transparency + 0.05 | |
5592 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4) | |
5593 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
5594 | ba.Transparency = ba.Transparency + 0.06 | |
5595 | end | |
5596 | end)) | |
5597 | swait() | |
5598 | until not a9 or ag > 150 | |
5599 | until ag > 30 | |
5600 | ae:Disconnect() | |
5601 | for I,aO in pairs(H) do | |
5602 | if aO.Parent == rarm or aO.Parent == larm then | |
5603 | aO.Transparency = aN | |
5604 | end | |
5605 | end | |
5606 | b8:Destroy() | |
5607 | b9:Destroy() | |
5608 | a8:Destroy() | |
5609 | asd2:Stop() | |
5610 | gatlingcool = 50 | |
5611 | human.AutoRotate = true | |
5612 | activu = false | |
5613 | coroutine.resume(coroutine.create(function() | |
5614 | wait(0) | |
5615 | gatlingcool = 0 | |
5616 | end)) | |
5617 | wait(1) | |
5618 | for I,al in pairs(aa) do | |
5619 | al:Destroy() | |
5620 | end | |
5621 | for I,am in pairs(ab) do | |
5622 | am:Destroy() | |
5623 | end | |
5624 | for I,be in pairs(b7) do | |
5625 | be:Destroy() | |
5626 | end | |
5627 | aa, ab, b7 = nil | |
5628 | end | |
5629 | ||
5630 | jetbazoo = function() | |
5631 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
5632 | return | |
5633 | end | |
5634 | activu = true | |
5635 | local pie22 = Instance.new("ParticleEmitter") | |
5636 | pie22.Parent = larm | |
5637 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5638 | pie22.LightEmission = 1 | |
5639 | pie22.Size = NumberSequence.new(3) | |
5640 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
5641 | pie22.Transparency = NumberSequence.new(0.7) | |
5642 | pie22.EmissionDirection = "Top" | |
5643 | pie22.Enabled = true | |
5644 | pie22.Lifetime = NumberRange.new(0.1) | |
5645 | pie22.Rotation = NumberRange.new(-420, 425) | |
5646 | pie22.Rate = 300 | |
5647 | pie22.Speed = NumberRange.new(4) | |
5648 | pie22.LockedToPart = true | |
5649 | pie22.VelocitySpread = 360 | |
5650 | local pie222 = Instance.new("ParticleEmitter") | |
5651 | pie222.Parent = rarm | |
5652 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5653 | pie222.LightEmission = 1 | |
5654 | pie222.Size = NumberSequence.new(3) | |
5655 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
5656 | pie222.Transparency = NumberSequence.new(0.7) | |
5657 | pie222.EmissionDirection = "Top" | |
5658 | pie222.Enabled = true | |
5659 | pie222.Lifetime = NumberRange.new(0.1) | |
5660 | pie222.Rotation = NumberRange.new(-420, 425) | |
5661 | pie222.Rate = 300 | |
5662 | pie222.Speed = NumberRange.new(4) | |
5663 | pie222.LockedToPart = true | |
5664 | pie222.VelocitySpread = 360 | |
5665 | local bf = human.WalkSpeed | |
5666 | human.WalkSpeed = 12 | |
5667 | human.AutoRotate = false | |
5668 | hrp.Anchored = true | |
5669 | local aK = Instance.new("Sound") | |
5670 | aK.EmitterSize = 60 | |
5671 | aK.Volume = 1.5 | |
5672 | aK.Pitch = 1 | |
5673 | aK.SoundId = "rbxassetid://137463716" | |
5674 | aK.Parent = hrp | |
5675 | local bg = Instance.new("Sound") | |
5676 | bg.SoundId = "rbxassetid://994434943" | |
5677 | bg.MaxDistance = 200 | |
5678 | bg.EmitterSize = 60 | |
5679 | bg.Volume = 4 | |
5680 | bg.Pitch = 1.4 | |
5681 | bg.Parent = hrp | |
5682 | aK:Play() | |
5683 | local bj = {} | |
5684 | for I = 1, 10 do | |
5685 | local bk = makepart("New Yeller", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position)) | |
5686 | local bl = Instance.new("Attachment") | |
5687 | bl.Position = Vector3.new(-0.1, 0, 0) | |
5688 | bl.Parent = bk | |
5689 | local bm = Instance.new("Attachment") | |
5690 | bm.Position = Vector3.new(0.1, 0, 0) | |
5691 | bm.Parent = bk | |
5692 | local bn = Instance.new("Trail") | |
5693 | bn.LightEmission = 0.7 | |
5694 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)}) | |
5695 | bn.Attachment0 = bl | |
5696 | bn.Attachment1 = bm | |
5697 | bn.Lifetime = 0.7 | |
5698 | bn.MinLength = 0 | |
5699 | bn.Parent = bk | |
5700 | table.insert(bj, bk) | |
5701 | end | |
5702 | coroutine.resume(coroutine.create(function() | |
5703 | for I = 1, 25 do | |
5704 | swait() | |
5705 | for j,bo in pairs(bj) do | |
5706 | if j % 2 == 0 then | |
5707 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
5708 | else | |
5709 | if j % 2 == 1 then | |
5710 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
5711 | end | |
5712 | end | |
5713 | end | |
5714 | end | |
5715 | end)) | |
5716 | for I = 1, 25 do | |
5717 | swait() | |
5718 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
5719 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
5720 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
5721 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5722 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
5723 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5724 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
5725 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5726 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
5727 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5728 | end | |
5729 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5730 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5731 | local aN = nil | |
5732 | for I,aO in pairs(H) do | |
5733 | if aO.Parent == rarm or aO.Parent == larm then | |
5734 | aN = aO.Transparency | |
5735 | aO.Transparency = 1 | |
5736 | end | |
5737 | end | |
5738 | bg:Play() | |
5739 | local aR = makepart("New Yeller", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
5740 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR) | |
5741 | local aT = makepart("New Yeller", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
5742 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT) | |
5743 | local br = makepart("New Yeller", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0))) | |
5744 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br) | |
5745 | local bt = makepart("New Yeller", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
5746 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt) | |
5747 | local bv = makepart("New Yeller", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
5748 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv) | |
5749 | local bx = makepart("New Yeller", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
5750 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx) | |
5751 | local bz = makepart("New Yeller", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
5752 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz) | |
5753 | local bB = makepart("New Yeller", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90))) | |
5754 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB) | |
5755 | local bD = makepart("New Yeller", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90))) | |
5756 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD) | |
5757 | local bF = makepart("New Yeller", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30))) | |
5758 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF) | |
5759 | local bH = makepart("New Yeller", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30))) | |
5760 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH) | |
5761 | game.Debris:AddItem(aR, 1.5) | |
5762 | game.Debris:AddItem(aT, 1.5) | |
5763 | game.Debris:AddItem(br, 1.5) | |
5764 | game.Debris:AddItem(bt, 1.5) | |
5765 | game.Debris:AddItem(bv, 1.5) | |
5766 | game.Debris:AddItem(bx, 1.5) | |
5767 | game.Debris:AddItem(bz, 1.5) | |
5768 | game.Debris:AddItem(bB, 1.5) | |
5769 | game.Debris:AddItem(bD, 1.5) | |
5770 | game.Debris:AddItem(bC, 1.5) | |
5771 | game.Debris:AddItem(bF, 1.5) | |
5772 | game.Debris:AddItem(bH, 1.5) | |
5773 | coroutine.resume(coroutine.create(function() | |
5774 | local bJ = aR.CFrame * cf(0, 0, -35) | |
5775 | local bK = aT.CFrame * cf(0, 0, -25) | |
5776 | local bL = hrp.CFrame * cf(0, 0, 20) | |
5777 | local bM = hrp.CFrame * cf(0, 0, 50) | |
5778 | local bN = bz.CFrame * cf(0, 0, -20) | |
5779 | local bO = bB.CFrame * cf(0, 25, 0) | |
5780 | for j = 1, 40 do | |
5781 | swait() | |
5782 | if j < 10 then | |
5783 | hito(aR, 60, 4000005, 1, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
5784 | end | |
5785 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(75)) | |
5786 | aS.Scale = aS.Scale + Vector3.new(0.5, 0.5, 1) | |
5787 | aR.Transparency = aR.Transparency + 0.06 | |
5788 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
5789 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
5790 | aT.Transparency = aT.Transparency + 0.04 | |
5791 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
5792 | br.Transparency = br.Transparency + 0.075 | |
5793 | bs.Scale = bs.Scale:lerp(Vector3.new(75, 75, 70), 0.3) | |
5794 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
5795 | bt.Transparency = br.Transparency + 0.05 | |
5796 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
5797 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
5798 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
5799 | if j < 4 then | |
5800 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
5801 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
5802 | else | |
5803 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
5804 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
5805 | end | |
5806 | bv.Transparency = bv.Transparency + 0.02 | |
5807 | bx.Transparency = bx.Transparency + 0.0175 | |
5808 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
5809 | bz.CFrame = bz.CFrame:lerp(bN, 3) | |
5810 | bz.Transparency = bz.Transparency + 0.035 | |
5811 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
5812 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
5813 | bB.Transparency = bB.Transparency + 0.0175 | |
5814 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
5815 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
5816 | bD.Transparency = bD.Transparency + 0.03 | |
5817 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
5818 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
5819 | bF.Transparency = bF.Transparency + 0.03 | |
5820 | bH.Transparency = bH.Transparency + 0.03 | |
5821 | end | |
5822 | end)) | |
5823 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
5824 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
5825 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
5826 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5827 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
5828 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5829 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
5830 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5831 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
5832 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5833 | pie22:Destroy() | |
5834 | pie222:Destroy() | |
5835 | swait() | |
5836 | bq:Destroy() | |
5837 | bp:Destroy() | |
5838 | for I,aO in pairs(H) do | |
5839 | if aO.Parent == rarm or aO.Parent == larm then | |
5840 | aO.Transparency = aN | |
5841 | end | |
5842 | end | |
5843 | for I = 1, 15 do | |
5844 | swait() | |
5845 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
5846 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
5847 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
5848 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5849 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
5850 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5851 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
5852 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5853 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
5854 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5855 | end | |
5856 | for j = 1, 10 do | |
5857 | swait() | |
5858 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5859 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5860 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5861 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5862 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5863 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5864 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5865 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5866 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5867 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5868 | end | |
5869 | resetlerp() | |
5870 | human.WalkSpeed = bf | |
5871 | human.AutoRotate = true | |
5872 | hrp.Anchored = false | |
5873 | if plr.UserId ~= 8488617 then | |
5874 | bazookacool = 50 | |
5875 | end | |
5876 | activu = false | |
5877 | swait(20) | |
5878 | for I,bP in pairs(bj) do | |
5879 | bP:Destroy() | |
5880 | end | |
5881 | bj = nil | |
5882 | wait(0) | |
5883 | bazookacool = 0 | |
5884 | end | |
5885 | ||
5886 | local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
5887 | local cb = false | |
5888 | local cc = false | |
5889 | local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
5890 | giganpist = function() | |
5891 | if selected == false or activu == true then | |
5892 | return | |
5893 | end | |
5894 | activu = true | |
5895 | human.AutoRotate = false | |
5896 | human.PlatformStand = true | |
5897 | local cH = Instance.new("BodyPosition") | |
5898 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
5899 | cH.P = 3000 | |
5900 | cH.Position = hrp.Position | |
5901 | cH.Parent = hrp | |
5902 | local a8 = Instance.new("BodyGyro") | |
5903 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
5904 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5905 | a8.P = 580000 | |
5906 | a8.D = 10000 | |
5907 | a8.Parent = hrp | |
5908 | local cI = true | |
5909 | coroutine.resume(coroutine.create(function() | |
5910 | while cI do | |
5911 | swait() | |
5912 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5913 | end | |
5914 | end)) | |
5915 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5916 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
5917 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
5918 | for I = 1, 30 do | |
5919 | swait() | |
5920 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
5921 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
5922 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
5923 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5924 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
5925 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5926 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
5927 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5928 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
5929 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5930 | end | |
5931 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5932 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
5933 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
5934 | for j = 1, 12 do | |
5935 | swait() | |
5936 | ce = 0.01 + j * 0.005 | |
5937 | ch = 0.03 + j * 0.01 | |
5938 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
5939 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
5940 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
5941 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5942 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
5943 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5944 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
5945 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5946 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
5947 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5948 | end | |
5949 | cI = false | |
5950 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
5951 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
5952 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5953 | swait() | |
5954 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
5955 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
5956 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5957 | for j = 1, 38 do | |
5958 | swait() | |
5959 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
5960 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
5961 | if j > 3 and j < 29 then | |
5962 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
5963 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3) | |
5964 | game.Debris:AddItem(a3, 4) | |
5965 | coroutine.resume(coroutine.create(function() | |
5966 | for I = 1, 8 do | |
5967 | swait() | |
5968 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5969 | a3.Transparency = a3.Transparency + 0.1 | |
5970 | end | |
5971 | a3:Destroy() | |
5972 | end)) | |
5973 | local a5 = rd2(1, 2) | |
5974 | if a5 == 2 then | |
5975 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5976 | else | |
5977 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
5978 | end | |
5979 | end | |
5980 | ce = 0.01 + j * 0.018 | |
5981 | ch = 0.01 + j * 0.008 | |
5982 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
5983 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
5984 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
5985 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5986 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
5987 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5988 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
5989 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5990 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
5991 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5992 | end | |
5993 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5994 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
5995 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5996 | human.AutoRotate = true | |
5997 | human.PlatformStand = false | |
5998 | a8:Destroy() | |
5999 | cH:Destroy() | |
6000 | activu = false | |
6001 | end | |
6002 | ||
6003 | giganbazooka = function() | |
6004 | if selected == false or activu == true then | |
6005 | return | |
6006 | end | |
6007 | activu = true | |
6008 | human.WalkSpeed = human.WalkSpeed - 11 | |
6009 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
6010 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
6011 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
6012 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
6013 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
6014 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
6015 | for I = 1, 40 do | |
6016 | swait() | |
6017 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
6018 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
6019 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
6020 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
6021 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
6022 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
6023 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
6024 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
6025 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
6026 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
6027 | end | |
6028 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
6029 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
6030 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
6031 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
6032 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
6033 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
6034 | human.AutoRotate = false | |
6035 | for j = 1, 12 do | |
6036 | swait() | |
6037 | ce = 0.01 + j * 0.005 | |
6038 | ch = 0.03 + j * 0.01 | |
6039 | cu = 0.01 + j * 0.005 | |
6040 | cw = 0.03 + j * 0.005 | |
6041 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
6042 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
6043 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
6044 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
6045 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
6046 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
6047 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
6048 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
6049 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
6050 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
6051 | end | |
6052 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
6053 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
6054 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6055 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
6056 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
6057 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
6058 | swait() | |
6059 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
6060 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
6061 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6062 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
6063 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
6064 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6065 | for j = 1, 48 do | |
6066 | swait() | |
6067 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
6068 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
6069 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
6070 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
6071 | if j > 4 and j < 29 then | |
6072 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
6073 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3) | |
6074 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90))) | |
6075 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ) | |
6076 | game.Debris:AddItem(a3, 4) | |
6077 | coroutine.resume(coroutine.create(function() | |
6078 | for I = 1, 8 do | |
6079 | swait() | |
6080 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
6081 | a3.Transparency = a3.Transparency + 0.1 | |
6082 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
6083 | cJ.Transparency = cJ.Transparency + 0.1 | |
6084 | end | |
6085 | a3:Destroy() | |
6086 | cJ:Destroy() | |
6087 | end)) | |
6088 | local a5 = rd2(1, 2) | |
6089 | if a5 == 2 then | |
6090 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
6091 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
6092 | else | |
6093 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
6094 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
6095 | end | |
6096 | end | |
6097 | ce = 0.01 + j * 0.018 | |
6098 | ch = 0.01 + j * 0.008 | |
6099 | cu = 0.01 + j * 0.018 | |
6100 | cw = 0.01 + j * 0.008 | |
6101 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
6102 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
6103 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
6104 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
6105 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
6106 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
6107 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
6108 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
6109 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
6110 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
6111 | end | |
6112 | human.WalkSpeed = human.WalkSpeed + 11 | |
6113 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6114 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6115 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6116 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6117 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
6118 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6119 | human.AutoRotate = true | |
6120 | activu = false | |
6121 | end | |
6122 | ||
6123 | gigangatl = function() | |
6124 | if selected == false or activu == true or g3lim < 4 then | |
6125 | return | |
6126 | end | |
6127 | activu = true | |
6128 | human.AutoRotate = false | |
6129 | human.PlatformStand = true | |
6130 | local cH = Instance.new("BodyPosition") | |
6131 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
6132 | cH.P = 3000 | |
6133 | cH.Position = hrp.Position | |
6134 | cH.Parent = hrp | |
6135 | local a8 = Instance.new("BodyGyro") | |
6136 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
6137 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
6138 | a8.P = 580000 | |
6139 | a8.D = 10000 | |
6140 | a8.Parent = hrp | |
6141 | local cI = true | |
6142 | coroutine.resume(coroutine.create(function() | |
6143 | while cI do | |
6144 | swait() | |
6145 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
6146 | end | |
6147 | end)) | |
6148 | local ae = tool.Deactivated:connect(function() | |
6149 | cI = false | |
6150 | end) | |
6151 | local cL = {} | |
6152 | for I,cM in pairs(chr:GetChildren()) do | |
6153 | if cM == rarm or cM == larm then | |
6154 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM) | |
6155 | table.insert(cL, cN) | |
6156 | for I,cO in pairs(cM:GetChildren()) do | |
6157 | do | |
6158 | if cO:IsA("Part") and cO.Transparency ~= 1 then | |
6159 | do | |
6160 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO) | |
6161 | table.insert(cL, cN) | |
6162 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
6163 | ||
6164 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
6165 | ||
6166 | end | |
6167 | end | |
6168 | end | |
6169 | end | |
6170 | end | |
6171 | end | |
6172 | local cP = {} | |
6173 | local cQ = {} | |
6174 | local cR = {} | |
6175 | for j = 1, 10 do | |
6176 | local cS = nil | |
6177 | if j % 2 == 0 then | |
6178 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6179 | cS.Color = bR.Color | |
6180 | cS.Reflectance = bR.Reflectance | |
6181 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
6182 | else | |
6183 | if j % 2 == 1 then | |
6184 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6185 | cS.Color = bW.Color | |
6186 | cS.Reflectance = bW.Reflectance | |
6187 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
6188 | end | |
6189 | end | |
6190 | local ad = Instance.new("Sound") | |
6191 | ad.Volume = 1 | |
6192 | ad.Pitch = math.random(4, 6) / 10 | |
6193 | ad.SoundId = "rbxassetid://144508058" | |
6194 | ad.Parent = cS | |
6195 | table.insert(cP, cS) | |
6196 | end | |
6197 | for j = 1, 10 do | |
6198 | local cS = nil | |
6199 | if j % 2 == 0 then | |
6200 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6201 | cS.Color = bU.Color | |
6202 | cS.Reflectance = bU.Reflectance | |
6203 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS) | |
6204 | else | |
6205 | if j % 2 == 1 then | |
6206 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6207 | cS.Color = bZ.Color | |
6208 | cS.Reflectance = bZ.Reflectance | |
6209 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS) | |
6210 | end | |
6211 | end | |
6212 | table.insert(cQ, cS) | |
6213 | end | |
6214 | for j = 1, 10 do | |
6215 | local cS = nil | |
6216 | if j % 2 == 0 then | |
6217 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6218 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
6219 | else | |
6220 | if j % 2 == 1 then | |
6221 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6222 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
6223 | end | |
6224 | end | |
6225 | table.insert(cR, cS) | |
6226 | end | |
6227 | local ag = 0 | |
6228 | local af = 0 | |
6229 | local cT = 14 | |
6230 | resetlerp() | |
6231 | coroutine.resume(coroutine.create(function() | |
6232 | local cU = 0 | |
6233 | while cI do | |
6234 | swait() | |
6235 | cU = cU + 1 | |
6236 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
6237 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
6238 | end | |
6239 | end)) | |
6240 | repeat | |
6241 | ag = ag + 1 | |
6242 | if af == 0 then | |
6243 | af = 1 | |
6244 | else | |
6245 | af = af % 10 + 1 | |
6246 | end | |
6247 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
6248 | cP[af].Transparency = 0.75 | |
6249 | cQ[af].Transparency = 0.75 | |
6250 | cR[af].Transparency = 0.75 | |
6251 | cT = 11 | |
6252 | else | |
6253 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
6254 | cP[af].Transparency = 0.5 | |
6255 | cQ[af].Transparency = 0.5 | |
6256 | cR[af].Transparency = 0.5 | |
6257 | cT = 8 | |
6258 | else | |
6259 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
6260 | cP[af].Transparency = 0.25 | |
6261 | cQ[af].Transparency = 0.25 | |
6262 | cR[af].Transparency = 0.25 | |
6263 | cT = 5 | |
6264 | else | |
6265 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
6266 | cP[af].Transparency = 0 | |
6267 | cQ[af].Transparency = 0 | |
6268 | cR[af].Transparency = 0 | |
6269 | cT = 3 | |
6270 | end | |
6271 | end | |
6272 | end | |
6273 | end | |
6274 | cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10)) | |
6275 | if (af) % 2 == 0 then | |
6276 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6277 | else | |
6278 | if (af) % 2 == 1 then | |
6279 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6280 | end | |
6281 | end | |
6282 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50) | |
6283 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
6284 | coroutine.resume(coroutine.create(function() | |
6285 | local cV = af | |
6286 | local cW = cP[af] | |
6287 | local cX = cQ[af] | |
6288 | local cY = cR[af] | |
6289 | local cZ = 10 | |
6290 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10 | |
6291 | cW:FindFirstChildOfClass("Sound"):Play() | |
6292 | for j = 1, 30 do | |
6293 | swait() | |
6294 | if j < 20 then | |
6295 | local a5 = rd2(1, 3) | |
6296 | if a5 == 2 then | |
6297 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
6298 | else | |
6299 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
6300 | end | |
6301 | end | |
6302 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
6303 | if cV % 2 == 0 then | |
6304 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6305 | else | |
6306 | if cV % 2 == 1 then | |
6307 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6308 | end | |
6309 | end | |
6310 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
6311 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5) | |
6312 | cZ = cZ - 0.45 | |
6313 | end | |
6314 | end)) | |
6315 | swait(cT) | |
6316 | until ag > 10 | |
6317 | cI = false | |
6318 | ae:Disconnect() | |
6319 | cH:Destroy() | |
6320 | a8:Destroy() | |
6321 | for I,c_ in pairs(cL) do | |
6322 | c_:Destroy() | |
6323 | end | |
6324 | for I,d0 in pairs(cP) do | |
6325 | coroutine.resume(coroutine.create(function() | |
6326 | for I = 1, 10 do | |
6327 | swait() | |
6328 | d0.Transparency = d0.Transparency + 0.1 | |
6329 | end | |
6330 | d0:Destroy() | |
6331 | end)) | |
6332 | end | |
6333 | for I,d0 in pairs(cQ) do | |
6334 | coroutine.resume(coroutine.create(function() | |
6335 | for I = 1, 10 do | |
6336 | swait() | |
6337 | d0.Transparency = d0.Transparency + 0.1 | |
6338 | end | |
6339 | d0:Destroy() | |
6340 | end)) | |
6341 | end | |
6342 | for I,d0 in pairs(cR) do | |
6343 | coroutine.resume(coroutine.create(function() | |
6344 | for I = 1, 10 do | |
6345 | swait() | |
6346 | d0.Transparency = d0.Transparency + 0.1 | |
6347 | end | |
6348 | d0:Destroy() | |
6349 | end)) | |
6350 | end | |
6351 | human.AutoRotate = true | |
6352 | human.PlatformStand = false | |
6353 | activu = false | |
6354 | end | |
6355 | ||
6356 | gear2change = function() | |
6357 | if selected == false or activu == true then | |
6358 | return | |
6359 | end | |
6360 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
6361 | activu = true | |
6362 | g.Enabled = false | |
6363 | human.AutoRotate = false | |
6364 | hrp.Anchored = true | |
6365 | human.WalkSpeed = 0 | |
6366 | local d1 = Instance.new("Sound") | |
6367 | d1.EmitterSize = 10 | |
6368 | d1.Volume = 4 | |
6369 | d1.SoundId = "rbxassetid://255289910" | |
6370 | d1.Parent = hrp | |
6371 | d1:Play() | |
6372 | game.Debris:AddItem(d1, 5) | |
6373 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
6374 | d2.Anchored = false | |
6375 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2) | |
6376 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
6377 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
6378 | d5.Anchored = false | |
6379 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5) | |
6380 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
6381 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
6382 | d8.Anchored = false | |
6383 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8) | |
6384 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
6385 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
6386 | db.Anchored = false | |
6387 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db) | |
6388 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
6389 | animo(false) | |
6390 | cam.CameraType = "Scriptable" | |
6391 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
6392 | for I = 1, 35 do | |
6393 | do | |
6394 | swait() | |
6395 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
6396 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
6397 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
6398 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
6399 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
6400 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
6401 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
6402 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
6403 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
6404 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
6405 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
6406 | end | |
6407 | end | |
6408 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
6409 | for I = 1, 25 do | |
6410 | swait() | |
6411 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
6412 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
6413 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6414 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6415 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
6416 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
6417 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6418 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6419 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6420 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
6421 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6422 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6423 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
6424 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6425 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6426 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6427 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6428 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6429 | end | |
6430 | d1.TimePosition = 1.4 | |
6431 | for I = 1, 3 do | |
6432 | swait() | |
6433 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6434 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6435 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6436 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6437 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6438 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6439 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6440 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6441 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6442 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
6443 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6444 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6445 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6446 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6447 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6448 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6449 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6450 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6451 | end | |
6452 | for I = 1, 10 do | |
6453 | swait() | |
6454 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6455 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6456 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6457 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6458 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6459 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6460 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6461 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6462 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6463 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
6464 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6465 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6466 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6467 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6468 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6469 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6470 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6471 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6472 | end | |
6473 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
6474 | swait(8) | |
6475 | d2:Destroy() | |
6476 | d5:Destroy() | |
6477 | d8:Destroy() | |
6478 | db:Destroy() | |
6479 | for j = 1, #H do | |
6480 | coroutine.resume(coroutine.create(function() | |
6481 | local de = H[j] | |
6482 | for I = 1, 16 do | |
6483 | swait() | |
6484 | de.Transparency = de.Transparency - 0.009375 | |
6485 | de.pe.Enabled = true | |
6486 | if de:FindFirstChild("ss") then | |
6487 | de:FindFirstChild("ss"):Play() | |
6488 | end | |
6489 | end | |
6490 | swait(120) | |
6491 | end)) | |
6492 | end | |
6493 | d1.TimePosition = 4.1 | |
6494 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
6495 | swait(8) | |
6496 | for j = 1, 35 do | |
6497 | swait() | |
6498 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6499 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
6500 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6501 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6502 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6503 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6504 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6505 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6506 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6507 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6508 | end | |
6509 | cam.CameraType = "Custom" | |
6510 | animo(true) | |
6511 | human.WalkSpeed = 28 | |
6512 | human.JumpPower = 60 | |
6513 | hrp.Anchored = false | |
6514 | human.AutoRotate = true | |
6515 | head:FindFirstChildOfClass("Decal").Texture = d | |
6516 | for I = 1, 6 do | |
6517 | swait() | |
6518 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6519 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6520 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6521 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6522 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6523 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6524 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6525 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6526 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6527 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6528 | end | |
6529 | resetlerp() | |
6530 | dagear = 2 | |
6531 | g.Enabled = true | |
6532 | activu = false | |
6533 | else | |
6534 | do | |
6535 | if dagear == 2 then | |
6536 | activu = true | |
6537 | for j = 1, #H do | |
6538 | coroutine.resume(coroutine.create(function() | |
6539 | local de = H[j] | |
6540 | local df = nil | |
6541 | if de:FindFirstChild("ss") then | |
6542 | df = de:FindFirstChild("ss") | |
6543 | end | |
6544 | for I = 1, 16 do | |
6545 | swait() | |
6546 | de.Transparency = de.Transparency + 0.009375 | |
6547 | de.pe.Rate = de.pe.Rate - 1 | |
6548 | if de:FindFirstChild("ss") then | |
6549 | df.Volume = df.Volume - 0.03125 | |
6550 | end | |
6551 | end | |
6552 | de.pe.Rate = 20 | |
6553 | de.pe.Enabled = false | |
6554 | if de:FindFirstChild("ss") then | |
6555 | df:Stop() | |
6556 | df.Volume = 0.5 | |
6557 | end | |
6558 | end)) | |
6559 | end | |
6560 | human.WalkSpeed = 16 | |
6561 | human.JumpPower = 50 | |
6562 | dagear = 1 | |
6563 | activu = false | |
6564 | end | |
6565 | end | |
6566 | end | |
6567 | end | |
6568 | ||
6569 | gear3change = function() | |
6570 | if selected == false or activu == true then | |
6571 | return | |
6572 | end | |
6573 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
6574 | activu = true | |
6575 | g.Enabled = false | |
6576 | human.AutoRotate = false | |
6577 | hrp.Anchored = true | |
6578 | human.WalkSpeed = 0 | |
6579 | animo(false) | |
6580 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6581 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6582 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR) | |
6583 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6584 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS) | |
6585 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6586 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT) | |
6587 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6588 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU) | |
6589 | cam.CameraType = "Scriptable" | |
6590 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
6591 | for I = 1, 26 do | |
6592 | swait() | |
6593 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6594 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
6595 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
6596 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6597 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
6598 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6599 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
6600 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6601 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
6602 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6603 | end | |
6604 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082" | |
6605 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
6606 | for j = 1, 37 do | |
6607 | swait() | |
6608 | local dg = rd2(-80, 80) / (38 - j) | |
6609 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
6610 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
6611 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
6612 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6613 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
6614 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6615 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
6616 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6617 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
6618 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6619 | end | |
6620 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406" | |
6621 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
6622 | for I = 1, 15 do | |
6623 | swait() | |
6624 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
6625 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
6626 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
6627 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6628 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
6629 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6630 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
6631 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6632 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
6633 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6634 | end | |
6635 | bQ.Transparency = 1 | |
6636 | bR.Transparency = 0 | |
6637 | bS.Transparency = 0 | |
6638 | bT.Transparency = 0 | |
6639 | bU.Transparency = 0 | |
6640 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6641 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6642 | c7 = (bQ.Position - rarm.Position).magnitude | |
6643 | c8 = (bR.Position - bQ.Position).magnitude | |
6644 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
6645 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
6646 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
6647 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
6648 | for I = 1, 50 do | |
6649 | swait() | |
6650 | c7 = (bQ.Position - rarm.Position).magnitude | |
6651 | c8 = (bR.Position - bQ.Position).magnitude | |
6652 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
6653 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
6654 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
6655 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
6656 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
6657 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
6658 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
6659 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
6660 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
6661 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
6662 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
6663 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
6664 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
6665 | end | |
6666 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6667 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6668 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6669 | ck = Vector3.new(60, 70, 60) | |
6670 | cm = 3.5 | |
6671 | co = 5 | |
6672 | cj = 0.3--speed of hand | |
6673 | cq = Vector3.new(0.16, 0.16, 0.16) | |
6674 | cb = true | |
6675 | coroutine.resume(coroutine.create(function() | |
6676 | while cb == true do | |
6677 | swait2() | |
6678 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
6679 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
6680 | c7 = (bQ.Position - rarm.Position).magnitude | |
6681 | c8 = (bR.Position - bQ.Position).magnitude | |
6682 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
6683 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
6684 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
6685 | b_.Scale = b_.Scale:lerp(ck, cl) | |
6686 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
6687 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
6688 | c2.Scale = c2.Scale:lerp(cq, cr) | |
6689 | end | |
6690 | end)) | |
6691 | print("bless the meme") | |
6692 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
6693 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
6694 | for j = 1, 80 do | |
6695 | swait() | |
6696 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
6697 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
6698 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
6699 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6700 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
6701 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6702 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
6703 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6704 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
6705 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6706 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
6707 | end | |
6708 | head:FindFirstChildOfClass("Decal").Texture = d | |
6709 | cam.CameraType = "Custom" | |
6710 | dagear = 3 | |
6711 | human.AutoRotate = true | |
6712 | hrp.Anchored = false | |
6713 | human.WalkSpeed = 12 | |
6714 | g.Enabled = true | |
6715 | activu = false | |
6716 | --fixing the hand movement | |
6717 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
6718 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
6719 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
6720 | ce = 0.01 | |
6721 | ch = 0.01 | |
6722 | cd = cf() | |
6723 | cg = cf() | |
6724 | for j = 1, 38 do | |
6725 | --swait() | |
6726 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
6727 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
6728 | ce = 0.01 + j * 0.018 | |
6729 | ch = 0.01 + j * 0.008 | |
6730 | end | |
6731 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6732 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6733 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6734 | --done fixing hand xd | |
6735 | elseif dagear == 3 then | |
6736 | activu = true | |
6737 | human.WalkSpeed = 0 | |
6738 | human.AutoRotate = false | |
6739 | hrp.Anchored = true | |
6740 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6741 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6742 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
6743 | ck = Vector3.new(0, 1, 0) | |
6744 | cm = 0 | |
6745 | co = 0 | |
6746 | cq = Vector3.new(0, 1, 0) | |
6747 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6748 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6749 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
6750 | cz = Vector3.new(0, 1, 0) | |
6751 | cB = 0 | |
6752 | cD = 0 | |
6753 | cF = Vector3.new(0, 1, 0) | |
6754 | for j = 1, 40 do | |
6755 | swait() | |
6756 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
6757 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
6758 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
6759 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6760 | if g32hand then | |
6761 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
6762 | else | |
6763 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
6764 | end | |
6765 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6766 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
6767 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6768 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
6769 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6770 | end | |
6771 | cb = false | |
6772 | cc = false | |
6773 | bQ:Destroy() | |
6774 | bR:Destroy() | |
6775 | bS:Destroy() | |
6776 | bT:Destroy() | |
6777 | bU:Destroy() | |
6778 | if g32hand then | |
6779 | bV:Destroy() | |
6780 | bW:Destroy() | |
6781 | bX:Destroy() | |
6782 | bY:Destroy() | |
6783 | bZ:Destroy() | |
6784 | end | |
6785 | for I = 1, 13 do | |
6786 | swait() | |
6787 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6788 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6789 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6790 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6791 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6792 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6793 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6794 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6795 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6796 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6797 | end | |
6798 | resetlerp() | |
6799 | animo(true) | |
6800 | human.WalkSpeed = 16 | |
6801 | dagear = 1 | |
6802 | g32hand = false | |
6803 | human.AutoRotate = true | |
6804 | hrp.Anchored = false | |
6805 | activu = false | |
6806 | end | |
6807 | --a8:Destroy() | |
6808 | --cH:Destroy() | |
6809 | activu = false | |
6810 | end | |
6811 | ||
6812 | g3twohand = function() | |
6813 | if selected == false or activu == true then | |
6814 | return | |
6815 | end | |
6816 | if not g32hand then | |
6817 | activu = true | |
6818 | local bf = human.WalkSpeed | |
6819 | human.WalkSpeed = 0 | |
6820 | cc = true | |
6821 | g.Enabled = false | |
6822 | human.AutoRotate = false | |
6823 | hrp.Anchored = true | |
6824 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame) | |
6825 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6826 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW) | |
6827 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6828 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX) | |
6829 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6830 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY) | |
6831 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6832 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ) | |
6833 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
6834 | dh.Anchored = false | |
6835 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh) | |
6836 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
6837 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
6838 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
6839 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6840 | for I = 1, 25 do | |
6841 | swait() | |
6842 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
6843 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6844 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6845 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
6846 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6847 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
6848 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6849 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
6850 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6851 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
6852 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6853 | end | |
6854 | bW.Transparency = 0 | |
6855 | bX.Transparency = 0 | |
6856 | bY.Transparency = 0 | |
6857 | bZ.Transparency = 0 | |
6858 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6859 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6860 | c9 = (bV.Position - larm.Position).magnitude | |
6861 | ca = (bW.Position - bV.Position).magnitude | |
6862 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
6863 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
6864 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
6865 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6866 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6867 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6868 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6869 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
6870 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6871 | cz = Vector3.new(60, 70, 60) | |
6872 | cB = 3.5 | |
6873 | cD = 5 | |
6874 | cF = Vector3.new(0.16, 0.16, 0.16) | |
6875 | cC = 0.3 | |
6876 | cE = 0.3 | |
6877 | cy = 0.3 | |
6878 | cu = 0.3 | |
6879 | cw = 0.3 | |
6880 | cA = 0.3 | |
6881 | cG = 0.3 | |
6882 | coroutine.resume(coroutine.create(function() | |
6883 | while cc == true do | |
6884 | swait2() | |
6885 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
6886 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
6887 | c9 = (bV.Position - larm.Position).magnitude | |
6888 | ca = (bW.Position - bV.Position).magnitude | |
6889 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
6890 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
6891 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
6892 | c3.Scale = c3.Scale:lerp(cz, cA) | |
6893 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
6894 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
6895 | c6.Scale = c6.Scale:lerp(cF, cG) | |
6896 | end | |
6897 | end)) | |
6898 | for I = 1, 30 do | |
6899 | swait() | |
6900 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
6901 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
6902 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
6903 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
6904 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6905 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
6906 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6907 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
6908 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6909 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
6910 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6911 | end | |
6912 | dh:Destroy() | |
6913 | human.WalkSpeed = bf | |
6914 | hrp.Anchored = false | |
6915 | human.AutoRotate = true | |
6916 | g.Enabled = true | |
6917 | g32hand = true | |
6918 | activu = false | |
6919 | end | |
6920 | end | |
6921 | ||
6922 | busolelel = function() | |
6923 | if activu == true or selected == false then | |
6924 | return | |
6925 | end | |
6926 | if dagear == 3 then | |
6927 | if bR.Reflectance <= 0 then | |
6928 | selected = false | |
6929 | local dk = Instance.new("Sound") | |
6930 | dk.SoundId = "rbxassetid://315030459" | |
6931 | dk.Volume = 1.25 | |
6932 | dk.TimePosition = 0.22 | |
6933 | dk.Pitch = 1.03 | |
6934 | dk.Parent = tors | |
6935 | game.Debris:AddItem(dk, 3) | |
6936 | dk:Play() | |
6937 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
6938 | ck = Vector3.new(70, 80, 70) | |
6939 | cq = Vector3.new(0.19, 0.19, 0.19) | |
6940 | cz = Vector3.new(70, 80, 70) | |
6941 | cF = Vector3.new(0.19, 0.19, 0.19) | |
6942 | for I = 1, 20 do | |
6943 | swait() | |
6944 | bR.Reflectance = bR.Reflectance + 0.02 | |
6945 | bR.Color = bR.Color:lerp(dl, 0.15) | |
6946 | bU.Reflectance = bU.Reflectance + 0.02 | |
6947 | bU.Color = bU.Color:lerp(dl, 0.15) | |
6948 | if g32hand then | |
6949 | bW.Reflectance = bW.Reflectance + 0.02 | |
6950 | bW.Color = bW.Color:lerp(dl, 0.15) | |
6951 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
6952 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
6953 | end | |
6954 | end | |
6955 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
6956 | ck = Vector3.new(60, 70, 60) | |
6957 | cq = Vector3.new(0.16, 0.16, 0.16) | |
6958 | cz = Vector3.new(60, 70, 60) | |
6959 | cF = Vector3.new(0.16, 0.16, 0.16) | |
6960 | for I = 1, 20 do | |
6961 | swait() | |
6962 | bR.Reflectance = bR.Reflectance - 0.01 | |
6963 | bR.Color = bR.Color:lerp(dl, 0.15) | |
6964 | bU.Reflectance = bU.Reflectance - 0.01 | |
6965 | bU.Color = bU.Color:lerp(dl, 0.15) | |
6966 | if g32hand then | |
6967 | bW.Reflectance = bW.Reflectance - 0.01 | |
6968 | bW.Color = bW.Color:lerp(dl, 0.15) | |
6969 | bZ.Reflectance = bW.Reflectance - 0.01 | |
6970 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
6971 | end | |
6972 | end | |
6973 | bR.Color = dl | |
6974 | bU.Color = dl | |
6975 | if g32hand then | |
6976 | bW.Color = dl | |
6977 | bZ.Color = dl | |
6978 | end | |
6979 | selected = true | |
6980 | else | |
6981 | do | |
6982 | selected = false | |
6983 | for I = 1, 20 do | |
6984 | swait() | |
6985 | bR.Reflectance = bR.Reflectance - 0.01 | |
6986 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
6987 | bU.Reflectance = bU.Reflectance - 0.01 | |
6988 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
6989 | if g32hand then | |
6990 | bW.Reflectance = bW.Reflectance - 0.01 | |
6991 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
6992 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
6993 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
6994 | end | |
6995 | end | |
6996 | bR.Color = rarm.Color | |
6997 | bU.Color = rarm.Color | |
6998 | bR.Reflectance = 0 | |
6999 | bU.Reflectance = 0 | |
7000 | if g32hand then | |
7001 | bW.Color = larm.Color | |
7002 | bZ.Color = larm.Color | |
7003 | bW.Reflectance = 0 | |
7004 | bZ.Reflectance = 0 | |
7005 | end | |
7006 | selected = true | |
7007 | end | |
7008 | end | |
7009 | end | |
7010 | end | |
7011 | ||
7012 | hito = function(dm, X, c, dn, dp, dq) | |
7013 | for I,dr in pairs(workspace:GetChildren()) do | |
7014 | 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 | |
7015 | local ds = dr:FindFirstChild("Humanoid") | |
7016 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
7017 | TakeDamage(ds, c) | |
7018 | ds:SetStateEnabled(16, true) | |
7019 | delay(dn, function() | |
7020 | ds:SetStateEnabled(16, true) | |
7021 | end) | |
7022 | local du = Instance.new("StringValue") | |
7023 | du.Name = "alabo" | |
7024 | du.Parent = dt | |
7025 | game.Debris:AddItem(du, dn) | |
7026 | local dv = Instance.new("Part") | |
7027 | nooutline(dv) | |
7028 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
7029 | dv.Transparency = 0.25 | |
7030 | dv.Anchored = true | |
7031 | dv.CanCollide = false | |
7032 | dv.BrickColor = BrickColor.new("New Yeller") | |
7033 | dv.Material = "Neon" | |
7034 | dv.Locked = true | |
7035 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
7036 | dv.Parent = modz | |
7037 | local dw = Instance.new("SpecialMesh") | |
7038 | dw.MeshType = "Sphere" | |
7039 | dw.Scale = Vector3.new(0.5, 0.5, 0.5) | |
7040 | dw.Parent = dv | |
7041 | game.Debris:AddItem(dv, 1) | |
7042 | local dx = Instance.new("Model") | |
7043 | dx.Name = c | |
7044 | dx.Parent = workspace | |
7045 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
7046 | local dy = Instance.new("Humanoid") | |
7047 | dy.MaxHealth = 0 | |
7048 | dy.Parent = dx | |
7049 | local dz = Instance.new("Part") | |
7050 | dz.Name = "Head" | |
7051 | dz.Locked = true | |
7052 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
7053 | dz.Position = dt.Position | |
7054 | dz.BrickColor = BrickColor.new("New Yeller") | |
7055 | dz.Material = "Neon" | |
7056 | dz.Transparency = 1 | |
7057 | dz.CanCollide = false | |
7058 | dz.Parent = dx | |
7059 | local dA = Instance.new("BodyPosition") | |
7060 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
7061 | dA.P = 20000 | |
7062 | dA.D = 300 | |
7063 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
7064 | dA.Parent = dz | |
7065 | local dB = Instance.new("CylinderMesh") | |
7066 | dB.Parent = dz | |
7067 | coroutine.resume(coroutine.create(function() | |
7068 | while dB do | |
7069 | swait() | |
7070 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
7071 | end | |
7072 | end)) | |
7073 | if dp then | |
7074 | local dC = Instance.new("BodyVelocity") | |
7075 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
7076 | dC.P = 9999999999 | |
7077 | dC.Velocity = dp | |
7078 | dC.Parent = dt | |
7079 | game.Debris:AddItem(dC, dn) | |
7080 | end | |
7081 | if dq then | |
7082 | local dD = Instance.new("BodyAngularVelocity") | |
7083 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
7084 | dD.P = math.huge | |
7085 | dD.AngularVelocity = dq | |
7086 | dD.Parent = dt | |
7087 | game.Debris:AddItem(dD, dn) | |
7088 | end | |
7089 | local dE = Instance.new("Sound") | |
7090 | dE.Pitch = rd2(10, 11) / 10 | |
7091 | dE.Volume = rd2(10, 13) / 10 | |
7092 | dE.EmitterSize = 10 | |
7093 | dE.SoundId = "rbxassetid://" | |
7094 | dE.Parent = dv | |
7095 | dE:Play() | |
7096 | coroutine.resume(coroutine.create(function() | |
7097 | for I = 1, 5 do | |
7098 | swait() | |
7099 | dv.Transparency = dv.Transparency + 0.175 | |
7100 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
7101 | end | |
7102 | end)) | |
7103 | end | |
7104 | end | |
7105 | end | |
7106 | ||
7107 | animo = function(dF) | |
7108 | if anim then | |
7109 | if dF == true then | |
7110 | anim.Parent = human | |
7111 | chr.Animate.Disabled = false | |
7112 | elseif dF == false then | |
7113 | chr.Animate.Disabled = true | |
7114 | anim.Parent = nil | |
7115 | end | |
7116 | end | |
7117 | end | |
7118 | ||
7119 | local dG = function(dH, dv, dw, aO, dI, i) | |
7120 | if dH == 0 then | |
7121 | return dv | |
7122 | end | |
7123 | dH = dH / aO | |
7124 | if dH == 1 then | |
7125 | return dv + dw | |
7126 | end | |
7127 | if not i then | |
7128 | i = aO * 0.3 | |
7129 | end | |
7130 | local h = nil | |
7131 | if not dI or dI < math.abs(dw) then | |
7132 | dI = dw | |
7133 | h = i / 4 | |
7134 | else | |
7135 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
7136 | end | |
7137 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
7138 | end | |
7139 | ||
7140 | local dJ = false | |
7141 | updateguimode = function() | |
7142 | local dK = function(dL, dM, dH) | |
7143 | return (1 - dH) * dL + dH * dM | |
7144 | end | |
7145 | ||
7146 | local dN, dO = nil, nil | |
7147 | if dagear == 1 then | |
7148 | dN = "Machine" | |
7149 | elseif dagear == 2 then | |
7150 | dN = "Jet" | |
7151 | elseif dagear == 3 then | |
7152 | dN = "Gigant" | |
7153 | end | |
7154 | if rubbermodo == 0 then | |
7155 | dO = "Gun Blows" | |
7156 | elseif rubbermodo == 1 then | |
7157 | dO = " " | |
7158 | elseif rubbermodo == 2 then | |
7159 | dO = " " | |
7160 | elseif rubbermodo == 3 then | |
7161 | dO = " " | |
7162 | end | |
7163 | g.Main.Base.Mode.Text = " " .. dN .. " " .. dO | |
7164 | if dJ == false then | |
7165 | dJ = true | |
7166 | elseif dJ == true then | |
7167 | dJ = false | |
7168 | swait() | |
7169 | dJ = true | |
7170 | end | |
7171 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do | |
7172 | if not dJ then | |
7173 | break | |
7174 | end | |
7175 | game:GetService("RunService").RenderStepped:wait() | |
7176 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
7177 | end | |
7178 | end | |
7179 | --[[ | |
7180 | mouse.KeyDown:connect(function(dP) | |
7181 | if dP == "q" and activu == false then | |
7182 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
7183 | rubbermodo = 0 | |
7184 | else | |
7185 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
7186 | rubbermodo = 1 | |
7187 | else | |
7188 | if rubbermodo == 0 then | |
7189 | rubbermodo = 1 | |
7190 | else | |
7191 | if rubbermodo == 1 then | |
7192 | rubbermodo = 2 | |
7193 | else | |
7194 | if rubbermodo == 2 then | |
7195 | rubbermodo = 3 | |
7196 | else | |
7197 | rubbermodo = 0 | |
7198 | end | |
7199 | end | |
7200 | end | |
7201 | end | |
7202 | end | |
7203 | updateguimode() | |
7204 | else | |
7205 | if dP == "e" and activu == false then | |
7206 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
7207 | rubbermodo = 0 | |
7208 | else | |
7209 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
7210 | rubbermodo = 1 | |
7211 | else | |
7212 | if dagear == 1 then | |
7213 | if rubbermodo == 1 then | |
7214 | rubbermodo = 0 | |
7215 | else | |
7216 | if rubbermodo == 2 then | |
7217 | rubbermodo = 1 | |
7218 | else | |
7219 | if rubbermodo == 3 then | |
7220 | rubbermodo = 2 | |
7221 | else | |
7222 | if rubbermodo <= 0 then | |
7223 | rubbermodo = 3 | |
7224 | end | |
7225 | end | |
7226 | end | |
7227 | end | |
7228 | else | |
7229 | if rubbermodo == 1 then | |
7230 | rubbermodo = 0 | |
7231 | else | |
7232 | rubbermodo = 1 | |
7233 | end | |
7234 | end | |
7235 | end | |
7236 | end | |
7237 | updateguimode() | |
7238 | else | |
7239 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
7240 | gear2change() | |
7241 | rubbermodo = 0 | |
7242 | updateguimode() | |
7243 | else | |
7244 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
7245 | gear3change() | |
7246 | rubbermodo = 0 | |
7247 | updateguimode() | |
7248 | else | |
7249 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
7250 | g3twohand() | |
7251 | rubbermodo = 2 | |
7252 | updateguimode() | |
7253 | else | |
7254 | if dP == "b" and plr.UserId == 8488617 then | |
7255 | busolelel() | |
7256 | end | |
7257 | end | |
7258 | end | |
7259 | end | |
7260 | end | |
7261 | end | |
7262 | end) | |
7263 | ]] | |
7264 | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) | |
7265 | if dP == "q" and activu == false then -- Does nothing? | |
7266 | if dagear == 4 and rubbermodo > 0 then | |
7267 | rubbermodo = 1 | |
7268 | end | |
7269 | updateguimode() | |
7270 | end | |
7271 | if dP == "=" and activu == false then | |
7272 | gear2change() | |
7273 | rubbermodo = 0 | |
7274 | updateguimode() | |
7275 | end | |
7276 | if dP == "=" and activu == false and dagear == 3 then | |
7277 | g3twohand() | |
7278 | rubbermodo = 2 | |
7279 | updateguimode() | |
7280 | end | |
7281 | if dP == "=" and activu == false then | |
7282 | gear3change() | |
7283 | rubbermodo = 0 | |
7284 | updateguimode() | |
7285 | end | |
7286 | if dP == "=" and plr.UserId == 8488617 then | |
7287 | busolelel() | |
7288 | end | |
7289 | end) | |
7290 | tool.Activated:connect(function() | |
7291 | if human.Health <= 0 then | |
7292 | return | |
7293 | end | |
7294 | if dagear == 1 then | |
7295 | if rubbermodo == 0 then | |
7296 | gatling() | |
7297 | elseif rubbermodo == 1 then | |
7298 | gatling2() | |
7299 | elseif rubbermodo == 2 then | |
7300 | bazooka() | |
7301 | elseif rubbermodo == 3 then | |
7302 | rocket() | |
7303 | end | |
7304 | elseif dagear == 2 then | |
7305 | if rubbermodo == 0 then | |
7306 | jetpunch() | |
7307 | elseif rubbermodo == 1 then | |
7308 | jetgat() | |
7309 | elseif rubbermodo == 2 then | |
7310 | jetbazoo() | |
7311 | end | |
7312 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
7313 | giganpist() | |
7314 | end | |
7315 | if dagear == 3 and g32hand then | |
7316 | if rubbermodo == 2 then | |
7317 | giganbazooka() | |
7318 | elseif rubbermodo == 1 then | |
7319 | gigangatl() | |
7320 | end | |
7321 | end | |
7322 | end) | |
7323 | tool.Equipped:connect(function() | |
7324 | selected = true | |
7325 | end) | |
7326 | tool.Unequipped:connect(function() | |
7327 | selected = false | |
7328 | end) | |
7329 | human.Died:connect(function() | |
7330 | if cam.CameraType == "Scriptable" then | |
7331 | cam.CameraType = "Custom" | |
7332 | end | |
7333 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
7334 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
7335 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
7336 | ck = Vector3.new(0, 0, 0) | |
7337 | cm = 0 | |
7338 | co = 0 | |
7339 | cq = Vector3.new(0, 0, 0) | |
7340 | end) | |
7341 | animpose = "Idle" | |
7342 | sine = 0 | |
7343 | charge = 1 | |
7344 | cos = math.cos | |
7345 | run() | |
7346 | game:GetService("RunService").RenderStepped:connect(function() | |
7347 | sine = sine + charge | |
7348 | if sine >= 100000000 then | |
7349 | sine = 0 | |
7350 | end | |
7351 | if sine % 60 == 0 then | |
7352 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
7353 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
7354 | end | |
7355 | --[[repeat | |
7356 | repeat | |
7357 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
7358 | if g3lim <= 0 then | |
7359 | game:GetService("RunService").RenderStepped:wait() | |
7360 | end | |
7361 | end | |
7362 | until activu == false | |
7363 | until selected == true | |
7364 | gear3change() | |
7365 | rubbermodo = 0 | |
7366 | updateguimode() | |
7367 | if g32hand then | |
7368 | g3lim = g3lim - 2 | |
7369 | else | |
7370 | if not g32hand then | |
7371 | g3lim = g3lim - 1 | |
7372 | end | |
7373 | end | |
7374 | repeat | |
7375 | repeat | |
7376 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
7377 | if g2lim <= 0 then | |
7378 | game:GetService("RunService").RenderStepped:wait() | |
7379 | end | |
7380 | end | |
7381 | until activu == false | |
7382 | until selected == true | |
7383 | gear2change() | |
7384 | rubbermodo = 0 | |
7385 | updateguimode() | |
7386 | g2lim = g2lim - 1 | |
7387 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
7388 | if g2lim < 59 then | |
7389 | g2lim = g2lim + 1 | |
7390 | end | |
7391 | if g3lim < 59 then | |
7392 | g3lim = g3lim + 1 | |
7393 | end | |
7394 | end]] | |
7395 | if dagear == 3 and activu == false then | |
7396 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
7397 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false) | |
7398 | local dS = human:GetState() | |
7399 | if dS.Value == 13 then | |
7400 | animpose = "Sitting" | |
7401 | else | |
7402 | if hrp.Velocity.y > 1 and dR == nil then | |
7403 | animpose = "Jumping" | |
7404 | else | |
7405 | if hrp.Velocity.y < -1 and dR == nil then | |
7406 | animpose = "Falling" | |
7407 | else | |
7408 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
7409 | animpose = "Idle" | |
7410 | else | |
7411 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
7412 | animpose = "Walking" | |
7413 | else | |
7414 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
7415 | animpose = "TooFast" | |
7416 | end | |
7417 | end | |
7418 | end | |
7419 | end | |
7420 | end | |
7421 | end | |
7422 | if animpose == "Idle" then | |
7423 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
7424 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
7425 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
7426 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7427 | if g32hand then | |
7428 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
7429 | else | |
7430 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
7431 | end | |
7432 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7433 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
7434 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7435 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
7436 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7437 | end | |
7438 | if animpose == "Walking" then | |
7439 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
7440 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
7441 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
7442 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7443 | if g32hand then | |
7444 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
7445 | else | |
7446 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
7447 | end | |
7448 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7449 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3) | |
7450 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7451 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3) | |
7452 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7453 | end | |
7454 | end | |
7455 | end) | |
7456 | dispose = function() | |
7457 | for j,dT in pairs(getfenv(0)) do | |
7458 | dT = nil | |
7459 | end | |
7460 | error = nil | |
7461 | print = nil | |
7462 | warn = nil | |
7463 | script:Destroy() | |
7464 | script = nil | |
7465 | end | |
7466 | ||
7467 | human.Died:connect(dispose) | |
7468 | chr.Changed:connect(function() | |
7469 | if chr.Parent == nil then | |
7470 | dispose() | |
7471 | end | |
7472 | end) | |
7473 | ||
7474 | ||
7475 | ||
7476 | mouse.KeyDown:connect(function(k) | |
7477 | if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
7478 | jump() | |
7479 | end | |
7480 | if k == "x" and attack == false then | |
7481 | dash() | |
7482 | end | |
7483 | if k == "m" and attack == false then | |
7484 | InfernoComet() | |
7485 | end | |
7486 | if k == "n" and attack == false then | |
7487 | InfernoWrath() | |
7488 | end | |
7489 | if k == "t" and attack == false then | |
7490 | dashh() | |
7491 | end | |
7492 | if k == "k" and attack == false then | |
7493 | jetbazoo() | |
7494 | end | |
7495 | if k == "r" and attack == false then | |
7496 | dashs() | |
7497 | end | |
7498 | if k == "p" and attack == false then | |
7499 | asd:Stop() | |
7500 | end | |
7501 | if k == "g" and attack == false then | |
7502 | chatfunc("Sensei!") | |
7503 | end | |
7504 | if k == "1" and attack == false then | |
7505 | chatfunc("Weak!") | |
7506 | end | |
7507 | if k == "2" and attack == false then | |
7508 | chatfunc("That's what you consider strong?!") | |
7509 | end | |
7510 | if k == "3" and attack == false then | |
7511 | chatfunc("Useless!") | |
7512 | end | |
7513 | if k == "4" and attack == false then | |
7514 | chatfunc("What?!") | |
7515 | end | |
7516 | if k == "5" and attack == false then | |
7517 | chatfunc("Hmph.") | |
7518 | end | |
7519 | if k == "6" and attack == false then | |
7520 | chatfunc("Trash!") | |
7521 | end | |
7522 | if k == "7" and attack == false then | |
7523 | chatfunc("You're Nothing!") | |
7524 | end | |
7525 | if k == "h" and attack == false then | |
7526 | chatfunc("Die!") | |
7527 | end | |
7528 | if k == "," and attack == false then | |
7529 | char.Head.face.Texture = "rbxassetid://126198982" | |
7530 | chatfunc("I'll crush you!") | |
7531 | end | |
7532 | if k == ";" and attack == false then | |
7533 | chatfunc("Idiot!") | |
7534 | end | |
7535 | if k == "=" and attack == false then | |
7536 | chatfunc("I'll crush that Half-n-Half bastard..") | |
7537 | end | |
7538 | if k == "=" and attack == false then | |
7539 | chatfunc("Remember who you are.. YOU'RE BENEATH ME!") | |
7540 | end | |
7541 | if k == "f" and attack == false then | |
7542 | daash() | |
7543 | end | |
7544 | if k == "u" and attack == false then | |
7545 | asd:Play() | |
7546 | end | |
7547 | if k == "e" and attack == false then | |
7548 | punch() | |
7549 | end | |
7550 | if k == "=" and attack == false then | |
7551 | punch3() | |
7552 | end | |
7553 | ||
7554 | if k == "q" and attack == false then | |
7555 | punch2() | |
7556 | end | |
7557 | if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
7558 | boom() | |
7559 | end | |
7560 | if k == "v" and attack == false then | |
7561 | shooty() | |
7562 | end | |
7563 | if k == "l" and attack == false then | |
7564 | if Serious == true then | |
7565 | punchd() | |
7566 | end | |
7567 | end | |
7568 | if k == "b" and attack == false then | |
7569 | superpunch() | |
7570 | end | |
7571 | end) | |
7572 | mouse.KeyDown:connect(function(key) | |
7573 | if key=="8" then | |
7574 | Serious() | |
7575 | end | |
7576 | end) | |
7577 | Health = math.huge --------- Serious mode aura. | |
7578 | BaseHealth = math.huge | |
7579 | ||
7580 | ||
7581 | ||
7582 | ||
7583 | InForm = false | |
7584 | ||
7585 | Player = game.Players.LocalPlayer | |
7586 | Char = Player.Character | |
7587 | Torso = Char.Torso | |
7588 | ||
7589 | function Serious() | |
7590 | for X = 1, 1 do wait() | |
7591 | asd:Destroy() | |
7592 | asd2 = Instance.new("Sound",char) | |
7593 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
7594 | asd2.Volume = 3 | |
7595 | asd2.Looped = false | |
7596 | asd2:Play() | |
7597 | chatfunc("Full power!") | |
7598 | local pie22 = Instance.new("ParticleEmitter") | |
7599 | pie22.Parent = tors | |
7600 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7601 | pie22.LightEmission = 1 | |
7602 | pie22.Size = NumberSequence.new(50) | |
7603 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7604 | pie22.Transparency = NumberSequence.new(0) | |
7605 | pie22.EmissionDirection = "Top" | |
7606 | pie22.Enabled = true | |
7607 | pie22.Lifetime = NumberRange.new(10) | |
7608 | pie22.Rotation = NumberRange.new(-420, 425) | |
7609 | pie22.Rate = 400 | |
7610 | pie22.Speed = NumberRange.new(100) | |
7611 | pie22.LockedToPart = false | |
7612 | pie22.VelocitySpread = 2 | |
7613 | lig = Instance.new("PointLight",player.Character.Torso) | |
7614 | lig.Color=Color3.new(255,255,0) | |
7615 | lig.Range = 6 | |
7616 | rubbermodo = 1 | |
7617 | hum.JumpPower = 270 | |
7618 | lig = Instance.new("PointLight",player.Character.Torso) | |
7619 | lig.Color=Color3.new(255,255,0) | |
7620 | lig.Range = 6 | |
7621 | Crater(head,30) | |
7622 | ||
7623 | wait(0) | |
7624 | for X = 1, 1 do wait() | |
7625 | local Effect = Instance.new("Part") | |
7626 | Effect.Name = "Effect" | |
7627 | Effect.Parent = Torso | |
7628 | Effect.CFrame = Torso.CFrame | |
7629 | Effect.BrickColor = BrickColor.new("Neon orange") | |
7630 | Effect.Shape = "Ball" | |
7631 | Effect.Size = Vector3.new(1, 1, 1) | |
7632 | Effect.Anchored = true | |
7633 | Effect.Material = "Neon" | |
7634 | Effect.CanCollide = false | |
7635 | Effect.CFrame = Torso.CFrame | |
7636 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
7637 | Effect.Transparency = Effect.Transparency + 0.04 | |
7638 | pie22:Destroy() | |
7639 | end | |
7640 | end | |
7641 | ||
7642 | repeat | |
7643 | Torso:FindFirstChild("Effect"):Remove() | |
7644 | until Torso:FindFirstChild("Effect") == nil | |
7645 | ||
7646 | ||
7647 | local Color1 = Color3.new(255, 255, 0) | |
7648 | local Color2 = Color3.new(255, 255, 0) | |
7649 | chatfunc("Full Power!") | |
7650 | Instance.new("ForceField",char).Visible = false | |
7651 | hum.Name = "youdungoofed" | |
7652 | ||
7653 | asd1 = Instance.new("Sound",char) | |
7654 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
7655 | asd1.Volume = 1 | |
7656 | asd1.Looped = true | |
7657 | asd1:Play() | |
7658 | ||
7659 | local pie22 = Instance.new("ParticleEmitter") | |
7660 | pie22.Parent = larm | |
7661 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7662 | pie22.LightEmission = 1 | |
7663 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
7664 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7665 | pie22.Transparency = NumberSequence.new(0.7) | |
7666 | pie22.EmissionDirection = "Top" | |
7667 | pie22.Enabled = true | |
7668 | pie22.Lifetime = NumberRange.new(1) | |
7669 | pie22.Rotation = NumberRange.new(-420, 425) | |
7670 | pie22.Rate = 400 | |
7671 | pie22.Speed = NumberRange.new(1) | |
7672 | pie22.LockedToPart = false | |
7673 | pie22.VelocitySpread = 2 | |
7674 | local pie222 = Instance.new("ParticleEmitter") | |
7675 | pie222.Parent = rarm | |
7676 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7677 | pie222.LightEmission = 1 | |
7678 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7679 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7680 | pie222.Transparency = NumberSequence.new(0.7) | |
7681 | pie222.EmissionDirection = "Top" | |
7682 | pie222.Enabled = true | |
7683 | pie222.Lifetime = NumberRange.new(1) | |
7684 | pie222.Rotation = NumberRange.new(-420, 425) | |
7685 | pie222.Rate = 400 | |
7686 | pie222.Speed = NumberRange.new(1) | |
7687 | pie222.LockedToPart = false | |
7688 | pie222.VelocitySpread = 2 | |
7689 | local pie2222 = Instance.new("ParticleEmitter") | |
7690 | pie2222.Parent = lleg | |
7691 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7692 | pie2222.LightEmission = 1 | |
7693 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7694 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7695 | pie2222.Transparency = NumberSequence.new(0.7) | |
7696 | pie2222.EmissionDirection = "Top" | |
7697 | pie2222.Enabled = true | |
7698 | pie2222.Lifetime = NumberRange.new(1) | |
7699 | pie2222.Rotation = NumberRange.new(-420, 425) | |
7700 | pie2222.Rate = 400 | |
7701 | pie2222.Speed = NumberRange.new(1) | |
7702 | pie2222.LockedToPart = false | |
7703 | pie2222.VelocitySpread = 2 | |
7704 | local pie22222 = Instance.new("ParticleEmitter") | |
7705 | pie22222.Parent = rleg | |
7706 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7707 | pie22222.LightEmission = 1 | |
7708 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7709 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7710 | pie22222.Transparency = NumberSequence.new(0.7) | |
7711 | pie22222.EmissionDirection = "Top" | |
7712 | pie22222.Enabled = true | |
7713 | pie22222.Lifetime = NumberRange.new(1) | |
7714 | pie22222.Rotation = NumberRange.new(-420, 425) | |
7715 | pie22222.Rate = 400 | |
7716 | pie22222.Speed = NumberRange.new(1) | |
7717 | pie22222.LockedToPart = false | |
7718 | pie22222.VelocitySpread = 2 | |
7719 | local pie2242 = Instance.new("ParticleEmitter") | |
7720 | pie2242.Parent = tors | |
7721 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7722 | pie2242.LightEmission = 1 | |
7723 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
7724 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7725 | pie2242.Transparency = NumberSequence.new(0.7) | |
7726 | pie2242.EmissionDirection = "Top" | |
7727 | pie2242.Enabled = true | |
7728 | pie2242.Lifetime = NumberRange.new(1) | |
7729 | pie2242.Rotation = NumberRange.new(-420, 425) | |
7730 | pie2242.Rate = 400 | |
7731 | pie2242.Speed = NumberRange.new(1) | |
7732 | pie2242.LockedToPart = false | |
7733 | pie2242.VelocitySpread = 2 | |
7734 | ||
7735 | InForm = true | |
7736 | ||
7737 | Char.Humanoid.MaxHealth = Health | |
7738 | wait(0.3) | |
7739 | Char.Humanoid.Health = Health | |
7740 | rock = true | |
7741 | ||
7742 | end | |
7743 | ||
7744 | function Base() | |
7745 | InForm = false | |
7746 | local Effect = Instance.new("Part") | |
7747 | Effect.Name = "Effect" | |
7748 | Effect.Parent = Torso | |
7749 | Effect.CFrame = Torso.CFrame | |
7750 | Effect.BrickColor = BrickColor.new("White") | |
7751 | Effect.Shape = "Ball" | |
7752 | Effect.Size = Vector3.new(8, 8, 8) | |
7753 | Effect.Anchored = true | |
7754 | Effect.Material = "Neon" | |
7755 | Effect.CanCollide = false | |
7756 | for loop = 1, 25 do wait() | |
7757 | Effect.CFrame = Torso.CFrame | |
7758 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
7759 | Effect.Transparency = Effect.Transparency + 0.04 | |
7760 | ||
7761 | end | |
7762 | repeat | |
7763 | Torso:FindFirstChild("Effect"):Remove() | |
7764 | until Torso:FindFirstChild("Effect") == nil | |
7765 | ||
7766 | for i, v in pairs(Torso:GetChildren()) do | |
7767 | if v:IsA('ParticleEmitter') then | |
7768 | v:Remove() | |
7769 | asd1:Destroy() | |
7770 | killbrick:Destroy() | |
7771 | end | |
7772 | end | |
7773 | char.Humanoid.MaxHealth = BaseHealth | |
7774 | wait(0.3) | |
7775 | char.Humanoid.Health = BaseHealth | |
7776 | ||
7777 | ||
7778 | end | |
7779 | ||
7780 | mouse.KeyDown:connect(function(key) | |
7781 | if key=="9" then | |
7782 | Base() | |
7783 | lig:Destroy() | |
7784 | rubbermodo = 0 | |
7785 | end | |
7786 | end) | |
7787 | ||
7788 | Player.Chatted:connect(function(Message) | |
7789 | if Message == "Time to get serious." and InForm == false then | |
7790 | wait(0.10) | |
7791 | Serious2() | |
7792 | end | |
7793 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
7794 | Base() | |
7795 | end | |
7796 | end) | |
7797 | ||
7798 | ||
7799 | mouse.KeyDown:connect(function(key) | |
7800 | if key=="." then | |
7801 | Serious2() | |
7802 | end | |
7803 | end) | |
7804 | Health = math.huge --------- Serious mode aura. | |
7805 | BaseHealth = math.huge | |
7806 | ||
7807 | ||
7808 | ||
7809 | ||
7810 | InForm = false | |
7811 | ||
7812 | Player = game.Players.LocalPlayer | |
7813 | Char = Player.Character | |
7814 | Torso = Char.Torso | |
7815 | ||
7816 | function Serious2() | |
7817 | for X = 1, 1 do wait() | |
7818 | asd:Destroy() | |
7819 | asd2 = Instance.new("Sound",char) | |
7820 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
7821 | asd2.Volume = 3 | |
7822 | asd2.Looped = false | |
7823 | asd2:Play() | |
7824 | chatfunc("Full power!") | |
7825 | local pie22 = Instance.new("ParticleEmitter") | |
7826 | pie22.Parent = tors | |
7827 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7828 | pie22.LightEmission = 1 | |
7829 | pie22.Size = NumberSequence.new(50) | |
7830 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7831 | pie22.Transparency = NumberSequence.new(0) | |
7832 | pie22.EmissionDirection = "Top" | |
7833 | pie22.Enabled = true | |
7834 | pie22.Lifetime = NumberRange.new(10) | |
7835 | pie22.Rotation = NumberRange.new(-420, 425) | |
7836 | pie22.Rate = 400 | |
7837 | pie22.Speed = NumberRange.new(100) | |
7838 | pie22.LockedToPart = false | |
7839 | pie22.VelocitySpread = 2 | |
7840 | wait(1) | |
7841 | pie22.Size = NumberSequence.new(70) | |
7842 | wait(1) | |
7843 | pie22.Size = NumberSequence.new(140) | |
7844 | lig = Instance.new("PointLight",player.Character.Torso) | |
7845 | lig.Color=Color3.new(255,255,0) | |
7846 | lig.Range = 6 | |
7847 | rubbermodo = 1 | |
7848 | hum.JumpPower = 270 | |
7849 | lig = Instance.new("PointLight",player.Character.Torso) | |
7850 | lig.Color=Color3.new(255,255,0) | |
7851 | lig.Range = 6 | |
7852 | Crater(head,30) | |
7853 | ||
7854 | wait(0) | |
7855 | for X = 1, 1 do wait() | |
7856 | local Effect = Instance.new("Part") | |
7857 | Effect.Name = "Effect" | |
7858 | Effect.Parent = Torso | |
7859 | Effect.CFrame = Torso.CFrame | |
7860 | Effect.BrickColor = BrickColor.new("Neon orange") | |
7861 | Effect.Shape = "Ball" | |
7862 | Effect.Size = Vector3.new(1, 1, 1) | |
7863 | Effect.Anchored = true | |
7864 | Effect.Material = "Neon" | |
7865 | Effect.CanCollide = false | |
7866 | Effect.CFrame = Torso.CFrame | |
7867 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
7868 | Effect.Transparency = Effect.Transparency + 0.04 | |
7869 | pie22:Destroy() | |
7870 | end | |
7871 | end | |
7872 | ||
7873 | repeat | |
7874 | Torso:FindFirstChild("Effect"):Remove() | |
7875 | until Torso:FindFirstChild("Effect") == nil | |
7876 | ||
7877 | ||
7878 | local Color1 = Color3.new(255, 255, 0) | |
7879 | local Color2 = Color3.new(255, 255, 0) | |
7880 | chatfunc("Full Power!") | |
7881 | Instance.new("ForceField",char).Visible = false | |
7882 | hum.Name = "youdungoofed" | |
7883 | ||
7884 | asd1 = Instance.new("Sound",char) | |
7885 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
7886 | asd1.Volume = 1 | |
7887 | asd1.Looped = true | |
7888 | asd1:Play() | |
7889 | ||
7890 | local pie22 = Instance.new("ParticleEmitter") | |
7891 | pie22.Parent = larm | |
7892 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7893 | pie22.LightEmission = 1 | |
7894 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
7895 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7896 | pie22.Transparency = NumberSequence.new(0.7) | |
7897 | pie22.EmissionDirection = "Top" | |
7898 | pie22.Enabled = true | |
7899 | pie22.Lifetime = NumberRange.new(1) | |
7900 | pie22.Rotation = NumberRange.new(-420, 425) | |
7901 | pie22.Rate = 400 | |
7902 | pie22.Speed = NumberRange.new(1) | |
7903 | pie22.LockedToPart = false | |
7904 | pie22.VelocitySpread = 2 | |
7905 | local pie222 = Instance.new("ParticleEmitter") | |
7906 | pie222.Parent = rarm | |
7907 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7908 | pie222.LightEmission = 1 | |
7909 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7910 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7911 | pie222.Transparency = NumberSequence.new(0.7) | |
7912 | pie222.EmissionDirection = "Top" | |
7913 | pie222.Enabled = true | |
7914 | pie222.Lifetime = NumberRange.new(1) | |
7915 | pie222.Rotation = NumberRange.new(-420, 425) | |
7916 | pie222.Rate = 400 | |
7917 | pie222.Speed = NumberRange.new(1) | |
7918 | pie222.LockedToPart = false | |
7919 | pie222.VelocitySpread = 2 | |
7920 | local pie2222 = Instance.new("ParticleEmitter") | |
7921 | pie2222.Parent = lleg | |
7922 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7923 | pie2222.LightEmission = 1 | |
7924 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7925 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7926 | pie2222.Transparency = NumberSequence.new(0.7) | |
7927 | pie2222.EmissionDirection = "Top" | |
7928 | pie2222.Enabled = true | |
7929 | pie2222.Lifetime = NumberRange.new(1) | |
7930 | pie2222.Rotation = NumberRange.new(-420, 425) | |
7931 | pie2222.Rate = 400 | |
7932 | pie2222.Speed = NumberRange.new(1) | |
7933 | pie2222.LockedToPart = false | |
7934 | pie2222.VelocitySpread = 2 | |
7935 | local pie22222 = Instance.new("ParticleEmitter") | |
7936 | pie22222.Parent = rleg | |
7937 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7938 | pie22222.LightEmission = 1 | |
7939 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7940 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7941 | pie22222.Transparency = NumberSequence.new(0.7) | |
7942 | pie22222.EmissionDirection = "Top" | |
7943 | pie22222.Enabled = true | |
7944 | pie22222.Lifetime = NumberRange.new(1) | |
7945 | pie22222.Rotation = NumberRange.new(-420, 425) | |
7946 | pie22222.Rate = 400 | |
7947 | pie22222.Speed = NumberRange.new(1) | |
7948 | pie22222.LockedToPart = false | |
7949 | pie22222.VelocitySpread = 2 | |
7950 | local pie2242 = Instance.new("ParticleEmitter") | |
7951 | pie2242.Parent = tors | |
7952 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7953 | pie2242.LightEmission = 1 | |
7954 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
7955 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7956 | pie2242.Transparency = NumberSequence.new(0.7) | |
7957 | pie2242.EmissionDirection = "Top" | |
7958 | pie2242.Enabled = true | |
7959 | pie2242.Lifetime = NumberRange.new(1) | |
7960 | pie2242.Rotation = NumberRange.new(-420, 425) | |
7961 | pie2242.Rate = 400 | |
7962 | pie2242.Speed = NumberRange.new(1) | |
7963 | pie2242.LockedToPart = false | |
7964 | pie2242.VelocitySpread = 2 | |
7965 | ||
7966 | InForm = true | |
7967 | ||
7968 | Char.Humanoid.MaxHealth = Health | |
7969 | wait(0.3) | |
7970 | Char.Humanoid.Health = Health | |
7971 | rock = true | |
7972 | ||
7973 | end | |
7974 | ||
7975 | function Base() | |
7976 | InForm = false | |
7977 | local Effect = Instance.new("Part") | |
7978 | Effect.Name = "Effect" | |
7979 | Effect.Parent = Torso | |
7980 | Effect.CFrame = Torso.CFrame | |
7981 | Effect.BrickColor = BrickColor.new("White") | |
7982 | Effect.Shape = "Ball" | |
7983 | Effect.Size = Vector3.new(8, 8, 8) | |
7984 | Effect.Anchored = true | |
7985 | Effect.Material = "Neon" | |
7986 | Effect.CanCollide = false | |
7987 | for loop = 1, 25 do wait() | |
7988 | Effect.CFrame = Torso.CFrame | |
7989 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
7990 | Effect.Transparency = Effect.Transparency + 0.04 | |
7991 | ||
7992 | end | |
7993 | repeat | |
7994 | Torso:FindFirstChild("Effect"):Remove() | |
7995 | until Torso:FindFirstChild("Effect") == nil | |
7996 | ||
7997 | for i, v in pairs(Torso:GetChildren()) do | |
7998 | if v:IsA('ParticleEmitter') then | |
7999 | v:Remove() | |
8000 | asd1:Destroy() | |
8001 | killbrick:Destroy() | |
8002 | end | |
8003 | end | |
8004 | char.Humanoid.MaxHealth = BaseHealth | |
8005 | wait(0.3) | |
8006 | char.Humanoid.Health = BaseHealth | |
8007 | ||
8008 | ||
8009 | end | |
8010 | ||
8011 | mouse.KeyDown:connect(function(key) | |
8012 | if key=="9" then | |
8013 | Base() | |
8014 | lig:Destroy() | |
8015 | rubbermodo = 0 | |
8016 | end | |
8017 | end) | |
8018 | ||
8019 | Player.Chatted:connect(function(Message) | |
8020 | if Message == "Time to get serious." and InForm == false then | |
8021 | wait(0.10) | |
8022 | Serious2() | |
8023 | end | |
8024 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
8025 | Base() | |
8026 | end | |
8027 | end) | |
8028 | ||
8029 | ||
8030 | local plr = game.Players.LocalPlayer | |
8031 | local char = game.Workspace:WaitForChild(plr.Name) | |
8032 | local m = plr:GetMouse() | |
8033 | local trans = false | |
8034 | local realdeb = false | |
8035 | local PGui = plr:WaitForChild("PlayerGui") | |
8036 | local chat = game:GetService"Chat" | |
8037 | local Head = char:WaitForChild"Head" | |
8038 | local Torso = char:WaitForChild"Torso" | |
8039 | local HRP = char:WaitForChild"HumanoidRootPart" | |
8040 | local RArm = char:WaitForChild"Right Arm" | |
8041 | local LArm = char:WaitForChild"Left Arm" | |
8042 | local RLeg = char:WaitForChild"Right Leg" | |
8043 | local LLeg = char:WaitForChild"Left Leg" | |
8044 | local Hum = char:WaitForChild'Humanoid' | |
8045 | local lastspeed = Hum.WalkSpeed | |
8046 | msgz = Instance.new("Message", PGui) | |
8047 | msgz.Text = "Full Power! Press , To transform!" | |
8048 | game.Debris:AddItem(msgz, 6.5) | |
8049 | local part = Instance.new"Part" | |
8050 | part.Name = "TransformationPart" | |
8051 | part.FormFactor = "Custom" | |
8052 | part.Size = Vector3.new(1,1,1) | |
8053 | part.Material = "SmoothPlastic" | |
8054 | part.TopSurface = "Smooth" | |
8055 | part.BottomSurface = "Smooth" | |
8056 | part.Anchored = true | |
8057 | part.CanCollide = false | |
8058 | ||
8059 | local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]} | |
8060 | local Refresh = function() | |
8061 | Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
8062 | Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
8063 | Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
8064 | Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
8065 | Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
8066 | Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
8067 | Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
8068 | Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
8069 | Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
8070 | Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
8071 | Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
8072 | Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
8073 | end | |
8074 | ||
8075 | local Anims = {Scrunch = function(active) | |
8076 | if active then | |
8077 | for i = 0, 10, 0.5 do | |
8078 | wait(0.016666666666667) | |
8079 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
8080 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
8081 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01) | |
8082 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01) | |
8083 | end | |
8084 | else | |
8085 | do | |
8086 | for i = 0, 10, 0.5 do | |
8087 | wait(0.016666666666667) | |
8088 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
8089 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
8090 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01):inverse() | |
8091 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01):inverse() | |
8092 | end | |
8093 | Refresh() | |
8094 | end | |
8095 | end | |
8096 | end | |
8097 | , Implode = function(active) | |
8098 | if active then | |
8099 | for i = 0, 10, 0.75 do | |
8100 | wait(0.016666666666667) | |
8101 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155) | |
8102 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155) | |
8103 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015) | |
8104 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015) | |
8105 | end | |
8106 | else | |
8107 | do | |
8108 | for i = 0, 10, 0.75 do | |
8109 | wait(0.016666666666667) | |
8110 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155):inverse() | |
8111 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155):inverse() | |
8112 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse() | |
8113 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse() | |
8114 | end | |
8115 | end | |
8116 | end | |
8117 | end | |
8118 | } | |
8119 | ||
8120 | local transform = function() | |
8121 | if (trans == false and realdeb == false) then | |
8122 | trans = true | |
8123 | Hum.WalkSpeed = 0 | |
8124 | local area = part:Clone() | |
8125 | area.CFrame = Torso.CFrame | |
8126 | area.Parent = workspace | |
8127 | Torso.Anchored = true | |
8128 | for i=1,10 do | |
8129 | area.CFrame = area.CFrame * CFrame.new(0,1,0) | |
8130 | Torso.CFrame = area.CFrame | |
8131 | wait() | |
8132 | end | |
8133 | local weld2 = Instance.new("Weld", area) | |
8134 | weld2.Part0 = area | |
8135 | weld2.Part1 = Torso | |
8136 | weld2.C0 = CFrame.new() | |
8137 | Torso.Anchored = false | |
8138 | delay(0,function() | |
8139 | end) | |
8140 | delay(0,function() | |
8141 | chat:Chat(char["Head"],"How about i give it all i got?","Red") | |
8142 | end) | |
8143 | delay(0,function() | |
8144 | for i=1,5 do | |
8145 | wait() | |
8146 | delay(0,function() | |
8147 | local dzI = 100 | |
8148 | while dzI > 10 do | |
8149 | dzI = dzI - 1 | |
8150 | local p = Instance.new("Part", char.Head) | |
8151 | p.Anchored = false | |
8152 | p.Size = Vector3.new(math.random(1,4),math.random(1,4),math.random(1,4)) | |
8153 | p.Material = "Neon" | |
8154 | local kekz2 = math.random(1,2) | |
8155 | if kekz2 == 2 then | |
8156 | p.BrickColor = BrickColor.new("New Yeller") | |
8157 | else | |
8158 | p.BrickColor = BrickColor.new("Neon orange") | |
8159 | end | |
8160 | p.CFrame = char.Torso.CFrame*CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
8161 | local t = Instance.new("BodyPosition", p) | |
8162 | t.P = 20000 | |
8163 | t.Position = char.Torso.Position | |
8164 | game:service("Debris"):AddItem(p, 2.4) | |
8165 | wait() | |
8166 | delay(0,function() | |
8167 | for i=1,10 do | |
8168 | p.Transparency = i/10 | |
8169 | p.CFrame = p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20),0,math.random(-20,20)) | |
8170 | wait() | |
8171 | end | |
8172 | p:Remove() | |
8173 | end) | |
8174 | end | |
8175 | end) | |
8176 | end | |
8177 | end) | |
8178 | delay(0,function() | |
8179 | for q=1,120 do | |
8180 | local xz = Instance.new("Part",plr.Character) | |
8181 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
8182 | xz.Anchored = true | |
8183 | xz.Transparency = 1 | |
8184 | xz.CanCollide = false | |
8185 | wait(0.04) | |
8186 | local pos2 = xz.Position | |
8187 | local pos = plr.Character.Torso.Position | |
8188 | local radius = math.random(1,1.5) | |
8189 | local numParts = math.random(5,15) | |
8190 | local model = plr.Character.Torso | |
8191 | local lv = CFrame.new(pos,pos2).lookVector | |
8192 | local dist = (pos-pos2).magnitude | |
8193 | local dbp = dist/numParts | |
8194 | local last = pos | |
8195 | for i = 1,numParts do | |
8196 | local p = Instance.new("Part",model) | |
8197 | p.FormFactor = "Symmetric" | |
8198 | p.Size = Vector3.new(1,1,1) | |
8199 | p.CanCollide = false | |
8200 | p.Anchored = true | |
8201 | p.Material = "Neon" | |
8202 | local kekz2 = math.random(1,2) | |
8203 | if kekz2 == 2 then | |
8204 | p.BrickColor = BrickColor.new("New Yeller") | |
8205 | else | |
8206 | p.BrickColor = BrickColor.new("Neon orange") | |
8207 | end | |
8208 | p.Transparency = 0.5 | |
8209 | local x = math.random(-2,2)/2*dbp/4 | |
8210 | local y = math.random(-2,2)/2*dbp/4 | |
8211 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
8212 | local dist2 = (p2.p-last).magnitude | |
8213 | local mid = (p2.p+last)/2 | |
8214 | local m = Instance.new("BlockMesh",p) | |
8215 | m.Scale = Vector3.new(radius,radius,dist2) | |
8216 | p.CFrame = CFrame.new(mid,p2.p) | |
8217 | last = p2.p | |
8218 | game:GetService("Debris"):AddItem(p,0.1) | |
8219 | end | |
8220 | wait() | |
8221 | xz:remove() | |
8222 | end | |
8223 | ||
8224 | kekd = false | |
8225 | end) | |
8226 | Anims.Scrunch(true) | |
8227 | for i = 1, 8 do | |
8228 | wait(0.9) | |
8229 | for i = 1, math.random(4, 6) do | |
8230 | local p = part:Clone() | |
8231 | p.Parent = Torso | |
8232 | p.Anchored = true | |
8233 | p.Material = "Neon" | |
8234 | p.CFrame = Torso.CFrame | |
8235 | p.CanCollide = false | |
8236 | -- game:service("Debris"):AddItem(p, 0.2) | |
8237 | local kekz2 = math.random(1,2) | |
8238 | if kekz2 == 2 then | |
8239 | p.BrickColor = BrickColor.new("New Yeller") | |
8240 | else | |
8241 | p.BrickColor = BrickColor.new("New Yeller") | |
8242 | end | |
8243 | local w = Instance.new("Weld", p) | |
8244 | w.Part0 = p | |
8245 | w.Part1 = Torso | |
8246 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
8247 | local m = Instance.new("CylinderMesh", p) | |
8248 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
8249 | coroutine.resume(coroutine.create(function() | |
8250 | for i = 1, 25 do | |
8251 | wait(0.071428571428571) | |
8252 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
8253 | p.Transparency = i / 25 | |
8254 | end | |
8255 | pcall(game.Destroy, p) | |
8256 | end | |
8257 | )) | |
8258 | end | |
8259 | end | |
8260 | coroutine.resume(coroutine.create(function() | |
8261 | for i = 1, 6 do | |
8262 | wait(0.9) | |
8263 | --Player.Character.Torso.Anchored = true | |
8264 | coroutine.resume(coroutine.create(function() | |
8265 | local p = part:Clone() | |
8266 | p.Parent = Torso | |
8267 | p.Anchored = false | |
8268 | p.CanCollide = false | |
8269 | p.CFrame = Torso.CFrame | |
8270 | local kekz2 = math.random(1,2) | |
8271 | if kekz2 == 2 then | |
8272 | p.BrickColor = BrickColor.new("New Yeller") | |
8273 | else | |
8274 | p.BrickColor = BrickColor.new("Neon orange") | |
8275 | end | |
8276 | --game:service("Debris"):AddItem(p, 0.2) | |
8277 | local w = Instance.new("Weld", p) | |
8278 | w.Part0 = p | |
8279 | w.Part1 = Torso | |
8280 | w.C0 = w.C0 * CFrame.Angles(0, math.rad(90), 0) | |
8281 | local m = Instance.new("SpecialMesh", p) | |
8282 | m.MeshId = "rbxassetid://3270017" | |
8283 | m.Scale = Vector3.new(10, 10, 5) | |
8284 | coroutine.resume(coroutine.create(function() | |
8285 | for i = 1, 25 do | |
8286 | wait(0.071428571428571) | |
8287 | w.C0 = w.C0 * CFrame.Angles(-0.05, 0.05 * math.random(), 0.05 * math.random()) | |
8288 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
8289 | p.Transparency = i / 25 | |
8290 | end | |
8291 | pcall(game.Destroy, p) | |
8292 | end | |
8293 | )) | |
8294 | end | |
8295 | )) | |
8296 | local p = part:Clone() | |
8297 | do | |
8298 | p.Parent = Torso | |
8299 | p.Anchored = false | |
8300 | p.CFrame = Torso.CFrame | |
8301 | p.CanCollide = false | |
8302 | -- game:service("Debris"):AddItem(p, 0.2) | |
8303 | local kekz2 = math.random(1,2) | |
8304 | if kekz2 == 2 then | |
8305 | p.BrickColor = BrickColor.new("New Yeller") | |
8306 | else | |
8307 | p.BrickColor = BrickColor.new("Neon orange") | |
8308 | end | |
8309 | local w = Instance.new("Weld", p) | |
8310 | w.Part0 = p | |
8311 | w.Part1 = Torso | |
8312 | local m = Instance.new("SpecialMesh", p) | |
8313 | m.MeshId = "rbxassetid://3270017" | |
8314 | m.Scale = Vector3.new(10, 10, 5) | |
8315 | coroutine.resume(coroutine.create(function() | |
8316 | for i = 1, 25 do | |
8317 | wait(0.071428571428571) | |
8318 | w.C0 = w.C0 * CFrame.Angles(0.05 * math.random(), -0.05 * math.random(), -0.05 * math.random()) | |
8319 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
8320 | p.Transparency = i / 25 | |
8321 | end | |
8322 | pcall(game.Destroy, p) | |
8323 | end | |
8324 | )) | |
8325 | end | |
8326 | end | |
8327 | end | |
8328 | )) | |
8329 | for i=1, 6 do | |
8330 | wait(0.9) | |
8331 | for i = 1, math.random(4, 6) do | |
8332 | local p = part:Clone() | |
8333 | p.Parent = Torso | |
8334 | p.Anchored = true | |
8335 | p.CFrame = Torso.CFrame | |
8336 | local kekz2 = math.random(1,2) | |
8337 | if kekz2 == 2 then | |
8338 | p.BrickColor = BrickColor.new("New Yeller") | |
8339 | else | |
8340 | p.BrickColor = BrickColor.new("Bright yellow") | |
8341 | end | |
8342 | local me = Instance.new("SpecialMesh",p) | |
8343 | me.MeshId = "rbxassetid://9982590" | |
8344 | me.Scale = Vector3.new(4,4,4) | |
8345 | delay(0,function() | |
8346 | for i=1,10 do | |
8347 | p.Transparency = i/10 | |
8348 | p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-20,20)/50),math.rad(math.random(-20,20)/50),0) | |
8349 | me.Scale = me.Scale + Vector3.new(4,4,4) | |
8350 | wait() | |
8351 | end | |
8352 | p:Destroy() | |
8353 | end) | |
8354 | wait() | |
8355 | end | |
8356 | end | |
8357 | Torso.Anchored = true | |
8358 | for i=1,10 do | |
8359 | Torso.CFrame = Torso.CFrame * CFrame.new(0,-1,0) | |
8360 | area.CFrame = Torso.CFrame | |
8361 | wait() | |
8362 | end | |
8363 | realdeb = true | |
8364 | Hum.WalkSpeed = 16 | |
8365 | Anims.Scrunch(false) | |
8366 | Torso.Anchored = false | |
8367 | area:Destroy() | |
8368 | wait(0.6) | |
8369 | Serious() | |
8370 | end | |
8371 | end | |
8372 | ||
8373 | local off = function() | |
8374 | if (realdeb == true and trans == true) then | |
8375 | trans = false | |
8376 | Hum.WalkSpeed = 0 | |
8377 | delay(0,function() | |
8378 | for q=1,120 do | |
8379 | local xz = Instance.new("Part",plr.Character) | |
8380 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
8381 | xz.Anchored = true | |
8382 | xz.Transparency = 1 | |
8383 | xz.CanCollide = false | |
8384 | wait(0.04) | |
8385 | local pos2 = xz.Position | |
8386 | local pos = plr.Character.Torso.Position | |
8387 | local radius = math.random(1,1.5) | |
8388 | local numParts = math.random(5,15) | |
8389 | local model = plr.Character.Torso | |
8390 | local lv = CFrame.new(pos,pos2).lookVector | |
8391 | local dist = (pos-pos2).magnitude | |
8392 | local dbp = dist/numParts | |
8393 | local last = pos | |
8394 | for i = 1,numParts do | |
8395 | local p = Instance.new("Part",model) | |
8396 | p.FormFactor = "Symmetric" | |
8397 | p.Size = Vector3.new(1,1,1) | |
8398 | p.CanCollide = false | |
8399 | p.Anchored = false | |
8400 | p.Material = "Neon" | |
8401 | local kekz2 = math.random(1,2) | |
8402 | if kekz2 == 2 then | |
8403 | p.BrickColor = BrickColor.new("Really red") | |
8404 | else | |
8405 | p.BrickColor = BrickColor.new("Dark red") | |
8406 | end | |
8407 | p.Transparency = 0.5 | |
8408 | local x = math.random(-2,2)/2*dbp/4 | |
8409 | local y = math.random(-2,2)/2*dbp/4 | |
8410 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
8411 | local dist2 = (p2.p-last).magnitude | |
8412 | local mid = (p2.p+last)/2 | |
8413 | local m = Instance.new("BlockMesh",p) | |
8414 | m.Scale = Vector3.new(radius,radius,dist2) | |
8415 | p.CFrame = CFrame.new(mid,p2.p) | |
8416 | last = p2.p | |
8417 | game:GetService("Debris"):AddItem(p,0.2) | |
8418 | end | |
8419 | wait() | |
8420 | xz:remove() | |
8421 | end | |
8422 | end) | |
8423 | Anims.Scrunch(true) | |
8424 | for i = 1, 8 do | |
8425 | wait(0.9) | |
8426 | for i = 1, math.random(4, 6) do | |
8427 | local p = part:Clone() | |
8428 | p.Parent = Torso | |
8429 | p.Anchored = true | |
8430 | p.CFrame = Torso.CFrame | |
8431 | p.CanCollide = false | |
8432 | -- game:service("Debris"):AddItem(p, 0.2) | |
8433 | local kekz2 = math.random(1,2) | |
8434 | if kekz2 == 2 then | |
8435 | p.BrickColor = BrickColor.new("Really red") | |
8436 | else | |
8437 | p.BrickColor = BrickColor.new("Dark red") | |
8438 | end | |
8439 | local w = Instance.new("Weld", p) | |
8440 | w.Part0 = p | |
8441 | w.Part1 = Torso | |
8442 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
8443 | local m = Instance.new("CylinderMesh", p) | |
8444 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
8445 | coroutine.resume(coroutine.create(function() | |
8446 | for i = 1, 25 do | |
8447 | wait(0.071428571428571) | |
8448 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
8449 | p.Transparency = i / 25 | |
8450 | end | |
8451 | pcall(game.Destroy, p) | |
8452 | end | |
8453 | )) | |
8454 | end | |
8455 | end | |
8456 | Anims.Scrunch(false) | |
8457 | Hum.WalkSpeed = 16 | |
8458 | realdeb = false | |
8459 | end | |
8460 | end | |
8461 | ||
8462 | ||
8463 | m.KeyDown:connect(function(key) | |
8464 | local k = key:lower() | |
8465 | if key == "," then | |
8466 | if (trans == false and realdeb == false) then | |
8467 | transform() | |
8468 | elseif (trans == true and realdeb == true) then | |
8469 | off() | |
8470 | end | |
8471 | end | |
8472 | end) | |
8473 | ||
8474 | ||
8475 | ||
8476 | Humanoid.Animator.Parent = nil | |
8477 | idleanim=.4 | |
8478 | while true do | |
8479 | swait() | |
8480 | sine = sine + change | |
8481 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
8482 | local velderp=RootPart.Velocity.y | |
8483 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
8484 | if equipped==true or equipped==false then | |
8485 | if attack==false then | |
8486 | idle=idle+1 | |
8487 | else | |
8488 | idle=0 | |
8489 | end | |
8490 | if idle>=500 then | |
8491 | if attack==false then | |
8492 | --Sheath() | |
8493 | end | |
8494 | end | |
8495 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
8496 | Anim="Jump" | |
8497 | if attack==false then | |
8498 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
8499 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
8500 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8501 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
8502 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8503 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3) | |
8504 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8505 | RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2) | |
8506 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2) | |
8507 | end | |
8508 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
8509 | Anim="Fall" | |
8510 | if attack==false then | |
8511 | Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3) | |
8512 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
8513 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
8514 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3) | |
8515 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8516 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
8517 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8518 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2) | |
8519 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2) | |
8520 | end | |
8521 | elseif torvel<1 and hitfloor~=nil then | |
8522 | Anim="Idle" | |
8523 | if jumped == false then | |
8524 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) | |
8525 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) | |
8526 | end | |
8527 | if attack==false then | |
8528 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8529 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 0 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3) | |
8530 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3) | |
8531 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3) | |
8532 | end | |
8533 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
8534 | Anim="Walk" | |
8535 | if jumped == false then | |
8536 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3) | |
8537 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3) | |
8538 | end | |
8539 | if attack==false then | |
8540 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
8541 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8542 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3) | |
8543 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3) | |
8544 | end | |
8545 | elseif torvel>=22 and hitfloor~=nil then | |
8546 | Anim="Run" | |
8547 | if jumped == false then | |
8548 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3) | |
8549 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3) | |
8550 | end | |
8551 | if attack==false then | |
8552 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
8553 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8554 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3) | |
8555 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3) | |
8556 | end | |
8557 | end | |
8558 | end | |
8559 | end |