Advertisement
MyNewName

Untitled

Jun 28th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. local Character = game.Workspace.tetrahedroid
  2. local aa = false
  3. function Particles() -- Main Function (Clones the Particle find the Player and put's the Particles into them)
  4. local TopazLight = script.TopazLight:Clone()
  5. TopazLight.Parent = game.Workspace.tetrahedroid.Head
  6. local Particles = script.BillboardGui:Clone() -- Name TestParticles to your Particles name.
  7. Particles.Parent = game.Workspace.tetrahedroid.Head
  8. end
  9. function ColorHair()
  10. if Character:findFirstChild("Guy Hair") == nil and Character:findFirstChild("Saftygoggles") == nil then
  11. local hair = script["Guy Hair"]:Clone()
  12. hair.Parent = Character
  13. local goggles = script.Saftygoggles:Clone()
  14. goggles.Parent = Character
  15. local gem1 = script.Gem1:Clone()
  16. gem1.Parent = Character
  17. local gem2 = script.Gem2:Clone()
  18. gem2.Parent = Character
  19. end
  20. for _,v in pairs(game.Workspace.tetrahedroid:GetChildren()) do
  21. if Character:findFirstChild("Guy Hair") then
  22. Character["Guy Hair"].Handle.Mesh.TextureId = ""
  23. Character["Guy Hair"].Handle.Color = Color3.fromRGB(251, 255, 175)
  24. end
  25. if Character:findFirstChild("Saftygoggles") then
  26. Character.Saftygoggles.Handle.Mesh.TextureId = ""
  27. Character.Saftygoggles.Handle.Color = Color3.fromRGB(255, 224, 67)
  28. --Character.Saftygoggles.Handle.Mesh.Offset = Vector3.new(0, 0.5, 0.5)
  29. --Character.Saftygoggles.Handle.Mesh.Scale = Vector3.new(7,7,7)
  30. Character.Saftygoggles.Handle.Transparency = 0.4
  31. end
  32. end
  33. end
  34. function ParticlesDestroy() -- To remove the Particles again.
  35. for _,v in pairs(game.Workspace.tetrahedroid:GetChildren()) do
  36. if game.Workspace.tetrahedroid.Head:FindFirstChild("BillboardGui") then -- Name TestParticles to your Particles name.
  37. game.Workspace.tetrahedroid.Head.BillboardGui:Destroy()
  38. end
  39. if game.Workspace.tetrahedroid.Head:FindFirstChild("TopazLight") then -- Name TestParticles to your Particles name.
  40. game.Workspace.tetrahedroid.Head.TopazLight:Destroy()
  41. end
  42. end
  43. end
  44.  
  45. ColorHair()
  46. Particles()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement