Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Shackluster typed this.--
- --This script is ment to counter Ghosts--
- local nosounds = {146938349,245910488,150920294}
- local denialtexts = {"Stop ghosting you plebhole","No stop it ghosts are cringe","Error 666 ghosts are not allowed","Do not do a ghost","Void Script Builder has detected Ghosts and removed it."}
- function CreateSound(ID, VOLUME, PITCH)
- coroutine.resume(coroutine.create(function()
- local NEWSOUND = Instance.new("Sound", script)
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- game:GetService("Debris"):AddItem(NEWSOUND, 15)
- end))
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- script.ArtificialHB:Fire()
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- script.Parent = workspace
- CreateSound(322887740,2,1)
- while true do
- wait()
- m = workspace.Camera:GetChildren()
- for i = 1, #m do
- if m[i].ClassName == "Model" then
- CreateSound(nosounds[math.random(1, #nosounds)],2,1)
- block = Instance.new("Part")
- block.Parent = workspace
- block.CFrame = m[i].Torso.CFrame
- block.Transparency = 1
- block.Anchored = true
- block.CanCollide = false
- local naeeym2 = Instance.new("BillboardGui",block)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,35)
- naeeym2.StudsOffset = Vector3.new(0,1,0)
- naeeym2.Adornee = block
- naeeym2.Name = "Name"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = denialtexts[math.random(1, #denialtexts)]
- tecks2.Font = "SourceSans"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(0.8,0.8,0.8)
- tecks2.TextStrokeColor3 = Color3.new(0.2,0.2,0.2)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- game:GetService("Debris"):AddItem(block, 5)
- m[i]:remove()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement