So i’m trying to make this obby that when you use a tool an object’s height will increase, so far i have done the tool it works perfectly fine, but i want to make a limit to how high the object can go, in the mean time i have 2 tools one that increases the height and one that decreases the height
This is what i have so far, idk why the recording quality is so bad robloxapp-20200513-1302368.wmv (3.0 MB)
local tool = script.Parent
local test = game.Workspace.Test
tool.Activated:Connect(function()
test.Size = test.Size + Vector3.new(0, 8, 0)
game.Workspace.pop:Play()
end)
tool.Equipped:Connect(function()
test.Material = Enum.Material.Neon
test.BrickColor = BrickColor.new("Lime green")
end)
tool.Unequipped:Connect(function()
test.Material = Enum.Material.Plastic
test.BrickColor = BrickColor.new("Medium stone grey")
end)
if test.Size.Y == --i have no idea what to put here