I have been trying to spawn my part through Instance.new
with a tool but it justs DOES NOT work no matter how I try. It worked last time but now it doesn't.
Here's the code:
local tool = script.Parent local handle = tool:WaitForChild("Handle") local players = game:GetService("Players").PlayerAdded:Wait(20) local char = players.CharacterAdded:Wait(20) local head = char.Head tool.Activated:Connect(function() local molotov = Instance.new("Part") molotov.Parent = game.Workspace molotov.Position = handle.Position end)
I used remote events to spawn the parts, which is a way better method!