Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------
- --Just a SIMPLE radio script.--
- -----------enjoy.--------------
- -------------------------------
- wait()
- 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")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 end
- -----------------------------------------------
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- BlockMesh2 = Instance.new("BlockMesh")
- Part3 = Instance.new("Part")
- CylinderMesh4 = Instance.new("CylinderMesh")
- Part5 = Instance.new("Part")
- CylinderMesh6 = Instance.new("CylinderMesh")
- Part7 = Instance.new("Part")
- CylinderMesh8 = Instance.new("CylinderMesh")
- ManualWeld9 = Instance.new("ManualWeld")
- Part10 = Instance.new("Part")
- SpecialMesh11 = Instance.new("SpecialMesh")
- ManualWeld12 = Instance.new("ManualWeld")
- ManualWeld13 = Instance.new("ManualWeld")
- ManualWeld14 = Instance.new("ManualWeld")
- ManualWeld15 = Instance.new("ManualWeld")
- ManualWeld16 = Instance.new("ManualWeld")
- ManualWeld17 = Instance.new("ManualWeld")
- ManualWeld18 = Instance.new("ManualWeld")
- Part19 = Instance.new("Part")
- CylinderMesh20 = Instance.new("CylinderMesh")
- ManualWeld21 = Instance.new("ManualWeld")
- Part22 = Instance.new("Part")
- SpecialMesh23 = Instance.new("SpecialMesh")
- ManualWeld24 = Instance.new("ManualWeld")
- Part25 = Instance.new("Part")
- SpecialMesh26 = Instance.new("SpecialMesh")
- ManualWeld27 = Instance.new("ManualWeld")
- Part28 = Instance.new("Part")
- SpecialMesh29 = Instance.new("SpecialMesh")
- Model0.Name = "Radio"
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-13.6827497, 1.11003494, -8.59759808, -0.657824934, 0.232741699, -0.716308355, 0, 0.951056898, 0.30901581, 0.753170907, 0.203278273, -0.625628948)
- Part1.Orientation = Vector3.new(-18, -131.12999, 0)
- Part1.Position = Vector3.new(-13.6827497, 1.11003494, -8.59759808)
- Part1.Rotation = Vector3.new(-153.709991, -45.75, -160.519989)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(0.800000012, 0.400000036, 0.200000003)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.CanCollide = false
- Part1.Locked = true
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Dark stone grey")
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- BlockMesh2.Parent = Part1
- Part3.Parent = Model0
- Part3.CFrame = CFrame.new(-13.749856, 0.700034976, -8.96158791, 0.657824934, 0.753170907, 0, 0, 0, -1, -0.753170907, 0.657824934, 0)
- Part3.Orientation = Vector3.new(90, 48.8699989, 0)
- Part3.Position = Vector3.new(-13.749856, 0.700034976, -8.96158791)
- Part3.Rotation = Vector3.new(90, 0, -48.8699989)
- Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part3.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
- Part3.Anchored = true
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.BrickColor = BrickColor.new("Really black")
- Part3.CanCollide = false
- Part3.Locked = true
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.brickColor = BrickColor.new("Really black")
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.formFactor = Enum.FormFactor.Custom
- CylinderMesh4.Parent = Part3
- Part5.Parent = Model0
- Part5.CFrame = CFrame.new(-14.0402555, 0.700034976, -8.64430237, 0, 0.753170907, 0.657824934, 1, 0, 0, 0, 0.657824934, -0.753170907)
- Part5.Orientation = Vector3.new(0, 138.869995, 90)
- Part5.Position = Vector3.new(-14.0402555, 0.700034976, -8.64430237)
- Part5.Rotation = Vector3.new(-180, 41.1299973, -90)
- Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part5.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
- Part5.Anchored = true
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Really black")
- Part5.CanCollide = false
- Part5.Locked = true
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Really black")
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.formFactor = Enum.FormFactor.Custom
- CylinderMesh6.Parent = Part5
- Part7.Parent = Model0
- Part7.CFrame = CFrame.new(-14.6343937, 0.790035009, -8.20728779, 0.657824934, 0.753170907, 0, 0, 0, -1, -0.753170907, 0.657824934, 0)
- Part7.Orientation = Vector3.new(90, 48.8699989, 0)
- Part7.Position = Vector3.new(-14.6343937, 0.790035009, -8.20728779)
- Part7.Rotation = Vector3.new(90, 0, -48.8699989)
- Part7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part7.Size = Vector3.new(1, 1, 1)
- Part7.Anchored = true
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Really black")
- Part7.CanCollide = false
- Part7.Locked = true
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Really black")
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.formFactor = Enum.FormFactor.Custom
- CylinderMesh8.Parent = Part7
- ManualWeld9.Name = "Part-to-Part Strong Joint"
- ManualWeld9.Parent = Part7
- ManualWeld9.C0 = CFrame.new(-0.5, 0.5, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- ManualWeld9.C1 = CFrame.new(1.34000015, -0.800000072, 0.0999965668, 1, 0, -1.50995803e-07, 6.60023616e-15, -1, 4.37113883e-08, -1.50995803e-07, -4.37113883e-08, -1)
- ManualWeld9.Part0 = Part7
- ManualWeld9.Part1 = Part1
- ManualWeld9.part1 = Part1
- Part10.Parent = Model0
- Part10.CFrame = CFrame.new(-14.1120396, 0.800035, -8.97254753, 0.657824934, 0, 0.753170907, 0, 1, 0, -0.753170907, 0, 0.657824934)
- Part10.Orientation = Vector3.new(0, 48.8699989, 0)
- Part10.Position = Vector3.new(-14.1120396, 0.800035, -8.97254753)
- Part10.Rotation = Vector3.new(0, 48.8699989, 0)
- Part10.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part10.Size = Vector3.new(3.00000048, 1.60000014, 1.20000005)
- Part10.Anchored = true
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.BrickColor = BrickColor.new("Medium blue")
- Part10.CanCollide = false
- Part10.Locked = true
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.brickColor = BrickColor.new("Medium blue")
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.formFactor = Enum.FormFactor.Custom
- SpecialMesh11.Parent = Part10
- SpecialMesh11.MeshType = Enum.MeshType.Brick
- ManualWeld12.Name = "Part-to-Part Strong Joint"
- ManualWeld12.Parent = Part10
- ManualWeld12.C0 = CFrame.new(-1.50000024, -0.800000072, 0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld12.C1 = CFrame.new(-2.29999924, -0.5, 0.899999976, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- ManualWeld12.Part0 = Part10
- ManualWeld12.Part1 = Part19
- ManualWeld12.part1 = Part19
- ManualWeld13.Name = "Part-to-Part Strong Joint"
- ManualWeld13.Parent = Part10
- ManualWeld13.C0 = CFrame.new(-1.50000024, -0.800000072, 0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld13.C1 = CFrame.new(-0.699998856, -0.500001907, 0.899999857, 1, 1.50995774e-07, -1.50995803e-07, 1.50995774e-07, 1.94707212e-07, 1, 1.50995803e-07, -1, 1.94707184e-07)
- ManualWeld13.Part0 = Part10
- ManualWeld13.Part1 = Part7
- ManualWeld13.part1 = Part7
- ManualWeld14.Name = "Part-to-Part Strong Joint"
- ManualWeld14.Parent = Part10
- ManualWeld14.C0 = CFrame.new(-1.50000024, -0.800000072, 0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld14.C1 = CFrame.new(1.47000122, -1.09000003, 0.109981537, -1, -1.50995803e-07, 0, -1.50995803e-07, 1, -1.50995803e-07, 2.27997332e-14, -1.50995803e-07, -1)
- ManualWeld14.Part0 = Part10
- ManualWeld14.Part1 = Part1
- ManualWeld14.part1 = Part1
- ManualWeld15.Name = "Part-to-Part Strong Joint"
- ManualWeld15.Parent = Part10
- ManualWeld15.C0 = CFrame.new(-1.50000024, 0.800000072, 0.600000024, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- ManualWeld15.C1 = CFrame.new(-0.899999619, -0.300000191, 0.5, -1, -0, 1.50995803e-07, 1.50995803e-07, -1.50995803e-07, 1, 2.27997332e-14, 1, 1.50995803e-07)
- ManualWeld15.Part0 = Part10
- ManualWeld15.Part1 = Part22
- ManualWeld15.part1 = Part22
- ManualWeld16.Name = "Part-to-Part Strong Joint"
- ManualWeld16.Parent = Part10
- ManualWeld16.C0 = CFrame.new(-1.50000024, 0.800000072, 0.600000024, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- ManualWeld16.C1 = CFrame.new(-2.29999924, -0.299999952, 0.5, -1, -0, 1.50995803e-07, 1.50995803e-07, -1.50995803e-07, 1, 2.27997332e-14, 1, 1.50995803e-07)
- ManualWeld16.Part0 = Part10
- ManualWeld16.Part1 = Part25
- ManualWeld16.part1 = Part25
- ManualWeld17.Name = "Part-to-Part Strong Joint"
- ManualWeld17.Parent = Part10
- ManualWeld17.C0 = CFrame.new(-1.50000024, -0.800000072, 0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld17.C1 = CFrame.new(-0.69999969, -0.399999619, -1.29999924, -1.50995803e-07, 1, -1.50995803e-07, -2.27997332e-14, 1.50995803e-07, 1, 1, 1.50995803e-07, -0)
- ManualWeld17.Part0 = Part10
- ManualWeld17.Part1 = Part5
- ManualWeld17.part1 = Part5
- ManualWeld18.Name = "Part-to-Part Strong Joint"
- ManualWeld18.Parent = Part10
- ManualWeld18.C0 = CFrame.new(-1.50000024, -0.800000072, 0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld18.C1 = CFrame.new(-1.69999886, -0.399999619, 0.699999809, 1, 1.50995803e-07, -0, -2.27997332e-14, 1.50995803e-07, 1, 1.50995803e-07, -1, 1.50995803e-07)
- ManualWeld18.Part0 = Part10
- ManualWeld18.Part1 = Part3
- ManualWeld18.part1 = Part3
- Part19.Parent = Model0
- Part19.CFrame = CFrame.new(-13.4240084, 0.790035009, -9.59311008, 0.657824934, 0.753170907, 0, 0, 0, -1, -0.753170907, 0.657824934, 0)
- Part19.Orientation = Vector3.new(90, 48.8699989, 0)
- Part19.Position = Vector3.new(-13.4240084, 0.790035009, -9.59311008)
- Part19.Rotation = Vector3.new(90, 0, -48.8699989)
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part19.Size = Vector3.new(1, 1, 1)
- Part19.Anchored = true
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.BrickColor = BrickColor.new("Really black")
- Part19.CanCollide = false
- Part19.Locked = true
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.brickColor = BrickColor.new("Really black")
- Part19.FormFactor = Enum.FormFactor.Custom
- Part19.formFactor = Enum.FormFactor.Custom
- CylinderMesh20.Parent = Part19
- ManualWeld21.Name = "Part-to-Part Strong Joint"
- ManualWeld21.Parent = Part19
- ManualWeld21.C0 = CFrame.new(-0.5, 0.5, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- ManualWeld21.C1 = CFrame.new(0.220003128, -0.390018463, 0.409999847, -1, -0, 1.50995803e-07, 1.50995803e-07, 4.37113883e-08, 1, -6.60023616e-15, 1, -4.37113883e-08)
- ManualWeld21.Part0 = Part19
- ManualWeld21.Part1 = Part3
- ManualWeld21.part1 = Part3
- Part22.Parent = Model0
- Part22.CFrame = CFrame.new(-14.56499, 1.77003503, -8.43874645, 0.657824934, 0, 0.753170907, 0, 1, 0, -0.753170907, 0, 0.657824934)
- Part22.Orientation = Vector3.new(0, 48.8699989, 0)
- Part22.Position = Vector3.new(-14.56499, 1.77003503, -8.43874645)
- Part22.Rotation = Vector3.new(0, 48.8699989, 0)
- Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part22.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part22.Anchored = true
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.BrickColor = BrickColor.new("Dark stone grey")
- Part22.CanCollide = false
- Part22.Locked = true
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part22.brickColor = BrickColor.new("Dark stone grey")
- Part22.FormFactor = Enum.FormFactor.Custom
- Part22.formFactor = Enum.FormFactor.Custom
- SpecialMesh23.Parent = Part22
- SpecialMesh23.MeshType = Enum.MeshType.Brick
- ManualWeld24.Name = "Part-to-Part Strong Joint"
- ManualWeld24.Parent = Part22
- ManualWeld24.C0 = CFrame.new(-0.100000001, 0.300000012, 0.100000001, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- ManualWeld24.C1 = CFrame.new(-0.0999996662, -0.799999237, -0.100000381, 0, 3.01991605e-07, 1, -1, 0, 0, 0, -1, 3.01991605e-07)
- ManualWeld24.Part0 = Part22
- ManualWeld24.Part1 = Part28
- ManualWeld24.part1 = Part28
- Part25.Parent = Model0
- Part25.CFrame = CFrame.new(-13.6703539, 1.77003503, -9.46306229, 0.657824934, 0, 0.753170907, 0, 1, 0, -0.753170907, 0, 0.657824934)
- Part25.Orientation = Vector3.new(0, 48.8699989, 0)
- Part25.Position = Vector3.new(-13.6703539, 1.77003503, -9.46306229)
- Part25.Rotation = Vector3.new(0, 48.8699989, 0)
- Part25.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part25.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part25.Anchored = true
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.BrickColor = BrickColor.new("Dark stone grey")
- Part25.CanCollide = false
- Part25.Locked = true
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.brickColor = BrickColor.new("Dark stone grey")
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.formFactor = Enum.FormFactor.Custom
- SpecialMesh26.Parent = Part25
- SpecialMesh26.MeshType = Enum.MeshType.Brick
- ManualWeld27.Name = "Part-to-Part Strong Joint"
- ManualWeld27.Parent = Part25
- ManualWeld27.C0 = CFrame.new(-0.100000001, 0.300000012, 0.100000001, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- ManualWeld27.C1 = CFrame.new(-0.0999999046, 0.600000381, -0.100000381, 0, 3.01991605e-07, 1, -1, 0, 0, 0, -1, 3.01991605e-07)
- ManualWeld27.Part0 = Part25
- ManualWeld27.Part1 = Part28
- ManualWeld27.part1 = Part28
- Part28.Name = "Part2"
- Part28.Parent = Model0
- Part28.CFrame = CFrame.new(-14.117672, 2.050035, -8.95090199, -0.0131419972, 0.657824934, -0.753056288, 0.99984777, -5.14011731e-07, -0.0174493399, -0.0114789968, -0.753170907, -0.657724798)
- Part28.Orientation = Vector3.new(1, -131.12999, 90)
- Part28.Position = Vector3.new(-14.117672, 2.050035, -8.95090199)
- Part28.Rotation = Vector3.new(178.479996, -48.8600006, -91.1399994)
- Part28.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part28.Size = Vector3.new(0.200000003, 1.60000014, 0.200000003)
- Part28.Anchored = true
- Part28.BottomSurface = Enum.SurfaceType.Smooth
- Part28.BrickColor = BrickColor.new("Dark stone grey")
- Part28.CanCollide = false
- Part28.Locked = true
- Part28.TopSurface = Enum.SurfaceType.Smooth
- Part28.brickColor = BrickColor.new("Dark stone grey")
- Part28.FormFactor = Enum.FormFactor.Custom
- Part28.formFactor = Enum.FormFactor.Custom
- SpecialMesh29.Parent = Part28
- SpecialMesh29.MeshType = Enum.MeshType.Brick
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- -----------------------------------------------
- Player = game.Players.LocalPlayer
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- game.workspace.Radio.Parent = Character
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- Character.Archivable = true
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
- local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
- local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
- local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
- local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
- local R3 = {N=Region3.new}
- local De = S.Debris
- local WS = workspace
- local Lght = S.Lighting
- local RepS = S.ReplicatedStorage
- local IN = Instance.new
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local hum = char.Humanoid
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local neck = tors["Neck"]
- local mouse = plr:GetMouse()
- local equipped = false
- local idle = 0
- local change = 1
- local val = 0
- local toim = 0
- local idleanim = 0.4
- local sine = 0
- local Sit = 1
- local VALUE1 = false
- local VALUE2 = false
- local HOLD = false
- local KEYHOLD = false
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- ---
- Humanoid.DisplayDistanceType = "None"
- local MusicID = 841541884
- local Music = Instance.new("Sound",Torso)
- Music.SoundId = "rbxassetid://"..MusicID
- Music.Looped = true
- Music.Pitch = 1
- Music.Volume = 5
- Music.Parent = nil
- Music:Resume()
- ---
- Muted = false
- while true do
- swait()
- Music.Parent = Character.Radio.Part2
- if(not Music or not Music.Parent)then
- local tPos = 0
- pcall(function()tPos = Music.TimePosition; Music:destroy() end)
- Music = Sound(Character,MusicID,1,10,true,false,true)
- Music.Name = 'Music'
- Music.TimePosition = tPos
- end
- Music.SoundId = "rbxassetid://"..MusicID
- Music.Pitch = 1
- Music.Volume = 10
- if(not Muted)then
- Music:Resume()
- else
- Music:Pause()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement