Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Tools moving models? [CLOSED] [closed]

Asked by 8 years ago
Edited 8 years ago

I am making a tool that clones a model in Lighting. I want to move the clone to Workspace and then to a specific block. I have this, can I have help:

01local tool = script.Parent
02local clickEvent = tool.ClickEvent
03local spawnblock = game.Workspace.spawnblock
04local clickEventConnection
05 
06local function createPart(location)
07    local car = game.Lighting.Assets.Car
08    car:clone()
09    car.CFrame = spawnblock.CFrame
10end
11 
12local function onClick(player, clickLocation)  
13    createPart(clickLocation)
14end
15 
View all 21 lines...
0
The lighing is not used any more to store models please use replicated storage, also are you using filtering? User#5423 17 — 8y
0
no MrMinecraft998887 87 — 8y
0
From what i can tell all you need to do is the the car parent e.g. car.Parent = game.Workspace User#5423 17 — 8y
0
thanks MrMinecraft998887 87 — 8y
View all comments (2 more)
0
if this is resolved pls add [closed] to the title User#5423 17 — 8y
0
It fixed a problem and made another. MrMinecraft998887 87 — 8y

Locked by User#19524

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 8 years ago

theres no end on the last line. I'm also just saying this because I have never seen this type of thing happen

Ad