What do you want to achieve? I’m trying to make a selection GUI and when your mouse hovers a Text, it moves slighty to the right.
What is the issue? Nothing works and one error happens, it says: Unable to cast to Dictionary
What solutions have you tried so far? I tried to look for solutions but I don’t understand them since it isn’t the same script.
Here is my script.
-- --Variables
local Text = script.Parent.TextLabel
local TweenService = game:GetService("TweenService")
local Info = TweenInfo.new(1,Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 1, false,1)
local Properties = {
Position = {0.076, 0},{0, 0}
}
local Tween = TweenService:Create(Text, Info, Properties)
--Script
script.Parent.MouseEnter:Connect(function()
Tween:Play()
end)
Hope you can answer.