it’s a bit hard to explain in words, so i’ll send the script:
--CLIENT/LOCAL SCRIPT--
uis.InputBegan:Connect(function(k,istyping)
if istyping then
return
elseif uis:IsKeyDown(Enum.KeyCode.W) and k.KeyCode == Enum.KeyCode.Q then
if debr == false then
if c:FindFirstChild("Stunned") then return end
cm:FireServer(p,"TP")
end
end
end)
--SERVER SCRIPT--
CM.OnServerEvent:Connect(function(p,Move)
if Move == "TP" then
print('teleport')
local c = p.Character
local hum = c:WaitForChild("Humanoid")
local hrp = c:FindFirstChild("HumanoidRootPart")
local sound = sounds.GlitchTeleport:Clone()
sound.Parent = c.Head
sound:Destroy()
CM:FireClient(p,"TP")
end
end)
its not printing or doing anything, not even any errors, i dont see any problem, unless im blind, can anyone help me out?