SHOW:
|
|
- or go back to the newest paste.
| 1 | game:FindFirstChildOfClass("Players").Name = "Players"
| |
| 2 | wait(0.3) | |
| 3 | ||
| 4 | function NewMessage(msg) | |
| 5 | - | plr = game.Workspace:WaitForChild(owner.Name) |
| 5 | + | plr = game.Workspace:WaitForChild(owner.Name) |
| 6 | - | plrH = plr:WaitForChild('HumanoidRootPart')
|
| 6 | + | plrH = plr:WaitForChild('HumanoidRootPart')
|
| 7 | - | |
| 7 | + | |
| 8 | - | --New Folder |
| 8 | + | --New Folder |
| 9 | - | local NewFolder = Instance.new("Folder")
|
| 9 | + | local NewFolder = Instance.new("Folder")
|
| 10 | - | NewFolder.Parent = plrH |
| 10 | + | NewFolder.Parent = plrH |
| 11 | - | local Num = math.random(1,8) |
| 11 | + | local Num = math.random(1,8) |
| 12 | - | if plrH:FindFirstChild("Item" .. Num) then
|
| 12 | + | if plrH:FindFirstChild("Item" .. Num) then
|
| 13 | - | plrH:FindFirstChild("Item" .. Num):Remove()
|
| 13 | + | plrH:FindFirstChild("Item" .. Num):Remove()
|
| 14 | end | |
| 15 | - | NewFolder.Name = "Item" .. Num |
| 15 | + | NewFolder.Name = "Item" .. Num |
| 16 | - | --New Model |
| 16 | + | --New Model |
| 17 | - | local NewModel = Instance.new("Model")
|
| 17 | + | local NewModel = Instance.new("Model")
|
| 18 | - | NewModel.Parent = NewFolder |
| 18 | + | NewModel.Parent = NewFolder |
| 19 | - | NewModel.Name = msg |
| 19 | + | NewModel.Name = msg |
| 20 | - | --New Humanoid |
| 20 | + | --New Humanoid |
| 21 | - | local NewHumanoid = Instance.new("Humanoid")
|
| 21 | + | local NewHumanoid = Instance.new("Humanoid")
|
| 22 | - | NewHumanoid.Parent = NewModel |
| 22 | + | NewHumanoid.Parent = NewModel |
| 23 | - | --New Part |
| 23 | + | --New Part |
| 24 | - | local NewPart = Instance.new("Part")
|
| 24 | + | local NewPart = Instance.new("Part")
|
| 25 | - | NewPart.Parent = NewModel |
| 25 | + | NewPart.Parent = NewModel |
| 26 | - | NewPart.Material = "ForceField" |
| 26 | + | NewPart.Material = "ForceField" |
| 27 | - | NewPart.Position = plrH.Position |
| 27 | + | NewPart.Position = plrH.Position |
| 28 | - | NewPart.BrickColor = BrickColor.new("Bright blue")
|
| 28 | + | NewPart.BrickColor = BrickColor.new("Bright yellow")
|
| 29 | - | NewPart.Anchored = false |
| 29 | + | NewPart.Anchored = false |
| 30 | - | NewPart.CanCollide = false |
| 30 | + | NewPart.CanCollide = false |
| 31 | - | NewPart.Size = Vector3.new(2, 2, 2) |
| 31 | + | NewPart.Size = Vector3.new(2, 2, 2) |
| 32 | - | NewPart.Name = "Head" |
| 32 | + | NewPart.Name = "Head" |
| 33 | - | --BodyPos |
| 33 | + | --BodyPos |
| 34 | - | local Places = |
| 34 | + | local Places = |
| 35 | - | {Vector3.new(5, 0, 5),Vector3.new(-5, 0, -5),Vector3.new(-5, 0, 0),Vector3.new(-5, 0, 5),Vector3.new(0, 0, 5),Vector3.new(5, 0, 5),Vector3.new(5, 0, 0),Vector3.new(5, 0, -5),Vector3.new(0, 0, -5)}
|
| 35 | + | {Vector3.new(5, 0, 5),Vector3.new(-5, 0, -5),Vector3.new(-5, 0, 0),Vector3.new(-5, 0, 5),Vector3.new(0, 0, 5),Vector3.new(5, 0, 5),Vector3.new(5, 0, 0),Vector3.new(5, 0, -5),Vector3.new(0, 0, -5)}
|
| 36 | - | |
| 36 | + | |
| 37 | - | local LocPos = Places[Num] |
| 37 | + | local LocPos = Places[Num] |
| 38 | - | local Part = NewPart |
| 38 | + | local Part = NewPart |
| 39 | - | local Body = Instance.new("BodyPosition")
|
| 39 | + | local Body = Instance.new("BodyPosition")
|
| 40 | - | Body.Parent = Part |
| 40 | + | Body.Parent = Part |
| 41 | - | Body.Position = plrH.Position + LocPos |
| 41 | + | Body.Position = plrH.Position + LocPos |
| 42 | - | Body. MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 42 | + | Body. MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 43 | - | |
| 43 | + | |
| 44 | - | local Body2 = Instance.new("BodyAngularVelocity")
|
| 44 | + | local Body2 = Instance.new("BodyAngularVelocity")
|
| 45 | - | Body2.Parent = Part |
| 45 | + | Body2.Parent = Part |
| 46 | - | Body2.AngularVelocity = Vector3.new(1, 1, 1) |
| 46 | + | Body2.AngularVelocity = Vector3.new(1, 1, 1) |
| 47 | - | |
| 47 | + | |
| 48 | - | game.Debris:AddItem(NewFolder,5) |
| 48 | + | game.Debris:AddItem(NewFolder,5) |
| 49 | - | |
| 49 | + | |
| 50 | - | i = 0 |
| 50 | + | i = 0 |
| 51 | ||
| 52 | - | while i <= 50 do |
| 52 | + | while i <= 50 do |
| 53 | - | Body.Position = plrH.Position + LocPos |
| 53 | + | Body.Position = plrH.Position + LocPos |
| 54 | - | i = i + 1 |
| 54 | + | i = i + 1 |
| 55 | - | wait(0.1) |
| 55 | + | wait(0.1) |
| 56 | end | |
| 57 | end | |
| 58 | ||
| 59 | owner.Chatted:connect(function(message) | |
| 60 | local messageLow = string.lower(message) | |
| 61 | - | if messageLow:sub(1, 5) == "!age " then |
| 61 | + | if messageLow:sub(1, 8) == "!giveto " then |
| 62 | - | local TargetPlayer = FindPlayer(message:sub(6)) |
| 62 | + | local TargetPlayer = FindPlayer(message:sub(9)) |
| 63 | - | NewMessage("Age: " .. game.Players:FindFirstChild(TargetPlayer).AccountAge)
|
| 63 | + | local Tool = owner.Character:FindFirstChildOfClass("Tool")
|
| 64 | - | elseif messageLow:sub(1, 4) == "!re " then |
| 64 | + | Tool.Parent = game.Players:FindFirstChild(TargetPlayer).Backpack |
| 65 | - | local TargetPlayer = FindPlayer(message:sub(5)) |
| 65 | + | NewMessage("Gave " .. TargetPlayer .. " " .. Tool.Name)
|
| 66 | - | local Pos = game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart.CFrame |
| 66 | + | elseif messageLow:sub(1, 5) == "!get " then |
| 67 | - | game.Players:FindFirstChild(TargetPlayer):LoadCharacter() |
| 67 | + | give(message:sub(6)) |
| 68 | - | game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart.CFrame = Pos |
| 68 | + | |
| 69 | - | NewMessage("Respawned " .. TargetPlayer)
|
| 69 | + | |
| 70 | - | elseif messageLow:sub(1, 4) == "!to " then |
| 70 | + | |
| 71 | - | local TargetPlayer = FindPlayer(messageLow:sub(5)) |
| 71 | + | |
| 72 | - | local TPH = game.Players:FindFirstChild(TargetPlayer) |
| 72 | + | |
| 73 | - | owner.Character:WaitForChild('HumanoidRootPart').CFrame = TPH.Character:WaitForChild('HumanoidRootPart').CFrame
|
| 73 | + | |
| 74 | - | NewMessage("Teleported to " .. TargetPlayer)
|
| 74 | + | |
| 75 | - | elseif messageLow:sub(1, 6) == "!here " then |
| 75 | + | |
| 76 | - | local TargetPlayer = FindPlayer(messageLow:sub(7)) |
| 76 | + | |
| 77 | - | local TPH = game.Players:FindFirstChild(TargetPlayer) |
| 77 | + | |
| 78 | - | TPH.Character:WaitForChild('HumanoidRootPart').CFrame = owner.Character:WaitForChild('HumanoidRootPart').CFrame
|
| 78 | + | |
| 79 | - | NewMessage("Teleported " .. TargetPlayer .. " here")
|
| 79 | + | |
| 80 | - | elseif messageLow:sub(1, 6) == "!grav " then |
| 80 | + | |
| 81 | - | game.Workspace.Gravity = tonumber(messageLow:sub(7)) |
| 81 | + | |
| 82 | - | NewMessage("Gravity Set to " .. tonumber(messageLow:sub(7)))
|
| 82 | + | function give(item) |
| 83 | - | elseif messageLow:sub(1, 8) == "!fixgrav" then |
| 83 | + | if string.lower(item) == "water" then |
| 84 | - | game.Workspace.Gravity = 196.19999694824 |
| 84 | + | local Water = Instance.new("Tool", owner.Backpack)
|
| 85 | - | NewMessage("Gravity Fixed")
|
| 85 | + | Water.Name = "Water" |
| 86 | - | elseif messageLow:sub(1, 8) == "!remove " then |
| 86 | + | Water.Grip = CFrame.new(-0.0662693828, -0.275076389, -0.4518933, -0.998969376, 0, 0.0453881398, 0, 1, 0, -0.0453881398, 0, -0.998969376) |
| 87 | - | local TargetPlayer = FindPlayer(message:sub(9)) |
| 87 | + | |
| 88 | - | game.Players:FindFirstChild(TargetPlayer).Character.Parent = nil |
| 88 | + | local P = Instance.new("Part", Water)
|
| 89 | - | NewMessage("Removed " .. TargetPlayer .. "'s Character")
|
| 89 | + | P.Name = "Handle" |
| 90 | - | elseif messageLow:sub(1, 6) == "!kill " then |
| 90 | + | P.Size = Vector3.new(1,1,1) |
| 91 | - | local TargetPlayer = FindPlayer(message:sub(7)) |
| 91 | + | P.Transparency = 0 |
| 92 | - | game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").Health = 0
|
| 92 | + | P.Material = "ForceField" |
| 93 | - | NewMessage("Killed " .. TargetPlayer)
|
| 93 | + | P.CanCollide = false |
| 94 | - | elseif messageLow:sub(1, 5) == "!sit " then |
| 94 | + | |
| 95 | - | local TargetPlayer = FindPlayer(message:sub(6)) |
| 95 | + | local W = Instance.new("Part", Water)
|
| 96 | - | game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").Sit = true
|
| 96 | + | W.Name = "Handle" |
| 97 | - | NewMessage("Seated " .. TargetPlayer)
|
| 97 | + | W.Size = Vector3.new(0.8,0.8,0.8) |
| 98 | - | elseif messageLow:sub(1, 6) == "!jump " then |
| 98 | + | W.Transparency = 0 |
| 99 | - | local TargetPlayer = FindPlayer(message:sub(7)) |
| 99 | + | W.BrickColor = BrickColor.new("Bright blue")
|
| 100 | - | game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").Jump = true
|
| 100 | + | W.Material = "ForceField" |
| 101 | - | NewMessage("Made " .. TargetPlayer .. " Jump")
|
| 101 | + | W.CanCollide = false |
| 102 | - | elseif messageLow:sub(1, 4) == "!ff " then |
| 102 | + | |
| 103 | - | local TargetPlayer = FindPlayer(message:sub(5)) |
| 103 | + | local Weld = Instance.new("Weld", Water)
|
| 104 | - | Instance.new("ForceField", game.Players:FindFirstChild(TargetPlayer).Character)
|
| 104 | + | Weld.Part0 = P |
| 105 | - | NewMessage("Gave " .. TargetPlayer .. " ForceField")
|
| 105 | + | Weld.Part1 = W |
| 106 | - | elseif messageLow:sub(1, 6) == "!unff " then |
| 106 | + | Weld.C1 = CFrame.new(0,-0.1,0) |
| 107 | - | local TargetPlayer = FindPlayer(message:sub(7)) |
| 107 | + | NewMessage("Got " .. "Water")
|
| 108 | - | for i,obj in pairs(game.Players:FindFirstChild(TargetPlayer).Character:GetChildren()) do |
| 108 | + | elseif string.lower(item) == "coke" then |
| 109 | - | if obj.ClassName == "ForceField" then |
| 109 | + | local Coke = Instance.new("Tool", owner.Backpack)
|
| 110 | - | obj:Remove() |
| 110 | + | Coke.Name = "Coke" |
| 111 | - | end |
| 111 | + | Coke.Grip = CFrame.new(-0.0662693828, -0.275076389, -0.4518933, -0.998969376, 0, 0.0453881398, 0, 1, 0, -0.0453881398, 0, -0.998969376) |
| 112 | - | end |
| 112 | + | |
| 113 | - | NewMessage("Removed " .. TargetPlayer .. "'s ForceField")
|
| 113 | + | local P = Instance.new("Part", Coke)
|
| 114 | - | elseif messageLow:sub(1, 4) == "!ex " then |
| 114 | + | P.Name = "Handle" |
| 115 | - | local TargetPlayer = FindPlayer(message:sub(5)) |
| 115 | + | P.Size = Vector3.new(1,1,1) |
| 116 | - | local TPH = game.Players:FindFirstChild(TargetPlayer) |
| 116 | + | P.Transparency = 0 |
| 117 | - | local Explosion = Instance.new("Explosion", TPH.Character)
|
| 117 | + | P.Material = "ForceField" |
| 118 | - | Explosion.BlastRadius = 3 |
| 118 | + | P.CanCollide = false |
| 119 | - | Explosion.Position = TPH.Character.HumanoidRootPart.Position |
| 119 | + | |
| 120 | - | NewMessage("Exploded " .. TargetPlayer)
|
| 120 | + | local W = Instance.new("Part", Coke)
|
| 121 | - | elseif messageLow:sub(1, 6) == "!stun " then |
| 121 | + | W.Name = "Handle" |
| 122 | - | local TargetPlayer = FindPlayer(message:sub(7)) |
| 122 | + | W.Size = Vector3.new(0.8,0.8,0.8) |
| 123 | - | game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
|
| 123 | + | W.Transparency = 0 |
| 124 | - | NewMessage("Studed " .. TargetPlayer)
|
| 124 | + | W.BrickColor = BrickColor.new("Earth orange")
|
| 125 | - | elseif messageLow:sub(1, 8) == "!unstun " then |
| 125 | + | W.Material = "ForceField" |
| 126 | - | local TargetPlayer = FindPlayer(message:sub(9)) |
| 126 | + | W.CanCollide = false |
| 127 | - | game.Players:FindFirstChild(TargetPlayer).Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
|
| 127 | + | |
| 128 | - | NewMessage("Unstuded " .. TargetPlayer)
|
| 128 | + | local Weld = Instance.new("Weld", Coke)
|
| 129 | - | elseif messageLow:sub(1, 7) == "!fling " then |
| 129 | + | Weld.Part0 = P |
| 130 | - | local TargetPlayer = FindPlayer(message:sub(8)) |
| 130 | + | Weld.Part1 = W |
| 131 | - | local TPH = game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart |
| 131 | + | Weld.C1 = CFrame.new(0,-0.1,0) |
| 132 | - | local Body = Instance.new("BodyPosition")
|
| 132 | + | NewMessage("Got " .. "Coke")
|
| 133 | - | Body.Parent = TPH |
| 133 | + | |
| 134 | - | Body.Position = Vector3.new(999 * 999,999 * 999,999 * 999) |
| 134 | + | |
| 135 | - | Body.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 135 | + | |
| 136 | - | NewMessage("Flinged " .. TargetPlayer)
|
| 136 | + | NewMessage("Cafe's Commands V1 Loaded") |