Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local part = Instance.new("Part",game.Workspace)
- part.Name = "harkinian"
- part.Size = Vector3.new(30, 1, 30)
- part.Position = Vector3.new(0, 0.5, 0)
- part.Anchored = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.BrickColor = BrickColor.new("Toothpaste")
- -- create decal
- local decal = Instance.new("Decal")
- decal.Face = Enum.NormalId.Top
- decal.Parent = part
- -- define faces
- local happyFace = "http://www.roblox.com/asset/?id=11503672257"
- decal.Texture = happyFace
- --antidelete
- game:GetService("RunService").Stepped:Connect(function()
- workspace.DescendantRemoving:Connect(object)
- if object.Name == "harkinian" then
- local part = Instance.new("Part",game.Workspace)
- part.Name = "harkinian"
- part.Size = Vector3.new(30, 1, 30)
- part.Position = Vector3.new(0, 0.5, 0)
- part.Anchored = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.BrickColor = BrickColor.new("Toothpaste")
- -- create decal
- local decal = Instance.new("Decal")
- decal.Face = Enum.NormalId.Top
- decal.Parent = part
- -- define faces
- local happyFace = "http://www.roblox.com/asset/?id=11503672257"
- decal.Texture = happyFace
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement