How can I make my Shop GUI Button like zoom in and tween with like effects like the big games do it?
Can u elaborate a bit more, I don’t get what your tryna say (idk if I’m just dumb or something)
You can use Roblox’s tween service when the player hovers over the button or clicks on it depending on what you want.
If your talking about a hover effect heres a local script you could add to your button:
local starterSize = UDim2.new()
local hoverSize = UDim2.new()
script.Parent.MouseEnter:Connect(function()
script.Parent:TweenSize(hoverSize,Enum.EasingDiretion.Out,Enum.EasingStyle.Sine,.25,True
end)
script.Parent.MouseLeave:Connect (function()
script.Parent:TweenSize(StarterSize,Enum.EasingDiretion.Out,Enum,EasingStyle.Sine,.25,True
end)
All you have to do is go to properties and get the button size and put it in between the parentheses of local starterSize = UDim2.new() and put a hoversize of your choice in between the parentheses of local hoverSize = UDim2.new()
I’m pretty sure it didn’t need explaining but yeah. (I’m not really a scripter, so I’m trash at explaining things)
just a question, did u test out the script?
Hey, yes I did, it works well.
Please apply solution to Kilo’s message so future visitors to this thread can easily find the script provided
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.