Greeting Developer, Does I Can Tweening A 3D Object? Example a parts, does it can Tweening?
here is my code:
local TweenService = game:GetService("TweenService")
local gun = workspace.M8_Guns
local UIS = game:GetService("UserInputService")
local gunShooting = TweenService:Create(gun, TweenInfo.new(0.3, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out),{Position = Vector3.new(0, 0, 0)})
UIS.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.P then
gunShooting:Play()
end
end)
does it working?? because i new scripting