#Can anyone can help me with
1 messages · Page 1 of 1 (latest)
Post the code fr
-- // Edit Here // --
local Location = workspace.TeleportParts.TeleportPart -- Place to teleport to.
local TPFrameImage = "rbxassetid://10338265449" -- Custom fade image.
local LocationText = "Location" -- Location text.
-- // Leave this // --
script.Parent.ImageLabel.Image = TPFrameImage
script.Parent.Location.Text = LocationText
script.Parent.Teleport.Button.MouseButton1Click:Connect(function()
game:GetService("Players").LocalPlayer.Character:WaitForChild("UpperTorso").CFrame = CFrame.new(Location.Position + Vector3.new(0,3,0))
end)```
You can’t use the upper torso to tp a character
Use “HumanoidRootPart”
@analog night
Character.HumanoidRootPart
the uppertorso is not the root of the body, just a simple body part. moving that will not properly move the character. you can only properly move it with the rootpart, which is usually the primarypart.
-- // Edit Here // --
local Location = workspace.TeleportParts.TeleportPart -- Place to teleport to.
local TPFrameImage = "rbxassetid://10338265449" -- Custom fade image.
local LocationText = "Location" -- Location text.
-- // Leave this // --
script.Parent.ImageLabel.Image = TPFrameImage
script.Parent.Location.Text = LocationText
script.Parent.Teleport.Button.MouseButton1Click:Connect(function()
game:GetService("Players").LocalPlayer.Character:WaitForChild(“HumanoidRootPart").CFrame = CFrame.new(Location.Position + Vector3.new(0,3,0))
end)```
try this
the character and parent not being defined as variables pisses me off a bit
same
what
i just see here you write too
and i thought you know with scripting
sorry if i was bothered you
fucking idiot this script
Free Model + all my other models are in my Asset Hub!
https://www.roblox.com/games/12850620074/
Join my Discord for support! https://discord.gg/cn2m4SgS82
Support me on Patreon! // https://www.patreon.com/asadrith/shop
what did i did wrong
you used uppertorso instead of humanoidrootpart
-- // Edit Here // --
local Location = workspace.TeleportParts.cozyroom -- Place to teleport to.
local TPFrameImage = "rbxassetid://10338265449" -- Custom fade image.
local LocationText = "Location" -- Location text.
-- // Leave this // --
script.Parent.ImageLabel.Image = TPFrameImage
script.Parent.Location.Text = LocationText
script.Parent.Teleport.Button.MouseButton1Click:Connect(function()
game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(Location.Position + Vector3.new(0,3,0))
end)```
here is lua
you are the last hope for this
Don’t pressure me like dat 😭
my bad =]
I will put it in my game and see
Gemme a sec
why use MouseButton1Click?
just use Button.Activated
im not even sure if MouseButton1Click exists
It does
@sonic ravine
u with me?
i just added it to the game it works fine did u add another tp location?
the normal one works
without changing anything
so to understand i need spawnlocation??
wdym?
to put in config
i truly dont get what u mean
i tried it worked
look
the new tp part add it to
tp parts
TeleportParts
so you dont get lost
name it whatever you want
got the script
yep is not working anymore
-- // Edit Here // --
local Location = workspace.TeleportParts.-- Place the name
local TPFrameImage = "rbxassetid://10338265449" -- Custom fade image.
local LocationText = "Location" -- Location text.
-- // Leave this // --
script.Parent.ImageLabel.Image = TPFrameImage
script.Parent.Location.Text = LocationText
script.Parent.Teleport.Button.MouseButton1Click:Connect(function()
game:GetService("Players").LocalPlayer.Character:WaitForChild("UpperTorso").CFrame = CFrame.new(Location.Position + Vector3.new(0,3,0))
end)
add me to your game if u dont mind
Maroo8210
added u
i added you
Ok add me to the game
i added
yes
so to understand
now is worked
yep is working
thx
and 1 question and i let you alone because i am gonna sleep
It works now
Type shi
with idd or i can ddo custom image
Just uploade add image thing in gui
ok
have a nice day
if doesn t work or idk i tried from the last server ok ?
U too
Huh?
I don’t get what u mean
Just copy what I wrote when adding new location
Add all ur tp parts in the tp parts in workspace
And you should be fine
And don’t forget to change the name every time
@cobalt hornet is worked
but is a problem when i go little bit far i mean 50 meter
is not worked more
how?
because i make little bit far
** You are now Level 7! **
ok