• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Talkaction Telport to 1sqm up

Morcega Negra

Banned User
Joined
Aug 4, 2015
Messages
102
Solutions
1
Reaction score
8
Hi, I would like to know how I make a script for / go
it teleport to 1 sqm above
I know just by putting the exact x, y, z address, but I do not know how to do it anywhere that the player is able to use the / go and go a sqm up
 
Hi! the script is this one.. but any basic ot have it.
function onSay(player, words, param)
if getPlayerGroupId(player) < 4 then
return false
end
local position = player:getPosition()
position.z = position.z - 1
player:teleportTo(position)
return false
end
 
Back
Top