server script :
script.Parent.RemoteEvent.OnServerEvent:Connect(function(Player, Plr) while true do workspace:FindFirstChild(Plr.Name):FindFirstChild("HumanoidRootPart").CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0.0,0) wait() end end)
local script :
script.Parent.MouseButton1Down:Connect(function() script.Parent.RemoteEvent:FireServer(script.Parent.Parent.TextBox.Text) end)