Help with Teleport GUI

Hey! I’m Tanvir, I wanted to make this topic because I need your help to help me out with my teleport GUI! the scripts are in replicated storage
image
and the script is in ServerScriptService


RedJuli21 is my scripter, he’s on a break so I need help on the tp GUI
and the tp Gui is in starter GUI
image
but when a player joins and they try the Teleport GUI, it doesn’t seem to work

Bruh your scripter though you use this

ACPlayer.Character.HumanoidRootPart.CFrae = workspace.SpawnLocation.CFrame*CFrame.new(0,5,0)

I am sorry but that scripter is just…

1 Like

I have tried that but it seemed it didn’t work

Is there any errors in the output?

image

You know what wait just use this:

player.Character -- instead of ACPlayer.Character

And do this

CFrame * CFrame.new() with a space in between the *

sorry but I don’t understand what you’re saying,
is it like player.Character.CFrame * CFrame.new()?

then inside CFrame.new add this

0,5,0

So like this

CFrame.new(0,5,0)

I tried it and still didn’t work

this is the anticheat frame

do
			if self.OldPos and self.TeleportCheck then
				local OldVector, NewVector = Vector3.new(self.OldPos.X, 0, self.OldPos.Z), Vector3.new(HRP.Position.X, 0, HRP.Position.Z)
				local distance = (OldVector-NewVector).Magnitude
				if distance > 40 and (tick()-self.LastDetection) > 2 then 
					self:Teleport(self.OldPos, "Vector")
					self.Detections['Teleport'] += 1
					ExploitLogs:Add(self.Player.Name.." got flagged for teleporting. "..self.Detections['Teleport'])
				end
				OldVector, NewVector = nil
				distance = nil
			end
		end```

Why is do there? that script is just

no

to be honest I don’t know but should I create a new teleport gui or?

well i am sorry for you scripter but he kinda makes bad scripts that look like viruses

should I create a new teleport gui???

so
wait presssed enter finishing]


game.ReplicatedStorage.Events.TeleportToSpawn.OnServerEvent:Connect(function(player)

end)