#I want help making a teleporter for my game that teleports you to the main map

1 messages · Page 1 of 1 (latest)

strong kettle
#

My game is like 99 nights in the forest

granite pagoda
#

Chatacter:MoveTo()

granite pagoda
# granite pagoda 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
#

Ok ty

#

But it's going to take me a while since I'm working alone but ty

grim mantle
#

@strong kettle you mean teleports you to another « game » with a loading or just teleported to another part of the map

granite pagoda
strong kettle
#

Sure I'm just doing the models rn

#

My game name is mission Mars I'm doing the rocket rn@granite pagoda

granite pagoda
#

I can make that

strong kettle
#

Whats ur user

brazen garnetBOT
#

studio** You are now Level 1! **studio

granite pagoda
#

Conetobrasil1501

arctic venture
grim mantle
arctic venture
#

Did u play ink game before ?

#

oh nvm

brazen garnetBOT
#

studio** You are now Level 2! **studio

arctic venture
#

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

arctic venture
#

they have a custom one

#

the one with 3 guard masks

granite pagoda
#

I can make a gui for the loading screen

#

And script for it too

grim mantle
#

Yee uh wait i forgot how u do it lemme search rq

granite pagoda
#

Wait

grim mantle
#

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()

grim mantle
#

Basically add a gui from replicatedfirst

#

Removedefaultloadingscreen function

arctic venture
#

Oh daaamn

#

Nicee

#

thank you

grim mantle
#

Wiki helps a lot if u wanna learn

arctic venture
#

This thread too

#

Does the script replace the default loading screen with a simple text label ?

grim mantle