Im trying to do an upgrade level so when you upgrade, it requires to move the model to required location, but my model floats in air, any suggestions? Please dont moderate this because im not requesting to do all for me, Im just asking is there any way!
-- V A R I A B L E S
local Player = game:GetService("Players").LocalPlayer
local Database = Player:WaitForChild("Database")
local ModelToBeMoved = game:GetService("Workspace"):WaitForChild("Blacksmith_Ruins")
local ModelToBeMovedActivator = game:GetService("Workspace"):WaitForChild("BSRuinsGUI_Link")
local ModelToBeMovedExitPart1 = game:GetService("Workspace"):WaitForChild("BSShowPos")
local ModeToBeShown = game:GetService("Workspace"):WaitForChild("Blacksmith")
script.Parent.MouseButton1Click:Connect(function()
if Database.Value_Inv.Plank_Value.Value >= 5 and Database.Value_Inv.Rock_Value.Value >= 10 and Database.Value_Inv.Stick_Value.Value >= 8 then
Database.Value_Inv.Plank_Value.Value = Database.Value_Inv.Plank_Value.Value - 5
Database.Value_Inv.Rock_Value.Value = Database.Value_Inv.Rock_Value.Value - 10
Database.Value_Inv.Stick_Value.Value = Database.Value_Inv.Stick_Value.Value - 8
ModelToBeMoved:MoveTo(Vector3.new(999, 999999, 999))
ModelToBeMovedActivator:Destroy()
ModeToBeShown:MoveTo(Vector3.new(539.177, 9.24, 133.762))
local gui = script.Parent.Parent.Parent.Parent:WaitForChild("BSRuinsGUI")
end
end)

2 comments
I believe MoveTo() moves the primarypart in a model, check under the models properties to see if it has one
Thanks, I will check