I want to make my tween script client-sided, but I’m not exactly sure how to do that. I used to make scripts client-sided by placing a local script in PlayerGui and activating everything from there, but it doesn’t seem to be working, maybe since I’m tweening a texture?
I’d really appreciate any help I could get.
Here’s an example of one of my current scripts that is handled by the server:
local texture = script.Parent
while true do
texture.StudsPerTileV = 0
texture.StudsPerTileU = 0
game:GetService("TweenService"):Create(texture, TweenInfo.new(5, Enum.EasingStyle.Linear), {OffsetStudsU = texture.OffsetStudsU + texture.StudsPerTileU}):Play()
wait(1)
end