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

Why isn't this taking the Model inside of the Part? [Solved]

Asked by 7 years ago
Edited 7 years ago

http://prntscr.com/gwrfn8 Problem: Not copying the Bed Model inside of it

Errors: None

01-- Initialization
02Player = game.Players.LocalPlayer
03mouse = Player:GetMouse()
04-- UI
05ScreenGui = script.Parent
06Purchase = ScreenGui:WaitForChild("Place")
07-- Varaibles
08InPlaceMode = false
09NewTurret = nil
10CanPlace = false
11-- Models
12Turrets = game.ReplicatedStorage:WaitForChild("Turrets")
13BaseTurret = Turrets:WaitForChild("Turret01")
14 
15--Hold shift to multibuy
View all 69 lines...
0
Giving us 70 lines of code and asking what is wrong with it is a surefire way to not get a response. Give us just the code that is causing the problem. No one feels like sorting through the code and finding the section in question and the figuring the problem. lukeb50 631 — 7y
0
But if you need an off the top of the head answer, Check the "Archivable" Property of the model not being cloned. If it is false that is your problem lukeb50 631 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

Use Model:MoveTo(Vector3) on line 46

01-- Initialization
02Player = game.Players.LocalPlayer
03mouse = Player:GetMouse()
04-- UI
05ScreenGui = script.Parent
06Purchase = ScreenGui:WaitForChild("Place")
07-- Varaibles
08InPlaceMode = false
09NewTurret = nil
10CanPlace = false
11-- Models
12Turrets = game.ReplicatedStorage:WaitForChild("Turrets")
13BaseTurret = Turrets:WaitForChild("Turret01")
14 
15--Hold shift to multibuy
View all 69 lines...
Ad

Answer this question