Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
- --This is just a edit of the wave visualizer
- --Here's the output only button version https://hastebin.com/raw/adejetiput
- cam=workspace.CurrentCamera
- print(" V - CMDS - V ")
- print("> pitch num")
- print("> noglobe")
- print("> globe")
- print("> play musicid")
- print("> volume num")
- print("> zsize num")
- print("> xsize num")
- print("> follow npc or player name")
- print("> emitsize num")
- print("> maxdist num")
- print("> stop npc or player name")
- print("> pfollow like follow")
- print("> trans num")
- print("> ysize num")
- --Settings #1
- CH1 = 1
- SECON = 0.5
- SECTION = 3
- TIMES = 1
- -- Colors and disco_ality
- function rainb(hue)
- local section = hue % TIMES * SECTION
- local secondary = SECON * math.pi * (section % TIMES)
- if section < 1 then
- return Color3.new(CH1 , CH1 - math.cos(secondary), CH1 - math.sin(secondary))
- elseif section < 2 then
- return Color3.new(CH1 - math.sin(secondary), CH1 , CH1 - math.cos(secondary))
- else
- return Color3.new(CH1 - math.cos(secondary),CH1 - math.sin(secondary), CH1 )
- end
- end
- --Settings #2
- print("// Some parts fixed by Omega_Phoenix #Yeet, and Animescapetower//--")
- local player = game:GetService("Players").LocalPlayer
- local tofollow = player
- local char = tofollow.Character
- local ispeed = 345
- local ispeed2 = 123
- local i2 = 0
- local primary = char.PrimaryPart
- -- Visualizer Stuff
- local sine = 50
- local sine2 = 34
- local size = 7.54
- local maxTabs = 12
- local ai = 360/maxTabs
- hrp=char["HumanoidRootPart"]
- rd=math.rad
- local fold = Instance.new("Folder")
- fold.Name = "Vis"
- fold.Parent = char
- --------------------------------------
- local siner = coroutine.wrap(function()
- while true do wait()
- sine = sine+1
- end
- end)
- siner()
- --------------------------------------
- function TweenMe(joint,prop,cfrmz,alp,es,ed)
- local ts = game:GetService("TweenService")
- local ti = TweenInfo.new(alp,Enum.EasingStyle[es],Enum.EasingDirection[ed],0,false,0)
- local pp = {[prop] = cfrmz}
- local tween = ts:Create(joint,ti,pp)
- tween:Play()
- end
- function createPart()
- local p = Instance.new("Part")
- p.Name = "Dead"
- p.Anchored = true
- p.Transparency = 1
- p.CanCollide = false
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Material = "Neon"
- p.Size = Vector3.new(0.5,0.12,0.5)
- p.CFrame = CFrame.new(hrp.CFrame.p)
- return p
- end
- function createPart2()
- local p3 = Instance.new("Part")
- p3.Name = "Dead2"
- p3.Anchored = true
- p3.Transparency = 0
- p3.CanCollide = false
- p3.TopSurface = "Smooth"
- p3.BottomSurface = "Smooth"
- p3.Material = "Neon"
- p3.Size = Vector3.new(1.36, size, 1.53)
- p3.CFrame = CFrame.new(hrp.CFrame.p)
- return p3
- end
- function createparticle()
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Name = "Parti"
- ParticleEmitter0.Rotation = NumberRange.new(3, 3)
- ParticleEmitter0.Size = NumberSequence.new(1,1)
- ParticleEmitter0.Texture = "rbxassetid://340545335"
- ParticleEmitter0.Lifetime = NumberRange.new(0.5)
- ParticleEmitter0.Rate = 788
- ParticleEmitter0.RotSpeed = NumberRange.new( 0,0)
- ParticleEmitter0.Speed = NumberRange.new(0,0)
- ParticleEmitter0.Transparency = NumberSequence.new(0.5)
- ParticleEmitter0.LightEmission = 1
- ParticleEmitter0.LightInfluence = 1
- ParticleEmitter0.SpreadAngle = Vector2.new(0,0)
- ParticleEmitter0.VelocitySpread = 0
- return ParticleEmitter0
- end
- local idk = 4
- local eh = 360/idk
- for i = 1,360/ai do
- local p = createPart()
- p.Parent = fold
- 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)
- end
- for i = 1,360/ai do
- local p2 = createPart()
- p2.Parent = fold
- 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)
- end
- local p23 = createPart2()
- --Music
- local musics = Instance.new("Sound",hrp)
- -------------------------------------- game:GetService("RunService").RenderStepped:Wait()
- --Visualizer CFRAME and tweening
- local music = coroutine.wrap(function()
- while true do wait()
- local gc = fold:GetChildren()
- for i = 1,#gc do
- sine2=sine2+.05
- local l = tick()+sine2
- local p = gc[i]
- local size2 = size*45
- p23.CFrame = p23.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(size),math.rad(size2),math.rad(size))
- p23.Size = Vector3.new(0.5,size,0.5)
- 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')
- end
- end
- end)
- music()
- -----------local xsize = 1
- local xsize = 1
- local zsize = 1
- local ysize = 100
- local trans = 0.7
- size = 4
- --PointLight and running visualizer
- PointLight0 = Instance.new("PointLight")
- PointLight0.Color = Color3.new(1, 1, 0.498039)
- PointLight0.Brightness = 435
- PointLight0.Parent = hrp
- PointLight0.Range = 60
- PointLight0.Color = Color3.new(1, 1, 0.498039)
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Name = "Parti"
- ParticleEmitter0.Rotation = NumberRange.new(3, 3)
- ParticleEmitter0.Size = NumberSequence.new(1,1)
- ParticleEmitter0.Texture = "rbxassetid://340545335"
- ParticleEmitter0.Lifetime = NumberRange.new(0.5)
- ParticleEmitter0.Rate = 788
- ParticleEmitter0.Parent = hrp
- ParticleEmitter0.RotSpeed = NumberRange.new( 0,0)
- ParticleEmitter0.Speed = NumberRange.new(0,0)
- ParticleEmitter0.Transparency = NumberSequence.new(0.5)
- ParticleEmitter0.LightEmission = 1
- ParticleEmitter0.LightInfluence = 1
- ParticleEmitter0.SpreadAngle = Vector2.new(0,0)
- ParticleEmitter0.VelocitySpread = 0
- game:GetService("RunService").Heartbeat:connect(function()
- local Clr = rainb(tick()/3)
- local gc = fold:GetChildren()
- for i = 2,#gc,1 do
- i2 = i2 - 2
- gc[i].Color = gc[i].Color:lerp(Color3.new(Clr.r,Clr.g,Clr.b),.5)
- gc[i].Size = gc[i].Size:lerp(Vector3.new(xsize,musics.PlaybackLoudness/ysize, zsize),0.6)
- gc[i].Transparency = trans
- hrp.Parti.Rate = musics.PlaybackLoudness/ysize * 21
- hrp.Parti.SpreadAngle = Vector2.new(musics.PlaybackLoudness/ysize,musics.PlaybackLoudness/ysize)
- hrp.Parti.Size = NumberSequence.new(musics.PlaybackLoudness/ysize,musics.PlaybackLoudness/ysize)
- 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)
- hrp.Parti.Transparency = NumberSequence.new(trans)
- PointLight0.Color = gc[i].Color
- PointLight0.Range = 12+musics.PlaybackLoudness/ysize * 2* 4 - 0.1
- end
- end)
- local pbl = 30
- --Comands and stuff
- volume = 10
- command = '/'
- print("> secon ")
- print("> section")
- print("> times")
- print("> error")
- print("> print>")
- print("> parent")
- print("> prefix")
- print("The prefix is ".. command)
- -- more music
- musics.Looped = true
- musics.Name = "music"
- musics.Volume = 10
- musics.SoundId = "rbxassetid://148515294"
- --Chat System for vis
- local playing = false
- player.Chatted:connect(function(chat)
- local msg = chat
- if chat:sub(1,3) == "/vis " then
- local num = chat:sub(4)
- size = num
- elseif chat:sub(1,6) == command.."play " then
- musics.Volume = volume
- musics.MaxDistance = 50
- musics.EmitterSize = 50
- musics:Play()
- wait(1)
- local id = chat:sub(7)
- musics.SoundId='rbxassetid://'..id
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(chat:match'%d+')
- print("Now playing: "..Asset.Name.." ID: "..chat:match'%d+'.."")
- while wait() do
- if musics.Playing then
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-10, 10)/10, math.random(-10, 10)/10, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-12, 12)/3500, math.random(-12, 12)/3500, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- end
- end
- local visualize = coroutine.wrap(function()
- repeat wait()
- wait(0.005)
- local p24 = createPart2()
- for i = 1,360/ai do
- end
- until playing == false
- end)
- visualize()
- elseif chat == '/pitch<1 ' then
- hrp.music:Play()
- hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed + 1.54
- elseif chat:sub(1,7):lower():match(command..'pitch ') then
- char.HumanoidRootPart.music.PlaybackSpeed = chat:sub(8)
- elseif chat:sub(1,8):lower():match(command..'volume ') then
- volume = chat:sub(9)
- char.HumanoidRootPart.music.Volume = volume
- elseif chat == command..'noglobe' then
- hrp.music:Play()
- hrp.music.MaxDistance = 100
- hrp.music.EmitterSize = 100
- elseif chat == command..'globe' then
- hrp.music:Play()
- hrp.music.MaxDistance = 500
- hrp.music.EmitterSize = 500
- elseif chat:sub(1,7):lower():match(command..'emitsize ') then
- char.HumanoidRootPart.music.EmitterSize = chat:sub(8)
- elseif chat:sub(1,7):lower():match(command..'maxdist ') then
- char.HumanoidRootPart.music.MaxDistance = chat:sub(8)
- elseif chat:sub(1,8):lower():match(command..'follow ') then
- for i,v in pairs(workspace:children'') do
- if v.Name:lower():match(msg:sub(9):lower()) then
- hrp = v["Torso"]
- end
- end
- elseif chat:sub(1,8):lower():match(command..'stop ') then
- for i,v in pairs(workspace:children'') do
- if v.Name:lower():match(msg:sub(9):lower()) then
- musics:Stop()
- else
- musics.Volume = 0
- end
- --
- end
- elseif chat:sub(1,5):lower():match(command..'pbl ') then
- pbl = msg:sub(6)
- elseif chat:sub(1,7):lower():match(command..'xsize ') then
- xsize = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'zsize ') then
- zsize = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'trans ') then
- trans= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'ysize') then
- ysize= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'secon') then
- SECON= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'time') then
- TIMES= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'section ') then
- SECTION = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'error ') then
- error(player.Name.." : ".. msg:sub(8))
- elseif chat:sub(1,7):lower():match(command..'print>') then
- print(player.Name.." : ".. msg:sub(8))
- elseif chat:sub(1,7):lower():match(command..'parent') then
- music.Parent = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'prefix') then
- command = msg:sub(8)
- nowplaying = Instance.new("BillboardGUI")
- nowplaying.Parent = char.Head
- nowplaying.CFrame = Vector3.new(0,1.2,0)
- nowplaying.Text = "Now playing: "..Asset.Name.." ID: "..chat:match'%d+'..""
- print('Prefix is now '.. command)
- elseif chat == "/stop324924332880249832324" then-- DO NOT RUN THIS COMMAND THIS WILL RISK YOUR VISUALIZER, AND BREAK IT<note by anime
- if hrp:FindFirstChild("music") ~= nil then
- local p244 = createPart2()
- size = 7.54
- p244.Size = Vector3.new(size,size,size)
- wait(1)
- size = 7.54
- playing = false
- hrp["music"]:Remove()
- end
- local X --\
- local Y ---> Don't edit these.
- local Z --/
- --------------------------------------------------------------
- -- Rotations per frame:
- X= -- Degree of rotation per frame on X Axis:
- 1.0
- --------------------------------------------------------------
- Y= -- Degree of rotation per frame on Y Axis:
- 1.0
- --------------------------------------------------------------
- Z= -- Degree of rotation per frame on Z Axis:
- 1.0
- -- NOTE: A frame is usually around 0.03 seconds.
- --------------------------------------------------------------
- local p65 = createPart()
- while true do
- p65.CFrame = p65.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z))
- wait() -- When no number is provided, it will wait for one frame. | | |
- end -- | | [Z=Roll]
- -- | [Y=Rotation]
- -- [X=Pitch]
- end
- end)
- player.Character.Humanoid.MaxHealth = "Inf"
- ff = Instance.new("ForceField")
- ff.Parent = char
- ff.Visible = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement