Tool = script.Parent Tool.Activated:connect(function() Player = Tool.Parent.Parent game:GetService("TeleportService"):Teleport(148922198, Player) end)
This is what I have done, it doesn´t works, What I want to do is a tool with the shape of a sphere that will teleport me to a universe. Please help me ;(
Assuming this is a LocalScript in a tool then this code should work
Tool = script.Parent Tool.Activated:connect(function() Player = game:GetService("Players").LocalPlayer game:GetService("TeleportService"):Teleport(148922198, Player) end)