I Have A Obby But I want When You Finish It It Teleports You Back To The Start

I Want To Make A Part That Gives You Cash In A Obby And Puts You to The Beginning
2. So Basically I can Make The Cash And Teleport But It Teleports You Back To The Cash Part:


All My Scripts Are Fine. I Just Need A Script For It To Teleport You To Restart And Don’t Teleport You Back For Cash.
Heres The Teleporting Script
local tele1 = script.Parent.Tele1
local tele2 = script.Parent.Tele2
local debounce = false

tele1.Touched:Connect(function(touched)
if touched.Parent:FindFirstChild(“Humanoid”) and debounce == false then
local char = touched.Parent
local humanoidrootpart = char.HumanoidRootPart

	humanoidrootpart.Position = tele2.Position
	debounce = true
	wait(3)
	debounce = false
end

end)

tele2.Touched:Connect(function(touched)
if touched.Parent:FindFirstChild(“Humanoid”) and debounce == false then
local char = touched.Parent
local humanoidrootpart = char.HumanoidRootPart

	humanoidrootpart.Position = tele1.Position
	debounce = true
	wait(3)
	debounce = false
end

end)

2 Likes

Did you try move the HumanoidRootPart to the desired CFrame?

1 Like

I don’t really understand what you are looking for. Can you elaborate more please.

Ik how to make the player teleport to the start, but I’m not sure how to give the player in game cash

Remove the script that makes you teleport back.

Thanks :grinning: This Helped Im So Dumb

1 Like

XD, don’t worry about it man, if anything talk to me again.

Ight Man Thanks :+1: I appreciate It.

1 Like

Well The Cash Is The Script Here:


Change Stuff That Say Cash To Your Leaderstats If You want

1 Like

Ok, do you still need the teleport script?

nope I don’t need that script anymore

1 Like