• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TPS

imback1

Unknown member
Joined
Jul 11, 2013
Messages
785
Solutions
1
Reaction score
46
Hello

i need script to make my tps like this

214wr4l.jpg
 
Code:
--[[
    Talking Tp/signs/tiles for TFS 0.3+
    by (Herotom)
]]--
    local text = {
    --X pos,Y pos, Z pos, text
    [1] = {pos = {1000,998,7}, text = {"Welcome"}},

        [2] = {pos = {995,1006,7}, text = {"PVP"}},

        [3] = {pos = {1005,1006,7}, text = {"pvp"}},
       


    }
    local effects = {
    --X pos,Y pos, Z pos, text
    [1] = {pos = {1000,998,7}, effect = {40}},

        [2] = {pos = {995,1006,7}, effect = {61}},

        [3] = {pos = {1005,1006,7}, effect = {61}},
       
        [4] = {pos = {1166,1016,7}, effect = {4}},

    }
function onThink(interval, lastExecution)
    for _, area in pairs(text) do
        doSendAnimatedText({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.text[1], math.random(01,255))
    end
    for _, area in pairs(effects) do
        doSendMagicEffect({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.effect[1])
    end
    return TRUE
end
Code:
<globalevent name="effect" interval="3000" script="effect.lua"/>

3000 is 3 seconds if u use 0.3.6 change 3000 to 3 and edite postion and effect
 
Code:
--[[
    Talking Tp/signs/tiles for TFS 0.3+
    by (Herotom)
]]--
    local text = {
    --X pos,Y pos, Z pos, text
    [1] = {pos = {1000,998,7}, text = {"Welcome"}},

        [2] = {pos = {995,1006,7}, text = {"PVP"}},

        [3] = {pos = {1005,1006,7}, text = {"pvp"}},
      


    }
    local effects = {
    --X pos,Y pos, Z pos, text
    [1] = {pos = {1000,998,7}, effect = {40}},

        [2] = {pos = {995,1006,7}, effect = {61}},

        [3] = {pos = {1005,1006,7}, effect = {61}},
      
        [4] = {pos = {1166,1016,7}, effect = {4}},

    }
function onThink(interval, lastExecution)
    for _, area in pairs(text) do
        doSendAnimatedText({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.text[1], math.random(01,255))
    end
    for _, area in pairs(effects) do
        doSendMagicEffect({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.effect[1])
    end
    return TRUE
end
Code:
<globalevent name="effect" interval="3000" script="effect.lua"/>

3000 is 3 seconds if u use 0.3.6 change 3000 to 3 and edite postion and effect
thx its working
 
Back
Top