sneakydodge123

alexa

Jul 3rd, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3.     script.Parent = InternalData.RealOwner.Character
  4.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  5.     local function createObject (connections, index)
  6.         local proxy = newproxy (true);local meta = getmetatable (proxy);
  7.         local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8.         while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9.         meta.__index = function (self, i)
  10.             if (i == 'TriggerEvent') then return runbind end;
  11.             return connections[i] and connections[i].Event or index[i];
  12.         end;
  13.         meta.__newindex = index;meta.__metatable = false;return proxy
  14.     end;
  15.     local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16.     local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  21.         if FiredBy ~= InternalData.RealOwner then return end
  22.         if Input.MouseEvent then
  23.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24.         elseif Input.Sound then
  25.             if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  26.         else
  27.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  28.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  29.             for _,Action in pairs(ContextActionService.Actions) do
  30.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  31.             end
  32.             Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  33.         end
  34.     end)
  35.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  36.     Event.Parent = NLS([[
  37.         local Player = owner;
  38.         local Sounds = {};
  39.         local Event = script:WaitForChild("UserInput");
  40.         local UserInputService = game:GetService("UserInputService");
  41.         local Mouse = Player:GetMouse();
  42.         local Input = function(Input,gameProcessedEvent)
  43.             if gameProcessedEvent then return end
  44.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  45.         end
  46.         Event.OnClientEvent:connect(function(Args)
  47.             if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  48.         end)
  49.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  50.         local Hit,Target
  51.         while wait(1/30) do
  52.             for x,Sound in pairs(Sounds) do
  53.                 if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  54.             end
  55.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  56.                 Hit = Mouse.Hit;Target = Mouse.Target;
  57.                 Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  58.             end
  59.         end
  60.     ]],InternalData.RealOwner.Character)
  61. end
  62. InternalData.NewOwner = setmetatable({},{
  63.     __index = function (self,Index)
  64.             local Type = type(InternalData.RealOwner[Index])
  65.             if Type == "function" then
  66.                 if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  67.                 return function (self)return InternalData["Mouse"] end
  68.                 end
  69.             return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  70.         elseif Index == "FakePlayer" then
  71.             return true
  72.         end
  73.         return InternalData.RealOwner[Index]
  74.     end;
  75.     __tostring = function(self) return tostring(InternalData.RealOwner) end
  76. })
  77. --LoadLibrary("RbxUtility").Create
  78. rans=string.reverse'!321enirboreheibmoz yb edam'
  79. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  80.     if Library == "RbxUtility" then
  81.         return setmetatable({},{
  82.             __tostring = function() return "RbxUtility" end;
  83.             __index = function(self, Index)
  84.                 if Index:lower() == "create" then
  85.                     return function(Type)
  86.                         return function(Data)
  87.                             Data = Data or {}
  88.                             local Inst = Instance.new(Type)
  89.                             for x,y in pairs(Data) do
  90.                                 if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  91.                                 if y == owner then y = InternalData.RealOwner end
  92.                                 Inst[x] = y
  93.                             end
  94.                             return Inst
  95.                         end
  96.                     end
  97.                 end
  98.                 return InternalData.LoadLibrary(Library)[Index]
  99.             end
  100.         })
  101.     end
  102.     return InternalData.LoadLibrary(Library)
  103. end
  104. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  105.     __index = function (self,Index)
  106.         if Index:lower() == 'new' then
  107.             return function (Type, Parent)
  108.                 if Parent == owner then Parent = InternalData.RealOwner end
  109.                 if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  110.                 local Real = InternalData.RealInstance.new(Type,Parent)
  111.                 if not Type then return end
  112.                 if Type == "BillboardGui" then
  113.                     local ToReturn = setmetatable({},{
  114.                         __index = function (self,Index)
  115.                             if type(Real[Index]) == "function" then
  116.                                 if Index:lower() == "clone" then
  117.                                     return function (self)
  118.                                         local Real = Real:Clone()
  119.                                         local ToReturn = setmetatable({RealObject = Real},{
  120.                                             __index = function (self,Index)
  121.                                                 if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  122.                                                 return Real[Index]
  123.                                             end;
  124.                                             __newindex = function (self,Index,Value)
  125.                                                 if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  126.                                                 if Value == owner then Value = InternalData.RealOwner end
  127.                                                 Real[Index] = Value
  128.                                             end;
  129.                                             __tostring = function(self) return tostring(Real) end;
  130.                                         })
  131.                                         InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  132.                                     end
  133.                                 end
  134.                                 return function (self,...) return Real[Index](Real,...)end
  135.                             end
  136.                             return Real[Index]
  137.                         end;
  138.                         __newindex = function (self,Index,Value)
  139.                             if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  140.                             if Value == owner then Value = InternalData.RealOwner end
  141.                             Real[Index] = Value
  142.                         end;
  143.                         __tostring = function(self) return tostring(Real) end;
  144.                     })
  145.                     InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  146.                 elseif Type:lower() == "sound" then
  147.                     Real.Parent = owner.Character;
  148.                     local ToReturn = setmetatable({RealObject = Real},{
  149.                         __index = function (self,Index)
  150.                             if Index:lower() == "playbackloudness" then
  151.                                 return InternalData.SoundLoudness[Real] or 0
  152.                             elseif type(Real[Index]) == "function" then
  153.                                 if Index:lower() == "clone" then
  154.                                     return function (self)
  155.                                         local Real = Real:Clone()
  156.                                         local ToReturn = setmetatable({},{
  157.                                             __index = function (self,Index)
  158.                                                 if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  159.                                                 return Real[Index]
  160.                                             end;
  161.                                             __newindex = function (self,Index,Value)
  162.                                                 if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  163.                                                 if Value == owner then Value = InternalData.RealOwner end
  164.                                                 Real[Index] = Value
  165.                                             end;
  166.                                             __tostring = function(self) return tostring(Real) end;
  167.                                         })
  168.                                         InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  169.                                     end
  170.                                 end
  171.                                 return function (self,...) return Real[Index](Real,...)end
  172.                             end
  173.                             return Real[Index]
  174.                         end;
  175.                         __newindex = function (self,Index,Value)
  176.                             if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  177.                             if Value == owner then Value = InternalData.RealOwner end
  178.                             Real[Index] = Value
  179.                         end;
  180.                         __tostring = function(self) return tostring(Real) end;
  181.                     })
  182.                     InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  183.                 else
  184.                     local ToReturn = setmetatable({RealObject = Real},{
  185.                         __index = function (self,Index)
  186.                             if type(Real[Index]) == "function" then
  187.                                 if Index:lower() == "clone" then
  188.                                     return function (self)
  189.                                         local Real = Real:Clone()
  190.                                         local ToReturn = setmetatable({},{
  191.                                             __index = function (self,Index)
  192.                                                 if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  193.                                                 return Real[Index]
  194.                                             end;
  195.                                             __newindex = function (self,Index,Value)
  196.                                                 if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  197.                                                 if Value == owner then Value = InternalData.RealOwner end
  198.                                                 Real[Index] = Value
  199.                                             end;
  200.                                             __tostring = function(self) return tostring(Real) end;
  201.                                         })
  202.                                         InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  203.                                     end
  204.                                 end
  205.                                 return function (self,...) return Real[Index](Real,...)end
  206.                             end
  207.                             return Real[Index]
  208.                         end;
  209.                         __newindex = function (self,Index,Value)
  210.                             if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  211.                             if Value == owner then Value = InternalData.RealOwner end
  212.                             Real[Index] = Value
  213.                         end;
  214.                         __tostring = function(self) return tostring(Real) end;
  215.                     })
  216.                     InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  217.                 end
  218.             end
  219.         end
  220.         return InternalData.RealInstance[Index]
  221.     end;
  222.     __tostring = function(self) return tostring(InternalData.RealInstance) end;
  223. });
  224. InternalData.RealGame = game;game = setmetatable({},{
  225.     __index = function (self,Index)
  226.         if InternalData.RealGame[Index] then
  227.             local Type = type(InternalData.RealGame[Index])
  228.             if Type == "function" then
  229.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  230.                     return function (self,Service)
  231.                         local FakeServices = {
  232.                             ["players"] = function()
  233.                                 return setmetatable({},{
  234.                                     __index = function (self2,Index2)
  235.                                         local RealService = InternalData.RealGame:GetService(Service)
  236.                                         local Type2 = type(RealService[Index2])
  237.                                         if Type2 == "function" then
  238.                                             return function (self,...) return RealService[Index2](RealService,...)end
  239.                                         else
  240.                                             if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  241.                                             return RealService[Index2]
  242.                                         end
  243.                                     end;
  244.                                     __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  245.                                 })
  246.                             end;
  247.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  248.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  249.                             ["debris"] = function()
  250.                                 return setmetatable({},{
  251.                                     __index = function(self2,Index2)
  252.                                         local RealService = InternalData.RealGame:GetService(Service)
  253.                                         local Type2 = type(RealService[Index2])
  254.                                         if Type2 == "function" then
  255.                                             if Index2:lower() == "additem" then
  256.                                                 return function (self,Item,Time)
  257.                                                     if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  258.                                                     return RealService:AddItem(Item,Time)
  259.                                                 end
  260.                                             end
  261.                                             return function (self,...) return RealService[Index2](RealService,...) end
  262.                                         end
  263.                                         return RealService[Index2]
  264.                                     end;
  265.                                     __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  266.                                 })
  267.                             end;
  268.                             ["runservice"] = function()
  269.                                 return setmetatable({},{
  270.                                     __index = function(self2,Index2)
  271.                                         local RealService = InternalData.RealGame:GetService(Service)
  272.                                         local Type2 = type(RealService[Index2])
  273.                                         if Type2 == "function" then
  274.                                             return function (self,...) return RealService[Index2](RealService,...) end
  275.                                         else
  276.                                             local RunServices = {
  277.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  278.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  279.                                             }
  280.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  281.                                             return RealService[Index2]
  282.                                         end
  283.                                     end;
  284.                                     __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  285.                                 })
  286.                             end
  287.                         }
  288.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  289.                         return InternalData.RealGame:GetService(Service)
  290.                     end
  291.                 end
  292.                 return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  293.             else
  294.                 if game:GetService(Index) then return game:GetService(Index) end
  295.                 return InternalData.RealGame[Index]
  296.             end
  297.         end
  298.         return nil
  299.     end;
  300.     __tostring = function(self) return tostring(InternalData.game) end
  301. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  302.  
  303. --[[ Player Commands ]]--
  304.  
  305. local plr = game:GetService("Players").LocalPlayer
  306. local char = plr.Character
  307.  
  308. --[[ Color Function ]]--
  309.  
  310. color = Color3.new(1, 1, 1)
  311.  
  312. --[[ Weld Function ]]--
  313.  
  314. function weld(a, b, acf)
  315.     local w = Instance.new("Weld", a)
  316.     w.Part0 = a
  317.     w.Part1 = b
  318.     w.C0 = acf
  319. end
  320.  
  321. --[[ Rainbow Function ]]--
  322.  
  323. function Random(num)
  324.     local section=num % 1 * 3;
  325.     local secondary = 1 * math.pi * (section % 0.8);
  326.     if section < 1 then
  327.         return 1,1 - math.cos(secondary),1 - math.sin(secondary);
  328.     elseif section < 2 then
  329.         return 1 - math.sin(secondary),1,1 - math.cos(secondary);
  330.     else
  331.         return 1 - math.cos(secondary),1 - math.sin(secondary),1;
  332.     end
  333. end
  334.  
  335. rainbow = false
  336.  
  337. --[[ Remove Headgear ]]--
  338. CreateS=string.reverse''
  339. ran=string.reverse'<> elbaroda yllaer si abihS'
  340. for i,v in pairs(char:children()) do
  341.     if v:IsA("Accessory") then
  342.         v:Destroy()
  343.     end
  344. end
  345.  
  346. for i,v in pairs(char:children()) do
  347.     if v:IsA("Shirt") then
  348.         v:Destroy()
  349.     end
  350. end
  351.  
  352. for i,v in pairs(char:children()) do
  353.     if v:IsA("Pants") then
  354.         v:Destroy()
  355.     end
  356. end
  357.  
  358. for i,v in pairs(char:children()) do
  359.     if v:IsA("ShirtGraphic") then
  360.         v:Destroy()
  361.     end
  362. end
  363.  
  364. --[[ Body 1 ]]--
  365.  
  366. local base = Instance.new("Part")
  367. base.CanCollide = false
  368. base.Locked = true
  369. base.Shape = Enum.PartType.Cylinder
  370. base.Size = Vector3.new(2.5, 2.5, 2.5)
  371. base.Material = Enum.Material.SmoothPlastic
  372. base.Color = Color3.new(0, 0, 0)
  373. base.Parent = char
  374.  
  375. --[[ Body 2 ]]--
  376.  
  377. local neon = Instance.new("Part")
  378. neon.CanCollide = false
  379. neon.Locked = true
  380. neon.Material = Enum.Material.Neon
  381. neon.Size = Vector3.new(0.05, 2.55, 2.55)
  382. neon.Color = Color3.new(1, 1, 1)
  383. neon.Parent = char
  384.  
  385. local neonm = Instance.new("SpecialMesh")
  386. neonm.MeshType = Enum.MeshType.Cylinder
  387. neonm.Parent = neon
  388.  
  389. --[[ Head ]]--
  390.  
  391. local sphere = Instance.new("Part")
  392. sphere.CanCollide = false
  393. sphere.Locked = true
  394. sphere.Shape = Enum.PartType.Ball
  395. sphere.Material = Enum.Material.SmoothPlastic
  396. sphere.Size = Vector3.new(2.5, 2.5, 2.5)
  397. sphere.Color = Color3.new(0, 0, 0)
  398. sphere.Parent = char
  399.  
  400. --[[ Eyes ]]--
  401.  
  402. local eye1 = Instance.new("Part")
  403. eye1.CanCollide = false
  404. eye1.Locked = true
  405. eye1.Shape = Enum.PartType.Ball
  406. eye1.Material = Enum.Material.Neon
  407. eye1.Size = Vector3.new(0.25, 0.25, 0.25)
  408. eye1.Color = color
  409. eye1.Parent = char
  410.  
  411. local eye2 = Instance.new("Part")
  412. eye2.CanCollide = false
  413. eye2.Locked = true
  414. eye2.Shape = Enum.PartType.Ball
  415. eye2.Material = Enum.Material.Neon
  416. eye2.Size = Vector3.new(0.25, 0.25, 0.25)
  417. eye2.Color = color
  418. eye2.Parent = char
  419.  
  420. --[[ Mouth ]]--
  421.  
  422. local mouth = Instance.new("Part")
  423. mouth.CanCollide = false
  424. mouth.Locked = true
  425. mouth.Shape = Enum.PartType.Ball
  426. mouth.Material = Enum.Material.Neon
  427. mouth.Size = Vector3.new(0.5, 0.5, 0.5)
  428. mouth.Color = color
  429. mouth.Parent = char
  430.  
  431. local mouthm = Instance.new("SpecialMesh")
  432. mouthm.MeshType = Enum.MeshType.Sphere
  433. mouthm.Parent = mouth
  434.  
  435. --[[ Particles ]]--
  436.  
  437. local notes = Instance.new("ParticleEmitter")
  438. notes.Color = ColorSequence.new(color, color)
  439. notes.Lifetime = NumberRange.new(2)
  440. notes.LightEmission = 0.5
  441. notes.EmissionDirection = Enum.NormalId.Front
  442. notes.Texture = "rbxassetid://1182448768"
  443. notes.Enabled = false
  444. notes.LightInfluence = 1
  445. notes.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.543, 0), NumberSequenceKeypoint.new(1, 1)})
  446. notes.SpreadAngle = Vector2.new(-5, 10)
  447. notes.Rotation = NumberRange.new(-5, 10)
  448. notes.Rate = 5
  449. notes.Parent = mouth
  450.  
  451. --[[ Light ]]--
  452.  
  453. local lite = Instance.new("PointLight")
  454. lite.Range = 10
  455. lite.Color = color
  456. lite.Brightness = 2.5
  457. lite.Parent = char.HumanoidRootPart
  458.  
  459. --[[ Trail ]]--
  460.  
  461. local attach1 = Instance.new("Attachment")
  462. attach1.CFrame = CFrame.new(1.5, 0, 0)
  463. attach1.Parent = base
  464.  
  465. local attach2 = Instance.new("Attachment")
  466. attach2.CFrame = CFrame.new(-1.5, 0, 0)
  467. attach2.Parent = base
  468.  
  469. local trail = Instance.new("Trail")
  470. trail.Attachment0 = attach1
  471. trail.Lifetime = 1
  472. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 1)})
  473. trail.Color = ColorSequence.new(color ,color)
  474. trail.LightInfluence = 1
  475. trail.Attachment1 = attach2
  476. trail.Parent = base
  477.  
  478. --[[ Nametag ]]--
  479.  
  480. gui = Instance.new("BillboardGui", sphere)
  481. gui.Size = UDim2.new(0,200,0,50)
  482. gui.MaxDistance = 100
  483. gui.StudsOffset = Vector3.new(0, 2, 0)
  484.  
  485. text = Instance.new("TextLabel", gui)
  486. text.BackgroundTransparency = 1
  487. text.Size = UDim2.new(10,0,1,0)
  488. text.Position = UDim2.new(-4.5,0,0,0)
  489. text.Font = "Arcade"
  490. text.Text = "Musical Alexa"
  491. text.TextSize = 50
  492. text.TextColor3 = color
  493. text.TextStrokeColor3 = color
  494. text.TextStrokeTransparency = 0.8
  495. text.TextWrapped = true
  496. warn(ran..''..CreateS)
  497.  
  498. --[[ Face ]]--
  499.  
  500. owner.Character.Head.face.Texture = "rbxassetid://0"
  501.  
  502. --[[ Sound Commands ]]--
  503.  
  504. local sound = Instance.new("Sound")
  505.  
  506. plr.Chatted:connect(function(msg)
  507.         if msg:sub(1, 5):lower()=='music' then
  508.                 local val = Instance.new("NumberValue", char)
  509.                 val.Value = tonumber(msg:sub(6))
  510.                 local id = val.Value
  511.                 sound:Stop()
  512.                 sound.Parent = char.HumanoidRootPart
  513.                 sound.MaxDistance = 100
  514.                 sound.SoundId='rbxassetid://'..id
  515.                 sound:Play()
  516.                 sound.Looped = true
  517.                 sound.Volume = 10
  518.                 wait()
  519.         elseif msg:sub(1,5):lower()=='pitch' then
  520.                 local val2 = Instance.new("NumberValue", char)
  521.                 val2.Value = tonumber(msg:sub(6))
  522.                 local Pitch = val2.Value
  523.                 sound.Pitch = Pitch
  524.         elseif msg:sub(1,3):lower()=='vol' then
  525.                 local val3 = Instance.new("NumberValue", char)
  526.                 val3.Value = tonumber(msg:sub(5))
  527.                 local Volume = val3.Value
  528.                 sound.Volume = Volume
  529. end
  530. end)
  531.  
  532. plr.Chatted:connect(function(msg)
  533.         if msg:sub(1, 5):lower()=='black' then
  534.         color = Color3.new(0, 0, 0)
  535.         elseif msg:sub(1, 5):lower()=='white' then
  536.         color = Color3.new(1, 1, 1)
  537.         elseif msg:sub(1, 4):lower()=='blue' then
  538.         color = Color3.new(0, 0, 1)
  539.         elseif msg:sub(1, 4):lower()=='cyan' then
  540.         color = Color3.new(0, 1, 1)
  541.         elseif msg:sub(1, 3):lower()=='red' then
  542.         color = Color3.new(1, 0, 0)
  543.         elseif msg:sub(1, 5):lower()=='green' then
  544.         color = Color3.new(0, 1, 0)
  545.         elseif msg:sub(1, 6):lower()=='purple' then
  546.         color = Color3.new(1, 0, 1)
  547.         elseif msg:sub(1, 6):lower()=='yellow' then
  548.         color = Color3.new(1, 1, 0)
  549. end
  550. end)
  551.  
  552. plr.Chatted:connect(function(msg)
  553.         if msg:sub(1, 6):lower()=='random' then
  554.         rainbow = true
  555.         else
  556.         rainbow = false
  557. end
  558. end)
  559.  
  560. --[[ Welding ]]--
  561.  
  562. weld(base, char.HumanoidRootPart, CFrame.new(-1.75, 0, 0) * CFrame.Angles(0, 0, 1.571))
  563.  
  564. weld(neon, char.HumanoidRootPart, CFrame.new(-1.75, 0, 0) * CFrame.Angles(0, 0, 1.571))
  565.  
  566. weld(sphere, char.HumanoidRootPart, CFrame.new(0, 0.5, 0))
  567.  
  568. weld(eye1, char.HumanoidRootPart, CFrame.new(0.5, -0.5, 0.5))
  569.  
  570. weld(eye2, char.HumanoidRootPart, CFrame.new(-0.5, -0.5, 0.5))
  571.  
  572. weld(mouth, char.HumanoidRootPart, CFrame.new(0, -0.125, 1.1))
  573.  
  574. --[[ Visual ]]--
  575.  
  576. print(rans..[[
  577.  
  578. music [pid] - to play a song
  579. vol [number] - to set a volume
  580. pitch [number] - to set a pitch
  581. [colour]
  582. ]]..CreateS)
  583.  
  584. game:GetService("RunService").RenderStepped:Connect(function()
  585.    
  586. if sound.IsPlaying then
  587.    
  588. notes.Enabled = true
  589.  
  590. neon.Color = neon.Color:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.08)
  591.  
  592. eye1.Color = eye1.Color:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.08)
  593.  
  594. eye2.Color = eye2.Color:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.08)
  595.  
  596. mouth.Color = mouth.Color:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.08)
  597.  
  598. text.TextStrokeColor3 = text.TextStrokeColor3:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.015)
  599.  
  600. text.TextColor3 = text.TextColor3:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.015)
  601.  
  602. lite.Color = lite.Color:lerp(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), 0.08)
  603.  
  604. notes.Color = ColorSequence.new(Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750), Color3.new(0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750, 0 + sound.PlaybackLoudness/750))
  605.  
  606. neonm.Scale = neonm.Scale:lerp(Vector3.new(0.25 + sound.PlaybackLoudness/25, 1, 1), 0.08)
  607.  
  608. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(0.25 + sound.PlaybackLoudness/500, 0.125 + sound.PlaybackLoudness/750, 0.125), 0.08)
  609.  
  610. lite.Range = 10 + sound.PlaybackLoudness/30
  611.  
  612. lite.Brightness = 1 + sound.PlaybackLoudness/5
  613.  
  614. else
  615.  
  616. notes.Enabled = false
  617.  
  618. lite.Range = 10
  619.  
  620. lite.Brightness = 1
  621.  
  622. neon.Color = neon.Color:lerp(color, 0.015)
  623.  
  624. eye1.Color = eye1.Color:lerp(color, 0.015)
  625.  
  626. eye2.Color = eye2.Color:lerp(color, 0.015)
  627.  
  628. mouth.Color = mouth.Color:lerp(color, 0.015)
  629.  
  630. text.TextColor3 = text.TextColor3:lerp(color, 0.015)
  631.  
  632. text.TextStrokeColor3 = text.TextStrokeColor3:lerp(color, 0.015)
  633.  
  634. lite.Color = lite.Color:lerp(color, 0.08)
  635.  
  636. notes.Color = ColorSequence.new(color, color)
  637.  
  638. neonm.Scale = neonm.Scale:lerp(Vector3.new(0.25, 1, 1), 0.08)
  639.  
  640. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(0.25, 0.125, 0.125), 0.08)
  641.  
  642. end
  643.  
  644. if rainbow == true then
  645.  
  646. neon.Color = neon.Color:lerp(Color3.new(Random(tick())), 0.08)
  647.  
  648. eye1.Color = eye1.Color:lerp(Color3.new(Random(tick())), 0.08)
  649.  
  650. eye2.Color = eye2.Color:lerp(Color3.new(Random(tick())), 0.08)
  651.  
  652. mouth.Color = mouth.Color:lerp(Color3.new(Random(tick())), 0.08)
  653.  
  654. text.TextColor3 = text.TextColor3:lerp(Color3.new(Random(tick())), 0.08)
  655.  
  656. text.TextStrokeColor3 = text.TextStrokeColor3:lerp(Color3.new(Random(tick())), 0.08)
  657.  
  658. lite.Color = lite.Color:lerp(Color3.new(Random(tick())), 0.08)
  659.  
  660. notes.Color = ColorSequence.new(Color3.new(Random(tick())), Color3.new(Random(tick())))
  661.  
  662. trail.Color = ColorSequence.new(Color3.new(Random(tick())) ,Color3.new(Random(tick())))
  663.  
  664. else
  665.  
  666. neon.Color = neon.Color:lerp(color, 0.015)
  667.  
  668. eye1.Color = eye1.Color:lerp(color, 0.015)
  669.  
  670. eye2.Color = eye2.Color:lerp(color, 0.015)
  671.  
  672. mouth.Color = mouth.Color:lerp(color, 0.015)
  673.  
  674. text.TextColor3 = text.TextColor3:lerp(color, 0.015)
  675.  
  676. text.TextStrokeColor3 = text.TextStrokeColor3:lerp(color, 0.015)
  677.  
  678. lite.Color = lite.Color:lerp(color, 0.08)
  679.  
  680. notes.Color = ColorSequence.new(color, color)
  681.  
  682. trail.Color = ColorSequence.new(color, color)
  683.  
  684. end
  685.  
  686. notes.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0.5 + sound.PlaybackLoudness/5000)})
  687.  
  688. trail.WidthScale = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5 + sound.PlaybackLoudness/1000), NumberSequenceKeypoint.new(1, 0.25 + sound.PlaybackLoudness/1000)})
  689.  
  690. notes.Speed = NumberRange.new(3 + sound.PlaybackLoudness/1000)
  691.  
  692. notes.Acceleration = Vector3.new(0, 3, 0)
  693.  
  694. notes.RotSpeed = NumberRange.new(-25 - sound.PlaybackLoudness/100, 50 + sound.PlaybackLoudness/100)
  695.  
  696. char["Head"].Transparency = 1
  697. char["Torso"].Transparency = 1
  698. char["Right Leg"].Transparency = 1
  699. char["Left Leg"].Transparency = 1
  700. char["Right Arm"].Transparency = 1
  701. char["Left Arm"].Transparency = 1
  702.  
  703. end)
Add Comment
Please, Sign In to add comment