SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | --This is just a edit of the wave visualizer | |
143 | --Here's the output only button version https://hastebin.com/raw/adejetiput | |
144 | cam=workspace.CurrentCamera | |
145 | ||
146 | print(" V - CMDS - V ") | |
147 | print("> pitch num") | |
148 | print("> noglobe") | |
149 | print("> globe") | |
150 | print("> play musicid") | |
151 | print("> volume num") | |
152 | print("> zsize num") | |
153 | print("> xsize num") | |
154 | print("> follow npc or player name") | |
155 | print("> emitsize num") | |
156 | print("> maxdist num") | |
157 | print("> stop npc or player name") | |
158 | print("> pfollow like follow") | |
159 | print("> trans num") | |
160 | print("> ysize num") | |
161 | --Settings #1 | |
162 | CH1 = 1 | |
163 | SECON = 0.5 | |
164 | SECTION = 3 | |
165 | TIMES = 1 | |
166 | ||
167 | -- Colors and disco_ality | |
168 | function rainb(hue) | |
169 | local section = hue % TIMES * SECTION | |
170 | local secondary = SECON * math.pi * (section % TIMES) | |
171 | if section < 1 then | |
172 | return Color3.new(CH1 , CH1 - math.cos(secondary), CH1 - math.sin(secondary)) | |
173 | elseif section < 2 then | |
174 | return Color3.new(CH1 - math.sin(secondary), CH1 , CH1 - math.cos(secondary)) | |
175 | else | |
176 | return Color3.new(CH1 - math.cos(secondary),CH1 - math.sin(secondary), CH1 ) | |
177 | end | |
178 | end | |
179 | ||
180 | --Settings #2 | |
181 | print("// Some parts fixed by Omega_Phoenix #Yeet, and Animescapetower//--") | |
182 | local player = game:GetService("Players").LocalPlayer | |
183 | local tofollow = player | |
184 | local char = tofollow.Character | |
185 | local ispeed = 345 | |
186 | local ispeed2 = 123 | |
187 | local i2 = 0 | |
188 | local primary = char.PrimaryPart | |
189 | ||
190 | ||
191 | ||
192 | -- Visualizer Stuff | |
193 | local sine = 50 | |
194 | local sine2 = 34 | |
195 | local size = 7.54 | |
196 | local maxTabs = 12 | |
197 | local ai = 360/maxTabs | |
198 | hrp=char["HumanoidRootPart"] | |
199 | rd=math.rad | |
200 | local fold = Instance.new("Folder") | |
201 | fold.Name = "Vis" | |
202 | fold.Parent = char | |
203 | -------------------------------------- | |
204 | local siner = coroutine.wrap(function() | |
205 | while true do wait() | |
206 | sine = sine+1 | |
207 | end | |
208 | end) | |
209 | siner() | |
210 | -------------------------------------- | |
211 | function TweenMe(joint,prop,cfrmz,alp,es,ed) | |
212 | local ts = game:GetService("TweenService") | |
213 | local ti = TweenInfo.new(alp,Enum.EasingStyle[es],Enum.EasingDirection[ed],0,false,0) | |
214 | local pp = {[prop] = cfrmz} | |
215 | local tween = ts:Create(joint,ti,pp) | |
216 | tween:Play() | |
217 | end | |
218 | function createPart() | |
219 | local p = Instance.new("Part") | |
220 | p.Name = "Dead" | |
221 | p.Anchored = true | |
222 | ||
223 | p.Transparency = 1 | |
224 | p.CanCollide = false | |
225 | p.TopSurface = "Smooth" | |
226 | p.BottomSurface = "Smooth" | |
227 | p.Material = "Neon" | |
228 | p.Size = Vector3.new(0.5,0.12,0.5) | |
229 | p.CFrame = CFrame.new(hrp.CFrame.p) | |
230 | ||
231 | return p | |
232 | ||
233 | ||
234 | ||
235 | end | |
236 | ||
237 | ||
238 | function createPart2() | |
239 | local p3 = Instance.new("Part") | |
240 | p3.Name = "Dead2" | |
241 | p3.Anchored = true | |
242 | ||
243 | p3.Transparency = 0 | |
244 | p3.CanCollide = false | |
245 | p3.TopSurface = "Smooth" | |
246 | p3.BottomSurface = "Smooth" | |
247 | p3.Material = "Neon" | |
248 | p3.Size = Vector3.new(1.36, size, 1.53) | |
249 | p3.CFrame = CFrame.new(hrp.CFrame.p) | |
250 | ||
251 | ||
252 | return p3 | |
253 | ||
254 | ||
255 | ||
256 | end | |
257 | ||
258 | function createparticle() | |
259 | ||
260 | ParticleEmitter0 = Instance.new("ParticleEmitter") | |
261 | ParticleEmitter0.Name = "Parti" | |
262 | ParticleEmitter0.Rotation = NumberRange.new(3, 3) | |
263 | ParticleEmitter0.Size = NumberSequence.new(1,1) | |
264 | ||
265 | ParticleEmitter0.Texture = "rbxassetid://340545335" | |
266 | ParticleEmitter0.Lifetime = NumberRange.new(0.5) | |
267 | ParticleEmitter0.Rate = 788 | |
268 | ParticleEmitter0.RotSpeed = NumberRange.new( 0,0) | |
269 | ParticleEmitter0.Speed = NumberRange.new(0,0) | |
270 | ParticleEmitter0.Transparency = NumberSequence.new(0.5) | |
271 | ParticleEmitter0.LightEmission = 1 | |
272 | ParticleEmitter0.LightInfluence = 1 | |
273 | ParticleEmitter0.SpreadAngle = Vector2.new(0,0) | |
274 | ParticleEmitter0.VelocitySpread = 0 | |
275 | ||
276 | return ParticleEmitter0 | |
277 | end | |
278 | ||
279 | ||
280 | ||
281 | ||
282 | ||
283 | ||
284 | ||
285 | ||
286 | ||
287 | ||
288 | ||
289 | ||
290 | ||
291 | local idk = 4 | |
292 | local eh = 360/idk | |
293 | for i = 1,360/ai do | |
294 | ||
295 | local p = createPart() | |
296 | ||
297 | p.Parent = fold | |
298 | ||
299 | p.CFrame = CFrame.new(hrp.CFrame.p)*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,1*math.cos(sine/ispeed),10) | |
300 | ||
301 | ||
302 | end | |
303 | ||
304 | ||
305 | for i = 1,360/ai do | |
306 | ||
307 | local p2 = createPart() | |
308 | ||
309 | p2.Parent = fold | |
310 | ||
311 | p2.CFrame = CFrame.new(hrp.CFrame.p)*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,1*math.cos(sine/ispeed),10) | |
312 | ||
313 | ||
314 | end | |
315 | ||
316 | local p23 = createPart2() | |
317 | ||
318 | ||
319 | ||
320 | ||
321 | ||
322 | ||
323 | ||
324 | ||
325 | --Music | |
326 | local musics = Instance.new("Sound",hrp) | |
327 | ||
328 | ||
329 | -------------------------------------- game:GetService("RunService").RenderStepped:Wait() | |
330 | --Visualizer CFRAME and tweening | |
331 | local music = coroutine.wrap(function() | |
332 | while true do wait() | |
333 | local gc = fold:GetChildren() | |
334 | for i = 1,#gc do | |
335 | sine2=sine2+.05 | |
336 | local l = tick()+sine2 | |
337 | local p = gc[i] | |
338 | ||
339 | local size2 = size*45 | |
340 | p23.CFrame = p23.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(size),math.rad(size2),math.rad(size)) | |
341 | p23.Size = Vector3.new(0.5,size,0.5) | |
342 | TweenMe(p,'CFrame',hrp.CFrame*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,size*math.sin(l)*.05,musics.PlaybackLoudness/50),0.5,'Sine','Out') | |
343 | end | |
344 | end | |
345 | end) | |
346 | music() | |
347 | -----------local xsize = 1 | |
348 | local xsize = 1 | |
349 | local zsize = 1 | |
350 | local ysize = 100 | |
351 | local trans = 0.7 | |
352 | size = 4 | |
353 | ||
354 | --PointLight and running visualizer | |
355 | ||
356 | PointLight0 = Instance.new("PointLight") | |
357 | ||
358 | PointLight0.Color = Color3.new(1, 1, 0.498039) | |
359 | PointLight0.Brightness = 435 | |
360 | PointLight0.Parent = hrp | |
361 | PointLight0.Range = 60 | |
362 | PointLight0.Color = Color3.new(1, 1, 0.498039) | |
363 | ||
364 | ||
365 | ParticleEmitter0 = Instance.new("ParticleEmitter") | |
366 | ParticleEmitter0.Name = "Parti" | |
367 | ParticleEmitter0.Rotation = NumberRange.new(3, 3) | |
368 | ParticleEmitter0.Size = NumberSequence.new(1,1) | |
369 | ||
370 | ParticleEmitter0.Texture = "rbxassetid://340545335" | |
371 | ParticleEmitter0.Lifetime = NumberRange.new(0.5) | |
372 | ParticleEmitter0.Rate = 788 | |
373 | ParticleEmitter0.Parent = hrp | |
374 | ParticleEmitter0.RotSpeed = NumberRange.new( 0,0) | |
375 | ParticleEmitter0.Speed = NumberRange.new(0,0) | |
376 | ParticleEmitter0.Transparency = NumberSequence.new(0.5) | |
377 | ParticleEmitter0.LightEmission = 1 | |
378 | ParticleEmitter0.LightInfluence = 1 | |
379 | ParticleEmitter0.SpreadAngle = Vector2.new(0,0) | |
380 | ParticleEmitter0.VelocitySpread = 0 | |
381 | ||
382 | ||
383 | ||
384 | game:GetService("RunService").Heartbeat:connect(function() | |
385 | local Clr = rainb(tick()/3) | |
386 | local gc = fold:GetChildren() | |
387 | for i = 2,#gc,1 do | |
388 | ||
389 | i2 = i2 - 2 | |
390 | ||
391 | gc[i].Color = gc[i].Color:lerp(Color3.new(Clr.r,Clr.g,Clr.b),.5) | |
392 | gc[i].Size = gc[i].Size:lerp(Vector3.new(xsize,musics.PlaybackLoudness/ysize, zsize),0.6) | |
393 | gc[i].Transparency = trans | |
394 | ||
395 | hrp.Parti.Rate = musics.PlaybackLoudness/ysize * 21 | |
396 | hrp.Parti.SpreadAngle = Vector2.new(musics.PlaybackLoudness/ysize,musics.PlaybackLoudness/ysize) | |
397 | hrp.Parti.Size = NumberSequence.new(musics.PlaybackLoudness/ysize,musics.PlaybackLoudness/ysize) | |
398 | hrp.Parti.Color=ColorSequence.new(Color3.new(Clr.r,Clr.g,Clr.b),.5,Color3.new(Clr.r,Clr.g,Clr.b),.5,Color3.new(Clr.r,Clr.g,Clr.b),.5) | |
399 | hrp.Parti.Transparency = NumberSequence.new(trans) | |
400 | PointLight0.Color = gc[i].Color | |
401 | PointLight0.Range = 12+musics.PlaybackLoudness/ysize * 2* 4 - 0.1 | |
402 | ||
403 | ||
404 | ||
405 | end | |
406 | end) | |
407 | local pbl = 30 | |
408 | ||
409 | ||
410 | --Comands and stuff | |
411 | volume = 10 | |
412 | command = '/' | |
413 | ||
414 | ||
415 | ||
416 | print("> secon ") | |
417 | print("> section") | |
418 | print("> times") | |
419 | print("> error") | |
420 | print("> print>") | |
421 | print("> parent") | |
422 | print("> prefix") | |
423 | print("The prefix is ".. command) | |
424 | ||
425 | -- more music | |
426 | musics.Looped = true | |
427 | musics.Name = "music" | |
428 | musics.Volume = 10 | |
429 | musics.SoundId = "rbxassetid://148515294" | |
430 | ||
431 | --Chat System for vis | |
432 | local playing = false | |
433 | player.Chatted:connect(function(chat) | |
434 | local msg = chat | |
435 | if chat:sub(1,3) == "/vis " then | |
436 | local num = chat:sub(4) | |
437 | size = num | |
438 | elseif chat:sub(1,6) == command.."play " then | |
439 | ||
440 | ||
441 | ||
442 | musics.Volume = volume | |
443 | musics.MaxDistance = 50 | |
444 | musics.EmitterSize = 50 | |
445 | musics:Play() | |
446 | ||
447 | wait(1) | |
448 | local id = chat:sub(7) | |
449 | musics.SoundId='rbxassetid://'..id | |
450 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(chat:match'%d+') | |
451 | print("Now playing: "..Asset.Name.." ID: "..chat:match'%d+'.."") | |
452 | ||
453 | while wait() do | |
454 | ||
455 | if musics.Playing then | |
456 | ||
457 | local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-10, 10)/10, math.random(-10, 10)/10, 0) | |
458 | local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude | |
459 | local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-12, 12)/3500, math.random(-12, 12)/3500, 0) | |
460 | cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll) | |
461 | ||
462 | end | |
463 | ||
464 | end | |
465 | ||
466 | local visualize = coroutine.wrap(function() | |
467 | repeat wait() | |
468 | wait(0.005) | |
469 | local p24 = createPart2() | |
470 | for i = 1,360/ai do | |
471 | ||
472 | ||
473 | ||
474 | ||
475 | end | |
476 | ||
477 | until playing == false | |
478 | end) | |
479 | visualize() | |
480 | ||
481 | ||
482 | ||
483 | ||
484 | ||
485 | ||
486 | ||
487 | elseif chat == '/pitch<1 ' then | |
488 | hrp.music:Play() | |
489 | hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed + 1.54 | |
490 | elseif chat:sub(1,7):lower():match(command..'pitch ') then | |
491 | ||
492 | char.HumanoidRootPart.music.PlaybackSpeed = chat:sub(8) | |
493 | ||
494 | elseif chat:sub(1,8):lower():match(command..'volume ') then | |
495 | volume = chat:sub(9) | |
496 | char.HumanoidRootPart.music.Volume = volume | |
497 | ||
498 | elseif chat == command..'noglobe' then | |
499 | hrp.music:Play() | |
500 | hrp.music.MaxDistance = 100 | |
501 | hrp.music.EmitterSize = 100 | |
502 | ||
503 | ||
504 | ||
505 | elseif chat == command..'globe' then | |
506 | hrp.music:Play() | |
507 | hrp.music.MaxDistance = 500 | |
508 | hrp.music.EmitterSize = 500 | |
509 | ||
510 | elseif chat:sub(1,7):lower():match(command..'emitsize ') then | |
511 | ||
512 | char.HumanoidRootPart.music.EmitterSize = chat:sub(8) | |
513 | ||
514 | elseif chat:sub(1,7):lower():match(command..'maxdist ') then | |
515 | ||
516 | char.HumanoidRootPart.music.MaxDistance = chat:sub(8) | |
517 | ||
518 | elseif chat:sub(1,8):lower():match(command..'follow ') then | |
519 | for i,v in pairs(workspace:children'') do | |
520 | if v.Name:lower():match(msg:sub(9):lower()) then | |
521 | hrp = v["Torso"] | |
522 | ||
523 | end | |
524 | end | |
525 | ||
526 | ||
527 | ||
528 | ||
529 | ||
530 | elseif chat:sub(1,8):lower():match(command..'stop ') then | |
531 | for i,v in pairs(workspace:children'') do | |
532 | if v.Name:lower():match(msg:sub(9):lower()) then | |
533 | musics:Stop() | |
534 | else | |
535 | musics.Volume = 0 | |
536 | end | |
537 | -- | |
538 | end | |
539 | elseif chat:sub(1,5):lower():match(command..'pbl ') then | |
540 | pbl = msg:sub(6) | |
541 | elseif chat:sub(1,7):lower():match(command..'xsize ') then | |
542 | xsize = msg:sub(8) | |
543 | elseif chat:sub(1,7):lower():match(command..'zsize ') then | |
544 | zsize = msg:sub(8) | |
545 | ||
546 | elseif chat:sub(1,7):lower():match(command..'trans ') then | |
547 | trans= msg:sub(8) | |
548 | elseif chat:sub(1,7):lower():match(command..'ysize') then | |
549 | ysize= msg:sub(8) | |
550 | ||
551 | ||
552 | ||
553 | elseif chat:sub(1,7):lower():match(command..'secon') then | |
554 | SECON= msg:sub(8) | |
555 | ||
556 | elseif chat:sub(1,7):lower():match(command..'time') then | |
557 | TIMES= msg:sub(8) | |
558 | ||
559 | elseif chat:sub(1,7):lower():match(command..'section ') then | |
560 | SECTION = msg:sub(8) | |
561 | elseif chat:sub(1,7):lower():match(command..'error ') then | |
562 | error(player.Name.." : ".. msg:sub(8)) | |
563 | ||
564 | elseif chat:sub(1,7):lower():match(command..'print>') then | |
565 | ||
566 | print(player.Name.." : ".. msg:sub(8)) | |
567 | ||
568 | elseif chat:sub(1,7):lower():match(command..'parent') then | |
569 | ||
570 | music.Parent = msg:sub(8) | |
571 | ||
572 | elseif chat:sub(1,7):lower():match(command..'prefix') then | |
573 | ||
574 | command = msg:sub(8) | |
575 | ||
576 | nowplaying = Instance.new("BillboardGUI") | |
577 | nowplaying.Parent = char.Head | |
578 | nowplaying.CFrame = Vector3.new(0,1.2,0) | |
579 | nowplaying.Text = "Now playing: "..Asset.Name.." ID: "..chat:match'%d+'.."" | |
580 | ||
581 | print('Prefix is now '.. command) | |
582 | elseif chat == "/stop324924332880249832324" then-- DO NOT RUN THIS COMMAND THIS WILL RISK YOUR VISUALIZER, AND BREAK IT<note by anime | |
583 | if hrp:FindFirstChild("music") ~= nil then | |
584 | local p244 = createPart2() | |
585 | size = 7.54 | |
586 | p244.Size = Vector3.new(size,size,size) | |
587 | wait(1) | |
588 | size = 7.54 | |
589 | playing = false | |
590 | hrp["music"]:Remove() | |
591 | ||
592 | ||
593 | ||
594 | ||
595 | ||
596 | end | |
597 | ||
598 | local X --\ | |
599 | local Y ---> Don't edit these. | |
600 | local Z --/ | |
601 | -------------------------------------------------------------- | |
602 | ||
603 | -- Rotations per frame: | |
604 | ||
605 | X= -- Degree of rotation per frame on X Axis: | |
606 | ||
607 | 1.0 | |
608 | ||
609 | -------------------------------------------------------------- | |
610 | ||
611 | Y= -- Degree of rotation per frame on Y Axis: | |
612 | ||
613 | 1.0 | |
614 | ||
615 | -------------------------------------------------------------- | |
616 | ||
617 | Z= -- Degree of rotation per frame on Z Axis: | |
618 | ||
619 | 1.0 | |
620 | ||
621 | ||
622 | -- NOTE: A frame is usually around 0.03 seconds. | |
623 | -------------------------------------------------------------- | |
624 | ||
625 | local p65 = createPart() | |
626 | ||
627 | while true do | |
628 | p65.CFrame = p65.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)) | |
629 | wait() -- When no number is provided, it will wait for one frame. | | | | |
630 | end -- | | [Z=Roll] | |
631 | -- | [Y=Rotation] | |
632 | -- [X=Pitch] | |
633 | ||
634 | ||
635 | end | |
636 | end) | |
637 | ||
638 | ||
639 | ||
640 | ||
641 | player.Character.Humanoid.MaxHealth = "Inf" | |
642 | ff = Instance.new("ForceField") | |
643 | ff.Parent = char | |
644 | ff.Visible = true |