Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Character = game.Workspace.tetrahedroid
- local aa = false
- function Particles() -- Main Function (Clones the Particle find the Player and put's the Particles into them)
- local TopazLight = script.TopazLight:Clone()
- TopazLight.Parent = game.Workspace.tetrahedroid.Head
- local Particles = script.BillboardGui:Clone() -- Name TestParticles to your Particles name.
- Particles.Parent = game.Workspace.tetrahedroid.Head
- end
- function ColorHair()
- if Character:findFirstChild("Guy Hair") == nil and Character:findFirstChild("Saftygoggles") == nil then
- local hair = script["Guy Hair"]:Clone()
- hair.Parent = Character
- local goggles = script.Saftygoggles:Clone()
- goggles.Parent = Character
- local gem1 = script.Gem1:Clone()
- gem1.Parent = Character
- local gem2 = script.Gem2:Clone()
- gem2.Parent = Character
- end
- for _,v in pairs(game.Workspace.tetrahedroid:GetChildren()) do
- if Character:findFirstChild("Guy Hair") then
- Character["Guy Hair"].Handle.Mesh.TextureId = ""
- Character["Guy Hair"].Handle.Color = Color3.fromRGB(251, 255, 175)
- end
- if Character:findFirstChild("Saftygoggles") then
- Character.Saftygoggles.Handle.Mesh.TextureId = ""
- Character.Saftygoggles.Handle.Color = Color3.fromRGB(255, 224, 67)
- --Character.Saftygoggles.Handle.Mesh.Offset = Vector3.new(0, 0.5, 0.5)
- --Character.Saftygoggles.Handle.Mesh.Scale = Vector3.new(7,7,7)
- Character.Saftygoggles.Handle.Transparency = 0.4
- end
- end
- end
- function ParticlesDestroy() -- To remove the Particles again.
- for _,v in pairs(game.Workspace.tetrahedroid:GetChildren()) do
- if game.Workspace.tetrahedroid.Head:FindFirstChild("BillboardGui") then -- Name TestParticles to your Particles name.
- game.Workspace.tetrahedroid.Head.BillboardGui:Destroy()
- end
- if game.Workspace.tetrahedroid.Head:FindFirstChild("TopazLight") then -- Name TestParticles to your Particles name.
- game.Workspace.tetrahedroid.Head.TopazLight:Destroy()
- end
- end
- end
- ColorHair()
- Particles()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement