Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- 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
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(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:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(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 Sounds = {};
- 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
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[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 InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- --LoadLibrary("RbxUtility").Create
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.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 = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[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 InternalData.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;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- --change my name to yours
- if game.Players.LocalPlayer.Name ~="TameDoNotClick" then game.Players.LocalPlayer.Character.Head:Remove()
- end
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local play = false
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- function cycle(num)
- local section=num % 1 * 3;
- local secondary=0.5 * math.pi * (section % 1);
- if section < 1 then
- return 1,1 - math.cos(secondary),1 - math.sin(secondary);
- elseif section < 2 then
- return 1 - math.sin(secondary),1,1 - math.cos(secondary);
- else
- return 1 - math.cos(secondary),1 - math.sin(secondary),1;
- end
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o1.Name = "Soundbar"
- o1.Parent = mas
- o2 = Instance.new("Part")
- o2.Name = "0"
- o2.Parent = o1
- o2.Position = Vector3.new(9.5, 0.200000018, 0)
- o2.Anchored = true
- o2.CFrame = CFrame.new(9.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.CanCollide = false
- o2.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o3 = Instance.new("SpecialMesh")
- o3.Parent = o2
- o3.MeshId = "rbxassetid://9856898"
- o3.Scale = Vector3.new(1, 0.400000006, 1)
- o3.TextureId = "rbxassetid://2114473"
- o3.MeshType = Enum.MeshType.FileMesh
- o4 = Instance.new("Part")
- o4.Name = "9"
- o4.Parent = o1
- o4.Position = Vector3.new(5, 0.200000018, 0)
- o4.Anchored = true
- o4.CFrame = CFrame.new(5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o4.CanCollide = false
- o4.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o4.BottomSurface = Enum.SurfaceType.Smooth
- o4.TopSurface = Enum.SurfaceType.Smooth
- o5 = Instance.new("SpecialMesh")
- o5.Parent = o4
- o5.MeshId = "rbxassetid://9856898"
- o5.Scale = Vector3.new(1, 0.400000006, 1)
- o5.TextureId = "rbxassetid://2114473"
- o5.MeshType = Enum.MeshType.FileMesh
- o6 = Instance.new("Part")
- o6.Name = "10"
- o6.Parent = o1
- o6.Position = Vector3.new(4.5, 0.200000018, 0)
- o6.Anchored = true
- o6.CFrame = CFrame.new(4.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o6.CanCollide = false
- o6.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.TopSurface = Enum.SurfaceType.Smooth
- o7 = Instance.new("SpecialMesh")
- o7.Parent = o6
- o7.MeshId = "rbxassetid://9856898"
- o7.Scale = Vector3.new(1, 0.400000006, 1)
- o7.TextureId = "rbxassetid://2114473"
- o7.MeshType = Enum.MeshType.FileMesh
- o8 = Instance.new("Part")
- o8.Name = "11"
- o8.Parent = o1
- o8.Position = Vector3.new(4, 0.200000018, 0)
- o8.Anchored = true
- o8.CFrame = CFrame.new(4, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o8.CanCollide = false
- o8.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o9 = Instance.new("SpecialMesh")
- o9.Parent = o8
- o9.MeshId = "rbxassetid://9856898"
- o9.Scale = Vector3.new(1, 0.400000006, 1)
- o9.TextureId = "rbxassetid://2114473"
- o9.MeshType = Enum.MeshType.FileMesh
- o10 = Instance.new("Part")
- o10.Name = "12"
- o10.Parent = o1
- o10.Position = Vector3.new(3.5, 0.200000018, 0)
- o10.Anchored = true
- o10.CFrame = CFrame.new(3.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o10.CanCollide = false
- o10.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o11 = Instance.new("SpecialMesh")
- o11.Parent = o10
- o11.MeshId = "rbxassetid://9856898"
- o11.Scale = Vector3.new(1, 0.400000006, 1)
- o11.TextureId = "rbxassetid://2114473"
- o11.MeshType = Enum.MeshType.FileMesh
- o12 = Instance.new("Part")
- o12.Name = "13"
- o12.Parent = o1
- o12.Position = Vector3.new(3, 0.200000018, 0)
- o12.Anchored = true
- o12.CFrame = CFrame.new(3, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o12.CanCollide = false
- o12.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.TopSurface = Enum.SurfaceType.Smooth
- o13 = Instance.new("SpecialMesh")
- o13.Parent = o12
- o13.MeshId = "rbxassetid://9856898"
- o13.Scale = Vector3.new(1, 0.400000006, 1)
- o13.TextureId = "rbxassetid://2114473"
- o13.MeshType = Enum.MeshType.FileMesh
- o14 = Instance.new("Part")
- o14.Name = "1"
- o14.Parent = o1
- o14.Position = Vector3.new(9, 0.200000018, 0)
- o14.Anchored = true
- o14.CFrame = CFrame.new(9, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o14.CanCollide = false
- o14.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o14.BottomSurface = Enum.SurfaceType.Smooth
- o14.TopSurface = Enum.SurfaceType.Smooth
- o15 = Instance.new("SpecialMesh")
- o15.Parent = o14
- o15.MeshId = "rbxassetid://9856898"
- o15.Scale = Vector3.new(1, 0.400000006, 1)
- o15.TextureId = "rbxassetid://2114473"
- o15.MeshType = Enum.MeshType.FileMesh
- o16 = Instance.new("Part")
- o16.Name = "19"
- o16.Parent = o1
- o16.Position = Vector3.new(0, 0.200000018, 0)
- o16.Anchored = true
- o16.CFrame = CFrame.new(0, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o16.CanCollide = false
- o16.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o16.BottomSurface = Enum.SurfaceType.Smooth
- o16.TopSurface = Enum.SurfaceType.Smooth
- o17 = Instance.new("SpecialMesh")
- o17.Parent = o16
- o17.MeshId = "rbxassetid://9856898"
- o17.Scale = Vector3.new(1, 0.400000006, 1)
- o17.TextureId = "rbxassetid://2114473"
- o17.MeshType = Enum.MeshType.FileMesh
- o18 = Instance.new("Part")
- o18.Name = "20"
- o18.Parent = o1
- o18.Position = Vector3.new(-0.5, 0.200000018, 0)
- o18.Anchored = true
- o18.CFrame = CFrame.new(-0.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o18.CanCollide = false
- o18.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o18.BottomSurface = Enum.SurfaceType.Smooth
- o18.TopSurface = Enum.SurfaceType.Smooth
- o19 = Instance.new("SpecialMesh")
- o19.Parent = o18
- o19.MeshId = "rbxassetid://9856898"
- o19.Scale = Vector3.new(1, 0.400000006, 1)
- o19.TextureId = "rbxassetid://2114473"
- o19.MeshType = Enum.MeshType.FileMesh
- o20 = Instance.new("Part")
- o20.Name = "21"
- o20.Parent = o1
- o20.Position = Vector3.new(-1, 0.200000018, 0)
- o20.Anchored = true
- o20.CFrame = CFrame.new(-1, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o20.CanCollide = false
- o20.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o20.BottomSurface = Enum.SurfaceType.Smooth
- o20.TopSurface = Enum.SurfaceType.Smooth
- o21 = Instance.new("SpecialMesh")
- o21.Parent = o20
- o21.MeshId = "rbxassetid://9856898"
- o21.Scale = Vector3.new(1, 0.400000006, 1)
- o21.TextureId = "rbxassetid://2114473"
- o21.MeshType = Enum.MeshType.FileMesh
- o22 = Instance.new("Part")
- o22.Name = "22"
- o22.Parent = o1
- o22.Position = Vector3.new(-1.5, 0.200000018, 0)
- o22.Anchored = true
- o22.CFrame = CFrame.new(-1.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o22.CanCollide = false
- o22.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o22.BottomSurface = Enum.SurfaceType.Smooth
- o22.TopSurface = Enum.SurfaceType.Smooth
- o23 = Instance.new("SpecialMesh")
- o23.Parent = o22
- o23.MeshId = "rbxassetid://9856898"
- o23.Scale = Vector3.new(1, 0.400000006, 1)
- o23.TextureId = "rbxassetid://2114473"
- o23.MeshType = Enum.MeshType.FileMesh
- o24 = Instance.new("Part")
- o24.Name = "23"
- o24.Parent = o1
- o24.Position = Vector3.new(-2, 0.200000018, 0)
- o24.Anchored = true
- o24.CFrame = CFrame.new(-2, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o24.CanCollide = false
- o24.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o24.BottomSurface = Enum.SurfaceType.Smooth
- o24.TopSurface = Enum.SurfaceType.Smooth
- o25 = Instance.new("SpecialMesh")
- o25.Parent = o24
- o25.MeshId = "rbxassetid://9856898"
- o25.Scale = Vector3.new(1, 0.400000006, 1)
- o25.TextureId = "rbxassetid://2114473"
- o25.MeshType = Enum.MeshType.FileMesh
- o26 = Instance.new("Part")
- o26.Name = "2"
- o26.Parent = o1
- o26.Position = Vector3.new(8.5, 0.200000018, 0)
- o26.Anchored = true
- o26.CFrame = CFrame.new(8.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o26.CanCollide = false
- o26.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o26.BottomSurface = Enum.SurfaceType.Smooth
- o26.TopSurface = Enum.SurfaceType.Smooth
- o27 = Instance.new("SpecialMesh")
- o27.Parent = o26
- o27.MeshId = "rbxassetid://9856898"
- o27.Scale = Vector3.new(1, 0.400000006, 1)
- o27.TextureId = "rbxassetid://2114473"
- o27.MeshType = Enum.MeshType.FileMesh
- o28 = Instance.new("Part")
- o28.Name = "29"
- o28.Parent = o1
- o28.Position = Vector3.new(-5, 0.200000018, 0)
- o28.Anchored = true
- o28.CFrame = CFrame.new(-5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o28.CanCollide = false
- o28.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o28.BottomSurface = Enum.SurfaceType.Smooth
- o28.TopSurface = Enum.SurfaceType.Smooth
- o29 = Instance.new("SpecialMesh")
- o29.Parent = o28
- o29.MeshId = "rbxassetid://9856898"
- o29.Scale = Vector3.new(1, 0.400000006, 1)
- o29.TextureId = "rbxassetid://2114473"
- o29.MeshType = Enum.MeshType.FileMesh
- o30 = Instance.new("Part")
- o30.Name = "30"
- o30.Parent = o1
- o30.Position = Vector3.new(-5.5, 0.200000018, 0)
- o30.Anchored = true
- o30.CFrame = CFrame.new(-5.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o30.CanCollide = false
- o30.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o30.BottomSurface = Enum.SurfaceType.Smooth
- o30.TopSurface = Enum.SurfaceType.Smooth
- o31 = Instance.new("SpecialMesh")
- o31.Parent = o30
- o31.MeshId = "rbxassetid://9856898"
- o31.Scale = Vector3.new(1, 0.400000006, 1)
- o31.TextureId = "rbxassetid://2114473"
- o31.MeshType = Enum.MeshType.FileMesh
- o32 = Instance.new("Part")
- o32.Name = "31"
- o32.Parent = o1
- o32.Position = Vector3.new(-6, 0.200000018, 0)
- o32.Anchored = true
- o32.CFrame = CFrame.new(-6, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o32.CanCollide = false
- o32.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o32.BottomSurface = Enum.SurfaceType.Smooth
- o32.TopSurface = Enum.SurfaceType.Smooth
- o33 = Instance.new("SpecialMesh")
- o33.Parent = o32
- o33.MeshId = "rbxassetid://9856898"
- o33.Scale = Vector3.new(1, 0.400000006, 1)
- o33.TextureId = "rbxassetid://2114473"
- o33.MeshType = Enum.MeshType.FileMesh
- o34 = Instance.new("Part")
- o34.Name = "32"
- o34.Parent = o1
- o34.Position = Vector3.new(-6.5, 0.200000018, 0)
- o34.Anchored = true
- o34.CFrame = CFrame.new(-6.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o34.CanCollide = false
- o34.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o34.BottomSurface = Enum.SurfaceType.Smooth
- o34.TopSurface = Enum.SurfaceType.Smooth
- o35 = Instance.new("SpecialMesh")
- o35.Parent = o34
- o35.MeshId = "rbxassetid://9856898"
- o35.Scale = Vector3.new(1, 0.400000006, 1)
- o35.TextureId = "rbxassetid://2114473"
- o35.MeshType = Enum.MeshType.FileMesh
- o36 = Instance.new("Part")
- o36.Name = "33"
- o36.Parent = o1
- o36.Position = Vector3.new(-7, 0.200000018, 0)
- o36.Anchored = true
- o36.CFrame = CFrame.new(-7, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o36.CanCollide = false
- o36.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o36.BottomSurface = Enum.SurfaceType.Smooth
- o36.TopSurface = Enum.SurfaceType.Smooth
- o37 = Instance.new("SpecialMesh")
- o37.Parent = o36
- o37.MeshId = "rbxassetid://9856898"
- o37.Scale = Vector3.new(1, 0.400000006, 1)
- o37.TextureId = "rbxassetid://2114473"
- o37.MeshType = Enum.MeshType.FileMesh
- o38 = Instance.new("Part")
- o38.Name = "3"
- o38.Parent = o1
- o38.Position = Vector3.new(8, 0.200000018, 0)
- o38.Anchored = true
- o38.CFrame = CFrame.new(8, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o38.CanCollide = false
- o38.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o38.BottomSurface = Enum.SurfaceType.Smooth
- o38.TopSurface = Enum.SurfaceType.Smooth
- o39 = Instance.new("SpecialMesh")
- o39.Parent = o38
- o39.MeshId = "rbxassetid://9856898"
- o39.Scale = Vector3.new(1, 0.400000006, 1)
- o39.TextureId = "rbxassetid://2114473"
- o39.MeshType = Enum.MeshType.FileMesh
- o40 = Instance.new("Part")
- o40.Name = "14"
- o40.Parent = o1
- o40.Position = Vector3.new(2.5, 0.200000018, 0)
- o40.Anchored = true
- o40.CFrame = CFrame.new(2.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o40.CanCollide = false
- o40.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o40.BottomSurface = Enum.SurfaceType.Smooth
- o40.TopSurface = Enum.SurfaceType.Smooth
- o41 = Instance.new("SpecialMesh")
- o41.Parent = o40
- o41.MeshId = "rbxassetid://9856898"
- o41.Scale = Vector3.new(1, 0.400000006, 1)
- o41.TextureId = "rbxassetid://2114473"
- o41.MeshType = Enum.MeshType.FileMesh
- o42 = Instance.new("Part")
- o42.Name = "24"
- o42.Parent = o1
- o42.Position = Vector3.new(-2.5, 0.200000018, 0)
- o42.Anchored = true
- o42.CFrame = CFrame.new(-2.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o42.CanCollide = false
- o42.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o42.BottomSurface = Enum.SurfaceType.Smooth
- o42.TopSurface = Enum.SurfaceType.Smooth
- o43 = Instance.new("SpecialMesh")
- o43.Parent = o42
- o43.MeshId = "rbxassetid://9856898"
- o43.Scale = Vector3.new(1, 0.400000006, 1)
- o43.TextureId = "rbxassetid://2114473"
- o43.MeshType = Enum.MeshType.FileMesh
- o44 = Instance.new("Part")
- o44.Name = "4"
- o44.Parent = o1
- o44.Position = Vector3.new(7.5, 0.200000018, 0)
- o44.Anchored = true
- o44.CFrame = CFrame.new(7.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o44.CanCollide = false
- o44.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o44.BottomSurface = Enum.SurfaceType.Smooth
- o44.TopSurface = Enum.SurfaceType.Smooth
- o45 = Instance.new("SpecialMesh")
- o45.Parent = o44
- o45.MeshId = "rbxassetid://9856898"
- o45.Scale = Vector3.new(1, 0.400000006, 1)
- o45.TextureId = "rbxassetid://2114473"
- o45.MeshType = Enum.MeshType.FileMesh
- o46 = Instance.new("Part")
- o46.Name = "34"
- o46.Parent = o1
- o46.Position = Vector3.new(-7.5, 0.200000018, 0)
- o46.Anchored = true
- o46.CFrame = CFrame.new(-7.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o46.CanCollide = false
- o46.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o46.BottomSurface = Enum.SurfaceType.Smooth
- o46.TopSurface = Enum.SurfaceType.Smooth
- o47 = Instance.new("SpecialMesh")
- o47.Parent = o46
- o47.MeshId = "rbxassetid://9856898"
- o47.Scale = Vector3.new(1, 0.400000006, 1)
- o47.TextureId = "rbxassetid://2114473"
- o47.MeshType = Enum.MeshType.FileMesh
- o48 = Instance.new("Part")
- o48.Name = "15"
- o48.Parent = o1
- o48.Position = Vector3.new(2, 0.200000018, 0)
- o48.Anchored = true
- o48.CFrame = CFrame.new(2, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o48.CanCollide = false
- o48.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o48.BottomSurface = Enum.SurfaceType.Smooth
- o48.TopSurface = Enum.SurfaceType.Smooth
- o49 = Instance.new("SpecialMesh")
- o49.Parent = o48
- o49.MeshId = "rbxassetid://9856898"
- o49.Scale = Vector3.new(1, 0.400000006, 1)
- o49.TextureId = "rbxassetid://2114473"
- o49.MeshType = Enum.MeshType.FileMesh
- o50 = Instance.new("Part")
- o50.Name = "25"
- o50.Parent = o1
- o50.Position = Vector3.new(-3, 0.200000018, 0)
- o50.Anchored = true
- o50.CFrame = CFrame.new(-3, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o50.CanCollide = false
- o50.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o50.BottomSurface = Enum.SurfaceType.Smooth
- o50.TopSurface = Enum.SurfaceType.Smooth
- o51 = Instance.new("SpecialMesh")
- o51.Parent = o50
- o51.MeshId = "rbxassetid://9856898"
- o51.Scale = Vector3.new(1, 0.400000006, 1)
- o51.TextureId = "rbxassetid://2114473"
- o51.MeshType = Enum.MeshType.FileMesh
- o52 = Instance.new("Part")
- o52.Name = "5"
- o52.Parent = o1
- o52.Position = Vector3.new(7, 0.200000018, 0)
- o52.Anchored = true
- o52.CFrame = CFrame.new(7, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o52.CanCollide = false
- o52.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o52.BottomSurface = Enum.SurfaceType.Smooth
- o52.TopSurface = Enum.SurfaceType.Smooth
- o53 = Instance.new("SpecialMesh")
- o53.Parent = o52
- o53.MeshId = "rbxassetid://9856898"
- o53.Scale = Vector3.new(1, 0.400000006, 1)
- o53.TextureId = "rbxassetid://2114473"
- o53.MeshType = Enum.MeshType.FileMesh
- o54 = Instance.new("Part")
- o54.Name = "35"
- o54.Parent = o1
- o54.Position = Vector3.new(-8, 0.200000018, 0)
- o54.Anchored = true
- o54.CFrame = CFrame.new(-8, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o54.CanCollide = false
- o54.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o54.BottomSurface = Enum.SurfaceType.Smooth
- o54.TopSurface = Enum.SurfaceType.Smooth
- o55 = Instance.new("SpecialMesh")
- o55.Parent = o54
- o55.MeshId = "rbxassetid://9856898"
- o55.Scale = Vector3.new(1, 0.400000006, 1)
- o55.TextureId = "rbxassetid://2114473"
- o55.MeshType = Enum.MeshType.FileMesh
- o56 = Instance.new("Part")
- o56.Name = "16"
- o56.Parent = o1
- o56.Position = Vector3.new(1.5, 0.200000018, 0)
- o56.Anchored = true
- o56.CFrame = CFrame.new(1.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o56.CanCollide = false
- o56.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o56.BottomSurface = Enum.SurfaceType.Smooth
- o56.TopSurface = Enum.SurfaceType.Smooth
- o57 = Instance.new("SpecialMesh")
- o57.Parent = o56
- o57.MeshId = "rbxassetid://9856898"
- o57.Scale = Vector3.new(1, 0.400000006, 1)
- o57.TextureId = "rbxassetid://2114473"
- o57.MeshType = Enum.MeshType.FileMesh
- o58 = Instance.new("Part")
- o58.Name = "6"
- o58.Parent = o1
- o58.Position = Vector3.new(6.5, 0.200000018, 0)
- o58.Anchored = true
- o58.CFrame = CFrame.new(6.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o58.CanCollide = false
- o58.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o58.BottomSurface = Enum.SurfaceType.Smooth
- o58.TopSurface = Enum.SurfaceType.Smooth
- o59 = Instance.new("SpecialMesh")
- o59.Parent = o58
- o59.MeshId = "rbxassetid://9856898"
- o59.Scale = Vector3.new(1, 0.400000006, 1)
- o59.TextureId = "rbxassetid://2114473"
- o59.MeshType = Enum.MeshType.FileMesh
- o60 = Instance.new("Part")
- o60.Name = "26"
- o60.Parent = o1
- o60.Position = Vector3.new(-3.5, 0.200000018, 0)
- o60.Anchored = true
- o60.CFrame = CFrame.new(-3.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o60.CanCollide = false
- o60.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o60.BottomSurface = Enum.SurfaceType.Smooth
- o60.TopSurface = Enum.SurfaceType.Smooth
- o61 = Instance.new("SpecialMesh")
- o61.Parent = o60
- o61.MeshId = "rbxassetid://9856898"
- o61.Scale = Vector3.new(1, 0.400000006, 1)
- o61.TextureId = "rbxassetid://2114473"
- o61.MeshType = Enum.MeshType.FileMesh
- o62 = Instance.new("Part")
- o62.Name = "36"
- o62.Parent = o1
- o62.Position = Vector3.new(-8.5, 0.200000018, 0)
- o62.Anchored = true
- o62.CFrame = CFrame.new(-8.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o62.CanCollide = false
- o62.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o62.BottomSurface = Enum.SurfaceType.Smooth
- o62.TopSurface = Enum.SurfaceType.Smooth
- o63 = Instance.new("SpecialMesh")
- o63.Parent = o62
- o63.MeshId = "rbxassetid://9856898"
- o63.Scale = Vector3.new(1, 0.400000006, 1)
- o63.TextureId = "rbxassetid://2114473"
- o63.MeshType = Enum.MeshType.FileMesh
- o64 = Instance.new("Part")
- o64.Name = "17"
- o64.Parent = o1
- o64.Position = Vector3.new(1, 0.200000018, 0)
- o64.Anchored = true
- o64.CFrame = CFrame.new(1, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o64.CanCollide = false
- o64.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o64.BottomSurface = Enum.SurfaceType.Smooth
- o64.TopSurface = Enum.SurfaceType.Smooth
- o65 = Instance.new("SpecialMesh")
- o65.Parent = o64
- o65.MeshId = "rbxassetid://9856898"
- o65.Scale = Vector3.new(1, 0.400000006, 1)
- o65.TextureId = "rbxassetid://2114473"
- o65.MeshType = Enum.MeshType.FileMesh
- o66 = Instance.new("Part")
- o66.Name = "27"
- o66.Parent = o1
- o66.Position = Vector3.new(-4, 0.200000018, 0)
- o66.Anchored = true
- o66.CFrame = CFrame.new(-4, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o66.CanCollide = false
- o66.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o66.BottomSurface = Enum.SurfaceType.Smooth
- o66.TopSurface = Enum.SurfaceType.Smooth
- o67 = Instance.new("SpecialMesh")
- o67.Parent = o66
- o67.MeshId = "rbxassetid://9856898"
- o67.Scale = Vector3.new(1, 0.400000006, 1)
- o67.TextureId = "rbxassetid://2114473"
- o67.MeshType = Enum.MeshType.FileMesh
- o68 = Instance.new("Part")
- o68.Name = "7"
- o68.Parent = o1
- o68.Position = Vector3.new(6, 0.200000018, 0)
- o68.Anchored = true
- o68.CFrame = CFrame.new(6, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o68.CanCollide = false
- o68.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o68.BottomSurface = Enum.SurfaceType.Smooth
- o68.TopSurface = Enum.SurfaceType.Smooth
- o69 = Instance.new("SpecialMesh")
- o69.Parent = o68
- o69.MeshId = "rbxassetid://9856898"
- o69.Scale = Vector3.new(1, 0.400000006, 1)
- o69.TextureId = "rbxassetid://2114473"
- o69.MeshType = Enum.MeshType.FileMesh
- o70 = Instance.new("Part")
- o70.Name = "37"
- o70.Parent = o1
- o70.Position = Vector3.new(-9, 0.200000018, 0)
- o70.Anchored = true
- o70.CFrame = CFrame.new(-9, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o70.CanCollide = false
- o70.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o70.BottomSurface = Enum.SurfaceType.Smooth
- o70.TopSurface = Enum.SurfaceType.Smooth
- o71 = Instance.new("SpecialMesh")
- o71.Parent = o70
- o71.MeshId = "rbxassetid://9856898"
- o71.Scale = Vector3.new(1, 0.400000006, 1)
- o71.TextureId = "rbxassetid://2114473"
- o71.MeshType = Enum.MeshType.FileMesh
- o72 = Instance.new("Part")
- o72.Name = "8"
- o72.Parent = o1
- o72.Position = Vector3.new(5.5, 0.200000018, 0)
- o72.Anchored = true
- o72.CFrame = CFrame.new(5.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o72.CanCollide = false
- o72.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o72.BottomSurface = Enum.SurfaceType.Smooth
- o72.TopSurface = Enum.SurfaceType.Smooth
- o73 = Instance.new("SpecialMesh")
- o73.Parent = o72
- o73.MeshId = "rbxassetid://9856898"
- o73.Scale = Vector3.new(1, 0.400000006, 1)
- o73.TextureId = "rbxassetid://2114473"
- o73.MeshType = Enum.MeshType.FileMesh
- o74 = Instance.new("Part")
- o74.Name = "18"
- o74.Parent = o1
- o74.Position = Vector3.new(0.5, 0.200000018, 0)
- o74.Anchored = true
- o74.CFrame = CFrame.new(0.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o74.CanCollide = false
- o74.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o74.BottomSurface = Enum.SurfaceType.Smooth
- o74.TopSurface = Enum.SurfaceType.Smooth
- o75 = Instance.new("SpecialMesh")
- o75.Parent = o74
- o75.MeshId = "rbxassetid://9856898"
- o75.Scale = Vector3.new(1, 0.400000006, 1)
- o75.TextureId = "rbxassetid://2114473"
- o75.MeshType = Enum.MeshType.FileMesh
- o76 = Instance.new("Part")
- o76.Name = "28"
- o76.Parent = o1
- o76.Position = Vector3.new(-4.5, 0.200000018, 0)
- o76.Anchored = true
- o76.CFrame = CFrame.new(-4.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o76.CanCollide = false
- o76.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o76.BottomSurface = Enum.SurfaceType.Smooth
- o76.TopSurface = Enum.SurfaceType.Smooth
- o77 = Instance.new("SpecialMesh")
- o77.Parent = o76
- o77.MeshId = "rbxassetid://9856898"
- o77.Scale = Vector3.new(1, 0.400000006, 1)
- o77.TextureId = "rbxassetid://2114473"
- o77.MeshType = Enum.MeshType.FileMesh
- o78 = Instance.new("Part")
- o78.Name = "38"
- o78.Parent = o1
- o78.Position = Vector3.new(-9.5, 0.200000018, 0)
- o78.Anchored = true
- o78.CFrame = CFrame.new(-9.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o78.CanCollide = false
- o78.Size = Vector3.new(0.5, 0.200000003, 0.5)
- o78.BottomSurface = Enum.SurfaceType.Smooth
- o78.TopSurface = Enum.SurfaceType.Smooth
- o79 = Instance.new("SpecialMesh")
- o79.Parent = o78
- o79.MeshId = "rbxassetid://9856898"
- o79.Scale = Vector3.new(1, 0.400000006, 1)
- o79.TextureId = "rbxassetid://2114473"
- o79.MeshType = Enum.MeshType.FileMesh
- o80 = Instance.new("SpecialMesh")
- o80.Parent = o1
- o80.MeshId = "rbxassetid://9856898"
- o80.Scale = Vector3.new(40, 0.400000006, 2)
- o80.TextureId = "rbxassetid://2114473"
- o80.VertexColor = Vector3.new(0, 0, 0)
- o80.MeshType = Enum.MeshType.FileMesh
- mas.Parent = game.Players.LocalPlayer.Character.Torso
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game.Players.LocalPlayer.Character.Torso
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- local Height=9 -- Max height of the bars
- local plr=game.Players.LocalPlayer
- o81 = Instance.new("Sound")
- o81.Parent = plr.Character.Torso
- o81.SoundId = "rbxassetid://"
- o81.Volume = 1
- o81.Looped = false
- o82 = Instance.new("PointLight")
- o82.Parent = plr.Character.Torso
- o82.Range = 24
- --Startup Interface--
- local head = game.Players.LocalPlayer.Character.Head
- local bg = Instance.new("BillboardGui",head)
- bg.Name = "Startup"
- bg.AlwaysOnTop = true
- bg.StudsOffset = Vector3.new(0,4,0)
- local bgframe = Instance.new("Frame",bg)
- bgframe.BackgroundTransparency = 1
- bgframe.Size = UDim2.new(0,200,0,25)
- bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
- local bgtxt = Instance.new("TextLabel",bgframe)
- bgtxt.Size = UDim2.new(0,200,0,25)
- bgtxt.FontSize = "Size24"
- bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
- bgtxt.BackgroundTransparency = 1
- bgtxt.TextColor3 = BrickColor.new("Gold").Color
- bgtxt.TextStrokeColor3=Color3.new(0,0,0)
- bgtxt.TextStrokeTransparency = 0
- bgtxt.Font = "SciFi"
- bgtxt.TextScaled = false
- spawn(function()
- local txt1 = "hi, its me, tame lol"
- local txt2 = "credits: me sir, im so good (not)"
- for i=1,#txt1 do
- bgtxt.Text = txt1:sub(1,i)
- wait()
- end
- wait()
- for i=#txt1,1,-1 do
- bgtxt.Text = txt1:sub(1,i)
- wait()
- end
- wait()
- for i=1,#txt2 do
- bgtxt.Text = txt2:sub(1,i)
- wait()
- end
- wait()
- for i=#txt2,1,-1 do
- bgtxt.Text = txt2:sub(1,i)
- wait()
- end
- wait()
- for i=0,1,0.1 do
- bgtxt.TextTransparency = i
- bgtxt.TextStrokeTransparency = i
- wait()
- end
- bg:Destroy()
- end)
- --Startup Interface--
- local Soundbar=game.Players.LocalPlayer.Character.Torso.Soundbar
- local Sound=plr.Character.Torso.Sound
- local Bars={} for i,v in next,Soundbar:children() do
- if v:IsA'BasePart' then
- table.insert(Bars,v)
- end
- end Height=Height*2
- local nBars,Tweens=#Bars-1,{}
- -- EASING FUNCTIONS --
- local function quadIn(t,b,c,d) t=t/d; return c*t*t+b; end;
- local function quadOut(t,b,c,d) t=t/d; return -c*t*(t-2)+b; end;
- local function Quad(obj,val,ease,d)
- local t,f,con,nt,st,sd=tick()
- Tweens[obj]=t -- Set identifier
- st=obj.Scale.Y -- Start Value
- sd=val-st -- Change in Value
- f=ease=='In' and quadIn or quadOut -- Choose between Out/In
- con=game:GetService'RunService'.RenderStepped:connect(function() nt=tick()-t
- if Tweens[obj]~=t then -- Check for override
- con:disconnect()
- return
- end
- local nv=math.max(.2,f(math.min(d,nt),st,sd,d)) -- New Value
- obj.Scale=Vector3.new(.9,nv,.9)
- obj.Offset=Vector3.new(0,nv/4,0)
- obj.VertexColor=Vector3.new(cycle(tick()))
- o82.Color = Color3.new(cycle(tick()))
- if nt>d then -- Easing done?
- con:disconnect()
- if ease~='In' then
- Quad(obj,.2,'In',.3) -- Drop the bar
- end
- end
- end)
- end
- -- BAR MANIPULATION --
- local function CheckSet(N,S,D) -- Number, Scale, Direction
- local nS=Soundbar[tostring(N)].Mesh.Scale.Y
- if S>nS then
- Set(N,nS+(S-nS)/3,D)
- end
- end
- function Set(N,S,D) -- Number, Scale, Direction
- Quad(Soundbar[tostring(N)].Mesh,S,'Out',.1) -- Grabs the bar and tweens
- if N>0 and D~=1 then -- Checks left for smaller bars to manipulate
- CheckSet(N-1,S,-1)
- end
- if N<nBars and D~=-1 then -- Checks right...
- CheckSet(N+1,S,1)
- end
- end
- -- RENDER LOOP --
- local MPL,PL,curr=0 curr=Sound.SoundId
- spawn(function()
- game:service'RunService'.RenderStepped:connect(function()
- PL=Sound.PlaybackLoudness
- if Sound.IsPlaying and PL==PL then -- Sound is playing & PlaybackLoudness is not undefined
- if curr~=Sound.SoundId then MPL=0 -- Reset the relative Max PlaybackLoudness on song change
- curr=Sound.SoundId
- end
- MPL=math.max(PL,MPL) PL=PL/MPL -- Normalize PL based on relative Max PlaybackLoudness
- if PL==PL then
- Set(math.floor(PL*nBars),PL*Height*1) -- Modify bar relative to PlaybackLoudness
- end
- end
- end)
- end)
- local play = false
- --Function Chat Start--
- function Chat(Message)
- pcall(function()
- for i,v in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do
- if v.ClassName == "BillboardGui" and v.Name ~= "Startup" then
- v.Frame.TextLabel.TextTransparency = v.Frame.TextLabel.TextTransparency - 0.5
- wait()
- v:Remove()
- end
- end
- end)
- local head = game.Players.LocalPlayer.Character.Head
- local bg = Instance.new("BillboardGui",head)
- bg.Name = "MusicNotify"
- bg.AlwaysOnTop = true
- bg.StudsOffset = Vector3.new(0,4,0)
- local bgframe = Instance.new("Frame",bg)
- bgframe.BackgroundTransparency = 1
- bgframe.Size = UDim2.new(0,200,0,25)
- bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
- local bgtxt = Instance.new("TextLabel",bgframe)
- bgtxt.Size = UDim2.new(0,200,0,25)
- bgtxt.FontSize = "Size24"
- bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
- bgtxt.BackgroundTransparency = 1
- bgtxt.TextColor3 = BrickColor.new("Gold").Color
- bgtxt.TextStrokeColor3=Color3.new(0,0,0)
- bgtxt.TextStrokeTransparency = 0
- bgtxt.Font = "SciFi"
- bgtxt.TextScaled = false
- spawn(function()
- local txt1 = Message
- for i=1,#txt1 do
- bgtxt.Text = txt1:sub(1,i)
- wait()
- end
- wait()
- for i=#txt1,1,-1 do
- bgtxt.Text = txt1:sub(1,i)
- wait()
- end
- wait()
- for i=0,1,0.1 do
- bgtxt.TextTransparency = i
- wait()
- end
- bg:Destroy()
- end)
- end
- local play = true
- local Pause = false
- --function chat end--
- local Songs = {
- {SongName = 'Avril Lavigne - Girlfriend', SongDesc = 'Nil', Creator = 'Ayeekillerpro', ID = 333259850};
- {SongName = 'Chris Brown & Tyga - Ayo [Jason Nevins Remix]', SongDesc = 'Nil', Creator = 'Nil', ID = 262514615};
- {SongName = 'Charli XCX - Boom clap', SongDesc = 'Nil', Creator = 'brightnikki', ID = 160594536};
- {SongName = 'Calvin Harris & Alesso - Under control ft. Hurts', SongDesc = 'Nil', Creator = 'Nil', ID = 152190091};
- {SongName = 'Soulja Boy Tell\'em - Crank That', SongDesc = 'Nil', Creator = 'jdude567', ID = 174655936};
- {SongName = 'Love Me Harder- Ariana Grande', SongDesc = 'Nil', Creator = 'Violisse', ID = 174577922};
- }
- function PlayList()
- local sng = Songs[math.random(1,#Songs)]
- Sound.SoundId = 'rbxassetid://'..sng.ID
- Sound:Play()
- Chat("Now Playing: \n"..game:GetService("MarketplaceService"):GetProductInfo(sng.ID).Name)
- repeat wait() until Sound.IsPaused == true
- if play == false then return end
- if Pause == true then return end
- PlayList()
- end
- local Loop = false
- local Locked
- p = game:GetService('Players').LocalPlayer
- p.Chatted:connect(function(msg)
- if msg:sub(1,5):lower()=='play/' then
- play = true
- local val = Instance.new("NumberValue", p.Character)
- val.Name = "SongID"
- val.Value = tonumber(msg:sub(6))
- local id = val.Value
- Sound:Stop()
- Sound.SoundId='rbxassetid://'..id
- Sound:Play()
- Chat("Now Playing: \n"..game:GetService("MarketplaceService"):GetProductInfo(val.Value).Name)
- wait(1)
- val:Remove()
- elseif msg:sub(1,4):lower()=='vol/' then
- local val = Instance.new("NumberValue", p.Character)
- val.Name = "VolID"
- val.Value = tonumber(msg:sub(5))
- if val.Value > 10 then val.Value = 10
- end
- local id = val.Value
- Sound.Volume = id
- Chat("Set Volume To: "..id.."")
- val:Remove()
- elseif msg:sub(1,5):lower()=='dist/' then
- local val = Instance.new("NumberValue", p.Character)
- val.Name = "Distance"
- val.Value = tonumber(msg:sub(6))
- if val.Value > 10000 then val.Value = 10000
- end
- local id = val.Value
- Sound.MaxDistance = id
- Chat("Set Max Distance To: "..id.."")
- val:Remove()
- elseif msg:sub(1,6) == 'start/' then
- play = true
- PlayList()
- elseif msg:sub(1,5) == 'loop/' and Loop == false then
- Loop = true
- Chat("Music Loop Enabled")
- game.Players.LocalPlayer.Character.Torso.Sound.Looped = true
- elseif msg:sub(1,5) == 'loop/' and Loop == true then
- Loop = false
- Chat("Music Loop Disabled")
- game.Players.LocalPlayer.Character.Torso.Sound.Looped = false
- elseif msg:sub(1,6) == 'pause/' and Pause == false then
- Pause = true
- Chat("Music Paused")
- game.Players.LocalPlayer.Character.Torso.Sound:Pause()
- elseif msg:sub(1,6) == 'pause/' and Pause == true then
- Pause = false
- Chat("Music Unpaused")
- game.Players.LocalPlayer.Character.Torso.Sound:Resume()
- elseif msg:sub(1,5) == 'skip/' then
- play = false
- Sound:Stop()
- play = true
- PlayList()
- elseif msg:sub(1,5) == 'stop/' then
- Chat("Stopped Music Spectrum")
- play = false
- Sound:Stop()
- end
- end)
- local CRot = 1
- local rad,sin,ceil=math.rad,math.sin,math.ceil
- Sound:Play()
- local Parts = {}
- for Index,v in pairs(o1:children'') do
- if v:IsA'Part' then
- table.insert(Parts,v)
- end
- end
- spawn(function()
- game:service'RunService'.RenderStepped:connect(function()
- for Index,v in pairs(o1:children'') do
- if v:IsA'Part' then
- v.CFrame = CFrame.new(plr.Character.Torso.Position)
- *CFrame.Angles(0,rad((360/#Parts*Index+(tick())*60/(#Parts ~= 0 and #Parts or 1))%360),0)
- *CFrame.new(0, -3, (5+#Parts)*.35+v.Size.X)
- *CFrame.Angles(0,90+CRot,0)
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement