Im making a item / model spawner for developers and im wondering what i did wrong i looked at a tutorial of course lol but im wondering why it wont spawn in the right place heres a video of what i mean robloxapp-20210712-1147193.wmv (3.1 MB)
Screenshot incase you dont trust download things
Notice how it spawns somewhere completely diffrent to where im standng the little brick i was spinning my mouse around is where its suspose to spawn at but it did not the tool is in server storage in a folder and he place the trucks are spawning at is where the brick was when i put the tool in server
storage.
Code for the button gui:
local cybertruck = game.ServerStorage.ModelSpawnerFolder.Cybertruck
local button = script.Parent
local gui = script.Parent.Parent.Parent.Parent
local targetpart = game.ServerStorage.DevTools.SpawnerTool.TargetPart
local cooldown = false
button.MouseButton1Click:Connect(function()
if cooldown == false then
cooldown = true
local clone = game.ServerStorage.ModelSpawnerFolder.Cybertruck:Clone()
local cframe = targetpart.CFrame
clone:SetPrimaryPartCFrame(cframe)
clone.Parent = game.Workspace
button.Text = "Cooldown for 2 seconds.."
wait(2)
cooldown = false
button.Text = "CyberTruck"
end
end)
Do you mind uploading this video to YouTube or Streamable? Users such as myself don’t take a gamble by downloading random video files, and it’s less convenient regardless.
I dont know how to upload as a streamable and heres a screenshot showing whats happening ill put it in the original pst also i understand your reasoning
I just realized the Target is inside a tool for whatever reason. When you move, the target moves, causing this behavior. Basically, don’t keep it in the tool.