Making a part animation video in the description

Hello! I dont know how to make the part move like this and IDK if I need to use any script to make it work

1 Like
local Players = game:GetService("Players") -- refer to your players service
local TweenService = game:GetService("TweenService")

Players.PlayerAdded:Connect(function(player) -- whenever a player is added, this event runs
	player.Chatted:Connect(function(Message) -- whenever a player chats, this event runs
		if Message == ":lockpadA" then
			-- adjust the wall's height using TweenService
		elseif Message == ":unlockpadA" then
			-- adjust the wall's height using TweenService
		end
	end)
end)
1 Like

yeah but IDK how do I use the tween size.

1 Like
1 Like