You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? A script that teleports you and a box under you in a location.
-
What is the issue? The client and server is showing different locations, client is showing the location the humanroopart was teleported and idk where server thinks its at.
Client
Server
-
What solutions have you tried so far? Two hours of sleepless nights, and chat gpt. I don’t know what to do.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local plate = script.Parent
local Debounce = false
plate.Touched:Connect(function(part)
local humanoidRootPart = part.Parent:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local Debounce = true
local boxclone = game.ReplicatedStorage.box:Clone()
boxclone.Position = Vector3.new(140.476, 4.246, 112)
boxclone.Parent = game.workspace
humanoidRootPart.Position = Vector3.new(140.476, 4.246, 111.285)
end
end)
local Debounce = false