SHOW:
|
|
- or go back to the newest paste.
| 1 | - | print("Imported Seb's Admin Commands")
|
| 1 | + | print("Imported Seb's Admin Commands V2")
|
| 2 | - | game.Players.SebTDZ500.Chatted:connect(function(message) |
| 2 | + | local owner = game.Players.TheOfficialSeb |
| 3 | script.Parent = game.ServerScriptService | |
| 4 | local Val = Instance.new("IntValue", script.Parent)
| |
| 5 | Val.Name = "Val" | |
| 6 | ioc = true | |
| 7 | if game.Workspace:FindFirstChild(owner.Name) then | |
| 8 | game.workspace:FindFirstChild(owner.Name).Humanoid:AddAccessory(game:GetService("InsertService"):LoadAsset(11748356):FindFirstChildOfClass("Accessory"))
| |
| 9 | local bl = Instance.new("BillboardGui", game.workspace:FindFirstChild(owner.Name))
| |
| 10 | bl.Size = UDim2.new(0,100,0,40) | |
| 11 | bl.StudsOffset = Vector3.new(0,3,0) | |
| 12 | bl.Adornee = game.workspace:FindFirstChild(owner.Name):FindFirstChild("Head")
| |
| 13 | bl.Name = "TalkingBillBoard" | |
| 14 | - | elseif messageLow:sub(1, 7) == "!block " then |
| 14 | + | local tx = Instance.new("TextLabel",bl)
|
| 15 | tx.BackgroundTransparency = 1 | |
| 16 | - | Hit(game.Players.SebTDZ500.Name, TargetPlayer) |
| 16 | + | tx.BorderSizePixel = 0 |
| 17 | - | elseif messageLow:sub(1, 8) == "!blocks " then |
| 17 | + | tx.Text = "Server Admin" |
| 18 | - | local TargetPlayer = FindPlayer(message:sub(9)) |
| 18 | + | tx.Font = Enum.Font.SciFi |
| 19 | - | Hits(game.Players.SebTDZ500.Name, TargetPlayer) |
| 19 | + | tx.TextSize = 35 |
| 20 | - | elseif messageLow:sub(1, 4) == "!bn " then |
| 20 | + | tx.TextStrokeTransparency = 0 |
| 21 | - | local TargetPlayer = FindPlayer(message:sub(5)) |
| 21 | + | tx.TextColor3 = Color3.new(0,100,200) |
| 22 | - | Hits(game.Players.SebTDZ500.Name, TargetPlayer) |
| 22 | + | tx.TextStrokeColor3 = Color3.new(0,200,100) |
| 23 | - | Hits(game.Players.SebTDZ500.Name, TargetPlayer) |
| 23 | + | tx.Size = UDim2.new(1,0,0.5,0) |
| 24 | - | Hits(game.Players.SebTDZ500.Name, TargetPlayer) |
| 24 | + | tx.Changed:connect(function() |
| 25 | tx.Text = "Server Admin" | |
| 26 | end) | |
| 27 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").WalkSpeed = 25
| |
| 28 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").MaxHealth = "inf"
| |
| 29 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").Health = "inf"
| |
| 30 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").Died:Connect(function()
| |
| 31 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").RigType = 0
| |
| 32 | local Pos = owner.Character:WaitForChild('HumanoidRootPart').CFrame
| |
| 33 | ioc = false | |
| 34 | owner:LoadCharacter() | |
| 35 | ioc = true | |
| 36 | owner.Character:WaitForChild('HumanoidRootPart').CFrame = Pos
| |
| 37 | end) | |
| 38 | end | |
| 39 | owner.CharacterRemoving:Connect(function() | |
| 40 | wait(0.1) | |
| 41 | if ioc == true then | |
| 42 | ioc = false | |
| 43 | local Pos = owner.Character:WaitForChild('HumanoidRootPart').CFrame
| |
| 44 | owner:LoadCharacter() | |
| 45 | owner.Character:WaitForChild('HumanoidRootPart').CFrame = Pos
| |
| 46 | wait(0.1) | |
| 47 | ioc = true | |
| 48 | end | |
| 49 | end) | |
| 50 | owner.CharacterAdded:connect(function(char) | |
| 51 | char.Humanoid:AddAccessory(game:GetService("InsertService"):LoadAsset(11748356):FindFirstChildOfClass("Accessory"))
| |
| 52 | local bl = Instance.new("BillboardGui", game.workspace:FindFirstChild(owner.Name))
| |
| 53 | bl.Size = UDim2.new(0,100,0,40) | |
| 54 | - | Body.Position = game.Players:WaitForChild('SebTDZ500').Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(0, 15, 0)
|
| 54 | + | bl.StudsOffset = Vector3.new(0,3,0) |
| 55 | bl.Adornee = game.workspace:FindFirstChild(owner.Name):FindFirstChild("Head")
| |
| 56 | bl.Name = "TalkingBillBoard" | |
| 57 | local tx = Instance.new("TextLabel",bl)
| |
| 58 | tx.BackgroundTransparency = 1 | |
| 59 | - | function Hit(username1, username2) |
| 59 | + | tx.BorderSizePixel = 0 |
| 60 | tx.Text = "Server Admin" | |
| 61 | - | plr1 = game.Players:WaitForChild(username1) |
| 61 | + | tx.Font = Enum.Font.SciFi |
| 62 | - | plr1H = plr1.Character:WaitForChild('HumanoidRootPart')
|
| 62 | + | tx.TextSize = 35 |
| 63 | - | --Player2 |
| 63 | + | tx.TextStrokeTransparency = 0 |
| 64 | - | plr2 = game.Players:WaitForChild(username2) |
| 64 | + | tx.TextColor3 = Color3.new(0,100,200) |
| 65 | - | plr2H = plr2.Character:WaitForChild('HumanoidRootPart')
|
| 65 | + | tx.TextStrokeColor3 = Color3.new(0,200,100) |
| 66 | - | --New Part |
| 66 | + | tx.Size = UDim2.new(1,0,0.5,0) |
| 67 | tx.Changed:connect(function() | |
| 68 | - | NewPart.Parent = game.Workspace |
| 68 | + | tx.Text = "Server Admin" |
| 69 | - | NewPart.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 69 | + | |
| 70 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").WalkSpeed = 25
| |
| 71 | - | NewPart.Color = Color3.new(0, 190, 150) |
| 71 | + | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").MaxHealth = "inf"
|
| 72 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").Health = "inf"
| |
| 73 | game.workspace:FindFirstChild(owner.Name):FindFirstChild("Humanoid").Died:Connect(function()
| |
| 74 | - | NewPart.Anchored = false |
| 74 | + | local Pos = owner.Character:WaitForChild('HumanoidRootPart').CFrame
|
| 75 | - | NewPart.Size = Vector3.new(4, 4, 4) |
| 75 | + | owner:LoadCharacter() |
| 76 | owner.Character:WaitForChild('HumanoidRootPart').CFrame = Pos
| |
| 77 | - | local Part = NewPart |
| 77 | + | |
| 78 | end) | |
| 79 | owner.Chatted:connect(function(message) | |
| 80 | - | Body.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 80 | + | |
| 81 | if messageLow:sub(1, 7) == "!break " then | |
| 82 | - | wait(1) |
| 82 | + | |
| 83 | - | -- Tweening |
| 83 | + | |
| 84 | - | local tweenService = game:GetService("TweenService")
|
| 84 | + | |
| 85 | - | TweenNewInfo = TweenInfo.new(1.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0) |
| 85 | + | |
| 86 | - | NewPartSettings = {Size = Vector3.new(35, 35, 35);}
|
| 86 | + | |
| 87 | - | TweenCreate = tweenService:Create(NewPart, TweenNewInfo, NewPartSettings) |
| 87 | + | |
| 88 | - | TweenCreate:Play() |
| 88 | + | |
| 89 | local TargetPlayerH = TargetPlayer.Character:WaitForChild('HumanoidRootPart')
| |
| 90 | - | --Strike |
| 90 | + | |
| 91 | - | Body.Position = Body.Position + Vector3.new(0, 250, 0) |
| 91 | + | |
| 92 | - | wait(1) |
| 92 | + | |
| 93 | - | NewPart.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100)) |
| 93 | + | |
| 94 | - | wait(4) |
| 94 | + | elseif messageLow:sub(1, 6) == "!jail " then |
| 95 | - | Body.P = 100000 |
| 95 | + | local TargetPlayer = FindPlayer(message :sub(7)) |
| 96 | - | Body.Position = plr2H.Position |
| 96 | + | local TPO = game.Players:FindFirstChild(TargetPlayer) |
| 97 | - | wait(10) |
| 97 | + | JP(TPO) |
| 98 | - | NewPart:Destroy() |
| 98 | + | elseif messageLow:sub(1, 8) == "!unjail " then |
| 99 | local TargetPlayer = FindPlayer(message :sub(9)) | |
| 100 | local TPO = game.Players:FindFirstChild(TargetPlayer) | |
| 101 | - | function Hits(username1, username2) |
| 101 | + | TPO:FindFirstChild("Jailed"):Destroy()
|
| 102 | game.Workspace:FindFirstChild(TargetPlayer .. "'s Jail."):Destroy() | |
| 103 | - | plr1 = game.Players:WaitForChild(username1) |
| 103 | + | elseif messageLow:sub(1, 5) == "!ban " then |
| 104 | - | plr1H = plr1.Character:WaitForChild('HumanoidRootPart')
|
| 104 | + | local TargetPlayer = FindPlayer(message :sub(6)) |
| 105 | - | --Player2 |
| 105 | + | local TPO = game.Players:FindFirstChild(TargetPlayer) |
| 106 | - | plr2 = game.Players:WaitForChild(username2) |
| 106 | + | TPO:LoadCharacter() |
| 107 | - | plr2H = plr2.Character:WaitForChild('HumanoidRootPart')
|
| 107 | + | Ban(TargetPlayer) |
| 108 | - | --New Part |
| 108 | + | elseif messageLow:sub(1, 7) == "!unban " then |
| 109 | - | local NewPart1 = Instance.new("Part")
|
| 109 | + | local TargetPlayer = FindPlayer(message :sub(8)) |
| 110 | - | NewPart1.Parent = game.Workspace |
| 110 | + | local TPO = game.Players:FindFirstChild(TargetPlayer) |
| 111 | - | NewPart1.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 111 | + | if TPO:FindFirstChild("Banned") then
|
| 112 | - | NewPart1.Material = Enum.Material.Neon |
| 112 | + | local Var = TPO:FindFirstChild("Banned")
|
| 113 | - | NewPart1.Color = Color3.new(0, 230, 150) |
| 113 | + | Var:Destroy() |
| 114 | - | NewPart1.TopSurface = "Smooth" |
| 114 | + | TPO:LoadCharacter() |
| 115 | - | NewPart1.BottomSurface = "Smooth" |
| 115 | + | end |
| 116 | - | NewPart1.Anchored = false |
| 116 | + | elseif messageLow:sub(1, 6) == "!load " then |
| 117 | - | NewPart1.Size = Vector3.new(4, 4, 4) |
| 117 | + | load(messageLow:sub(7)) |
| 118 | - | --Next |
| 118 | + | elseif messageLow:sub(1, 6) == "!grav " then |
| 119 | - | local NewPart2 = Instance.new("Part")
|
| 119 | + | game.Workspace.Gravity = tonumber(messageLow:sub(7)) |
| 120 | - | NewPart2.Parent = game.Workspace |
| 120 | + | elseif messageLow:sub(1, 8) == "!fixgrav" then |
| 121 | - | NewPart2.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 121 | + | game.Workspace.Gravity = 196.19999694824 |
| 122 | - | NewPart2.Material = Enum.Material.Neon |
| 122 | + | elseif messageLow:sub(1, 3) == "!bt" then |
| 123 | - | NewPart2.Color = Color3.new(0, 230, 150) |
| 123 | + | local LC = Instance.new("IntValue", game.Lighting)
|
| 124 | - | NewPart2.TopSurface = "Smooth" |
| 124 | + | LC.Name = "LC" |
| 125 | - | NewPart2.BottomSurface = "Smooth" |
| 125 | + | local mam = game.Lighting:GetMinutesAfterMidnight() |
| 126 | - | NewPart2.Anchored = false |
| 126 | + | while game.Lighting:FindFirstChild("LC") do
|
| 127 | - | NewPart2.Size = Vector3.new(4, 4, 4) |
| 127 | + | mam = mam + 20 |
| 128 | - | --Next |
| 128 | + | game.Lighting:SetMinutesAfterMidnight(mam) |
| 129 | - | local NewPart3 = Instance.new("Part")
|
| 129 | + | wait(0.01) |
| 130 | - | NewPart3.Parent = game.Workspace |
| 130 | + | end |
| 131 | - | NewPart3.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 131 | + | elseif messageLow:sub(1, 3) == "!ft" then |
| 132 | - | NewPart3.Material = Enum.Material.Neon |
| 132 | + | game.Lighting:FindFirstChild("LC"):Destroy()
|
| 133 | - | NewPart3.Color = Color3.new(0, 230, 150) |
| 133 | + | elseif messageLow:sub(1, 3) == "!m " then |
| 134 | - | NewPart3.TopSurface = "Smooth" |
| 134 | + | Message(message:sub(4)) |
| 135 | - | NewPart3.BottomSurface = "Smooth" |
| 135 | + | elseif messageLow:sub(1, 4) == "!to " then |
| 136 | - | NewPart3.Anchored = false |
| 136 | + | local TargetPlayer = FindPlayer(messageLow:sub(5)) |
| 137 | - | NewPart3.Size = Vector3.new(4, 4, 4) |
| 137 | + | local TPH = game.Players:FindFirstChild(TargetPlayer) |
| 138 | - | --Next |
| 138 | + | owner.Character:WaitForChild('HumanoidRootPart').CFrame = TPH.Character:WaitForChild('HumanoidRootPart').CFrame
|
| 139 | - | local NewPart4 = Instance.new("Part")
|
| 139 | + | elseif messageLow:sub(1, 7) == "!bring " then |
| 140 | - | NewPart4.Parent = game.Workspace |
| 140 | + | local TargetPlayer = FindPlayer(messageLow:sub(8)) |
| 141 | - | NewPart4.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 141 | + | local TPH = game.Players:FindFirstChild(TargetPlayer) |
| 142 | - | NewPart4.Material = Enum.Material.Neon |
| 142 | + | TPH.Character:WaitForChild('HumanoidRootPart').CFrame = owner.Character:WaitForChild('HumanoidRootPart').CFrame
|
| 143 | - | NewPart4.Color = Color3.new(0, 230, 150) |
| 143 | + | elseif messageLow:sub(1, 7) == "!reset " then |
| 144 | - | NewPart4.TopSurface = "Smooth" |
| 144 | + | local TargetPlayer = FindPlayer(messageLow:sub(8)) |
| 145 | - | NewPart4.BottomSurface = "Smooth" |
| 145 | + | local Pos = game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart.CFrame |
| 146 | - | NewPart4.Anchored = false |
| 146 | + | game.Players:FindFirstChild(TargetPlayer):LoadCharacter() |
| 147 | - | NewPart4.Size = Vector3.new(4, 4, 4) |
| 147 | + | game.Players:FindFirstChild(TargetPlayer).Character.HumanoidRootPart.CFrame = Pos |
| 148 | - | --Next |
| 148 | + | elseif messageLow:sub(1, 3) == "!fs" then |
| 149 | - | local NewPart5 = Instance.new("Part")
|
| 149 | + | game.Lighting.Ambient = Color3.new(0, 0, 0) |
| 150 | - | NewPart5.Parent = game.Workspace |
| 150 | + | game.Lighting.OutdoorAmbient = Color3.new(127, 127, 127) |
| 151 | - | NewPart5.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 151 | + | game.Lighting:FindFirstChildOfClass("Sky"):Destroy()
|
| 152 | - | NewPart5.Material = Enum.Material.Neon |
| 152 | + | elseif messageLow:sub(1, 5) == "!sky " then |
| 153 | - | NewPart5.Color = Color3.new(0, 230, 150) |
| 153 | + | local SkyUrl = "http://www.roblox.com/asset/?id=" .. messageLow:sub(6) |
| 154 | - | NewPart5.TopSurface = "Smooth" |
| 154 | + | local SkyOBJ = Instance.new("Sky", game.Lighting)
|
| 155 | - | NewPart5.BottomSurface = "Smooth" |
| 155 | + | SkyOBJ.MoonTextureId = SkyUrl |
| 156 | - | NewPart5.Anchored = false |
| 156 | + | SkyOBJ.SkyboxBk = SkyUrl |
| 157 | - | NewPart5.Size = Vector3.new(4, 4, 4) |
| 157 | + | SkyOBJ.SkyboxDn = SkyUrl |
| 158 | SkyOBJ.SkyboxFt = SkyUrl | |
| 159 | - | local Part = NewPart1 |
| 159 | + | SkyOBJ.SkyboxLf = SkyUrl |
| 160 | - | local Body1 = Instance.new("BodyPosition")
|
| 160 | + | SkyOBJ.SkyboxRt = SkyUrl |
| 161 | - | Body1.Parent = Part |
| 161 | + | SkyOBJ.SkyboxUp = SkyUrl |
| 162 | - | Body1.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 162 | + | SkyOBJ.StarCount = 0 |
| 163 | - | Body1.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000) |
| 163 | + | SkyOBJ.SunTextureId = SkyUrl |
| 164 | - | --Next |
| 164 | + | end |
| 165 | - | local Part = NewPart2 |
| 165 | + | |
| 166 | - | local Body2 = Instance.new("BodyPosition")
|
| 166 | + | |
| 167 | - | Body2.Parent = Part |
| 167 | + | |
| 168 | - | Body2.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 168 | + | |
| 169 | - | Body2.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000) |
| 169 | + | |
| 170 | - | --Next |
| 170 | + | |
| 171 | - | local Part = NewPart3 |
| 171 | + | |
| 172 | - | local Body3 = Instance.new("BodyPosition")
|
| 172 | + | |
| 173 | - | Body3.Parent = Part |
| 173 | + | |
| 174 | - | Body3.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 174 | + | |
| 175 | - | Body3.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000) |
| 175 | + | |
| 176 | - | --Next |
| 176 | + | |
| 177 | - | local Part = NewPart4 |
| 177 | + | |
| 178 | - | local Body4 = Instance.new("BodyPosition")
|
| 178 | + | |
| 179 | - | Body4.Parent = Part |
| 179 | + | Body.Position = owner.Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(0, 15, 0)
|
| 180 | - | Body4.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 180 | + | |
| 181 | - | Body4.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000) |
| 181 | + | |
| 182 | - | --Next |
| 182 | + | |
| 183 | - | local Part = NewPart5 |
| 183 | + | |
| 184 | - | local Body5 = Instance.new("BodyPosition")
|
| 184 | + | |
| 185 | - | Body5.Parent = Part |
| 185 | + | |
| 186 | - | Body5.Position = plr1H.Position + Vector3.new(0, 25, 0) |
| 186 | + | |
| 187 | - | Body5.MaxForce = Vector3.new(250000000000000000000000, 250000000000000000000000, 250000000000000000000000) |
| 187 | + | |
| 188 | - | wait(1) |
| 188 | + | |
| 189 | - | -- Tweening |
| 189 | + | |
| 190 | - | local tweenService = game:GetService("TweenService")
|
| 190 | + | |
| 191 | - | TweenNewInfo = TweenInfo.new(1.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0) |
| 191 | + | |
| 192 | - | NewPartSettings = {Size = Vector3.new(35, 35, 35);}
|
| 192 | + | |
| 193 | - | TweenCreate = tweenService:Create(NewPart1, TweenNewInfo, NewPartSettings) |
| 193 | + | |
| 194 | - | TweenCreate:Play() |
| 194 | + | |
| 195 | - | TweenCreate = tweenService:Create(NewPart2, TweenNewInfo, NewPartSettings) |
| 195 | + | function Ban(Player) |
| 196 | - | TweenCreate:Play() |
| 196 | + | if game.Players:FindFirstChild(Player) then |
| 197 | - | TweenCreate = tweenService:Create(NewPart3, TweenNewInfo, NewPartSettings) |
| 197 | + | local p = game.Players:FindFirstChild(Player) |
| 198 | - | TweenCreate:Play() |
| 198 | + | local Var = Instance.new("IntValue", p)
|
| 199 | - | TweenCreate = tweenService:Create(NewPart4, TweenNewInfo, NewPartSettings) |
| 199 | + | Var.Name = "Banned" |
| 200 | - | TweenCreate:Play() |
| 200 | + | while game.Players:FindFirstChild(Player) and game.Players:FindFirstChild(Player):FindFirstChild(Var.Name) do |
| 201 | - | TweenCreate = tweenService:Create(NewPart5, TweenNewInfo, NewPartSettings) |
| 201 | + | if p.Character:FindFirstChild("Humanoid") then
|
| 202 | - | TweenCreate:Play() |
| 202 | + | p.Character.Parent = game.Lighting |
| 203 | end | |
| 204 | - | --Strike |
| 204 | + | wait(0.01) |
| 205 | - | Body1.Position = Body1.Position + Vector3.new(0, 250, 0) |
| 205 | + | end |
| 206 | - | Body2.Position = Body2.Position + Vector3.new(0, 250, 0) |
| 206 | + | end |
| 207 | - | Body3.Position = Body3.Position + Vector3.new(0, 250, 0) |
| 207 | + | |
| 208 | - | Body4.Position = Body4.Position + Vector3.new(0, 250, 0) |
| 208 | + | |
| 209 | - | Body5.Position = Body5.Position + Vector3.new(0, 250, 0) |
| 209 | + | function load(name) |
| 210 | - | wait(1) |
| 210 | + | if name == "t-pose" then |
| 211 | - | NewPart1.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100)) |
| 211 | + | -- Functions |
| 212 | - | NewPart2.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100)) |
| 212 | + | function AP(Char, M6Name, o1, o2, o3, p1, p2, p3) |
| 213 | - | NewPart3.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100)) |
| 213 | + | local o = CFrame.fromOrientation(tonumber(o1), tonumber(o2), tonumber(o3)) |
| 214 | - | NewPart4.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100)) |
| 214 | + | local p = Vector3.new(tonumber(p1), tonumber(p2), tonumber(p3)) |
| 215 | - | NewPart5.RotVelocity = Vector3.new(math.random(100), math.random(100), math.random(100)) |
| 215 | + | if Char:FindFirstChild("Torso") then
|
| 216 | - | wait(4) |
| 216 | + | if Char.Torso:FindFirstChild(M6Name) then |
| 217 | - | Body1.P = 100000 |
| 217 | + | Char.Torso:FindFirstChild(M6Name).C1 = o + p |
| 218 | - | Body1.Position = plr2H.Position |
| 218 | + | |
| 219 | - | Body2.P = 100000 |
| 219 | + | |
| 220 | - | Body2.Position = plr2H.Position |
| 220 | + | |
| 221 | - | Body3.P = 100000 |
| 221 | + | |
| 222 | - | Body3.Position = plr2H.Position |
| 222 | + | -- Run |
| 223 | - | Body4.P = 100000 |
| 223 | + | game.Workspace:FindFirstChild(owner.Name).Humanoid.PlatformStand = true |
| 224 | - | Body4.Position = plr2H.Position |
| 224 | + | game.Workspace:FindFirstChild(owner.Name).Humanoid.Animator:Destroy() |
| 225 | - | Body5.P = 100000 |
| 225 | + | game.Workspace:FindFirstChild(owner.Name).Humanoid.PlatformStand = false |
| 226 | - | Body5.Position = plr2H.Position |
| 226 | + | game.Workspace:FindFirstChild(owner.Name).Humanoid.WalkSpeed = 50 |
| 227 | - | wait(10) |
| 227 | + | AP(game.Workspace:FindFirstChild(owner.Name), 'Right Shoulder', -5, -4.7, 0, -0.5, 0.5, 0) |
| 228 | - | NewPart1:Destroy() |
| 228 | + | AP(game.Workspace:FindFirstChild(owner.Name), 'Left Shoulder', -5, 4.7, 0, 0.5, 0.5, 0) |
| 229 | - | NewPart2:Destroy() |
| 229 | + | |
| 230 | - | NewPart3:Destroy() |
| 230 | + | game.Workspace:FindFirstChild(owner.Name).HumanoidRootPart.Touched:connect(function(Hit) |
| 231 | - | NewPart4:Destroy() |
| 231 | + | if Hit.Parent:FindFirstChild("Humanoid") then
|
| 232 | - | NewPart5:Destroy() |
| 232 | + | if Hit.Parent.Name == owner.Name then |
| 233 | --Skips | |
| 234 | else | |
| 235 | Hit.Parent:FindFirstChild("Humanoid").Health = 0
| |
| 236 | end | |
| 237 | end | |
| 238 | end) | |
| 239 | elseif name == "water" then | |
| 240 | while true do | |
| 241 | if game.Workspace:FindFirstChild(owner.Name) then | |
| 242 | game.Workspace.Terrain:FillBlock(game.Workspace:FindFirstChild(owner.Name).HumanoidRootPart.CFrame, Vector3.new(50, 50, 50), Enum.Material.Water) | |
| 243 | game.Workspace:FindFirstChild(owner.Name).Humanoid.WalkSpeed = 100 | |
| 244 | end | |
| 245 | wait(0.05) | |
| 246 | end | |
| 247 | end | |
| 248 | end | |
| 249 | ||
| 250 | function Message(message) | |
| 251 | for i, player in pairs(game.Players:GetChildren()) do | |
| 252 | -- Instances: | |
| 253 | local Message = Instance.new("ScreenGui")
| |
| 254 | local Text = Instance.new("TextLabel")
| |
| 255 | --Properties: | |
| 256 | Message.Name = "Message" | |
| 257 | Message.Parent = player:WaitForChild("PlayerGui")
| |
| 258 | Message.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
| 259 | ||
| 260 | Text.Name = "Text" | |
| 261 | Text.Text = message | |
| 262 | Text.Parent = Message | |
| 263 | Text.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314) | |
| 264 | Text.BackgroundTransparency = 0.55000001192093 | |
| 265 | Text.BorderSizePixel = 0 | |
| 266 | Text.Size = UDim2.new(1, 0, 1, 0) | |
| 267 | Text.Font = Enum.Font.SciFi | |
| 268 | Text.TextColor3 = Color3.new(0, 0, 0) | |
| 269 | Text.TextSize = 50 | |
| 270 | end | |
| 271 | wait(5) | |
| 272 | for i, player in pairs(game.Players:GetChildren()) do | |
| 273 | if player.PlayerGui:FindFirstChild("Message") then
| |
| 274 | player.PlayerGui:FindFirstChild("Message"):Destroy()
| |
| 275 | end | |
| 276 | end | |
| 277 | end | |
| 278 | ||
| 279 | function JP(target) | |
| 280 | -- Vars | |
| 281 | local Jail = Instance.new("Folder", game.Workspace)
| |
| 282 | Jail.Name = target.Name .. "'s Jail." | |
| 283 | -- One | |
| 284 | local NewPart = Instance.new("Part")
| |
| 285 | NewPart.Parent = Jail | |
| 286 | NewPart.Position = target.Character:WaitForChild('HumanoidRootPart').Position - Vector3.new(0, 3, 0)
| |
| 287 | NewPart.Material = Enum.Material.Neon | |
| 288 | NewPart.Color = Color3.new(200, 0, 0) | |
| 289 | NewPart.TopSurface = "Smooth" | |
| 290 | NewPart.BottomSurface = "Smooth" | |
| 291 | NewPart.Anchored = true | |
| 292 | NewPart.Transparency = 0 | |
| 293 | NewPart.Size = Vector3.new(5, 0.5, 5) | |
| 294 | -- Two | |
| 295 | local NewPart = Instance.new("Part")
| |
| 296 | NewPart.Parent = Jail | |
| 297 | NewPart.Position = target.Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(0, 5, 0)
| |
| 298 | NewPart.Material = Enum.Material.Neon | |
| 299 | NewPart.Color = Color3.new(200, 0, 0) | |
| 300 | NewPart.TopSurface = "Smooth" | |
| 301 | NewPart.BottomSurface = "Smooth" | |
| 302 | NewPart.Anchored = true | |
| 303 | NewPart.Transparency = 0 | |
| 304 | NewPart.Size = Vector3.new(5, 0.5, 5) | |
| 305 | -- Three | |
| 306 | local NewPart = Instance.new("Part")
| |
| 307 | NewPart.Parent = Jail | |
| 308 | NewPart.Position = target.Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(0, 1, 2.25)
| |
| 309 | NewPart.Material = Enum.Material.Neon | |
| 310 | NewPart.Color = Color3.new(200, 0, 0) | |
| 311 | NewPart.TopSurface = "Smooth" | |
| 312 | NewPart.BottomSurface = "Smooth" | |
| 313 | NewPart.Anchored = true | |
| 314 | NewPart.Transparency = 0.3 | |
| 315 | NewPart.Size = Vector3.new(4.75, 7.5, 0.5) | |
| 316 | -- Four | |
| 317 | local NewPart = Instance.new("Part")
| |
| 318 | NewPart.Parent = Jail | |
| 319 | NewPart.Position = target.Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(2.25, 1, 0)
| |
| 320 | NewPart.Material = Enum.Material.Neon | |
| 321 | NewPart.Color = Color3.new(200, 0, 0) | |
| 322 | NewPart.TopSurface = "Smooth" | |
| 323 | NewPart.BottomSurface = "Smooth" | |
| 324 | NewPart.Anchored = true | |
| 325 | NewPart.Transparency = 0.3 | |
| 326 | NewPart.Size = Vector3.new(0.5, 7.5, 4.75) | |
| 327 | -- Five | |
| 328 | local NewPart = Instance.new("Part")
| |
| 329 | NewPart.Parent = Jail | |
| 330 | NewPart.Position = target.Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(-2.25, 1, 0)
| |
| 331 | NewPart.Material = Enum.Material.Neon | |
| 332 | NewPart.Color = Color3.new(200, 0, 0) | |
| 333 | NewPart.TopSurface = "Smooth" | |
| 334 | NewPart.BottomSurface = "Smooth" | |
| 335 | NewPart.Anchored = true | |
| 336 | NewPart.Transparency = 0.3 | |
| 337 | NewPart.Size = Vector3.new(0.5, 7.5, 4.75) | |
| 338 | -- Six | |
| 339 | local NewPart = Instance.new("Part")
| |
| 340 | NewPart.Parent = Jail | |
| 341 | NewPart.Position = target.Character:WaitForChild('HumanoidRootPart').Position + Vector3.new(0, 1, -2.25)
| |
| 342 | NewPart.Material = Enum.Material.Neon | |
| 343 | NewPart.Color = Color3.new(200, 0, 0) | |
| 344 | NewPart.TopSurface = "Smooth" | |
| 345 | NewPart.BottomSurface = "Smooth" | |
| 346 | NewPart.Anchored = true | |
| 347 | NewPart.Transparency = 0.3 | |
| 348 | NewPart.Size = Vector3.new(4.75, 7.5, 0.5) | |
| 349 | -- Lock | |
| 350 | local JailPos = target.Character:WaitForChild('HumanoidRootPart').Position
| |
| 351 | local JailCFrame = target.Character:WaitForChild('HumanoidRootPart').CFrame
| |
| 352 | local Var = Instance.new("IntValue", target)
| |
| 353 | Var.Name = "Jailed" | |
| 354 | while game.Players:FindFirstChild(target.Name) and game.Players:FindFirstChild(target.Name):FindFirstChild(Var.Name) do | |
| 355 | if (JailPos - target.Character:WaitForChild('HumanoidRootPart').Position).magnitude >= 9 then
| |
| 356 | target.Character:WaitForChild('HumanoidRootPart').CFrame = JailCFrame
| |
| 357 | end | |
| 358 | wait(0.1) | |
| 359 | end | |
| 360 | end |