Dropper don't work

So this is re-upload from my last topic cuz no one helped me in last time

  1. What do you want to achieve? Keep it simple and clear!
    I wanna achive my dropper will work after i buy it

  2. What is the issue? Include screenshots / videos if possible!
    issue is, after i buy dropper it don’t works, dropper ore is just anchored(i made that to make part don’t move before dropper bought) . All script also don’t work, idk why. Now i place my dropper model in serverstorage, and clone it from it, but when i use button my roblox studio lags huge and can crash. Here is screenshot of what’s wrong:

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tryed to make button invisible, but my roblox studio lags and even not works
    Here is button script:


script.Parent.Touched:Connect(function()
	local Dropper = game.ServerStorage.Model:Clone()
	Dropper.Parent = workspace
	Dropper:MakeJoints()
	script.Parent.CanCollide = false
		script.Parent.Transparency = 1
	end)

you putted it in server storage which will disappear when the game starts put it in lightning the model and script should have been like this
script.Parent.Touched:Connect(function()
local Dropper = game.Lightning.Model:Clone()
Dropper.Parent = workspace
Dropper:MakeJoints()
script.Parent.CanCollide = false
script.Parent.Transparency = 1
end)

no this is bad practice!
ReplicatedStorage and ServerStorage is made for storage, don’t use lightning

1 Like

well when i was making dropper i use lighting or replicatedstorage

don’t use lightning for storage please

2 Likes

Where have you put the script in?

ServerStorage is the right place for it as it is being cloned in the script. However, the :touched() event and :clone() should not be in the ServerStorage script, put them in the the Workspace parented to the part that you set up the event listener for. (duplicate it and put the copy in the workspace, parent the script to the new copy.) And please don’t put it in lighting :flushed:

@Lamborghini_9mbr05 @PhantomGame_Youtube

Um lol, it’s not in ServerStorage it’s in workspace

My bad, I must have been mislead by an earlier post.

Even if so it’s still no works, my roblox studio just huge lag when i touch button