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
- do
- print("FE Compatibility code by Mokiros")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- --Converted with ttyyuu12345's model to script plugin v4
- 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"))
- Sky0 = Instance.new("Sky")
- Sky0.Name = "Stardust Speedway (good future) Skybox"
- Sky0.Parent = mas
- Sky0.CelestialBodiesShown = false
- Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=160314837"
- Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=160328515"
- Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=160314896"
- Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=160314866"
- Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=160314805"
- Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=160314977"
- Sky0.StarCount = 0
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Lighting")
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- --Converted with ttyyuu12345's model to script plugin v4
- 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")
- Model1 = Instance.new("Model")
- UnionOperation2 = Instance.new("UnionOperation")
- UnionOperation3 = Instance.new("UnionOperation")
- Decal4 = Instance.new("Decal")
- Decal5 = Instance.new("Decal")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Decal8 = Instance.new("Decal")
- Decal9 = Instance.new("Decal")
- Decal10 = Instance.new("Decal")
- Decal11 = Instance.new("Decal")
- Decal12 = Instance.new("Decal")
- Decal13 = Instance.new("Decal")
- SpotLight14 = Instance.new("SpotLight")
- Script15 = Instance.new("Script")
- Camera16 = Instance.new("Camera")
- Part17 = Instance.new("Part")
- Model0.Parent = mas
- Model1.Name = "V A P O R W A V E"
- Model1.Parent = Model0
- UnionOperation2.Parent = Model1
- UnionOperation2.CFrame = CFrame.new(-329.258545, 186.240417, -2.00901389, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation2.Position = Vector3.new(-329.258545, 186.240417, -2.00901389)
- UnionOperation2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- UnionOperation2.Size = Vector3.new(10.9342766, 103.87542, 103.87545)
- UnionOperation2.Anchored = true
- UnionOperation2.BrickColor = BrickColor.new("Really black")
- UnionOperation2.Material = Enum.Material.Neon
- UnionOperation2.brickColor = BrickColor.new("Really black")
- UnionOperation2.UsePartColor = true
- UnionOperation3.Parent = Model1
- UnionOperation3.CFrame = CFrame.new(-328.137634, 191.789581, -7.12074614, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation3.Position = Vector3.new(-328.137634, 191.789581, -7.12074614)
- UnionOperation3.Color = Color3.new(0.854902, 0.521569, 0.254902)
- UnionOperation3.Size = Vector3.new(10.9342766, 103.87542, 103.87545)
- UnionOperation3.Anchored = true
- UnionOperation3.BrickColor = BrickColor.new("Bright orange")
- UnionOperation3.Material = Enum.Material.Neon
- UnionOperation3.brickColor = BrickColor.new("Bright orange")
- UnionOperation3.UsePartColor = true
- Decal4.Name = "White Fade Up"
- Decal4.Parent = UnionOperation3
- Decal4.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal4.Transparency = 0.20000000298023
- Decal4.Face = Enum.NormalId.Right
- Decal4.Color3 = Color3.new(1, 0.333333, 1)
- Decal5.Name = "White Fade Up"
- Decal5.Parent = UnionOperation3
- Decal5.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal5.Transparency = 0.20000000298023
- Decal5.Color3 = Color3.new(1, 0.333333, 1)
- Decal6.Name = "White Fade Up"
- Decal6.Parent = UnionOperation3
- Decal6.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal6.Transparency = 0.20000000298023
- Decal6.Face = Enum.NormalId.Left
- Decal6.Color3 = Color3.new(1, 0.333333, 1)
- Decal7.Name = "White Fade Up"
- Decal7.Parent = UnionOperation3
- Decal7.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal7.Transparency = 0.20000000298023
- Decal7.Face = Enum.NormalId.Back
- Decal7.Color3 = Color3.new(1, 0.333333, 1)
- Decal8.Name = "white_fade"
- Decal8.Parent = UnionOperation3
- Decal8.Texture = "http://www.roblox.com/asset/?id=2070896512"
- Decal8.Transparency = 0.20000000298023
- Decal8.Face = Enum.NormalId.Bottom
- Decal8.Color3 = Color3.new(0.333333, 0, 0.498039)
- Decal9.Name = "White Fade Up"
- Decal9.Parent = UnionOperation3
- Decal9.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal9.Transparency = 0.20000000298023
- Decal9.Face = Enum.NormalId.Right
- Decal9.Color3 = Color3.new(1, 0.333333, 1)
- Decal10.Name = "White Fade Up"
- Decal10.Parent = UnionOperation3
- Decal10.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal10.Transparency = 0.20000000298023
- Decal10.Face = Enum.NormalId.Left
- Decal10.Color3 = Color3.new(1, 0.333333, 1)
- Decal11.Name = "White Fade Up"
- Decal11.Parent = UnionOperation3
- Decal11.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal11.Transparency = 0.20000000298023
- Decal11.Face = Enum.NormalId.Back
- Decal11.Color3 = Color3.new(1, 0.333333, 1)
- Decal12.Name = "White Fade Up"
- Decal12.Parent = UnionOperation3
- Decal12.Texture = "http://www.roblox.com/asset/?id=2288875354"
- Decal12.Transparency = 0.20000000298023
- Decal12.Color3 = Color3.new(1, 0.333333, 1)
- Decal13.Name = "white_fade"
- Decal13.Parent = UnionOperation3
- Decal13.Texture = "http://www.roblox.com/asset/?id=2070896512"
- Decal13.Transparency = 0.20000000298023
- Decal13.Face = Enum.NormalId.Top
- Decal13.Color3 = Color3.new(1, 0.333333, 1)
- SpotLight14.Parent = UnionOperation3
- SpotLight14.Color = Color3.new(0, 0, 1)
- SpotLight14.Face = Enum.NormalId.Bottom
- SpotLight14.Brightness = 40
- Script15.Parent = Model1
- table.insert(cors,sandbox(Script15,function()
- --This model was created by Dr_Kylak--
- --https://www.roblox.com/users/51636134/profile--
- -- (: --
- end))
- Camera16.Name = "ThumbnailCamera"
- Camera16.Parent = Model1
- Camera16.CFrame = CFrame.new(7.2665081, 66.8978577, 148.874191, 0.0179226417, 0.0313822776, 0.999346852, 1.16415308e-10, 0.999507427, -0.0313873179, -0.999839365, 0.000562543748, 0.0179138128)
- Camera16.CoordinateFrame = CFrame.new(7.2665081, 66.8978577, 148.874191, 0.0179226417, 0.0313822776, 0.999346852, 1.16415308e-10, 0.999507427, -0.0313873179, -0.999839365, 0.000562543748, 0.0179138128)
- Camera16.Focus = CFrame.new(5.26781368, 66.9606323, 148.838364, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera16.focus = CFrame.new(5.26781368, 66.9606323, 148.838364, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Parent = Model0
- Part17.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Position = Vector3.new(0, 0.5, 0)
- Part17.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part17.Size = Vector3.new(512, 1, 512)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.BrickColor = BrickColor.new("Bright violet")
- Part17.Material = Enum.Material.Neon
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.brickColor = BrickColor.new("Bright violet")
- 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
- --Converted with ttyyuu12345's model to script plugin v4
- 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")
- Model1 = Instance.new("Model")
- UnionOperation2 = Instance.new("UnionOperation")
- UnionOperation3 = Instance.new("UnionOperation")
- Model4 = Instance.new("Model")
- UnionOperation5 = Instance.new("UnionOperation")
- UnionOperation6 = Instance.new("UnionOperation")
- Part7 = Instance.new("Part")
- Model0.Parent = mas
- Model1.Name = "Vaporwave Sun"
- Model1.Parent = Model0
- UnionOperation2.Parent = Model1
- UnionOperation2.CFrame = CFrame.new(527.850342, 33.2403488, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation2.Position = Vector3.new(527.850342, 33.2403488, 129.384979)
- UnionOperation2.Color = Color3.new(1, 0, 0.74902)
- UnionOperation2.Transparency = 0.20000000298023
- UnionOperation2.Size = Vector3.new(10.6293612, 20.4806557, 73.0733948)
- UnionOperation2.Anchored = true
- UnionOperation2.BrickColor = BrickColor.new("Hot pink")
- UnionOperation2.Material = Enum.Material.Glass
- UnionOperation2.brickColor = BrickColor.new("Hot pink")
- UnionOperation3.Parent = Model1
- UnionOperation3.CFrame = CFrame.new(527.980042, 78.0432434, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation3.Position = Vector3.new(527.980042, 78.0432434, 129.384979)
- UnionOperation3.Color = Color3.new(1, 0.690196, 0)
- UnionOperation3.Transparency = 0.10000000149012
- UnionOperation3.Size = Vector3.new(10.8886662, 62.5734863, 88.4358215)
- UnionOperation3.Anchored = true
- UnionOperation3.BrickColor = BrickColor.new("Deep orange")
- UnionOperation3.Material = Enum.Material.Glass
- UnionOperation3.brickColor = BrickColor.new("Deep orange")
- Model4.Name = "Vaporwave Sun"
- Model4.Parent = Model0
- UnionOperation5.Parent = Model4
- UnionOperation5.CFrame = CFrame.new(538.850342, 33.5703354, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation5.Position = Vector3.new(538.850342, 33.5703354, 129.384979)
- UnionOperation5.Color = Color3.new(1, 0, 0.74902)
- UnionOperation5.Size = Vector3.new(10.6293612, 20.4806557, 73.0733948)
- UnionOperation5.Anchored = true
- UnionOperation5.BrickColor = BrickColor.new("Hot pink")
- UnionOperation5.Material = Enum.Material.Neon
- UnionOperation5.brickColor = BrickColor.new("Hot pink")
- UnionOperation6.Parent = Model4
- UnionOperation6.CFrame = CFrame.new(538.980042, 78.3731995, 129.384979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation6.Position = Vector3.new(538.980042, 78.3731995, 129.384979)
- UnionOperation6.Color = Color3.new(1, 0.690196, 0)
- UnionOperation6.Size = Vector3.new(10.8886662, 62.5734863, 88.4358215)
- UnionOperation6.Anchored = true
- UnionOperation6.BrickColor = BrickColor.new("Deep orange")
- UnionOperation6.Material = Enum.Material.Neon
- UnionOperation6.brickColor = BrickColor.new("Deep orange")
- Part7.Parent = Model0
- Part7.CFrame = CFrame.new(-39.5, 0.5, 54.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.Position = Vector3.new(-39.5, 0.5, 54.5)
- Part7.Color = Color3.new(0.419608, 0.196078, 0.486275)
- Part7.Size = Vector3.new(923, 1, 927)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Bright violet")
- Part7.Material = Enum.Material.Neon
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Bright violet")
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement