SHOW:
|
|
- or go back to the newest paste.
1 | repeat wait() | |
2 | ||
3 | until game.Players.LocalPlayer and game.Players.LocalPlayer.Character | |
4 | ||
5 | ||
6 | - | --- MADE BY OOKYAMA, GIVE CREDIT! :) |
6 | + | --- MADE BY OOKYAMA, GIVE CREDIT! :)BY edit 5mzazatv |
7 | ||
8 | local num = 0 | |
9 | local p = game.Players.LocalPlayer | |
10 | local char = p.Character | |
11 | local rad = math.rad | |
12 | local hum = char.Humanoid | |
13 | ||
14 | local EM = Enum.Material | |
15 | local CF = CFrame | |
16 | local V3 = Vector3 | |
17 | local Ins = Instance | |
18 | local Col = Color3 | |
19 | local UD = UDim | |
20 | local UD2 = UDim2 | |
21 | local mr = math.rad | |
22 | local mra = math.random | |
23 | local mh = math.huge | |
24 | ||
25 | - | for _, p in pairs(char:GetChildren()) do |
25 | + | |
26 | - | if p:IsA("Accessory")or p:IsA("Shirt") or p:IsA("Pants") then |
26 | + | |
27 | - | p:Destroy() |
27 | + | |
28 | hrp = char.HumanoidRootPart | |
29 | anim = human.Animator | |
30 | - | local BC = char["Body Colors"] |
30 | + | |
31 | - | BC.HeadColor = BrickColor.new("Bright yellow") |
31 | + | |
32 | - | BC.RightArmColor = BrickColor.new("Bright yellow") |
32 | + | |
33 | - | BC.LeftArmColor = BrickColor.new("Bright yellow") |
33 | + | |
34 | - | BC.RightLegColor = BrickColor.new("Br. yellowish green") |
34 | + | |
35 | - | BC.LeftLegColor = BrickColor.new("Br. yellowish green") |
35 | + | |
36 | - | BC.TorsoColor = BrickColor.new("Bright blue") |
36 | + | |
37 | local txt2 = Instance.new("BillboardGui", char) | |
38 | txt2.Adornee = char.Head | |
39 | txt2.Name = "_status2" | |
40 | txt2.Size = UDim2.new(2, 0, 1.2, 0) | |
41 | txt2.StudsOffset = Vector3.new(-14, 3, 0) | |
42 | local text2 = Instance.new("TextLabel", txt2) | |
43 | text2.Size = UDim2.new(15, 0,2, 0) | |
44 | text2.FontSize = "Size24" | |
45 | text2.TextScaled = true | |
46 | text2.TextTransparency = 0 | |
47 | text2.BackgroundTransparency = 1 | |
48 | text2.TextTransparency = 0 | |
49 | text2.TextStrokeTransparency = 0 | |
50 | text2.Font = Enum.Font.SciFi | |
51 | text2.TextStrokeColor3 = Color3.new(0,0,0) | |
52 | text2.TextColor3 = Color3.fromRGB(14, 83, 148) | |
53 | text2.Text = "Nooby "..p.Name | |
54 | v2=Instance.new("Part") | |
55 | v2.Name = "ColorBrick" | |
56 | v2.Parent= char | |
57 | v2.FormFactor="Symmetric" | |
58 | v2.Anchored=true | |
59 | v2.CanCollide=false | |
60 | v2.BottomSurface="Smooth" | |
61 | v2.TopSurface="Smooth" | |
62 | v2.Size=Vector3.new(10,5,3) | |
63 | v2.Transparency=1 | |
64 | v2.CFrame=char.HumanoidRootPart.CFrame | |
65 | v2.BrickColor=BrickColor.new("Lime green") | |
66 | v2.Transparency=1 | |
67 | v2.Shape="Block" | |
68 | ||
69 | ||
70 | ||
71 | coroutine.resume(coroutine.create(function() | |
72 | while wait() do | |
73 | for i = 1,50 do | |
74 | wait() | |
75 | text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(85, 103, 34), 0.05) | |
76 | end | |
77 | for i = 1,50 do | |
78 | wait() | |
79 | text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(14, 83, 148), 0.05) | |
80 | end | |
81 | for i = 1,50 do | |
82 | wait() | |
83 | text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(245, 205, 48), 0.05) | |
84 | end | |
85 | ||
86 | end | |
87 | end)) | |
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | local Mode = "Noob" | |
94 | ||
95 | ||
96 | ||
97 | ||
98 | coroutine.resume(coroutine.create(function() | |
99 | while wait() do | |
100 | if char:FindFirstChild("Eye1") ~= nil then | |
101 | local Eye1 = char:FindFirstChild("Eye1").Mesh.Scale | |
102 | local Eye2 = char:FindFirstChild("Eye2").Mesh.Scale | |
103 | ||
104 | for i = 1, 10 do | |
105 | wait() | |
106 | Eye1 = Eye1:lerp(Vector3.new(1, 0.1, 1), 0.5) | |
107 | Eye2 = Eye2:lerp(Vector3.new(1, 0.1, 1), 0.5) | |
108 | end | |
109 | for i = 1, 10 do | |
110 | wait() | |
111 | Eye1 = Eye1:lerp(Vector3.new(1, 1, 1), 0.5) | |
112 | Eye2 = Eye2:lerp(Vector3.new(1, 1, 1), 0.5) | |
113 | end | |
114 | wait(2) | |
115 | end | |
116 | end | |
117 | end)) | |
118 | ||
119 | ||
120 | ||
121 | local namee = "Nooby "..p.Name | |
122 | local chatDB = false | |
123 | ||
124 | function chatfunc(msg) | |
125 | coroutine.resume(coroutine.create(function() | |
126 | if not chatDB then | |
127 | chatDB = true | |
128 | for i = 1,#msg do | |
129 | wait() | |
130 | text2.Text = string.sub(msg, 1, i) | |
131 | end | |
132 | wait(2) | |
133 | if Mode == "Guest" then | |
134 | namee = "Guesty "..p.Name | |
135 | elseif Mode == "Guest666" then | |
136 | namee = "The Awakened "..p.Name | |
137 | end | |
138 | for i = 1,#namee do | |
139 | wait() | |
140 | text2.Text = string.sub(namee, 1, i) | |
141 | end | |
142 | chatDB = false -- So you can use right after it is done. | |
143 | end | |
144 | end)) | |
145 | end | |
146 | ||
147 | ||
148 | ||
149 | local Theme = Instance.new("Sound", char) | |
150 | Theme.Looped = true | |
151 | Theme.SoundId = "rbxassetid://265241849" | |
152 | Theme:Play() | |
153 | ||
154 | local clerp = function(a, b, t) | |
155 | return a:lerp(b, t) | |
156 | end | |
157 | ||
158 | ------------------------------------- | |
159 | local Head = char.Head | |
160 | local RArm = char["Right Arm"] | |
161 | local LArm = char["Left Arm"] | |
162 | local Torso = char.Torso | |
163 | local LLeg = char["Left Leg"] | |
164 | local RLeg = char["Right Leg"] | |
165 | ------------------------------------- | |
166 | ||
167 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
168 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
169 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
170 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
171 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
172 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
173 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
174 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
175 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
176 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
177 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
178 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
179 | RS = Torso:FindFirstChild("Right Shoulder") | |
180 | LS = Torso:FindFirstChild("Left Shoulder") | |
181 | RH = Torso:FindFirstChild("Right Hip") | |
182 | LH = Torso:FindFirstChild("Left Hip") | |
183 | RJ = hrp:FindFirstChild("RootJoint") | |
184 | NK = Torso:FindFirstChild("Neck") | |
185 | local RunS = game:GetService("RunService") | |
186 | local Mouse = p:GetMouse() | |
187 | local animen = true | |
188 | local Player = game.Players.localPlayer | |
189 | local Character = Player.Character | |
190 | local Humanoid = Character.Humanoid | |
191 | local LeftArm = Character["Left Arm"] | |
192 | local RightArm = Character["Right Arm"] | |
193 | local LeftLeg = Character["Left Leg"] | |
194 | local RightLeg = Character["Right Leg"] | |
195 | local Head = Character.Head | |
196 | local Torso = Character.Torso | |
197 | local Camera = game.Workspace.CurrentCamera | |
198 | local RootPart = Character.HumanoidRootPart | |
199 | local RootJoint = RootPart.RootJoint | |
200 | local Pause = false | |
201 | local attack = false | |
202 | local LOL = false | |
203 | local Anim = 'Idle' | |
204 | local attacktype = 1 | |
205 | local delays = false | |
206 | local play = true | |
207 | local targetted = nil | |
208 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
209 | local velocity = RootPart.Velocity.y | |
210 | local sine = 0 | |
211 | local change = 1 | |
212 | local doe = 0 | |
213 | local Create = LoadLibrary("RbxUtility").Create | |
214 | Humanoid.WalkSpeed = 80 | |
215 | ||
216 | ||
217 | ||
218 | ||
219 | ||
220 | ||
221 | local TrailSoundStart = Instance.new("Sound", char) | |
222 | TrailSoundStart.Looped = false | |
223 | TrailSoundStart.Volume = 0.4 | |
224 | TrailSoundStart.SoundId = "rbxassetid://905876599" | |
225 | ||
226 | local TrailSound = Instance.new("Sound", char) | |
227 | TrailSound.Looped = true | |
228 | TrailSound.Volume = 0.4 | |
229 | TrailSound.SoundId = "rbxassetid://379557765" | |
230 | ||
231 | local StepSound = Instance.new("Sound", char) | |
232 | StepSound.Looped = false | |
233 | StepSound.Volume = 0.7 | |
234 | StepSound.SoundId = "rbxassetid://289556450" | |
235 | ||
236 | local TransformationSound = Instance.new("Sound", char) | |
237 | TransformationSound.Looped = false | |
238 | TransformationSound.Volume = 0.5 | |
239 | TransformationSound.SoundId = "rbxassetid://165969964" | |
240 | ||
241 | local ShadowTravel = Instance.new("Sound", char) | |
242 | ShadowTravel.Looped = true | |
243 | ShadowTravel.Volume = 1 | |
244 | ShadowTravel.SoundId = "rbxassetid://362395087" | |
245 | ||
246 | local NeckSnap = Instance.new("Sound", char) | |
247 | NeckSnap.Looped = false | |
248 | NeckSnap.Volume = 1 | |
249 | NeckSnap.SoundId = "rbxassetid://198606040" | |
250 | ||
251 | ||
252 | ||
253 | ||
254 | ||
255 | function findNearestTorso(pos) | |
256 | local list = game.Workspace:children() | |
257 | local torso = nil | |
258 | local dist = 150 | |
259 | local temp = nil | |
260 | local human = nil | |
261 | local temp2 = nil | |
262 | for x = 1, #list do | |
263 | temp2 = list[x] | |
264 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
265 | temp = temp2:findFirstChild("HumanoidRootPart") | |
266 | human = temp2:findFirstChildOfClass("Humanoid") | |
267 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
268 | if (temp.Position - pos).magnitude < dist then | |
269 | torso = temp | |
270 | dist = (temp.Position - pos).magnitude | |
271 | end | |
272 | end | |
273 | end | |
274 | end | |
275 | return torso.Parent.Name | |
276 | end | |
277 | ||
278 | ||
279 | ||
280 | ||
281 | function findNearestTorso2(pos) | |
282 | local list = game.Workspace:children() | |
283 | local torso = nil | |
284 | local dist = 150 | |
285 | local temp = nil | |
286 | local human = nil | |
287 | local temp2 = nil | |
288 | for x = 1, #list do | |
289 | temp2 = list[x] | |
290 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
291 | temp = temp2:findFirstChild("HumanoidRootPart") | |
292 | human = temp2:findFirstChildOfClass("Humanoid") | |
293 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
294 | if (temp.Position - pos).magnitude < dist then | |
295 | torso = temp | |
296 | dist = (temp.Position - pos).magnitude | |
297 | end | |
298 | end | |
299 | end | |
300 | end | |
301 | return torso | |
302 | end | |
303 | ||
304 | ||
305 | function NoobStep() | |
306 | StepSound:Play() | |
307 | if Mode == "Guest" then | |
308 | chatfunc("GUEST STEP!!11!1!") | |
309 | elseif Mode == "Noob" then | |
310 | chatfunc("NOOB STEP!!111!!") | |
311 | end | |
312 | ||
313 | Head1.Name = "Headdd" | |
314 | Arm1.Name = "Armmm1" | |
315 | Arm2.Name = "Armmm2" | |
316 | NeonTorsopls.Name = "Torsooo" | |
317 | Leg1.Name = "Leggg1" | |
318 | Leg2.Name = "Leggg2" | |
319 | ||
320 | NeonTorsopls.Parent = char | |
321 | Arm1.Parent = char | |
322 | Arm2.Parent = char | |
323 | Head1.Parent = char | |
324 | Leg1.Parent = char | |
325 | - | local NeonTorsopls = Torso:Clone() |
325 | + | |
326 | - | local Arm1 = RightArm:Clone() |
326 | + | |
327 | - | local Arm2 = LeftArm:Clone() |
327 | + | |
328 | - | local Head1 = Head:Clone() |
328 | + | |
329 | - | local Leg1 = RightLeg:Clone() |
329 | + | |
330 | - | local Leg2 = LeftLeg:Clone() |
330 | + | |
331 | Arm2:ClearAllChildren() | |
332 | ||
333 | NeonTorsopls.CFrame = Torso.CFrame | |
334 | Arm1.CFrame = RightArm.CFrame | |
335 | Arm2.CFrame = LeftArm.CFrame | |
336 | Head1.CFrame = Head.CFrame | |
337 | Leg1.CFrame = RightLeg.CFrame | |
338 | Leg2.CFrame = LeftLeg.CFrame | |
339 | ||
340 | Leg1.Material = "Neon" | |
341 | Arm1.Material = "Neon" | |
342 | Arm2.Material = "Neon" | |
343 | Leg2.Material = "Neon" | |
344 | NeonTorsopls.Material = "Neon" | |
345 | Head1.Material = "Neon" | |
346 | ||
347 | Head1.Anchored = true | |
348 | NeonTorsopls.Anchored = true | |
349 | Arm1.Anchored = true | |
350 | Arm2.Anchored = true | |
351 | Leg1.Anchored = true | |
352 | Leg2.Anchored = true | |
353 | ||
354 | Leg2.CanCollide = false | |
355 | Leg1.CanCollide = false | |
356 | Head1.CanCollide = false | |
357 | NeonTorsopls.CanCollide = false | |
358 | Arm1.CanCollide = false | |
359 | Arm2.CanCollide = false | |
360 | ||
361 | ||
362 | coroutine.resume(coroutine.create(function() | |
363 | for i = 1,300 do | |
364 | game:GetService("RunService").RenderStepped:wait() | |
365 | Arm1.Transparency = Arm1.Transparency + 0.01 | |
366 | Arm2.Transparency = Arm2.Transparency + 0.01 | |
367 | Head1.Transparency = Head1.Transparency + 0.01 | |
368 | NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01 | |
369 | Leg1.Transparency = Leg1.Transparency + 0.01 | |
370 | Leg2.Transparency = Leg2.Transparency + 0.01 | |
371 | if Head1.Transparency >= 1 then | |
372 | Leg1:Destroy() | |
373 | Leg2:Destroy() | |
374 | Head1:Destroy() | |
375 | Arm1:Destroy() | |
376 | Arm2:Destroy() | |
377 | NeonTorsopls:Destroy() | |
378 | end | |
379 | end | |
380 | end)) | |
381 | ||
382 | Torso.CFrame = CFrame.new(Mouse.Hit.X, Mouse.Hit.Y, Mouse.Hit.Z) | |
383 | end | |
384 | ||
385 | ||
386 | local TrailEnabled = false | |
387 | ||
388 | function EnableTrail() | |
389 | if Mode == "Noob" or Mode == "Guest" then | |
390 | TrailSoundStart:Play() | |
391 | chatfunc("Be Confuuse!!111!!") | |
392 | TrailSound:Play() | |
393 | while wait() and TrailEnabled == true do | |
394 | local NeonTorsopls = Torso:Clone() | |
395 | local Arm1 = RightArm:Clone() | |
396 | local Arm2 = LeftArm:Clone() | |
397 | local Head1 = Head:Clone() | |
398 | local Leg1 = RightLeg:Clone() | |
399 | local Leg2 = LeftLeg:Clone() | |
400 | ||
401 | Head1.Name = "Headdd" | |
402 | Arm1.Name = "Armmm1" | |
403 | Arm2.Name = "Armmm2" | |
404 | NeonTorsopls.Name = "Torsooo" | |
405 | Leg1.Name = "Leggg1" | |
406 | Leg2.Name = "Leggg2" | |
407 | ||
408 | NeonTorsopls.Parent = char | |
409 | Arm1.Parent = char | |
410 | Arm2.Parent = char | |
411 | Head1.Parent = char | |
412 | Leg1.Parent = char | |
413 | Leg2.Parent = char | |
414 | Head1:ClearAllChildren() | |
415 | Arm1:ClearAllChildren() | |
416 | Leg1:ClearAllChildren() | |
417 | Leg2:ClearAllChildren() | |
418 | NeonTorsopls:ClearAllChildren() | |
419 | Arm2:ClearAllChildren() | |
420 | ||
421 | NeonTorsopls.CFrame = Torso.CFrame | |
422 | Arm1.CFrame = RightArm.CFrame | |
423 | Arm2.CFrame = LeftArm.CFrame | |
424 | Head1.CFrame = Head.CFrame | |
425 | Leg1.CFrame = RightLeg.CFrame | |
426 | Leg2.CFrame = LeftLeg.CFrame | |
427 | ||
428 | Leg1.Material = "Neon" | |
429 | Arm1.Material = "Neon" | |
430 | Arm2.Material = "Neon" | |
431 | Leg2.Material = "Neon" | |
432 | NeonTorsopls.Material = "Neon" | |
433 | Head1.Material = "Neon" | |
434 | ||
435 | Head1.Anchored = true | |
436 | NeonTorsopls.Anchored = true | |
437 | Arm1.Anchored = true | |
438 | Arm2.Anchored = true | |
439 | Leg1.Anchored = true | |
440 | Leg2.Anchored = true | |
441 | ||
442 | Leg2.CanCollide = false | |
443 | Leg1.CanCollide = false | |
444 | Head1.CanCollide = false | |
445 | NeonTorsopls.CanCollide = false | |
446 | Arm1.CanCollide = false | |
447 | Arm2.CanCollide = false | |
448 | ||
449 | coroutine.resume(coroutine.create(function() | |
450 | for i = 1,300 do | |
451 | game:GetService("RunService").RenderStepped:wait() | |
452 | Arm1.Transparency = Arm1.Transparency + 0.01 | |
453 | Arm2.Transparency = Arm2.Transparency + 0.01 | |
454 | Head1.Transparency = Head1.Transparency + 0.01 | |
455 | NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01 | |
456 | Leg1.Transparency = Leg1.Transparency + 0.01 | |
457 | Leg2.Transparency = Leg2.Transparency + 0.01 | |
458 | if Head1.Transparency >= 1 then | |
459 | Leg1:Destroy() | |
460 | Leg2:Destroy() | |
461 | Head1:Destroy() | |
462 | Arm1:Destroy() | |
463 | Arm2:Destroy() | |
464 | NeonTorsopls:Destroy() | |
465 | end | |
466 | end | |
467 | end)) | |
468 | end | |
469 | ||
470 | elseif Mode == "Guest666" then | |
471 | chatfunc("Shadow Travel...") | |
472 | ShadowTravel:Play() | |
473 | while wait() and TrailEnabled == true do | |
474 | local NeonTorsopls = Torso:Clone() | |
475 | local Arm1 = RightArm:Clone() | |
476 | local Arm2 = LeftArm:Clone() | |
477 | local Head1 = Head:Clone() | |
478 | local Leg1 = RightLeg:Clone() | |
479 | local Leg2 = LeftLeg:Clone() | |
480 | ||
481 | Head1.Name = "Headdd" | |
482 | Arm1.Name = "Armmm1" | |
483 | Arm2.Name = "Armmm2" | |
484 | NeonTorsopls.Name = "Torsooo" | |
485 | Leg1.Name = "Leggg1" | |
486 | Leg2.Name = "Leggg2" | |
487 | ||
488 | NeonTorsopls.Parent = char | |
489 | Arm1.Parent = char | |
490 | Arm2.Parent = char | |
491 | Head1.Parent = char | |
492 | Leg1.Parent = char | |
493 | Leg2.Parent = char | |
494 | Head1:ClearAllChildren() | |
495 | Arm1:ClearAllChildren() | |
496 | Leg1:ClearAllChildren() | |
497 | Leg2:ClearAllChildren() | |
498 | NeonTorsopls:ClearAllChildren() | |
499 | Arm2:ClearAllChildren() | |
500 | ||
501 | NeonTorsopls.CFrame = Torso.CFrame | |
502 | Arm1.CFrame = RightArm.CFrame | |
503 | Arm2.CFrame = LeftArm.CFrame | |
504 | Head1.CFrame = Head.CFrame | |
505 | Leg1.CFrame = RightLeg.CFrame | |
506 | Leg2.CFrame = LeftLeg.CFrame | |
507 | ||
508 | Leg1.Material = "Neon" | |
509 | Arm1.Material = "Neon" | |
510 | Arm2.Material = "Neon" | |
511 | Leg2.Material = "Neon" | |
512 | NeonTorsopls.Material = "Neon" | |
513 | Head1.Material = "Neon" | |
514 | ||
515 | Head1.Anchored = true | |
516 | NeonTorsopls.Anchored = true | |
517 | Arm1.Anchored = true | |
518 | Arm2.Anchored = true | |
519 | Leg1.Anchored = true | |
520 | Leg2.Anchored = true | |
521 | ||
522 | Leg2.CanCollide = false | |
523 | Leg1.CanCollide = false | |
524 | Head1.CanCollide = false | |
525 | NeonTorsopls.CanCollide = false | |
526 | Arm1.CanCollide = false | |
527 | Arm2.CanCollide = false | |
528 | ||
529 | coroutine.resume(coroutine.create(function() | |
530 | for i = 1,300 do | |
531 | game:GetService("RunService").RenderStepped:wait() | |
532 | Arm1.Transparency = Arm1.Transparency + 0.1 | |
533 | Arm2.Transparency = Arm2.Transparency + 0.1 | |
534 | Head1.Transparency = Head1.Transparency + 0.1 | |
535 | NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.1 | |
536 | Leg1.Transparency = Leg1.Transparency + 0.1 | |
537 | Leg2.Transparency = Leg2.Transparency + 0.1 | |
538 | if Head1.Transparency >= 1 then | |
539 | Leg1:Destroy() | |
540 | Leg2:Destroy() | |
541 | Head1:Destroy() | |
542 | Arm1:Destroy() | |
543 | Arm2:Destroy() | |
544 | NeonTorsopls:Destroy() | |
545 | end | |
546 | end | |
547 | end)) | |
548 | end | |
549 | ||
550 | ||
551 | ||
552 | ||
553 | end | |
554 | end | |
555 | ||
556 | AnimEnabled = true | |
557 | ||
558 | Mouse.KeyDown:Connect(function(k) | |
559 | if k == "9" then | |
560 | chatfunc("Wow The Clouds In The Scy Are Buutiful Toniyt.") | |
561 | ||
562 | elseif k == "8" then | |
563 | chatfunc("PLS NO!11!!") | |
564 | ||
565 | elseif k == "7" then | |
566 | chatfunc(findNearestTorso(char.HumanoidRootPart.Position).." Be My Frien Pls!11!!!1") | |
567 | ||
568 | elseif k == "6" then | |
569 | chatfunc("Hi "..findNearestTorso(char.HumanoidRootPart.Position)) | |
570 | ||
571 | elseif k == "5" then | |
572 | chatfunc("Do N0t Make Me Ki11 U!111!!!!") | |
573 | ||
574 | elseif k == "4" then | |
575 | chatfunc("I Will Straighten U Out!!111!1") | |
576 | ||
577 | elseif k == "e" then | |
578 | NoobStep() | |
579 | ||
580 | elseif k == "q" then | |
581 | if TrailEnabled == false then | |
582 | TrailEnabled = true | |
583 | char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 20 | |
584 | EnableTrail() | |
585 | ||
586 | elseif TrailEnabled == true then | |
587 | TrailSound:Stop() | |
588 | ShadowTravel:Stop() | |
589 | TrailEnabled = false | |
590 | char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed - 20 | |
591 | end | |
592 | ||
593 | end | |
594 | end) | |
595 | ||
596 | ||
597 | ||
598 | Humanoid.Animator.Parent = nil | |
599 | Character.Animate.Parent = nil | |
600 | ||
601 | ||
602 | ||
603 | local newMotor = function(part0, part1, c0, c1) | |
604 | local w = Create('Motor'){ | |
605 | Parent = part0, | |
606 | Part0 = part0, | |
607 | Part1 = part1, | |
608 | C0 = c0, | |
609 | C1 = c1, | |
610 | } | |
611 | return w | |
612 | end | |
613 | function clerp(a, b, t) | |
614 | return a:lerp(b, t) | |
615 | end | |
616 | ||
617 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
618 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
619 | ||
620 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
621 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
622 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
623 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
624 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
625 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
626 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
627 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
628 | ||
629 | local rarmc1 = RW.C1 | |
630 | local larmc1 = LW.C1 | |
631 | local rlegc1 = RH.C1 | |
632 | local llegc1 = LH.C1 | |
633 | ||
634 | local resetc1 = false | |
635 | ||
636 | ||
637 | ||
638 | function PlayAnimationFromTable(table, speed, bool) | |
639 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
640 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
641 | RW.C0 = clerp(RW.C0, table[3], speed) | |
642 | LW.C0 = clerp(LW.C0, table[4], speed) | |
643 | RH.C0 = clerp(RH.C0, table[5], speed) | |
644 | LH.C0 = clerp(LH.C0, table[6], speed) | |
645 | if bool == true then | |
646 | if resetc1 == false then | |
647 | resetc1 = true | |
648 | RootJoint.C1 = RootJoint.C1 | |
649 | Torso.Neck.C1 = Torso.Neck.C1 | |
650 | RW.C1 = rarmc1 | |
651 | LW.C1 = larmc1 | |
652 | RH.C1 = rlegc1 | |
653 | LH.C1 = llegc1 | |
654 | end | |
655 | end | |
656 | end | |
657 | ||
658 | ||
659 | ||
660 | function NoobBullets() | |
661 | chatfunc("TAIST THEESE SUKKERS!!11!!") | |
662 | AnimEnabled = false | |
663 | char.Humanoid.WalkSpeed = 0 | |
664 | ||
665 | coroutine.resume(coroutine.create(function() | |
666 | for f = 1,150 do | |
667 | ||
668 | PlayAnimationFromTable({ | |
669 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(90), mr(-15)), -- Torso, | |
670 | CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(-90), 0), ----- Head | |
671 | CFrame.new(1.8,0.6,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(0),mr(0),mr(90)), --- RightArm | |
672 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15), mr(0), mr(0)),--LeftArm | |
673 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --RightLeg | |
674 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --LeftLeg | |
675 | }, .3, false) | |
676 | ||
677 | game:GetService("RunService").RenderStepped:wait() | |
678 | local random = math.random(-50, 50) | |
679 | local random2 = math.random(-65, 65) | |
680 | local random3 = math.random(-45, 45) | |
681 | ||
682 | ||
683 | local Bullet = Instance.new("Part", char) | |
684 | Bullet.Shape = "Ball" | |
685 | Bullet.BrickColor = BrickColor.new("New Yeller") | |
686 | Bullet.Anchored = true | |
687 | Bullet.CanCollide = false | |
688 | Bullet.Material = "Neon" | |
689 | Bullet.Size = Vector3.new(0.1, 0.1, 0.1) | |
690 | Bullet.CFrame = RightArm.CFrame - Vector3.new(0,0,1) | |
691 | ||
692 | coroutine.resume(coroutine.create(function() | |
693 | for o = 1,150 do | |
694 | game:GetService("RunService").RenderStepped:wait() | |
695 | Bullet.Size = Bullet.Size + Vector3.new(0.001, 0.001, 0.001) | |
696 | Bullet.CFrame = Bullet.CFrame:lerp (Bullet.CFrame*CFrame.new (random/50,random2/70,random3/34),.1) | |
697 | end | |
698 | wait(1) | |
699 | Bullet.Anchored = false | |
700 | local bv = Instance.new("BodyVelocity") | |
701 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
702 | bv.velocity = Mouse.Hit.lookVector *100 | |
703 | bv.Parent = Bullet | |
704 | local Fired = true | |
705 | Bullet.Touched:Connect(function(hit) | |
706 | if Fired == true then | |
707 | ||
708 | if hit.Parent.Name == char.Name then return end | |
709 | Bullet.Anchored = true | |
710 | coroutine.wrap(function() | |
711 | for o = 1,150 do | |
712 | game:GetService("RunService").RenderStepped:wait() | |
713 | Bullet.Size = Bullet.Size + Vector3.new(5, 5, 5) | |
714 | end | |
715 | end) | |
716 | ||
717 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
718 | hit.Parent:BreakJoints() | |
719 | ||
720 | for _, y in pairs(hit.Parent:GetChildren()) do | |
721 | if y:IsA("MeshPart") or y:IsA("Part") then | |
722 | y.Anchored = true | |
723 | y.Material = "Neon" | |
724 | y:ClearAllChildren() | |
725 | else | |
726 | y:Destroy() | |
727 | end | |
728 | end | |
729 | end | |
730 | Bullet:Destroy() | |
731 | AnimEnabled = true | |
732 | char.Humanoid.WalkSpeed = 80 | |
733 | end | |
734 | end) | |
735 | end)) | |
736 | ||
737 | ||
738 | ||
739 | ||
740 | ||
741 | end | |
742 | end)) | |
743 | end | |
744 | ||
745 | ||
746 | function Transform() | |
747 | if Mode == "Guest" then | |
748 | char.Humanoid.WalkSpeed = 0 | |
749 | char.Humanoid.JumpPower = 0 | |
750 | ||
751 | local Part = Instance.new("Part", char) | |
752 | Part.Anchored = true | |
753 | Part.CanCollide = false | |
754 | Part.Position = Torso.Position | |
755 | Part.Size = Vector3.new(1,1,1) | |
756 | Part.Material = "Neon" | |
757 | local Mesh = Instance.new("SpecialMesh", Part) | |
758 | Mesh.MeshType = "Sphere" | |
759 | ||
760 | coroutine.resume(coroutine.create(function() | |
761 | for i = 1,10 do | |
762 | game:GetService("RunService").RenderStepped:wait() | |
763 | for i = 1,30 do | |
764 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
765 | Part.Size = Part.Size + Vector3.new(2, 2, 2) | |
766 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 0), 0.1) | |
767 | end | |
768 | ||
769 | for i = 1,30 do | |
770 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
771 | Part.Size = Part.Size - Vector3.new(2, 2, 2) | |
772 | Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1) | |
773 | end | |
774 | end | |
775 | Theme.SoundId = "rbxassetid://305952044" | |
776 | TransformationSound:Play() | |
777 | local shirt = Instance.new("Shirt", char) | |
778 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587" | |
779 | BC.HeadColor = BrickColor.new("Light stone grey") | |
780 | BC.RightArmColor = BrickColor.new("Really black") | |
781 | BC.LeftArmColor = BrickColor.new("Really black") | |
782 | BC.RightLegColor = BrickColor.new("Really black") | |
783 | BC.LeftLegColor = BrickColor.new("Really black") | |
784 | BC.TorsoColor = BrickColor.new("Really black") | |
785 | Mesh.MeshType = "Cylinder" | |
786 | Part.Position = Torso.Position | |
787 | Part.Orientation = Vector3.new(0,0,90) | |
788 | for i = 1,200 do | |
789 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
790 | Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.1, 0.1) | |
791 | Part.Transparency = Part.Transparency + 0.005 | |
792 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1) | |
793 | end | |
794 | chatfunc("Im Even Stronger Now!11!!") | |
795 | char.Humanoid.WalkSpeed = 200 | |
796 | char.Humanoid.JumpPower = 30 | |
797 | end)) | |
798 | ||
799 | ||
800 | ||
801 | ||
802 | ||
803 | elseif Mode == "Guest666" then | |
804 | char.Humanoid.WalkSpeed = 0 | |
805 | char.Humanoid.JumpPower = 0 | |
806 | ||
807 | local Part = Instance.new("Part", char) | |
808 | Part.Anchored = true | |
809 | Part.CanCollide = false | |
810 | Part.Position = Torso.Position | |
811 | Part.Size = Vector3.new(1,1,1) | |
812 | Part.Material = "Neon" | |
813 | local Mesh = Instance.new("SpecialMesh", Part) | |
814 | Mesh.MeshType = "Sphere" | |
815 | ||
816 | coroutine.resume(coroutine.create(function() | |
817 | coroutine.resume(coroutine.create(function() | |
818 | for i = 1,10 do | |
819 | game:GetService("RunService").RenderStepped:wait() | |
820 | for i = 1,70 do | |
821 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
822 | Part.Size = Part.Size + Vector3.new(0.1, 0.1, 0.1) | |
823 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1) | |
824 | end | |
825 | ||
826 | for i = 1,70 do | |
827 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
828 | Part.Size = Part.Size - Vector3.new(0.1, 0.1, 0.1) | |
829 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 0, 0), 0.1) | |
830 | end | |
831 | end | |
832 | end)) | |
833 | for i = 1,50 do | |
834 | wait(math.random(0.0001, 1)) | |
835 | local random = math.random(-5, 5) | |
836 | local random2 = math.random(-5, 5) | |
837 | local random3 = math.random(-5, 5) | |
838 | local Part2 = Instance.new("Part", char) | |
839 | Part2.Anchored = true | |
840 | Part2.CanCollide = false | |
841 | Part2.Position = Torso.Position * Vector3.new(random*math.random(1,3), random2*math.random(1, 2), random3*math.random(1,2)) | |
842 | Part2.Size = Vector3.new(1,1,1) | |
843 | Part2.BrickColor = BrickColor.new("Really red") | |
844 | Part2.Material = "Neon" | |
845 | Part2.Orientation = Vector3.new(0,0,90) | |
846 | local Mesh2 = Instance.new("SpecialMesh", Part2) | |
847 | Mesh2.MeshType = "Cylinder" | |
848 | Mesh2.Scale = Vector3.new(0.1, 10, 10) | |
849 | coroutine.resume(coroutine.create(function() | |
850 | for i = 1,200 do | |
851 | game:GetService("RunService").RenderStepped:wait() | |
852 | Mesh2.Scale = Mesh2.Scale + Vector3.new(50,0,0) | |
853 | Part2.Transparency = Part2.Transparency + 0.005 | |
854 | if Part2.Transparency >= 1 then | |
855 | Part2:Destroy() | |
856 | end | |
857 | end | |
858 | end)) | |
859 | end | |
860 | TransformationSound:Play() | |
861 | ||
862 | Theme.SoundId = "rbxassetid://289016480" | |
863 | ||
864 | local Part3 = Instance.new("Part", char) | |
865 | Part3.Anchored = false | |
866 | Part3.CanCollide = false | |
867 | Part3.Position = Torso.Position | |
868 | Part3.Size = Vector3.new(0.2,0.2,0.2) | |
869 | Part3.Material = "Neon" | |
870 | Part3.BrickColor = BrickColor.new("Really red") | |
871 | Part3.Name = "Eye1" | |
872 | local Mesh3 = Instance.new("SpecialMesh", Part3) | |
873 | Mesh3.MeshType = "Sphere" | |
874 | local EyeWeld1 = Instance.new("Weld", Part3) | |
875 | EyeWeld1.Part0 = char.Head | |
876 | EyeWeld1.Part1 = Part3 | |
877 | EyeWeld1.C0 = CFrame.new(-0.2,0.15,-0.52) | |
878 | ||
879 | local Part4 = Instance.new("Part", char) | |
880 | Part4.Anchored = false | |
881 | Part4.CanCollide = false | |
882 | Part4.Position = Torso.Position | |
883 | Part4.Size = Vector3.new(0.2,0.2,0.2) | |
884 | Part4.Material = "Neon" | |
885 | Part4.BrickColor = BrickColor.new("Really red") | |
886 | Part4.Name = "Eye2" | |
887 | local Mesh4 = Instance.new("SpecialMesh", Part4) | |
888 | Mesh4.MeshType = "Sphere" | |
889 | local EyeWeld2 = Instance.new("Weld", Part4) | |
890 | EyeWeld2.Part0 = char.Head | |
891 | EyeWeld2.Part1 = Part4 | |
892 | EyeWeld2.C0 = CFrame.new(0.2,0.15,-0.52) | |
893 | ||
894 | char.Head.face:Destroy() | |
895 | local shirt = Instance.new("Shirt", char) | |
896 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587" | |
897 | BC.HeadColor = BrickColor.new("Really black") | |
898 | BC.RightArmColor = BrickColor.new("Really black") | |
899 | BC.LeftArmColor = BrickColor.new("Really black") | |
900 | BC.RightLegColor = BrickColor.new("Really black") | |
901 | BC.LeftLegColor = BrickColor.new("Really black") | |
902 | BC.TorsoColor = BrickColor.new("Really black") | |
903 | Mesh.MeshType = "Cylinder" | |
904 | Part.Position = Torso.Position | |
905 | Part.Orientation = Vector3.new(0,0,90) | |
906 | ||
907 | for i = 1,250 do | |
908 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
909 | Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.6, 0.6) | |
910 | Part.Transparency = Part.Transparency + 0.005 | |
911 | Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1) | |
912 | end | |
913 | chatfunc("I'm Gonna Kill You.") | |
914 | char.Humanoid.WalkSpeed = 3 | |
915 | char.Humanoid.JumpPower = 30 | |
916 | end)) | |
917 | end | |
918 | end | |
919 | ||
920 | ||
921 | ||
922 | function WipeOut() | |
923 | char.Humanoid.WalkSpeed = 0 | |
924 | char.Humanoid.JumpPower = 0 | |
925 | ||
926 | local Torsoo = findNearestTorso2(char.Torso.Position) | |
927 | for _, o in pairs(Torsoo.Parent:GetChildren()) do | |
928 | if o:IsA("Part") or o:IsA("MeshPart") then | |
929 | o.Anchored = true | |
930 | end | |
931 | end | |
932 | char.Torso.CFrame = Torsoo.CFrame * CFrame.new(0,0,2) | |
933 | AnimEnabled = false | |
934 | ||
935 | for i = 1,10 do | |
936 | wait() | |
937 | PlayAnimationFromTable({ | |
938 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso, | |
939 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head | |
940 | ||
941 | CFrame.new(1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm | |
942 | CFrame.new(-1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm | |
943 | ||
944 | CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg | |
945 | CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg | |
946 | }, .3, false) | |
947 | end | |
948 | chatfunc("Shhh.... Don't Move.") | |
949 | wait(2) | |
950 | coroutine.resume(coroutine.create(function() | |
951 | for i = 1,10 do | |
952 | wait() | |
953 | PlayAnimationFromTable({ | |
954 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso, | |
955 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head | |
956 | ||
957 | CFrame.new(1,1.5,-2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm | |
958 | CFrame.new(-1,0.7,0.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm | |
959 | ||
960 | CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg | |
961 | CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg | |
962 | }, .8, false) | |
963 | end | |
964 | end)) | |
965 | NeckSnap:Play() | |
966 | for u = 1,10 do | |
967 | wait() | |
968 | Torsoo.Parent.Head.Orientation = Torsoo.Parent.Head.Orientation:lerp(Vector3.new(0,0,mr(-180)), 0.8) | |
969 | end | |
970 | wait(2) | |
971 | chatfunc("Go To Sleep.") | |
972 | Torsoo.Parent.Head.Anchored = false | |
973 | AnimEnabled = true | |
974 | human.JumpPower = 30 | |
975 | human.WalkSpeed = 3 | |
976 | end | |
977 | ||
978 | ||
979 | ||
980 | Mouse.KeyDown:Connect(function(kk) | |
981 | if kk == "r" then | |
982 | NoobBullets() | |
983 | elseif kk == "x" then | |
984 | if Mode == "Guest666" then | |
985 | WipeOut() | |
986 | end | |
987 | elseif kk == "f" then | |
988 | if Mode == "Noob" then | |
989 | chatfunc("BEHOLD!1!") | |
990 | wait(1) | |
991 | Mode = "Guest" | |
992 | Transform() | |
993 | elseif Mode == "Guest" then | |
994 | chatfunc("Now Im Angry...") | |
995 | Mode = "Guest666" | |
996 | Transform() | |
997 | end | |
998 | end | |
999 | end) | |
1000 | ||
1001 | ||
1002 | ||
1003 | ||
1004 | ArtificialHB = Create("BindableEvent", script){ | |
1005 | Parent = script, | |
1006 | Name = "Heartbeat", | |
1007 | } | |
1008 | ||
1009 | script:WaitForChild("Heartbeat") | |
1010 | ||
1011 | frame = 1 / 30 | |
1012 | tf = 0 | |
1013 | allowframeloss = false | |
1014 | tossremainder = false | |
1015 | lastframe = tick() | |
1016 | script.Heartbeat:Fire() | |
1017 | ||
1018 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1019 | tf = tf + s | |
1020 | if tf >= frame then | |
1021 | if allowframeloss then | |
1022 | script.Heartbeat:Fire() | |
1023 | lastframe = tick() | |
1024 | else | |
1025 | for i = 1, math.floor(tf / frame) do | |
1026 | script.Heartbeat:Fire() | |
1027 | end | |
1028 | lastframe = tick() | |
1029 | end | |
1030 | if tossremainder then | |
1031 | tf = 0 | |
1032 | else | |
1033 | tf = tf - frame * math.floor(tf / frame) | |
1034 | end | |
1035 | end | |
1036 | end) | |
1037 | ||
1038 | function swait(num) | |
1039 | if num == 0 or num == nil then | |
1040 | ArtificialHB.Event:wait() | |
1041 | else | |
1042 | for i = 0, num do | |
1043 | ArtificialHB.Event:wait() | |
1044 | end | |
1045 | end | |
1046 | end | |
1047 | ||
1048 | ||
1049 | ||
1050 | ||
1051 | ||
1052 | New = function(Object, Parent, Name, Data) | |
1053 | local Object = Instance.new(Object) | |
1054 | for Index, Value in pairs(Data or {}) do | |
1055 | Object[Index] = Value | |
1056 | end | |
1057 | Object.Parent = Parent | |
1058 | Object.Name = Name | |
1059 | return Object | |
1060 | end | |
1061 | function rayCast(Position, Direction, Range, Ignore) | |
1062 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1063 | end | |
1064 | ||
1065 | ||
1066 | ||
1067 | ||
1068 | coroutine.wrap(function() | |
1069 | while 1 do | |
1070 | swait() | |
1071 | if doe <= 360 then | |
1072 | doe = doe + 2 | |
1073 | else | |
1074 | doe = 0 | |
1075 | end | |
1076 | end | |
1077 | end)() | |
1078 | while true do | |
1079 | swait() | |
1080 | ||
1081 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1082 | velocity = RootPart.Velocity.y | |
1083 | sine = sine + change | |
1084 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1085 | if RootPart.Velocity.y > 1 and hit == nil and AnimEnabled == true then | |
1086 | if Mode == "Guest666" then | |
1087 | ||
1088 | Anim = "Jump" | |
1089 | ||
1090 | PlayAnimationFromTable({ | |
1091 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1092 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(0), mr(0)), ----- Head | |
1093 | CFrame.new(1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(5)), --- RightArm | |
1094 | CFrame.new(-1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(-5)),--LeftArm | |
1095 | ||
1096 | CFrame.new(0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(5)), --RightLeg | |
1097 | CFrame.new(-0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(-5)), --LeftLeg | |
1098 | }, .3, false) | |
1099 | ||
1100 | elseif Mode == "Noob" or Mode == "Guest" then | |
1101 | Anim = "Jump" | |
1102 | ||
1103 | PlayAnimationFromTable({ | |
1104 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1105 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0.3) * CFrame.Angles(mr(50), mr(0), mr(0)), ----- Head | |
1106 | CFrame.new(1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(0)), --- RightArm | |
1107 | CFrame.new(-1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(0)),--LeftArm | |
1108 | CFrame.new(0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(30)), --RightLeg | |
1109 | CFrame.new(-0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(-30)), --LeftLeg | |
1110 | }, .3, false) | |
1111 | end | |
1112 | ||
1113 | elseif RootPart.Velocity.y < -1 and hit == nil and AnimEnabled == true then | |
1114 | if Mode == "Guest666" then | |
1115 | ||
1116 | Anim = "Fall" | |
1117 | PlayAnimationFromTable({ | |
1118 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1119 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head | |
1120 | CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0),0,mr(20)), --- RightArm | |
1121 | CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), 0, mr(-20)),--LeftArm | |
1122 | CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --RightLeg | |
1123 | CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --LeftLeg | |
1124 | }, .3, false) | |
1125 | ||
1126 | elseif Mode == "Guest" or Mode == "Noob" then | |
1127 | ||
1128 | Anim = "Fall" | |
1129 | ||
1130 | PlayAnimationFromTable({ | |
1131 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1132 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head | |
1133 | CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(90)), --- RightArm | |
1134 | CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(-90)),--LeftArm | |
1135 | CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(10)), --RightLeg | |
1136 | CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(-10)), --LeftLeg | |
1137 | }, .3, false) | |
1138 | end | |
1139 | ||
1140 | elseif Torsovelocity < 1 and hit ~= nil and AnimEnabled == true then | |
1141 | if Mode == "Guest666" then | |
1142 | ||
1143 | Anim = "Idle" | |
1144 | change = 1 | |
1145 | PlayAnimationFromTable({ | |
1146 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), -- Torso, | |
1147 | CFrame.new(0,1.2,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), mr(0), mr(10)), ----- Head | |
1148 | CFrame.new(1.5,0,-0.4) * CFrame.new(0, 0-.3*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(25),mr(0),mr(0)), --- RightArm | |
1149 | CFrame.new(-1.5,0,-0.4) * CFrame.new(0, 0-.3*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(25), mr(0), mr(0)),--LeftArm | |
1150 | CFrame.new(0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(26), mr(-5), mr(5)), --RightLeg | |
1151 | CFrame.new(-0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(5), mr(-5)), --LeftLeg | |
1152 | }, .3, false) | |
1153 | ||
1154 | ||
1155 | elseif Mode == "Guest" or Mode == "Noob" then | |
1156 | ||
1157 | ||
1158 | Anim = "Idle" | |
1159 | change = 1 | |
1160 | PlayAnimationFromTable({ | |
1161 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(0), 0), -- Torso, | |
1162 | CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(0), 0), ----- Head | |
1163 | CFrame.new(1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15),mr(0),mr(0)), --- RightArm | |
1164 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15), mr(0), mr(0)),--LeftArm | |
1165 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-5), mr(5)), --RightLeg | |
1166 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(5), mr(-5)), --LeftLeg | |
1167 | }, .3, false) | |
1168 | end | |
1169 | ||
1170 | ||
1171 | elseif Torsovelocity > 2 and hit ~= nil and AnimEnabled == true then | |
1172 | if Mode == "Guest666" then | |
1173 | ||
1174 | Anim = "Walk" | |
1175 | PlayAnimationFromTable({ | |
1176 | CFrame.new(0,0,0) * CFrame.new(0, 0-0.1*math.sin(tick()*2), 0) * CFrame.Angles(-0.4, 0, 0+RootPart.RotVelocity.Y/30), -- Torso | |
1177 | CFrame.new(-0.2,1.5,-0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0.5), -- Head | |
1178 | ||
1179 | CFrame.new(1.5, 0, 0.2) * CFrame.new(0, 0-0.2*math.sin(tick()*2), 0 - 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((-1) + 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1180 | CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0-0.2*math.sin(tick()*2), 0 + 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((-1) - 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1181 | ||
1182 | CFrame.new(0.4,-2,0) * CFrame.new(0, 0, 0+ 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((10) - 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1183 | CFrame.new(-0.4,-2,0) * CFrame.new(0, 0, 0- 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((10) + 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1184 | }, .3, false) | |
1185 | ||
1186 | ||
1187 | elseif Mode == "Noob" or Mode == "Guest" then | |
1188 | ||
1189 | Anim = "Walk" | |
1190 | PlayAnimationFromTable({ | |
1191 | CFrame.new(0,0,0) * CFrame.new(0, 0-0.5*math.sin(tick()*20), 0) * CFrame.Angles(0.4, 0, 0+RootPart.RotVelocity.Y/30), -- Torso | |
1192 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0), -- Head | |
1193 | ||
1194 | CFrame.new(1.3, 0.9, 0.7) * CFrame.new(0, 0 - 0.3 * math.cos((sine) / 3), 0- 0.3 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(-110 + math.random(1, 30) * math.cos((sine) / 3)), 0, 0- math.rad(0 + math.random(1, 30) * math.cos((sine) / 3)) -RootPart.RotVelocity.Y/33), | |
1195 | CFrame.new(-1.3,0.9,0.7) * CFrame.new(0, 0 + 0.3 * math.cos((sine) / 3), 0+ 0.3 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(-110 - math.random(1, 30) * math.cos((sine) / 3)), 0, 0 - math.rad(0 - math.random(1, 30) * math.cos((sine) / 3)) -RootPart.RotVelocity.Y/33), | |
1196 | ||
1197 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad((-0.4) - 100 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33), | |
1198 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad((-0.4) + 100 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33), | |
1199 | }, .3, false) | |
1200 | end | |
1201 | end | |
1202 | ||
1203 | end |