SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer | |
6 | end | |
7 | warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|' | |
8 | wait(1) | |
9 | plr = game.Players.LocalPlayer | |
10 | char = plr.Character | |
11 | hum = char.Humanoid | |
12 | local cam = game.Workspace.CurrentCamera | |
13 | t = char.Torso | |
14 | h = char.Head | |
15 | ra = char["Right Arm"] | |
16 | la = char["Left Arm"] | |
17 | rl = char["Right Leg"] | |
18 | ll = char["Left Leg"] | |
19 | tors = char.Torso | |
20 | lleg = char["Left Leg"] | |
21 | root = char.HumanoidRootPart | |
22 | char.Humanoid.MaxHealth = 250000 | |
23 | wait() | |
24 | char.Humanoid.Health = 250000 | |
25 | hed = char.Head | |
26 | rleg = char["Right Leg"] | |
27 | rarm = char["Right Arm"] | |
28 | larm = char["Left Arm"] | |
29 | vt = Vector3.new | |
30 | bc = BrickColor.new | |
31 | br = BrickColor.random | |
32 | it = Instance.new | |
33 | cf = CFrame.new | |
34 | local rock3 = false | |
35 | local rock2 = false | |
36 | local rock = false | |
37 | New = function(Object, Parent, Name, Data) | |
38 | local Object = Instance.new(Object) | |
39 | for Index, Value in pairs(Data or {}) do | |
40 | Object[Index] = Value | |
41 | end | |
42 | Object.Parent = Parent | |
43 | Object.Name = Name | |
44 | return Object | |
45 | end | |
46 | ||
47 | local v3 = Vector3.new | |
48 | local ns = NumberSequence.new | |
49 | local nr = NumberRange.new | |
50 | local new = Instance.new | |
51 | local cf = CFrame.new | |
52 | local cfa = CFrame.Angles | |
53 | local bc = BrickColor.new | |
54 | ----------------------------------- | |
55 | function chatfunc(text) | |
56 | local chat = coroutine.wrap(function() | |
57 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
58 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
59 | end | |
60 | local naeeym2 = Instance.new("BillboardGui",Character) | |
61 | naeeym2.Size = UDim2.new(0,100,0,40) | |
62 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
63 | naeeym2.Adornee = Character.Head | |
64 | naeeym2.Name = "TalkingBillBoard" | |
65 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
66 | tecks2.BackgroundTransparency = 1 | |
67 | tecks2.BorderSizePixel = 0 | |
68 | tecks2.Text = "" | |
69 | tecks2.Font = "ArialBold" | |
70 | tecks2.TextSize = 30 | |
71 | tecks2.TextStrokeTransparency = 0 | |
72 | tecks2.TextColor3 = Color3.new(255,255,0) | |
73 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
74 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
75 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
76 | tecks3.BackgroundTransparency = 1 | |
77 | tecks3.BorderSizePixel = 0 | |
78 | tecks3.Text = "" | |
79 | tecks3.Font = "ArialBold" | |
80 | tecks3.TextSize = 30 | |
81 | tecks3.TextStrokeTransparency = 0 | |
82 | tecks3.TextColor3 = Color3.new(255,255,0) | |
83 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
84 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
85 | for i = 1,string.len(text),1 do | |
86 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, .6, .8) | |
87 | tecks2.Text = string.sub(text,1,i) | |
88 | tecks3.Text = string.sub(text,1,i) | |
89 | wait(0.01) | |
90 | end | |
91 | wait(2) | |
92 | for i = 1, 50 do | |
93 | swait() | |
94 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
95 | tecks2.Rotation = tecks2.Rotation - .8 | |
96 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
97 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
98 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
99 | tecks3.Rotation = tecks2.Rotation + .8 | |
100 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
101 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
102 | end | |
103 | naeeym2:Destroy() | |
104 | end) | |
105 | chat() | |
106 | end | |
107 | function onChatted(msg) | |
108 | chatfunc(msg) | |
109 | end | |
110 | if rock == true then | |
111 | wait(math.random(0.1,0.5)) | |
112 | ay = new("Part",tors) | |
113 | ay.Name = "NewPart2" | |
114 | ay.Size = v3(0.3,0.3,0.3) | |
115 | ay.CanCollide = false | |
116 | for i,v in pairs(workspace:GetChildren()) do | |
117 | if v:IsA("Part") then | |
118 | if v.Size.x > 150 then | |
119 | ||
120 | ||
121 | ay.BrickColor = v.BrickColor | |
122 | ay.Material = v.Material | |
123 | ay.Transparency = v.Transparency | |
124 | end | |
125 | end | |
126 | end | |
127 | ay.Position = v3(999,999,999) | |
128 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
129 | ys = Instance.new("BodyVelocity",ay) | |
130 | ys.Name = "GO" | |
131 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
132 | ||
133 | ys.Velocity = v3(0,6,0) | |
134 | game.Debris:AddItem(ay,math.random(3,4)) | |
135 | end | |
136 | ||
137 | ----------------------------------- | |
138 | ||
139 | local Create = LoadLibrary("RbxUtility").Create | |
140 | ||
141 | CFuncs = { | |
142 | ["Part"] = { | |
143 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
144 | local Part = Create("Part"){ | |
145 | Parent = Parent, | |
146 | Reflectance = Reflectance, | |
147 | Transparency = Transparency, | |
148 | CanCollide = false, | |
149 | Locked = true, | |
150 | BrickColor = BrickColor.new(tostring(BColor)), | |
151 | Name = Name, | |
152 | Size = Size, | |
153 | Material = Material, | |
154 | } | |
155 | RemoveOutlines(Part) | |
156 | return Part | |
157 | end; | |
158 | }; | |
159 | ||
160 | ["Mesh"] = { | |
161 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
162 | local Msh = Create(Mesh){ | |
163 | Parent = Part, | |
164 | Offset = OffSet, | |
165 | Scale = Scale, | |
166 | } | |
167 | if Mesh == "SpecialMesh" then | |
168 | Msh.MeshType = MeshType | |
169 | Msh.MeshId = MeshId | |
170 | end | |
171 | return Msh | |
172 | end; | |
173 | }; | |
174 | ||
175 | ["Mesh"] = { | |
176 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
177 | local Msh = Create(Mesh){ | |
178 | Parent = Part, | |
179 | Offset = OffSet, | |
180 | Scale = Scale, | |
181 | } | |
182 | if Mesh == "SpecialMesh" then | |
183 | Msh.MeshType = MeshType | |
184 | Msh.MeshId = MeshId | |
185 | end | |
186 | return Msh | |
187 | end; | |
188 | }; | |
189 | ||
190 | ["Weld"] = { | |
191 | Create = function(Parent, Part0, Part1, C0, C1) | |
192 | local Weld = Create("Weld"){ | |
193 | Parent = Parent, | |
194 | Part0 = Part0, | |
195 | Part1 = Part1, | |
196 | C0 = C0, | |
197 | C1 = C1, | |
198 | } | |
199 | return Weld | |
200 | end; | |
201 | }; | |
202 | - | Pitch = pit or 1, |
202 | + | |
203 | - | SoundId = id, |
203 | + | |
204 | - | Parent = par or workspace, |
204 | + | |
205 | coroutine.resume(coroutine.create(function() | |
206 | local S = Create("Sound"){ | |
207 | Volume = vol, | |
208 | Pitch = pit or 1, | |
209 | SoundId = id, | |
210 | Parent = par or workspace, | |
211 | } | |
212 | wait() | |
213 | S:play() | |
214 | game:GetService("Debris"):AddItem(S, 10) | |
215 | end)) | |
216 | end; | |
217 | }; | |
218 | ||
219 | ["ParticleEmitter"] = { | |
220 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
221 | local fp = Create("ParticleEmitter"){ | |
222 | Parent = Parent, | |
223 | Color = ColorSequence.new(Color1, Color2), | |
224 | LightEmission = LightEmission, | |
225 | Size = Size, | |
226 | Texture = Texture, | |
227 | Transparency = Transparency, | |
228 | ZOffset = ZOffset, | |
229 | Acceleration = Accel, | |
230 | Drag = Drag, | |
231 | LockedToPart = LockedToPart, | |
232 | VelocityInheritance = VelocityInheritance, | |
233 | EmissionDirection = EmissionDirection, | |
234 | Enabled = Enabled, | |
235 | Lifetime = LifeTime, | |
236 | Rate = Rate, | |
237 | Rotation = Rotation, | |
238 | RotSpeed = RotSpeed, | |
239 | Speed = Speed, | |
240 | VelocitySpread = VelocitySpread, | |
241 | } | |
242 | return fp | |
243 | end; | |
244 | }; | |
245 | ||
246 | CreateTemplate = { | |
247 | ||
248 | }; | |
249 | } | |
250 | ||
251 | ||
252 | ||
253 | New = function(Object, Parent, Name, Data) | |
254 | local Object = Instance.new(Object) | |
255 | for Index, Value in pairs(Data or {}) do | |
256 | Object[Index] = Value | |
257 | end | |
258 | Object.Parent = Parent | |
259 | Object.Name = Name | |
260 | return Object | |
261 | end | |
262 | local m = Instance.new("Model",char) | |
263 | ||
264 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
265 | local p = Instance.new("Part") | |
266 | p.Parent = parent | |
267 | p.Size = Vector3.new(1,1,1) | |
268 | p.Transparency = transparency | |
269 | p.Reflectance = reflectance | |
270 | p.CanCollide = false | |
271 | p.Locked = true | |
272 | p.BrickColor = brickcolor | |
273 | p.Material = material | |
274 | return p | |
275 | end | |
276 | ||
277 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
278 | local mesh = Instance.new("SpecialMesh",parent) | |
279 | mesh.MeshType = meshtype | |
280 | mesh.Scale = Vector3.new(x1,y1,z1) | |
281 | return mesh | |
282 | end | |
283 | ||
284 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
285 | local mesh = Instance.new("SpecialMesh",parent) | |
286 | mesh.MeshType = "FileMesh" | |
287 | mesh.MeshId = meshid | |
288 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
289 | mesh.Scale = Vector3.new(x1,y1,z1) | |
290 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
291 | return mesh | |
292 | end | |
293 | ||
294 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
295 | local weld = Instance.new("Weld") | |
296 | weld.Parent = parent | |
297 | weld.Part0 = part0 | |
298 | weld.Part1 = part1 | |
299 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
300 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
301 | return weld | |
302 | end | |
303 | ||
304 | ||
305 | function ApplyTrig(Num,Func) | |
306 | local Min,Max = Func(0),Func(1) | |
307 | local i = Func(Num) | |
308 | return (i-Min)/(Max-Min) | |
309 | --[[if Func == "sin" then | |
310 | return (math.sin((1-Num)*math.pi)+1)/2 | |
311 | elseif Func == "cos" then | |
312 | return (math.cos((1-Num)*math.pi)+1)/2 | |
313 | end]] | |
314 | end | |
315 | ||
316 | local acos = math.acos | |
317 | local sqrt = math.sqrt | |
318 | local Vec3 = Vector3.new | |
319 | ||
320 | local function toAxisAngle(CFr) | |
321 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
322 | local Angle = math.acos((R00+R11+R22-1)/2) | |
323 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
324 | A = A == 0 and 0.00001 or A | |
325 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
326 | B = B == 0 and 0.00001 or B | |
327 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
328 | C = C == 0 and 0.00001 or C | |
329 | local x = (R21-R12)/sqrt(A) | |
330 | local y = (R02-R20)/sqrt(B) | |
331 | local z = (R10-R01)/sqrt(C) | |
332 | return Vec3(x,y,z),Angle | |
333 | end | |
334 | ||
335 | local fromAxisAngle = CFrame.fromAxisAngle | |
336 | ||
337 | function LerpCFrame(CFrame1,CFrame2,Num) | |
338 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
339 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
340 | end | |
341 | ||
342 | ||
343 | ||
344 | ||
345 | ||
346 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
347 | 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)) | |
348 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
349 | 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)) | |
350 | ||
351 | Player=game:GetService("Players").LocalPlayer | |
352 | Character=Player.Character | |
353 | PlayerGui=Player.PlayerGui | |
354 | Backpack=Player.Backpack | |
355 | Torso=Character.Torso | |
356 | Head=Character.Head | |
357 | Humanoid=Character.Humanoid | |
358 | m=Instance.new('Model',Character) | |
359 | LeftArm=Character["Left Arm"] | |
360 | LeftLeg=Character["Left Leg"] | |
361 | RightArm=Character["Right Arm"] | |
362 | RightLeg=Character["Right Leg"] | |
363 | LS=Torso["Left Shoulder"] | |
364 | LH=Torso["Left Hip"] | |
365 | RS=Torso["Right Shoulder"] | |
366 | RH=Torso["Right Hip"] | |
367 | Face = Head.face | |
368 | Neck=Torso.Neck | |
369 | it=Instance.new | |
370 | attacktype=1 | |
371 | vt=Vector3.new | |
372 | cf=CFrame.new | |
373 | euler=CFrame.fromEulerAnglesXYZ | |
374 | angles=CFrame.Angles | |
375 | cloaked=false | |
376 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
377 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
378 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
379 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
380 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
381 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
382 | RootPart=Character.HumanoidRootPart | |
383 | RootJoint=RootPart.RootJoint | |
384 | RootCF=euler(-1.57,0,3.14) | |
385 | attack = false | |
386 | attackdebounce = false | |
387 | deb=false | |
388 | equipped=true | |
389 | hand=false | |
390 | MMouse=nil | |
391 | combo=0 | |
392 | mana=0 | |
393 | trispeed=.2 | |
394 | attackmode='none' | |
395 | local idle=0 | |
396 | local Effects={} | |
397 | local gun=false | |
398 | local shoot=false | |
399 | local sine = 0 | |
400 | local change = 1 | |
401 | player=nil | |
402 | --char.Shirt:Remove() | |
403 | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end | |
404 | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end | |
405 | wait()--shirt = Instance.new("Shirt", char) | |
406 | --shirt.Name = "Shirt" | |
407 | --pants = Instance.new("Pants", char) | |
408 | --pants.Name = "Pants" | |
409 | shirt = Instance.new("Shirt", char) | |
410 | shirt.Name = "Shirt" | |
411 | pants = Instance.new("Pants", char) | |
412 | pants.Name = "Pants" | |
413 | char.Head.face.Texture = "rbxassetid://29291814" | |
414 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=548416871" | |
415 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=465693223" | |
416 | hum.JumpPower = 120 | |
417 | Instance.new("ForceField",char).Visible = false | |
418 | tp = true | |
419 | hum.WalkSpeed = 20 | |
420 | local ChatService = game:GetService("Chat") | |
421 | local player = game.Players.LocalPlayer | |
422 | m=player:GetMouse() | |
423 | bb = Instance.new("BillboardGui",player.Character.Head) | |
424 | bb.Enabled = true | |
425 | ||
426 | ||
427 | ||
428 | ||
429 | Hair7 = Instance.new("Part") | |
430 | Hair7.Parent = char | |
431 | Hair7.Name = "Hair" | |
432 | Hair7.CanCollide = false | |
433 | Hair7.Locked = true | |
434 | Hair7.TopSurface = "Smooth" | |
435 | Hair7.BottomSurface = "Smooth" | |
436 | Hair7.formFactor = "Symmetric" | |
437 | Hair7.Material = "Neon" | |
438 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
439 | Hair7.CFrame = char.Torso.CFrame | |
440 | Hair7.Size = Vector3.new(1, 1, 1) | |
441 | Hair7.Transparency = 0 | |
442 | ||
443 | ||
444 | Weld1 = Instance.new("Weld") | |
445 | Weld1.Parent = char.Head | |
446 | Weld1.Part0 = char.Head | |
447 | Weld1.Part1 = Hair7 | |
448 | Weld1.C0 = CFrame.new(0, 1, 0) | |
449 | ||
450 | Mesh = Instance.new("SpecialMesh") | |
451 | Mesh.Offset = Vector3.new(0,-0.7,0) | |
452 | Mesh.Parent = Hair7 | |
453 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
454 | Mesh.MeshType = "FileMesh" | |
455 | Mesh.MeshId = "http://www.roblox.com/asset/?id=212966179" | |
456 | Mesh.TextureId = "http://www.roblox.com/asset/?id=575345085" | |
457 | ||
458 | ||
459 | asd = Instance.new("Sound",char) | |
460 | asd.SoundId = "http://www.roblox.com/asset/?id = 335204822" | |
461 | asd.Volume = 3 | |
462 | asd.Looped = true | |
463 | ||
464 | ||
465 | ||
466 | ||
467 | ||
468 | ||
469 | ||
470 | ||
471 | for i,v in pairs(char:GetChildren()) do | |
472 | if v.ClassName == "Accessory" then | |
473 | v:Destroy() | |
474 | end | |
475 | end | |
476 | ||
477 | Hair7 = Instance.new("Part") | |
478 | Hair7.Parent = char | |
479 | Hair7.Name = "Hair" | |
480 | Hair7.CanCollide = false | |
481 | Hair7.Locked = true | |
482 | Hair7.TopSurface = "Smooth" | |
483 | Hair7.BottomSurface = "Smooth" | |
484 | Hair7.formFactor = "Symmetric" | |
485 | Hair7.Material = "Neon" | |
486 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
487 | Hair7.CFrame = char.Torso.CFrame | |
488 | Hair7.Size = Vector3.new(1, 1, 1) | |
489 | Hair7.Transparency = 0 | |
490 | ||
491 | ||
492 | Weld1 = Instance.new("Weld") | |
493 | Weld1.Parent = char.Head | |
494 | Weld1.Part0 = char.Head | |
495 | Weld1.Part1 = Hair7 | |
496 | Weld1.C0 = CFrame.new(0, 1, 0) | |
497 | ||
498 | Mesh = Instance.new("SpecialMesh") | |
499 | Mesh.Offset = Vector3.new(0,-0.4,0.1) | |
500 | Mesh.Parent = Hair7 | |
501 | Mesh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
502 | Mesh.MeshType = "FileMesh" | |
503 | Mesh.MeshId = "http://www.roblox.com/asset/?id=" | |
504 | Mesh.TextureId = "" | |
505 | ||
506 | ||
507 | ||
508 | ||
509 | ||
510 | local txt = Instance.new("BillboardGui", char) | |
511 | CV="Lime green" | |
512 | txt.Adornee = char .Head | |
513 | txt.Name = "_status" | |
514 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
515 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
516 | local text = Instance.new("TextLabel", txt) | |
517 | text.Size = UDim2.new(10, 0, 7, 0) | |
518 | text.FontSize = "Size24" | |
519 | text.TextScaled = true | |
520 | text.TextTransparency = 0 | |
521 | text.BackgroundTransparency = 1 | |
522 | text.TextTransparency = 0 | |
523 | text.TextStrokeTransparency = 0 | |
524 | text.Font = "Bodoni" | |
525 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
526 | text.TextColor3 = Color3.fromRGB(255,255,0) | |
527 | text.Text = "Genos" | |
528 | v=Instance.new("Part") | |
529 | v.Name = "ColorBrick" | |
530 | v.Parent= plr.Character | |
531 | v.FormFactor="Symmetric" | |
532 | v.Anchored=true | |
533 | v.CanCollide=false | |
534 | v.BottomSurface="Smooth" | |
535 | v.TopSurface="Smooth" | |
536 | v.Size=Vector3.new(10,5,3) | |
537 | v.Transparency=0 | |
538 | v.CFrame=char.Torso.CFrame | |
539 | v.BrickColor=BrickColor.new("Lime green") | |
540 | v.Transparency=1 | |
541 | v.Shape="Block" | |
542 | ||
543 | mouse=Player:GetMouse() | |
544 | --save shoulders | |
545 | RSH, LSH=nil, nil | |
546 | --welds | |
547 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
548 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
549 | LH=Torso["Left Hip"] | |
550 | RH=Torso["Right Hip"] | |
551 | TorsoColor=Torso.BrickColor | |
552 | function NoOutline(Part) | |
553 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
554 | end | |
555 | player=Player | |
556 | ch=Character | |
557 | RSH=ch.Torso["Right Shoulder"] | |
558 | LSH=ch.Torso["Left Shoulder"] | |
559 | -- | |
560 | RSH.Parent=nil | |
561 | LSH.Parent=nil | |
562 | -- | |
563 | RW.Name="Right Shoulder" | |
564 | RW.Part0=ch.Torso | |
565 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
566 | RW.C1=cf(0, 0.5, 0) | |
567 | RW.Part1=ch["Right Arm"] | |
568 | RW.Parent=ch.Torso | |
569 | -- | |
570 | LW.Name="Left Shoulder" | |
571 | LW.Part0=ch.Torso | |
572 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
573 | LW.C1=cf(0, 0.5, 0) | |
574 | LW.Part1=ch["Left Arm"] | |
575 | LW.Parent=ch.Torso | |
576 | ||
577 | local Stats=Instance.new("BoolValue") | |
578 | Stats.Name="Stats" | |
579 | Stats.Parent=Character | |
580 | local Atk=Instance.new("NumberValue") | |
581 | Atk.Name="Damage" | |
582 | Atk.Parent=Stats | |
583 | Atk.Value=1 | |
584 | local Def=Instance.new("NumberValue") | |
585 | Def.Name="Defense" | |
586 | Def.Parent=Stats | |
587 | Def.Value=1 | |
588 | local Speed=Instance.new("NumberValue") | |
589 | Speed.Name="Speed" | |
590 | Speed.Parent=Stats | |
591 | Speed.Value=1 | |
592 | local Mvmt=Instance.new("NumberValue") | |
593 | Mvmt.Name="Movement" | |
594 | Mvmt.Parent=Stats | |
595 | Mvmt.Value=1 | |
596 | ||
597 | local donum=0 | |
598 | ||
599 | ||
600 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
601 | local fp=it("Part") | |
602 | fp.formFactor=formfactor | |
603 | fp.Parent=parent | |
604 | fp.Reflectance=reflectance | |
605 | fp.Transparency=transparency | |
606 | fp.CanCollide=false | |
607 | fp.Locked=true | |
608 | fp.BrickColor=brickcolor | |
609 | fp.Name=name | |
610 | fp.Size=size | |
611 | fp.Position=Torso.Position | |
612 | NoOutline(fp) | |
613 | fp.Material="SmoothPlastic" | |
614 | fp:BreakJoints() | |
615 | return fp | |
616 | end | |
617 | ||
618 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
619 | local mesh=it(Mesh) | |
620 | mesh.Parent=part | |
621 | if Mesh=="SpecialMesh" then | |
622 | mesh.MeshType=meshtype | |
623 | if meshid~="nil" then | |
624 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
625 | end | |
626 | end | |
627 | mesh.Offset=offset | |
628 | mesh.Scale=scale | |
629 | return mesh | |
630 | end | |
631 | ||
632 | function weld(parent,part0,part1,c0) | |
633 | local weld=it("Weld") | |
634 | weld.Parent=parent | |
635 | weld.Part0=part0 | |
636 | weld.Part1=part1 | |
637 | weld.C0=c0 | |
638 | return weld | |
639 | end | |
640 | ||
641 | local Color1=Torso.BrickColor | |
642 | ||
643 | local bodvel=Instance.new("BodyVelocity") | |
644 | local bg=Instance.new("BodyGyro") | |
645 | ||
646 | function swait(num) | |
647 | if num==0 or num==nil then | |
648 | game:service'RunService'.Stepped:wait(0) | |
649 | else | |
650 | for i=0,num do | |
651 | game:service'RunService'.Stepped:wait(0) | |
652 | end | |
653 | end | |
654 | end | |
655 | ||
656 | ||
657 | so = function(id,par,vol,pit) | |
658 | coroutine.resume(coroutine.create(function() | |
659 | local sou = Instance.new("Sound",par or workspace) | |
660 | sou.Volume=vol | |
661 | sou.Pitch=pit or 1 | |
662 | sou.SoundId=id | |
663 | swait() | |
664 | sou:play() | |
665 | game:GetService("Debris"):AddItem(sou,6) | |
666 | end)) | |
667 | end | |
668 | ||
669 | function clerp(a,b,t) | |
670 | local qa = {QuaternionFromCFrame(a)} | |
671 | local qb = {QuaternionFromCFrame(b)} | |
672 | local ax, ay, az = a.x, a.y, a.z | |
673 | local bx, by, bz = b.x, b.y, b.z | |
674 | local _t = 1-t | |
675 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
676 | end | |
677 | ||
678 | function QuaternionFromCFrame(cf) | |
679 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
680 | local trace = m00 + m11 + m22 | |
681 | if trace > 0 then | |
682 | local s = math.sqrt(1 + trace) | |
683 | local recip = 0.5/s | |
684 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
685 | else | |
686 | local i = 0 | |
687 | if m11 > m00 then | |
688 | i = 1 | |
689 | end | |
690 | if m22 > (i == 0 and m00 or m11) then | |
691 | i = 2 | |
692 | end | |
693 | if i == 0 then | |
694 | local s = math.sqrt(m00-m11-m22+1) | |
695 | local recip = 0.5/s | |
696 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
697 | elseif i == 1 then | |
698 | local s = math.sqrt(m11-m22-m00+1) | |
699 | local recip = 0.5/s | |
700 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
701 | elseif i == 2 then | |
702 | local s = math.sqrt(m22-m00-m11+1) | |
703 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
704 | end | |
705 | end | |
706 | end | |
707 | ||
708 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
709 | local xs, ys, zs = x + x, y + y, z + z | |
710 | local wx, wy, wz = w*xs, w*ys, w*zs | |
711 | local xx = x*xs | |
712 | local xy = x*ys | |
713 | local xz = x*zs | |
714 | local yy = y*ys | |
715 | local yz = y*zs | |
716 | local zz = z*zs | |
717 | 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)) | |
718 | end | |
719 | ||
720 | function QuaternionSlerp(a, b, t) | |
721 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
722 | local startInterp, finishInterp; | |
723 | if cosTheta >= 0.0001 then | |
724 | if (1 - cosTheta) > 0.0001 then | |
725 | local theta = math.acos(cosTheta) | |
726 | local invSinTheta = 1/math.sin(theta) | |
727 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
728 | finishInterp = math.sin(t*theta)*invSinTheta | |
729 | else | |
730 | startInterp = 1-t | |
731 | finishInterp = t | |
732 | end | |
733 | else | |
734 | if (1+cosTheta) > 0.0001 then | |
735 | local theta = math.acos(-cosTheta) | |
736 | local invSinTheta = 1/math.sin(theta) | |
737 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
738 | finishInterp = math.sin(t*theta)*invSinTheta | |
739 | else | |
740 | startInterp = t-1 | |
741 | finishInterp = t | |
742 | end | |
743 | end | |
744 | 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 | |
745 | end | |
746 | ||
747 | local function CFrameFromTopBack(at, top, back) | |
748 | local right = top:Cross(back) | |
749 | return CFrame.new(at.x, at.y, at.z, | |
750 | right.x, top.x, back.x, | |
751 | right.y, top.y, back.y, | |
752 | right.z, top.z, back.z) | |
753 | end | |
754 | ||
755 | function Triangle(a, b, c) | |
756 | local edg1 = (c-a):Dot((b-a).unit) | |
757 | local edg2 = (a-b):Dot((c-b).unit) | |
758 | local edg3 = (b-c):Dot((a-c).unit) | |
759 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
760 | a, b, c = a, b, c | |
761 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
762 | a, b, c = b, c, a | |
763 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
764 | a, b, c = c, a, b | |
765 | else | |
766 | assert(false, "unreachable") | |
767 | end | |
768 | ||
769 | local len1 = (c-a):Dot((b-a).unit) | |
770 | local len2 = (b-a).magnitude - len1 | |
771 | local width = (a + (b-a).unit*len1 - c).magnitude | |
772 | ||
773 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
774 | ||
775 | local list = {} | |
776 | ||
777 | if len1 > 0.01 then | |
778 | local w1 = Instance.new('WedgePart', m) | |
779 | game:GetService("Debris"):AddItem(w1,5) | |
780 | w1.Material = "SmoothPlastic" | |
781 | w1.FormFactor = 'Custom' | |
782 | w1.BrickColor = BrickColor.new("Really red") | |
783 | w1.Transparency = 0 | |
784 | w1.Reflectance = 0 | |
785 | w1.Material = "SmoothPlastic" | |
786 | w1.CanCollide = false | |
787 | local l1 = Instance.new("PointLight",w1) | |
788 | l1.Color = Color3.new(170,0,0) | |
789 | NoOutline(w1) | |
790 | local sz = Vector3.new(0.2, width, len1) | |
791 | w1.Size = sz | |
792 | local sp = Instance.new("SpecialMesh",w1) | |
793 | sp.MeshType = "Wedge" | |
794 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
795 | w1:BreakJoints() | |
796 | w1.Anchored = true | |
797 | w1.Parent = workspace | |
798 | w1.Transparency = 0.7 | |
799 | table.insert(Effects,{w1,"Disappear",.01}) | |
800 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
801 | table.insert(list,w1) | |
802 | end | |
803 | ||
804 | if len2 > 0.01 then | |
805 | local w2 = Instance.new('WedgePart', m) | |
806 | game:GetService("Debris"):AddItem(w2,5) | |
807 | w2.Material = "SmoothPlastic" | |
808 | w2.FormFactor = 'Custom' | |
809 | w2.BrickColor = BrickColor.new("Really red") | |
810 | w2.Transparency = 0 | |
811 | w2.Reflectance = 0 | |
812 | w2.Material = "SmoothPlastic" | |
813 | w2.CanCollide = false | |
814 | local l2 = Instance.new("PointLight",w2) | |
815 | l2.Color = Color3.new(170,0,0) | |
816 | NoOutline(w2) | |
817 | local sz = Vector3.new(0.2, width, len2) | |
818 | w2.Size = sz | |
819 | local sp = Instance.new("SpecialMesh",w2) | |
820 | sp.MeshType = "Wedge" | |
821 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
822 | w2:BreakJoints() | |
823 | w2.Anchored = true | |
824 | w2.Parent = workspace | |
825 | w2.Transparency = 0.7 | |
826 | table.insert(Effects,{w2,"Disappear",.01}) | |
827 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
828 | table.insert(list,w2) | |
829 | end | |
830 | return unpack(list) | |
831 | end | |
832 | ||
833 | ||
834 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
835 | if hit.Parent==nil then | |
836 | return | |
837 | end | |
838 | h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
839 | for _,v in pairs(hit.Parent:children()) do | |
840 | if v:IsA("Humanoid") then | |
841 | h=v | |
842 | end | |
843 | end | |
844 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
845 | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
846 | end | |
847 | if hit.Parent.className=="Hat" then | |
848 | hit=hit.Parent.Parent:findFirstChild("Head") | |
849 | end | |
850 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
851 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
852 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
853 | return | |
854 | end]] | |
855 | -- hs(hit,1.2) | |
856 | c=Instance.new("ObjectValue") | |
857 | c.Name="creator" | |
858 | c.Value=game:service("Players").LocalPlayer | |
859 | c.Parent=h | |
860 | game:GetService("Debris"):AddItem(c,.5) | |
861 | Damage=math.random(minim,maxim) | |
862 | -- h:TakeDamage(Damage) | |
863 | blocked=false | |
864 | block=hit.Parent:findFirstChild("Block") | |
865 | if block~=nil then | |
866 | print(block.className) | |
867 | if block.className=="NumberValue" then | |
868 | if block.Value>0 then | |
869 | blocked=true | |
870 | if decreaseblock==nil then | |
871 | block.Value=block.Value-1 | |
872 | end | |
873 | end | |
874 | end | |
875 | if block.className=="IntValue" then | |
876 | if block.Value>0 then | |
877 | blocked=true | |
878 | if decreaseblock~=nil then | |
879 | block.Value=block.Value-1 | |
880 | end | |
881 | end | |
882 | end | |
883 | end | |
884 | if blocked==false then | |
885 | -- h:TakeDamage(Damage) | |
886 | h.Health=h.Health-Damage | |
887 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) | |
888 | else | |
889 | h.Health=h.Health-(Damage/2) | |
890 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
891 | end | |
892 | if Type=="Knockdown" then | |
893 | hum=hit.Parent.Humanoid | |
894 | hum.PlatformStand=true | |
895 | coroutine.resume(coroutine.create(function(HHumanoid) | |
896 | swait(1) | |
897 | HHumanoid.PlatformStand=false | |
898 | end),hum) | |
899 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
900 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
901 | local bodvol=Instance.new("BodyVelocity") | |
902 | bodvol.velocity=angle*knockback | |
903 | bodvol.P=0 | |
904 | bodvol.maxForce=Vector3.new(0, 0, 0) | |
905 | bodvol.Parent=hit | |
906 | rl=Instance.new("BodyAngularVelocity") | |
907 | rl.P=0 | |
908 | rl.maxTorque=Vector3.new(0,0,0)*5 | |
909 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
910 | rl.Parent=hit | |
911 | game:GetService("Debris"):AddItem(bodvol,.5) | |
912 | game:GetService("Debris"):AddItem(rl,.5) | |
913 | elseif Type=="Normal" then | |
914 | bp=Instance.new("BodyVelocity") | |
915 | bp.P=0 | |
916 | bp.maxForce=Vector3.new(math.huge,0,math.huge) | |
917 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
918 | if KnockbackType==1 then | |
919 | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
920 | elseif KnockbackType==2 then | |
921 | bp.velocity=Property.CFrame.lookVector*knockback | |
922 | end | |
923 | if knockback>0 then | |
924 | bp.Parent=hit.Parent.Torso | |
925 | if rubbermodo == 1 then | |
926 | hit.Parent:BreakJoints() | |
927 | end | |
928 | ||
929 | end | |
930 | game:GetService("Debris"):AddItem(bp,.5) | |
931 | elseif Type=="Up" then | |
932 | local bodyVelocity=Instance.new("BodyVelocity") | |
933 | bodyVelocity.velocity=vt(0,60,0) | |
934 | bodyVelocity.P=0 | |
935 | bodyVelocity.maxForce=Vector3.new(0,0,0) | |
936 | bodyVelocity.Parent=hit | |
937 | game:GetService("Debris"):AddItem(bodyVelocity,0) | |
938 | rl=Instance.new("BodyAngularVelocity") | |
939 | rl.P=0 | |
940 | rl.maxTorque=Vector3.new(5,5,5)*50 | |
941 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
942 | rl.Parent=hit | |
943 | game:GetService("Debris"):AddItem(rl,.5) | |
944 | elseif Type=="Snare" then | |
945 | bp=Instance.new("BodyPosition") | |
946 | bp.P=0 | |
947 | bp.D=0 | |
948 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
949 | bp.position=hit.Parent.Torso.Position | |
950 | bp.Parent=hit.Parent.Torso | |
951 | game:GetService("Debris"):AddItem(bp,0) | |
952 | elseif Type=="Target" then | |
953 | if Targetting==false then | |
954 | ZTarget=hit.Parent.Torso | |
955 | coroutine.resume(coroutine.create(function(Part) | |
956 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
957 | swait(1) | |
958 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
959 | end),ZTarget) | |
960 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
961 | targetgui=Instance.new("BillboardGui") | |
962 | targetgui.Parent=ZTarget | |
963 | targetgui.Size=UDim2.new(10,100,10,100) | |
964 | targ=Instance.new("ImageLabel") | |
965 | targ.Parent=targetgui | |
966 | targ.BackgroundTransparency=1 | |
967 | targ.Image="rbxassetid://4834067" | |
968 | targ.Size=UDim2.new(1,0,1,0) | |
969 | cam.CameraType="Scriptable" | |
970 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
971 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
972 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
973 | Targetting=true | |
974 | RocketTarget=ZTarget | |
975 | for i=1,Property do | |
976 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
977 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
978 | swait() | |
979 | end | |
980 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
981 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
982 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
983 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
984 | end | |
985 | Targetting=true | |
986 | RocketTarget=true | |
987 | targetgui.Parent=true | |
988 | cam.CameraType="Custom" | |
989 | end | |
990 | end | |
991 | debounce=Instance.new("BoolValue") | |
992 | debounce.Name="DebounceHit" | |
993 | debounce.Parent=hit.Parent | |
994 | debounce.Value=true | |
995 | game:GetService("Debris"):AddItem(debounce,Delay) | |
996 | c=Instance.new("ObjectValue") | |
997 | c.Name="creator" | |
998 | c.Value=Player | |
999 | c.Parent=h | |
1000 | game:GetService("Debris"):AddItem(c,.5) | |
1001 | CRIT=true | |
1002 | hitDeb=true | |
1003 | AttackPos=6 | |
1004 | end | |
1005 | end | |
1006 | ||
1007 | showDamage=function(Char,Dealt,du,Color) | |
1008 | m=Instance.new("Model") | |
1009 | m.Name=tostring(Dealt) | |
1010 | h=Instance.new("Humanoid") | |
1011 | h.Health=0 | |
1012 | h.MaxHealth=0 | |
1013 | h.Parent=m | |
1014 | c=Instance.new("Part") | |
1015 | c.Transparency=0 | |
1016 | c.BrickColor=Color | |
1017 | c.Transparency = 1 | |
1018 | c.Name="Head" | |
1019 | c.TopSurface=0 | |
1020 | c.BottomSurface=0 | |
1021 | c.formFactor="Plate" | |
1022 | c.Size=Vector3.new(1,.4,1) | |
1023 | ||
1024 | local txt = Instance.new("BillboardGui", c) | |
1025 | txt.Adornee = c | |
1026 | txt.Name = "_status" | |
1027 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1028 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1029 | local text = Instance.new("TextLabel", txt) | |
1030 | text.Size = UDim2.new(1, 0, 1, 0) | |
1031 | text.FontSize = "Size12" | |
1032 | text.TextScaled = true | |
1033 | text.TextTransparency = 1 | |
1034 | text.BackgroundTransparency = 1 | |
1035 | text.TextTransparency = 1 | |
1036 | text.TextStrokeTransparency = 1 | |
1037 | text.Font = "SciFi" | |
1038 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
1039 | v=Instance.new("Part") | |
1040 | v.Name = "ColorBrick" | |
1041 | v.Parent=c | |
1042 | v.FormFactor="Symmetric" | |
1043 | v.Anchored=true | |
1044 | v.CanCollide=false | |
1045 | v.BottomSurface="Smooth" | |
1046 | v.TopSurface="Smooth" | |
1047 | v.Size=Vector3.new(10,5,3) | |
1048 | v.Transparency=1 | |
1049 | v.CFrame=c.CFrame | |
1050 | v.BrickColor=BrickColor.random() | |
1051 | v.Transparency=1 | |
1052 | text.TextColor3 = t.BrickColor.Color | |
1053 | v.Shape="Block" | |
1054 | text.Text = tostring(Dealt) | |
1055 | ms=Instance.new("CylinderMesh") | |
1056 | ms.Scale=Vector3.new(.8,.8,.8) | |
1057 | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
1058 | local rndm=math.random(1,#hitsounds) | |
1059 | local r=rndm | |
1060 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]-- | |
1061 | if CRIT==true then | |
1062 | ms.Scale=Vector3.new(1,1.25,1) | |
1063 | end | |
1064 | ms.Parent=c | |
1065 | c.Reflectance=0 | |
1066 | Instance.new("BodyGyro").Parent=c | |
1067 | c.Parent=m | |
1068 | if Char:findFirstChild("Head")~=nil then | |
1069 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1070 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1071 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1072 | end | |
1073 | f=Instance.new("BodyPosition") | |
1074 | f.P=200000 | |
1075 | f.D=100 | |
1076 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1077 | f.position=c.Position+Vector3.new(0,3,0) | |
1078 | f.Parent=c | |
1079 | game:GetService("Debris"):AddItem(m,.5+du) | |
1080 | c.CanCollide=false | |
1081 | m.Parent=workspace | |
1082 | c.CanCollide=false | |
1083 | end | |
1084 | ||
1085 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1086 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1087 | end | |
1088 | ||
1089 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
1090 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1091 | prt.Anchored=true | |
1092 | prt.CFrame=cframe | |
1093 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
1094 | --http://www.roblox.com/asset/?id=4770560 | |
1095 | game:GetService("Debris"):AddItem(prt,2) | |
1096 | CF=prt.CFrame | |
1097 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
1098 | for i=0,1,0.2 do | |
1099 | wait() | |
1100 | Part.CFrame=CF*cf(0,0,-0.4) | |
1101 | end | |
1102 | for i=0,1,delay do | |
1103 | wait() | |
1104 | --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) | |
1105 | Mesh.Scale=Mesh.Scale | |
1106 | end | |
1107 | for i=0,1,0.1 do | |
1108 | wait() | |
1109 | Part.Transparency=i | |
1110 | end | |
1111 | Part.Parent=nil | |
1112 | end),prt,msh,CF) | |
1113 | end | |
1114 | ||
1115 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1116 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1117 | prt.Anchored=true | |
1118 | prt.Material = "Plastic" | |
1119 | prt.CFrame=cframe | |
1120 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1121 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1122 | game:GetService("Debris"):AddItem(prt,5) | |
1123 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1124 | for i=0,1,delay do | |
1125 | swait() | |
1126 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1127 | Part.Transparency=i | |
1128 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1129 | end | |
1130 | Part.Parent=nil | |
1131 | end),prt,msh) | |
1132 | end | |
1133 | ||
1134 | ||
1135 | ||
1136 | ||
1137 | function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1138 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3)) | |
1139 | prt.Anchored=true | |
1140 | prt.Material = "Neon" | |
1141 | prt.CFrame=cframe | |
1142 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1143 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1144 | game:GetService("Debris"):AddItem(prt,1) | |
1145 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1146 | for i=0,1,delay do | |
1147 | swait() | |
1148 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1149 | Part.Transparency=i | |
1150 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1151 | end | |
1152 | Part.Parent=nil | |
1153 | end),prt,msh) | |
1154 | end | |
1155 | ||
1156 | ||
1157 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1158 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1159 | prt.Anchored=true | |
1160 | prt.Material = "Neon" | |
1161 | prt.CFrame=cframe | |
1162 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1163 | game:GetService("Debris"):AddItem(prt,5) | |
1164 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1165 | local rtype = rottype | |
1166 | for i=0,1,delay do | |
1167 | swait() | |
1168 | if rtype == 1 then | |
1169 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1170 | elseif rtype == 2 then | |
1171 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1172 | end | |
1173 | Part.Transparency=i | |
1174 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1175 | end | |
1176 | Part.Parent=nil | |
1177 | end),prt,msh) | |
1178 | end | |
1179 | ||
1180 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1181 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1182 | prt.Anchored=true | |
1183 | prt.CFrame=cframe | |
1184 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1185 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1186 | game:GetService("Debris"):AddItem(prt,5) | |
1187 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1188 | for i=0,1,delay do | |
1189 | wait() | |
1190 | Part.Transparency=i | |
1191 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1192 | end | |
1193 | Part.Parent=nil | |
1194 | end),prt,msh) | |
1195 | end | |
1196 | ||
1197 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1198 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1199 | prt.Anchored=true | |
1200 | prt.Material = "Neon" | |
1201 | prt.CFrame=cframe | |
1202 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1203 | game:GetService("Debris"):AddItem(prt,5) | |
1204 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1205 | local rtype = rottype | |
1206 | for i=0,1,delay do | |
1207 | swait() | |
1208 | if rtype == 1 then | |
1209 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1210 | elseif rtype == 2 then | |
1211 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1212 | end | |
1213 | Part.Transparency=i | |
1214 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1215 | end | |
1216 | Part.Parent=nil | |
1217 | end),prt,msh) | |
1218 | end | |
1219 | ||
1220 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1221 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1222 | prt.Anchored=true | |
1223 | prt.Material = "Neon" | |
1224 | prt.CFrame=cframe | |
1225 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1226 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1227 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1228 | game:GetService("Debris"):AddItem(prt,5) | |
1229 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1230 | local rtype = rottype | |
1231 | for i=0,1,delay do | |
1232 | swait() | |
1233 | if rtype == 1 then | |
1234 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1235 | elseif rtype == 2 then | |
1236 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1237 | end | |
1238 | dec.Transparency=i | |
1239 | dec2.Transparency=i | |
1240 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1241 | end | |
1242 | Part.Parent=nil | |
1243 | end),prt,msh) | |
1244 | end | |
1245 | ||
1246 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1247 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1248 | prt.Anchored=true | |
1249 | prt.Material = "Neon" | |
1250 | prt.CFrame=cframe | |
1251 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1252 | game:GetService("Debris"):AddItem(prt,5) | |
1253 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1254 | local rtype = rottype | |
1255 | for i=0,1,delay do | |
1256 | swait() | |
1257 | if rtype == 1 then | |
1258 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1259 | elseif rtype == 2 then | |
1260 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1261 | end | |
1262 | prt.Transparency=i | |
1263 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1264 | end | |
1265 | Part.Parent=nil | |
1266 | end),prt,msh) | |
1267 | end | |
1268 | ||
1269 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
1270 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1271 | prt.Anchored=true | |
1272 | prt.Material = "Neon" | |
1273 | prt.CFrame=cframe | |
1274 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
1275 | game:GetService("Debris"):AddItem(prt,5) | |
1276 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1277 | local rtype = rottype | |
1278 | for i=0,1,delay do | |
1279 | swait() | |
1280 | if rtype == 1 then | |
1281 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
1282 | elseif rtype == 2 then | |
1283 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
1284 | end | |
1285 | prt.Transparency=i | |
1286 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
1287 | end | |
1288 | Part.Parent=nil | |
1289 | end),prt,msh) | |
1290 | end | |
1291 | ||
1292 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,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 | prt.Transparency=i | |
1309 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1310 | end | |
1311 | Part.Parent=nil | |
1312 | end),prt,msh) | |
1313 | end | |
1314 | ||
1315 | function MagicBlock2(brickcolor,cframe,Parent,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.Material = "Neon" | |
1318 | prt.Anchored=true | |
1319 | prt.CFrame=cframe | |
1320 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
1321 | local wld=weld(prt,prt,Parent,cframe) | |
1322 | game:GetService("Debris"):AddItem(prt,5) | |
1323 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1324 | for i=0,1,delay do | |
1325 | wait() | |
1326 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
1327 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1328 | Part.Transparency=i | |
1329 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1330 | end | |
1331 | Part.Parent=nil | |
1332 | end),prt,msh,wld) | |
1333 | end | |
1334 | ||
1335 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
1336 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1337 | prt.Anchored=false | |
1338 | prt.CFrame=cframe | |
1339 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1340 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
1341 | game:GetService("Debris"):AddItem(prt,5) | |
1342 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1343 | for i=0,1,delay do | |
1344 | wait() | |
1345 | Weld.C0=euler(i*20,0,0) | |
1346 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1347 | Part.Transparency=i | |
1348 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1349 | end | |
1350 | Part.Parent=nil | |
1351 | end),prt,msh,wld) | |
1352 | end | |
1353 | ||
1354 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1355 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1356 | prt.Anchored=true | |
1357 | prt.CFrame=cframe | |
1358 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1359 | game:GetService("Debris"):AddItem(prt,2) | |
1360 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1361 | for i=0,1,delay do | |
1362 | wait() | |
1363 | Part.CFrame=Part.CFrame | |
1364 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1365 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1366 | prt2.Anchored=true | |
1367 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1368 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
1369 | game:GetService("Debris"):AddItem(prt2,2) | |
1370 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1371 | for i=0,1,0.1 do | |
1372 | wait() | |
1373 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
1374 | end | |
1375 | Part.Parent=nil | |
1376 | end),prt2,msh2) | |
1377 | end | |
1378 | for i=0,1,delay*2 do | |
1379 | wait() | |
1380 | Part.CFrame=Part.CFrame | |
1381 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
1382 | end | |
1383 | Part.Parent=nil | |
1384 | end),prt,msh) | |
1385 | end | |
1386 | ||
1387 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1388 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1389 | prt.Anchored=true | |
1390 | prt.CFrame=cframe | |
1391 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1392 | game:GetService("Debris"):AddItem(prt,2) | |
1393 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1394 | for i=0,1,delay do | |
1395 | wait() | |
1396 | Part.CFrame=Part.CFrame | |
1397 | Part.Transparency=i | |
1398 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1399 | end | |
1400 | Part.Parent=nil | |
1401 | end),prt,msh) | |
1402 | end | |
1403 | ||
1404 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
1405 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1406 | prt.Anchored=true | |
1407 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1408 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1409 | game:GetService("Debris"):AddItem(prt,2) | |
1410 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
1411 | CF=Part.CFrame | |
1412 | Numbb=0 | |
1413 | randnumb=math.random()/10 | |
1414 | rand1=math.random()/10 | |
1415 | for i=0,1,rand1 do | |
1416 | wait() | |
1417 | CF=CF*cf(0,math.random()/2,0) | |
1418 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
1419 | Part.CFrame=CF*euler(Numbb,0,0) | |
1420 | Part.Transparency=i | |
1421 | Numbb=Numbb+randnumb | |
1422 | end | |
1423 | Part.Parent=nil | |
1424 | end),prt,CF,Numbb,randnumb) | |
1425 | end | |
1426 | ||
1427 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1428 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1429 | prt.Anchored=true | |
1430 | prt.CFrame=cframe | |
1431 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
1432 | game:GetService("Debris"):AddItem(prt,5) | |
1433 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1434 | for i=0,1,delay do | |
1435 | wait() | |
1436 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
1437 | Part.Transparency=i | |
1438 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1439 | end | |
1440 | Part.Parent=nil | |
1441 | end),prt,msh) | |
1442 | end | |
1443 | ||
1444 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1445 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1446 | prt.Anchored=true | |
1447 | prt.CFrame=cframe | |
1448 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
1449 | game:GetService("Debris"):AddItem(prt,2) | |
1450 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1451 | for i=0,1,delay do | |
1452 | wait() | |
1453 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
1454 | Part.Transparency=i | |
1455 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1456 | end | |
1457 | Part.Parent=nil | |
1458 | end),prt,msh) | |
1459 | end | |
1460 | ||
1461 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
1462 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1463 | prt.Anchored=true | |
1464 | prt.CFrame=cframe*cf(x,y,z) | |
1465 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
1466 | game:GetService("Debris"):AddItem(prt,5) | |
1467 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
1468 | local num=math.random() | |
1469 | local num2=math.random(-3,2)+math.random() | |
1470 | local numm=0 | |
1471 | for i=0,1,delay*2 do | |
1472 | swait() | |
1473 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
1474 | Part.Transparency=i | |
1475 | numm=numm+0.01 | |
1476 | end | |
1477 | Part.Parent=nil | |
1478 | Mesh.Parent=nil | |
1479 | end),prt,msh,x,y,z) | |
1480 | end | |
1481 | ||
1482 | function dmgstart(dmg,what) | |
1483 | hitcon = what.Touched:connect(function(hit) | |
1484 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
1485 | if hum and not hum:IsDescendantOf(Character) then | |
1486 | hum:TakeDamage(dmg) | |
1487 | end | |
1488 | end) | |
1489 | end | |
1490 | ||
1491 | function dmgstop() | |
1492 | hitcon:disconnect() | |
1493 | end | |
1494 | ||
1495 | function Cloak() | |
1496 | Face.Parent=nil | |
1497 | cloaked=true | |
1498 | for _,v in pairs(Torso.Parent:children()) do | |
1499 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
1500 | coroutine.resume(coroutine.create(function() | |
1501 | for i=0,1,0.2 do | |
1502 | wait() | |
1503 | v.Transparency=i | |
1504 | end | |
1505 | v.Transparency=1 | |
1506 | end)) | |
1507 | end | |
1508 | if v.className=="Hat" then | |
1509 | hatp=v.Handle | |
1510 | coroutine.resume(coroutine.create(function(derp) | |
1511 | for i=0,1,0.2 do | |
1512 | wait() | |
1513 | derp.Transparency=i | |
1514 | end | |
1515 | derp.Transparency=1 | |
1516 | end),hatp) | |
1517 | end | |
1518 | end | |
1519 | for _,v in pairs(m:children()) do | |
1520 | if v.className=="Part" then | |
1521 | coroutine.resume(coroutine.create(function() | |
1522 | for i=0,1,0.2 do | |
1523 | wait() | |
1524 | v.Transparency=i | |
1525 | end | |
1526 | v.Transparency=1 | |
1527 | end)) | |
1528 | end | |
1529 | end | |
1530 | end | |
1531 | ||
1532 | function UnCloak() | |
1533 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
1534 | Face.Parent=Head | |
1535 | cloaked=false | |
1536 | for _,v in pairs(Torso.Parent:children()) do | |
1537 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
1538 | coroutine.resume(coroutine.create(function() | |
1539 | for i=0,1,0.1 do | |
1540 | wait() | |
1541 | v.Transparency=v.Transparency-0.1 | |
1542 | end | |
1543 | v.Transparency=0 | |
1544 | end)) | |
1545 | end | |
1546 | if v.className=="Hat" then | |
1547 | hatp=v.Handle | |
1548 | coroutine.resume(coroutine.create(function(derp) | |
1549 | for i=0,1,0.1 do | |
1550 | wait() | |
1551 | derp.Transparency=derp.Transparency-0.1 | |
1552 | end | |
1553 | derp.Transparency=0 | |
1554 | end),hatp) | |
1555 | end | |
1556 | end | |
1557 | for _,v in pairs(m:children()) do | |
1558 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
1559 | coroutine.resume(coroutine.create(function() | |
1560 | for i=0,1,0.1 do | |
1561 | wait() | |
1562 | v.Transparency=v.Transparency-0.1 | |
1563 | end | |
1564 | v.Transparency=0 | |
1565 | end)) | |
1566 | v.Transparency=0 | |
1567 | end | |
1568 | end | |
1569 | end | |
1570 | ||
1571 | local jumped = false | |
1572 | function jump() | |
1573 | attack = true | |
1574 | jumped = true | |
1575 | hum.WalkSpeed = 0 | |
1576 | chatfunc("I need more speed!") | |
1577 | local pie22 = Instance.new("ParticleEmitter") | |
1578 | pie22.Parent = larm | |
1579 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1580 | pie22.LightEmission = 1 | |
1581 | pie22.Size = NumberSequence.new(2) | |
1582 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1583 | pie22.Transparency = NumberSequence.new(0.7) | |
1584 | pie22.EmissionDirection = "Top" | |
1585 | pie22.Enabled = true | |
1586 | pie22.Lifetime = NumberRange.new(0.1) | |
1587 | pie22.Rotation = NumberRange.new(-420, 425) | |
1588 | pie22.Rate = 300 | |
1589 | pie22.Speed = NumberRange.new(4) | |
1590 | pie22.LockedToPart = true | |
1591 | pie22.VelocitySpread = 360 | |
1592 | local pie222 = Instance.new("ParticleEmitter") | |
1593 | pie222.Parent = rarm | |
1594 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1595 | pie222.LightEmission = 1 | |
1596 | pie222.Size = NumberSequence.new(2) | |
1597 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1598 | pie222.Transparency = NumberSequence.new(0.7) | |
1599 | pie222.EmissionDirection = "Top" | |
1600 | pie222.Enabled = true | |
1601 | pie222.Lifetime = NumberRange.new(0.1) | |
1602 | pie222.Rotation = NumberRange.new(-420, 425) | |
1603 | pie222.Rate = 300 | |
1604 | pie222.Speed = NumberRange.new(4) | |
1605 | pie222.LockedToPart = true | |
1606 | pie222.VelocitySpread = 360 | |
1607 | local pie2242 = Instance.new("ParticleEmitter") | |
1608 | pie2242.Parent = lleg | |
1609 | pie2242.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1610 | pie2242.LightEmission = 1 | |
1611 | pie2242.Size = NumberSequence.new(2) | |
1612 | pie2242.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1613 | pie2242.Transparency = NumberSequence.new(0.7) | |
1614 | pie2242.EmissionDirection = "Top" | |
1615 | pie2242.Enabled = true | |
1616 | pie2242.Lifetime = NumberRange.new(0.1) | |
1617 | pie2242.Rotation = NumberRange.new(-420, 425) | |
1618 | pie2242.Rate = 300 | |
1619 | pie2242.Speed = NumberRange.new(4) | |
1620 | pie2242.LockedToPart = true | |
1621 | pie2242.VelocitySpread = 360 | |
1622 | local pie22442 = Instance.new("ParticleEmitter") | |
1623 | pie22442.Parent = rleg | |
1624 | pie22442.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1625 | pie22442.LightEmission = 1 | |
1626 | pie22442.Size = NumberSequence.new(2) | |
1627 | pie22442.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1628 | pie22442.Transparency = NumberSequence.new(0.7) | |
1629 | pie22442.EmissionDirection = "Top" | |
1630 | pie22442.Enabled = true | |
1631 | pie22442.Lifetime = NumberRange.new(0.1) | |
1632 | pie22442.Rotation = NumberRange.new(-420, 425) | |
1633 | pie22442.Rate = 300 | |
1634 | pie22442.Speed = NumberRange.new(4) | |
1635 | pie22442.LockedToPart = true | |
1636 | pie22442.VelocitySpread = 360 | |
1637 | local pie2222 = Instance.new("ParticleEmitter") | |
1638 | pie2222.Parent = hed | |
1639 | pie2222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1640 | pie2222.LightEmission = 1 | |
1641 | pie2222.Size = NumberSequence.new(20) | |
1642 | pie2222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1643 | pie2222.Transparency = NumberSequence.new(0.7) | |
1644 | pie2222.EmissionDirection = "Top" | |
1645 | pie2222.Enabled = true | |
1646 | pie2222.Lifetime = NumberRange.new(0.1) | |
1647 | pie2222.Rotation = NumberRange.new(-420, 425) | |
1648 | pie2222.Rate = 300 | |
1649 | pie2222.Speed = NumberRange.new(4) | |
1650 | pie2222.LockedToPart = true | |
1651 | pie2222.VelocitySpread = 360 | |
1652 | MagicBlock(bc("New Yeller"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
1653 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7) | |
1654 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7) | |
1655 | for i = 0,15,0.1 do | |
1656 | swait() | |
1657 | MagicBlock(bc("New Yeller"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1658 | MagicBlock(bc("New Yeller"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1659 | 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) | |
1660 | 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) | |
1661 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05) | |
1662 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05) | |
1663 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
1664 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
1665 | end | |
1666 | ||
1667 | local bv = Instance.new("BodyVelocity") | |
1668 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1669 | bv.velocity = root.CFrame.lookVector*150 | |
1670 | bv.Parent = root | |
1671 | game:GetService("Debris"):AddItem(bv, 0.5) | |
1672 | local rng = Instance.new("Part", char) | |
1673 | rng.Anchored = true | |
1674 | rng.BrickColor = BrickColor.new("Neon orange") | |
1675 | rng.CanCollide = false | |
1676 | rng.FormFactor = 3 | |
1677 | rng.Name = "Ring" | |
1678 | rng.Size = Vector3.new(1, 1, 1) | |
1679 | rng.Transparency = 0 | |
1680 | rng.TopSurface = 0 | |
1681 | rng.BottomSurface = 0 | |
1682 | rng.Position = root.Position | |
1683 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1684 | local rngm = Instance.new("SpecialMesh", rng) | |
1685 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1686 | local rng2 = rng:Clone() | |
1687 | rng2.Parent = char | |
1688 | local rng2m = rng2.Mesh | |
1689 | local rng3 = rng:Clone() | |
1690 | rng3.Parent = char | |
1691 | rng3.BrickColor = BrickColor.new("New Yeller") | |
1692 | local rng3m = rng3.Mesh | |
1693 | local rng4 = rng:Clone() | |
1694 | rng4.Parent = char | |
1695 | local rng4m = rng4.Mesh | |
1696 | local rng5 = rng:Clone() | |
1697 | rng5.Parent = char | |
1698 | rng5.BrickColor = BrickColor.new("New Yeller") | |
1699 | local rng5m = rng5.Mesh | |
1700 | CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1) | |
1701 | wait() | |
1702 | local scaler = 10 | |
1703 | local scaler2 = 10 | |
1704 | game:GetService("Debris"):AddItem(bv, 2.4) | |
1705 | hum.WalkSpeed = 50 | |
1706 | MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015) | |
1707 | for i = 0,10,0.1 do | |
1708 | swait() | |
1709 | rng.Transparency = rng.Transparency + 0.01 | |
1710 | rng2.Transparency = rng2.Transparency + 0.01 | |
1711 | rng3.Transparency = rng3.Transparency + 0.01 | |
1712 | rng4.Transparency = rng4.Transparency + 0.01 | |
1713 | rng5.Transparency = rng5.Transparency + 0.01 | |
1714 | scaler = scaler - 0.125 | |
1715 | scaler2 = scaler2 - 0.1 | |
1716 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20) | |
1717 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30) | |
1718 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40) | |
1719 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50) | |
1720 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1721 | 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) | |
1722 | 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) | |
1723 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5) | |
1724 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5) | |
1725 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5) | |
1726 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5) | |
1727 | end | |
1728 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1729 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1730 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
1731 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
1732 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
1733 | hum.WalkSpeed = 126 | |
1734 | pie2222:Destroy() | |
1735 | attack = false | |
1736 | jumped = false | |
1737 | wait(20) | |
1738 | chatfunc("Too much energy..") | |
1739 | asd1 = Instance.new("Sound",char) | |
1740 | asd1.SoundId = "http://www.roblox.com/asset/?id = 3264923" | |
1741 | asd1.Volume = 1.5 | |
1742 | asd1.Looped = false | |
1743 | asd1:Play() | |
1744 | pie22:Destroy() | |
1745 | pie222:Destroy() | |
1746 | pie2242:Destroy() | |
1747 | pie22442:Destroy() | |
1748 | hum.WalkSpeed = 16 | |
1749 | end | |
1750 | ||
1751 | function dash() | |
1752 | attack = true | |
1753 | jumped = true | |
1754 | hum.WalkSpeed = 16 | |
1755 | killbrick = Instance.new("Part",char) | |
1756 | killbrick.Size = Vector3.new(1,1,1) | |
1757 | killbrick.Transparency = 1 | |
1758 | killbrick:BreakJoints() | |
1759 | killbrick.CanCollide = false | |
1760 | local wel = Instance.new("Weld",killbrick) | |
1761 | wel.Part0 = killbrick | |
1762 | wel.Part1 = char["Left Arm"] | |
1763 | wel.C0 = CFrame.new(0,1,0) | |
1764 | local bv = Instance.new("BodyVelocity") | |
1765 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1766 | bv.velocity = root.CFrame.lookVector*150 | |
1767 | bv.Parent = root | |
1768 | char.Head.face.Texture = "rbxassetid://126198982" | |
1769 | game:GetService("Debris"):AddItem(bv, 1) | |
1770 | local rng = Instance.new("Part", char) | |
1771 | rng.Anchored = true | |
1772 | rng.BrickColor = BrickColor.new("Neon orange") | |
1773 | rng.CanCollide = false | |
1774 | rng.FormFactor = 3 | |
1775 | rng.Name = "Ring" | |
1776 | rng.Size = Vector3.new(1, 1, 1) | |
1777 | rng.Transparency = 0 | |
1778 | rng.TopSurface = 0 | |
1779 | rng.BottomSurface = 0 | |
1780 | rng.CFrame = root.CFrame | |
1781 | local rngm = Instance.new("SpecialMesh", rng) | |
1782 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1783 | local rng2 = rng:Clone() | |
1784 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
1785 | rng2.Parent = char | |
1786 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1787 | local rng2m = rng2.Mesh | |
1788 | local rng3 = rng:Clone() | |
1789 | rng3.Parent = char | |
1790 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
1791 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
1792 | local rng3m = rng3.Mesh | |
1793 | local rng4 = rng:Clone() | |
1794 | rng4.Parent = char | |
1795 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
1796 | local rng4m = rng4.Mesh | |
1797 | local rng5 = rng:Clone() | |
1798 | rng5.Parent = char | |
1799 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
1800 | local rng5m = rng5.Mesh | |
1801 | local rng6 = rng:Clone() | |
1802 | rng6.Material = "Neon" | |
1803 | rng6.CanCollide = false | |
1804 | rng6.BrickColor = BrickColor.new("Neon orange") | |
1805 | rng6.Parent = LeftLeg | |
1806 | local rng6m = rng6.Mesh | |
1807 | rng6m.Scale = vt(1,1,1) | |
1808 | rng6m.MeshType = "Sphere" | |
1809 | local rng7 = rng:Clone() | |
1810 | rng7.Material = "Plastic" | |
1811 | rng7.CanCollide = false | |
1812 | rng7.BrickColor = BrickColor.new("Bright red") | |
1813 | rng7.Parent = LeftLeg | |
1814 | local rng7m = rng7.Mesh | |
1815 | rng7m.Scale = vt(1,1,1) | |
1816 | rng7m.MeshType = "Sphere" | |
1817 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
1818 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
1819 | wait() | |
1820 | local scaler = 10/5 | |
1821 | local scaler2 = 10/5 | |
1822 | local hit = rng6.Touched:connect(function(hit) | |
1823 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1824 | end) | |
1825 | for i = 0,10,0.1 do | |
1826 | swait() | |
1827 | rng.Transparency = rng.Transparency + 0.01 | |
1828 | rng2.Transparency = rng2.Transparency + 0.01 | |
1829 | rng3.Transparency = rng3.Transparency + 0.01 | |
1830 | rng4.Transparency = rng4.Transparency + 0.01 | |
1831 | rng5.Transparency = rng5.Transparency + 0.01 | |
1832 | rng6.Transparency = rng5.Transparency + 0.001 | |
1833 | rng7.Transparency = rng5.Transparency + 0.001 | |
1834 | scaler = scaler - 0.125/5 | |
1835 | scaler2 = scaler2 - 0.1/5 | |
1836 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
1837 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
1838 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
1839 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
1840 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
1841 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
1842 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1843 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
1844 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
1845 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
1846 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
1847 | rng6.CFrame = rng3.CFrame | |
1848 | rng7.CFrame = rng3.CFrame | |
1849 | end | |
1850 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1851 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1852 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
1853 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
1854 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
1855 | hum.WalkSpeed = 16 | |
1856 | hit:disconnect() | |
1857 | attack = false | |
1858 | killbrick:Destroy() | |
1859 | char.Head.face.Texture = "rbxassetid://29291814" | |
1860 | jumped = false | |
1861 | end | |
1862 | ||
1863 | ||
1864 | ||
1865 | function daash() | |
1866 | attack = false | |
1867 | jumped = false | |
1868 | hum.WalkSpeed = 16 | |
1869 | local bv = Instance.new("BodyVelocity") | |
1870 | bv.maxForce = Vector3.new(6000,6000,6000) | |
1871 | bv.velocity = root.CFrame.lookVector*150 | |
1872 | bv.Parent = root | |
1873 | char.Head.face.Texture = "rbxassetid://126198982" | |
1874 | game:GetService("Debris"):AddItem(bv, 1) | |
1875 | local rng = Instance.new("Part", char) | |
1876 | rng.Anchored = true | |
1877 | rng.BrickColor = BrickColor.new("White") | |
1878 | rng.CanCollide = false | |
1879 | rng.FormFactor = 3 | |
1880 | rng.Name = "Ring" | |
1881 | rng.Size = Vector3.new(1, 1, 1) | |
1882 | rng.Transparency = 0 | |
1883 | rng.TopSurface = 0 | |
1884 | rng.BottomSurface = 0 | |
1885 | rng.CFrame = root.CFrame | |
1886 | local rngm = Instance.new("SpecialMesh", rng) | |
1887 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1888 | local rng2 = rng:Clone() | |
1889 | rng2.BrickColor = BrickColor.new("White") | |
1890 | rng2.Parent = char | |
1891 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1892 | local rng2m = rng2.Mesh | |
1893 | ||
1894 | local rng5m = rng.Mesh | |
1895 | CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1) | |
1896 | wait() | |
1897 | local scaler = 10/5 | |
1898 | local scaler2 = 10/5 | |
1899 | local hit = rng.Touched:connect(function(hit) | |
1900 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1901 | end) | |
1902 | for i = 0,10,0.1 do | |
1903 | swait() | |
1904 | MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1905 | MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1906 | rng.Transparency = rng.Transparency + 0.01 | |
1907 | rng2.Transparency = rng2.Transparency + 0.01 | |
1908 | ||
1909 | ||
1910 | scaler = scaler - 0.125/5 | |
1911 | scaler2 = scaler2 - 0.125/5 | |
1912 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0) | |
1913 | ||
1914 | ||
1915 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1916 | ||
1917 | end | |
1918 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1919 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1920 | hum.WalkSpeed = 16 | |
1921 | hit:disconnect() | |
1922 | attack = false | |
1923 | char.Head.face.Texture = "rbxassetid://29291814" | |
1924 | jumped = false | |
1925 | end | |
1926 | ||
1927 | ||
1928 | ||
1929 | function dashh() | |
1930 | attack = true | |
1931 | jumped = true | |
1932 | hum.WalkSpeed = 16 | |
1933 | local BV = Instance.new("BodyVelocity") | |
1934 | BV = Instance.new("BodyVelocity", tors) | |
1935 | BV.maxForce = Vector3.new(0,10000,0) | |
1936 | BV.P = 1000 | |
1937 | BV.velocity = Vector3.new(0,800,0) | |
1938 | char.Head.face.Texture = "rbxassetid://126198982" | |
1939 | game:GetService("Debris"):AddItem(BV, 1) | |
1940 | local rng = Instance.new("Part", char) | |
1941 | rng.Anchored = true | |
1942 | rng.BrickColor = BrickColor.new("Neon orange") | |
1943 | rng.CanCollide = false | |
1944 | rng.FormFactor = 3 | |
1945 | rng.Name = "Ring" | |
1946 | rng.Size = Vector3.new(1, 1, 1) | |
1947 | rng.Transparency = 0 | |
1948 | rng.TopSurface = 0 | |
1949 | rng.BottomSurface = 0 | |
1950 | rng.CFrame = root.CFrame | |
1951 | local rngm = Instance.new("SpecialMesh", rng) | |
1952 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1953 | local rng2 = rng:Clone() | |
1954 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
1955 | rng2.Parent = char | |
1956 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1957 | local rng2m = rng2.Mesh | |
1958 | local rng3 = rng:Clone() | |
1959 | rng3.Parent = char | |
1960 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
1961 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
1962 | local rng3m = rng3.Mesh | |
1963 | local rng4 = rng:Clone() | |
1964 | rng4.Parent = char | |
1965 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
1966 | local rng4m = rng4.Mesh | |
1967 | local rng5 = rng:Clone() | |
1968 | rng5.Parent = char | |
1969 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
1970 | local rng5m = rng5.Mesh | |
1971 | local rng6 = rng:Clone() | |
1972 | rng6.Material = "Neon" | |
1973 | rng6.CanCollide = false | |
1974 | rng6.BrickColor = BrickColor.new("Neon orange") | |
1975 | rng6.Parent = LeftLeg | |
1976 | local rng6m = rng6.Mesh | |
1977 | rng6m.Scale = vt(1,1,1) | |
1978 | rng6m.MeshType = "Sphere" | |
1979 | local rng7 = rng:Clone() | |
1980 | rng7.Material = "Plastic" | |
1981 | rng7.CanCollide = false | |
1982 | rng7.BrickColor = BrickColor.new("Bright red") | |
1983 | rng7.Parent = LeftLeg | |
1984 | local rng7m = rng7.Mesh | |
1985 | rng7m.Scale = vt(1,1,1) | |
1986 | rng7m.MeshType = "Sphere" | |
1987 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
1988 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
1989 | wait() | |
1990 | local scaler = 10/5 | |
1991 | local scaler2 = 10/5 | |
1992 | local hit = rng6.Touched:connect(function(hit) | |
1993 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1994 | end) | |
1995 | for i = 0,10,0.1 do | |
1996 | swait() | |
1997 | MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1998 | MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1999 | rng.Transparency = rng.Transparency + 0.01 | |
2000 | rng2.Transparency = rng2.Transparency + 0.01 | |
2001 | rng3.Transparency = rng3.Transparency + 0.01 | |
2002 | rng4.Transparency = rng4.Transparency + 0.01 | |
2003 | rng5.Transparency = rng5.Transparency + 0.01 | |
2004 | rng6.Transparency = rng5.Transparency + 0.001 | |
2005 | rng7.Transparency = rng5.Transparency + 0.001 | |
2006 | scaler = scaler - 0.125/5 | |
2007 | scaler2 = scaler2 - 0.1/5 | |
2008 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2009 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
2010 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2011 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
2012 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
2013 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
2014 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2015 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
2016 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
2017 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
2018 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
2019 | rng6.CFrame = rng3.CFrame | |
2020 | rng7.CFrame = rng3.CFrame | |
2021 | end | |
2022 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2023 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2024 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2025 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2026 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2027 | hum.WalkSpeed = 16 | |
2028 | hit:disconnect() | |
2029 | attack = false | |
2030 | char.Head.face.Texture = "rbxassetid://29291814" | |
2031 | jumped = false | |
2032 | end | |
2033 | ||
2034 | ||
2035 | function dashs() | |
2036 | attack = true | |
2037 | jumped = true | |
2038 | hum.WalkSpeed = 16 | |
2039 | local bv = Instance.new("BodyVelocity") | |
2040 | bv.maxForce = Vector3.new(0, 0, 0) | |
2041 | bv.velocity = root.CFrame.lookVector*150 | |
2042 | bv.Parent = root | |
2043 | char.Head.face.Texture = "rbxassetid://126198982" | |
2044 | game:GetService("Debris"):AddItem(bv, 1) | |
2045 | local rng = Instance.new("Part", char) | |
2046 | rng.Anchored = true | |
2047 | rng.BrickColor = BrickColor.new("Neon orange") | |
2048 | rng.CanCollide = false | |
2049 | rng.FormFactor = 3 | |
2050 | rng.Name = "Ring" | |
2051 | rng.Size = Vector3.new(1, 1, 1) | |
2052 | rng.Transparency = 0 | |
2053 | rng.TopSurface = 0 | |
2054 | rng.BottomSurface = 0 | |
2055 | rng.CFrame = root.CFrame | |
2056 | local rngm = Instance.new("SpecialMesh", rng) | |
2057 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2058 | local rng2 = rng:Clone() | |
2059 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
2060 | rng2.Parent = char | |
2061 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
2062 | local rng2m = rng2.Mesh | |
2063 | local rng3 = rng:Clone() | |
2064 | rng3.Parent = char | |
2065 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
2066 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*60 | |
2067 | local rng3m = rng3.Mesh | |
2068 | local rng4 = rng:Clone() | |
2069 | rng4.Parent = char | |
2070 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
2071 | local rng4m = rng4.Mesh | |
2072 | local rng5 = rng:Clone() | |
2073 | rng5.Parent = char | |
2074 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
2075 | local rng5m = rng5.Mesh | |
2076 | local rng6 = rng:Clone() | |
2077 | rng6.Material = "Neon" | |
2078 | rng6.CanCollide = false | |
2079 | rng6.BrickColor = BrickColor.new("Neon orange") | |
2080 | rng6.Parent = LeftLeg | |
2081 | local rng6m = rng6.Mesh | |
2082 | rng6m.Scale = vt(1,1,1) | |
2083 | rng6m.MeshType = "Sphere" | |
2084 | local rng7 = rng:Clone() | |
2085 | rng7.Material = "Plastic" | |
2086 | rng7.CanCollide = false | |
2087 | rng7.BrickColor = BrickColor.new("Bright red") | |
2088 | rng7.Parent = LeftLeg | |
2089 | local rng7m = rng7.Mesh | |
2090 | rng7m.Scale = vt(1,1,1) | |
2091 | rng7m.MeshType = "Sphere" | |
2092 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
2093 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2094 | wait() | |
2095 | local scaler = 10/5 | |
2096 | local scaler2 = 10/5 | |
2097 | local hit = rng6.Touched:connect(function(hit) | |
2098 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
2099 | end) | |
2100 | for i = 0,10,0.1 do | |
2101 | swait() | |
2102 | rng.Transparency = rng.Transparency + 0.01 | |
2103 | rng2.Transparency = rng2.Transparency + 0.01 | |
2104 | rng3.Transparency = rng3.Transparency + 0.01 | |
2105 | rng4.Transparency = rng4.Transparency + 0.01 | |
2106 | rng5.Transparency = rng5.Transparency + 0.01 | |
2107 | rng6.Transparency = rng5.Transparency + 0.001 | |
2108 | rng7.Transparency = rng5.Transparency + 0.001 | |
2109 | scaler = scaler - 0.125/5 | |
2110 | scaler2 = scaler2 - 0.1/5 | |
2111 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2112 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2113 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2114 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2115 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5) | |
2116 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3) | |
2117 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2118 | 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) | |
2119 | 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) | |
2120 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
2121 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
2122 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
2123 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
2124 | rng6.CFrame = rng3.CFrame | |
2125 | rng7.CFrame = rng3.CFrame | |
2126 | end | |
2127 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2128 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2129 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2130 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2131 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2132 | hum.WalkSpeed = 16 | |
2133 | hit:disconnect() | |
2134 | attack = false | |
2135 | char.Head.face.Texture = "rbxassetid://29291814" | |
2136 | jumped = false | |
2137 | end | |
2138 | ||
2139 | ||
2140 | ||
2141 | ||
2142 | m.KeyDown:connect(function(key) | |
2143 | if key == "j" then | |
2144 | if tp == true then | |
2145 | tp = false | |
2146 | char.Head.face.Parent = game.Lighting | |
2147 | asd1 = Instance.new("Sound",char) | |
2148 | asd1.SoundId = "http://www.roblox.com/asset/?id = 153613030" | |
2149 | asd1.Volume = 0.5 | |
2150 | asd1.Looped = false | |
2151 | asd1:Play() | |
2152 | v:Destroy() | |
2153 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 | |
2154 | end | |
2155 | ||
2156 | end | |
2157 | wait(0.2) | |
2158 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
2159 | end | |
2160 | ||
2161 | end | |
2162 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
2163 | char.HumanoidRootPart.Transparency = 1 | |
2164 | game.Lighting.face.Parent = char.Head | |
2165 | wait(0.7) | |
2166 | ||
2167 | tp = true | |
2168 | ||
2169 | ||
2170 | end | |
2171 | end | |
2172 | end) | |
2173 | ||
2174 | ||
2175 | ---------------------------------------------------- | |
2176 | Debounces = { | |
2177 | CanAttack = true; | |
2178 | NoIdl = false; | |
2179 | Slashing = false; | |
2180 | Slashed = false; | |
2181 | RPunch = false; | |
2182 | RPunched = false; | |
2183 | LPunch = false; | |
2184 | LPunched = false; | |
2185 | } | |
2186 | local Touche = {char.Name, } | |
2187 | ---------------------------------------------------- | |
2188 | ||
2189 | ||
2190 | local rs = game:GetService("RunService").RenderStepped | |
2191 | ||
2192 | ||
2193 | mouse.KeyDown:connect(function(key) | |
2194 | if key == "-" then | |
2195 | if Charging == false then | |
2196 | Charging = true | |
2197 | if Debounces.CanAttack == true then | |
2198 | Debounces.CanAttack = false | |
2199 | Debounces.NoIdl = true | |
2200 | Debounces.on = true | |
2201 | for i = 1,20 do | |
2202 | 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) | |
2203 | 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) | |
2204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2205 | tors.Weld.C0 = Lerp(tors.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2206 | 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) | |
2207 | 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) | |
2208 | if Debounces.on == false then break end | |
2209 | rs:wait() | |
2210 | end | |
2211 | --[[for i = 1,20 do | |
2212 | 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) | |
2213 | 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) | |
2214 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2215 | 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) | |
2216 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2217 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2218 | if Debounces.on == false then break end | |
2219 | rs:wait() | |
2220 | end]]-- | |
2221 | pt=Instance.new('Part',tors) | |
2222 | pt.Anchored=true | |
2223 | pt.CanCollide=false | |
2224 | pt.Locked = true | |
2225 | pt.FormFactor='Custom' | |
2226 | pt.Size=Vector3.new(1,1,1) | |
2227 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2228 | pt.Transparency=.6 | |
2229 | pt.BrickColor=BrickColor.new('New Yeller') | |
2230 | msh=Instance.new('SpecialMesh',pt) | |
2231 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2232 | msh.Scale=Vector3.new(8,4,8) | |
2233 | pt2=pt:clone() | |
2234 | pt2.Parent = tors | |
2235 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2236 | pt2.BrickColor=BrickColor.new("New Yeller") | |
2237 | msh2=msh:clone() | |
2238 | msh2.Parent=pt2 | |
2239 | msh2.Scale=Vector3.new(10,5,10) | |
2240 | ||
2241 | ||
2242 | ||
2243 | bl = Instance.new("Part", char) | |
2244 | bl.Locked = true | |
2245 | bl.Name = "Shell" | |
2246 | bl.BrickColor = BrickColor.new("New Yeller") | |
2247 | bl.Anchored = true | |
2248 | bl.CanCollide = false | |
2249 | bl.Transparency = 0 | |
2250 | bl.Reflectance = 0 | |
2251 | bl.BottomSurface = 0 | |
2252 | bl.TopSurface = 0 | |
2253 | bl.Shape = 0 | |
2254 | blm = Instance.new("SpecialMesh",bl) | |
2255 | blm.MeshType = "Sphere" | |
2256 | blm.Scale = Vector3.new(1,1,1) | |
2257 | blm.MeshId = "rbxassetid://9982590" | |
2258 | ||
2259 | coroutine.resume(coroutine.create(function() | |
2260 | for i=1, math.huge, 4 do | |
2261 | if Charging == true then | |
2262 | rs:wait() | |
2263 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2264 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
2265 | bl.Transparency = bl.Transparency + 0.005 | |
2266 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2267 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2268 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2269 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2270 | elseif Charging == false then break | |
2271 | end | |
2272 | end | |
2273 | end)) | |
2274 | ||
2275 | repeat | |
2276 | local p = Instance.new('Part',tors) | |
2277 | p.formFactor = 'Custom' | |
2278 | p.Size = Vector3.new(1,1,1) | |
2279 | p.BrickColor = workspace.Base.BrickColor | |
2280 | p.CanCollide = false | |
2281 | p.Transparency = 0 | |
2282 | p.Anchored = true | |
2283 | p.Locked=true | |
2284 | p.Material = workspace.Base.Material | |
2285 | local m = Instance.new("BlockMesh",p) | |
2286 | m.Scale = Vector3.new(s,s,s) | |
2287 | 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()) | |
2288 | --[[coroutine.wrap(function() | |
2289 | wait(2) | |
2290 | while Charging == true do | |
2291 | wait(2) | |
2292 | GroundWave1() | |
2293 | wait(2) | |
2294 | end | |
2295 | end)()]]-- | |
2296 | Spawn(function() | |
2297 | while rs:wait() do | |
2298 | if Charging == true then | |
2299 | 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))) | |
2300 | 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))) | |
2301 | 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)) | |
2302 | tors.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2303 | 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))) | |
2304 | 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))) | |
2305 | elseif Charging == false then break | |
2306 | end | |
2307 | end | |
2308 | end) | |
2309 | Spawn(function() | |
2310 | while rs:wait() do | |
2311 | if p.Transparency >= 1 then p:Destroy() break end | |
2312 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2313 | p.Transparency = p.Transparency+0.01 | |
2314 | end | |
2315 | end) | |
2316 | wait(.3) | |
2317 | until Charging == false | |
2318 | end | |
2319 | end | |
2320 | end | |
2321 | end) | |
2322 | ---------------------------------------------------- | |
2323 | mouse.KeyUp:connect(function(key) | |
2324 | if key == "r" then | |
2325 | if Charging == true then | |
2326 | Charging = false | |
2327 | pt:Destroy() | |
2328 | pt2:Destroy() | |
2329 | bl:Destroy() | |
2330 | if Debounces.CanAttack == false then | |
2331 | Debounces.CanAttack = true | |
2332 | Debounces.NoIdl = false | |
2333 | Debounces.on = false | |
2334 | end | |
2335 | end | |
2336 | end | |
2337 | end) | |
2338 | ||
2339 | ||
2340 | ---------------------------------------------------- | |
2341 | mouse.KeyDown:connect(function(key) | |
2342 | if key == "p" then | |
2343 | if Debounces.CanAttack == true then | |
2344 | Debounces.CanAttack = false | |
2345 | Debounces.on = true | |
2346 | Debounces.NoIdl = true | |
2347 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2348 | Debounces.RPunch = true | |
2349 | Debounces.LPunch = true | |
2350 | Debounces.ks = true | |
2351 | Debounces.ks2 = true | |
2352 | for i = 1, 3 do | |
2353 | 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) | |
2354 | 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) | |
2355 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2356 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2357 | 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) | |
2358 | 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) | |
2359 | if Debounces.on == false then break end | |
2360 | wait() | |
2361 | end | |
2362 | for i = 1, 3 do | |
2363 | 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) | |
2364 | 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) | |
2365 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2366 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2367 | 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) | |
2368 | 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) | |
2369 | if Debounces.on == false then break end | |
2370 | wait() | |
2371 | end | |
2372 | for i = 1, 3 do | |
2373 | 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) | |
2374 | 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) | |
2375 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2376 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2377 | 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) | |
2378 | 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) | |
2379 | if Debounces.on == false then break end | |
2380 | wait() | |
2381 | end | |
2382 | for i = 1, 3 do | |
2383 | 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) | |
2384 | 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) | |
2385 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2386 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2387 | 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) | |
2388 | 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) | |
2389 | if Debounces.on == false then break end | |
2390 | wait() | |
2391 | end | |
2392 | for i = 1, 3 do | |
2393 | 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) | |
2394 | 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) | |
2395 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2396 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2397 | 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) | |
2398 | 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) | |
2399 | if Debounces.on == false then break end | |
2400 | wait() | |
2401 | end | |
2402 | for i = 1, 3 do | |
2403 | 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) | |
2404 | 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) | |
2405 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2406 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2407 | 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) | |
2408 | 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) | |
2409 | if Debounces.on == false then break end | |
2410 | wait() | |
2411 | end | |
2412 | for i = 1, 3 do | |
2413 | 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) | |
2414 | 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) | |
2415 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2416 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2417 | 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) | |
2418 | 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) | |
2419 | if Debounces.on == false then break end | |
2420 | wait() | |
2421 | end | |
2422 | for i = 1, 3 do | |
2423 | 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) | |
2424 | 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) | |
2425 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2426 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2427 | 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) | |
2428 | 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) | |
2429 | if Debounces.on == false then break end | |
2430 | wait() | |
2431 | end | |
2432 | for i = 1, 3 do | |
2433 | 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) | |
2434 | 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) | |
2435 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2436 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2437 | 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) | |
2438 | 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) | |
2439 | if Debounces.on == false then break end | |
2440 | wait() | |
2441 | end | |
2442 | for i = 1, 3 do | |
2443 | 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) | |
2444 | 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) | |
2445 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2446 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2447 | 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) | |
2448 | 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) | |
2449 | if Debounces.on == false then break end | |
2450 | wait() | |
2451 | end | |
2452 | for i = 1, 3 do | |
2453 | 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) | |
2454 | 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) | |
2455 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2456 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2457 | 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) | |
2458 | 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) | |
2459 | if Debounces.on == false then break end | |
2460 | wait() | |
2461 | end | |
2462 | for i = 1, 3 do | |
2463 | 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) | |
2464 | 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) | |
2465 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2466 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2467 | 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) | |
2468 | 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) | |
2469 | if Debounces.on == false then break end | |
2470 | wait() | |
2471 | end | |
2472 | for i = 1, 3 do | |
2473 | 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) | |
2474 | 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) | |
2475 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2476 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2477 | 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) | |
2478 | 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) | |
2479 | if Debounces.on == false then break end | |
2480 | wait() | |
2481 | end | |
2482 | for i = 1, 3 do | |
2483 | 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) | |
2484 | 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) | |
2485 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2486 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2487 | 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) | |
2488 | 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) | |
2489 | if Debounces.on == false then break end | |
2490 | wait() | |
2491 | end | |
2492 | for i = 1, 3 do | |
2493 | 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) | |
2494 | 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) | |
2495 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2496 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2497 | 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) | |
2498 | 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) | |
2499 | if Debounces.on == false then break end | |
2500 | wait() | |
2501 | end | |
2502 | for i = 1, 3 do | |
2503 | 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) | |
2504 | 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) | |
2505 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2506 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2507 | 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) | |
2508 | 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) | |
2509 | if Debounces.on == false then break end | |
2510 | wait() | |
2511 | end | |
2512 | for i = 1, 3 do | |
2513 | 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) | |
2514 | 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) | |
2515 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2516 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2517 | 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) | |
2518 | 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) | |
2519 | if Debounces.on == false then break end | |
2520 | wait() | |
2521 | end | |
2522 | for i = 1, 3 do | |
2523 | 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) | |
2524 | 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) | |
2525 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2526 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2527 | 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) | |
2528 | 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) | |
2529 | if Debounces.on == false then break end | |
2530 | wait() | |
2531 | end | |
2532 | for i = 1, 3 do | |
2533 | 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) | |
2534 | 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) | |
2535 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2536 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2537 | 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) | |
2538 | 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) | |
2539 | if Debounces.on == false then break end | |
2540 | wait() | |
2541 | end | |
2542 | for i = 1, 3 do | |
2543 | 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) | |
2544 | 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) | |
2545 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2546 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2547 | 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) | |
2548 | 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) | |
2549 | if Debounces.on == false then break end | |
2550 | wait() | |
2551 | end | |
2552 | Debounces.LPunch = false | |
2553 | Debounces.RPunch = false | |
2554 | Debounces.ks = false | |
2555 | Debounces.ks2 = false | |
2556 | if Debounces.CanAttack == false then | |
2557 | Debounces.CanAttack = true | |
2558 | Debounces.on = false | |
2559 | Debounces.NoIdl = false | |
2560 | end | |
2561 | end | |
2562 | end | |
2563 | end) | |
2564 | ||
2565 | ||
2566 | ||
2567 | function punch() | |
2568 | attack = true | |
2569 | jumped = true | |
2570 | killbrick = Instance.new("Part",rarm) | |
2571 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
2572 | killbrick.Transparency = 1 | |
2573 | killbrick:BreakJoints() | |
2574 | killbrick.CanCollide = false | |
2575 | killbrick.Anchored = true | |
2576 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
2577 | local bv = Instance.new("BodyVelocity") | |
2578 | bv.maxForce = Vector3.new(1,1,1) | |
2579 | bv.velocity = root.CFrame.lookVector*150 | |
2580 | bv.Parent = root | |
2581 | game:GetService("Debris"):AddItem(bv, 1) | |
2582 | local rng = Instance.new("Part", char) | |
2583 | rng.Anchored = true | |
2584 | rng.BrickColor = BrickColor.new("New Yeller") | |
2585 | rng.CanCollide = false | |
2586 | rng.FormFactor = 3 | |
2587 | rng.Name = "Ring" | |
2588 | rng.Size = Vector3.new(1, 1, 1) | |
2589 | rng.Transparency = 0 | |
2590 | rng.TopSurface = 0 | |
2591 | rng.BottomSurface = 0 | |
2592 | rng.CFrame = root.CFrame | |
2593 | local rngm = Instance.new("SpecialMesh", rng) | |
2594 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2595 | local rng2 = rng:Clone() | |
2596 | rng2.BrickColor = BrickColor.new("New Yeller") | |
2597 | rng2.Parent = char | |
2598 | rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2599 | local rng2m = rng2.Mesh | |
2600 | local rng3 = rng:Clone() | |
2601 | rng3.Parent = char | |
2602 | rng3.BrickColor = BrickColor.new("Institutional white") | |
2603 | rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2604 | local rng3m = Instance.new("SpecialMesh", rng3) | |
2605 | rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722" | |
2606 | local rng4 = rng:Clone() | |
2607 | rng4.Parent = char | |
2608 | rng4.BrickColor = BrickColor.new("New Yeller") | |
2609 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*12 | |
2610 | local rng4m = rng4.Mesh | |
2611 | local rng5 = rng:Clone() | |
2612 | rng5.Parent = char | |
2613 | rng5.BrickColor = BrickColor.new("New Yeller") | |
2614 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
2615 | local rng5m = rng5.Mesh | |
2616 | local rng6 = rng:Clone() | |
2617 | rng6.Material = "Neon" | |
2618 | rng6.CanCollide = false | |
2619 | rng6.BrickColor = BrickColor.new("New Yeller") | |
2620 | rng6.Parent = LeftLeg | |
2621 | local rng6m = rng6.Mesh | |
2622 | rng6m.Scale = vt(1,1,1) | |
2623 | rng6m.MeshType = "Sphere" | |
2624 | local rng7 = rng:Clone() | |
2625 | rng7.Material = "Plastic" | |
2626 | rng7.CanCollide = false | |
2627 | rng7.BrickColor = BrickColor.new("New Yeller") | |
2628 | rng7.Parent = LeftLeg | |
2629 | local rng7m = rng7.Mesh | |
2630 | rng7m.Scale = vt(1,1,1) | |
2631 | rng7m.MeshType = "Sphere" | |
2632 | CFuncs["Sound"].Create("rbxassetid://137579113", root, 1, 1) | |
2633 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2634 | wait() | |
2635 | local scaler = 10/5 | |
2636 | local scaler2 = 10/5 | |
2637 | local hit = rng6.Touched:connect(function(hit) | |
2638 | Damagefunc(hit,405,505,math.random(400,500),"Normal",root,.2,1) | |
2639 | CRIT=true | |
2640 | end) | |
2641 | for i = 0,10,0.1 do | |
2642 | swait() | |
2643 | rng.Transparency = rng.Transparency + 0.01 | |
2644 | rng2.Transparency = rng2.Transparency + 0.01 | |
2645 | rng3.Transparency = rng3.Transparency + 0.01 | |
2646 | rng4.Transparency = rng4.Transparency + 0.01 | |
2647 | rng5.Transparency = rng5.Transparency + 0.01 | |
2648 | rng6.Transparency = rng5.Transparency + 0.1 | |
2649 | rng7.Transparency = rng5.Transparency + 0.1 | |
2650 | scaler = scaler - 0.125/5 | |
2651 | scaler2 = scaler2 - 0.1/5 | |
2652 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2653 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/13.5, scaler2/13.5, 0) | |
2654 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2655 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
2656 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2) | |
2657 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
2658 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2659 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
2660 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
2661 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
2662 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
2663 | rng6.CFrame = killbrick.CFrame | |
2664 | rng7.CFrame = killbrick.CFrame | |
2665 | end | |
2666 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2667 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2668 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2669 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2670 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2671 | hit:disconnect() | |
2672 | rng:Destroy() | |
2673 | rng2:Destroy() | |
2674 | rng3:Destroy() | |
2675 | rng4:Destroy() | |
2676 | rng5:Destroy() | |
2677 | rng6:Destroy() | |
2678 | rng7:Destroy() | |
2679 | attack = false | |
2680 | killbrick:Destroy() | |
2681 | jumped = false | |
2682 | lig:Remove() | |
2683 | end | |
2684 | ||
2685 | ||
2686 | m.KeyDown:connect(function(key) | |
2687 | if key == "k" then | |
2688 | if punch == true then | |
2689 | punch = false | |
2690 | org = char.Torso["Left Shoulder"].C0 | |
2691 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
2692 | killbrick = Instance.new("Part",char) | |
2693 | killbrick.Size = Vector3.new(5,6,5) | |
2694 | killbrick.Transparency = 1 | |
2695 | killbrick:BreakJoints() | |
2696 | killbrick.CanCollide = false | |
2697 | local wel = Instance.new("Weld",killbrick) | |
2698 | wel.Part0 = killbrick | |
2699 | wel.Part1 = char["Left Arm"] | |
2700 | wel.C0 = CFrame.new(0,1,0) | |
2701 | force = 90 | |
2702 | ||
2703 | killbrick.Touched:connect(function(h) | |
2704 | local x = h.Parent.Humanoid | |
2705 | if x.Health >= 100 then | |
2706 | fling = false | |
2707 | end | |
2708 | if x.Health < 100 then | |
2709 | fling = true | |
2710 | end | |
2711 | local stop = h.Parent.Torso.Velocity | |
2712 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2713 | safe = true | |
2714 | else safe = false | |
2715 | end | |
2716 | if x then | |
2717 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2718 | safe = true | |
2719 | else safe = false | |
2720 | end | |
2721 | if safe == false then | |
2722 | if fling == true then | |
2723 | force = 900 | |
2724 | ||
2725 | end | |
2726 | if fling == false then | |
2727 | force = 200 | |
2728 | end | |
2729 | wait(0.2) | |
2730 | ||
2731 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
2732 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
2733 | boom:Play() | |
2734 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
2735 | ||
2736 | ||
2737 | wait(0) | |
2738 | x.Parent:Destroy() | |
2739 | GroundWave2() | |
2740 | wait() | |
2741 | safe = true | |
2742 | bodyforc:Remove() | |
2743 | h.Parent.Torso.Velocity = stop | |
2744 | ||
2745 | end | |
2746 | end | |
2747 | end) | |
2748 | ||
2749 | ||
2750 | ||
2751 | ||
2752 | ||
2753 | ||
2754 | ||
2755 | ||
2756 | ||
2757 | ||
2758 | local rng = Instance.new("Part", char) | |
2759 | rng.Anchored = true | |
2760 | rng.BrickColor = BrickColor.new("Institutional white") | |
2761 | rng.CanCollide = false | |
2762 | rng.FormFactor = 3 | |
2763 | rng.Name = "Ring" | |
2764 | rng.Size = Vector3.new(1, 1, 1) | |
2765 | rng.Transparency = 0.8 | |
2766 | rng.TopSurface = 0 | |
2767 | rng.BottomSurface = 0 | |
2768 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
2769 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
2770 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2771 | local rngm = Instance.new("SpecialMesh", rng) | |
2772 | rngm.MeshId = "http://www.roblox.com/asset/?id=437347603" | |
2773 | rngm.Scale = Vector3.new(0.1, 0.1, 0.1) | |
2774 | wait(0.1) | |
2775 | ||
2776 | ||
2777 | ||
2778 | boom2:Play() | |
2779 | coroutine.wrap(function() | |
2780 | for i = 1, 10, .4 do | |
2781 | rngm.Scale = Vector3.new(0.2 + i*0.2, 0.2 + i*0.2, 1) | |
2782 | ||
2783 | wait() | |
2784 | end | |
2785 | wait() | |
2786 | rng:Destroy() | |
2787 | killbrick:Remove() | |
2788 | wait(0.5) | |
2789 | char.Torso["Left Shoulder"].C0 = org | |
2790 | wait(1) | |
2791 | ||
2792 | punch = true | |
2793 | wait() | |
2794 | end)() | |
2795 | ||
2796 | ||
2797 | ||
2798 | end | |
2799 | ||
2800 | ||
2801 | wait(.1) | |
2802 | ||
2803 | ||
2804 | end | |
2805 | end) | |
2806 | ||
2807 | local handle = Instance.new("Part") | |
2808 | handle.Parent = Character | |
2809 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
2810 | handle.Archivable = true | |
2811 | handle.Transparency = 1 | |
2812 | handle.CanCollide = false | |
2813 | handle.BrickColor = BrickColor.new("White") | |
2814 | handle.Material = "Neon" | |
2815 | local handlmesh = Instance.new("BlockMesh",handle) | |
2816 | handlmesh.Scale = Vector3.new(1,1,1) | |
2817 | local handleweld = Instance.new("Weld") | |
2818 | handleweld.Parent = handle | |
2819 | handleweld.Part0 = rarm | |
2820 | handleweld.Part1 = handle | |
2821 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2822 | handleweld.Part0 = rarm | |
2823 | local meshtype = "Sphere" | |
2824 | ||
2825 | function InfernoComet() | |
2826 | attack = true | |
2827 | chatfunc(" ") | |
2828 | handleweld.Part0 = rarm | |
2829 | local tra = Instance.new("ParticleEmitter",handle) | |
2830 | tra.Texture = "rbxassetid://209852980" | |
2831 | tra.LightEmission = 0 | |
2832 | tra.Rate = 99999 | |
2833 | tra.Lifetime = NumberRange.new(0.25) | |
2834 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2835 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
2836 | tra.Speed = NumberRange.new(0) | |
2837 | tra.Rotation = NumberRange.new(-500,500) | |
2838 | tra.VelocitySpread = 90000 | |
2839 | tra.LockedToPart = true | |
2840 | tra.RotSpeed = NumberRange.new(-500,500) | |
2841 | local tra2 = Instance.new("ParticleEmitter",handle) | |
2842 | tra2.Texture = "http://www.roblox.com/asset/?id=209852980" | |
2843 | tra2.LightEmission = 0 | |
2844 | tra2.Rate = 50 | |
2845 | tra2.Lifetime = NumberRange.new(0.5) | |
2846 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2847 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
2848 | tra2.Speed = NumberRange.new(0) | |
2849 | tra2.Rotation = NumberRange.new(-500,500) | |
2850 | tra2.VelocitySpread = 90000 | |
2851 | tra2.LockedToPart = true | |
2852 | tra2.RotSpeed = NumberRange.new(-500,500) | |
2853 | for i = 0,4,0.1 do | |
2854 | swait() | |
2855 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2856 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
2857 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
2858 | 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) | |
2859 | end | |
2860 | local sa = Instance.new("Sound",handle) | |
2861 | sa.SoundId = "rbxassetid://304448425" | |
2862 | sa.Volume = 1 | |
2863 | sa.Pitch = 1 | |
2864 | sa:Play() | |
2865 | tra.Rate = 0 | |
2866 | tra2.Rate = 0 | |
2867 | local lb = Instance.new("Part") | |
2868 | lb.Parent = char | |
2869 | lb.Material = "Neon" | |
2870 | lb.Color = BrickColor.new("Cyan").Color | |
2871 | lb.CanCollide = false | |
2872 | lb.Shape = "Ball" | |
2873 | lb.CFrame = handle.CFrame | |
2874 | lb.Anchored = true | |
2875 | lb.Transparency = 1 | |
2876 | lb.Size = vt(1,1,1) | |
2877 | local thing = Instance.new("SpecialMesh",lb) | |
2878 | thing.MeshType = meshtype | |
2879 | local hitted = false | |
2880 | lb.Anchored = false | |
2881 | local trail = Instance.new("ParticleEmitter",lb) | |
2882 | trail.Texture = "rbxassetid://209852980" | |
2883 | trail.LightEmission = 1 | |
2884 | trail.Rate = 9999 | |
2885 | trail.Lifetime = NumberRange.new(1.5) | |
2886 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2887 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2888 | trail.Speed = NumberRange.new(0,0) | |
2889 | trail.Rotation = NumberRange.new(-500,500) | |
2890 | trail.RotSpeed = NumberRange.new(-500,500) | |
2891 | local bv = Instance.new("BodyVelocity") | |
2892 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2893 | bv.velocity = mouse.Hit.lookVector *75 | |
2894 | bv.Parent = lb | |
2895 | wait(0.05) | |
2896 | lb.Touched:connect(function(hit) | |
2897 | if hitted == false then | |
2898 | hitted = true | |
2899 | trail.Rate = 0 | |
2900 | lb.Anchored = true | |
2901 | local aa = Instance.new("Part") | |
2902 | local val = 1*3.5 | |
2903 | aa.Parent = lb | |
2904 | local exsound = Instance.new("Sound",aa) | |
2905 | exsound.SoundId = "rbxassetid://402347142" | |
2906 | exsound.Volume = 3.5 | |
2907 | exsound.Pitch = 1 | |
2908 | exsound:Play() | |
2909 | aa.Material = "Neon" | |
2910 | aa.Color = BrickColor.new("Gold").Color | |
2911 | aa.CanCollide = false | |
2912 | aa.Shape = "Ball" | |
2913 | aa.CFrame = lb.CFrame | |
2914 | aa.Anchored = true | |
2915 | aa.Transparency = 0 | |
2916 | aa.Size = vt(1,1,1) | |
2917 | local thinger = Instance.new("SpecialMesh",aa) | |
2918 | thinger.MeshType = meshtype | |
2919 | thinger.Scale = vt(15,15,15) | |
2920 | local explosion = Instance.new("Explosion",aa) | |
2921 | explosion.Position = aa.Position | |
2922 | explosion.BlastRadius = 22.5 | |
2923 | explosion.BlastPressure = 100 | |
2924 | local exp = Instance.new("ParticleEmitter",aa) | |
2925 | exp.Texture = "rbxassetid://209852980" | |
2926 | exp.LightEmission = 1 | |
2927 | exp.Rate = 9000000000 | |
2928 | exp.Lifetime = NumberRange.new(1) | |
2929 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2930 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2931 | exp.Speed = NumberRange.new(100) | |
2932 | exp.VelocitySpread = 9000000 | |
2933 | exp.Rotation = NumberRange.new(-500,500) | |
2934 | exp.RotSpeed = NumberRange.new(-500,500) | |
2935 | local expa = Instance.new("ParticleEmitter",aa) | |
2936 | expa.Texture = "rbxassetid://209852980" | |
2937 | expa.LightEmission = 1 | |
2938 | expa.Rate = 9000000000 | |
2939 | expa.Lifetime = NumberRange.new(2.75) | |
2940 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
2941 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2942 | expa.Speed = NumberRange.new(100) | |
2943 | expa.VelocitySpread = 9000000 | |
2944 | expa.Rotation = NumberRange.new(-500,500) | |
2945 | expa.RotSpeed = NumberRange.new(-500,500) | |
2946 | local exp2 = exp:Clone() | |
2947 | exp2.Parent = aa | |
2948 | local exp3 = exp:Clone() | |
2949 | exp3.Parent = aa | |
2950 | local exp4 = exp:Clone() | |
2951 | exp4.Parent = aa | |
2952 | local exp5 = exp:Clone() | |
2953 | exp5.Parent = aa | |
2954 | local exp6 = exp:Clone() | |
2955 | exp6.Parent = aa | |
2956 | local exp7 = exp:Clone() | |
2957 | exp7.Parent = aa | |
2958 | local expa2 = expa:Clone() | |
2959 | expa2.Parent = aa | |
2960 | local expa3 = expa:Clone() | |
2961 | expa3.Parent = aa | |
2962 | local expa4 = expa:Clone() | |
2963 | expa4.Parent = aa | |
2964 | local expa5 = expa:Clone() | |
2965 | expa5.Parent = aa | |
2966 | local expa6 = expa:Clone() | |
2967 | expa6.Parent = aa | |
2968 | local expa7 = expa:Clone() | |
2969 | expa7.Parent = aa | |
2970 | for i = 0, 1 do | |
2971 | val = val - 0.025*3.5 | |
2972 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2973 | wait() | |
2974 | end | |
2975 | exp.Rate = 0 | |
2976 | exp2.Rate = 0 | |
2977 | exp3.Rate = 0 | |
2978 | exp4.Rate = 0 | |
2979 | exp5.Rate = 0 | |
2980 | exp6.Rate = 0 | |
2981 | exp7.Rate = 0 | |
2982 | for i = 0, 1 do | |
2983 | val = val - 0.025*3.5 | |
2984 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2985 | wait() | |
2986 | end | |
2987 | expa.Rate = 0 | |
2988 | expa2.Rate = 0 | |
2989 | expa3.Rate = 0 | |
2990 | expa4.Rate = 0 | |
2991 | expa5.Rate = 0 | |
2992 | expa6.Rate = 0 | |
2993 | expa7.Rate = 0 | |
2994 | for i = 0, 21 do | |
2995 | val = val - 0.025*3.5 | |
2996 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2997 | wait() | |
2998 | end | |
2999 | for i = 0, 74 do | |
3000 | val = val - 0.0145 | |
3001 | aa.Transparency = aa.Transparency + 0.0145 | |
3002 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3003 | wait() | |
3004 | end | |
3005 | end | |
3006 | end) | |
3007 | attack = false | |
3008 | wait(30) | |
3009 | sa:Destroy() | |
3010 | tra:Destroy() | |
3011 | tra2:Destroy() | |
3012 | lb:Destroy() | |
3013 | end | |
3014 | ||
3015 | function Crater(Torso,Radius) | |
3016 | spawn(function() | |
3017 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
3018 | local Ignore = {} | |
3019 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
3020 | if v.Character ~= nil then | |
3021 | Ignore[#Ignore+1] = v.Character | |
3022 | end | |
3023 | end | |
3024 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
3025 | if Hit == nil then return end | |
3026 | local Parts = {} | |
3027 | for i = 1,360,10 do | |
3028 | local P = Instance.new("Part",Torso.Parent) | |
3029 | P.Anchored = true | |
3030 | P.FormFactor = "Custom" | |
3031 | P.BrickColor = Hit.BrickColor | |
3032 | P.Material = Hit.Material | |
3033 | P.TopSurface = "Smooth" | |
3034 | P.BottomSurface = "Smooth" | |
3035 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
3036 | 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))) | |
3037 | 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} | |
3038 | if math.random(0,5) == 0 then -- rubble | |
3039 | local P = Instance.new("Part",Torso.Parent) | |
3040 | P.Anchored = true | |
3041 | P.FormFactor = "Custom" | |
3042 | P.BrickColor = Hit.BrickColor | |
3043 | P.Material = Hit.Material | |
3044 | P.TopSurface = "Smooth" | |
3045 | P.BottomSurface = "Smooth" | |
3046 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
3047 | 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))) | |
3048 | 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} | |
3049 | end | |
3050 | end | |
3051 | for i = 0,1,0.05 do | |
3052 | for i2,v in pairs(Parts) do | |
3053 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
3054 | end | |
3055 | wait(0.02) | |
3056 | end | |
3057 | for i,v in pairs(Parts) do | |
3058 | if v[1].Size.X > 2.1 then | |
3059 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
3060 | end | |
3061 | v[1].Anchored = false | |
3062 | end | |
3063 | for i = 0,1,0.05 do | |
3064 | for i2,v in pairs(Parts) do | |
3065 | v[1].Transparency = i | |
3066 | if i == 1 then | |
3067 | v[1]:Destroy() | |
3068 | elseif i >= 0.25 then | |
3069 | v[1].CanCollide = false | |
3070 | end | |
3071 | end | |
3072 | wait(0.02) | |
3073 | end | |
3074 | Parts = nil | |
3075 | end) | |
3076 | end | |
3077 | ||
3078 | ||
3079 | function InfernoWrath() | |
3080 | attack = true | |
3081 | chatfunc("FULL BLAST!") | |
3082 | local pie22 = Instance.new("ParticleEmitter") | |
3083 | pie22.Parent = larm | |
3084 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3085 | pie22.LightEmission = 1 | |
3086 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
3087 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3088 | pie22.Transparency = NumberSequence.new(0.7) | |
3089 | pie22.EmissionDirection = "Top" | |
3090 | pie22.Enabled = true | |
3091 | pie22.Lifetime = NumberRange.new(1) | |
3092 | pie22.Rotation = NumberRange.new(-420, 425) | |
3093 | pie22.Rate = 400 | |
3094 | pie22.Speed = NumberRange.new(1) | |
3095 | pie22.LockedToPart = false | |
3096 | pie22.VelocitySpread = 2 | |
3097 | local pie222 = Instance.new("ParticleEmitter") | |
3098 | pie222.Parent = rarm | |
3099 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3100 | pie222.LightEmission = 1 | |
3101 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3102 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3103 | pie222.Transparency = NumberSequence.new(0.7) | |
3104 | pie222.EmissionDirection = "Top" | |
3105 | pie222.Enabled = true | |
3106 | pie222.Lifetime = NumberRange.new(1) | |
3107 | pie222.Rotation = NumberRange.new(-420, 425) | |
3108 | pie222.Rate = 400 | |
3109 | pie222.Speed = NumberRange.new(1) | |
3110 | pie222.LockedToPart = false | |
3111 | pie222.VelocitySpread = 2 | |
3112 | local pie2222 = Instance.new("ParticleEmitter") | |
3113 | pie2222.Parent = lleg | |
3114 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3115 | pie2222.LightEmission = 1 | |
3116 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3117 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3118 | pie2222.Transparency = NumberSequence.new(0.7) | |
3119 | pie2222.EmissionDirection = "Top" | |
3120 | pie2222.Enabled = true | |
3121 | pie2222.Lifetime = NumberRange.new(1) | |
3122 | pie2222.Rotation = NumberRange.new(-420, 425) | |
3123 | pie2222.Rate = 400 | |
3124 | pie2222.Speed = NumberRange.new(1) | |
3125 | pie2222.LockedToPart = false | |
3126 | pie2222.VelocitySpread = 2 | |
3127 | local pie22222 = Instance.new("ParticleEmitter") | |
3128 | pie22222.Parent = rleg | |
3129 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3130 | pie22222.LightEmission = 1 | |
3131 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3132 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3133 | pie22222.Transparency = NumberSequence.new(0.7) | |
3134 | pie22222.EmissionDirection = "Top" | |
3135 | pie22222.Enabled = true | |
3136 | pie22222.Lifetime = NumberRange.new(1) | |
3137 | pie22222.Rotation = NumberRange.new(-420, 425) | |
3138 | pie22222.Rate = 400 | |
3139 | pie22222.Speed = NumberRange.new(1) | |
3140 | pie22222.LockedToPart = false | |
3141 | pie22222.VelocitySpread = 2 | |
3142 | local pie2242 = Instance.new("ParticleEmitter") | |
3143 | pie2242.Parent = tors | |
3144 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3145 | pie2242.LightEmission = 1 | |
3146 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
3147 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3148 | pie2242.Transparency = NumberSequence.new(0.7) | |
3149 | pie2242.EmissionDirection = "Top" | |
3150 | pie2242.Enabled = true | |
3151 | pie2242.Lifetime = NumberRange.new(1) | |
3152 | pie2242.Rotation = NumberRange.new(-420, 425) | |
3153 | pie2242.Rate = 400 | |
3154 | pie2242.Speed = NumberRange.new(1) | |
3155 | pie2242.LockedToPart = false | |
3156 | pie2242.VelocitySpread = 2 | |
3157 | for i = 0,4,0.1 do | |
3158 | swait() | |
3159 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3160 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3161 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3162 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3163 | end | |
3164 | hum.WalkSpeed = 16 | |
3165 | local lb = Instance.new("Part") | |
3166 | lb.Parent = char | |
3167 | lb.Material = "Neon" | |
3168 | lb.Color = BrickColor.new("Gold").Color | |
3169 | lb.CanCollide = false | |
3170 | lb.Shape = "Ball" | |
3171 | lb.CFrame = tors.CFrame | |
3172 | lb.Anchored = true | |
3173 | lb.Transparency = 1 | |
3174 | lb.Size = vt(1,1,1) | |
3175 | local thing = Instance.new("SpecialMesh",lb) | |
3176 | thing.MeshType = meshtype | |
3177 | for i = 0, 4 do | |
3178 | local lbr = Instance.new("Part") | |
3179 | lbr.Parent = char | |
3180 | lbr.Material = "Neon" | |
3181 | lbr.Color = BrickColor.new("Gold").Color | |
3182 | lbr.CanCollide = false | |
3183 | lbr.Shape = "Ball" | |
3184 | lbr.CFrame = lb.CFrame | |
3185 | lbr.Anchored = true | |
3186 | lbr.Transparency = 1 | |
3187 | lbr.Size = vt(1,1,1) | |
3188 | local thinga = Instance.new("SpecialMesh",lbr) | |
3189 | thinga.MeshType = meshtype | |
3190 | thinga.Scale = vt(20*6,20*6,20*6) | |
3191 | for z = 0, 19 do | |
3192 | wait(0.025) | |
3193 | lbr.Transparency = lbr.Transparency - 0.05 | |
3194 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
3195 | end | |
3196 | lbr:Destroy() | |
3197 | end | |
3198 | local aa = Instance.new("Part") | |
3199 | local val = 1*7.5 | |
3200 | aa.Parent = lb | |
3201 | local exsound = Instance.new("Sound",handle) | |
3202 | exsound.SoundId = "rbxassetid://402347142" | |
3203 | exsound.Volume = 10 | |
3204 | exsound.Pitch = 1 | |
3205 | exsound:Play() | |
3206 | aa.Material = "Neon" | |
3207 | aa.Color = BrickColor.new("New Yeller").Color | |
3208 | aa.CanCollide = false | |
3209 | aa.Shape = "Ball" | |
3210 | aa.CFrame = lb.CFrame | |
3211 | aa.Anchored = true | |
3212 | aa.Transparency = 0 | |
3213 | aa.Size = vt(1,1,1) | |
3214 | local thinger = Instance.new("SpecialMesh",aa) | |
3215 | thinger.MeshType = meshtype | |
3216 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
3217 | local explosion = Instance.new("Explosion",aa) | |
3218 | explosion.Position = aa.Position | |
3219 | explosion.BlastRadius = 500000000000 | |
3220 | explosion.BlastPressure = 6000 | |
3221 | local exp = Instance.new("ParticleEmitter",aa) | |
3222 | exp.Texture = "rbxassetid://296874871" | |
3223 | exp.LightEmission = 1 | |
3224 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
3225 | exp.Rate = 9000000000 | |
3226 | exp.Lifetime = NumberRange.new(1) | |
3227 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3228 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3229 | exp.Speed = NumberRange.new(115) | |
3230 | exp.VelocitySpread = 9000000 | |
3231 | exp.Rotation = NumberRange.new(-500,500) | |
3232 | exp.RotSpeed = NumberRange.new(-500,500) | |
3233 | local expa = Instance.new("ParticleEmitter",aa) | |
3234 | expa.Texture = "rbxassetid://296874871" | |
3235 | expa.LightEmission = 1 | |
3236 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
3237 | expa.Rate = 9000000000 | |
3238 | expa.Lifetime = NumberRange.new(2.75) | |
3239 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
3240 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3241 | expa.Speed = NumberRange.new(115) | |
3242 | expa.VelocitySpread = 9000000 | |
3243 | expa.Rotation = NumberRange.new(-500,500) | |
3244 | expa.RotSpeed = NumberRange.new(-500,500) | |
3245 | local exp2 = exp:Clone() | |
3246 | exp2.Parent = aa | |
3247 | local exp3 = exp:Clone() | |
3248 | exp3.Parent = aa | |
3249 | local exp4 = exp:Clone() | |
3250 | exp4.Parent = aa | |
3251 | local exp5 = exp:Clone() | |
3252 | exp5.Parent = aa | |
3253 | local exp6 = exp:Clone() | |
3254 | exp6.Parent = aa | |
3255 | local exp7 = exp:Clone() | |
3256 | exp7.Parent = aa | |
3257 | local expa2 = expa:Clone() | |
3258 | expa2.Parent = aa | |
3259 | local expa3 = expa:Clone() | |
3260 | expa3.Parent = aa | |
3261 | local expa4 = expa:Clone() | |
3262 | expa4.Parent = aa | |
3263 | local expa5 = expa:Clone() | |
3264 | expa5.Parent = aa | |
3265 | local expa6 = expa:Clone() | |
3266 | expa6.Parent = aa | |
3267 | local expa7 = expa:Clone() | |
3268 | expa7.Parent = aa | |
3269 | Crater(head,60) | |
3270 | ||
3271 | for i = 0, 1 do | |
3272 | val = val - 0.025*7.5 | |
3273 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3274 | wait() | |
3275 | end | |
3276 | exp.Rate = 0 | |
3277 | exp2.Rate = 0 | |
3278 | exp3.Rate = 0 | |
3279 | exp4.Rate = 0 | |
3280 | exp5.Rate = 0 | |
3281 | exp6.Rate = 0 | |
3282 | exp7.Rate = 0 | |
3283 | for i = 0, 1 do | |
3284 | val = val - 0.025*7.5 | |
3285 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3286 | wait() | |
3287 | end | |
3288 | hum.WalkSpeed = 16 | |
3289 | pie22:Destroy() | |
3290 | pie222:Destroy() | |
3291 | pie2222:Destroy() | |
3292 | pie22222:Destroy() | |
3293 | pie2242:Destroy() | |
3294 | attack = false | |
3295 | expa.Rate = 0 | |
3296 | expa2.Rate = 0 | |
3297 | expa3.Rate = 0 | |
3298 | expa4.Rate = 0 | |
3299 | expa5.Rate = 0 | |
3300 | expa6.Rate = 0 | |
3301 | expa7.Rate = 0 | |
3302 | for i = 0, 21 do | |
3303 | val = val - 0.025*7.5 | |
3304 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3305 | wait() | |
3306 | end | |
3307 | for i = 0, 74 do | |
3308 | val = val - 0.0145 | |
3309 | aa.Transparency = aa.Transparency + 0.0145 | |
3310 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3311 | wait() | |
3312 | end | |
3313 | wait(5) | |
3314 | lb:Destroy() | |
3315 | end | |
3316 | ||
3317 | ||
3318 | ||
3319 | function Lerp(c1,c2,al) | |
3320 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
3321 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
3322 | for i,v in pairs(com1) do | |
3323 | com1[i] = v+(com2[i]-v)*al | |
3324 | end | |
3325 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
3326 | end | |
3327 | ----- | |
3328 | ||
3329 | ----- | |
3330 | ||
3331 | ------------------------------------------------------------------ | |
3332 | --Blocking | |
3333 | ---------------------------------------------------------------- | |
3334 | mouse.KeyDown:connect(function(key) | |
3335 | if key == "-" then | |
3336 | if attack == true then | |
3337 | attack = false | |
3338 | canidle = false | |
3339 | canwalk = false | |
3340 | ||
3341 | block = true | |
3342 | ||
3343 | end | |
3344 | end | |
3345 | end) | |
3346 | mouse.KeyUp:connect(function(key) | |
3347 | if key == "-" then | |
3348 | if attack == false then | |
3349 | attack = true | |
3350 | canidle = true | |
3351 | block = false | |
3352 | canwalk = true | |
3353 | ||
3354 | ||
3355 | end | |
3356 | end | |
3357 | end) | |
3358 | ---- | |
3359 | if block == true then | |
3360 | 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 | |
3361 | 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 | |
3362 | 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 | |
3363 | 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 | |
3364 | 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 | |
3365 | 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 | |
3366 | ||
3367 | ||
3368 | end | |
3369 | ---- | |
3370 | function punchd() | |
3371 | attack = true | |
3372 | jumped = true | |
3373 | hum.WalkSpeed = 30 | |
3374 | killbrick = Instance.new("Part",rarm) | |
3375 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3376 | killbrick.Transparency = 1 | |
3377 | killbrick:BreakJoints() | |
3378 | killbrick.CanCollide = false | |
3379 | killbrick.Anchored = true | |
3380 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3381 | lig = Instance.new("PointLight",player.Character.Torso) | |
3382 | lig.Color=Color3.new(255,255,0) | |
3383 | lig.Range = 20 | |
3384 | local bv = Instance.new("BodyVelocity") | |
3385 | bv.maxForce = Vector3.new(1,1,1) | |
3386 | bv.velocity = root.CFrame.lookVector*150 | |
3387 | bv.Parent = root | |
3388 | char.Head.face.Texture = "rbxassetid://126198982" | |
3389 | game:GetService("Debris"):AddItem(bv, 1) | |
3390 | local rng = Instance.new("Part", char) | |
3391 | rng.Anchored = true | |
3392 | rng.BrickColor = BrickColor.new("Neon orange") | |
3393 | rng.CanCollide = false | |
3394 | rng.FormFactor = 3 | |
3395 | rng.Name = "Ring" | |
3396 | rng.Size = Vector3.new(1, 1, 1) | |
3397 | rng.Transparency = 0 | |
3398 | rng.TopSurface = 0 | |
3399 | rng.BottomSurface = 0 | |
3400 | rng.CFrame = root.CFrame | |
3401 | local rngm = Instance.new("SpecialMesh", rng) | |
3402 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3403 | local rng2 = rng:Clone() | |
3404 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3405 | rng2.Parent = char | |
3406 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3407 | local rng2m = rng2.Mesh | |
3408 | local rng3 = rng:Clone() | |
3409 | rng3.Parent = char | |
3410 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3411 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3412 | local rng3m = rng3.Mesh | |
3413 | local rng4 = rng:Clone() | |
3414 | rng4.Parent = char | |
3415 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3416 | local rng4m = rng4.Mesh | |
3417 | local rng5 = rng:Clone() | |
3418 | rng5.Parent = char | |
3419 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3420 | local rng5m = rng5.Mesh | |
3421 | local rng6 = rng:Clone() | |
3422 | rng6.Material = "Neon" | |
3423 | rng6.CanCollide = false | |
3424 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3425 | rng6.Parent = LeftLeg | |
3426 | local rng6m = rng6.Mesh | |
3427 | rng6m.Scale = vt(1,1,1) | |
3428 | rng6m.MeshType = "Sphere" | |
3429 | local rng7 = rng:Clone() | |
3430 | rng7.Material = "Plastic" | |
3431 | rng7.CanCollide = false | |
3432 | rng7.BrickColor = BrickColor.new("Bright red") | |
3433 | rng7.Parent = LeftLeg | |
3434 | local rng7m = rng7.Mesh | |
3435 | rng7m.Scale = vt(1,1,1) | |
3436 | rng7m.MeshType = "Sphere" | |
3437 | CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1) | |
3438 | CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1) | |
3439 | wait() | |
3440 | local scaler = 10/5 | |
3441 | local scaler2 = 10/5 | |
3442 | local hit = rng6.Touched:connect(function(hit) | |
3443 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
3444 | CRIT=true | |
3445 | end) | |
3446 | for i = 0,10,0.1 do | |
3447 | swait() | |
3448 | rng.Transparency = rng.Transparency + 0.01 | |
3449 | rng2.Transparency = rng2.Transparency + 0.01 | |
3450 | rng3.Transparency = rng3.Transparency + 0.01 | |
3451 | rng4.Transparency = rng4.Transparency + 0.01 | |
3452 | rng5.Transparency = rng5.Transparency + 0.01 | |
3453 | rng6.Transparency = rng5.Transparency + 0.001 | |
3454 | rng7.Transparency = rng5.Transparency + 0.001 | |
3455 | scaler = scaler - 0.125/5 | |
3456 | scaler2 = scaler2 - 0.1/5 | |
3457 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0) | |
3458 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3459 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
3460 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3461 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
3462 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3463 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3464 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
3465 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3466 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
3467 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
3468 | rng6.CFrame = killbrick.CFrame | |
3469 | rng7.CFrame = killbrick.CFrame | |
3470 | end | |
3471 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3472 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3473 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3474 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3475 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3476 | hum.WalkSpeed = 16 | |
3477 | hit:disconnect() | |
3478 | attack = false | |
3479 | killbrick:Destroy() | |
3480 | char.Head.face.Texture = "rbxassetid://29291814" | |
3481 | jumped = false | |
3482 | lig:Remove() | |
3483 | end | |
3484 | ||
3485 | ||
3486 | ||
3487 | ||
3488 | ||
3489 | ||
3490 | function shock() | |
3491 | attack = true | |
3492 | jumped = true | |
3493 | hum.WalkSpeed = 16 | |
3494 | killbrick = Instance.new("Part",rarm) | |
3495 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3496 | killbrick.Transparency = 1 | |
3497 | killbrick:BreakJoints() | |
3498 | killbrick.CanCollide = false | |
3499 | killbrick.Anchored = true | |
3500 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3501 | lig = Instance.new("PointLight",player.Character.Torso) | |
3502 | lig.Color=Color3.new(255,0,0) | |
3503 | lig.Range = 20 | |
3504 | local bv = Instance.new("BodyVelocity") | |
3505 | bv.maxForce = Vector3.new(1,1,1) | |
3506 | bv.velocity = root.CFrame.lookVector*150 | |
3507 | bv.Parent = root | |
3508 | char.Head.face.Texture = "rbxassetid://126198982" | |
3509 | game:GetService("Debris"):AddItem(bv, 1) | |
3510 | local rng = Instance.new("Part", char) | |
3511 | rng.Anchored = true | |
3512 | rng.BrickColor = BrickColor.new("Neon orange") | |
3513 | rng.CanCollide = false | |
3514 | rng.FormFactor = 3 | |
3515 | rng.Name = "Ring" | |
3516 | rng.Size = Vector3.new(1, 1, 1) | |
3517 | rng.Transparency = 0 | |
3518 | rng.TopSurface = 0 | |
3519 | rng.BottomSurface = 0 | |
3520 | rng.CFrame = root.CFrame | |
3521 | local rngm = Instance.new("SpecialMesh", rng) | |
3522 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3523 | local rng2 = rng:Clone() | |
3524 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3525 | rng2.Parent = char | |
3526 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3527 | local rng2m = rng2.Mesh | |
3528 | local rng3 = rng:Clone() | |
3529 | rng3.Parent = char | |
3530 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3531 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3532 | local rng3m = rng3.Mesh | |
3533 | local rng4 = rng:Clone() | |
3534 | rng4.Parent = char | |
3535 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3536 | local rng4m = rng4.Mesh | |
3537 | local rng5 = rng:Clone() | |
3538 | rng5.Parent = char | |
3539 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3540 | local rng5m = rng5.Mesh | |
3541 | local rng6 = rng:Clone() | |
3542 | rng6.Material = "Neon" | |
3543 | rng6.CanCollide = false | |
3544 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3545 | rng6.Parent = LeftLeg | |
3546 | local rng6m = rng6.Mesh | |
3547 | rng6m.Scale = vt(1,1,1) | |
3548 | rng6m.MeshType = "Sphere" | |
3549 | local rng7 = rng:Clone() | |
3550 | rng7.Material = "Plastic" | |
3551 | rng7.CanCollide = false | |
3552 | rng7.BrickColor = BrickColor.new("Bright red") | |
3553 | rng7.Parent = LeftLeg | |
3554 | local rng7m = rng7.Mesh | |
3555 | rng7m.Scale = vt(1,1,1) | |
3556 | rng7m.MeshType = "Sphere" | |
3557 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3558 | wait() | |
3559 | local scaler = 10/5 | |
3560 | local scaler2 = 10/5 | |
3561 | local hit = rng6.Touched:connect(function(hit) | |
3562 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
3563 | end) | |
3564 | for i = 0,10,0.1 do | |
3565 | swait() | |
3566 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3567 | rng.Transparency = rng.Transparency + 0.01 | |
3568 | rng2.Transparency = rng2.Transparency + 0.01 | |
3569 | rng3.Transparency = rng3.Transparency + 0.01 | |
3570 | rng4.Transparency = rng4.Transparency + 0.01 | |
3571 | rng5.Transparency = rng5.Transparency + 0.01 | |
3572 | rng6.Transparency = rng5.Transparency + 0.001 | |
3573 | rng7.Transparency = rng5.Transparency + 0.001 | |
3574 | scaler = scaler - 0.125/5 | |
3575 | scaler2 = scaler2 - 0.1/5 | |
3576 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0) | |
3577 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0) | |
3578 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0) | |
3579 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0) | |
3580 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
3581 | rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
3582 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3583 | 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) | |
3584 | 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) | |
3585 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3586 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3587 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3588 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3589 | rng6.CFrame = killbrick.CFrame | |
3590 | rng7.CFrame = killbrick.CFrame | |
3591 | end | |
3592 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3593 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3594 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3595 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3596 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3597 | hum.WalkSpeed = 16 | |
3598 | hit:disconnect() | |
3599 | attack = false | |
3600 | killbrick:Destroy() | |
3601 | char.Head.face.Texture = "rbxassetid://29291814" | |
3602 | jumped = false | |
3603 | lig:Remove() | |
3604 | end | |
3605 | ||
3606 | ||
3607 | function punch3() | |
3608 | attack = true | |
3609 | jumped = true | |
3610 | hum.WalkSpeed = 16 | |
3611 | killbrick = Instance.new("Part",rarm) | |
3612 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3613 | killbrick.Transparency = 1 | |
3614 | killbrick:BreakJoints() | |
3615 | killbrick.CanCollide = false | |
3616 | killbrick.Anchored = true | |
3617 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3618 | ||
3619 | killbrick2 = Instance.new("Part",rarm) | |
3620 | killbrick2.Size = Vector3.new(0.1,0.1,0.1) | |
3621 | killbrick2.Transparency = 1 | |
3622 | killbrick2:BreakJoints() | |
3623 | killbrick2.CanCollide = false | |
3624 | killbrick2.Anchored = true | |
3625 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30) | |
3626 | lig = Instance.new("PointLight",player.Character.Torso) | |
3627 | lig.Color=Color3.new(255,0,0) | |
3628 | lig.Range = 20 | |
3629 | local bv = Instance.new("BodyVelocity") | |
3630 | bv.maxForce = Vector3.new(1,1,1) | |
3631 | bv.velocity = root.CFrame.lookVector*150 | |
3632 | bv.Parent = root | |
3633 | char.Head.face.Texture = "rbxassetid://126198982" | |
3634 | game:GetService("Debris"):AddItem(bv, 1) | |
3635 | local rng = Instance.new("Part", char) | |
3636 | rng.Anchored = true | |
3637 | rng.BrickColor = BrickColor.new("Neon orange") | |
3638 | rng.CanCollide = false | |
3639 | rng.FormFactor = 3 | |
3640 | rng.Name = "Ring" | |
3641 | rng.Size = Vector3.new(1, 1, 1) | |
3642 | rng.Transparency = 0 | |
3643 | rng.TopSurface = 0 | |
3644 | rng.BottomSurface = 0 | |
3645 | rng.CFrame = root.CFrame | |
3646 | local rngm = Instance.new("SpecialMesh", rng) | |
3647 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3648 | local rng2 = rng:Clone() | |
3649 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3650 | rng2.Parent = char | |
3651 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3652 | local rng2m = rng2.Mesh | |
3653 | local rng3 = rng:Clone() | |
3654 | rng3.Parent = char | |
3655 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3656 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3657 | local rng3m = rng3.Mesh | |
3658 | local rng4 = rng:Clone() | |
3659 | rng4.Parent = char | |
3660 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3661 | local rng4m = rng4.Mesh | |
3662 | local rng5 = rng:Clone() | |
3663 | rng5.Parent = char | |
3664 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3665 | local rng5m = rng5.Mesh | |
3666 | local rng6 = rng:Clone() | |
3667 | rng6.Material = "Neon" | |
3668 | rng6.CanCollide = false | |
3669 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3670 | rng6.Parent = LeftLeg | |
3671 | local rng6m = rng6.Mesh | |
3672 | rng6m.Scale = vt(1,1,1) | |
3673 | rng6m.MeshType = "Sphere" | |
3674 | local rng7 = rng:Clone() | |
3675 | rng7.Material = "Plastic" | |
3676 | rng7.CanCollide = false | |
3677 | rng7.BrickColor = BrickColor.new("Bright red") | |
3678 | rng7.Parent = LeftLeg | |
3679 | local rng7m = rng7.Mesh | |
3680 | rng7m.Scale = vt(1,1,1) | |
3681 | rng7m.MeshType = "Sphere" | |
3682 | local rng8 = rng6:Clone() | |
3683 | rng8.Material = "Neon" | |
3684 | rng8.CanCollide = false | |
3685 | rng8.BrickColor = BrickColor.new("Neon orange") | |
3686 | rng8.Parent = LeftLeg | |
3687 | local rng8m = rng7.Mesh | |
3688 | rng8m.Scale = vt(1,1,1) | |
3689 | rng8m.MeshType = "Sphere" | |
3690 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3691 | wait() | |
3692 | local scaler = 10/5 | |
3693 | local scaler2 = 10/5 | |
3694 | local hit = rng8.Touched:connect(function(hit) | |
3695 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
3696 | end) | |
3697 | for i = 0,10,0.1 do | |
3698 | swait() | |
3699 | rng.Transparency = rng.Transparency + 0.01 | |
3700 | rng2.Transparency = rng2.Transparency + 0.01 | |
3701 | rng3.Transparency = rng3.Transparency + 0.01 | |
3702 | rng4.Transparency = rng4.Transparency + 0.01 | |
3703 | rng5.Transparency = rng5.Transparency + 0.01 | |
3704 | rng6.Transparency = rng5.Transparency + 0.001 | |
3705 | rng7.Transparency = rng5.Transparency + 0.001 | |
3706 | rng8.Transparency = rng5.Transparency + 0.001 | |
3707 | scaler = scaler - 0.125/5 | |
3708 | scaler2 = scaler2 - 0.1/5 | |
3709 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0) | |
3710 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0) | |
3711 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0) | |
3712 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3713 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
3714 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3715 | rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3716 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3717 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
3718 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
3719 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
3720 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
3721 | rng6.CFrame = killbrick.CFrame | |
3722 | rng7.CFrame = killbrick.CFrame | |
3723 | rng8.CFrame = killbrick2.CFrame | |
3724 | end | |
3725 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3726 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3727 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3728 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3729 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3730 | hum.WalkSpeed = 16 | |
3731 | hit:disconnect() | |
3732 | attack = false | |
3733 | killbrick:Destroy() | |
3734 | char.Head.face.Texture = "rbxassetid://29291814" | |
3735 | jumped = false | |
3736 | lig:Remove() | |
3737 | end | |
3738 | ||
3739 | ||
3740 | ||
3741 | function boom() | |
3742 | attack = true | |
3743 | jumped = true | |
3744 | hum.WalkSpeed = 0 | |
3745 | MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
3746 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
3747 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7) | |
3748 | for i = 0,15,0.1 do | |
3749 | swait() | |
3750 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3751 | 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) | |
3752 | 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) | |
3753 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3754 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3755 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3756 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3757 | char.Head.face.Texture = "rbxassetid://126198982" | |
3758 | end | |
3759 | local rng = Instance.new("Part", char) | |
3760 | rng.Anchored = true | |
3761 | rng.BrickColor = BrickColor.new("Neon orange") | |
3762 | rng.CanCollide = false | |
3763 | rng.FormFactor = 3 | |
3764 | rng.Name = "Ring" | |
3765 | rng.Size = Vector3.new(1, 1, 1) | |
3766 | rng.Transparency = 0 | |
3767 | rng.TopSurface = 0 | |
3768 | rng.BottomSurface = 0 | |
3769 | rng.Position = root.Position | |
3770 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
3771 | local rngm = Instance.new("SpecialMesh", rng) | |
3772 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3773 | local rng2 = rng:Clone() | |
3774 | rng2.Parent = char | |
3775 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3776 | local rng2m = rng2.Mesh | |
3777 | local rng3 = rng:Clone() | |
3778 | rng3.Parent = char | |
3779 | local rng3m = rng3.Mesh | |
3780 | local rng4 = rng:Clone() | |
3781 | rng4.Parent = char | |
3782 | local rng4m = rng4.Mesh | |
3783 | local rng5 = rng:Clone() | |
3784 | rng5.Parent = char | |
3785 | rng5.BrickColor = BrickColor.new("Dark stone grey") | |
3786 | local rng5m = rng5.Mesh | |
3787 | local hit = rng5.Touched:connect(function(hit) | |
3788 | Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1) | |
3789 | end) | |
3790 | MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015) | |
3791 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1) | |
3792 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85) | |
3793 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1) | |
3794 | wait() | |
3795 | local scaler = 10 | |
3796 | local scaler2 = 10 | |
3797 | for i = 0,10,0.1 do | |
3798 | swait() | |
3799 | rng.Transparency = rng.Transparency + 0.01 | |
3800 | rng2.Transparency = rng2.Transparency + 0.01 | |
3801 | rng3.Transparency = rng3.Transparency + 0.01 | |
3802 | rng4.Transparency = rng4.Transparency + 0.01 | |
3803 | rng5.Transparency = rng5.Transparency + 0.01 | |
3804 | scaler = scaler - 0.125 | |
3805 | scaler2 = scaler2 - 0.1 | |
3806 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4) | |
3807 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3) | |
3808 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2) | |
3809 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1) | |
3810 | rng5.Size = rng5m.Scale | |
3811 | rng5.CFrame = rng.CFrame | |
3812 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5) | |
3813 | text.Text = " DIE! " | |
3814 | 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) | |
3815 | 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) | |
3816 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3817 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3818 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3819 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3820 | end | |
3821 | hit:disconnect() | |
3822 | game:GetService("Debris"):AddItem(rng, 1) | |
3823 | game:GetService("Debris"):AddItem(rng2, 1) | |
3824 | game:GetService("Debris"):AddItem(rng3, 1) | |
3825 | game:GetService("Debris"):AddItem(rng4, 1) | |
3826 | game:GetService("Debris"):AddItem(rng5, 1) | |
3827 | hum.WalkSpeed = 16 | |
3828 | attack = false | |
3829 | text.Text = " " | |
3830 | char.Head.face.Texture = "rbxassetid://29291814" | |
3831 | jumped = false | |
3832 | end | |
3833 | ||
3834 | function shooty() | |
3835 | attack = true | |
3836 | MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
3837 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
3838 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7) | |
3839 | for i = 0,15,0.1 do | |
3840 | swait() | |
3841 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3842 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
3843 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
3844 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
3845 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
3846 | char.Head.face.Texture = "rbxassetid://126198982" | |
3847 | end | |
3848 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3849 | local a = Instance.new("Part",Character) | |
3850 | a.Name = "Direction" | |
3851 | a.Anchored = true | |
3852 | a.BrickColor = bc("Neon orange") | |
3853 | a.Material = "Neon" | |
3854 | a.Transparency = 1 | |
3855 | a.CanCollide = false | |
3856 | local ray = Ray.new( | |
3857 | root.CFrame.p, -- origin | |
3858 | (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction | |
3859 | ) | |
3860 | local ignore = Character | |
3861 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3862 | a.BottomSurface = 10 | |
3863 | a.TopSurface = 10 | |
3864 | local distance = (root.CFrame.p - position).magnitude | |
3865 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3866 | a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3867 | local lb = Instance.new("Part") | |
3868 | lb.Parent = char | |
3869 | lb.BrickColor = bc("Neon orange") | |
3870 | local pie22 = Instance.new("ParticleEmitter") | |
3871 | pie22.Parent = char.Torso | |
3872 | pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color) | |
3873 | pie22.LightEmission = 0 | |
3874 | pie22.Size = NumberSequence.new(10,5) | |
3875 | pie22.Texture = "http://www.roblox.com/asset/?id=254959503" | |
3876 | pie22.Transparency = NumberSequence.new(0, 1) | |
3877 | pie22.EmissionDirection = "Top" | |
3878 | pie22.Enabled = true | |
3879 | pie22.Lifetime = NumberRange.new(1) | |
3880 | pie22.Rotation = NumberRange.new(-17, 17) | |
3881 | pie22.Rate = 200 | |
3882 | pie22.Speed = NumberRange.new(3) | |
3883 | pie22.LockedToPart = false | |
3884 | pie22.VelocitySpread = 3 | |
3885 | pie22.Name = "Haa" | |
3886 | pie22.Parent = lb | |
3887 | lb.CanCollide = false | |
3888 | lb.Material = "Neon" | |
3889 | lb.Anchored = true | |
3890 | lb.TopSurface = 0 | |
3891 | lb.BottomSurface = 0 | |
3892 | lb.Transparency = 0 | |
3893 | lb.Size = vt(0.5,0.5,0.5) | |
3894 | lb.CFrame = sorb.CFrame | |
3895 | lb.Anchored = false | |
3896 | local thingery = Instance.new("SpecialMesh",lb) | |
3897 | thingery.MeshType = "Sphere" | |
3898 | thingery.Scale = vt(25,25,25) | |
3899 | game:GetService("Debris"):AddItem(lb, 10) | |
3900 | local bv = Instance.new("BodyVelocity") | |
3901 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3902 | bv.velocity = a.CFrame.lookVector*150 | |
3903 | bv.Parent = lb | |
3904 | game:GetService("Debris"):AddItem(a, 0.1) | |
3905 | wait(0.05) | |
3906 | local hitted = false | |
3907 | lb.Touched:connect(function(hit) | |
3908 | if hitted == false then | |
3909 | hitted = true | |
3910 | lb.Anchored = true | |
3911 | lb.Transparency = 1 | |
3912 | local rng = Instance.new("Part", char) | |
3913 | rng.Anchored = true | |
3914 | rng.BrickColor = BrickColor.new("Neon orange") | |
3915 | rng.CanCollide = false | |
3916 | rng.FormFactor = 3 | |
3917 | rng.Name = "Ring" | |
3918 | rng.Size = Vector3.new(1, 1, 1) | |
3919 | rng.Transparency = 0 | |
3920 | rng.TopSurface = 0 | |
3921 | rng.BottomSurface = 0 | |
3922 | rng.CFrame = lb.CFrame | |
3923 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3924 | local rngm = Instance.new("SpecialMesh", rng) | |
3925 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3926 | local rng2 = rng:Clone() | |
3927 | rng2.Parent = char | |
3928 | local rng2m = rng2.Mesh | |
3929 | local rng3 = rng:Clone() | |
3930 | rng3.Parent = char | |
3931 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3932 | local rng3m = rng3.Mesh | |
3933 | local rng4 = rng:Clone() | |
3934 | rng4.Parent = char | |
3935 | local rng4m = rng4.Mesh | |
3936 | local rng5 = rng:Clone() | |
3937 | rng5.Parent = char | |
3938 | rng5.BrickColor = BrickColor.new("Dark stone grey") | |
3939 | rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3940 | local rng5m = rng5.Mesh | |
3941 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3942 | rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3943 | rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3944 | MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015) | |
3945 | local rng6 = rng:Clone() | |
3946 | rng6.Material = "Neon" | |
3947 | rng6.Parent = char | |
3948 | local rng6m = rng6.Mesh | |
3949 | rng6m.Scale = vt(1,1,1) | |
3950 | rng6m.MeshType = "Sphere" | |
3951 | local hita = rng6.Touched:connect(function(hit) | |
3952 | Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1) | |
3953 | end) | |
3954 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1) | |
3955 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75) | |
3956 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
3957 | local scaler = 5 | |
3958 | local scaler2 = 5 | |
3959 | for i = 0,20,0.1 do | |
3960 | swait() | |
3961 | rng.Transparency = rng.Transparency + 0.005 | |
3962 | rng2.Transparency = rng2.Transparency + 0.005 | |
3963 | rng3.Transparency = rng3.Transparency + 0.005 | |
3964 | rng4.Transparency = rng4.Transparency + 0.005 | |
3965 | rng5.Transparency = rng5.Transparency + 0.005 | |
3966 | rng6.Transparency = rng6.Transparency + 0.005 | |
3967 | scaler = scaler - 0.005/2 | |
3968 | scaler2 = scaler2 - 0.05/2 | |
3969 | rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3) | |
3970 | rng6.CFrame = rng.CFrame | |
3971 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3972 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3973 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3974 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
3975 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3976 | end | |
3977 | hita:disconnect() | |
3978 | game:GetService("Debris"):AddItem(rng, 1) | |
3979 | game:GetService("Debris"):AddItem(rng2, 1) | |
3980 | game:GetService("Debris"):AddItem(rng3, 1) | |
3981 | game:GetService("Debris"):AddItem(rng4, 1) | |
3982 | game:GetService("Debris"):AddItem(rng5, 1) | |
3983 | game:GetService("Debris"):AddItem(rng6, 1) | |
3984 | end | |
3985 | end) | |
3986 | for i = 0,2,0.1 do | |
3987 | swait() | |
3988 | MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3989 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
3990 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3991 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
3992 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
3993 | text.Text = " DIE! " | |
3994 | end | |
3995 | attack = false | |
3996 | text.Text = " " | |
3997 | char.Head.face.Texture = "rbxassetid://29291814" | |
3998 | end | |
3999 | ||
4000 | function superpunch() | |
4001 | attack = true | |
4002 | jumped = true | |
4003 | hum.WalkSpeed = 16 | |
4004 | chatfunc("Grrr..") | |
4005 | rock = true | |
4006 | for i = 0, 5 do | |
4007 | local lb = Instance.new("Part") | |
4008 | lb.Parent = char | |
4009 | lb.Material = "Neon" | |
4010 | lb.Color = BrickColor.new("Gold").Color | |
4011 | lb.CanCollide = false | |
4012 | lb.Material = "Neon" | |
4013 | lb.Size = vt(1,1,1) | |
4014 | lb.CFrame = tors.CFrame | |
4015 | lb.Rotation = vt(0,0,0) | |
4016 | lb.Anchored = true | |
4017 | lb.Transparency = 0 | |
4018 | local thing = Instance.new("SpecialMesh",lb) | |
4019 | thing.MeshType = "FileMesh" | |
4020 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4021 | thing.Scale = vt(0,15,0) | |
4022 | local chancerot = math.random(1,2) | |
4023 | for z = 0, 4 do | |
4024 | if chancerot == 1 then | |
4025 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
4026 | elseif chancerot == 2 then | |
4027 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
4028 | end | |
4029 | lb.Transparency = lb.Transparency + 0.1 | |
4030 | thing.Scale = thing.Scale + vt(15,0,15) | |
4031 | wait() | |
4032 | end | |
4033 | for z = 0, 4 do | |
4034 | if chancerot == 1 then | |
4035 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
4036 | elseif chancerot == 2 then | |
4037 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
4038 | end | |
4039 | lb.Transparency = lb.Transparency + 0.1 | |
4040 | thing.Scale = thing.Scale + vt(15,0,15) | |
4041 | wait() | |
4042 | end | |
4043 | lb:Destroy() | |
4044 | end | |
4045 | wait(0) | |
4046 | text.Text = " " | |
4047 | wait(0.5) | |
4048 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
4049 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7) | |
4050 | wait(0) | |
4051 | chatfunc("Incinerate!") | |
4052 | for i = 0,15,0.1 do | |
4053 | swait() | |
4054 | 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) | |
4055 | 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) | |
4056 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
4057 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
4058 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
4059 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
4060 | char.Head.face.Texture = "rbxassetid://126198982" | |
4061 | end | |
4062 | local rng = Instance.new("Part", char) | |
4063 | rng.Anchored = true | |
4064 | rng.BrickColor = BrickColor.new("New Yeller") | |
4065 | rng.CanCollide = false | |
4066 | rng.FormFactor = 3 | |
4067 | rng.Name = "Ring" | |
4068 | rng.Size = Vector3.new(1, 1, 1) | |
4069 | rng.Transparency = 0 | |
4070 | rng.TopSurface = 0 | |
4071 | rng.BottomSurface = 0 | |
4072 | rng.CFrame = root.CFrame | |
4073 | local rngm = Instance.new("SpecialMesh", rng) | |
4074 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4075 | local rng2 = rng:Clone() | |
4076 | rng2.Parent = char | |
4077 | rng2.BrickColor = BrickColor.new("Neon orange") | |
4078 | local rng2m = rng2.Mesh | |
4079 | local rng3 = rng:Clone() | |
4080 | rng3.Parent = char | |
4081 | local rng3m = rng3.Mesh | |
4082 | local rng4 = rng:Clone() | |
4083 | rng4.Parent = char | |
4084 | rng4.BrickColor = BrickColor.new("Neon orange") | |
4085 | local rng4m = rng4.Mesh | |
4086 | local rng5 = rng:Clone() | |
4087 | rng5.Parent = char | |
4088 | local rng5m = rng5.Mesh | |
4089 | local rng6 = rng:Clone() | |
4090 | rng6.Material = "Neon" | |
4091 | rng6.Parent = char | |
4092 | local rng6m = rng6.Mesh | |
4093 | rng6m.Scale = vt(1,1,1) | |
4094 | rng6m.MeshType = "Sphere" | |
4095 | local hita = rng6.Touched:connect(function(hit) | |
4096 | Damagefunc(hit,3000000,4400000,math.random(3000000,4000000),"Normal",root,.2,1) | |
4097 | end) | |
4098 | rng2.CFrame = root.CFrame | |
4099 | rng3.CFrame = root.CFrame | |
4100 | rng4.CFrame = root.CFrame | |
4101 | rng5.CFrame = root.CFrame | |
4102 | rng6.CFrame = root.CFrame | |
4103 | CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1) | |
4104 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85) | |
4105 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4106 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4107 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4108 | wait() | |
4109 | local scaler = 10/5 | |
4110 | local scaler2 = 10/5 | |
4111 | MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015) | |
4112 | for i = 0,10,0.1 do | |
4113 | swait() | |
4114 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
4115 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25 | |
4116 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
4117 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75 | |
4118 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2 | |
4119 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4) | |
4120 | rng6.CFrame = rng.CFrame | |
4121 | rng.Transparency = rng.Transparency + 0.01 | |
4122 | rng2.Transparency = rng2.Transparency + 0.01 | |
4123 | rng3.Transparency = rng3.Transparency + 0.01 | |
4124 | rng4.Transparency = rng4.Transparency + 0.01 | |
4125 | rng5.Transparency = rng5.Transparency + 0.01 | |
4126 | rng6.Transparency = rng6.Transparency + 0.01 | |
4127 | scaler = scaler - 0.125/5 | |
4128 | scaler2 = scaler2 - 0.1/5 | |
4129 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
4130 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
4131 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
4132 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
4133 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2) | |
4134 | end | |
4135 | hita:disconnect() | |
4136 | rng6:Destroy() | |
4137 | Crater(head,60) | |
4138 | game:GetService("Debris"):AddItem(rng, 1) | |
4139 | game:GetService("Debris"):AddItem(rng2, 1) | |
4140 | game:GetService("Debris"):AddItem(rng3, 1) | |
4141 | game:GetService("Debris"):AddItem(rng4, 1) | |
4142 | game:GetService("Debris"):AddItem(rng5, 1) | |
4143 | hum.WalkSpeed = 16 | |
4144 | attack = false | |
4145 | char.Head.face.Texture = "rbxassetid://29291814" | |
4146 | jumped = false | |
4147 | end | |
4148 | ||
4149 | ||
4150 | ||
4151 | --Gomu powers by DahNoob | |
4152 | --Gui Fixed by Biologically_Noob | |
4153 | --Originally fixed by scenius | |
4154 | --lol i know ur gonna remove credits | |
4155 | g1 = Instance.new("ScreenGui") | |
4156 | g1.Name = "ggui" | |
4157 | o1 = Instance.new("Frame", g1) | |
4158 | o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6) | |
4159 | o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647) | |
4160 | o1.BorderSizePixel = 0 | |
4161 | o1.Name = "Main" | |
4162 | o1.Position = UDim2.new(0.025, 0, 0.65, 0) | |
4163 | o1.Size = UDim2.new(0,0,0) | |
4164 | o1.ZIndex = 2 | |
4165 | o2 = Instance.new("Frame", o1) | |
4166 | o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843) | |
4167 | o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
4168 | o2.BorderSizePixel = 3 | |
4169 | o2.Name = "G3" | |
4170 | o2.Position = UDim2.new(0.05, 0, 0, 20) | |
4171 | o2.Size = UDim2.new(0,0,0) | |
4172 | o2.ZIndex = 3 | |
4173 | o3 = Instance.new("Frame", o2) | |
4174 | o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4175 | o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4176 | o3.BorderSizePixel = 0 | |
4177 | o3.Name = "Shadow" | |
4178 | o3.Size = UDim2.new(0,0,0) | |
4179 | o3.ZIndex = 2 | |
4180 | o3.Style = Enum.FrameStyle.DropShadow | |
4181 | o4 = Instance.new("Frame", o2) | |
4182 | o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529) | |
4183 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4184 | o4.BorderSizePixel = 0 | |
4185 | o4.Name = "Bar" | |
4186 | o4.Size = UDim2.new(0,0,0) | |
4187 | o4.ZIndex = 4 | |
4188 | o5 = Instance.new("Frame", o1) | |
4189 | o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4190 | o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4191 | o5.BorderSizePixel = 0 | |
4192 | o5.Name = "Shadow" | |
4193 | o5.Position = UDim2.new(0, 1, 0, 1) | |
4194 | o5.Size = UDim2.new(0,0,0) | |
4195 | o5.Style = Enum.FrameStyle.DropShadow | |
4196 | o6 = Instance.new("Frame", o1) | |
4197 | o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0) | |
4198 | o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667) | |
4199 | o6.BorderSizePixel = 3 | |
4200 | o6.Name = "G2" | |
4201 | o6.Position = UDim2.new(0.05, 0, 0, 55) | |
4202 | o6.Size = UDim2.new(0,0,0) | |
4203 | o6.ZIndex = 3 | |
4204 | o7 = Instance.new("Frame", o6) | |
4205 | o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4206 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4207 | o7.BorderSizePixel = 0 | |
4208 | o7.Name = "Shadow" | |
4209 | o7.Size = UDim2.new(0,0,0) | |
4210 | o7.ZIndex = 2 | |
4211 | o7.Style = Enum.FrameStyle.DropShadow | |
4212 | o8 = Instance.new("Frame", o6) | |
4213 | o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157) | |
4214 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4215 | o8.BorderSizePixel = 0 | |
4216 | o8.Name = "Bar" | |
4217 | o8.Size = UDim2.new(0,0,0) | |
4218 | o8.ZIndex = 4 | |
4219 | o9 = Instance.new("Frame", o1) | |
4220 | o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275) | |
4221 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4222 | o9.BorderSizePixel = 0 | |
4223 | o9.Name = "Base" | |
4224 | o9.Position = UDim2.new(0.05, 0, 0, 80) | |
4225 | o9.Size = UDim2.new(0,0,0) | |
4226 | o9.ZIndex = 3 | |
4227 | o10 = Instance.new("Frame", o9) | |
4228 | o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4229 | o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4230 | o10.BorderSizePixel = 0 | |
4231 | o10.Name = "Shadow" | |
4232 | o10.Size = UDim2.new(0,0,0) | |
4233 | o10.ZIndex = 2 | |
4234 | o10.Style = Enum.FrameStyle.DropShadow | |
4235 | o11 = Instance.new("TextLabel", o9) | |
4236 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
4237 | o11.BackgroundTransparency = 1 | |
4238 | o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4239 | o11.Name = "Mode" | |
4240 | o11.Position = UDim2.new(0.05, 0,0.1, 0) | |
4241 | o11.Size = UDim2.new(0, 205, 0, 50) | |
4242 | o11.ZIndex = 3 | |
4243 | o11.Text = " " | |
4244 | o11.TextColor3 = Color3.new(1, 1, 1) | |
4245 | o11.TextStrokeTransparency = 0 | |
4246 | o11.Font = Enum.Font.SourceSansBold | |
4247 | o11.FontSize = Enum.FontSize.Size28 | |
4248 | ||
4249 | g1.Parent = script | |
4250 | ||
4251 | sn = Instance.new("StringValue", script) | |
4252 | sn.Name = "ScriptName" | |
4253 | sn.Value = "Gomu Powers" | |
4254 | ||
4255 | local a = script:WaitForChild("ScriptName").Value | |
4256 | script.ScriptName:Destroy() | |
4257 | TakeDamage = function(b, c) | |
4258 | b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick()) | |
4259 | end | |
4260 | ||
4261 | plr = game.Players.LocalPlayer | |
4262 | repeat | |
4263 | wait(0.4) | |
4264 | until plr.Character | |
4265 | local fixed = Instance.new("StringValue", plr.Character) | |
4266 | fixed.Name = "1" | |
4267 | fixed.Value = "S".."c".."e".."n".."i".."u".."s" | |
4268 | local creator = Instance.new("StringValue", plr.Character) | |
4269 | creator.Name = "2" | |
4270 | creator.Value = "D".."a".."h".."N".."o".."o".."b" | |
4271 | chr = plr.Character | |
4272 | human = chr:FindFirstChild("Humanoid") | |
4273 | mouse = plr:GetMouse() | |
4274 | kx = function(s) | |
4275 | plr:Kick(s) | |
4276 | end | |
4277 | cam = workspace.CurrentCamera | |
4278 | selected = false | |
4279 | equipd = false | |
4280 | tors = chr.Torso | |
4281 | rarm = chr["Right Arm"] | |
4282 | larm = chr["Left Arm"] | |
4283 | rleg = chr["Right Leg"] | |
4284 | lleg = chr["Left Leg"] | |
4285 | hrp = chr.HumanoidRootPart | |
4286 | head = chr.Head | |
4287 | anim = human:FindFirstChild("Animator") | |
4288 | local d = head:FindFirstChildOfClass("Decal").Texture | |
4289 | activu = false | |
4290 | dagear = 1 | |
4291 | rubbermodo = 0 | |
4292 | gatlingcool = 0 | |
4293 | bazookacool = 0 | |
4294 | rocketcool = 0 | |
4295 | g2lim = 6 | |
4296 | g3lim = 6 | |
4297 | g32hand = false | |
4298 | local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856) | |
4299 | local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060)) | |
4300 | local g = nil | |
4301 | g = script:WaitForChild("ggui") | |
4302 | g.Enabled = true | |
4303 | g.Main.G3.Bar.BackgroundColor3 = rarm.Color | |
4304 | g.Parent = plr.PlayerGui | |
4305 | Heartbeat = Instance.new("BindableEvent") | |
4306 | Heartbeat.Name = "Heartbeat" | |
4307 | Heartbeat.Parent = script | |
4308 | frame = 0.033333333333333 | |
4309 | tf = 0 | |
4310 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
4311 | tf = tf + h | |
4312 | if frame <= tf then | |
4313 | for j = 1, math.floor(tf / frame) do | |
4314 | Heartbeat:Fire() | |
4315 | end | |
4316 | tf = tf - frame * math.floor(tf / frame) | |
4317 | end | |
4318 | end) | |
4319 | swait = function(k) | |
4320 | if k == 0 or k == nil then | |
4321 | Heartbeat.Event:wait() | |
4322 | else | |
4323 | for j = 1, k do | |
4324 | Heartbeat.Event:wait() | |
4325 | end | |
4326 | end | |
4327 | end | |
4328 | ||
4329 | Heartbeat2 = Instance.new("BindableEvent") | |
4330 | Heartbeat2.Name = "Heartbeat2" | |
4331 | Heartbeat2.Parent = script | |
4332 | f60 = 0.016666666666667 | |
4333 | tf2 = 0 | |
4334 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
4335 | tf2 = tf2 + h | |
4336 | if f60 <= tf2 then | |
4337 | for j = 1, math.floor(tf2 / f60) do | |
4338 | Heartbeat2:Fire() | |
4339 | end | |
4340 | tf2 = tf2 - f60 * math.floor(tf2 / f60) | |
4341 | end | |
4342 | end) | |
4343 | swait2 = function(k) | |
4344 | if k == 0 or k == nil then | |
4345 | Heartbeat2.Event:wait() | |
4346 | else | |
4347 | for j = 1, k do | |
4348 | Heartbeat2.Event:wait() | |
4349 | end | |
4350 | end | |
4351 | end | |
4352 | ||
4353 | tool = Instance.new("Tool") | |
4354 | tool.CanBeDropped = false | |
4355 | tool.RequiresHandle = false | |
4356 | tool.ToolTip = "FSJDHJFS" | |
4357 | tool.Name = "Machine" | |
4358 | tool.Parent = plr.Backpack | |
4359 | modz = Instance.new("Model") | |
4360 | modz.Name = "efx" | |
4361 | modz.Parent = chr | |
4362 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4363 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4364 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4365 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4366 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4367 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4368 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4369 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4370 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4371 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4372 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4373 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4374 | RS = tors:FindFirstChild("Right Shoulder") | |
4375 | LS = tors:FindFirstChild("Left Shoulder") | |
4376 | RH = tors:FindFirstChild("Right Hip") | |
4377 | LH = tors:FindFirstChild("Left Hip") | |
4378 | RJ = hrp:FindFirstChild("RootJoint") | |
4379 | N = tors:FindFirstChild("Neck") | |
4380 | cf = CFrame.new | |
4381 | ang = CFrame.Angles | |
4382 | rd = math.rad | |
4383 | rd2 = math.random | |
4384 | cs = ColorSequence.new | |
4385 | ns = NumberSequence.new | |
4386 | nsk = NumberSequenceKeypoint.new | |
4387 | nooutline = function(i) | |
4388 | i.TopSurface = 10 | |
4389 | end | |
4390 | ||
4391 | makepart = function(l, m, n, o, p, q, r) | |
4392 | local s = Instance.new("Part") | |
4393 | s.BrickColor = BrickColor.new(l) | |
4394 | s.Name = m | |
4395 | s.Transparency = o | |
4396 | nooutline(s) | |
4397 | s.Reflectance = n | |
4398 | s.Material = p | |
4399 | s.Anchored = true | |
4400 | s.CanCollide = false | |
4401 | s.Locked = true | |
4402 | s.CFrame = r | |
4403 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
4404 | s.Parent = q | |
4405 | return s | |
4406 | end | |
4407 | ||
4408 | makemesh = function(t, u, v, w) | |
4409 | local x = Instance.new("SpecialMesh") | |
4410 | x.MeshType = t | |
4411 | x.Scale = u | |
4412 | if t == "FileMesh" then | |
4413 | x.MeshId = v | |
4414 | end | |
4415 | x.Parent = w | |
4416 | return x | |
4417 | end | |
4418 | ||
4419 | makeweld = function(w, y, z, A, B) | |
4420 | local C = Instance.new("Weld") | |
4421 | C.Part0 = y | |
4422 | C.Part1 = z | |
4423 | C.C0 = A | |
4424 | if B ~= nil then | |
4425 | C.C1 = B | |
4426 | end | |
4427 | C.Parent = w | |
4428 | return C | |
4429 | end | |
4430 | ||
4431 | lerpz = function(D, E, F, G) | |
4432 | D[E] = D[E]:lerp(F, G) | |
4433 | end | |
4434 | ||
4435 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4436 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4437 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4438 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4439 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4440 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4441 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4442 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4443 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4444 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4445 | resetlerp = function() | |
4446 | RJ.C0 = RJC0 | |
4447 | RJ.C1 = RJC1 | |
4448 | N.C0 = NC0 | |
4449 | N.C1 = NC1 | |
4450 | RS.C0 = RSC0 | |
4451 | RS.C1 = RSC1 | |
4452 | LS.C0 = LSC0 | |
4453 | LS.C1 = LSC1 | |
4454 | RH.C0 = RHC0 | |
4455 | RH.C1 = RHC1 | |
4456 | LH.C0 = LHC0 | |
4457 | LH.C1 = LHC1 | |
4458 | end | |
4459 | ||
4460 | local H = {} | |
4461 | for I,J in pairs(chr:GetChildren()) do | |
4462 | if J:IsA("BasePart") and J ~= hrp then | |
4463 | local K = Instance.new("Part") | |
4464 | K.Size = Vector3.new(0.2, 0.2, 0.2) | |
4465 | K.CanCollide = false | |
4466 | K.Material = "Neon" | |
4467 | K.Name = "odam" | |
4468 | K.BrickColor = BrickColor.new("Persimmon") | |
4469 | K.CFrame = J.CFrame | |
4470 | K.Transparency = 1 | |
4471 | K.Locked = true | |
4472 | nooutline(K) | |
4473 | K.Parent = J | |
4474 | local L = nil | |
4475 | if J ~= head then | |
4476 | L = makemesh("Brick", J.Size * 5 * 1.03, nil, K) | |
4477 | else | |
4478 | if J == head then | |
4479 | L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K) | |
4480 | end | |
4481 | end | |
4482 | makeweld(K, K, J, (cf(0, 0, 0)), nil) | |
4483 | local M = Instance.new("ParticleEmitter") | |
4484 | M.Color = cs(Color3.new(1, 1, 1)) | |
4485 | M.LightEmission = 0.8 | |
4486 | M.Name = "pe" | |
4487 | M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)}) | |
4488 | M.Texture = "rbxgameasset://Images/smok" | |
4489 | M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)}) | |
4490 | M.Acceleration = Vector3.new(0, 4, 0) | |
4491 | M.Lifetime = NumberRange.new(3, 4) | |
4492 | M.Rate = 20 | |
4493 | M.VelocityInheritance = 0.15 | |
4494 | M.Rotation = NumberRange.new(0, 360) | |
4495 | M.RotSpeed = NumberRange.new(-5, 5) | |
4496 | M.Speed = NumberRange.new(-5, -3) | |
4497 | M.VelocitySpread = 30 | |
4498 | M.Enabled = false | |
4499 | M.Parent = K | |
4500 | do | |
4501 | do | |
4502 | do | |
4503 | if J == tors then | |
4504 | local O = Instance.new("Sound") | |
4505 | O.SoundId = "rbxassetid://291165237" | |
4506 | O.Volume = 0.5 | |
4507 | O.Pitch = 0.9 | |
4508 | O.Name = "ss" | |
4509 | O.Looped = true | |
4510 | O.Parent = K | |
4511 | end | |
4512 | table.insert(H, K) | |
4513 | if J:IsA("CharacterMesh") then | |
4514 | J:Destroy() | |
4515 | end | |
4516 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
4517 | ||
4518 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
4519 | ||
4520 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
4521 | ||
4522 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT | |
4523 | ||
4524 | end | |
4525 | end | |
4526 | end | |
4527 | end | |
4528 | end | |
4529 | function onFired(...) | |
4530 | --if {...} ~= {} then | |
4531 | kx(...) | |
4532 | --end | |
4533 | end | |
4534 | function getobj(t) | |
4535 | if t==nil then | |
4536 | return nil | |
4537 | else | |
4538 | return t | |
4539 | end | |
4540 | end | |
4541 | SB_Remote = {} --Instance.new("RemoteEvent", script) | |
4542 | SB_Remote.Name = "Event" | |
4543 | function SB_Remote:FireClient(var) | |
4544 | onFired(var) | |
4545 | end | |
4546 | --SB_Remote.OnClientEvent:Connect(onFired) | |
4547 | modev = Instance.new("IntValue") | |
4548 | modev.Name = "WATA" | |
4549 | modev.Parent = tors | |
4550 | shoot = function() | |
4551 | if selected == false or activu == true or modev.Value > 1 then | |
4552 | return | |
4553 | end | |
4554 | activu = true | |
4555 | delay(0.5, function() | |
4556 | activu = false | |
4557 | end) | |
4558 | local P, Q = nil, nil | |
4559 | if modev.Value == 0 then | |
4560 | P = rarm | |
4561 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
4562 | else | |
4563 | if modev.Value == 1 then | |
4564 | P = larm | |
4565 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
4566 | end | |
4567 | end | |
4568 | if modev.Value == 0 then | |
4569 | modev.Value = modev.Value + 1 | |
4570 | else | |
4571 | if modev.Value == 1 then | |
4572 | modev.Value = 0 | |
4573 | end | |
4574 | end | |
4575 | local R = Instance.new("Part") | |
4576 | nooutline(R) | |
4577 | R.Anchored = true | |
4578 | R.CanCollide = false | |
4579 | R.Size = Vector3.new(1, 1, 1) | |
4580 | R.BrickColor = P.BrickColor | |
4581 | R.Transparency = 1 | |
4582 | R.Locked = true | |
4583 | R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
4584 | R.Parent = modz | |
4585 | local S = Instance.new("Part") | |
4586 | nooutline(S) | |
4587 | S.Anchored = true | |
4588 | S.CanCollide = false | |
4589 | S.Locked = true | |
4590 | S.Size = Vector3.new(1, 1, 1) | |
4591 | S.BrickColor = BrickColor.new("White") | |
4592 | S.Transparency = 0 | |
4593 | S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0) | |
4594 | S.Parent = modz | |
4595 | game.Debris:AddItem(S, 2) | |
4596 | local T = Instance.new("SpecialMesh") | |
4597 | T.MeshType = "FileMesh" | |
4598 | T.MeshId = "rbxassetid://489415447" | |
4599 | T.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4600 | T.Parent = S | |
4601 | coroutine.resume(coroutine.create(function() | |
4602 | for I = 1, 10 do | |
4603 | swait() | |
4604 | T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5) | |
4605 | S.Transparency = S.Transparency + 0.1 | |
4606 | end | |
4607 | end)) | |
4608 | local U = Instance.new("Sound") | |
4609 | U.SoundId = "rbxassetid://137463821" | |
4610 | U.Volume = 1.4 | |
4611 | U.Pitch = math.random(10, 12) / 10 | |
4612 | U.Parent = P | |
4613 | U:Play() | |
4614 | game.Debris:AddItem(U, 1.5) | |
4615 | local V = Instance.new("Part") | |
4616 | nooutline(V) | |
4617 | V.Anchored = true | |
4618 | V.CanCollide = false | |
4619 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
4620 | V.BrickColor = P.BrickColor | |
4621 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
4622 | V.Parent = modz | |
4623 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
4624 | local X = nil | |
4625 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
4626 | X = (R.Position - P.Position).magnitude | |
4627 | W.Scale = Vector3.new(1, X / 2, 1) | |
4628 | 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) | |
4629 | end) | |
4630 | local Z = false | |
4631 | for _ = 1, 4, 0.1 do | |
4632 | swait() | |
4633 | local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _)) | |
4634 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
4635 | if a1 and a1.Transparency ~= 1 and Z == false then | |
4636 | Z = true | |
4637 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
4638 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90))) | |
4639 | do | |
4640 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
4641 | game.Debris:AddItem(a3, 5) | |
4642 | local a5 = rd2(1, 5) | |
4643 | if a5 == 3 then | |
4644 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8))) | |
4645 | else | |
4646 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil) | |
4647 | end | |
4648 | coroutine.resume(coroutine.create(function() | |
4649 | for I = 1, 16 do | |
4650 | swait() | |
4651 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
4652 | a3.Transparency = a3.Transparency + 0.05 | |
4653 | end | |
4654 | a3:Destroy() | |
4655 | end)) | |
4656 | end | |
4657 | else | |
4658 | do | |
4659 | do | |
4660 | if Z == false then | |
4661 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
4662 | else | |
4663 | if Z == true then | |
4664 | R.CFrame = R.CFrame * cf(0, 0, 4 - _) | |
4665 | end | |
4666 | end | |
4667 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT | |
4668 | ||
4669 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
4670 | ||
4671 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT | |
4672 | ||
4673 | end | |
4674 | end | |
4675 | end | |
4676 | end | |
4677 | R:Destroy() | |
4678 | V:Destroy() | |
4679 | Y:Disconnect() | |
4680 | Q:Destroy() | |
4681 | end | |
4682 | ||
4683 | gatling = function() | |
4684 | if gatlingcool == 50 or selected == false or activu == true then | |
4685 | return | |
4686 | end | |
4687 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
4688 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
4689 | activu = true | |
4690 | chatfunc("Machine Gun Blows!") | |
4691 | asd1 = Instance.new("Sound",char) | |
4692 | asd1.SoundId = "http://www.roblox.com/asset/?id = 337638956" | |
4693 | asd1.Volume = 1 | |
4694 | asd1.Looped = true | |
4695 | asd1:Play() | |
4696 | local pie22 = Instance.new("ParticleEmitter") | |
4697 | pie22.Parent = lleg | |
4698 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4699 | pie22.LightEmission = 1 | |
4700 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
4701 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4702 | pie22.Transparency = NumberSequence.new(0.7) | |
4703 | pie22.EmissionDirection = "Top" | |
4704 | pie22.Enabled = true | |
4705 | pie22.Lifetime = NumberRange.new(1) | |
4706 | pie22.Rotation = NumberRange.new(-420, 425) | |
4707 | pie22.Rate = 400 | |
4708 | pie22.Speed = NumberRange.new(1) | |
4709 | pie22.LockedToPart = false | |
4710 | pie22.VelocitySpread = 2 | |
4711 | local pie222 = Instance.new("ParticleEmitter") | |
4712 | pie222.Parent = rleg | |
4713 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4714 | pie222.LightEmission = 1 | |
4715 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4716 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4717 | pie222.Transparency = NumberSequence.new(0.7) | |
4718 | pie222.EmissionDirection = "Top" | |
4719 | pie222.Enabled = true | |
4720 | pie222.Lifetime = NumberRange.new(1) | |
4721 | pie222.Rotation = NumberRange.new(-420, 425) | |
4722 | pie222.Rate = 400 | |
4723 | pie222.Speed = NumberRange.new(1) | |
4724 | pie222.LockedToPart = false | |
4725 | pie222.VelocitySpread = 2 | |
4726 | local pie2222 = Instance.new("ParticleEmitter") | |
4727 | pie2222.Parent = lleg | |
4728 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4729 | pie2222.LightEmission = 1 | |
4730 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4731 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4732 | pie2222.Transparency = NumberSequence.new(0.7) | |
4733 | pie2222.EmissionDirection = "Top" | |
4734 | pie2222.Enabled = true | |
4735 | pie2222.Lifetime = NumberRange.new(1) | |
4736 | pie2222.Rotation = NumberRange.new(-420, 425) | |
4737 | pie2222.Rate = 400 | |
4738 | pie2222.Speed = NumberRange.new(1) | |
4739 | pie2222.LockedToPart = false | |
4740 | pie2222.VelocitySpread = 2 | |
4741 | local pie22222 = Instance.new("ParticleEmitter") | |
4742 | pie22222.Parent = rleg | |
4743 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4744 | pie22222.LightEmission = 1 | |
4745 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4746 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4747 | pie22222.Transparency = NumberSequence.new(0.7) | |
4748 | pie22222.EmissionDirection = "Top" | |
4749 | pie22222.Enabled = true | |
4750 | pie22222.Lifetime = NumberRange.new(1) | |
4751 | pie22222.Rotation = NumberRange.new(-420, 425) | |
4752 | pie22222.Rate = 400 | |
4753 | pie22222.Speed = NumberRange.new(1) | |
4754 | pie22222.LockedToPart = false | |
4755 | pie22222.VelocitySpread = 2 | |
4756 | local pie2242 = Instance.new("ParticleEmitter") | |
4757 | pie2242.Parent = tors | |
4758 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4759 | pie2242.LightEmission = 1 | |
4760 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
4761 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4762 | pie2242.Transparency = NumberSequence.new(0.7) | |
4763 | pie2242.EmissionDirection = "Top" | |
4764 | pie2242.Enabled = true | |
4765 | pie2242.Lifetime = NumberRange.new(1) | |
4766 | pie2242.Rotation = NumberRange.new(-420, 425) | |
4767 | pie2242.Rate = 400 | |
4768 | pie2242.Speed = NumberRange.new(1) | |
4769 | pie2242.LockedToPart = false | |
4770 | pie2242.VelocitySpread = 2 | |
4771 | human.AutoRotate = false | |
4772 | local a8 = Instance.new("BodyGyro") | |
4773 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
4774 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
4775 | a8.P = 580000 | |
4776 | a8.D = 250 | |
4777 | a8.Parent = hrp | |
4778 | local a9 = true | |
4779 | local aa = {} | |
4780 | local ab = {} | |
4781 | for j = 1, 8 do | |
4782 | local ac = Instance.new("Part") | |
4783 | ac.BrickColor = BrickColor.new("New Yeller") | |
4784 | nooutline(ac) | |
4785 | ac.Anchored = true | |
4786 | ac.Locked = true | |
4787 | ac.CanCollide = false | |
4788 | ac.Material = "Neon" | |
4789 | ac.Size = Vector3.new(1, 1, 1) | |
4790 | if j % 2 == 1 then | |
4791 | ac.BrickColor = BrickColor.new("New Yeller") | |
4792 | ac.Material = ("Neon") | |
4793 | else | |
4794 | if j % 2 == 0 then | |
4795 | ac.BrickColor = BrickColor.new("New Yeller") | |
4796 | ac.Material = ("Neon") | |
4797 | end | |
4798 | end | |
4799 | ac.Transparency = 1 | |
4800 | ac.CFrame = CFrame.new(0, 10000, 0) | |
4801 | ac.Parent = modz | |
4802 | ac.Material = "Neon" | |
4803 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac) | |
4804 | local ab = Instance.new("Sound") | |
4805 | ab.EmitterSize = 60 | |
4806 | ab.Volume = 1.5 | |
4807 | ab.Pitch = 1 | |
4808 | ab.SoundId = "rbxassetid://130770091" | |
4809 | ab.Parent = ac | |
4810 | table.insert(aa, ac) | |
4811 | lig = Instance.new("PointLight",ac) | |
4812 | lig.Color=Color3.new(255,255,0) | |
4813 | lig.Range = 6 | |
4814 | ||
4815 | end | |
4816 | for j = 1, 16 do | |
4817 | local a3 = makepart("New Yeller", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0)) | |
4818 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
4819 | table.insert(ab, a3) | |
4820 | end | |
4821 | local ae = tool.Deactivated:connect(function() | |
4822 | a9 = false | |
4823 | end) | |
4824 | coroutine.resume(coroutine.create(function() | |
4825 | while a8 do | |
4826 | swait() | |
4827 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
4828 | end | |
4829 | end)) | |
4830 | local af = 0 | |
4831 | local ag = 0 | |
4832 | repeat | |
4833 | ag = ag + 2 | |
4834 | if af == 0 then | |
4835 | af = 2 | |
4836 | else | |
4837 | af = af % 8 + 1 | |
4838 | end | |
4839 | aa[af].Size = Vector3.new(1, 0, 1) | |
4840 | 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) | |
4841 | aa[af].Transparency = 1 | |
4842 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1) | |
4843 | ab[af].Transparency = 0.35 | |
4844 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
4845 | ab[af + 1].Transparency = 0.45 | |
4846 | ab[af + 1]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
4847 | ab[af + 1].CFrame = aa[af].CFrame | |
4848 | if (af) % 2 == 1 then | |
4849 | 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)) | |
4850 | else | |
4851 | if (af) % 2 == 0 then | |
4852 | 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)) | |
4853 | end | |
4854 | end | |
4855 | coroutine.resume(coroutine.create(function() | |
4856 | local ah = aa[af] | |
4857 | local ai = ab[af] | |
4858 | local aj = ab[af + 1] | |
4859 | local ak = false | |
4860 | for I = 1, 2 do | |
4861 | swait() | |
4862 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
4863 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0) | |
4864 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
4865 | ah.Transparency = 0 | |
4866 | ai.Transparency = ai.Transparency + 0.1 | |
4867 | 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) | |
4868 | aj.Transparency = aj.Transparency + 0.1 | |
4869 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5) | |
4870 | end | |
4871 | ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10 | |
4872 | for j = 0, 4 do | |
4873 | swait() | |
4874 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
4875 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
4876 | if a1 and a1.Transparency ~= 1 and ak == false then | |
4877 | ak = true | |
4878 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
4879 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0))) | |
4880 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
4881 | game.Debris:AddItem(a3, 20) | |
4882 | local a5 = rd2(1, 10) | |
4883 | if a5 == 3 then | |
4884 | hito(a3, 9.1, 750, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
4885 | else | |
4886 | hito(a3, 9.1, 950, 0.1, ah.CFrame.upVector * -14) | |
4887 | end | |
4888 | coroutine.resume(coroutine.create(function() | |
4889 | for I = 1, 16 do | |
4890 | swait() | |
4891 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
4892 | a3.Transparency = a3.Transparency + 0.05 | |
4893 | end | |
4894 | a3:Destroy() | |
4895 | end)) | |
4896 | else | |
4897 | if ak == false then | |
4898 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
4899 | elseif ak == true then | |
4900 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
4901 | end | |
4902 | ai.Transparency = ai.Transparency + 0.15 | |
4903 | 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) | |
4904 | aj.Transparency = aj.Transparency + 0.15 | |
4905 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2) | |
4906 | end | |
4907 | end | |
4908 | end)) | |
4909 | swait(1) | |
4910 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
4911 | ae:Disconnect() | |
4912 | a8:Destroy() | |
4913 | a6:Destroy() | |
4914 | a7:Destroy() | |
4915 | pie22:Destroy() | |
4916 | pie222:Destroy() | |
4917 | pie2222:Destroy() | |
4918 | pie22222:Destroy() | |
4919 | pie2242:Destroy() | |
4920 | asd1:Stop() | |
4921 | human.AutoRotate = true | |
4922 | activu = false | |
4923 | gatlingcool = 0 | |
4924 | coroutine.resume(coroutine.create(function() | |
4925 | wait(0) | |
4926 | gatlingcool = 0 | |
4927 | end)) | |
4928 | for I,al in pairs(aa) do | |
4929 | for I = 1, 4 do | |
4930 | swait() | |
4931 | al.Transparency = al.Transparency + 0.25 | |
4932 | end | |
4933 | al:Destroy() | |
4934 | end | |
4935 | for I,am in pairs(ab) do | |
4936 | am:Destroy() | |
4937 | end | |
4938 | aa, ab = nil | |
4939 | end | |
4940 | ||
4941 | bazooka = function() | |
4942 | if bazookacool == 50 or selected == false or activu == true then | |
4943 | return | |
4944 | end | |
4945 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
4946 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
4947 | activu = true | |
4948 | human.WalkSpeed = human.WalkSpeed - 8 | |
4949 | local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4950 | local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4951 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4952 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap) | |
4953 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4954 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar)) | |
4955 | local at, au = nil, nil | |
4956 | local av = game:GetService("RunService").RenderStepped:connect(function() | |
4957 | at = (an.Position - rarm.Position).magnitude | |
4958 | au = (ao.Position - larm.Position).magnitude | |
4959 | aq.Scale = Vector3.new(1, at / 2, 1) | |
4960 | as.Scale = Vector3.new(1, au / 2, 1) | |
4961 | 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) | |
4962 | 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) | |
4963 | end) | |
4964 | local U = Instance.new("Sound") | |
4965 | game.Debris:AddItem(U, 2) | |
4966 | U.SoundId = "rbxassetid://137463821" | |
4967 | U.Volume = 1.4 | |
4968 | U.Pitch = math.random(7, 8) / 10 | |
4969 | U.Parent = hrp | |
4970 | U:Play() | |
4971 | game.Debris:AddItem(U, 1.5) | |
4972 | for j = 0, 2, 0.1 do | |
4973 | swait() | |
4974 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
4975 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
4976 | end | |
4977 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
4978 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
4979 | for j = 0, 2, 0.2 do | |
4980 | swait() | |
4981 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
4982 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
4983 | end | |
4984 | for j = 0, 4, 0.2 do | |
4985 | swait() | |
4986 | if j < 2.6 then | |
4987 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
4988 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
4989 | end | |
4990 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
4991 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
4992 | end | |
4993 | swait(8) | |
4994 | bazookacool = 50 | |
4995 | av:Disconnect() | |
4996 | an:Destroy() | |
4997 | ao:Destroy() | |
4998 | ap:Destroy() | |
4999 | ar:Destroy() | |
5000 | a6:Destroy() | |
5001 | a7:Destroy() | |
5002 | human.WalkSpeed = human.WalkSpeed + 8 | |
5003 | activu = false | |
5004 | wait(6) | |
5005 | bazookacool = 0 | |
5006 | end | |
5007 | run = coroutine.wrap(function() | |
5008 | local str = string | |
5009 | local r = str.reverse | |
5010 | local f = getobj(fixed) | |
5011 | local c = getobj(creator) | |
5012 | local w = game:GetService("Workspace") | |
5013 | local z = plr | |
5014 | local function xyz() | |
5015 | if g then g:Destroy() end | |
5016 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
5017 | 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) | |
5018 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
5019 | return | |
5020 | end | |
5021 | if f==nil or c==nil then | |
5022 | xyz() | |
5023 | end | |
5024 | 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 | |
5025 | xyz() | |
5026 | end | |
5027 | end) | |
5028 | rocket = function() | |
5029 | if rocketcool == 50 or selected == false or activu == true then | |
5030 | return | |
5031 | end | |
5032 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5033 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5034 | activu = true | |
5035 | local aw = Instance.new("Part") | |
5036 | aw.CanCollide = false | |
5037 | aw.Size = Vector3.new(1, 1, 1) | |
5038 | aw.Locked = true | |
5039 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
5040 | aw.Velocity = aw.CFrame.lookVector * 40 | |
5041 | aw.Transparency = 1 | |
5042 | aw.Parent = modz | |
5043 | local ax = Instance.new("BodyForce") | |
5044 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
5045 | ax.Parent = aw | |
5046 | local U = Instance.new("Sound") | |
5047 | U.SoundId = "rbxassetid://137463821" | |
5048 | U.Volume = 1.2 | |
5049 | U.Pitch = math.random(7, 8) / 10 | |
5050 | U.Parent = hrp | |
5051 | U:Play() | |
5052 | game.Debris:AddItem(U, 1.5) | |
5053 | local ay = Instance.new("BodyVelocity") | |
5054 | local az = Instance.new("Part") | |
5055 | local X = (aw.Position - rarm.Position).magnitude | |
5056 | az.CanCollide = false | |
5057 | az.Anchored = true | |
5058 | az.Size = Vector3.new(1, 1, 1) | |
5059 | az.Locked = true | |
5060 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5061 | az.BrickColor = rarm.BrickColor | |
5062 | az.Parent = modz | |
5063 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az) | |
5064 | local aB = Instance.new("Part") | |
5065 | local aC = (aw.Position - larm.Position).magnitude | |
5066 | aB.CanCollide = false | |
5067 | aB.Anchored = true | |
5068 | aB.Size = Vector3.new(1, 1, 1) | |
5069 | aB.Locked = true | |
5070 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5071 | aB.BrickColor = larm.BrickColor | |
5072 | aB.Parent = modz | |
5073 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB) | |
5074 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
5075 | X = (aw.Position - rarm.Position).magnitude | |
5076 | aC = (aw.Position - larm.Position).magnitude | |
5077 | aA.Scale = Vector3.new(1, X / 2, 1) | |
5078 | 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) | |
5079 | aD.Scale = Vector3.new(1, X / 2, 1) | |
5080 | 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) | |
5081 | end) | |
5082 | local aE = false | |
5083 | local aF = aw.Touched:connect(function(aG) | |
5084 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
5085 | aE = true | |
5086 | aw.Anchored = true | |
5087 | local aH = Instance.new("Sound") | |
5088 | aH.SoundId = "rbxassetid://171881624" | |
5089 | aH.Volume = 1.25 | |
5090 | aH.Parent = hrp | |
5091 | aH:Play() | |
5092 | game.Debris:AddItem(aH, 2) | |
5093 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
5094 | ay.P = 25 | |
5095 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
5096 | ay.Parent = hrp | |
5097 | human.Sit = true | |
5098 | coroutine.resume(coroutine.create(function() | |
5099 | local aI = 1 | |
5100 | while (hrp.Position - aw.Position).magnitude > 8 do | |
5101 | swait() | |
5102 | end | |
5103 | ay.Parent = nil | |
5104 | end)) | |
5105 | end | |
5106 | end) | |
5107 | swait(3) | |
5108 | for I = 1, 40 do | |
5109 | swait() | |
5110 | if aE == true then | |
5111 | local aJ = 0 | |
5112 | repeat | |
5113 | swait() | |
5114 | aJ = aJ + 1 | |
5115 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
5116 | break | |
5117 | end | |
5118 | end | |
5119 | Y:Disconnect() | |
5120 | aF:Disconnect() | |
5121 | az:Destroy() | |
5122 | aB:Destroy() | |
5123 | aw:Destroy() | |
5124 | ay:Destroy() | |
5125 | a6:Destroy() | |
5126 | a7:Destroy() | |
5127 | activu = false | |
5128 | rocketcool = 50 | |
5129 | coroutine.resume(coroutine.create(function() | |
5130 | wait(6) | |
5131 | rocketcool = 0 | |
5132 | end)) | |
5133 | end | |
5134 | ||
5135 | jetpunch = function() | |
5136 | if selected == false or activu == true then | |
5137 | return | |
5138 | end | |
5139 | activu = true | |
5140 | human.WalkSpeed = human.WalkSpeed - 16 | |
5141 | local P, Q = nil, nil | |
5142 | if modev.Value == 0 then | |
5143 | P = rarm | |
5144 | else | |
5145 | if modev.Value == 1 then | |
5146 | P = larm | |
5147 | end | |
5148 | end | |
5149 | local aK = Instance.new("Sound") | |
5150 | aK.EmitterSize = 8 | |
5151 | aK.Volume = 1.25 | |
5152 | aK.SoundId = "rbxassetid://314877637" | |
5153 | aK.Parent = P | |
5154 | local aL = Instance.new("Sound") | |
5155 | aL.EmitterSize = 9 | |
5156 | aL.Volume = 1.5 | |
5157 | aL.Pitch = rd2(10, 11) / 10 | |
5158 | aL.SoundId = "rbxassetid://408866322" | |
5159 | aL.Parent = P | |
5160 | local aM = Instance.new("Sound") | |
5161 | aM.EmitterSize = 9 | |
5162 | aM.Volume = 1.5 | |
5163 | aM.Pitch = rd2(12, 14) / 10 | |
5164 | aM.SoundId = "rbxassetid://137463821" | |
5165 | aM.Parent = P | |
5166 | game.Debris:AddItem(aK, 4) | |
5167 | game.Debris:AddItem(aL, 4) | |
5168 | game.Debris:AddItem(aM, 5) | |
5169 | aK:Play() | |
5170 | for I = 1, 12 do | |
5171 | swait() | |
5172 | if P == rarm then | |
5173 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
5174 | else | |
5175 | if P == larm then | |
5176 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
5177 | end | |
5178 | end | |
5179 | end | |
5180 | resetlerp() | |
5181 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
5182 | if modev.Value == 0 then | |
5183 | modev.Value = modev.Value + 1 | |
5184 | else | |
5185 | if modev.Value == 1 then | |
5186 | modev.Value = 0 | |
5187 | end | |
5188 | end | |
5189 | local aN = nil | |
5190 | for I,aO in pairs(H) do | |
5191 | if aO.Parent == P then | |
5192 | aN = aO.Transparency | |
5193 | aO.Transparency = 1 | |
5194 | end | |
5195 | end | |
5196 | local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5197 | local aQ = aP.CFrame * cf(0, 0, -40) | |
5198 | local V = Instance.new("Part") | |
5199 | nooutline(V) | |
5200 | V.Anchored = true | |
5201 | V.CanCollide = false | |
5202 | V.Transparency = 1 | |
5203 | V.Reflectance = 0.15 | |
5204 | V.Locked = true | |
5205 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
5206 | V.BrickColor = P.BrickColor | |
5207 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
5208 | V.Parent = modz | |
5209 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
5210 | local X = nil | |
5211 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
5212 | X = (aP.Position - P.Position).magnitude | |
5213 | W.Scale = Vector3.new(1, X / 2, 1) | |
5214 | 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) | |
5215 | V.Transparency = V.Transparency - 0.05 | |
5216 | end) | |
5217 | aL:Play() | |
5218 | aM:Play() | |
5219 | local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90))) | |
5220 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR) | |
5221 | local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270))) | |
5222 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT) | |
5223 | local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5224 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV) | |
5225 | local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5226 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX) | |
5227 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5228 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ) | |
5229 | game.Debris:AddItem(aR, 3) | |
5230 | game.Debris:AddItem(aT, 3) | |
5231 | game.Debris:AddItem(aV, 3) | |
5232 | game.Debris:AddItem(aX, 3) | |
5233 | game.Debris:AddItem(aZ, 3) | |
5234 | coroutine.resume(coroutine.create(function() | |
5235 | local b0 = aV.CFrame * cf(0, 0, -6) | |
5236 | local b1 = aX.CFrame * cf(0, 0, -14) | |
5237 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
5238 | for I = 1, 40 do | |
5239 | swait() | |
5240 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
5241 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
5242 | aR.Transparency = aR.Transparency + 0.025 | |
5243 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
5244 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
5245 | aT.Transparency = aT.Transparency + 0.03 | |
5246 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
5247 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
5248 | aV.Transparency = aV.Transparency + 0.02 | |
5249 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
5250 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
5251 | aX.Transparency = aX.Transparency + 0.02 | |
5252 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
5253 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
5254 | aZ.Transparency = aZ.Transparency + 0.02 | |
5255 | end | |
5256 | end)) | |
5257 | for j = 1, 18 do | |
5258 | swait() | |
5259 | if j < 3 then | |
5260 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
5261 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true) | |
5262 | if b4 and b4.Transparency ~= 1 then | |
5263 | local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5)) | |
5264 | game.Debris:AddItem(b6, 1) | |
5265 | local a5 = rd2(1, 3) | |
5266 | if a5 == 2 then | |
5267 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
5268 | else | |
5269 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
5270 | end | |
5271 | end | |
5272 | end | |
5273 | do | |
5274 | do | |
5275 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
5276 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
5277 | ||
5278 | end | |
5279 | end | |
5280 | end | |
5281 | Q:Destroy() | |
5282 | Y:Disconnect() | |
5283 | V:Destroy() | |
5284 | aP:Destroy() | |
5285 | for I,aO in pairs(H) do | |
5286 | if aO.Parent == P then | |
5287 | aO.Transparency = aN | |
5288 | end | |
5289 | end | |
5290 | human.WalkSpeed = human.WalkSpeed + 16 | |
5291 | activu = false | |
5292 | end | |
5293 | ||
5294 | gatling2 = function() | |
5295 | - | chatfunc("Machine Gun Blows..Full Power!") |
5295 | + | |
5296 | return | |
5297 | end | |
5298 | activu = true | |
5299 | human.AutoRotate = false | |
5300 | Crater(head,47) | |
5301 | chatfunc("Machine Gun Blows..FULL POWER!") | |
5302 | wait(0.5) | |
5303 | local aN = nil | |
5304 | local a9 = true | |
5305 | local aa = {} | |
5306 | local ab = {} | |
5307 | local b7 = {} | |
5308 | local ae = tool.Deactivated:connect(function() | |
5309 | a9 = false | |
5310 | end) | |
5311 | for j = 1, 14 do | |
5312 | local ac = Instance.new("Part") | |
5313 | nooutline(ac) | |
5314 | ac.Anchored = true | |
5315 | ac.Locked = true | |
5316 | ac.CanCollide = false | |
5317 | ac.Material = "Neon" | |
5318 | ac.Size = Vector3.new(1, 1, 1) | |
5319 | ac.Transparency = 1 | |
5320 | ac.CFrame = CFrame.new(0, 1000, 0) | |
5321 | ac.Parent = modz | |
5322 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac) | |
5323 | local ad = Instance.new("Sound") | |
5324 | ad.Volume = 0.7 | |
5325 | ad.Pitch = rd2(15, 21) / 10 | |
5326 | ad.Name = "s1" | |
5327 | ad.Parent = ac | |
5328 | local aL = Instance.new("Sound") | |
5329 | aL.EmitterSize = 7 | |
5330 | aL.Volume = 1.2 | |
5331 | aL.Name = "s2" | |
5332 | aL.Pitch = rd2(12, 18) / 10 | |
5333 | aL.Parent = ac | |
5334 | local aM = Instance.new("Sound") | |
5335 | aM.EmitterSize = 7 | |
5336 | aM.Volume = 1.2 | |
5337 | aM.Name = "s3" | |
5338 | aM.Pitch = rd2(14, 16) / 10 | |
5339 | aM.Parent = ac | |
5340 | table.insert(aa, ac) | |
5341 | end | |
5342 | asd2 = Instance.new("Sound",char) | |
5343 | asd2.SoundId = "http://www.roblox.com/asset/?id = 337638956" | |
5344 | asd2.Volume = 1 | |
5345 | asd2.Pitch = 1.4 | |
5346 | asd2.Looped = true | |
5347 | asd2:Play() | |
5348 | for j = 1, 28 do | |
5349 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
5350 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
5351 | table.insert(ab, a3) | |
5352 | end | |
5353 | for j = 1, 14 do | |
5354 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
5355 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3) | |
5356 | table.insert(b7, a3) | |
5357 | end | |
5358 | for I = 1, 16 do | |
5359 | swait() | |
5360 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
5361 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
5362 | end | |
5363 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5364 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5365 | for I,aO in pairs(H) do | |
5366 | if aO.Parent == rarm or aO.Parent == larm then | |
5367 | aN = aO.Transparency | |
5368 | aO.Transparency = 1 | |
5369 | end | |
5370 | end | |
5371 | resetlerp() | |
5372 | local a8 = Instance.new("BodyGyro") | |
5373 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
5374 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
5375 | a8.P = 580000 | |
5376 | a8.D = 250 | |
5377 | a8.Parent = hrp | |
5378 | coroutine.resume(coroutine.create(function() | |
5379 | while a8 do | |
5380 | swait() | |
5381 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
5382 | end | |
5383 | end)) | |
5384 | local af = 0 | |
5385 | local ag = 0 | |
5386 | repeat | |
5387 | repeat | |
5388 | ag = ag + 1 | |
5389 | if af == 0 then | |
5390 | af = 1 | |
5391 | else | |
5392 | af = af % 14 + 1 | |
5393 | end | |
5394 | coroutine.resume(coroutine.create(function() | |
5395 | local ah = aa[af] | |
5396 | local ai = ab[af] | |
5397 | local aj = ab[af + 14] | |
5398 | local ba = b7[af] | |
5399 | ah.Size = Vector3.new(1, 1, 0) | |
5400 | 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) | |
5401 | ah.Transparency = 0.25 | |
5402 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0) | |
5403 | ai.Transparency = 0.35 | |
5404 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(4, 4, 4) | |
5405 | aj.Transparency = 0.45 | |
5406 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(7, 7, 7) | |
5407 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
5408 | if af % 2 == 1 then | |
5409 | 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)) | |
5410 | else | |
5411 | if af % 2 == 0 then | |
5412 | 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)) | |
5413 | end | |
5414 | end | |
5415 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
5416 | ba.Transparency = 0.4 | |
5417 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
5418 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
5419 | local bc = aj.CFrame * cf(0, 1, 0) | |
5420 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
5421 | local ak = false | |
5422 | for j = 1, 12 do | |
5423 | swait() | |
5424 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
5425 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
5426 | if a1 and ak == false then | |
5427 | ak = true | |
5428 | 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))) | |
5429 | do | |
5430 | local a4 = makemesh("FileMesh", Vector3.new(0.7, 0.7, 0.7), "rbxassetid://489415447", a3) | |
5431 | game.Debris:AddItem(a3, 6.5) | |
5432 | local a5 = rd2(1, 12) | |
5433 | if a5 == 6 then | |
5434 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
5435 | else | |
5436 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10) | |
5437 | end | |
5438 | coroutine.resume(coroutine.create(function() | |
5439 | for I = 1, 4 do | |
5440 | swait() | |
5441 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
5442 | a3.Transparency = a3.Transparency + 0.2 | |
5443 | end | |
5444 | a3:Destroy() | |
5445 | end)) | |
5446 | end | |
5447 | end | |
5448 | ah.Size = ah.Size:lerp(Vector3.new(6.25, 6.25, 6), 0.5) | |
5449 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
5450 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45) | |
5451 | ah.Transparency = ah.Transparency + 0.0725 | |
5452 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4) | |
5453 | ai.Transparency = ai.Transparency + 0.06 | |
5454 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4) | |
5455 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
5456 | aj.Transparency = aj.Transparency + 0.05 | |
5457 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4) | |
5458 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
5459 | ba.Transparency = ba.Transparency + 0.06 | |
5460 | end | |
5461 | end)) | |
5462 | swait() | |
5463 | until not a9 or ag > 150 | |
5464 | until ag > 30 | |
5465 | ae:Disconnect() | |
5466 | for I,aO in pairs(H) do | |
5467 | if aO.Parent == rarm or aO.Parent == larm then | |
5468 | aO.Transparency = aN | |
5469 | end | |
5470 | end | |
5471 | b8:Destroy() | |
5472 | b9:Destroy() | |
5473 | a8:Destroy() | |
5474 | asd2:Stop() | |
5475 | gatlingcool = 50 | |
5476 | human.AutoRotate = true | |
5477 | activu = false | |
5478 | coroutine.resume(coroutine.create(function() | |
5479 | wait(0) | |
5480 | gatlingcool = 0 | |
5481 | end)) | |
5482 | wait(1) | |
5483 | for I,al in pairs(aa) do | |
5484 | al:Destroy() | |
5485 | end | |
5486 | for I,am in pairs(ab) do | |
5487 | am:Destroy() | |
5488 | end | |
5489 | for I,be in pairs(b7) do | |
5490 | be:Destroy() | |
5491 | end | |
5492 | aa, ab, b7 = nil | |
5493 | end | |
5494 | ||
5495 | jetbazoo = function() | |
5496 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
5497 | return | |
5498 | end | |
5499 | activu = true | |
5500 | local pie22 = Instance.new("ParticleEmitter") | |
5501 | pie22.Parent = larm | |
5502 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5503 | pie22.LightEmission = 1 | |
5504 | pie22.Size = NumberSequence.new(3) | |
5505 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
5506 | pie22.Transparency = NumberSequence.new(0.7) | |
5507 | pie22.EmissionDirection = "Top" | |
5508 | pie22.Enabled = true | |
5509 | pie22.Lifetime = NumberRange.new(0.1) | |
5510 | pie22.Rotation = NumberRange.new(-420, 425) | |
5511 | pie22.Rate = 300 | |
5512 | pie22.Speed = NumberRange.new(4) | |
5513 | pie22.LockedToPart = true | |
5514 | pie22.VelocitySpread = 360 | |
5515 | local pie222 = Instance.new("ParticleEmitter") | |
5516 | pie222.Parent = rarm | |
5517 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5518 | pie222.LightEmission = 1 | |
5519 | pie222.Size = NumberSequence.new(3) | |
5520 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
5521 | pie222.Transparency = NumberSequence.new(0.7) | |
5522 | pie222.EmissionDirection = "Top" | |
5523 | pie222.Enabled = true | |
5524 | pie222.Lifetime = NumberRange.new(0.1) | |
5525 | pie222.Rotation = NumberRange.new(-420, 425) | |
5526 | pie222.Rate = 300 | |
5527 | pie222.Speed = NumberRange.new(4) | |
5528 | pie222.LockedToPart = true | |
5529 | pie222.VelocitySpread = 360 | |
5530 | local bf = human.WalkSpeed | |
5531 | human.WalkSpeed = 12 | |
5532 | human.AutoRotate = false | |
5533 | hrp.Anchored = true | |
5534 | local aK = Instance.new("Sound") | |
5535 | aK.EmitterSize = 60 | |
5536 | aK.Volume = 1.5 | |
5537 | aK.Pitch = 1 | |
5538 | aK.SoundId = "rbxassetid://137463716" | |
5539 | aK.Parent = hrp | |
5540 | local bg = Instance.new("Sound") | |
5541 | bg.SoundId = "rbxassetid://994434943" | |
5542 | bg.MaxDistance = 200 | |
5543 | bg.EmitterSize = 60 | |
5544 | bg.Volume = 4 | |
5545 | bg.Pitch = 1.4 | |
5546 | bg.Parent = hrp | |
5547 | aK:Play() | |
5548 | local bj = {} | |
5549 | for I = 1, 10 do | |
5550 | 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)) | |
5551 | local bl = Instance.new("Attachment") | |
5552 | bl.Position = Vector3.new(-0.1, 0, 0) | |
5553 | bl.Parent = bk | |
5554 | local bm = Instance.new("Attachment") | |
5555 | bm.Position = Vector3.new(0.1, 0, 0) | |
5556 | bm.Parent = bk | |
5557 | local bn = Instance.new("Trail") | |
5558 | bn.LightEmission = 0.7 | |
5559 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)}) | |
5560 | bn.Attachment0 = bl | |
5561 | bn.Attachment1 = bm | |
5562 | bn.Lifetime = 0.7 | |
5563 | bn.MinLength = 0 | |
5564 | bn.Parent = bk | |
5565 | table.insert(bj, bk) | |
5566 | end | |
5567 | coroutine.resume(coroutine.create(function() | |
5568 | for I = 1, 25 do | |
5569 | swait() | |
5570 | for j,bo in pairs(bj) do | |
5571 | if j % 2 == 0 then | |
5572 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
5573 | else | |
5574 | if j % 2 == 1 then | |
5575 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
5576 | end | |
5577 | end | |
5578 | end | |
5579 | end | |
5580 | end)) | |
5581 | for I = 1, 25 do | |
5582 | swait() | |
5583 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
5584 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
5585 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
5586 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5587 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
5588 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5589 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
5590 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5591 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
5592 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5593 | end | |
5594 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5595 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5596 | local aN = nil | |
5597 | for I,aO in pairs(H) do | |
5598 | if aO.Parent == rarm or aO.Parent == larm then | |
5599 | aN = aO.Transparency | |
5600 | aO.Transparency = 1 | |
5601 | end | |
5602 | end | |
5603 | bg:Play() | |
5604 | local aR = makepart("New Yeller", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
5605 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR) | |
5606 | local aT = makepart("New Yeller", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
5607 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT) | |
5608 | local br = makepart("New Yeller", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0))) | |
5609 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br) | |
5610 | local bt = makepart("New Yeller", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
5611 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt) | |
5612 | local bv = makepart("New Yeller", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
5613 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv) | |
5614 | local bx = makepart("New Yeller", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
5615 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx) | |
5616 | local bz = makepart("New Yeller", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
5617 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz) | |
5618 | local bB = makepart("New Yeller", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90))) | |
5619 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB) | |
5620 | local bD = makepart("New Yeller", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90))) | |
5621 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD) | |
5622 | 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))) | |
5623 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF) | |
5624 | 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))) | |
5625 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH) | |
5626 | game.Debris:AddItem(aR, 1.5) | |
5627 | game.Debris:AddItem(aT, 1.5) | |
5628 | game.Debris:AddItem(br, 1.5) | |
5629 | game.Debris:AddItem(bt, 1.5) | |
5630 | game.Debris:AddItem(bv, 1.5) | |
5631 | game.Debris:AddItem(bx, 1.5) | |
5632 | game.Debris:AddItem(bz, 1.5) | |
5633 | game.Debris:AddItem(bB, 1.5) | |
5634 | game.Debris:AddItem(bD, 1.5) | |
5635 | game.Debris:AddItem(bC, 1.5) | |
5636 | game.Debris:AddItem(bF, 1.5) | |
5637 | game.Debris:AddItem(bH, 1.5) | |
5638 | coroutine.resume(coroutine.create(function() | |
5639 | local bJ = aR.CFrame * cf(0, 0, -35) | |
5640 | local bK = aT.CFrame * cf(0, 0, -25) | |
5641 | local bL = hrp.CFrame * cf(0, 0, 20) | |
5642 | local bM = hrp.CFrame * cf(0, 0, 50) | |
5643 | local bN = bz.CFrame * cf(0, 0, -20) | |
5644 | local bO = bB.CFrame * cf(0, 25, 0) | |
5645 | for j = 1, 40 do | |
5646 | swait() | |
5647 | if j < 10 then | |
5648 | hito(aR, 60, 4000005, 1, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
5649 | end | |
5650 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(75)) | |
5651 | aS.Scale = aS.Scale + Vector3.new(0.5, 0.5, 1) | |
5652 | aR.Transparency = aR.Transparency + 0.06 | |
5653 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
5654 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
5655 | aT.Transparency = aT.Transparency + 0.04 | |
5656 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
5657 | br.Transparency = br.Transparency + 0.075 | |
5658 | bs.Scale = bs.Scale:lerp(Vector3.new(75, 75, 70), 0.3) | |
5659 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
5660 | bt.Transparency = br.Transparency + 0.05 | |
5661 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
5662 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
5663 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
5664 | if j < 4 then | |
5665 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
5666 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
5667 | else | |
5668 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
5669 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
5670 | end | |
5671 | bv.Transparency = bv.Transparency + 0.02 | |
5672 | bx.Transparency = bx.Transparency + 0.0175 | |
5673 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
5674 | bz.CFrame = bz.CFrame:lerp(bN, 3) | |
5675 | bz.Transparency = bz.Transparency + 0.035 | |
5676 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
5677 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
5678 | bB.Transparency = bB.Transparency + 0.0175 | |
5679 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
5680 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
5681 | bD.Transparency = bD.Transparency + 0.03 | |
5682 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
5683 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
5684 | bF.Transparency = bF.Transparency + 0.03 | |
5685 | bH.Transparency = bH.Transparency + 0.03 | |
5686 | end | |
5687 | end)) | |
5688 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
5689 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
5690 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
5691 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5692 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
5693 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5694 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
5695 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5696 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
5697 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5698 | pie22:Destroy() | |
5699 | pie222:Destroy() | |
5700 | swait() | |
5701 | bq:Destroy() | |
5702 | bp:Destroy() | |
5703 | for I,aO in pairs(H) do | |
5704 | if aO.Parent == rarm or aO.Parent == larm then | |
5705 | aO.Transparency = aN | |
5706 | end | |
5707 | end | |
5708 | for I = 1, 15 do | |
5709 | swait() | |
5710 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
5711 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
5712 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
5713 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5714 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
5715 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5716 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
5717 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5718 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
5719 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5720 | end | |
5721 | for j = 1, 10 do | |
5722 | swait() | |
5723 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5724 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5725 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5726 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5727 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5728 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5729 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5730 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5731 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5732 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5733 | end | |
5734 | resetlerp() | |
5735 | human.WalkSpeed = bf | |
5736 | human.AutoRotate = true | |
5737 | hrp.Anchored = false | |
5738 | if plr.UserId ~= 8488617 then | |
5739 | bazookacool = 50 | |
5740 | end | |
5741 | activu = false | |
5742 | swait(20) | |
5743 | for I,bP in pairs(bj) do | |
5744 | bP:Destroy() | |
5745 | end | |
5746 | bj = nil | |
5747 | wait(0) | |
5748 | bazookacool = 0 | |
5749 | end | |
5750 | ||
5751 | 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 | |
5752 | local cb = false | |
5753 | local cc = false | |
5754 | 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 | |
5755 | giganpist = function() | |
5756 | if selected == false or activu == true then | |
5757 | return | |
5758 | end | |
5759 | activu = true | |
5760 | human.AutoRotate = false | |
5761 | human.PlatformStand = true | |
5762 | local cH = Instance.new("BodyPosition") | |
5763 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
5764 | cH.P = 3000 | |
5765 | cH.Position = hrp.Position | |
5766 | cH.Parent = hrp | |
5767 | local a8 = Instance.new("BodyGyro") | |
5768 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
5769 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5770 | a8.P = 580000 | |
5771 | a8.D = 10000 | |
5772 | a8.Parent = hrp | |
5773 | local cI = true | |
5774 | coroutine.resume(coroutine.create(function() | |
5775 | while cI do | |
5776 | swait() | |
5777 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5778 | end | |
5779 | end)) | |
5780 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5781 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
5782 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
5783 | for I = 1, 30 do | |
5784 | swait() | |
5785 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
5786 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
5787 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
5788 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5789 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
5790 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5791 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
5792 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5793 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
5794 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5795 | end | |
5796 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5797 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
5798 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
5799 | for j = 1, 12 do | |
5800 | swait() | |
5801 | ce = 0.01 + j * 0.005 | |
5802 | ch = 0.03 + j * 0.01 | |
5803 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
5804 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
5805 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
5806 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5807 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
5808 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5809 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
5810 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5811 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
5812 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5813 | end | |
5814 | cI = false | |
5815 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
5816 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
5817 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5818 | swait() | |
5819 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
5820 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
5821 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5822 | for j = 1, 38 do | |
5823 | swait() | |
5824 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
5825 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
5826 | if j > 3 and j < 29 then | |
5827 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
5828 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3) | |
5829 | game.Debris:AddItem(a3, 4) | |
5830 | coroutine.resume(coroutine.create(function() | |
5831 | for I = 1, 8 do | |
5832 | swait() | |
5833 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5834 | a3.Transparency = a3.Transparency + 0.1 | |
5835 | end | |
5836 | a3:Destroy() | |
5837 | end)) | |
5838 | local a5 = rd2(1, 2) | |
5839 | if a5 == 2 then | |
5840 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5841 | else | |
5842 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
5843 | end | |
5844 | end | |
5845 | ce = 0.01 + j * 0.018 | |
5846 | ch = 0.01 + j * 0.008 | |
5847 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
5848 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
5849 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
5850 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5851 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
5852 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5853 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
5854 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5855 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
5856 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5857 | end | |
5858 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5859 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
5860 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5861 | human.AutoRotate = true | |
5862 | human.PlatformStand = false | |
5863 | a8:Destroy() | |
5864 | cH:Destroy() | |
5865 | activu = false | |
5866 | end | |
5867 | ||
5868 | giganbazooka = function() | |
5869 | if selected == false or activu == true then | |
5870 | return | |
5871 | end | |
5872 | activu = true | |
5873 | human.WalkSpeed = human.WalkSpeed - 11 | |
5874 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5875 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
5876 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
5877 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5878 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
5879 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
5880 | for I = 1, 40 do | |
5881 | swait() | |
5882 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
5883 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
5884 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
5885 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5886 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
5887 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5888 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
5889 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5890 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
5891 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5892 | end | |
5893 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5894 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
5895 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
5896 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5897 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
5898 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
5899 | human.AutoRotate = false | |
5900 | for j = 1, 12 do | |
5901 | swait() | |
5902 | ce = 0.01 + j * 0.005 | |
5903 | ch = 0.03 + j * 0.01 | |
5904 | cu = 0.01 + j * 0.005 | |
5905 | cw = 0.03 + j * 0.005 | |
5906 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
5907 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
5908 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
5909 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5910 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
5911 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5912 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
5913 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5914 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
5915 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5916 | end | |
5917 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
5918 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
5919 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5920 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
5921 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
5922 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
5923 | swait() | |
5924 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
5925 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
5926 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5927 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
5928 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
5929 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
5930 | for j = 1, 48 do | |
5931 | swait() | |
5932 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
5933 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
5934 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
5935 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
5936 | if j > 4 and j < 29 then | |
5937 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
5938 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3) | |
5939 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90))) | |
5940 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ) | |
5941 | game.Debris:AddItem(a3, 4) | |
5942 | coroutine.resume(coroutine.create(function() | |
5943 | for I = 1, 8 do | |
5944 | swait() | |
5945 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5946 | a3.Transparency = a3.Transparency + 0.1 | |
5947 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5948 | cJ.Transparency = cJ.Transparency + 0.1 | |
5949 | end | |
5950 | a3:Destroy() | |
5951 | cJ:Destroy() | |
5952 | end)) | |
5953 | local a5 = rd2(1, 2) | |
5954 | if a5 == 2 then | |
5955 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5956 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5957 | else | |
5958 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
5959 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
5960 | end | |
5961 | end | |
5962 | ce = 0.01 + j * 0.018 | |
5963 | ch = 0.01 + j * 0.008 | |
5964 | cu = 0.01 + j * 0.018 | |
5965 | cw = 0.01 + j * 0.008 | |
5966 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
5967 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
5968 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
5969 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5970 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
5971 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5972 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
5973 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5974 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
5975 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5976 | end | |
5977 | human.WalkSpeed = human.WalkSpeed + 11 | |
5978 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5979 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
5980 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5981 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5982 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
5983 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
5984 | human.AutoRotate = true | |
5985 | activu = false | |
5986 | end | |
5987 | ||
5988 | gigangatl = function() | |
5989 | if selected == false or activu == true or g3lim < 4 then | |
5990 | return | |
5991 | end | |
5992 | activu = true | |
5993 | human.AutoRotate = false | |
5994 | human.PlatformStand = true | |
5995 | local cH = Instance.new("BodyPosition") | |
5996 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
5997 | cH.P = 3000 | |
5998 | cH.Position = hrp.Position | |
5999 | cH.Parent = hrp | |
6000 | local a8 = Instance.new("BodyGyro") | |
6001 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
6002 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
6003 | a8.P = 580000 | |
6004 | a8.D = 10000 | |
6005 | a8.Parent = hrp | |
6006 | local cI = true | |
6007 | coroutine.resume(coroutine.create(function() | |
6008 | while cI do | |
6009 | swait() | |
6010 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
6011 | end | |
6012 | end)) | |
6013 | local ae = tool.Deactivated:connect(function() | |
6014 | cI = false | |
6015 | end) | |
6016 | local cL = {} | |
6017 | for I,cM in pairs(chr:GetChildren()) do | |
6018 | if cM == rarm or cM == larm then | |
6019 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM) | |
6020 | table.insert(cL, cN) | |
6021 | for I,cO in pairs(cM:GetChildren()) do | |
6022 | do | |
6023 | if cO:IsA("Part") and cO.Transparency ~= 1 then | |
6024 | do | |
6025 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO) | |
6026 | table.insert(cL, cN) | |
6027 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
6028 | ||
6029 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
6030 | ||
6031 | end | |
6032 | end | |
6033 | end | |
6034 | end | |
6035 | end | |
6036 | end | |
6037 | local cP = {} | |
6038 | local cQ = {} | |
6039 | local cR = {} | |
6040 | for j = 1, 10 do | |
6041 | local cS = nil | |
6042 | if j % 2 == 0 then | |
6043 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6044 | cS.Color = bR.Color | |
6045 | cS.Reflectance = bR.Reflectance | |
6046 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
6047 | else | |
6048 | if j % 2 == 1 then | |
6049 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6050 | cS.Color = bW.Color | |
6051 | cS.Reflectance = bW.Reflectance | |
6052 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
6053 | end | |
6054 | end | |
6055 | local ad = Instance.new("Sound") | |
6056 | ad.Volume = 1 | |
6057 | ad.Pitch = math.random(4, 6) / 10 | |
6058 | ad.SoundId = "rbxassetid://144508058" | |
6059 | ad.Parent = cS | |
6060 | table.insert(cP, cS) | |
6061 | end | |
6062 | for j = 1, 10 do | |
6063 | local cS = nil | |
6064 | if j % 2 == 0 then | |
6065 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6066 | cS.Color = bU.Color | |
6067 | cS.Reflectance = bU.Reflectance | |
6068 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS) | |
6069 | else | |
6070 | if j % 2 == 1 then | |
6071 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6072 | cS.Color = bZ.Color | |
6073 | cS.Reflectance = bZ.Reflectance | |
6074 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS) | |
6075 | end | |
6076 | end | |
6077 | table.insert(cQ, cS) | |
6078 | end | |
6079 | for j = 1, 10 do | |
6080 | local cS = nil | |
6081 | if j % 2 == 0 then | |
6082 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6083 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
6084 | else | |
6085 | if j % 2 == 1 then | |
6086 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6087 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
6088 | end | |
6089 | end | |
6090 | table.insert(cR, cS) | |
6091 | end | |
6092 | local ag = 0 | |
6093 | local af = 0 | |
6094 | local cT = 14 | |
6095 | resetlerp() | |
6096 | coroutine.resume(coroutine.create(function() | |
6097 | local cU = 0 | |
6098 | while cI do | |
6099 | swait() | |
6100 | cU = cU + 1 | |
6101 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
6102 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
6103 | end | |
6104 | end)) | |
6105 | repeat | |
6106 | ag = ag + 1 | |
6107 | if af == 0 then | |
6108 | af = 1 | |
6109 | else | |
6110 | af = af % 10 + 1 | |
6111 | end | |
6112 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
6113 | cP[af].Transparency = 0.75 | |
6114 | cQ[af].Transparency = 0.75 | |
6115 | cR[af].Transparency = 0.75 | |
6116 | cT = 11 | |
6117 | else | |
6118 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
6119 | cP[af].Transparency = 0.5 | |
6120 | cQ[af].Transparency = 0.5 | |
6121 | cR[af].Transparency = 0.5 | |
6122 | cT = 8 | |
6123 | else | |
6124 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
6125 | cP[af].Transparency = 0.25 | |
6126 | cQ[af].Transparency = 0.25 | |
6127 | cR[af].Transparency = 0.25 | |
6128 | cT = 5 | |
6129 | else | |
6130 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
6131 | cP[af].Transparency = 0 | |
6132 | cQ[af].Transparency = 0 | |
6133 | cR[af].Transparency = 0 | |
6134 | cT = 3 | |
6135 | end | |
6136 | end | |
6137 | end | |
6138 | end | |
6139 | 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)) | |
6140 | if (af) % 2 == 0 then | |
6141 | 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)) | |
6142 | else | |
6143 | if (af) % 2 == 1 then | |
6144 | 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)) | |
6145 | end | |
6146 | end | |
6147 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50) | |
6148 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
6149 | coroutine.resume(coroutine.create(function() | |
6150 | local cV = af | |
6151 | local cW = cP[af] | |
6152 | local cX = cQ[af] | |
6153 | local cY = cR[af] | |
6154 | local cZ = 10 | |
6155 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10 | |
6156 | cW:FindFirstChildOfClass("Sound"):Play() | |
6157 | for j = 1, 30 do | |
6158 | swait() | |
6159 | if j < 20 then | |
6160 | local a5 = rd2(1, 3) | |
6161 | if a5 == 2 then | |
6162 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
6163 | else | |
6164 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
6165 | end | |
6166 | end | |
6167 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
6168 | if cV % 2 == 0 then | |
6169 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6170 | else | |
6171 | if cV % 2 == 1 then | |
6172 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6173 | end | |
6174 | end | |
6175 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
6176 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5) | |
6177 | cZ = cZ - 0.45 | |
6178 | end | |
6179 | end)) | |
6180 | swait(cT) | |
6181 | until ag > 10 | |
6182 | cI = false | |
6183 | ae:Disconnect() | |
6184 | cH:Destroy() | |
6185 | a8:Destroy() | |
6186 | for I,c_ in pairs(cL) do | |
6187 | c_:Destroy() | |
6188 | end | |
6189 | for I,d0 in pairs(cP) do | |
6190 | coroutine.resume(coroutine.create(function() | |
6191 | for I = 1, 10 do | |
6192 | swait() | |
6193 | d0.Transparency = d0.Transparency + 0.1 | |
6194 | end | |
6195 | d0:Destroy() | |
6196 | end)) | |
6197 | end | |
6198 | for I,d0 in pairs(cQ) do | |
6199 | coroutine.resume(coroutine.create(function() | |
6200 | for I = 1, 10 do | |
6201 | swait() | |
6202 | d0.Transparency = d0.Transparency + 0.1 | |
6203 | end | |
6204 | d0:Destroy() | |
6205 | end)) | |
6206 | end | |
6207 | for I,d0 in pairs(cR) do | |
6208 | coroutine.resume(coroutine.create(function() | |
6209 | for I = 1, 10 do | |
6210 | swait() | |
6211 | d0.Transparency = d0.Transparency + 0.1 | |
6212 | end | |
6213 | d0:Destroy() | |
6214 | end)) | |
6215 | end | |
6216 | human.AutoRotate = true | |
6217 | human.PlatformStand = false | |
6218 | activu = false | |
6219 | end | |
6220 | ||
6221 | gear2change = function() | |
6222 | if selected == false or activu == true then | |
6223 | return | |
6224 | end | |
6225 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
6226 | activu = true | |
6227 | g.Enabled = false | |
6228 | human.AutoRotate = false | |
6229 | hrp.Anchored = true | |
6230 | human.WalkSpeed = 0 | |
6231 | local d1 = Instance.new("Sound") | |
6232 | d1.EmitterSize = 10 | |
6233 | d1.Volume = 4 | |
6234 | d1.SoundId = "rbxassetid://255289910" | |
6235 | d1.Parent = hrp | |
6236 | d1:Play() | |
6237 | game.Debris:AddItem(d1, 5) | |
6238 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
6239 | d2.Anchored = false | |
6240 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2) | |
6241 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
6242 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
6243 | d5.Anchored = false | |
6244 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5) | |
6245 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
6246 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
6247 | d8.Anchored = false | |
6248 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8) | |
6249 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
6250 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
6251 | db.Anchored = false | |
6252 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db) | |
6253 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
6254 | animo(false) | |
6255 | cam.CameraType = "Scriptable" | |
6256 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
6257 | for I = 1, 35 do | |
6258 | do | |
6259 | swait() | |
6260 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
6261 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
6262 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
6263 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
6264 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
6265 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
6266 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
6267 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
6268 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
6269 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
6270 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
6271 | end | |
6272 | end | |
6273 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
6274 | for I = 1, 25 do | |
6275 | swait() | |
6276 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
6277 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
6278 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6279 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6280 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
6281 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
6282 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6283 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6284 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6285 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
6286 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6287 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6288 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
6289 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6290 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6291 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6292 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6293 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6294 | end | |
6295 | d1.TimePosition = 1.4 | |
6296 | for I = 1, 3 do | |
6297 | swait() | |
6298 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6299 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6300 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6301 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6302 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6303 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6304 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6305 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6306 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6307 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
6308 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6309 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6310 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6311 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6312 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6313 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6314 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6315 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6316 | end | |
6317 | for I = 1, 10 do | |
6318 | swait() | |
6319 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6320 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6321 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6322 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6323 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6324 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6325 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6326 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6327 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6328 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
6329 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6330 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6331 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6332 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6333 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6334 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6335 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6336 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6337 | end | |
6338 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
6339 | swait(8) | |
6340 | d2:Destroy() | |
6341 | d5:Destroy() | |
6342 | d8:Destroy() | |
6343 | db:Destroy() | |
6344 | for j = 1, #H do | |
6345 | coroutine.resume(coroutine.create(function() | |
6346 | local de = H[j] | |
6347 | for I = 1, 16 do | |
6348 | swait() | |
6349 | de.Transparency = de.Transparency - 0.009375 | |
6350 | de.pe.Enabled = true | |
6351 | if de:FindFirstChild("ss") then | |
6352 | de:FindFirstChild("ss"):Play() | |
6353 | end | |
6354 | end | |
6355 | swait(120) | |
6356 | end)) | |
6357 | end | |
6358 | d1.TimePosition = 4.1 | |
6359 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
6360 | swait(8) | |
6361 | for j = 1, 35 do | |
6362 | swait() | |
6363 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6364 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
6365 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6366 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6367 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6368 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6369 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6370 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6371 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6372 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6373 | end | |
6374 | cam.CameraType = "Custom" | |
6375 | animo(true) | |
6376 | human.WalkSpeed = 28 | |
6377 | human.JumpPower = 60 | |
6378 | hrp.Anchored = false | |
6379 | human.AutoRotate = true | |
6380 | head:FindFirstChildOfClass("Decal").Texture = d | |
6381 | for I = 1, 6 do | |
6382 | swait() | |
6383 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6384 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6385 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6386 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6387 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6388 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6389 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6390 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6391 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6392 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6393 | end | |
6394 | resetlerp() | |
6395 | dagear = 2 | |
6396 | g.Enabled = true | |
6397 | activu = false | |
6398 | else | |
6399 | do | |
6400 | if dagear == 2 then | |
6401 | activu = true | |
6402 | for j = 1, #H do | |
6403 | coroutine.resume(coroutine.create(function() | |
6404 | local de = H[j] | |
6405 | local df = nil | |
6406 | if de:FindFirstChild("ss") then | |
6407 | df = de:FindFirstChild("ss") | |
6408 | end | |
6409 | for I = 1, 16 do | |
6410 | swait() | |
6411 | de.Transparency = de.Transparency + 0.009375 | |
6412 | de.pe.Rate = de.pe.Rate - 1 | |
6413 | if de:FindFirstChild("ss") then | |
6414 | df.Volume = df.Volume - 0.03125 | |
6415 | end | |
6416 | end | |
6417 | de.pe.Rate = 20 | |
6418 | de.pe.Enabled = false | |
6419 | if de:FindFirstChild("ss") then | |
6420 | df:Stop() | |
6421 | df.Volume = 0.5 | |
6422 | end | |
6423 | end)) | |
6424 | end | |
6425 | human.WalkSpeed = 16 | |
6426 | human.JumpPower = 50 | |
6427 | dagear = 1 | |
6428 | activu = false | |
6429 | end | |
6430 | end | |
6431 | end | |
6432 | end | |
6433 | ||
6434 | gear3change = function() | |
6435 | if selected == false or activu == true then | |
6436 | return | |
6437 | end | |
6438 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
6439 | activu = true | |
6440 | g.Enabled = false | |
6441 | human.AutoRotate = false | |
6442 | hrp.Anchored = true | |
6443 | human.WalkSpeed = 0 | |
6444 | animo(false) | |
6445 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6446 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6447 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR) | |
6448 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6449 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS) | |
6450 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6451 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT) | |
6452 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6453 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU) | |
6454 | cam.CameraType = "Scriptable" | |
6455 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
6456 | for I = 1, 26 do | |
6457 | swait() | |
6458 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6459 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
6460 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
6461 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6462 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
6463 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6464 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
6465 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6466 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
6467 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6468 | end | |
6469 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082" | |
6470 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
6471 | for j = 1, 37 do | |
6472 | swait() | |
6473 | local dg = rd2(-80, 80) / (38 - j) | |
6474 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
6475 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
6476 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
6477 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6478 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
6479 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6480 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
6481 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6482 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
6483 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6484 | end | |
6485 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406" | |
6486 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
6487 | for I = 1, 15 do | |
6488 | swait() | |
6489 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
6490 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
6491 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
6492 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6493 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
6494 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6495 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
6496 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6497 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
6498 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6499 | end | |
6500 | bQ.Transparency = 1 | |
6501 | bR.Transparency = 0 | |
6502 | bS.Transparency = 0 | |
6503 | bT.Transparency = 0 | |
6504 | bU.Transparency = 0 | |
6505 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6506 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6507 | c7 = (bQ.Position - rarm.Position).magnitude | |
6508 | c8 = (bR.Position - bQ.Position).magnitude | |
6509 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
6510 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
6511 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
6512 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
6513 | for I = 1, 50 do | |
6514 | swait() | |
6515 | c7 = (bQ.Position - rarm.Position).magnitude | |
6516 | c8 = (bR.Position - bQ.Position).magnitude | |
6517 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
6518 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
6519 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
6520 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
6521 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
6522 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
6523 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
6524 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
6525 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
6526 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
6527 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
6528 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
6529 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
6530 | end | |
6531 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6532 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6533 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6534 | ck = Vector3.new(60, 70, 60) | |
6535 | cm = 3.5 | |
6536 | co = 5 | |
6537 | cj = 0.3--speed of hand | |
6538 | cq = Vector3.new(0.16, 0.16, 0.16) | |
6539 | cb = true | |
6540 | coroutine.resume(coroutine.create(function() | |
6541 | while cb == true do | |
6542 | swait2() | |
6543 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
6544 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
6545 | c7 = (bQ.Position - rarm.Position).magnitude | |
6546 | c8 = (bR.Position - bQ.Position).magnitude | |
6547 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
6548 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
6549 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
6550 | b_.Scale = b_.Scale:lerp(ck, cl) | |
6551 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
6552 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
6553 | c2.Scale = c2.Scale:lerp(cq, cr) | |
6554 | end | |
6555 | end)) | |
6556 | print("bless the meme") | |
6557 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
6558 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
6559 | for j = 1, 80 do | |
6560 | swait() | |
6561 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
6562 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
6563 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
6564 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6565 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
6566 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6567 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
6568 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6569 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
6570 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6571 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
6572 | end | |
6573 | head:FindFirstChildOfClass("Decal").Texture = d | |
6574 | cam.CameraType = "Custom" | |
6575 | dagear = 3 | |
6576 | human.AutoRotate = true | |
6577 | hrp.Anchored = false | |
6578 | human.WalkSpeed = 12 | |
6579 | g.Enabled = true | |
6580 | activu = false | |
6581 | --fixing the hand movement | |
6582 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
6583 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
6584 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
6585 | ce = 0.01 | |
6586 | ch = 0.01 | |
6587 | cd = cf() | |
6588 | cg = cf() | |
6589 | for j = 1, 38 do | |
6590 | --swait() | |
6591 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
6592 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
6593 | ce = 0.01 + j * 0.018 | |
6594 | ch = 0.01 + j * 0.008 | |
6595 | end | |
6596 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6597 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6598 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6599 | --done fixing hand xd | |
6600 | elseif dagear == 3 then | |
6601 | activu = true | |
6602 | human.WalkSpeed = 0 | |
6603 | human.AutoRotate = false | |
6604 | hrp.Anchored = true | |
6605 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6606 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6607 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
6608 | ck = Vector3.new(0, 1, 0) | |
6609 | cm = 0 | |
6610 | co = 0 | |
6611 | cq = Vector3.new(0, 1, 0) | |
6612 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6613 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6614 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
6615 | cz = Vector3.new(0, 1, 0) | |
6616 | cB = 0 | |
6617 | cD = 0 | |
6618 | cF = Vector3.new(0, 1, 0) | |
6619 | for j = 1, 40 do | |
6620 | swait() | |
6621 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
6622 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
6623 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
6624 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6625 | if g32hand then | |
6626 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
6627 | else | |
6628 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
6629 | end | |
6630 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6631 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
6632 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6633 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
6634 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6635 | end | |
6636 | cb = false | |
6637 | cc = false | |
6638 | bQ:Destroy() | |
6639 | bR:Destroy() | |
6640 | bS:Destroy() | |
6641 | bT:Destroy() | |
6642 | bU:Destroy() | |
6643 | if g32hand then | |
6644 | bV:Destroy() | |
6645 | bW:Destroy() | |
6646 | bX:Destroy() | |
6647 | bY:Destroy() | |
6648 | bZ:Destroy() | |
6649 | end | |
6650 | for I = 1, 13 do | |
6651 | swait() | |
6652 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6653 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6654 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6655 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6656 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6657 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6658 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6659 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6660 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6661 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6662 | end | |
6663 | resetlerp() | |
6664 | animo(true) | |
6665 | human.WalkSpeed = 16 | |
6666 | dagear = 1 | |
6667 | g32hand = false | |
6668 | human.AutoRotate = true | |
6669 | hrp.Anchored = false | |
6670 | activu = false | |
6671 | end | |
6672 | --a8:Destroy() | |
6673 | --cH:Destroy() | |
6674 | activu = false | |
6675 | end | |
6676 | ||
6677 | g3twohand = function() | |
6678 | if selected == false or activu == true then | |
6679 | return | |
6680 | end | |
6681 | if not g32hand then | |
6682 | activu = true | |
6683 | local bf = human.WalkSpeed | |
6684 | human.WalkSpeed = 0 | |
6685 | cc = true | |
6686 | g.Enabled = false | |
6687 | human.AutoRotate = false | |
6688 | hrp.Anchored = true | |
6689 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame) | |
6690 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6691 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW) | |
6692 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6693 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX) | |
6694 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6695 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY) | |
6696 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6697 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ) | |
6698 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
6699 | dh.Anchored = false | |
6700 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh) | |
6701 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
6702 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
6703 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
6704 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6705 | for I = 1, 25 do | |
6706 | swait() | |
6707 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
6708 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6709 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6710 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
6711 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6712 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
6713 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6714 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
6715 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6716 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
6717 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6718 | end | |
6719 | bW.Transparency = 0 | |
6720 | bX.Transparency = 0 | |
6721 | bY.Transparency = 0 | |
6722 | bZ.Transparency = 0 | |
6723 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6724 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6725 | c9 = (bV.Position - larm.Position).magnitude | |
6726 | ca = (bW.Position - bV.Position).magnitude | |
6727 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
6728 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
6729 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
6730 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6731 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6732 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6733 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6734 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
6735 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6736 | cz = Vector3.new(60, 70, 60) | |
6737 | cB = 3.5 | |
6738 | cD = 5 | |
6739 | cF = Vector3.new(0.16, 0.16, 0.16) | |
6740 | cC = 0.3 | |
6741 | cE = 0.3 | |
6742 | cy = 0.3 | |
6743 | cu = 0.3 | |
6744 | cw = 0.3 | |
6745 | cA = 0.3 | |
6746 | cG = 0.3 | |
6747 | coroutine.resume(coroutine.create(function() | |
6748 | while cc == true do | |
6749 | swait2() | |
6750 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
6751 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
6752 | c9 = (bV.Position - larm.Position).magnitude | |
6753 | ca = (bW.Position - bV.Position).magnitude | |
6754 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
6755 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
6756 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
6757 | c3.Scale = c3.Scale:lerp(cz, cA) | |
6758 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
6759 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
6760 | c6.Scale = c6.Scale:lerp(cF, cG) | |
6761 | end | |
6762 | end)) | |
6763 | for I = 1, 30 do | |
6764 | swait() | |
6765 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
6766 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
6767 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
6768 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
6769 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6770 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
6771 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6772 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
6773 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6774 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
6775 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6776 | end | |
6777 | dh:Destroy() | |
6778 | human.WalkSpeed = bf | |
6779 | hrp.Anchored = false | |
6780 | human.AutoRotate = true | |
6781 | g.Enabled = true | |
6782 | g32hand = true | |
6783 | activu = false | |
6784 | end | |
6785 | end | |
6786 | ||
6787 | busolelel = function() | |
6788 | if activu == true or selected == false then | |
6789 | return | |
6790 | end | |
6791 | if dagear == 3 then | |
6792 | if bR.Reflectance <= 0 then | |
6793 | selected = false | |
6794 | local dk = Instance.new("Sound") | |
6795 | dk.SoundId = "rbxassetid://315030459" | |
6796 | dk.Volume = 1.25 | |
6797 | dk.TimePosition = 0.22 | |
6798 | dk.Pitch = 1.03 | |
6799 | dk.Parent = tors | |
6800 | game.Debris:AddItem(dk, 3) | |
6801 | dk:Play() | |
6802 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
6803 | ck = Vector3.new(70, 80, 70) | |
6804 | cq = Vector3.new(0.19, 0.19, 0.19) | |
6805 | cz = Vector3.new(70, 80, 70) | |
6806 | cF = Vector3.new(0.19, 0.19, 0.19) | |
6807 | for I = 1, 20 do | |
6808 | swait() | |
6809 | bR.Reflectance = bR.Reflectance + 0.02 | |
6810 | bR.Color = bR.Color:lerp(dl, 0.15) | |
6811 | bU.Reflectance = bU.Reflectance + 0.02 | |
6812 | bU.Color = bU.Color:lerp(dl, 0.15) | |
6813 | if g32hand then | |
6814 | bW.Reflectance = bW.Reflectance + 0.02 | |
6815 | bW.Color = bW.Color:lerp(dl, 0.15) | |
6816 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
6817 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
6818 | end | |
6819 | end | |
6820 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
6821 | ck = Vector3.new(60, 70, 60) | |
6822 | cq = Vector3.new(0.16, 0.16, 0.16) | |
6823 | cz = Vector3.new(60, 70, 60) | |
6824 | cF = Vector3.new(0.16, 0.16, 0.16) | |
6825 | for I = 1, 20 do | |
6826 | swait() | |
6827 | bR.Reflectance = bR.Reflectance - 0.01 | |
6828 | bR.Color = bR.Color:lerp(dl, 0.15) | |
6829 | bU.Reflectance = bU.Reflectance - 0.01 | |
6830 | bU.Color = bU.Color:lerp(dl, 0.15) | |
6831 | if g32hand then | |
6832 | bW.Reflectance = bW.Reflectance - 0.01 | |
6833 | bW.Color = bW.Color:lerp(dl, 0.15) | |
6834 | bZ.Reflectance = bW.Reflectance - 0.01 | |
6835 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
6836 | end | |
6837 | end | |
6838 | bR.Color = dl | |
6839 | bU.Color = dl | |
6840 | if g32hand then | |
6841 | bW.Color = dl | |
6842 | bZ.Color = dl | |
6843 | end | |
6844 | selected = true | |
6845 | else | |
6846 | do | |
6847 | selected = false | |
6848 | for I = 1, 20 do | |
6849 | swait() | |
6850 | bR.Reflectance = bR.Reflectance - 0.01 | |
6851 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
6852 | bU.Reflectance = bU.Reflectance - 0.01 | |
6853 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
6854 | if g32hand then | |
6855 | bW.Reflectance = bW.Reflectance - 0.01 | |
6856 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
6857 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
6858 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
6859 | end | |
6860 | end | |
6861 | bR.Color = rarm.Color | |
6862 | bU.Color = rarm.Color | |
6863 | bR.Reflectance = 0 | |
6864 | bU.Reflectance = 0 | |
6865 | if g32hand then | |
6866 | bW.Color = larm.Color | |
6867 | bZ.Color = larm.Color | |
6868 | bW.Reflectance = 0 | |
6869 | bZ.Reflectance = 0 | |
6870 | end | |
6871 | selected = true | |
6872 | end | |
6873 | end | |
6874 | end | |
6875 | end | |
6876 | ||
6877 | hito = function(dm, X, c, dn, dp, dq) | |
6878 | for I,dr in pairs(workspace:GetChildren()) do | |
6879 | 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 | |
6880 | local ds = dr:FindFirstChild("Humanoid") | |
6881 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
6882 | TakeDamage(ds, c) | |
6883 | ds:SetStateEnabled(16, true) | |
6884 | delay(dn, function() | |
6885 | ds:SetStateEnabled(16, true) | |
6886 | end) | |
6887 | local du = Instance.new("StringValue") | |
6888 | du.Name = "alabo" | |
6889 | du.Parent = dt | |
6890 | game.Debris:AddItem(du, dn) | |
6891 | local dv = Instance.new("Part") | |
6892 | nooutline(dv) | |
6893 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
6894 | dv.Transparency = 0.25 | |
6895 | dv.Anchored = true | |
6896 | dv.CanCollide = false | |
6897 | dv.BrickColor = BrickColor.new("New Yeller") | |
6898 | dv.Material = "Neon" | |
6899 | dv.Locked = true | |
6900 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
6901 | dv.Parent = modz | |
6902 | local dw = Instance.new("SpecialMesh") | |
6903 | dw.MeshType = "Sphere" | |
6904 | dw.Scale = Vector3.new(0.5, 0.5, 0.5) | |
6905 | dw.Parent = dv | |
6906 | game.Debris:AddItem(dv, 1) | |
6907 | local dx = Instance.new("Model") | |
6908 | dx.Name = c | |
6909 | dx.Parent = workspace | |
6910 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
6911 | local dy = Instance.new("Humanoid") | |
6912 | dy.MaxHealth = 0 | |
6913 | dy.Parent = dx | |
6914 | local dz = Instance.new("Part") | |
6915 | dz.Name = "Head" | |
6916 | dz.Locked = true | |
6917 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
6918 | dz.Position = dt.Position | |
6919 | dz.BrickColor = BrickColor.new("New Yeller") | |
6920 | dz.Material = "Neon" | |
6921 | dz.Transparency = 1 | |
6922 | dz.CanCollide = false | |
6923 | dz.Parent = dx | |
6924 | local dA = Instance.new("BodyPosition") | |
6925 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
6926 | dA.P = 20000 | |
6927 | dA.D = 300 | |
6928 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
6929 | dA.Parent = dz | |
6930 | local dB = Instance.new("CylinderMesh") | |
6931 | dB.Parent = dz | |
6932 | coroutine.resume(coroutine.create(function() | |
6933 | while dB do | |
6934 | swait() | |
6935 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
6936 | end | |
6937 | end)) | |
6938 | if dp then | |
6939 | local dC = Instance.new("BodyVelocity") | |
6940 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
6941 | dC.P = 9999999999 | |
6942 | dC.Velocity = dp | |
6943 | dC.Parent = dt | |
6944 | game.Debris:AddItem(dC, dn) | |
6945 | end | |
6946 | if dq then | |
6947 | local dD = Instance.new("BodyAngularVelocity") | |
6948 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
6949 | dD.P = math.huge | |
6950 | dD.AngularVelocity = dq | |
6951 | dD.Parent = dt | |
6952 | game.Debris:AddItem(dD, dn) | |
6953 | end | |
6954 | local dE = Instance.new("Sound") | |
6955 | dE.Pitch = rd2(10, 11) / 10 | |
6956 | dE.Volume = rd2(10, 13) / 10 | |
6957 | dE.EmitterSize = 10 | |
6958 | dE.SoundId = "rbxassetid://" | |
6959 | dE.Parent = dv | |
6960 | dE:Play() | |
6961 | coroutine.resume(coroutine.create(function() | |
6962 | for I = 1, 5 do | |
6963 | swait() | |
6964 | dv.Transparency = dv.Transparency + 0.175 | |
6965 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
6966 | end | |
6967 | end)) | |
6968 | end | |
6969 | end | |
6970 | end | |
6971 | ||
6972 | animo = function(dF) | |
6973 | if anim then | |
6974 | if dF == true then | |
6975 | anim.Parent = human | |
6976 | chr.Animate.Disabled = false | |
6977 | elseif dF == false then | |
6978 | chr.Animate.Disabled = true | |
6979 | anim.Parent = nil | |
6980 | end | |
6981 | end | |
6982 | end | |
6983 | ||
6984 | local dG = function(dH, dv, dw, aO, dI, i) | |
6985 | if dH == 0 then | |
6986 | return dv | |
6987 | end | |
6988 | dH = dH / aO | |
6989 | if dH == 1 then | |
6990 | return dv + dw | |
6991 | end | |
6992 | if not i then | |
6993 | i = aO * 0.3 | |
6994 | end | |
6995 | local h = nil | |
6996 | if not dI or dI < math.abs(dw) then | |
6997 | dI = dw | |
6998 | h = i / 4 | |
6999 | else | |
7000 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
7001 | end | |
7002 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
7003 | end | |
7004 | ||
7005 | local dJ = false | |
7006 | updateguimode = function() | |
7007 | local dK = function(dL, dM, dH) | |
7008 | return (1 - dH) * dL + dH * dM | |
7009 | end | |
7010 | ||
7011 | local dN, dO = nil, nil | |
7012 | if dagear == 1 then | |
7013 | dN = "Machine" | |
7014 | elseif dagear == 2 then | |
7015 | dN = "Jet" | |
7016 | elseif dagear == 3 then | |
7017 | dN = "Gigant" | |
7018 | end | |
7019 | if rubbermodo == 0 then | |
7020 | dO = "Gun Blows" | |
7021 | elseif rubbermodo == 1 then | |
7022 | dO = " " | |
7023 | elseif rubbermodo == 2 then | |
7024 | dO = " " | |
7025 | elseif rubbermodo == 3 then | |
7026 | dO = " " | |
7027 | end | |
7028 | g.Main.Base.Mode.Text = " " .. dN .. " " .. dO | |
7029 | if dJ == false then | |
7030 | dJ = true | |
7031 | elseif dJ == true then | |
7032 | dJ = false | |
7033 | swait() | |
7034 | dJ = true | |
7035 | end | |
7036 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do | |
7037 | if not dJ then | |
7038 | break | |
7039 | end | |
7040 | game:GetService("RunService").RenderStepped:wait() | |
7041 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
7042 | end | |
7043 | end | |
7044 | --[[ | |
7045 | mouse.KeyDown:connect(function(dP) | |
7046 | if dP == "q" and activu == false then | |
7047 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
7048 | rubbermodo = 0 | |
7049 | else | |
7050 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
7051 | rubbermodo = 1 | |
7052 | else | |
7053 | if rubbermodo == 0 then | |
7054 | rubbermodo = 1 | |
7055 | else | |
7056 | if rubbermodo == 1 then | |
7057 | rubbermodo = 2 | |
7058 | else | |
7059 | if rubbermodo == 2 then | |
7060 | rubbermodo = 3 | |
7061 | else | |
7062 | rubbermodo = 0 | |
7063 | end | |
7064 | end | |
7065 | end | |
7066 | end | |
7067 | end | |
7068 | updateguimode() | |
7069 | else | |
7070 | if dP == "e" and activu == false then | |
7071 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
7072 | rubbermodo = 0 | |
7073 | else | |
7074 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
7075 | rubbermodo = 1 | |
7076 | else | |
7077 | if dagear == 1 then | |
7078 | if rubbermodo == 1 then | |
7079 | rubbermodo = 0 | |
7080 | else | |
7081 | if rubbermodo == 2 then | |
7082 | rubbermodo = 1 | |
7083 | else | |
7084 | if rubbermodo == 3 then | |
7085 | rubbermodo = 2 | |
7086 | else | |
7087 | if rubbermodo <= 0 then | |
7088 | rubbermodo = 3 | |
7089 | end | |
7090 | end | |
7091 | end | |
7092 | end | |
7093 | else | |
7094 | if rubbermodo == 1 then | |
7095 | rubbermodo = 0 | |
7096 | else | |
7097 | rubbermodo = 1 | |
7098 | end | |
7099 | end | |
7100 | end | |
7101 | end | |
7102 | updateguimode() | |
7103 | else | |
7104 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
7105 | gear2change() | |
7106 | rubbermodo = 0 | |
7107 | updateguimode() | |
7108 | else | |
7109 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
7110 | gear3change() | |
7111 | rubbermodo = 0 | |
7112 | updateguimode() | |
7113 | else | |
7114 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
7115 | g3twohand() | |
7116 | rubbermodo = 2 | |
7117 | updateguimode() | |
7118 | else | |
7119 | if dP == "b" and plr.UserId == 8488617 then | |
7120 | busolelel() | |
7121 | end | |
7122 | end | |
7123 | end | |
7124 | end | |
7125 | end | |
7126 | end | |
7127 | end) | |
7128 | ]] | |
7129 | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) | |
7130 | if dP == "q" and activu == false then -- Does nothing? | |
7131 | if dagear == 4 and rubbermodo > 0 then | |
7132 | rubbermodo = 1 | |
7133 | end | |
7134 | updateguimode() | |
7135 | end | |
7136 | if dP == "=" and activu == false then | |
7137 | gear2change() | |
7138 | rubbermodo = 0 | |
7139 | updateguimode() | |
7140 | end | |
7141 | if dP == "=" and activu == false and dagear == 3 then | |
7142 | g3twohand() | |
7143 | rubbermodo = 2 | |
7144 | updateguimode() | |
7145 | end | |
7146 | if dP == "=" and activu == false then | |
7147 | gear3change() | |
7148 | rubbermodo = 0 | |
7149 | updateguimode() | |
7150 | end | |
7151 | if dP == "=" and plr.UserId == 8488617 then | |
7152 | busolelel() | |
7153 | end | |
7154 | end) | |
7155 | tool.Activated:connect(function() | |
7156 | if human.Health <= 0 then | |
7157 | return | |
7158 | end | |
7159 | if dagear == 1 then | |
7160 | if rubbermodo == 0 then | |
7161 | gatling() | |
7162 | elseif rubbermodo == 1 then | |
7163 | gatling2() | |
7164 | elseif rubbermodo == 2 then | |
7165 | bazooka() | |
7166 | elseif rubbermodo == 3 then | |
7167 | rocket() | |
7168 | end | |
7169 | elseif dagear == 2 then | |
7170 | if rubbermodo == 0 then | |
7171 | jetpunch() | |
7172 | elseif rubbermodo == 1 then | |
7173 | jetgat() | |
7174 | elseif rubbermodo == 2 then | |
7175 | jetbazoo() | |
7176 | end | |
7177 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
7178 | giganpist() | |
7179 | end | |
7180 | if dagear == 3 and g32hand then | |
7181 | if rubbermodo == 2 then | |
7182 | giganbazooka() | |
7183 | elseif rubbermodo == 1 then | |
7184 | gigangatl() | |
7185 | end | |
7186 | end | |
7187 | end) | |
7188 | tool.Equipped:connect(function() | |
7189 | selected = true | |
7190 | end) | |
7191 | tool.Unequipped:connect(function() | |
7192 | selected = false | |
7193 | end) | |
7194 | human.Died:connect(function() | |
7195 | if cam.CameraType == "Scriptable" then | |
7196 | cam.CameraType = "Custom" | |
7197 | end | |
7198 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
7199 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
7200 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
7201 | ck = Vector3.new(0, 0, 0) | |
7202 | cm = 0 | |
7203 | co = 0 | |
7204 | cq = Vector3.new(0, 0, 0) | |
7205 | end) | |
7206 | animpose = "Idle" | |
7207 | sine = 0 | |
7208 | charge = 1 | |
7209 | cos = math.cos | |
7210 | run() | |
7211 | game:GetService("RunService").RenderStepped:connect(function() | |
7212 | sine = sine + charge | |
7213 | if sine >= 100000000 then | |
7214 | sine = 0 | |
7215 | end | |
7216 | if sine % 60 == 0 then | |
7217 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
7218 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
7219 | end | |
7220 | --[[repeat | |
7221 | repeat | |
7222 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
7223 | if g3lim <= 0 then | |
7224 | game:GetService("RunService").RenderStepped:wait() | |
7225 | end | |
7226 | end | |
7227 | until activu == false | |
7228 | until selected == true | |
7229 | gear3change() | |
7230 | rubbermodo = 0 | |
7231 | updateguimode() | |
7232 | if g32hand then | |
7233 | g3lim = g3lim - 2 | |
7234 | else | |
7235 | if not g32hand then | |
7236 | g3lim = g3lim - 1 | |
7237 | end | |
7238 | end | |
7239 | repeat | |
7240 | repeat | |
7241 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
7242 | if g2lim <= 0 then | |
7243 | game:GetService("RunService").RenderStepped:wait() | |
7244 | end | |
7245 | end | |
7246 | until activu == false | |
7247 | until selected == true | |
7248 | gear2change() | |
7249 | rubbermodo = 0 | |
7250 | updateguimode() | |
7251 | g2lim = g2lim - 1 | |
7252 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
7253 | if g2lim < 59 then | |
7254 | g2lim = g2lim + 1 | |
7255 | end | |
7256 | if g3lim < 59 then | |
7257 | g3lim = g3lim + 1 | |
7258 | end | |
7259 | end]] | |
7260 | if dagear == 3 and activu == false then | |
7261 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
7262 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false) | |
7263 | local dS = human:GetState() | |
7264 | if dS.Value == 13 then | |
7265 | animpose = "Sitting" | |
7266 | else | |
7267 | if hrp.Velocity.y > 1 and dR == nil then | |
7268 | animpose = "Jumping" | |
7269 | else | |
7270 | if hrp.Velocity.y < -1 and dR == nil then | |
7271 | animpose = "Falling" | |
7272 | else | |
7273 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
7274 | animpose = "Idle" | |
7275 | else | |
7276 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
7277 | animpose = "Walking" | |
7278 | else | |
7279 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
7280 | animpose = "TooFast" | |
7281 | end | |
7282 | end | |
7283 | end | |
7284 | end | |
7285 | end | |
7286 | end | |
7287 | if animpose == "Idle" then | |
7288 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
7289 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
7290 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
7291 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7292 | if g32hand then | |
7293 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
7294 | else | |
7295 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
7296 | end | |
7297 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7298 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
7299 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7300 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
7301 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7302 | end | |
7303 | if animpose == "Walking" then | |
7304 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
7305 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
7306 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
7307 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7308 | if g32hand then | |
7309 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
7310 | else | |
7311 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
7312 | end | |
7313 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7314 | 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) | |
7315 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7316 | 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) | |
7317 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7318 | end | |
7319 | end | |
7320 | end) | |
7321 | dispose = function() | |
7322 | for j,dT in pairs(getfenv(0)) do | |
7323 | dT = nil | |
7324 | end | |
7325 | error = nil | |
7326 | print = nil | |
7327 | warn = nil | |
7328 | script:Destroy() | |
7329 | script = nil | |
7330 | end | |
7331 | ||
7332 | human.Died:connect(dispose) | |
7333 | chr.Changed:connect(function() | |
7334 | if chr.Parent == nil then | |
7335 | dispose() | |
7336 | end | |
7337 | end) | |
7338 | ||
7339 | ||
7340 | ||
7341 | mouse.KeyDown:connect(function(k) | |
7342 | if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
7343 | jump() | |
7344 | end | |
7345 | if k == "x" and attack == false then | |
7346 | dash() | |
7347 | end | |
7348 | if k == "m" and attack == false then | |
7349 | InfernoComet() | |
7350 | end | |
7351 | if k == "n" and attack == false then | |
7352 | InfernoWrath() | |
7353 | end | |
7354 | if k == "t" and attack == false then | |
7355 | dashh() | |
7356 | end | |
7357 | if k == "k" and attack == false then | |
7358 | jetbazoo() | |
7359 | end | |
7360 | if k == "r" and attack == false then | |
7361 | - | chatfunc("Sensei!") |
7361 | + | |
7362 | end | |
7363 | if k == "p" and attack == false then | |
7364 | asd:Stop() | |
7365 | end | |
7366 | if k == "g" and attack == false then | |
7367 | chatfunc("Master!") | |
7368 | end | |
7369 | if k == "1" and attack == false then | |
7370 | chatfunc("Weak!") | |
7371 | end | |
7372 | if k == "2" and attack == false then | |
7373 | chatfunc("That's what you consider strong?!") | |
7374 | end | |
7375 | if k == "3" and attack == false then | |
7376 | chatfunc("Useless!") | |
7377 | end | |
7378 | if k == "4" and attack == false then | |
7379 | chatfunc("What?!") | |
7380 | end | |
7381 | if k == "5" and attack == false then | |
7382 | chatfunc("Hmph.") | |
7383 | end | |
7384 | if k == "6" and attack == false then | |
7385 | chatfunc("Trash!") | |
7386 | end | |
7387 | if k == "7" and attack == false then | |
7388 | chatfunc("You're Nothing!") | |
7389 | end | |
7390 | if k == "h" and attack == false then | |
7391 | chatfunc("Die!") | |
7392 | end | |
7393 | if k == "," and attack == false then | |
7394 | char.Head.face.Texture = "rbxassetid://126198982" | |
7395 | chatfunc("I'll crush you!") | |
7396 | end | |
7397 | if k == ";" and attack == false then | |
7398 | chatfunc("Idiot!") | |
7399 | end | |
7400 | if k == "=" and attack == false then | |
7401 | chatfunc("I'll crush that Half-n-Half bastard..") | |
7402 | end | |
7403 | if k == "=" and attack == false then | |
7404 | chatfunc("Remember who you are.. YOU'RE BENEATH ME!") | |
7405 | end | |
7406 | if k == "f" and attack == false then | |
7407 | daash() | |
7408 | end | |
7409 | if k == "u" and attack == false then | |
7410 | asd:Play() | |
7411 | end | |
7412 | if k == "e" and attack == false then | |
7413 | punch() | |
7414 | end | |
7415 | if k == "=" and attack == false then | |
7416 | punch3() | |
7417 | end | |
7418 | ||
7419 | if k == "q" and attack == false then | |
7420 | punch2() | |
7421 | end | |
7422 | if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
7423 | boom() | |
7424 | end | |
7425 | if k == "v" and attack == false then | |
7426 | shooty() | |
7427 | end | |
7428 | if k == "l" and attack == false then | |
7429 | if Serious == true then | |
7430 | punchd() | |
7431 | end | |
7432 | end | |
7433 | if k == "b" and attack == false then | |
7434 | superpunch() | |
7435 | end | |
7436 | end) | |
7437 | mouse.KeyDown:connect(function(key) | |
7438 | if key=="8" then | |
7439 | Serious() | |
7440 | end | |
7441 | end) | |
7442 | Health = math.huge --------- Serious mode aura. | |
7443 | BaseHealth = math.huge | |
7444 | ||
7445 | ||
7446 | ||
7447 | ||
7448 | InForm = false | |
7449 | ||
7450 | Player = game.Players.LocalPlayer | |
7451 | Char = Player.Character | |
7452 | Torso = Char.Torso | |
7453 | ||
7454 | function Serious() | |
7455 | for X = 1, 1 do wait() | |
7456 | asd:Destroy() | |
7457 | asd2 = Instance.new("Sound",char) | |
7458 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
7459 | asd2.Volume = 3 | |
7460 | asd2.Looped = false | |
7461 | asd2:Play() | |
7462 | chatfunc("Full power!") | |
7463 | local pie22 = Instance.new("ParticleEmitter") | |
7464 | pie22.Parent = tors | |
7465 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7466 | pie22.LightEmission = 1 | |
7467 | pie22.Size = NumberSequence.new(50) | |
7468 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7469 | pie22.Transparency = NumberSequence.new(0) | |
7470 | pie22.EmissionDirection = "Top" | |
7471 | pie22.Enabled = true | |
7472 | pie22.Lifetime = NumberRange.new(10) | |
7473 | pie22.Rotation = NumberRange.new(-420, 425) | |
7474 | pie22.Rate = 400 | |
7475 | pie22.Speed = NumberRange.new(100) | |
7476 | pie22.LockedToPart = false | |
7477 | pie22.VelocitySpread = 2 | |
7478 | lig = Instance.new("PointLight",player.Character.Torso) | |
7479 | lig.Color=Color3.new(255,255,0) | |
7480 | lig.Range = 6 | |
7481 | rubbermodo = 1 | |
7482 | hum.JumpPower = 270 | |
7483 | lig = Instance.new("PointLight",player.Character.Torso) | |
7484 | lig.Color=Color3.new(255,255,0) | |
7485 | lig.Range = 6 | |
7486 | Crater(head,30) | |
7487 | ||
7488 | wait(0) | |
7489 | for X = 1, 1 do wait() | |
7490 | local Effect = Instance.new("Part") | |
7491 | Effect.Name = "Effect" | |
7492 | Effect.Parent = Torso | |
7493 | Effect.CFrame = Torso.CFrame | |
7494 | Effect.BrickColor = BrickColor.new("Neon orange") | |
7495 | Effect.Shape = "Ball" | |
7496 | Effect.Size = Vector3.new(1, 1, 1) | |
7497 | Effect.Anchored = true | |
7498 | Effect.Material = "Neon" | |
7499 | Effect.CanCollide = false | |
7500 | Effect.CFrame = Torso.CFrame | |
7501 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
7502 | Effect.Transparency = Effect.Transparency + 0.04 | |
7503 | pie22:Destroy() | |
7504 | end | |
7505 | end | |
7506 | ||
7507 | repeat | |
7508 | Torso:FindFirstChild("Effect"):Remove() | |
7509 | until Torso:FindFirstChild("Effect") == nil | |
7510 | ||
7511 | ||
7512 | local Color1 = Color3.new(255, 255, 0) | |
7513 | local Color2 = Color3.new(255, 255, 0) | |
7514 | chatfunc("Full Power!") | |
7515 | Instance.new("ForceField",char).Visible = false | |
7516 | hum.Name = "youdungoofed" | |
7517 | ||
7518 | asd1 = Instance.new("Sound",char) | |
7519 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
7520 | asd1.Volume = 1 | |
7521 | asd1.Looped = true | |
7522 | asd1:Play() | |
7523 | ||
7524 | local pie22 = Instance.new("ParticleEmitter") | |
7525 | pie22.Parent = larm | |
7526 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7527 | pie22.LightEmission = 1 | |
7528 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
7529 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7530 | pie22.Transparency = NumberSequence.new(0.7) | |
7531 | pie22.EmissionDirection = "Top" | |
7532 | pie22.Enabled = true | |
7533 | pie22.Lifetime = NumberRange.new(1) | |
7534 | pie22.Rotation = NumberRange.new(-420, 425) | |
7535 | pie22.Rate = 400 | |
7536 | pie22.Speed = NumberRange.new(1) | |
7537 | pie22.LockedToPart = false | |
7538 | pie22.VelocitySpread = 2 | |
7539 | local pie222 = Instance.new("ParticleEmitter") | |
7540 | pie222.Parent = rarm | |
7541 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7542 | pie222.LightEmission = 1 | |
7543 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7544 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7545 | pie222.Transparency = NumberSequence.new(0.7) | |
7546 | pie222.EmissionDirection = "Top" | |
7547 | pie222.Enabled = true | |
7548 | pie222.Lifetime = NumberRange.new(1) | |
7549 | pie222.Rotation = NumberRange.new(-420, 425) | |
7550 | pie222.Rate = 400 | |
7551 | pie222.Speed = NumberRange.new(1) | |
7552 | pie222.LockedToPart = false | |
7553 | pie222.VelocitySpread = 2 | |
7554 | local pie2222 = Instance.new("ParticleEmitter") | |
7555 | pie2222.Parent = lleg | |
7556 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7557 | pie2222.LightEmission = 1 | |
7558 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7559 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7560 | pie2222.Transparency = NumberSequence.new(0.7) | |
7561 | pie2222.EmissionDirection = "Top" | |
7562 | pie2222.Enabled = true | |
7563 | pie2222.Lifetime = NumberRange.new(1) | |
7564 | pie2222.Rotation = NumberRange.new(-420, 425) | |
7565 | pie2222.Rate = 400 | |
7566 | pie2222.Speed = NumberRange.new(1) | |
7567 | pie2222.LockedToPart = false | |
7568 | pie2222.VelocitySpread = 2 | |
7569 | local pie22222 = Instance.new("ParticleEmitter") | |
7570 | pie22222.Parent = rleg | |
7571 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7572 | pie22222.LightEmission = 1 | |
7573 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7574 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7575 | pie22222.Transparency = NumberSequence.new(0.7) | |
7576 | pie22222.EmissionDirection = "Top" | |
7577 | pie22222.Enabled = true | |
7578 | pie22222.Lifetime = NumberRange.new(1) | |
7579 | pie22222.Rotation = NumberRange.new(-420, 425) | |
7580 | pie22222.Rate = 400 | |
7581 | pie22222.Speed = NumberRange.new(1) | |
7582 | pie22222.LockedToPart = false | |
7583 | pie22222.VelocitySpread = 2 | |
7584 | local pie2242 = Instance.new("ParticleEmitter") | |
7585 | pie2242.Parent = tors | |
7586 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7587 | pie2242.LightEmission = 1 | |
7588 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
7589 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7590 | pie2242.Transparency = NumberSequence.new(0.7) | |
7591 | pie2242.EmissionDirection = "Top" | |
7592 | pie2242.Enabled = true | |
7593 | pie2242.Lifetime = NumberRange.new(1) | |
7594 | pie2242.Rotation = NumberRange.new(-420, 425) | |
7595 | pie2242.Rate = 400 | |
7596 | pie2242.Speed = NumberRange.new(1) | |
7597 | pie2242.LockedToPart = false | |
7598 | pie2242.VelocitySpread = 2 | |
7599 | ||
7600 | InForm = true | |
7601 | ||
7602 | Char.Humanoid.MaxHealth = Health | |
7603 | wait(0.3) | |
7604 | Char.Humanoid.Health = Health | |
7605 | rock = true | |
7606 | ||
7607 | end | |
7608 | ||
7609 | function Base() | |
7610 | InForm = false | |
7611 | local Effect = Instance.new("Part") | |
7612 | Effect.Name = "Effect" | |
7613 | Effect.Parent = Torso | |
7614 | Effect.CFrame = Torso.CFrame | |
7615 | Effect.BrickColor = BrickColor.new("White") | |
7616 | Effect.Shape = "Ball" | |
7617 | Effect.Size = Vector3.new(8, 8, 8) | |
7618 | Effect.Anchored = true | |
7619 | Effect.Material = "Neon" | |
7620 | Effect.CanCollide = false | |
7621 | for loop = 1, 25 do wait() | |
7622 | Effect.CFrame = Torso.CFrame | |
7623 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
7624 | Effect.Transparency = Effect.Transparency + 0.04 | |
7625 | ||
7626 | end | |
7627 | repeat | |
7628 | Torso:FindFirstChild("Effect"):Remove() | |
7629 | until Torso:FindFirstChild("Effect") == nil | |
7630 | ||
7631 | for i, v in pairs(Torso:GetChildren()) do | |
7632 | if v:IsA('ParticleEmitter') then | |
7633 | v:Remove() | |
7634 | asd1:Destroy() | |
7635 | killbrick:Destroy() | |
7636 | end | |
7637 | end | |
7638 | char.Humanoid.MaxHealth = BaseHealth | |
7639 | wait(0.3) | |
7640 | char.Humanoid.Health = BaseHealth | |
7641 | ||
7642 | ||
7643 | end | |
7644 | ||
7645 | mouse.KeyDown:connect(function(key) | |
7646 | if key=="9" then | |
7647 | Base() | |
7648 | lig:Destroy() | |
7649 | rubbermodo = 0 | |
7650 | end | |
7651 | end) | |
7652 | ||
7653 | Player.Chatted:connect(function(Message) | |
7654 | if Message == "Time to get serious." and InForm == false then | |
7655 | wait(0.10) | |
7656 | Serious2() | |
7657 | end | |
7658 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
7659 | Base() | |
7660 | end | |
7661 | end) | |
7662 | ||
7663 | ||
7664 | mouse.KeyDown:connect(function(key) | |
7665 | if key=="." then | |
7666 | Serious2() | |
7667 | end | |
7668 | end) | |
7669 | Health = math.huge --------- Serious mode aura. | |
7670 | BaseHealth = math.huge | |
7671 | ||
7672 | ||
7673 | ||
7674 | ||
7675 | InForm = false | |
7676 | ||
7677 | Player = game.Players.LocalPlayer | |
7678 | Char = Player.Character | |
7679 | Torso = Char.Torso | |
7680 | ||
7681 | function Serious2() | |
7682 | for X = 1, 1 do wait() | |
7683 | asd:Destroy() | |
7684 | asd2 = Instance.new("Sound",char) | |
7685 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
7686 | asd2.Volume = 3 | |
7687 | asd2.Looped = false | |
7688 | asd2:Play() | |
7689 | chatfunc("Full power!") | |
7690 | local pie22 = Instance.new("ParticleEmitter") | |
7691 | pie22.Parent = tors | |
7692 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7693 | pie22.LightEmission = 1 | |
7694 | pie22.Size = NumberSequence.new(50) | |
7695 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7696 | pie22.Transparency = NumberSequence.new(0) | |
7697 | pie22.EmissionDirection = "Top" | |
7698 | pie22.Enabled = true | |
7699 | pie22.Lifetime = NumberRange.new(10) | |
7700 | pie22.Rotation = NumberRange.new(-420, 425) | |
7701 | pie22.Rate = 400 | |
7702 | pie22.Speed = NumberRange.new(100) | |
7703 | pie22.LockedToPart = false | |
7704 | pie22.VelocitySpread = 2 | |
7705 | wait(1) | |
7706 | pie22.Size = NumberSequence.new(70) | |
7707 | wait(1) | |
7708 | pie22.Size = NumberSequence.new(140) | |
7709 | lig = Instance.new("PointLight",player.Character.Torso) | |
7710 | lig.Color=Color3.new(255,255,0) | |
7711 | lig.Range = 6 | |
7712 | rubbermodo = 1 | |
7713 | hum.JumpPower = 270 | |
7714 | lig = Instance.new("PointLight",player.Character.Torso) | |
7715 | lig.Color=Color3.new(255,255,0) | |
7716 | lig.Range = 6 | |
7717 | Crater(head,30) | |
7718 | ||
7719 | wait(0) | |
7720 | for X = 1, 1 do wait() | |
7721 | local Effect = Instance.new("Part") | |
7722 | Effect.Name = "Effect" | |
7723 | Effect.Parent = Torso | |
7724 | Effect.CFrame = Torso.CFrame | |
7725 | Effect.BrickColor = BrickColor.new("Neon orange") | |
7726 | Effect.Shape = "Ball" | |
7727 | Effect.Size = Vector3.new(1, 1, 1) | |
7728 | Effect.Anchored = true | |
7729 | Effect.Material = "Neon" | |
7730 | Effect.CanCollide = false | |
7731 | Effect.CFrame = Torso.CFrame | |
7732 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
7733 | Effect.Transparency = Effect.Transparency + 0.04 | |
7734 | pie22:Destroy() | |
7735 | end | |
7736 | end | |
7737 | ||
7738 | repeat | |
7739 | Torso:FindFirstChild("Effect"):Remove() | |
7740 | until Torso:FindFirstChild("Effect") == nil | |
7741 | ||
7742 | ||
7743 | local Color1 = Color3.new(255, 255, 0) | |
7744 | local Color2 = Color3.new(255, 255, 0) | |
7745 | chatfunc("Full Power!") | |
7746 | Instance.new("ForceField",char).Visible = false | |
7747 | hum.Name = "youdungoofed" | |
7748 | ||
7749 | asd1 = Instance.new("Sound",char) | |
7750 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
7751 | asd1.Volume = 1 | |
7752 | asd1.Looped = true | |
7753 | asd1:Play() | |
7754 | ||
7755 | local pie22 = Instance.new("ParticleEmitter") | |
7756 | pie22.Parent = larm | |
7757 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7758 | pie22.LightEmission = 1 | |
7759 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
7760 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7761 | pie22.Transparency = NumberSequence.new(0.7) | |
7762 | pie22.EmissionDirection = "Top" | |
7763 | pie22.Enabled = true | |
7764 | pie22.Lifetime = NumberRange.new(1) | |
7765 | pie22.Rotation = NumberRange.new(-420, 425) | |
7766 | pie22.Rate = 400 | |
7767 | pie22.Speed = NumberRange.new(1) | |
7768 | pie22.LockedToPart = false | |
7769 | pie22.VelocitySpread = 2 | |
7770 | local pie222 = Instance.new("ParticleEmitter") | |
7771 | pie222.Parent = rarm | |
7772 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7773 | pie222.LightEmission = 1 | |
7774 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7775 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7776 | pie222.Transparency = NumberSequence.new(0.7) | |
7777 | pie222.EmissionDirection = "Top" | |
7778 | pie222.Enabled = true | |
7779 | pie222.Lifetime = NumberRange.new(1) | |
7780 | pie222.Rotation = NumberRange.new(-420, 425) | |
7781 | pie222.Rate = 400 | |
7782 | pie222.Speed = NumberRange.new(1) | |
7783 | pie222.LockedToPart = false | |
7784 | pie222.VelocitySpread = 2 | |
7785 | local pie2222 = Instance.new("ParticleEmitter") | |
7786 | pie2222.Parent = lleg | |
7787 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7788 | pie2222.LightEmission = 1 | |
7789 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7790 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7791 | pie2222.Transparency = NumberSequence.new(0.7) | |
7792 | pie2222.EmissionDirection = "Top" | |
7793 | pie2222.Enabled = true | |
7794 | pie2222.Lifetime = NumberRange.new(1) | |
7795 | pie2222.Rotation = NumberRange.new(-420, 425) | |
7796 | pie2222.Rate = 400 | |
7797 | pie2222.Speed = NumberRange.new(1) | |
7798 | pie2222.LockedToPart = false | |
7799 | pie2222.VelocitySpread = 2 | |
7800 | local pie22222 = Instance.new("ParticleEmitter") | |
7801 | pie22222.Parent = rleg | |
7802 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7803 | pie22222.LightEmission = 1 | |
7804 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7805 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7806 | pie22222.Transparency = NumberSequence.new(0.7) | |
7807 | pie22222.EmissionDirection = "Top" | |
7808 | pie22222.Enabled = true | |
7809 | pie22222.Lifetime = NumberRange.new(1) | |
7810 | pie22222.Rotation = NumberRange.new(-420, 425) | |
7811 | pie22222.Rate = 400 | |
7812 | pie22222.Speed = NumberRange.new(1) | |
7813 | pie22222.LockedToPart = false | |
7814 | pie22222.VelocitySpread = 2 | |
7815 | local pie2242 = Instance.new("ParticleEmitter") | |
7816 | pie2242.Parent = tors | |
7817 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7818 | pie2242.LightEmission = 1 | |
7819 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
7820 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7821 | pie2242.Transparency = NumberSequence.new(0.7) | |
7822 | pie2242.EmissionDirection = "Top" | |
7823 | pie2242.Enabled = true | |
7824 | pie2242.Lifetime = NumberRange.new(1) | |
7825 | pie2242.Rotation = NumberRange.new(-420, 425) | |
7826 | pie2242.Rate = 400 | |
7827 | pie2242.Speed = NumberRange.new(1) | |
7828 | pie2242.LockedToPart = false | |
7829 | pie2242.VelocitySpread = 2 | |
7830 | ||
7831 | InForm = true | |
7832 | ||
7833 | Char.Humanoid.MaxHealth = Health | |
7834 | wait(0.3) | |
7835 | Char.Humanoid.Health = Health | |
7836 | rock = true | |
7837 | ||
7838 | end | |
7839 | ||
7840 | function Base() | |
7841 | InForm = false | |
7842 | local Effect = Instance.new("Part") | |
7843 | Effect.Name = "Effect" | |
7844 | Effect.Parent = Torso | |
7845 | Effect.CFrame = Torso.CFrame | |
7846 | Effect.BrickColor = BrickColor.new("White") | |
7847 | Effect.Shape = "Ball" | |
7848 | Effect.Size = Vector3.new(8, 8, 8) | |
7849 | Effect.Anchored = true | |
7850 | Effect.Material = "Neon" | |
7851 | Effect.CanCollide = false | |
7852 | for loop = 1, 25 do wait() | |
7853 | Effect.CFrame = Torso.CFrame | |
7854 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
7855 | Effect.Transparency = Effect.Transparency + 0.04 | |
7856 | ||
7857 | end | |
7858 | repeat | |
7859 | Torso:FindFirstChild("Effect"):Remove() | |
7860 | until Torso:FindFirstChild("Effect") == nil | |
7861 | ||
7862 | for i, v in pairs(Torso:GetChildren()) do | |
7863 | if v:IsA('ParticleEmitter') then | |
7864 | v:Remove() | |
7865 | asd1:Destroy() | |
7866 | killbrick:Destroy() | |
7867 | end | |
7868 | end | |
7869 | char.Humanoid.MaxHealth = BaseHealth | |
7870 | wait(0.3) | |
7871 | char.Humanoid.Health = BaseHealth | |
7872 | ||
7873 | ||
7874 | end | |
7875 | ||
7876 | mouse.KeyDown:connect(function(key) | |
7877 | if key=="9" then | |
7878 | Base() | |
7879 | lig:Destroy() | |
7880 | rubbermodo = 0 | |
7881 | end | |
7882 | end) | |
7883 | ||
7884 | Player.Chatted:connect(function(Message) | |
7885 | if Message == "Time to get serious." and InForm == false then | |
7886 | wait(0.10) | |
7887 | Serious2() | |
7888 | end | |
7889 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
7890 | Base() | |
7891 | end | |
7892 | end) | |
7893 | ||
7894 | ||
7895 | local plr = game.Players.LocalPlayer | |
7896 | local char = game.Workspace:WaitForChild(plr.Name) | |
7897 | local m = plr:GetMouse() | |
7898 | local trans = false | |
7899 | local realdeb = false | |
7900 | local PGui = plr:WaitForChild("PlayerGui") | |
7901 | local chat = game:GetService"Chat" | |
7902 | local Head = char:WaitForChild"Head" | |
7903 | local Torso = char:WaitForChild"Torso" | |
7904 | local HRP = char:WaitForChild"HumanoidRootPart" | |
7905 | local RArm = char:WaitForChild"Right Arm" | |
7906 | - | msgz.Text = "Full Power! Press , To transform!" |
7906 | + | |
7907 | local RLeg = char:WaitForChild"Right Leg" | |
7908 | local LLeg = char:WaitForChild"Left Leg" | |
7909 | local Hum = char:WaitForChild'Humanoid' | |
7910 | local lastspeed = Hum.WalkSpeed | |
7911 | msgz = Instance.new("Message", PGui) | |
7912 | msgz.Text = "To go Full Power, Press , To transform!" | |
7913 | game.Debris:AddItem(msgz, 6.5) | |
7914 | local part = Instance.new"Part" | |
7915 | part.Name = "TransformationPart" | |
7916 | part.FormFactor = "Custom" | |
7917 | part.Size = Vector3.new(1,1,1) | |
7918 | part.Material = "SmoothPlastic" | |
7919 | part.TopSurface = "Smooth" | |
7920 | part.BottomSurface = "Smooth" | |
7921 | part.Anchored = true | |
7922 | part.CanCollide = false | |
7923 | ||
7924 | local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]} | |
7925 | local Refresh = function() | |
7926 | Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7927 | Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7928 | Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7929 | Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7930 | Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7931 | Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7932 | Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7933 | Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7934 | Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7935 | Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7936 | Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7937 | Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7938 | end | |
7939 | ||
7940 | local Anims = {Scrunch = function(active) | |
7941 | if active then | |
7942 | for i = 0, 10, 0.5 do | |
7943 | wait(0.016666666666667) | |
7944 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
7945 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
7946 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01) | |
7947 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01) | |
7948 | end | |
7949 | else | |
7950 | do | |
7951 | for i = 0, 10, 0.5 do | |
7952 | wait(0.016666666666667) | |
7953 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
7954 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
7955 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01):inverse() | |
7956 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01):inverse() | |
7957 | end | |
7958 | Refresh() | |
7959 | end | |
7960 | end | |
7961 | end | |
7962 | , Implode = function(active) | |
7963 | if active then | |
7964 | for i = 0, 10, 0.75 do | |
7965 | wait(0.016666666666667) | |
7966 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155) | |
7967 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155) | |
7968 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015) | |
7969 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015) | |
7970 | end | |
7971 | else | |
7972 | do | |
7973 | for i = 0, 10, 0.75 do | |
7974 | wait(0.016666666666667) | |
7975 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155):inverse() | |
7976 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155):inverse() | |
7977 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse() | |
7978 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse() | |
7979 | end | |
7980 | end | |
7981 | end | |
7982 | end | |
7983 | } | |
7984 | ||
7985 | local transform = function() | |
7986 | if (trans == false and realdeb == false) then | |
7987 | trans = true | |
7988 | Hum.WalkSpeed = 0 | |
7989 | local area = part:Clone() | |
7990 | area.CFrame = Torso.CFrame | |
7991 | area.Parent = workspace | |
7992 | Torso.Anchored = true | |
7993 | for i=1,10 do | |
7994 | area.CFrame = area.CFrame * CFrame.new(0,1,0) | |
7995 | Torso.CFrame = area.CFrame | |
7996 | wait() | |
7997 | end | |
7998 | local weld2 = Instance.new("Weld", area) | |
7999 | weld2.Part0 = area | |
8000 | weld2.Part1 = Torso | |
8001 | weld2.C0 = CFrame.new() | |
8002 | Torso.Anchored = false | |
8003 | delay(0,function() | |
8004 | end) | |
8005 | delay(0,function() | |
8006 | chat:Chat(char["Head"],"How about i give it all i got?","Red") | |
8007 | end) | |
8008 | delay(0,function() | |
8009 | for i=1,5 do | |
8010 | wait() | |
8011 | delay(0,function() | |
8012 | local dzI = 100 | |
8013 | while dzI > 10 do | |
8014 | dzI = dzI - 1 | |
8015 | local p = Instance.new("Part", char.Head) | |
8016 | p.Anchored = false | |
8017 | p.Size = Vector3.new(math.random(1,4),math.random(1,4),math.random(1,4)) | |
8018 | p.Material = "Neon" | |
8019 | local kekz2 = math.random(1,2) | |
8020 | if kekz2 == 2 then | |
8021 | p.BrickColor = BrickColor.new("New Yeller") | |
8022 | else | |
8023 | p.BrickColor = BrickColor.new("Neon orange") | |
8024 | end | |
8025 | p.CFrame = char.Torso.CFrame*CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
8026 | local t = Instance.new("BodyPosition", p) | |
8027 | t.P = 20000 | |
8028 | t.Position = char.Torso.Position | |
8029 | game:service("Debris"):AddItem(p, 2.4) | |
8030 | wait() | |
8031 | delay(0,function() | |
8032 | for i=1,10 do | |
8033 | p.Transparency = i/10 | |
8034 | p.CFrame = p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20),0,math.random(-20,20)) | |
8035 | wait() | |
8036 | end | |
8037 | p:Remove() | |
8038 | end) | |
8039 | end | |
8040 | end) | |
8041 | end | |
8042 | end) | |
8043 | delay(0,function() | |
8044 | for q=1,120 do | |
8045 | local xz = Instance.new("Part",plr.Character) | |
8046 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
8047 | xz.Anchored = true | |
8048 | xz.Transparency = 1 | |
8049 | xz.CanCollide = false | |
8050 | wait(0.04) | |
8051 | local pos2 = xz.Position | |
8052 | local pos = plr.Character.Torso.Position | |
8053 | local radius = math.random(1,1.5) | |
8054 | local numParts = math.random(5,15) | |
8055 | local model = plr.Character.Torso | |
8056 | local lv = CFrame.new(pos,pos2).lookVector | |
8057 | local dist = (pos-pos2).magnitude | |
8058 | local dbp = dist/numParts | |
8059 | local last = pos | |
8060 | for i = 1,numParts do | |
8061 | local p = Instance.new("Part",model) | |
8062 | p.FormFactor = "Symmetric" | |
8063 | p.Size = Vector3.new(1,1,1) | |
8064 | p.CanCollide = false | |
8065 | p.Anchored = true | |
8066 | p.Material = "Neon" | |
8067 | local kekz2 = math.random(1,2) | |
8068 | if kekz2 == 2 then | |
8069 | p.BrickColor = BrickColor.new("New Yeller") | |
8070 | else | |
8071 | p.BrickColor = BrickColor.new("Neon orange") | |
8072 | end | |
8073 | p.Transparency = 0.5 | |
8074 | local x = math.random(-2,2)/2*dbp/4 | |
8075 | local y = math.random(-2,2)/2*dbp/4 | |
8076 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
8077 | local dist2 = (p2.p-last).magnitude | |
8078 | local mid = (p2.p+last)/2 | |
8079 | local m = Instance.new("BlockMesh",p) | |
8080 | m.Scale = Vector3.new(radius,radius,dist2) | |
8081 | p.CFrame = CFrame.new(mid,p2.p) | |
8082 | last = p2.p | |
8083 | game:GetService("Debris"):AddItem(p,0.1) | |
8084 | end | |
8085 | wait() | |
8086 | xz:remove() | |
8087 | end | |
8088 | ||
8089 | kekd = false | |
8090 | end) | |
8091 | Anims.Scrunch(true) | |
8092 | for i = 1, 8 do | |
8093 | wait(0.9) | |
8094 | for i = 1, math.random(4, 6) do | |
8095 | local p = part:Clone() | |
8096 | p.Parent = Torso | |
8097 | p.Anchored = true | |
8098 | p.Material = "Neon" | |
8099 | p.CFrame = Torso.CFrame | |
8100 | p.CanCollide = false | |
8101 | -- game:service("Debris"):AddItem(p, 0.2) | |
8102 | local kekz2 = math.random(1,2) | |
8103 | if kekz2 == 2 then | |
8104 | p.BrickColor = BrickColor.new("New Yeller") | |
8105 | else | |
8106 | p.BrickColor = BrickColor.new("New Yeller") | |
8107 | end | |
8108 | local w = Instance.new("Weld", p) | |
8109 | w.Part0 = p | |
8110 | w.Part1 = Torso | |
8111 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
8112 | local m = Instance.new("CylinderMesh", p) | |
8113 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
8114 | coroutine.resume(coroutine.create(function() | |
8115 | for i = 1, 25 do | |
8116 | wait(0.071428571428571) | |
8117 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
8118 | p.Transparency = i / 25 | |
8119 | end | |
8120 | pcall(game.Destroy, p) | |
8121 | end | |
8122 | )) | |
8123 | end | |
8124 | end | |
8125 | coroutine.resume(coroutine.create(function() | |
8126 | for i = 1, 6 do | |
8127 | wait(0.9) | |
8128 | --Player.Character.Torso.Anchored = true | |
8129 | coroutine.resume(coroutine.create(function() | |
8130 | local p = part:Clone() | |
8131 | p.Parent = Torso | |
8132 | p.Anchored = false | |
8133 | p.CanCollide = false | |
8134 | p.CFrame = Torso.CFrame | |
8135 | local kekz2 = math.random(1,2) | |
8136 | if kekz2 == 2 then | |
8137 | p.BrickColor = BrickColor.new("New Yeller") | |
8138 | else | |
8139 | p.BrickColor = BrickColor.new("Neon orange") | |
8140 | end | |
8141 | --game:service("Debris"):AddItem(p, 0.2) | |
8142 | local w = Instance.new("Weld", p) | |
8143 | w.Part0 = p | |
8144 | w.Part1 = Torso | |
8145 | w.C0 = w.C0 * CFrame.Angles(0, math.rad(90), 0) | |
8146 | local m = Instance.new("SpecialMesh", p) | |
8147 | m.MeshId = "rbxassetid://3270017" | |
8148 | m.Scale = Vector3.new(10, 10, 5) | |
8149 | coroutine.resume(coroutine.create(function() | |
8150 | for i = 1, 25 do | |
8151 | wait(0.071428571428571) | |
8152 | w.C0 = w.C0 * CFrame.Angles(-0.05, 0.05 * math.random(), 0.05 * math.random()) | |
8153 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
8154 | p.Transparency = i / 25 | |
8155 | end | |
8156 | pcall(game.Destroy, p) | |
8157 | end | |
8158 | )) | |
8159 | end | |
8160 | )) | |
8161 | local p = part:Clone() | |
8162 | do | |
8163 | p.Parent = Torso | |
8164 | p.Anchored = false | |
8165 | p.CFrame = Torso.CFrame | |
8166 | p.CanCollide = false | |
8167 | -- game:service("Debris"):AddItem(p, 0.2) | |
8168 | local kekz2 = math.random(1,2) | |
8169 | if kekz2 == 2 then | |
8170 | p.BrickColor = BrickColor.new("New Yeller") | |
8171 | else | |
8172 | p.BrickColor = BrickColor.new("Neon orange") | |
8173 | end | |
8174 | local w = Instance.new("Weld", p) | |
8175 | w.Part0 = p | |
8176 | w.Part1 = Torso | |
8177 | local m = Instance.new("SpecialMesh", p) | |
8178 | m.MeshId = "rbxassetid://3270017" | |
8179 | m.Scale = Vector3.new(10, 10, 5) | |
8180 | coroutine.resume(coroutine.create(function() | |
8181 | for i = 1, 25 do | |
8182 | wait(0.071428571428571) | |
8183 | w.C0 = w.C0 * CFrame.Angles(0.05 * math.random(), -0.05 * math.random(), -0.05 * math.random()) | |
8184 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
8185 | p.Transparency = i / 25 | |
8186 | end | |
8187 | pcall(game.Destroy, p) | |
8188 | end | |
8189 | )) | |
8190 | end | |
8191 | end | |
8192 | end | |
8193 | )) | |
8194 | for i=1, 6 do | |
8195 | wait(0.9) | |
8196 | for i = 1, math.random(4, 6) do | |
8197 | local p = part:Clone() | |
8198 | p.Parent = Torso | |
8199 | p.Anchored = true | |
8200 | p.CFrame = Torso.CFrame | |
8201 | local kekz2 = math.random(1,2) | |
8202 | if kekz2 == 2 then | |
8203 | p.BrickColor = BrickColor.new("New Yeller") | |
8204 | else | |
8205 | p.BrickColor = BrickColor.new("Bright yellow") | |
8206 | end | |
8207 | local me = Instance.new("SpecialMesh",p) | |
8208 | me.MeshId = "rbxassetid://9982590" | |
8209 | me.Scale = Vector3.new(4,4,4) | |
8210 | delay(0,function() | |
8211 | for i=1,10 do | |
8212 | p.Transparency = i/10 | |
8213 | p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-20,20)/50),math.rad(math.random(-20,20)/50),0) | |
8214 | me.Scale = me.Scale + Vector3.new(4,4,4) | |
8215 | wait() | |
8216 | end | |
8217 | p:Destroy() | |
8218 | end) | |
8219 | wait() | |
8220 | end | |
8221 | end | |
8222 | Torso.Anchored = true | |
8223 | for i=1,10 do | |
8224 | Torso.CFrame = Torso.CFrame * CFrame.new(0,-1,0) | |
8225 | area.CFrame = Torso.CFrame | |
8226 | wait() | |
8227 | end | |
8228 | realdeb = true | |
8229 | Hum.WalkSpeed = 16 | |
8230 | Anims.Scrunch(false) | |
8231 | Torso.Anchored = false | |
8232 | area:Destroy() | |
8233 | wait(0.6) | |
8234 | Serious() | |
8235 | end | |
8236 | end | |
8237 | ||
8238 | local off = function() | |
8239 | if (realdeb == true and trans == true) then | |
8240 | trans = false | |
8241 | Hum.WalkSpeed = 0 | |
8242 | delay(0,function() | |
8243 | for q=1,120 do | |
8244 | local xz = Instance.new("Part",plr.Character) | |
8245 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
8246 | xz.Anchored = true | |
8247 | xz.Transparency = 1 | |
8248 | xz.CanCollide = false | |
8249 | wait(0.04) | |
8250 | local pos2 = xz.Position | |
8251 | local pos = plr.Character.Torso.Position | |
8252 | local radius = math.random(1,1.5) | |
8253 | local numParts = math.random(5,15) | |
8254 | local model = plr.Character.Torso | |
8255 | local lv = CFrame.new(pos,pos2).lookVector | |
8256 | local dist = (pos-pos2).magnitude | |
8257 | local dbp = dist/numParts | |
8258 | local last = pos | |
8259 | for i = 1,numParts do | |
8260 | local p = Instance.new("Part",model) | |
8261 | p.FormFactor = "Symmetric" | |
8262 | p.Size = Vector3.new(1,1,1) | |
8263 | p.CanCollide = false | |
8264 | p.Anchored = false | |
8265 | p.Material = "Neon" | |
8266 | local kekz2 = math.random(1,2) | |
8267 | if kekz2 == 2 then | |
8268 | p.BrickColor = BrickColor.new("Really red") | |
8269 | else | |
8270 | p.BrickColor = BrickColor.new("Dark red") | |
8271 | end | |
8272 | p.Transparency = 0.5 | |
8273 | local x = math.random(-2,2)/2*dbp/4 | |
8274 | local y = math.random(-2,2)/2*dbp/4 | |
8275 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
8276 | local dist2 = (p2.p-last).magnitude | |
8277 | local mid = (p2.p+last)/2 | |
8278 | local m = Instance.new("BlockMesh",p) | |
8279 | m.Scale = Vector3.new(radius,radius,dist2) | |
8280 | p.CFrame = CFrame.new(mid,p2.p) | |
8281 | last = p2.p | |
8282 | game:GetService("Debris"):AddItem(p,0.2) | |
8283 | end | |
8284 | wait() | |
8285 | xz:remove() | |
8286 | end | |
8287 | end) | |
8288 | Anims.Scrunch(true) | |
8289 | for i = 1, 8 do | |
8290 | wait(0.9) | |
8291 | for i = 1, math.random(4, 6) do | |
8292 | local p = part:Clone() | |
8293 | p.Parent = Torso | |
8294 | p.Anchored = true | |
8295 | p.CFrame = Torso.CFrame | |
8296 | p.CanCollide = false | |
8297 | -- game:service("Debris"):AddItem(p, 0.2) | |
8298 | local kekz2 = math.random(1,2) | |
8299 | if kekz2 == 2 then | |
8300 | p.BrickColor = BrickColor.new("Really red") | |
8301 | else | |
8302 | p.BrickColor = BrickColor.new("Dark red") | |
8303 | end | |
8304 | local w = Instance.new("Weld", p) | |
8305 | w.Part0 = p | |
8306 | w.Part1 = Torso | |
8307 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
8308 | local m = Instance.new("CylinderMesh", p) | |
8309 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
8310 | coroutine.resume(coroutine.create(function() | |
8311 | for i = 1, 25 do | |
8312 | wait(0.071428571428571) | |
8313 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
8314 | p.Transparency = i / 25 | |
8315 | end | |
8316 | pcall(game.Destroy, p) | |
8317 | end | |
8318 | )) | |
8319 | end | |
8320 | end | |
8321 | Anims.Scrunch(false) | |
8322 | Hum.WalkSpeed = 16 | |
8323 | realdeb = false | |
8324 | end | |
8325 | end | |
8326 | ||
8327 | ||
8328 | m.KeyDown:connect(function(key) | |
8329 | local k = key:lower() | |
8330 | if key == "," then | |
8331 | if (trans == false and realdeb == false) then | |
8332 | transform() | |
8333 | elseif (trans == true and realdeb == true) then | |
8334 | off() | |
8335 | end | |
8336 | end | |
8337 | end) | |
8338 | ||
8339 | ||
8340 | ||
8341 | Humanoid.Animator.Parent = nil | |
8342 | idleanim=.4 | |
8343 | while true do | |
8344 | swait() | |
8345 | sine = sine + change | |
8346 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
8347 | local velderp=RootPart.Velocity.y | |
8348 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
8349 | if equipped==true or equipped==false then | |
8350 | if attack==false then | |
8351 | idle=idle+1 | |
8352 | else | |
8353 | idle=0 | |
8354 | end | |
8355 | if idle>=500 then | |
8356 | if attack==false then | |
8357 | --Sheath() | |
8358 | end | |
8359 | end | |
8360 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
8361 | Anim="Jump" | |
8362 | if attack==false then | |
8363 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
8364 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
8365 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8366 | 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) | |
8367 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8368 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3) | |
8369 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8370 | RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2) | |
8371 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2) | |
8372 | end | |
8373 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
8374 | Anim="Fall" | |
8375 | if attack==false then | |
8376 | Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3) | |
8377 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
8378 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
8379 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3) | |
8380 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8381 | 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) | |
8382 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8383 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2) | |
8384 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2) | |
8385 | end | |
8386 | elseif torvel<1 and hitfloor~=nil then | |
8387 | Anim="Idle" | |
8388 | if jumped == false then | |
8389 | 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) | |
8390 | 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) | |
8391 | end | |
8392 | if attack==false then | |
8393 | 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) | |
8394 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 0 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3) | |
8395 | 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) | |
8396 | 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) | |
8397 | end | |
8398 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
8399 | Anim="Walk" | |
8400 | if jumped == false then | |
8401 | 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) | |
8402 | 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) | |
8403 | end | |
8404 | if attack==false then | |
8405 | 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) | |
8406 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8407 | 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) | |
8408 | 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) | |
8409 | end | |
8410 | elseif torvel>=22 and hitfloor~=nil then | |
8411 | Anim="Run" | |
8412 | if jumped == false then | |
8413 | 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) | |
8414 | 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) | |
8415 | end | |
8416 | if attack==false then | |
8417 | 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) | |
8418 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8419 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3) | |
8420 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3) | |
8421 | end | |
8422 | end | |
8423 | end | |
8424 | end |