Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local oderwords={ '321', '21', '4321', '54321', 'doctor', 'hospital', 'house', '123', '1234', '12345', 'bf', 'gf', 'single', 'baby', 'dad', 'mom', 'sister', 'brother', 'marry', 'pregnant', 'love', 'taken', 'married', 'maryed', 'son', 'daugter', 'nurse', 'daddy', 'mommy', 'dada', 'mama', 'model', 'hot', '10', 'beautiful', 'date', 'mum', 'belly', 'stomach', 'medicine', 'pills', 'sick', 'kid', 'home' }
- local admin = game.Players.LocalPlayer.Name
- local whitelist={'karstenes', 'BlueHasSwag', 'hudsonr0cks'}
- local players = game.Players
- local oders={}
- local ON = true
- local me = game.Players.LocalPlayer
- local char = me.Character
- local hum = char.Humanoid
- for i, v in pairs(players:GetChildren()) do
- v.Chatted:connect(function(message)
- isoder(message, v)
- end)
- end
- function inTable(tbl, item)
- for key, value in pairs(tbl) do
- if value == item then return true end
- end
- return false
- end
- players.PlayerAdded:connect(function(player)
- player.Chatted:connect(function(message)
- if player.Name ~= admin then
- message = string.lower(message)
- message = message:gsub('%W','')
- isoder(message, player)
- else
- if message[1] == "." then
- if message == ".deoderant on" then ON = true
- print("deODERant ON")
- elseif message == ".deoderant off" then ON = false
- print("deODERant OFF")
- end
- end
- end
- end)
- end)
- function oder(player)
- pgui = player:FindFirstChild("PlayerGui")
- if pgui ~= nil then
- local gui = Instance.new("ScreenGui",player.PlayerGui)
- local txt = Instance.new("TextLabel",gui)
- txt.BackgroundColor3 = Color3.new(0,0,0)
- txt.BackgroundTransparency = 0.5
- txt.Size = UDim2.new(1,0,1,0)
- txt.FontSize = "Size42"
- txt.TextColor3 = Color3.new(255,255,255)
- txt.Text = "de-ODer-ant has detected you as an ODer"
- txt.TextTransparency = 0.6
- end
- player.Character:FindFirstChild("Humanoid"):Destroy()
- for i, v in pairs(player.Character:GetChildren()) do
- if v.ClassName == 'Part' then
- local d = Instance.new("Decal",v)
- d.Texture = "http://www.roblox.com/asset/?id=182502702"
- d.Face = "Top"
- local bo = Instance.new("Decal",v)
- bo.Texture = "http://www.roblox.com/asset/?id=182502702"
- bo.Face = "Bottom"
- local b = Instance.new("Decal",v)
- b.Texture = "http://www.roblox.com/asset/?id=182502702"
- b.Face = "Back"
- local r = Instance.new("Decal",v)
- r.Texture = "http://www.roblox.com/asset/?id=182502702"
- r.Face = "Right"
- local l = Instance.new("Decal",v)
- l.Texture = "http://www.roblox.com/asset/?id=182502702"
- l.Face = "Left"
- local f = Instance.new("Decal",v)
- f.Texture = "http://www.roblox.com/asset/?id=182502702"
- f.Face = "Front"
- end
- end
- end
- function isoder(chat,player)
- for i in string.gmatch(chat, "%S+") do
- for no, value in pairs(oderwords) do
- if value == i then
- if not oders[player] then
- oders[player] = true
- oder(player)
- print("Oder found: " .. player.Name)
- Create(player.Character.Head)
- end
- end
- end
- end
- end
- function Create(base, team)
- local bb = Instance.new('BillboardGui', game.Players.LocalPlayer.PlayerGui)
- bb.Adornee = base
- bb.ExtentsOffset = Vector3.new(0,1,0)
- bb.AlwaysOnTop = true
- bb.Size = UDim2.new(0,5,0,5)
- bb.StudsOffset = Vector3.new(0,1,0)
- bb.Name = 'tracker'
- local frame = Instance.new('Frame',bb)
- frame.ZIndex = 10
- frame.BackgroundTransparency = 0.3
- frame.Size = UDim2.new(1,0,1,0)
- local txtlbl = Instance.new('TextLabel',bb)
- txtlbl.ZIndex = 10
- txtlbl.BackgroundTransparency = 1
- txtlbl.Position = UDim2.new(0,0,0,-35)
- txtlbl.Size = UDim2.new(1,0,10,0)
- txtlbl.Font = 'ArialBold'
- txtlbl.FontSize = 'Size12'
- txtlbl.Text = base.Parent.Name:upper()
- txtlbl.TextStrokeTransparency = 0.5
- if team then
- txtlbl.TextColor3 = Color3.new(0,1,1)
- frame.BackgroundColor3 = Color3.new(0,1,1)
- else
- txtlbl.TextColor3 = Color3.new(1,0,0)
- frame.BackgroundColor3 = Color3.new(1,0,0)
- end
- end
- ON = true
- --[[local CGUI = Instance.new("ScreenGui",me.PlayerGui)
- local TB = Instance.new("TextButton",CGUI)
- TB.Style = "Custom"
- TB.Size = UDim2.new(0, 75, 0, 75)
- TB.Position = UDim2.new(0,0,0.9,0)
- TB.BackgroundColor3 = Color3.new(0,0,0)
- TB.BorderColor3 = Color3.new(0,0,0)
- TB.FontSize = "Size14"
- TB.Text = "SHOW"
- TB.TextColor3 = Color3.new(255,255,255)
- local TF = Instance.new("Frame",CGUI)
- TF.Position = UDim2.new(0,0,0.9,0)
- TF.Size = UDim2.new(0,300,0,75)
- TF.Style = "RobloxRound"
- local TBS = Instance.new("TextButton",TF)
- TBS.BackgroundColor3 = Color3.new(0,0,0)
- TBS.BorderColor3 = Color3.new(0,0,0)
- TBS.FontSize = "Size12"
- TBS.Text = "Start"
- TBS.Position = UDim2.new(0,25,0,5)
- TBS.Size = UDim2.new(0,100,0,50)
- TBS.TextColor3 = Color3.new(0,170,0)
- local TBT = Instance.new("TextButton",TF)
- TBT.TextColor3 = Color3.new(0,170,0)
- TBT.BackgroundColor3 = Color3.new(0,0,0)
- TBT.BorderColor3 = Color3.new(0,0,0)
- TBT.FontSize = "Size12"
- TBT.Text = "Stop"
- TBT.Position = UDim2.new(0,150,0,5)
- TBT.Size = UDim2.new(0,100,0,50)
- TBT.TextColor3 = Color3.new(170,0,0)
- TF.Visible = false
- TBS.Visible = false
- TBT.Visible = false
- TBS.MouseButton1Down:connect(function () ON = true end)
- TBT.MouseButton1Down:connect(function () ON = false end)
- open = false
- ON = true
- for i, v in pairs(players:GetChildren()) do
- local GUI = Instance.new("ScreenGui",v.PlayerGui)
- local RBX = Instance.new("Frame",GUI)
- RBX.Position = UDim2.new(0,0,0,0)
- RBX.Size = UDim2.new(0,250,0,75)
- RBX.Style = "RobloxRound"
- local TXT = Instance.new("TextLabel",RBX)
- TXT.BackgroundTransparency = 1
- TXT.Position = UDim2.new(0,115,0,25)
- TXT.FontSize = "Size14"
- TXT.TextColor3 = Color3.new(255,255,255)
- TXT.Text = "ODer protection: ENABLED"
- end
- TB.MouseButton1Down:connect(function ()
- if not open then
- open = true
- TB.Text = "HIDE"
- TB:TweenPosition(UDim2.new(0,300,0.9,0), "In", "Quad", 0.75, true)
- wait(0.75)
- TF.Visible = true
- TBS.Visible = true
- TBT.Visible = true
- coroutine.resume(ONGUI)
- else
- open = false
- TF.Visible = false
- TBS.Visible = false
- TBT.Visible = false
- TB:TweenPosition(UDim2.new(0,0,0.9,0), "Out", "Quad", 0.75, true)
- TB.Text = "SHOW"
- coroutine.resume(OFFGUI)
- end
- end)
- ONGUI = coroutine.create(function ()
- for i, v in pairs(players:GetChildren()) do
- v.PlayerGui.ScreenGui.Frame.TextLabel.Text = "ODer protection: ENABLED"
- end
- end)
- OFFGUI = coroutine.create(function ()
- for i, v in pairs(players:GetChildren()) do
- v.PlayerGui.ScreenGui.Frame.TextLabel.Text = "ODer protection: DISABLED"
- end
- end)
- coroutine.resume(coroutine.create(function ()
- end))
- while true do
- if ON then
- for i, v in pairs(oders) do
- v.Character.Humanoid.Health = v.Character.Humanoid.Health - 5
- v.Character.Humanoid.WalkSpeed = 5
- end
- end
- wait(0.5)
- end
- ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement