This is my script that's inside. I have a few questions about this.
1st question: On line 6 will that work??
2nd question: Where would I put data store functions? How would I transfer/ create data store? I tried the wiki but it just confused me beyond anything....
local PlaceID = script.Parent.ID
function onTouched(hit)
character = hit.Parent
if character then
game:GetService("TeleportService"):Teleport(PlaceID, character)
end
end
script.Parent.Touched:connect(onTouched)

1 comment
What exactly do you want to save with Data Persistence? And yes, that will work, line 6.