How to make end screen like the hyper speed

How gonna make end screen

1 Like

custom scripting and GUIs

you could tween the transparentsy of the black screen

Very complicated scripting.

Help I’m dumb

1 Like

No, you aren’t.

1 Like
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
game.ReplicatedStorage.Level1:Clone().Parent = player.PlayerGui
part:Destroy()
end
end)```
(i might be wrong)

yeah, its wrong, works only if be in studio, also this is a touched function.

Edit 1: forgot that plrs[i].PlayerUI exists
It is recommended to create a UI you wish to make beforehand then create a new script that clones the UI here:

local UI, plrs = script.EndUI:Clone(), game.Players
for i = 1, #plrs:GetPlayers() do
  UI.Parent = plrs[i].PlayerUI
end

Afterwards, create a local script in the UI and paste this:

local brightEff = Instance.new("ColorCorrectionEffect", game.Lighting)
brightEff.Parent = game.Lighting
brightEff.Brightness = 0
game:GetService("TweenService"):Create(brightEff, TweenInfo.new(.75, Enum.EasingStyle.Linear), {brightEff.Brightness = -1}):Play()
delay(.75, function()
  brightEff.Brightness = -1
end
wait(1.25)
-- code

pls tell me if err’d ok bye

You can’t insert a screengui in a player using eventscript, you need make the script move localscript to plr character, and put the move function in localscript

Maybe ask the scripter of Hyper Speed directly (Kris)

but how is he gonna let kris know chat with him on discord

Continuing the discussion from How to make end screen like the hyper speed:

lmao im right here, the way I made it was to make the gui seperately before hand. then when the player survives clone it into the player gui, I found out when they survived because of the portal.

local touchedThing = Lib.Map.EndScreenTouch
touchedThing.Touched:Connect(function(hit)
  if hit.Parent:FindFirstChild("Humanoid") then -- Probably not efficient but 'debounce' is done later
    local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
    plr:WaitForChild("PlayerGui")
    if plr.PlayerGui:FindFirstChild("EndScreenGui") == nil then -- Gui isn't in playergui
      local gui = Lib.Map.EndScreenGui:Clone()
      gui.Parent = plr.PlayerGui
    end
  end
end)

Btw, make sure all localscripts are enabled in the gui, if u plan to use it with them.