How to make a Dropper On Roblox Studio

Опубликовано: 16 Октябрь 2024
на канале: StudioTutorialzYT
5,024
152

#RobloxStudioTutorials

---- ★ Songs ★ ----

Intro Song Link: chill anthem - BROCKBEATS:    • chill anthem  

Outro Song Link: Sweetest - Murat Uslu: (The song got deleted for some reason so here is the link to his youtube channel):    / @muratuslu4013  

Background Music: LuKremBo - boba tea:    • lukrembo - boba tea (royalty free vlo...  

---- ★ Friend's Game Link! ★ ----

https://web.roblox.com/games/56477165...

---- ★ Profile Link! ★ ----

https://web.roblox.com/users/97907289...

---- ★ Script ★ ----

-- Script was made by me

-------- Button --------

script.Parent.ClickDetector.MouseClick:Connect(function(click)

local part = Instance.new("Part", script.Parent.Parent.DropPart)
part.Name = "DropperPart"
part.Position = Vector3.new() ----- the numbers of the position goes here

end)

-------- removepart --------

script.Parent.Touched:Connect(function(hit)

if hit.Name == "DropperPart" then
local dropperpart = game.Workspace.Dropper.DropPart.DropperPart
dropperpart.Parent = game.ServerStorage
end
end)