So when you select the tool, and you click, it suppose to spawn a noob where you clicked but ofc it isnt working..
code:
Player = game.Players.LocalPlayer
Mouse = Player:GetMouse()
Spawner = game.StarterPack.Spawner
Mouse.Button1Down:connect(function()
if Spawner.Equipped == true then
local noob = game.ReplicatedStorage.Noob:Clone()
noob.Parent = game.workspace
noob:MoveTo(Mouse.Hit.p)
else
print("hi")
end
end)

1 comment
edit 1: fixed noob.Parent = workspace to noob.Parent = game.workspace my bad, n00b mistake