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