local player = game.Players.LocalPlayer
function b ()
script.Parent.Parent.Sound:Play()
local storage = game:GetService("Lighting")
local part = storage["Seat"]:Clone() 
part.Parent = player.Character
wait(.1)
player.Character.Torso.CFrame = CFrame.new(part.Position) + Vector3.new(0,0,0)
script.Parent.Parent.Parent.Parent.Visible = false
wait(2)
script.Parent.Parent.Parent.Parent.Parent.Parent.Tutorial.Frame.Visible = true
end

script.Parent.MouseButton1Down:connect (b)

****when the player clicks the gui it is supposed to clone the seat from lighting and make the player sit on it that's the part that does not work, the player doesn't sit on the seat

how do I fix this? (line 9 is the one that makes player TP to the seat, but it won't work ):****

1 comment

0

Remove the '+' sign and the Vector on line 8.