Hey there!
I have this script made by TTChaos
local BedsideTable = workspace["Bedside Table"]
local MiddlePart = BedsideTable.MiddlePart
local Button = workspace["TableMoveButton"]
local Detector = Button.ClickDetector
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local TS = game:GetService("TweenService")
local MoveOut = TS:Create(MiddlePart, TweenInfo.new(1), {CFrame = CFrame.new(15.3, 2.115, 34.8)})
local MoveIn = TS:Create(MiddlePart, TweenInfo.new(1), {CFrame = CFrame.new(10.55, 2.115, 34.8)})
local Music = Instance.new("Sound", MiddlePart)
local Debounce
Music.SoundId = "rbxassetid://4523916561"
Detector.MouseClick:Connect(function(Player)
if not Debounce then
Debounce = true
MoveOut:Play()
Music:Play()
wait(5)
MoveIn:Play()
-- Music:Stop() -- Remove the two dashes at the front if you want the music to stop when the table moves back
Debounce = false
end
end)
The script seems to work because it plays the audio but the model doesnt move. We have welded the parts together and tested it but it doesnt move! If you can help please reply Or DM me! Thanks!
