Awooslayer699

Untitled

Mar 22nd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = owner
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local Mouse = Player:GetMouse()
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. --[[
  88.     Made in Heaven (Stairway to Heaven)
  89.     (Made in Heaven is Jojo's bizzare adventure stands owner is Enrico Pucci)
  90.     by tomonaoboys
  91. --]]
  92. --<< The 'time for Heaven'. It has finally arrived... >>
  93. --------How to use--------
  94. --5(Keyboard):Toogle work to Humnanoid
  95. --6(Keyboard):Reverse working to Projectiles
  96. --7(Keyboard):Enable or Disable Made in Heaven
  97. --Chat"!spd (Number)" : Change speed
  98. --------This does happen what?--------
  99. --Changes many object speeds that makes to be faster,or to be slower except user.
  100. --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
  101. --This is not for become a most strongest,it's for making the Heaven.
  102. --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)
  103. wait(1)
  104. speedl=5
  105. if math.random(2)==1 then script.Name="Stairway to Heaven"else script.Name="Made in Heaven"end
  106. script.Parent=workspace.CurrentCamera
  107. MiHActive=false DoToHumanoid=true
  108. Players=game:FindFirstChildOfClass("Players")Lighting=game:FindFirstChildOfClass("Lighting")
  109. ReverseObjectSpeedDown=true
  110. ReversePRJCSpeedDown=true
  111. PL=owner if PL.Character then PC=PL.Character
  112. function sidk(text)
  113.     local a=Instance.new("ScreenGui",PL:FindFirstChildOfClass("PlayerGui"))
  114.     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
  115.     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)
  116. end
  117. 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
  118. 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
  119. spawn(function()nbt.Text="The 'time for Heaven'. It has finally arrived..."wait(5)nbt.Text=""end)end
  120. function Boost(ch)
  121.     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
  122.     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
  123.     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
  124.     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
  125.     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
  126.     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
  127.     local cc=ch:GetChildren()
  128.     for i=1,#cc do
  129.         Boost(cc[i])
  130.     end
  131. end
  132. spawn(function()while wait()do Boost(workspace)wait()end end)
  133. game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe)
  134.     if not Gpe then
  135.         if Key.KeyCode==Enum.KeyCode.Seven then
  136.             if MiHActive
  137.             then
  138.                 MiHActive=false
  139.                 sidk("Made in Heaven Disabled")
  140.             else
  141.                 MiHActive=true
  142.                 sidk("Made in Heaven Enabled")
  143.             end
  144.         end
  145.         if Key.KeyCode==Enum.KeyCode.Six then
  146.             if ReversePRJCSpeedDown
  147.             then
  148.                 ReversePRJCSpeedDown=false
  149.                 sidk("Projectile Speed:Normal")
  150.             else
  151.                 ReversePRJCSpeedDown=true
  152.                 sidk("Projectile Speed:Reverse")
  153.             end
  154.         end
  155.         if Key.KeyCode==Enum.KeyCode.Five then
  156.             if DoToHumanoid
  157.             then
  158.                 DoToHumanoid=false
  159.                 sidk("Work to Humanoid:Disabled")
  160.             else
  161.                 DoToHumanoid=true
  162.                 sidk("Work to Humanoid:Enabled")
  163.             end
  164.         end
  165.     end
  166. end)
  167. function idk5(txt)
  168.     if tonumber(txt)~=nil then speedl=tonumber(txt)sidk("Speed:"..txt)else sidk("Invalid type or too much")end
  169. end
  170. 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
  171. t.TextStrokeTransparency=0 t.TextColor3=Color3.new(1,1,1)t.TextScaled=false t.TextSize=10 idk.Name="MiHGUI"
  172. 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