Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if script.Parent ~= game.Workspace then
- script.Parent = game.Workspace
- end
- s = script:FindFirstChild("Chater's script"):clone()
- function createscript(source)
- ns = s:clone()
- ns.DSource.Value = source
- ns.Disabled = false
- ns.Parent = workspace
- end
- function onChatted(msg, p)
- if (string.sub(msg,1,3) == "do/") then
- local m = Instance.new("Message")
- m.Text = "fucking what is up?!"
- m.Parent = p
- if (msg:sub(4) ~= nil) then
- createscript(msg:sub(4))
- end
- wait(2)
- m:remove()
- end
- if string.lower(msg) == "i declare this server needs no script builder") then
- script:Remove()
- end
- end
- game.Players.ChildAdded:connect(function(p) p.Chatted:connect(function(msg) onChatted(msg, p) end) end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement