Quantcast

.how to make lava texture go diagonally?

i saw this in afterdrive and magmatic mines

rotate the lava I think

or the texture

no the lava

you mean like making it swag like flood island?

no
i will send a screenshot later

alright then


this

alright I have no idea

I think it’s CFrame or something like that

I think it’s something to do with TweenService + Texture Offsetting

local tweenService = game:GetService("TweenService")
local info = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut,0,false,0)
local texture = [texture goes here]

while true do
    local props = {OffsetStudsU = OffsetStudsU + 25,OffsetStudsV = OffsetStudsV + 25}
    local tween = tweenService:Create(texture,info,props)
    tween:Play()
    wait(1)
end

You’ll want to have this in its own independent script, not the eventstring or anything. i did this off the top of my head too so it may not work (if that’s the case let me know and i’ll do it up for ya)

I think spawn(function() loops as well and can be in the same script as EventScript or string

i forgot about that lol