Achieve
I’m attempting to make a realistic opening seat that you’d see in Stadiums and so on.
Issue
My issue is a very simple issue; i’m trying to tween my seat to be open, however it isn’t taking the parts that are welded to it with it.
Workarounds
None.
Attempts to Fix
- Attempted Anchoring The Model,
- Attempted Removing Welds,
- Attempted CFraming Instead of Orientation,
- Attempted Welds & WeldConstraints
Video of Issue
Click here to see the full issue.
Script
local TweenService = game:GetService("TweenService")
local Down = false
script.Parent.ClickDetector.MouseClick:Connect(function(Clicker)
if script.Parent:FindFirstChild("Bottom") and script.Parent.Bottom:FindFirstChild("Seat") then
local Seat = script.Parent.Bottom.PrimaryPart
print(Seat)
if Down then
TweenService:Create(Seat,TweenInfo.new(.5),{Orientation = Vector3.new(0,0,-40)}):Play()
Down = false
else
TweenService:Create(Seat,TweenInfo.new(.5),{Orientation = Vector3.new(0,0,0)}):Play()
print("Seat Down")
Down = true
end
end
end)
Thank you for your assistance.