Advertisement
Synpase_X

harkinian

Feb 24th, 2024 (edited)
1,494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.13 KB | None | 0 0
  1. local part = Instance.new("Part",game.Workspace)
  2. part.Name = "harkinian"
  3. part.Size = Vector3.new(30, 1, 30)
  4. part.Position = Vector3.new(0, 0.5, 0)
  5. part.Anchored = true
  6. part.TopSurface = Enum.SurfaceType.Smooth
  7. part.BrickColor = BrickColor.new("Toothpaste")
  8.  
  9. -- create decal
  10. local decal = Instance.new("Decal")
  11. decal.Face = Enum.NormalId.Top
  12. decal.Parent = part
  13.  
  14. -- define faces
  15. local happyFace = "http://www.roblox.com/asset/?id=11503672257"
  16.  
  17. decal.Texture = happyFace
  18.  
  19. --antidelete
  20. game:GetService("RunService").Stepped:Connect(function()
  21. workspace.DescendantRemoving:Connect(object)
  22.    if object.Name == "harkinian" then
  23.      local part = Instance.new("Part",game.Workspace)
  24. part.Name = "harkinian"
  25. part.Size = Vector3.new(30, 1, 30)
  26. part.Position = Vector3.new(0, 0.5, 0)
  27. part.Anchored = true
  28. part.TopSurface = Enum.SurfaceType.Smooth
  29. part.BrickColor = BrickColor.new("Toothpaste")
  30.  
  31. -- create decal
  32. local decal = Instance.new("Decal")
  33. decal.Face = Enum.NormalId.Top
  34. decal.Parent = part
  35.  
  36. -- define faces
  37. local happyFace = "http://www.roblox.com/asset/?id=11503672257"
  38.  
  39. decal.Texture = happyFace
  40. end
  41. end)
  42. end)
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement