Advertisement
BlueHasMeme

Untitled

Sep 18th, 2016
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. 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' }
  2. local admin = game.Players.LocalPlayer.Name
  3. local whitelist={'karstenes', 'BlueHasSwag', 'hudsonr0cks'}
  4. local players = game.Players
  5. local oders={}
  6. local ON = true
  7. local me = game.Players.LocalPlayer
  8. local char = me.Character
  9. local hum = char.Humanoid
  10. for i, v in pairs(players:GetChildren()) do
  11. v.Chatted:connect(function(message)
  12. isoder(message, v)
  13. end)
  14. end
  15.  
  16. function inTable(tbl, item)
  17. for key, value in pairs(tbl) do
  18. if value == item then return true end
  19. end
  20. return false
  21. end
  22.  
  23. players.PlayerAdded:connect(function(player)
  24. player.Chatted:connect(function(message)
  25. if player.Name ~= admin then
  26. message = string.lower(message)
  27. message = message:gsub('%W','')
  28. isoder(message, player)
  29. else
  30. if message[1] == "." then
  31. if message == ".deoderant on" then ON = true
  32. print("deODERant ON")
  33. elseif message == ".deoderant off" then ON = false
  34. print("deODERant OFF")
  35. end
  36. end
  37. end
  38. end)
  39. end)
  40. function oder(player)
  41. pgui = player:FindFirstChild("PlayerGui")
  42. if pgui ~= nil then
  43. local gui = Instance.new("ScreenGui",player.PlayerGui)
  44. local txt = Instance.new("TextLabel",gui)
  45. txt.BackgroundColor3 = Color3.new(0,0,0)
  46. txt.BackgroundTransparency = 0.5
  47. txt.Size = UDim2.new(1,0,1,0)
  48. txt.FontSize = "Size42"
  49. txt.TextColor3 = Color3.new(255,255,255)
  50. txt.Text = "de-ODer-ant has detected you as an ODer"
  51. txt.TextTransparency = 0.6
  52. end
  53. player.Character:FindFirstChild("Humanoid"):Destroy()
  54. for i, v in pairs(player.Character:GetChildren()) do
  55. if v.ClassName == 'Part' then
  56. local d = Instance.new("Decal",v)
  57. d.Texture = "http://www.roblox.com/asset/?id=182502702"
  58. d.Face = "Top"
  59. local bo = Instance.new("Decal",v)
  60. bo.Texture = "http://www.roblox.com/asset/?id=182502702"
  61. bo.Face = "Bottom"
  62. local b = Instance.new("Decal",v)
  63. b.Texture = "http://www.roblox.com/asset/?id=182502702"
  64. b.Face = "Back"
  65. local r = Instance.new("Decal",v)
  66. r.Texture = "http://www.roblox.com/asset/?id=182502702"
  67. r.Face = "Right"
  68. local l = Instance.new("Decal",v)
  69. l.Texture = "http://www.roblox.com/asset/?id=182502702"
  70. l.Face = "Left"
  71. local f = Instance.new("Decal",v)
  72. f.Texture = "http://www.roblox.com/asset/?id=182502702"
  73. f.Face = "Front"
  74. end
  75. end
  76. end
  77. function isoder(chat,player)
  78. for i in string.gmatch(chat, "%S+") do
  79. for no, value in pairs(oderwords) do
  80. if value == i then
  81. if not oders[player] then
  82. oders[player] = true
  83. oder(player)
  84. print("Oder found: " .. player.Name)
  85. Create(player.Character.Head)
  86. end
  87. end
  88. end
  89. end
  90. end
  91.  
  92. function Create(base, team)
  93. local bb = Instance.new('BillboardGui', game.Players.LocalPlayer.PlayerGui)
  94. bb.Adornee = base
  95. bb.ExtentsOffset = Vector3.new(0,1,0)
  96. bb.AlwaysOnTop = true
  97. bb.Size = UDim2.new(0,5,0,5)
  98. bb.StudsOffset = Vector3.new(0,1,0)
  99. bb.Name = 'tracker'
  100. local frame = Instance.new('Frame',bb)
  101. frame.ZIndex = 10
  102. frame.BackgroundTransparency = 0.3
  103. frame.Size = UDim2.new(1,0,1,0)
  104. local txtlbl = Instance.new('TextLabel',bb)
  105. txtlbl.ZIndex = 10
  106. txtlbl.BackgroundTransparency = 1
  107. txtlbl.Position = UDim2.new(0,0,0,-35)
  108. txtlbl.Size = UDim2.new(1,0,10,0)
  109. txtlbl.Font = 'ArialBold'
  110. txtlbl.FontSize = 'Size12'
  111. txtlbl.Text = base.Parent.Name:upper()
  112. txtlbl.TextStrokeTransparency = 0.5
  113. if team then
  114. txtlbl.TextColor3 = Color3.new(0,1,1)
  115. frame.BackgroundColor3 = Color3.new(0,1,1)
  116. else
  117. txtlbl.TextColor3 = Color3.new(1,0,0)
  118. frame.BackgroundColor3 = Color3.new(1,0,0)
  119. end
  120. end
  121. ON = true
  122. --[[local CGUI = Instance.new("ScreenGui",me.PlayerGui)
  123. local TB = Instance.new("TextButton",CGUI)
  124. TB.Style = "Custom"
  125. TB.Size = UDim2.new(0, 75, 0, 75)
  126. TB.Position = UDim2.new(0,0,0.9,0)
  127. TB.BackgroundColor3 = Color3.new(0,0,0)
  128. TB.BorderColor3 = Color3.new(0,0,0)
  129. TB.FontSize = "Size14"
  130. TB.Text = "SHOW"
  131. TB.TextColor3 = Color3.new(255,255,255)
  132. local TF = Instance.new("Frame",CGUI)
  133. TF.Position = UDim2.new(0,0,0.9,0)
  134. TF.Size = UDim2.new(0,300,0,75)
  135. TF.Style = "RobloxRound"
  136. local TBS = Instance.new("TextButton",TF)
  137. TBS.BackgroundColor3 = Color3.new(0,0,0)
  138. TBS.BorderColor3 = Color3.new(0,0,0)
  139. TBS.FontSize = "Size12"
  140. TBS.Text = "Start"
  141. TBS.Position = UDim2.new(0,25,0,5)
  142. TBS.Size = UDim2.new(0,100,0,50)
  143. TBS.TextColor3 = Color3.new(0,170,0)
  144. local TBT = Instance.new("TextButton",TF)
  145. TBT.TextColor3 = Color3.new(0,170,0)
  146. TBT.BackgroundColor3 = Color3.new(0,0,0)
  147. TBT.BorderColor3 = Color3.new(0,0,0)
  148. TBT.FontSize = "Size12"
  149. TBT.Text = "Stop"
  150. TBT.Position = UDim2.new(0,150,0,5)
  151. TBT.Size = UDim2.new(0,100,0,50)
  152. TBT.TextColor3 = Color3.new(170,0,0)
  153. TF.Visible = false
  154. TBS.Visible = false
  155. TBT.Visible = false
  156. TBS.MouseButton1Down:connect(function () ON = true end)
  157. TBT.MouseButton1Down:connect(function () ON = false end)
  158. open = false
  159. ON = true
  160. for i, v in pairs(players:GetChildren()) do
  161. local GUI = Instance.new("ScreenGui",v.PlayerGui)
  162. local RBX = Instance.new("Frame",GUI)
  163. RBX.Position = UDim2.new(0,0,0,0)
  164. RBX.Size = UDim2.new(0,250,0,75)
  165. RBX.Style = "RobloxRound"
  166. local TXT = Instance.new("TextLabel",RBX)
  167. TXT.BackgroundTransparency = 1
  168. TXT.Position = UDim2.new(0,115,0,25)
  169. TXT.FontSize = "Size14"
  170. TXT.TextColor3 = Color3.new(255,255,255)
  171. TXT.Text = "ODer protection: ENABLED"
  172. end
  173. TB.MouseButton1Down:connect(function ()
  174. if not open then
  175. open = true
  176. TB.Text = "HIDE"
  177. TB:TweenPosition(UDim2.new(0,300,0.9,0), "In", "Quad", 0.75, true)
  178. wait(0.75)
  179. TF.Visible = true
  180. TBS.Visible = true
  181. TBT.Visible = true
  182. coroutine.resume(ONGUI)
  183. else
  184. open = false
  185. TF.Visible = false
  186. TBS.Visible = false
  187. TBT.Visible = false
  188. TB:TweenPosition(UDim2.new(0,0,0.9,0), "Out", "Quad", 0.75, true)
  189. TB.Text = "SHOW"
  190. coroutine.resume(OFFGUI)
  191. end
  192. end)
  193.  
  194. ONGUI = coroutine.create(function ()
  195. for i, v in pairs(players:GetChildren()) do
  196. v.PlayerGui.ScreenGui.Frame.TextLabel.Text = "ODer protection: ENABLED"
  197. end
  198. end)
  199.  
  200. OFFGUI = coroutine.create(function ()
  201. for i, v in pairs(players:GetChildren()) do
  202. v.PlayerGui.ScreenGui.Frame.TextLabel.Text = "ODer protection: DISABLED"
  203. end
  204. end)
  205.  
  206. coroutine.resume(coroutine.create(function ()
  207.  
  208. end))
  209.  
  210. while true do
  211. if ON then
  212. for i, v in pairs(oders) do
  213. v.Character.Humanoid.Health = v.Character.Humanoid.Health - 5
  214. v.Character.Humanoid.WalkSpeed = 5
  215. end
  216. end
  217. wait(0.5)
  218. end
  219. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement