Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Made in Heaven (Stairway to Heaven)
- (Made in Heaven is Jojo's bizzare adventure stands owner is Enrico Pucci)
- by tomonaoboys
- --]]
- --<< The 'time for Heaven'. It has finally arrived... >>
- --------How to use--------
- --5(Keyboard):Toogle work to Humnanoid
- --6(Keyboard):Reverse working to Projectiles
- --7(Keyboard):Enable or Disable Made in Heaven
- --Chat"!spd (Number)" : Change speed
- --------This does happen what?--------
- --Changes many object speeds that makes to be faster,or to be slower except user.
- --If you really want to do,It can reverse time,but don't work to Humanoids(Speed become 0). and this is actuary not Made in Heaven
- --This is not for become a most strongest,it's for making the Heaven.
- --Updated(2017/09/20) Now you don't need to say !spd (number). use added gui.(and now script don't with wrong text maybe)
- wait(1)
- if script.ClassName=="Script"then
- if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
- print("FE Compatibility: by WaverlyCole & Mokiros")
- InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput"
- local function NewFakeEvent()
- local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
- return Fake
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Function then
- Trigger.Function(...)
- end
- end
- Mouse.TrigEvent = TriggerEvent
- UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then end
- if Input.MouseEvent then
- Mouse.Target = Input.Target
- Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then
- return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
- end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do
- if Key==Input.KeyCode then
- Action.Function(Action.Name,Input.UserInputState,Input)
- end
- end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse
- InternalData["ContextActionService"] = ContextActionService
- InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner
- local Event = script:WaitForChild("UserInput")
- local UserInputService = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input)
- UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)
- return InternalData["Mouse"]
- end
- end
- return function (self,...)
- return RealPlayer[Index](RealPlayer,...)
- end
- else
- if Index == "PlrObj" then
- return RealPlayer
- end
- return RealPlayer[Index]
- end
- end;
- __tostring = function(self)
- return RealPlayer.Name
- end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- if Service:lower() == "players" then
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "localplayer" then
- return Sandbox(owner)
- end
- return RealService[Index2]
- end
- end;
- __tostring = function(self)
- return RealGame:GetService(Service).Name
- end
- })
- elseif Service:lower() == "contextactionservice" then
- return InternalData["ContextActionService"]
- elseif Service:lower() == "contextactionservice" then
- return InternalData["UserInputService"]
- elseif Service:lower() == "runservice" then
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "bindtorenderstep" then
- return function (self,Name,Priority,Function)
- return RealGame:GetService("RunService").Stepped:Connect(Function)
- end
- end
- if Index2:lower() == "renderstepped" then
- return RealService["Stepped"]
- end
- return RealService[Index2]
- end
- end
- })
- else
- return RealGame:GetService(Service)
- end
- end
- end
- return function (self,...)
- return RealGame[Index](RealGame,...)
- end
- else
- if game:GetService(Index) then
- return game:GetService(Index)
- end
- return RealGame[Index]
- end
- else
- return nil
- end
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
- print("Complete! Running...")
- end
- speedl=5
- if math.random(2)==1 then script.Name="Stairway to Heaven"else script.Name="Made in Heaven"end
- script.Parent=workspace.CurrentCamera
- MiHActive=false DoToHumanoid=true
- Players=game:FindFirstChildOfClass("Players")Lighting=game:FindFirstChildOfClass("Lighting")
- ReverseObjectSpeedDown=true
- ReversePRJCSpeedDown=true
- PL=owner or Players.LocalPlayer if PL.Character then PC=PL.Character
- function sidk(text)
- print(text)
- --[[
- local a=Instance.new("ScreenGui",PL:FindFirstChildOfClass("PlayerGui"))
- local b=Instance.new("TextLabel",a)b.Size=UDim2.new(1,0,0,30)b.BackgroundTransparency=1 b.TextStrokeTransparency=1 b.TextTransparency=1 b.TextColor3=Color3.new(1,1,1)b.Text=text b.TextScaled=false b.TextSize=20
- spawn(function()for i=1,10,.2 do b.Position=UDim2.new(0,0,1,-i*15-60)b.TextTransparency=i/10 b.TextStrokeTransparency=i/10 wait()end a:Remove()end)]]
- end
- local nb=Instance.new("BillboardGui",PC.Head)nb.Size=UDim2.new(0,50,0,50)nb.ExtentsOffsetWorldSpace=Vector3.new(0,5,0)--nb.AlwaysOnTop=true
- local nbt=Instance.new("TextLabel",nb)nbt.Size=UDim2.new(1,0,0,50)nbt.BackgroundTransparency=1 nbt.TextStrokeTransparency=0 nbt.TextColor3=Color3.new(1,1,1)nbt.TextSize=30
- spawn(function()nbt.Text="The 'time for Heaven'. It has finally arrived..."wait(5)nbt.Text=""end)end
- function Boost(ch)
- if ch:IsA("Humanoid")and tostring(ch.Parent)~=tostring(PL)then if ch:FindFirstChild("DefSpd")==nil then local j=Instance.new("NumberValue",ch)j.Name="DefSpd"j.Value=ch.WalkSpeed else if MiHActive and DoToHumanoid then if speedl~=0 then ch.WalkSpeed=ch.DefSpd.Value/speedl else ch.WalkSpeed=0 end else ch.WalkSpeed=ch.DefSpd.Value end end end
- if ch:IsA("BodyVelocity")then if ch:FindFirstChild("DefSpd")==nil then local j=Instance.new("Vector3Value",ch)j.Name="DefSpd"j.Value=ch.Velocity else if MiHActive then if ReversePRJCSpeedDown then ch.Velocity=ch.DefSpd.Value*speedl else if speedl~=0 then ch.Velocity=ch.DefSpd.Value/speedl else ch.Velocity=Vector3.new(0,0,0)end end else ch.Velocity=ch.DefSpd.Value end end end
- if ch:IsA("BodyThrust")then if ch:FindFirstChild("DefSpd")==nil then local j=Instance.new("Vector3Value",ch)j.Name="DefSpd"j.Value=ch.Force else if MiHActive then if ReversePRJCSpeedDown then ch.Force=ch.DefSpd.Value*speedl else if speedl~=0 then ch.Force=ch.DefSpd.Value/speedl else ch.Force=Vector3.new(0,0,0)end end else ch.Force=ch.DefSpd.Value end end end
- if ch:IsA("BodyAngularVelocity")then if ch:FindFirstChild("DefSpd")==nil then local j=Instance.new("Vector3Value",ch)j.Name="DefSpd"j.Value=ch.AngularVelocity else if MiHActive then if ReversePRJCSpeedDown then ch.AngularVelocity=ch.DefSpd.Value*speedl else if speedl~=0 then ch.AngularVelocity=ch.DefSpd.Value/speedl else ch.AngularVelocity=Vector3.new(0,0,0)end end else ch.AngularVelocity=ch.DefSpd.Value end end end
- if ch:IsA("RocketPropulsion")then if ch:FindFirstChild("DefSpd")==nil then local j=Instance.new("NumberValue",ch)j.Name="DefSpd"j.Value=ch.MaxSpeed else if MiHActive then if ReversePRJCSpeedDown then ch.MaxSpeed=ch.DefSpd.Value*speedl else if speedl~=0 then ch.MaxSpeed=ch.DefSpd.Value/speedl else ch.MaxSpeed=0 end end else ch.MaxSpeed=ch.DefSpd.Value end end end
- if ch:IsA("VehicleSeat")then if ch:FindFirstChild("DefSpd")==nil then local j=Instance.new("NumberValue",ch)j.Name="DefSpd"j.Value=ch.MaxSpeed else if MiHActive then if ReverseObjectSpeedDown then ch.MaxSpeed=ch.DefSpd.Value*speedl else if speedl~=0 then ch.MaxSpeed=ch.DefSpd.Value/speedl else ch.MaxSpeed=0 end end else ch.MaxSpeed=ch.DefSpd.Value end end end
- local cc=ch:GetChildren()
- for i=1,#cc do
- Boost(cc[i])
- end
- end
- spawn(function()while wait()do Boost(workspace)wait()end end)
- local Mouse=PL:GetMouse()
- Mouse.KeyDown:connect(function(Key)
- -- if not Gpe then
- if Key=="7" then
- if MiHActive
- then
- MiHActive=false
- sidk("Made in Heaven Disabled")
- else
- MiHActive=true
- sidk("Made in Heaven Enabled")
- end
- end
- if Key=="6" then
- if ReversePRJCSpeedDown
- then
- ReversePRJCSpeedDown=false
- sidk("Projectile Speed:Normal")print("projectile speed normal")
- else
- ReversePRJCSpeedDown=true
- sidk("Projectile Speed:Reverse")print("projectile speed normal")
- end
- end
- if Key=="5" then
- if DoToHumanoid
- then
- DoToHumanoid=false
- sidk("Work to Humanoid:Disabled")print("projectile speed normal")
- else
- DoToHumanoid=true
- sidk("Work to Humanoid:Enabled")
- end
- end
- -- end
- end)
- function idk5(txt)
- if tonumber(txt)~=nil then speedl=tonumber(txt)sidk("Speed:"..txt)else sidk("Invalid type or too much")end
- end
- spawn(function()while wait()do if PL:FindFirstChildOfClass("PlayerGui"):FindFirstChild("MiHGUI")==nil then local idk=Instance.new("ScreenGui",PL:FindFirstChildOfClass("PlayerGui"))idk.ResetOnSpawn=false local t=Instance.new("TextBox",idk)t.Size=UDim2.new(0,230,0,22)t.Position=UDim2.new(1,-255,.4,0)t.BackgroundColor3=Color3.new(1,1,1)t.BackgroundTransparency=.5 t.Text="Put number here(Changes speed)"t.BorderSizePixel=0
- t.TextStrokeTransparency=0 t.TextColor3=Color3.new(1,1,1)t.TextScaled=false t.TextSize=10 idk.Name="MiHGUI"
- t.InputEnded:connect(function(m)idk5(t.Text)t.Text="Put number here(Changes speed)"end)end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement