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