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

A model that will appear after a certain amount of time?

Asked by 4 years ago
Edited 4 years ago

I'm making a model so the model will appear like after 15 sec ur in a game This is my script

Wait (20)
Local game.workspace.transparency (1)
Local game.workspace.CanCollide = false
wait (30)
Local game.workspace.transparency (0)
Local game.workspace.Cancollide = true

2 answers

Log in to vote
0
Answered by
valk_3D 140
4 years ago
model = game.ServerStorage.Model
wait(15)
model.Parent = workspace
Ad
Log in to vote
0
Answered by
MpAlex 16
4 years ago

you are making the whole workspace transparent try like this

    Wait (20)
    Local game.workspace.ModelName.transparency (1)
    Local game.workspace.ModelName.CanCollide = false
    wait (30)
    Local game.workspace.ModelName.transparency (0)
    Local game.workspace.ModelName.Cancollide = true

and probably you can't set a model transparency/CanCollide so, modify the part, like that

    Wait (20)
    Local game.workspace.ModelName.PartName.transparency (1)
    Local game.workspace.ModelName.PartName.CanCollide = false
    wait (30)
    Local game.workspace.ModelName.PartName.transparency (0)
    Local game.workspace.ModelName.PartName.Cancollide = true

also if you have many parts and it take you too long, try to make it into mesh, build your thing in blender, import the FBX into roblox as a mesh then put the mesh in the model

    Wait (20)
    Local game.workspace.ModelName.Mesh.transparency (1)
    Local game.workspace.ModelName.Mesh.CanCollide = false
    wait (30)
    Local game.workspace.ModelName.Mesh.transparency (0)
    Local game.workspace.ModelName.Mesh.Cancollide = true

anyway, if you want, you don't need to put the mesh in model, if is like that, just remove "ModelName"

    Wait (20)
    Local game.workspace.Mesh.transparency (1)
    Local game.workspace.Mesh.CanCollide = false
    wait (30)
    Local game.workspace.Mesh.transparency (0)
    Local game.workspace.Mesh.Cancollide = true

Answer this question