#I want help making a teleporter for my game that teleports you to the main map
1 messages · Page 1 of 1 (latest)
Chatacter:MoveTo()
Put a part in workspace and put a script in serverscriptservice, Put this code in the script
local part = workspace.part
local Players = game:GetService("Players")
local player = Players:GetPlayers()[1] -- pega algum jogador existente
local character = player.Character or player.CharacterAdded:Wait()
Chatacter:MoveTo(part.position)
@strong kettle
@strong kettle you mean teleports you to another « game » with a loading or just teleported to another part of the map
Hey, Want me to help?
Sure I'm just doing the models rn
My game name is mission Mars I'm doing the rocket rn@granite pagoda
I can make that
Whats ur user
** You are now Level 1! **
Conetobrasil1501
speaking about that how can you personalize the default loading screen ?
Wym ? When u join the game?
** You are now Level 2! **
we share the same server
on ink
so im guessing u played it
they use a similar system
but instead of the default roblox loading screen after teleport
Ye
Yee uh wait i forgot how u do it lemme search rq
Wait
local Players = game:GetService("Players")
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.IgnoreGuiInset = true
screenGui.Parent = playerGui
local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundColor3 = Color3.fromRGB(0, 20, 40)
textLabel.Font = Enum.Font.GothamMedium
textLabel.TextColor3 = Color3.new(0.8, 0.8, 0.8)
textLabel.Text = "Loading"
textLabel.TextSize = 28
textLabel.Parent = screenGui
ReplicatedFirst:RemoveDefaultLoadingScreen()
task.wait(5)
if not game:IsLoaded() then
game.Loaded:Wait()
end
screenGui:Destroy()
From wiki
Basically add a gui from replicatedfirst
Removedefaultloadingscreen function
This thread too
Does the script replace the default loading screen with a simple text label ?
Here i think yes but make ur gui and then clone it into playergui