Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Vehicle Seat in a model not working upon Cloned from ReplicatedStorage from tool?

Hello,

I am currently making a Single Player game, and I'm trying to make it so this tool can spawn in a raft. The tool spawns the raft correctly, and to the place I want it to spawn, however, with that all spawning correctly the actual Vehicle Seat which is used to drive the Raft is non functional. The vehicle seat works when the Raft is in Workspace, however when the Raft is cloned from ReplicatedStorage to Workspace, the Vehicle Seat doesn't work and is nolonger seatable.

I have a Local Script Inside the tool

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Player = game:GetService("Players").LocalPlayer
local Raft = ReplicatedStorage:WaitForChild("BoatChassi")
local Cursor = Player:GetMouse()

function onActivated()
    local ClonedRaft = Raft:Clone()
    ClonedRaft.Parent = workspace
    ClonedRaft:MoveTo(Cursor.hit.p)
end


script.Parent.Activated:connect(onActivated)

If I could get some help with this, that would be great!

Thanks!

1 answer

✓ Accepted answer

OK

The problem is that it is Local Script. Use server script instead.

This discussion is preserved as it was. New answers, comments, and votes are closed.