Not placing tower but there is no errors

Don’t. Lol I don’t know it is cool to learn by yourself! I am “new” at programming but I know lot of stuff and can do well scripts.

also chatgpt also makes mistakes with coding

1 Like

Yes I know. But I am tired and wanted to know.

1 Like

Yes, I’ve already tried that and BUM, nothing!

You need just some time to learn LUA buddy

I know lua. When did you start?

Also do you know html or CSS?

wadawdawdwad

we gotta go quicker since 3 hours till over

Ok.
asdjaskmdhaskjdh sajidhaksjhdujsahndkjashdjjaskhasjkdhas hv7rwuieahdfawu8hdauiwhfyuwerhbguiwem dpwqklnfuiwefwekjfieur hfuehrwbfiyuewfbyuwegfy uherb 78yfdrbvhbvervfui werb f yuwqahgbdjhbawqhhjdjhwesger89 hfnbaeqhhfdaejikh fgfsndb cf esuwinf dewbjfj uiwejnbfuiwehdbhkweugpoerhpo0iokg wahij ujmhbuieogj lkg0orlqMLOK QJdora(:

I started LEARNING hard like 2 months ago

module.RemovePlaceholderTower = function(tower)
if tower then tower:Destroy() end
end

Yeee A little

dsfkasdkfjoooosss

I went the wrong way to learn. I wish I could reverse time.

1 Like

Oof, what did you do to learn?

I watched tutorials and never learned :slightly_frowning_face:

until well, I started focusing

I did videos and just did a lil tutorial and then stopped it.

@CreatorOfNothing12 show module

local module = {}

module.UpdateGold = function()
	for _, player in pairs(game.Players:GetPlayers()) do
		player.PlayerGui.pathtogoldtext.Text = player.Gold.Value
	end
end

module.MouseRaycast = function(exclude)

end

module.AddPlaceholderTower = function(name, player, removetower)
	local towertoclone = game.ReplicatedStorage:FindFirstChild(name)
	if towertoclone then
		if removetower then
			removetower:Destroy()
		end
		local tower = towertoclone:Clone()
		--too lazy to write raycast
		tower:SetPrimaryPartCFrame(result.Instance.Parent.CFrame)

		for _, v in pairs(tower:GetDescendants()) do
			if v:IsA("BasePart") then
				v.Transparency = 0.3
				v.Material = Enum.Material.ForceField
				game:GetService("PhysicsService"):SetPartCollisionGroup(v, "Tower")
			end
		end
	end
end
module.RemovePlaceholderTower = function()

end

module.ColorPlaceholderTower = function(color)
	
end

return module

replace pathtogoldtext

remove30characterrule

Oof dude, but you are good at it…