local Button = script.Parent
local TweenService = game:GetService("TweenService")
local info = TweenInfo.new(
2,
Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut,
0,
true
)
local Ora = {}
Ora.BackgroundTransparency = 0
Button.Triggered:Connect(function(Player)
local Character = Player.Character
local HRP = Character:WaitForChild("HumanoidRootPart")
local Gui = Player.PlayerGui.TeleportingGui
local Frame = Gui.Frame
Frame.Visible = true
local TWA = TweenService:Create(Frame, info, Ora)
TWA:Play()
task.spawn(function()
task.wait(2)
HRP.Position = Vector3.new(679.946, -168.107, 153.8)
end)
TWA.Completed:Connect(function()
Frame.Visible = false
Frame.BackgroundTransparency = 1
end)
end)
#Teleporting Script doesnt work
1 messages · Page 1 of 1 (latest)
local TweenService = game:GetService("TweenService")
local Button = script.Parent
local info = TweenInfo.new(
2,
Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut,
0,
true
)
local Goal = {}
Goal.BackgroundTransparency = 0
Button.Triggered:Connect(function(Player)
local Character = Player.Character
local HRP = Character:WaitForChild("HumanoidRootPart")
local Gui = Player.PlayerGui.TeleportingGui
local Frame = Gui.Frame
Frame.Visible = true
local TWAnim = TweenService:Create(Frame, info, Goal):Play()
task.spawn(function()
task.wait(2)
HRP.Position = Vector3.new(502.2, 25.13, 17.521)
end)
TWAnim.Completed:Connect(function()
Frame.Visible = false
Frame.BackgroundTransparency = 1
end)
end)
hey i can help
really?
umm you want to pay ior not?
Have you tried copy and pasting the same script w/ the different Vector3's? Im noticing some difference in-between the two scripts
i did
it doesnt have diffirences
** You are now Level 1! **
the only diffirences are Vector3
Then why is it different?
local Button = script.Parent
local TweenService = game:GetService("TweenService")
script2:
local TweenService = game:GetService("TweenService")
local Button = script.Parent
its that important?
k bye
Thats odd that it isn't working..
Not exactly
i just made it like that
Any errors in the output though?
wait what about i dont make reversing?
Hmm
dont delete everything yet brotato
😭
atleast save your vector3's
ok i think i have a fix
-
Try to debug if it actually teleports so youll know if it actually triggers or not
-
maybe change
HRP.Position = ..toHRP.CFrame = CFrame.new(..., ..., ...)
since if i remember correctly, .Position is not that great.. And may glitch out in some cases here and there
It probably can be
is the prompt triggering?
just like what plvcz said