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

How do I make or add effects on Avatar/Character using ASSETS?

Asked by 8 years ago

Im having a hard time trying to make my own Avatar/Character effects with this thing called "Assets". What does it mean? How do I make it so that I can put my effect(like: flaming body, sparkling body, etc.). Here is an example Ive been having trouble with: local mesh = Instance.new("SpecialMesh") mesh.MeshId = "http://www.roblox.com/asset?id=165709404" mesh.TextureId = "http://www.roblox.com/asset?id=165709478" mesh.Scale = Vector3.new(3, 3, 3) mesh.Parent = bodyeffect

0
Are you referring to being unable to work the Mesh by providing the link and getting the actual mesh? alphawolvess 1784 — 8y

1 answer

Log in to vote
0
Answered by
cc567 50
8 years ago
Edited 8 years ago

To make it easier, instead of defining a new mesh each time, I'd use a clone function to duplicate an already existing mesh inside the script ex:

a = script.Parent
b = script.Mesh  --This mesh is predefined as a sphere as a child of the script
c = b:Clone()
c.Parent = a -- This will insert the mesh into part a.


Ad

Answer this question