• 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!

FLOOR REMOVING STONE

falls13

New Member
Joined
Nov 3, 2015
Messages
29
Reaction score
1
SOMEONE WOULD HAVE A SCRIPT, OF FLOOR THAT REMOVES STONE AND AFTER TIME SHE APPEARS AGAIN.
 
giphy.gif


Lua:
local config = {
    blockItem = 8636,
    stonePos = {x=1005, y=1008, z=7},
    secondsToWait = 3
}

function onStepIn(cid, item, position, fromPosition)

    for i = 255, 1, -1 do
        config.stonePos.stackpos = i

        local thing = getThingFromPos(config.stonePos)
        if(thing.uid ~= 0) then
            doRemoveItem(thing.uid, 1)
            doSendMagicEffect(config.stonePos, 2)

            addEvent(function()
                doCreateItem(config.blockItem, config.stonePos)
                doSendMagicEffect(config.stonePos, 12)
            end, config.secondsToWait * 1000)
        end
    end

    return true
end


@falls13
NOTE: This post is a request! and it shouldn't be in the resources board! I believe you were already warned once about the exact same issue.
 
Does not this person get tired of breaking the rules? XD, he write in capital letters, do not format the codes... pff
I miss that no moderator does anything about it.
 
would you have put it to step on the floor, and after about 2 minutes, the stone was removed?
 
it worked, only it was to step on and it took 2 minutes for the stone to disappear.

step is after 2 minutes the stone disappears.
 
Back
Top