Nov 27th, 2014
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
Best place to get scripts. Realdjmik raps Lyrics. I heard you rap cringe like a noob man Hope you get kicked off by a shoe man My rhymes fire your raps pretty drool ayy Your dont have fire you from the kiddle pool.
- local admin = 'itsJaden2' --Who is the one who has the admin.
- local Players = Game:GetService('Players') Definding service using a varaiable.
- Players.PlayerAdded:connect(function(Player)--Event and function when a player has joined.
- if Player.Name Admin then --Checking if the player is the admin.
- Player.Chatted:connect(function(Message)-- Event
- if Message ~= nil then --Checking if the message is not nil with the if statement. (The Message is in nil when teamchat is used.
- if string.lower(string.sub(Message,1, 4) 'kick' then --Checking if the kick command is used string.sub is used to get serval characters of the string, this cause the first four. string.lower is used to convert the string to a lowercase string. Saying KICK or Kick instead of kick would work as well.
- local Target = Players:FindFirstChild(string.sub(Message,6)) -- Defending the target using a varbile. stirng.sub is the time used to get all of the characters behind 'kick '.
- if Target ~= nil then Checking if the target is found using a if statement.
- Target:Kick() --Removing the target from the game using the: Kick() method on the player object.
- end -- Closing the statement if event at line twevle
- end) --Closing the statement if event at line nine.
- end) --Closing the statement if event at line eight.
- end) -- Closing the if statement at line six.
RAW Paste Data
May 8th, 2014
Free Draw On Roblox
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- --[[Feel free to take a copy of this script. This script lets you draw on everything! This script is a local script.]]--
- plyr = game.Players.LocalPlayer
- RunService = game:service'RunService'
- local draw2 = false
- local lastPos
- tool = Instance.new('HopperBin', plyr.Backpack)
- function draw(obj) --
- coroutine.wrap(function()
- if draw2 then
- RunService.Stepped:wait()
- objC.Parent = c
- local distance = (lastPos- obj.CFrame.p).magnitude
- objC.CFrame = CFrame.new(lastPos,obj.Position)*CFrame.new(0,0,-distance/2)
- end
- break
- end
- end
- tool.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function(mouse)
- part.Name = 'location'
- part.TopSurface = 0
- part.FormFactor = 'Custom'
- part.Anchored = true
- coroutine.wrap(function()
- part.CFrame = CFrame.new(plyr:GetMouse().Hit.p.x,plyr:GetMouse().Hit.p.y,plyr:GetMouse().Hit.p.z)
- end
- draw(part)
- end)
- game:service'Debris':AddItem(part, 0)
- pcall(function()
- end)
- end)
- end)