Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Tycoon Gamepass "Mesh Chute" Won't work, help me out?

Asked by 5 years ago
Edited 5 years ago

I suck at scripting

its for my tycoon game

here are the parts: Base, Chute, IDBar

IDBar basics: You can type in the IDBAr

Chute Basics: When a mesh touches the chute, it dissapears

but there is way more than that

This things is supposed to change you drops to a mesh, which only works if you have the gamepass and it requires a ton of scripting

So please dont hide this i really need your help :(

How it works:

You type the ID of the mesh in the IDBar. The mesh appears and drops onto the chute, making the mesh disappear. It then turns your drops into that mesh PLEASE dont hide this i need the script :(

code used for the Chute

for i,v in pairs(script.Parent.Essentials:GetChildren()) do
        if v.Name == "PartCollector" then
            v.Touched:connect(function(Part)
                part.destroy
                end
            end)
        end
    end

(SideNote: this looks compatible with lua, but i literally just copied it from the collectors script which was made by someone else and changed it) It failed.

code used for the IDBar

script.Parent.OnClick do
    FreeUpSpace.labeltext.type
    script.Parent.MeshID.WasTypedIn then
    Identify.Mesh.CalculateID
    OnceIdentified.spawnmesh
end

(Side Note: This code was put in the text label) This obviously failed, because i don't know lua help?

code put in workspace

script.Parent OnceMeshIdentified.from
TextLabel.Parent.IDBar
Parent.Drop Instance.new.SpecialMesh
SpecialMeshId = IndetifiedMeshID

Yeah, this failed I have no idea where to put some of the scripts and I have no idea how to make them work, your help?

0
The IDBar is what? Like a gui where you type in the ID? HeyItzDanniee 252 — 5y
0
yep kingofpronoobs 0 — 5y
0
sit has a surfacegui with a text label that you type in, this might actually include a text box because this is a text LABEL kingofpronoobs 0 — 5y
0
also the drops in the tycoon are called drop kingofpronoobs 0 — 5y

Answer this question