So i have this unusual incident today, i made a sphere with a tween that must become 0.5 transparent, 16,16,16 sized, cannot be collided with, and in order to activate it, a player with a humanoid must touch it
But, even when i moved it from the baseplate, it still continued to tween without the permission
The output reports no exceptions tho
local TweenService = game:GetService("TweenService")
local sphere = script.Parent
local goal = {}
sphere.Transparency = 0.5
sphere.Size = Vector3.new(16, 16, 16)
sphere.Color = Color3.new(0.203922, 0.8, 0.854902)
sphere.CanCollide = false
local info = TweenInfo.new(
3,
Enum.EasingStyle.Cubic,
Enum.EasingDirection.Out,
0,
true,
1
)
local sphereTween = TweenService:Create(sphere, info, goal)
sphere.Touched:Connect(function(otherPart)
local humanoid = otherPart.Parent:FindFirstChildWhichIsA("Humanoid")
if humanoid then
sphereTween:Play()
end
end)

4 comments
Didnt work
I even tried doing this in a new baseplate, it still tweened, maybe its sort of a studio bug? Whats your opinion?
I edited the script: you are setting the sphere's properties before player touches the tween so I made the working script now
oh my god it worked, i didnt really understand the reason of the problem, we are obliged to set needed properties before executing tween,im sorry if im asking too much but i really need to know my every mistake